Changeset 06b2d12 for patches


Ignore:
Timestamp:
Aug 26, 2012, 6:48:21 PM (12 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
68a11fb
Parents:
6ecbe33
Message:

delete old patches and add new patches.

Location:
patches
Files:
5 added
4 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • patches/ncurses-5.9-branch_update-4.patch

    r6ecbe33 r06b2d12  
    11Submitted By: Jonathan Norman (jonathan at bluesquarelinux dot co dot uk)
    2 Date: 2012-02-16
     2Date: 2012-08-25
    33Initial Package Version: 5.9
    44Origin: Upstream
    55Upstream Status: Applied
    6 Description: Contains all upstream patches up to 5.9-20111224
     6Description: Contains all upstream patches up to 5.9-20120616
    77
    88diff -Naur ncurses-5.9.orig/Ada95/aclocal.m4 ncurses-5.9/Ada95/aclocal.m4
    9 --- ncurses-5.9.orig/Ada95/aclocal.m4   2012-02-16 18:25:12.619808985 +0000
    10 +++ ncurses-5.9/Ada95/aclocal.m4        2012-02-16 18:25:13.167823445 +0000
     9--- ncurses-5.9.orig/Ada95/aclocal.m4   2012-08-25 19:57:59.386567678 +0000
     10+++ ncurses-5.9/Ada95/aclocal.m4        2012-08-25 19:58:02.099888180 +0000
    1111@@ -1,5 +1,5 @@
    1212 dnl***************************************************************************
     
    2121 dnl
    2222-dnl $Id: aclocal.m4,v 1.24 2011/03/31 23:32:36 tom Exp $
    23 +dnl $Id: aclocal.m4,v 1.44 2012/01/22 00:33:42 tom Exp $
     23+dnl $Id: aclocal.m4,v 1.52 2012/08/04 18:12:47 tom Exp $
    2424 dnl Macros used in NCURSES Ada95 auto-configuration script.
    2525 dnl
     
    9494 cf_cv_ansi_cc=no
    9595 cf_save_CFLAGS="$CFLAGS"
    96 @@ -504,7 +550,7 @@
     96@@ -413,6 +459,35 @@
     97 AC_SUBST(ARFLAGS)
     98 ])
     99 dnl ---------------------------------------------------------------------------
     100+dnl CF_ARG_DISABLE version: 3 updated: 1999/03/30 17:24:31
     101+dnl --------------
     102+dnl Allow user to disable a normally-on option.
     103+AC_DEFUN([CF_ARG_DISABLE],
     104+[CF_ARG_OPTION($1,[$2],[$3],[$4],yes)])dnl
     105+dnl ---------------------------------------------------------------------------
     106+dnl CF_ARG_OPTION version: 4 updated: 2010/05/26 05:38:42
     107+dnl -------------
     108+dnl Restricted form of AC_ARG_ENABLE that ensures user doesn't give bogus
     109+dnl values.
     110+dnl
     111+dnl Parameters:
     112+dnl $1 = option name
     113+dnl $2 = help-string
     114+dnl $3 = action to perform if option is not default
     115+dnl $4 = action if perform if option is default
     116+dnl $5 = default option value (either 'yes' or 'no')
     117+AC_DEFUN([CF_ARG_OPTION],
     118+[AC_ARG_ENABLE([$1],[$2],[test "$enableval" != ifelse([$5],no,yes,no) && enableval=ifelse([$5],no,no,yes)
     119+  if test "$enableval" != "$5" ; then
     120+ifelse([$3],,[    :]dnl
     121+,[    $3]) ifelse([$4],,,[
     122+  else
     123+    $4])
     124+  fi],[enableval=$5 ifelse([$4],,,[
     125+  $4
     126+])dnl
     127+  ])])dnl
     128+dnl ---------------------------------------------------------------------------
     129 dnl CF_BUILD_CC version: 6 updated: 2006/10/14 15:23:15
     130 dnl -----------
     131 dnl If we're cross-compiling, allow the user to override the tools and their
     132@@ -504,7 +579,7 @@
    97133 AC_SUBST(BUILD_OBJEXT)
    98134 ])dnl
     
    103139 dnl Determine the default configuration into which we'll install ncurses.  This
    104140 dnl can be overridden by the user's command-line options.  There's two items to
    105 @@ -522,7 +568,7 @@
     141@@ -522,7 +597,7 @@
    106142 if test "x$prefix" = "xNONE" ; then
    107143        case "$cf_cv_system_name" in
     
    112148                ;;
    113149        *)      prefix=$ac_default_prefix
    114 @@ -593,7 +639,7 @@
     150@@ -593,7 +668,40 @@
    115151 fi
    116152 ])dnl
    117153 dnl ---------------------------------------------------------------------------
    118154-dnl CF_CURSES_HEADER version: 2 updated: 2010/04/28 06:02:16
     155+dnl CF_CLANG_COMPILER version: 1 updated: 2012/06/16 14:55:39
     156+dnl -----------------
     157+dnl Check if the given compiler is really clang.  clang's C driver defines
     158+dnl __GNUC__ (fooling the configure script into setting $GCC to yes) but does
     159+dnl not ignore some gcc options.
     160+dnl
     161+dnl This macro should be run "soon" after AC_PROG_CC or AC_PROG_CPLUSPLUS, to
     162+dnl ensure that it is not mistaken for gcc/g++.  It is normally invoked from
     163+dnl the wrappers for gcc and g++ warnings.
     164+dnl
     165+dnl $1 = GCC (default) or GXX
     166+dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS
     167+dnl $3 = CFLAGS (default) or CXXFLAGS
     168+AC_DEFUN([CF_CLANG_COMPILER],[
     169+ifelse([$2],,CLANG_COMPILER,[$2])=no
     170+
     171+if test "$ifelse([$1],,[$1],GCC)" = yes ; then
     172+       AC_MSG_CHECKING(if this is really Clang ifelse([$1],GXX,C++,C) compiler)
     173+       cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])"
     174+       ifelse([$3],,CFLAGS,[$3])="$ifelse([$3],,CFLAGS,[$3]) -Qunused-arguments"
     175+       AC_TRY_COMPILE([],[
     176+#ifdef __clang__
     177+#else
     178+make an error
     179+#endif
     180+],[ifelse([$2],,CLANG_COMPILER,[$2])=yes
     181+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     182+],[])
     183+       ifelse([$3],,CFLAGS,[$3])="$cf_save_CFLAGS"
     184+       AC_MSG_RESULT($ifelse([$2],,CLANG_COMPILER,[$2]))
     185+fi
     186+])
     187+dnl ---------------------------------------------------------------------------
    119188+dnl CF_CURSES_HEADER version: 3 updated: 2011/05/01 19:47:45
    120189 dnl ----------------
    121190 dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common
    122191 dnl variations of ncurses' installs.
    123 @@ -603,10 +649,10 @@
     192@@ -603,10 +711,10 @@
    124193 AC_CACHE_CHECK(if we have identified curses headers,cf_cv_ncurses_header,[
    125194 cf_cv_ncurses_header=none
     
    136205 AC_TRY_COMPILE([#include <${cf_header}>],
    137206        [initscr(); tgoto("?", 0,0)],
    138 @@ -627,6 +673,31 @@
     207@@ -627,6 +735,67 @@
    139208 dnl "dirname" is not portable, so we fake it with a shell script.
    140209 AC_DEFUN([CF_DIRNAME],[$1=`echo $2 | sed -e 's%/[[^/]]*$%%'`])dnl
    141210 dnl ---------------------------------------------------------------------------
    142 +dnl CF_ENABLE_PC_FILES version: 7 updated: 2011/12/10 18:58:47
     211+dnl CF_DISABLE_ECHO version: 11 updated: 2009/12/13 13:16:57
     212+dnl ---------------
     213+dnl You can always use "make -n" to see the actual options, but it's hard to
     214+dnl pick out/analyze warning messages when the compile-line is long.
     215+dnl
     216+dnl Sets:
     217+dnl    ECHO_LT - symbol to control if libtool is verbose
     218+dnl    ECHO_LD - symbol to prefix "cc -o" lines
     219+dnl    RULE_CC - symbol to put before implicit "cc -c" lines (e.g., .c.o)
     220+dnl    SHOW_CC - symbol to put before explicit "cc -c" lines
     221+dnl    ECHO_CC - symbol to put before any "cc" line
     222+dnl
     223+AC_DEFUN([CF_DISABLE_ECHO],[
     224+AC_MSG_CHECKING(if you want to see long compiling messages)
     225+CF_ARG_DISABLE(echo,
     226+       [  --disable-echo          display "compiling" commands],
     227+       [
     228+    ECHO_LT='--silent'
     229+    ECHO_LD='@echo linking [$]@;'
     230+    RULE_CC='@echo compiling [$]<'
     231+    SHOW_CC='@echo compiling [$]@'
     232+    ECHO_CC='@'
     233+],[
     234+    ECHO_LT=''
     235+    ECHO_LD=''
     236+    RULE_CC=''
     237+    SHOW_CC=''
     238+    ECHO_CC=''
     239+])
     240+AC_MSG_RESULT($enableval)
     241+AC_SUBST(ECHO_LT)
     242+AC_SUBST(ECHO_LD)
     243+AC_SUBST(RULE_CC)
     244+AC_SUBST(SHOW_CC)
     245+AC_SUBST(ECHO_CC)
     246+])dnl
     247+dnl ---------------------------------------------------------------------------
     248+dnl CF_ENABLE_PC_FILES version: 9 updated: 2012/08/04 13:59:54
    143249+dnl ------------------
    144250+dnl This is the "--enable-pc-files" option, which is available if there is a
     
    149255+
    150256+if test "$PKG_CONFIG" != none ; then
    151 +       if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
    152 +               AC_MSG_CHECKING(if we should install .pc files for $PKG_CONFIG)
    153 +               AC_ARG_ENABLE(pc-files,
    154 +                       [  --enable-pc-files       generate and install .pc files for pkg-config],
    155 +                       [enable_pc_files=$enableval],
    156 +                       [enable_pc_files=no])
    157 +               AC_MSG_RESULT($enable_pc_files)
    158 +       elif test -z "$PKG_CONFIG_LIBDIR" || test "$PKG_CONFIG_LIBDIR" != no; then
    159 +               enable_pc_files=no
    160 +               AC_MSG_WARN(did not find $PKG_CONFIG library)
     257+       AC_MSG_CHECKING(if we should install .pc files for $PKG_CONFIG)
     258+       AC_ARG_ENABLE(pc-files,
     259+               [  --enable-pc-files       generate and install .pc files for pkg-config],
     260+               [enable_pc_files=$enableval],
     261+               [enable_pc_files=no])
     262+       AC_MSG_RESULT($enable_pc_files)
     263+       if test "$enable_pc_files" != no
     264+       then
     265+               CF_PATH_SYNTAX(PKG_CONFIG_LIBDIR)
    161266+       fi
    162267+else
     
    168273 dnl ---------------
    169274 dnl Look for a non-standard library, given parameters for AC_TRY_LINK.  We
    170 @@ -1070,53 +1141,6 @@
     275@@ -807,6 +976,25 @@
     276 fi
     277 ])dnl
     278 dnl ---------------------------------------------------------------------------
     279+dnl CF_FIXUP_ADAFLAGS version: 1 updated: 2012/03/31 18:48:10
     280+dnl -----------------
     281+dnl make ADAFLAGS consistent with CFLAGS
     282+AC_DEFUN([CF_FIXUP_ADAFLAGS],[
     283+       AC_MSG_CHECKING(optimization options for ADAFLAGS)
     284+       case "$CFLAGS" in
     285+       *-g*)
     286+               CF_ADD_ADAFLAGS(-g)
     287+               ;;
     288+       esac
     289+       case "$CFLAGS" in
     290+       *-O*)
     291+               cf_O_flag=`echo "$CFLAGS" |sed -e 's/^.*-O/-O/' -e 's/[[        ]].*//'`
     292+               CF_ADD_ADAFLAGS($cf_O_flag)
     293+               ;;
     294+       esac
     295+       AC_MSG_RESULT($ADAFLAGS)
     296+])dnl
     297+dnl ---------------------------------------------------------------------------
     298 dnl CF_GCC_ATTRIBUTES version: 14 updated: 2010/10/23 15:52:32
     299 dnl -----------------
     300 dnl Test for availability of useful gcc __attribute__ directives to quiet
     301@@ -931,7 +1119,7 @@
     302 fi
     303 ])dnl
     304 dnl ---------------------------------------------------------------------------
     305-dnl CF_GCC_WARNINGS version: 27 updated: 2010/10/23 15:52:32
     306+dnl CF_GCC_WARNINGS version: 29 updated: 2012/06/16 14:55:39
     307 dnl ---------------
     308 dnl Check if the compiler supports useful warning options.  There's a few that
     309 dnl we don't use, simply because they're too noisy:
     310@@ -954,6 +1142,7 @@
     311 [
     312 AC_REQUIRE([CF_GCC_VERSION])
     313 CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS)
     314+CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS)
     315 
     316 cat > conftest.$ac_ext <<EOF
     317 #line __oline__ "${as_me:-configure}"
     318@@ -1029,6 +1218,13 @@
     319                                        continue;;
     320                                esac
     321                                ;;
     322+                       Wpointer-arith) #(vi
     323+                               case $GCC_VERSION in
     324+                               [[12]].*)
     325+                                       CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
     326+                                       continue;;
     327+                               esac
     328+                               ;;
     329                        esac
     330                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
     331                fi
     332@@ -1070,53 +1266,6 @@
    171333 AC_SUBST(cf_generic_objects)
    172334 ])dnl
     
    222384 dnl --------------------
    223385 dnl Check if the gnat pragma "Unreferenced" works.
    224 @@ -1253,6 +1277,53 @@
     386@@ -1253,6 +1402,53 @@
    225387 AC_SUBST(USE_GNAT_LIBRARIES)
    226388 ])dnl
     
    276438 dnl ----------------
    277439 dnl Verify that a test program compiles/links with GNAT.
    278 @@ -1311,7 +1382,7 @@
     440@@ -1311,7 +1507,7 @@
    279441 rm -rf conftest* *~conftest*
    280442 ])dnl
     
    285447 dnl Verify version of GNAT.
    286448 AC_DEFUN([CF_GNAT_VERSION],
    287 @@ -1323,7 +1394,7 @@
     449@@ -1323,7 +1519,7 @@
    288450 AC_MSG_RESULT($cf_gnat_version)
    289451 
     
    294456        ;;
    295457 *)
    296 @@ -1518,7 +1589,7 @@
     458@@ -1518,7 +1714,7 @@
    297459 ])
    298460 ])
     
    303465 dnl For the given system and compiler, find the compiler flags to pass to the
    304466 dnl loader to use the "rpath" feature.
    305 @@ -1539,10 +1610,10 @@
     467@@ -1539,10 +1735,10 @@
    306468 linux*|gnu*|k*bsd*-gnu) #(vi
    307469        LD_RPATH_OPT="-Wl,-rpath,"
     
    316478        ;;
    317479 netbsd*) #(vi
    318 @@ -1601,11 +1672,11 @@
     480@@ -1601,11 +1797,11 @@
    319481 $1="$cf_library_path_list [$]$1"
    320482 ])dnl
     
    330492        case $cf_cv_system_name in #(vi
    331493        OS/2*|os2*) #(vi
    332 @@ -1655,7 +1726,7 @@
     494@@ -1655,7 +1851,7 @@
    333495 ])
    334496 ])
    335497 dnl ---------------------------------------------------------------------------
    336498-dnl CF_LIB_SUFFIX version: 16 updated: 2008/12/27 12:30:03
    337 +dnl CF_LIB_SUFFIX version: 17 updated: 2011/07/02 15:36:04
     499+dnl CF_LIB_SUFFIX version: 18 updated: 2012/02/25 15:20:07
    338500 dnl -------------
    339501 dnl Compute the library file-suffix from the given model name
    340502 dnl $1 = model name
    341 @@ -1684,7 +1755,7 @@
     503@@ -1684,11 +1880,11 @@
    342504                ;;
    343505        shared) #(vi
     
    348510                        $3=[$]$2
    349511                        ;;
    350 @@ -2141,7 +2212,7 @@
     512-               cygwin*) #(vi
     513+               cygwin*|mingw*) #(vi
     514                        $2='.dll'
     515                        $3='.dll.a'
     516                        ;;
     517@@ -1974,7 +2170,7 @@
     518 test "$cf_cv_mixedcase" = yes && AC_DEFINE(MIXEDCASE_FILENAMES)
     519 ])dnl
     520 dnl ---------------------------------------------------------------------------
     521-dnl CF_MKSTEMP version: 7 updated: 2010/08/14 18:25:37
     522+dnl CF_MKSTEMP version: 8 updated: 2012/02/13 20:34:56
     523 dnl ----------
     524 dnl Check for a working mkstemp.  This creates two files, checks that they are
     525 dnl successfully created and distinct (AmigaOS apparently fails on the last).
     526@@ -2016,9 +2212,11 @@
     527 }
     528 ],[cf_cv_func_mkstemp=yes
     529 ],[cf_cv_func_mkstemp=no
     530-],[AC_CHECK_FUNC(mkstemp)
     531-])
     532+],[cf_cv_func_mkstemp=maybe])
     533 ])
     534+if test "x$cf_cv_func_mkstemp" = xmaybe ; then
     535+       AC_CHECK_FUNC(mkstemp)
     536+fi
     537 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then
     538        AC_DEFINE(HAVE_MKSTEMP)
     539 fi
     540@@ -2141,7 +2339,7 @@
    351541        ,[$1=no])
    352542 ])dnl
     
    357547 dnl Tie together the configure-script macros for ncurses.
    358548 dnl Prefer the "-config" script from ncurses 6.x, to simplify analysis.
    359 @@ -2153,7 +2224,10 @@
     549@@ -2153,7 +2351,10 @@
    360550 cf_ncuconfig_root=ifelse($1,,ncurses,$1)
    361551 
     
    369559 if test "$NCURSES_CONFIG" != none ; then
    370560 
    371 @@ -2546,7 +2620,7 @@
     561@@ -2509,7 +2710,7 @@
     562        AC_SUBST(PATH_SEPARATOR)
     563 ])dnl
     564 dnl ---------------------------------------------------------------------------
     565-dnl CF_PATH_SYNTAX version: 13 updated: 2010/05/26 05:38:42
     566+dnl CF_PATH_SYNTAX version: 14 updated: 2012/06/19 20:58:54
     567 dnl --------------
     568 dnl Check the argument to see that it looks like a pathname.  Rewrite it if it
     569 dnl begins with one of the prefix/exec_prefix variables, and then again if the
     570@@ -2529,7 +2730,7 @@
     571   ;;
     572 .[[a-zA-Z]]:[[\\/]]*) #(vi OS/2 EMX
     573   ;;
     574-.\[$]{*prefix}*) #(vi
     575+.\[$]{*prefix}*|.\[$]{*dir}*) #(vi
     576   eval $1="[$]$1"
     577   case ".[$]$1" in #(vi
     578   .NONE/*)
     579@@ -2546,7 +2747,7 @@
    372580 esac
    373581 ])dnl
     
    378586 dnl Check for the package-config program, unless disabled by command-line.
    379587 AC_DEFUN([CF_PKG_CONFIG],
    380 @@ -2563,7 +2637,9 @@
     588@@ -2563,7 +2764,9 @@
    381589        PKG_CONFIG=none
    382590        ;;
     
    389597 *)
    390598        PKG_CONFIG=$withval
    391 @@ -2746,7 +2822,7 @@
     599@@ -2746,7 +2949,7 @@
    392600 test -n "$PROG_EXT" && AC_DEFINE_UNQUOTED(PROG_EXT,"$PROG_EXT")
    393601 ])dnl
     
    398606 dnl Check for gnatmake, ensure that it is complete.
    399607 AC_DEFUN([CF_PROG_GNAT],[
    400 @@ -2754,6 +2830,7 @@
     608@@ -2754,6 +2957,7 @@
    401609 AC_CHECK_PROG(gnat_exists, $cf_ada_make, yes, no)
    402610 if test "$ac_cv_prog_gnat_exists" = no; then
     
    406614    CF_GNAT_VERSION
    407615    AC_CHECK_PROG(M4_exists, m4, yes, no)
    408 @@ -2831,7 +2908,7 @@
     616@@ -2831,7 +3035,7 @@
    409617 $1=`echo "$2" | sed -e 's/-l$3[[       ]]//g' -e 's/-l$3[$]//'`
    410618 ])dnl
    411619 dnl ---------------------------------------------------------------------------
    412620-dnl CF_SHARED_OPTS version: 64 updated: 2010/06/05 16:51:16
    413 +dnl CF_SHARED_OPTS version: 69 updated: 2011/07/30 19:31:39
     621+dnl CF_SHARED_OPTS version: 70 updated: 2012/02/25 15:20:07
    414622 dnl --------------
    415623 dnl --------------
    416624 dnl Attempt to determine the appropriate CC/LD options for creating a shared
    417 @@ -2906,10 +2983,14 @@
     625@@ -2906,10 +3110,14 @@
    418626        cf_cv_shlib_version_infix=no
    419627 
     
    432640                ;;
    433641        beos*) #(vi
    434 @@ -2962,9 +3043,19 @@
     642@@ -2962,9 +3170,19 @@
    435643                # readonly to exploit a quirk in the memory manager.
    436644                INSTALL_LIB="-m 555"
     
    453661                # tested with IRIX 5.2 and 'cc'.
    454662                if test "$GCC" != yes; then
    455 @@ -2981,18 +3072,18 @@
     663@@ -2981,18 +3199,39 @@
    456664                        LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
    457665                fi
     
    464672                ;;
    465673-       openbsd[[2-9]].*) #(vi
     674+       mingw*) #(vi
     675+               cf_cv_shlib_version=mingw
     676+               cf_cv_shlib_version_infix=mingw
     677+               CC_SHARED_OPTS=
     678+               MK_SHARED_LIB='sh ../mk_shared_lib.sh [$]@ [$]{CC} [$]{CFLAGS}'
     679+               #MK_SHARED_LIB='${CC} ${CFLAGS} -mdll -Wl,-soname,'$cf_cv_shared_soname',-stats -o $[@]'
     680+               #MK_SHARED_LIB='${DLLTOOL} --export-all-symbols --output-exp --output-lib $[@]'
     681+               cat >mk_shared_lib.sh <<-CF_EOF
     682+               #!/bin/sh
     683+               SHARED_LIB=\[$]1
     684+               IMPORT_LIB=\`echo "\[$]1" | sed -e 's/[[0-9]]*\.dll[$]/.dll.a/'\`
     685+               shift
     686+               cat <<-EOF
     687+               Linking shared library
     688+               ** SHARED_LIB \[$]SHARED_LIB
     689+               ** IMPORT_LIB \[$]IMPORT_LIB
     690+EOF
     691+               exec \[$]* -shared -Wl,--out-implib=../lib/\[$]{IMPORT_LIB} -Wl,--export-all-symbols -o ../lib/\[$]{SHARED_LIB}
     692+CF_EOF
     693+               chmod +x mk_shared_lib.sh
     694+               ;;
    466695+       openbsd[[2-9]].*|mirbsd*) #(vi
    467696                if test "$DFT_LWR_MODEL" = "shared" ; then
     
    475704                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
    476705                CF_SHARED_SONAME
    477 @@ -3003,12 +3094,12 @@
     706@@ -3003,12 +3242,12 @@
    478707                MK_SHARED_LIB='${LD} -Bshareable -o $[@]'
    479708                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
     
    491720                CF_SHARED_SONAME
    492721                MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]'
    493 @@ -3018,7 +3109,7 @@
     722@@ -3018,7 +3257,7 @@
    494723                if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then
    495724                        LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)"
     
    500729                        if test -f /usr/libexec/ld.elf_so; then
    501730                                cf_cv_shlib_version=abi
    502 @@ -3123,9 +3214,9 @@
     731@@ -3123,9 +3362,12 @@
    503732                ;;
    504733        esac
     
    510739+       test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}"
    511740+       test -z "$RPATH_LIST" && RPATH_LIST="\${libdir}"
     741+
     742+       CF_VERBOSE(CC_SHARED_OPTS: $CC_SHARED_OPTS)
     743+       CF_VERBOSE(MK_SHARED_LIB:  $MK_SHARED_LIB)
    512744 
    513745        AC_SUBST(CC_SHARED_OPTS)
    514746        AC_SUBST(LD_RPATH_OPT)
    515 @@ -3137,6 +3228,7 @@
     747@@ -3137,6 +3379,7 @@
    516748        AC_SUBST(LOCAL_LDFLAGS)
    517749        AC_SUBST(LOCAL_LDFLAGS2)
     
    521753 dnl ---------------------------------------------------------------------------
    522754 dnl CF_SHARED_SONAME version: 3 updated: 2008/09/08 18:34:43
    523 @@ -3253,6 +3345,45 @@
     755@@ -3253,6 +3496,45 @@
    524756 AC_SUBST(top_builddir)
    525757 ])dnl
     
    567799 dnl --------
    568800 dnl Make an uppercase version of a variable
    569 @@ -3415,6 +3546,32 @@
     801@@ -3415,6 +3697,32 @@
    570802 fi
    571803 ])dnl
     
    600832 dnl ------------
    601833 dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just
    602 @@ -3436,7 +3593,50 @@
     834@@ -3436,7 +3744,50 @@
    603835 AC_SUBST($3)dnl
    604836 ])dnl
     
    652884 dnl Check for POSIX thread library.
    653885 AC_DEFUN([CF_WITH_PTHREAD],
    654 @@ -3452,28 +3652,33 @@
     886@@ -3452,28 +3803,33 @@
    655887     AC_CHECK_HEADER(pthread.h,[
    656888         AC_DEFINE(HAVE_PTHREADS_H)
     
    700932 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
    701933 dnl or adapt to the vendor's definitions to get equivalent functionality,
    702 @@ -3489,7 +3694,7 @@
     934@@ -3489,7 +3845,7 @@
    703935 cf_xopen_source=
    704936 
     
    709941        ;;
    710942 cygwin) #(vi
    711 @@ -3500,6 +3705,7 @@
     943@@ -3500,6 +3856,7 @@
    712944        ;;
    713945 darwin*) #(vi
     
    717949 freebsd*|dragonfly*) #(vi
    718950        # 5.x headers associate
    719 @@ -3517,15 +3723,23 @@
     951@@ -3517,15 +3874,23 @@
    720952        ;;
    721953 irix[[56]].*) #(vi
     
    743975 openbsd*) #(vi
    744976        # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
    745 @@ -3539,36 +3753,11 @@
     977@@ -3539,36 +3904,11 @@
    746978 sco*) #(vi
    747979        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
     
    7821014        ;;
    7831015 esac
    784 @@ -3576,4 +3765,33 @@
     1016@@ -3576,4 +3916,33 @@
    7851017 if test -n "$cf_xopen_source" ; then
    7861018        CF_ADD_CFLAGS($cf_xopen_source)
     
    8171049 ])
    8181050diff -Naur ncurses-5.9.orig/Ada95/configure ncurses-5.9/Ada95/configure
    819 --- ncurses-5.9.orig/Ada95/configure    2012-02-16 18:25:12.619808985 +0000
    820 +++ ncurses-5.9/Ada95/configure 2012-02-16 18:25:13.179823762 +0000
    821 @@ -1,5 +1,5 @@
     1051--- ncurses-5.9.orig/Ada95/configure    2012-08-25 19:57:59.386567678 +0000
     1052+++ ncurses-5.9/Ada95/configure 2012-08-25 19:58:02.283220646 +0000
     1053@@ -1,7 +1,7 @@
    8221054 #! /bin/sh
    8231055-# From configure.in Revision: 1.30 .
    824 +# From configure.in Revision: 1.38 .
     1056+# From configure.in Revision: 1.41 .
    8251057 # Guess values for system-dependent variables and create Makefiles.
    826  # Generated by Autoconf 2.52.20101002.
     1058-# Generated by Autoconf 2.52.20101002.
     1059+# Generated by Autoconf 2.52.20120811.
    8271060 #
    828 @@ -645,6 +645,7 @@
     1061 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     1062 # Free Software Foundation, Inc.
     1063@@ -135,15 +135,16 @@
     1064 bindir='${exec_prefix}/bin'
     1065 sbindir='${exec_prefix}/sbin'
     1066 libexecdir='${exec_prefix}/libexec'
     1067-datadir='${prefix}/share'
     1068+datarootdir='${prefix}/share'
     1069+datadir='${datarootdir}'
     1070 sysconfdir='${prefix}/etc'
     1071 sharedstatedir='${prefix}/com'
     1072 localstatedir='${prefix}/var'
     1073 libdir='${exec_prefix}/lib'
     1074 includedir='${prefix}/include'
     1075 oldincludedir='/usr/include'
     1076-infodir='${prefix}/info'
     1077-mandir='${prefix}/man'
     1078+infodir='${datarootdir}/info'
     1079+mandir='${datarootdir}/man'
     1080 
     1081 # Identity of this package.
     1082 PACKAGE_NAME=
     1083@@ -194,6 +195,13 @@
     1084   | --da=*)
     1085     datadir=$ac_optarg ;;
     1086 
     1087+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     1088+  | --dataroo | --dataro | --datar)
     1089+    ac_prev=datarootdir ;;
     1090+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     1091+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     1092+    datarootdir=$ac_optarg ;;
     1093+
     1094   -disable-* | --disable-*)
     1095     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     1096     # Reject names that are not valid shell variable names.
     1097@@ -469,7 +477,7 @@
     1098 done
     1099 
     1100 # Be sure to have absolute paths.
     1101-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     1102+for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
     1103               localstatedir libdir includedir oldincludedir infodir mandir
     1104 do
     1105   eval ac_val=$`echo $ac_var`
     1106@@ -606,15 +614,16 @@
     1107   --bindir=DIR            user executables [EPREFIX/bin]
     1108   --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1109   --libexecdir=DIR        program executables [EPREFIX/libexec]
     1110-  --datadir=DIR           read-only architecture-independent data [PREFIX/share]
     1111+  --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
     1112+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1113   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1114   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1115   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1116   --libdir=DIR            object code libraries [EPREFIX/lib]
     1117   --includedir=DIR        C header files [PREFIX/include]
     1118   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1119-  --infodir=DIR           info documentation [PREFIX/info]
     1120-  --mandir=DIR            man documentation [PREFIX/man]
     1121+  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1122+  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1123 EOF
     1124 
     1125   cat <<\EOF
     1126@@ -645,6 +654,7 @@
    8291127 
    8301128   --with-system-type=XXX  test: override derived host system-type
     
    8341132   --without-tests         suppress build with test-programs
    8351133   --enable-mixed-case     tic should assume mixed-case filenames
    836 @@ -660,6 +661,7 @@
     1134@@ -660,6 +670,7 @@
    8371135   --with-shared           generate shared C-objects (needed for --with-ada-sharedlib)
    8381136   --enable-widec          compile with wide-char/UTF-8 code
     
    8421140   --enable-rpath-link     link sample programs with rpath option
    8431141 Fine-Tuning Your Configuration:
    844 @@ -881,7 +883,7 @@
     1142@@ -677,7 +688,7 @@
     1143   --enable-reentrant      compile with experimental reentrant code
     1144   --with-wrap-prefix=XXX  override prefix used for public variables
     1145 Testing/development Options:
     1146-  --enable-echo           build: display "compiling" commands (default)
     1147+  --disable-echo          display "compiling" commands
     1148   --enable-warnings       build: turn on GCC compiler warnings
     1149   --enable-assertions     test: turn on generation of assertion code
     1150   --enable-expanded       test: generate functions for certain macros
     1151@@ -757,7 +768,7 @@
     1152 running configure, to aid debugging if configure makes a mistake.
     1153 
     1154 It was created by $as_me, which was
     1155-generated by GNU Autoconf 2.52.20101002.  Invocation command line was
     1156+generated by GNU Autoconf 2.52.20120811.  Invocation command line was
     1157 
     1158   $ $0 $@
     1159 
     1160@@ -881,7 +892,7 @@
    8451161 fi
    8461162 for ac_site_file in $CONFIG_SITE; do
    8471163   if test -r "$ac_site_file"; then
    8481164-    { echo "$as_me:884: loading site script $ac_site_file" >&5
    849 +    { echo "$as_me:886: loading site script $ac_site_file" >&5
     1165+    { echo "$as_me:895: loading site script $ac_site_file" >&5
    8501166 echo "$as_me: loading site script $ac_site_file" >&6;}
    8511167     cat "$ac_site_file" >&5
    8521168     . "$ac_site_file"
    853 @@ -892,7 +894,7 @@
     1169@@ -892,7 +903,7 @@
    8541170   # Some versions of bash will fail to source /dev/null (special
    8551171   # files actually), so we avoid doing that.
    8561172   if test -f "$cache_file"; then
    8571173-    { echo "$as_me:895: loading cache $cache_file" >&5
    858 +    { echo "$as_me:897: loading cache $cache_file" >&5
     1174+    { echo "$as_me:906: loading cache $cache_file" >&5
    8591175 echo "$as_me: loading cache $cache_file" >&6;}
    8601176     case $cache_file in
    8611177       [\\/]* | ?:[\\/]* ) . $cache_file;;
    862 @@ -900,7 +902,7 @@
     1178@@ -900,7 +911,7 @@
    8631179     esac
    8641180   fi
    8651181 else
    8661182-  { echo "$as_me:903: creating cache $cache_file" >&5
    867 +  { echo "$as_me:905: creating cache $cache_file" >&5
     1183+  { echo "$as_me:914: creating cache $cache_file" >&5
    8681184 echo "$as_me: creating cache $cache_file" >&6;}
    8691185   >$cache_file
    8701186 fi
    871 @@ -916,21 +918,21 @@
     1187@@ -916,21 +927,21 @@
    8721188   eval ac_new_val="\$ac_env_${ac_var}_value"
    8731189   case $ac_old_set,$ac_new_set in
    8741190     set,)
    8751191-      { echo "$as_me:919: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    876 +      { echo "$as_me:921: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1192+      { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    8771193 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    8781194       ac_cache_corrupted=: ;;
    8791195     ,set)
    8801196-      { echo "$as_me:923: error: \`$ac_var' was not set in the previous run" >&5
    881 +      { echo "$as_me:925: error: \`$ac_var' was not set in the previous run" >&5
     1197+      { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5
    8821198 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    8831199       ac_cache_corrupted=: ;;
     
    8861202       if test "x$ac_old_val" != "x$ac_new_val"; then
    8871203-        { echo "$as_me:929: error: \`$ac_var' has changed since the previous run:" >&5
    888 +        { echo "$as_me:931: error: \`$ac_var' has changed since the previous run:" >&5
     1204+        { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5
    8891205 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    8901206-        { echo "$as_me:931:   former value:  $ac_old_val" >&5
    891 +        { echo "$as_me:933:   former value:  $ac_old_val" >&5
     1207+        { echo "$as_me:942:   former value:  $ac_old_val" >&5
    8921208 echo "$as_me:   former value:  $ac_old_val" >&2;}
    8931209-        { echo "$as_me:933:   current value: $ac_new_val" >&5
    894 +        { echo "$as_me:935:   current value: $ac_new_val" >&5
     1210+        { echo "$as_me:944:   current value: $ac_new_val" >&5
    8951211 echo "$as_me:   current value: $ac_new_val" >&2;}
    8961212         ac_cache_corrupted=:
    8971213       fi;;
    898 @@ -949,9 +951,9 @@
     1214@@ -949,9 +960,9 @@
    8991215   fi
    9001216 done
    9011217 if $ac_cache_corrupted; then
    9021218-  { echo "$as_me:952: error: changes in the environment can compromise the build" >&5
    903 +  { echo "$as_me:954: error: changes in the environment can compromise the build" >&5
     1219+  { echo "$as_me:963: error: changes in the environment can compromise the build" >&5
    9041220 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    9051221-  { { echo "$as_me:954: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    906 +  { { echo "$as_me:956: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1222+  { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    9071223 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    9081224    { (exit 1); exit 1; }; }
    9091225 fi
    910 @@ -972,10 +974,10 @@
     1226@@ -972,10 +983,10 @@
    9111227 echo "#! $SHELL" >conftest.sh
    9121228 echo  "exit 0"   >>conftest.sh
    9131229 chmod +x conftest.sh
    9141230-if { (echo "$as_me:975: PATH=\".;.\"; conftest.sh") >&5
    915 +if { (echo "$as_me:977: PATH=\".;.\"; conftest.sh") >&5
     1231+if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5
    9161232   (PATH=".;."; conftest.sh) 2>&5
    9171233   ac_status=$?
    9181234-  echo "$as_me:978: \$? = $ac_status" >&5
    919 +  echo "$as_me:980: \$? = $ac_status" >&5
     1235+  echo "$as_me:989: \$? = $ac_status" >&5
    9201236   (exit $ac_status); }; then
    9211237   ac_path_separator=';'
    9221238 else
    923 @@ -1005,7 +1007,7 @@
     1239@@ -1005,7 +1016,7 @@
    9241240   fi
    9251241 done
    9261242 if test -z "$ac_aux_dir"; then
    9271243-  { { echo "$as_me:1008: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    928 +  { { echo "$as_me:1010: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1244+  { { echo "$as_me:1019: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    9291245 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    9301246    { (exit 1); exit 1; }; }
    9311247 fi
    932 @@ -1015,11 +1017,11 @@
     1248@@ -1015,11 +1026,11 @@
    9331249 
    9341250 # Make sure we can run config.sub.
    9351251 $ac_config_sub sun4 >/dev/null 2>&1 ||
    9361252-  { { echo "$as_me:1018: error: cannot run $ac_config_sub" >&5
    937 +  { { echo "$as_me:1020: error: cannot run $ac_config_sub" >&5
     1253+  { { echo "$as_me:1029: error: cannot run $ac_config_sub" >&5
    9381254 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    9391255    { (exit 1); exit 1; }; }
    9401256 
    9411257-echo "$as_me:1022: checking build system type" >&5
    942 +echo "$as_me:1024: checking build system type" >&5
     1258+echo "$as_me:1033: checking build system type" >&5
    9431259 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    9441260 if test "${ac_cv_build+set}" = set; then
    9451261   echo $ECHO_N "(cached) $ECHO_C" >&6
    946 @@ -1028,23 +1030,23 @@
     1262@@ -1028,23 +1039,23 @@
    9471263 test -z "$ac_cv_build_alias" &&
    9481264   ac_cv_build_alias=`$ac_config_guess`
    9491265 test -z "$ac_cv_build_alias" &&
    9501266-  { { echo "$as_me:1031: error: cannot guess build type; you must specify one" >&5
    951 +  { { echo "$as_me:1033: error: cannot guess build type; you must specify one" >&5
     1267+  { { echo "$as_me:1042: error: cannot guess build type; you must specify one" >&5
    9521268 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    9531269    { (exit 1); exit 1; }; }
    9541270 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    9551271-  { { echo "$as_me:1035: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    956 +  { { echo "$as_me:1037: error: $ac_config_sub $ac_cv_build_alias failed." >&5
     1272+  { { echo "$as_me:1046: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    9571273 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
    9581274    { (exit 1); exit 1; }; }
     
    9601276 fi
    9611277-echo "$as_me:1040: result: $ac_cv_build" >&5
    962 +echo "$as_me:1042: result: $ac_cv_build" >&5
     1278+echo "$as_me:1051: result: $ac_cv_build" >&5
    9631279 echo "${ECHO_T}$ac_cv_build" >&6
    9641280 build=$ac_cv_build
     
    9681284 
    9691285-echo "$as_me:1047: checking host system type" >&5
    970 +echo "$as_me:1049: checking host system type" >&5
     1286+echo "$as_me:1058: checking host system type" >&5
    9711287 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    9721288 if test "${ac_cv_host+set}" = set; then
    9731289   echo $ECHO_N "(cached) $ECHO_C" >&6
    974 @@ -1053,12 +1055,12 @@
     1290@@ -1053,12 +1064,12 @@
    9751291 test -z "$ac_cv_host_alias" &&
    9761292   ac_cv_host_alias=$ac_cv_build_alias
    9771293 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    9781294-  { { echo "$as_me:1056: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    979 +  { { echo "$as_me:1058: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     1295+  { { echo "$as_me:1067: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    9801296 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    9811297    { (exit 1); exit 1; }; }
     
    9831299 fi
    9841300-echo "$as_me:1061: result: $ac_cv_host" >&5
    985 +echo "$as_me:1063: result: $ac_cv_host" >&5
     1301+echo "$as_me:1072: result: $ac_cv_host" >&5
    9861302 echo "${ECHO_T}$ac_cv_host" >&6
    9871303 host=$ac_cv_host
    9881304 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    989 @@ -1066,7 +1068,7 @@
     1305@@ -1066,7 +1077,7 @@
    9901306 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    9911307 
    9921308 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
    9931309-       echo "$as_me:1069: checking target system type" >&5
    994 +       echo "$as_me:1071: checking target system type" >&5
     1310+       echo "$as_me:1080: checking target system type" >&5
    9951311 echo $ECHO_N "checking target system type... $ECHO_C" >&6
    9961312 if test "${ac_cv_target+set}" = set; then
    9971313   echo $ECHO_N "(cached) $ECHO_C" >&6
    998 @@ -1075,12 +1077,12 @@
     1314@@ -1075,12 +1086,12 @@
    9991315 test "x$ac_cv_target_alias" = "x" &&
    10001316   ac_cv_target_alias=$ac_cv_host_alias
    10011317 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    10021318-  { { echo "$as_me:1078: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1003 +  { { echo "$as_me:1080: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     1319+  { { echo "$as_me:1089: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    10041320 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    10051321    { (exit 1); exit 1; }; }
     
    10071323 fi
    10081324-echo "$as_me:1083: result: $ac_cv_target" >&5
    1009 +echo "$as_me:1085: result: $ac_cv_target" >&5
     1325+echo "$as_me:1094: result: $ac_cv_target" >&5
    10101326 echo "${ECHO_T}$ac_cv_target" >&6
    10111327 target=$ac_cv_target
    10121328 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1013 @@ -1111,13 +1113,13 @@
     1329@@ -1111,13 +1122,13 @@
    10141330 fi
    10151331 
    10161332 test -z "$system_name" && system_name="$cf_cv_system_name"
    10171333-test -n "$cf_cv_system_name" && echo "$as_me:1114: result: Configuring for $cf_cv_system_name" >&5
    1018 +test -n "$cf_cv_system_name" && echo "$as_me:1116: result: Configuring for $cf_cv_system_name" >&5
     1334+test -n "$cf_cv_system_name" && echo "$as_me:1125: result: Configuring for $cf_cv_system_name" >&5
    10191335 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
    10201336 
    10211337 if test ".$system_name" != ".$cf_cv_system_name" ; then
    10221338-       echo "$as_me:1118: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    1023 +       echo "$as_me:1120: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
     1339+       echo "$as_me:1129: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    10241340 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
    10251341-       { { echo "$as_me:1120: error: \"Please remove config.cache and try again.\"" >&5
    1026 +       { { echo "$as_me:1122: error: \"Please remove config.cache and try again.\"" >&5
     1342+       { { echo "$as_me:1131: error: \"Please remove config.cache and try again.\"" >&5
    10271343 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
    10281344    { (exit 1); exit 1; }; }
    10291345 fi
    1030 @@ -1125,7 +1127,7 @@
     1346@@ -1125,7 +1136,7 @@
    10311347 # Check whether --with-system-type or --without-system-type was given.
    10321348 if test "${with_system_type+set}" = set; then
    10331349   withval="$with_system_type"
    10341350-  { echo "$as_me:1128: WARNING: overriding system type to $withval" >&5
    1035 +  { echo "$as_me:1130: WARNING: overriding system type to $withval" >&5
     1351+  { echo "$as_me:1139: WARNING: overriding system type to $withval" >&5
    10361352 echo "$as_me: WARNING: overriding system type to $withval" >&2;}
    10371353  cf_cv_system_name=$withval
    10381354 fi;
    1039 @@ -1135,23 +1137,23 @@
     1355@@ -1135,23 +1146,23 @@
    10401356 
    10411357 ###    Default install-location
    10421358 
    10431359-echo "$as_me:1138: checking for prefix" >&5
    1044 +echo "$as_me:1140: checking for prefix" >&5
     1360+echo "$as_me:1149: checking for prefix" >&5
    10451361 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
    10461362 if test "x$prefix" = "xNONE" ; then
     
    10561372 fi
    10571373-echo "$as_me:1150: result: $prefix" >&5
    1058 +echo "$as_me:1152: result: $prefix" >&5
     1374+echo "$as_me:1161: result: $prefix" >&5
    10591375 echo "${ECHO_T}$prefix" >&6
    10601376 
    10611377 if test "x$prefix" = "xNONE" ; then
    10621378-echo "$as_me:1154: checking for default include-directory" >&5
    1063 +echo "$as_me:1156: checking for default include-directory" >&5
     1379+echo "$as_me:1165: checking for default include-directory" >&5
    10641380 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6
    10651381 test -n "$verbose" && echo 1>&6
    10661382 for cf_symbol in \
    1067 @@ -1174,7 +1176,7 @@
     1383@@ -1174,7 +1185,7 @@
    10681384        fi
    10691385        test -n "$verbose"  && echo "   tested $cf_dir" 1>&6
    10701386 done
    10711387-echo "$as_me:1177: result: $includedir" >&5
    1072 +echo "$as_me:1179: result: $includedir" >&5
     1388+echo "$as_me:1188: result: $includedir" >&5
    10731389 echo "${ECHO_T}$includedir" >&6
    10741390 fi
    10751391 
    1076 @@ -1188,7 +1190,7 @@
     1392@@ -1186,213 +1197,11 @@
     1393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1394 ac_main_return=return
    10771395 if test -n "$ac_tool_prefix"; then
    1078    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1079  set dummy ${ac_tool_prefix}gcc; ac_word=$2
     1396-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     1397-set dummy ${ac_tool_prefix}gcc; ac_word=$2
    10801398-echo "$as_me:1191: checking for $ac_word" >&5
    1081 +echo "$as_me:1193: checking for $ac_word" >&5
    1082  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1083  if test "${ac_cv_prog_CC+set}" = set; then
    1084    echo $ECHO_N "(cached) $ECHO_C" >&6
    1085 @@ -1203,7 +1205,7 @@
    1086    test -z "$ac_dir" && ac_dir=.
    1087    $as_executable_p "$ac_dir/$ac_word" || continue
    1088  ac_cv_prog_CC="${ac_tool_prefix}gcc"
     1399-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1400-if test "${ac_cv_prog_CC+set}" = set; then
     1401-  echo $ECHO_N "(cached) $ECHO_C" >&6
     1402-else
     1403-  if test -n "$CC"; then
     1404-  ac_cv_prog_CC="$CC" # Let the user override the test.
     1405-else
     1406-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     1407-ac_dummy="$PATH"
     1408-for ac_dir in $ac_dummy; do
     1409-  IFS=$ac_save_IFS
     1410-  test -z "$ac_dir" && ac_dir=.
     1411-  $as_executable_p "$ac_dir/$ac_word" || continue
     1412-ac_cv_prog_CC="${ac_tool_prefix}gcc"
    10891413-echo "$as_me:1206: found $ac_dir/$ac_word" >&5
    1090 +echo "$as_me:1208: found $ac_dir/$ac_word" >&5
    1091  break
    1092  done
    1093  
    1094 @@ -1211,10 +1213,10 @@
    1095  fi
    1096  CC=$ac_cv_prog_CC
    1097  if test -n "$CC"; then
     1414-break
     1415-done
     1416-
     1417-fi
     1418-fi
     1419-CC=$ac_cv_prog_CC
     1420-if test -n "$CC"; then
    10981421-  echo "$as_me:1214: result: $CC" >&5
    1099 +  echo "$as_me:1216: result: $CC" >&5
    1100  echo "${ECHO_T}$CC" >&6
    1101  else
     1422-echo "${ECHO_T}$CC" >&6
     1423-else
    11021424-  echo "$as_me:1217: result: no" >&5
    1103 +  echo "$as_me:1219: result: no" >&5
    1104  echo "${ECHO_T}no" >&6
    1105  fi
    1106  
    1107 @@ -1223,7 +1225,7 @@
    1108    ac_ct_CC=$CC
    1109    # Extract the first word of "gcc", so it can be a program name with args.
    1110  set dummy gcc; ac_word=$2
     1425-echo "${ECHO_T}no" >&6
     1426-fi
     1427-
     1428-fi
     1429-if test -z "$ac_cv_prog_CC"; then
     1430-  ac_ct_CC=$CC
     1431-  # Extract the first word of "gcc", so it can be a program name with args.
     1432-set dummy gcc; ac_word=$2
    11111433-echo "$as_me:1226: checking for $ac_word" >&5
    1112 +echo "$as_me:1228: checking for $ac_word" >&5
    1113  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1114  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1115    echo $ECHO_N "(cached) $ECHO_C" >&6
    1116 @@ -1238,7 +1240,7 @@
    1117    test -z "$ac_dir" && ac_dir=.
    1118    $as_executable_p "$ac_dir/$ac_word" || continue
    1119  ac_cv_prog_ac_ct_CC="gcc"
     1434-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1435-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1436-  echo $ECHO_N "(cached) $ECHO_C" >&6
     1437-else
     1438-  if test -n "$ac_ct_CC"; then
     1439-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1440-else
     1441-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     1442-ac_dummy="$PATH"
     1443-for ac_dir in $ac_dummy; do
     1444-  IFS=$ac_save_IFS
     1445-  test -z "$ac_dir" && ac_dir=.
     1446-  $as_executable_p "$ac_dir/$ac_word" || continue
     1447-ac_cv_prog_ac_ct_CC="gcc"
    11201448-echo "$as_me:1241: found $ac_dir/$ac_word" >&5
    1121 +echo "$as_me:1243: found $ac_dir/$ac_word" >&5
    1122  break
    1123  done
    1124  
    1125 @@ -1246,10 +1248,10 @@
    1126  fi
    1127  ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1128  if test -n "$ac_ct_CC"; then
     1449-break
     1450-done
     1451-
     1452-fi
     1453-fi
     1454-ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1455-if test -n "$ac_ct_CC"; then
    11291456-  echo "$as_me:1249: result: $ac_ct_CC" >&5
    1130 +  echo "$as_me:1251: result: $ac_ct_CC" >&5
    1131  echo "${ECHO_T}$ac_ct_CC" >&6
    1132  else
     1457-echo "${ECHO_T}$ac_ct_CC" >&6
     1458-else
    11331459-  echo "$as_me:1252: result: no" >&5
    1134 +  echo "$as_me:1254: result: no" >&5
    1135  echo "${ECHO_T}no" >&6
    1136  fi
    1137  
    1138 @@ -1262,7 +1264,7 @@
    1139    if test -n "$ac_tool_prefix"; then
    1140    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1141  set dummy ${ac_tool_prefix}cc; ac_word=$2
     1460-echo "${ECHO_T}no" >&6
     1461-fi
     1462-
     1463-  CC=$ac_ct_CC
     1464-else
     1465-  CC="$ac_cv_prog_CC"
     1466-fi
     1467-
     1468-if test -z "$CC"; then
     1469-  if test -n "$ac_tool_prefix"; then
     1470-  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1471-set dummy ${ac_tool_prefix}cc; ac_word=$2
    11421472-echo "$as_me:1265: checking for $ac_word" >&5
    1143 +echo "$as_me:1267: checking for $ac_word" >&5
    1144  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1145  if test "${ac_cv_prog_CC+set}" = set; then
    1146    echo $ECHO_N "(cached) $ECHO_C" >&6
    1147 @@ -1277,7 +1279,7 @@
    1148    test -z "$ac_dir" && ac_dir=.
    1149    $as_executable_p "$ac_dir/$ac_word" || continue
    1150  ac_cv_prog_CC="${ac_tool_prefix}cc"
     1473-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1474-if test "${ac_cv_prog_CC+set}" = set; then
     1475-  echo $ECHO_N "(cached) $ECHO_C" >&6
     1476-else
     1477-  if test -n "$CC"; then
     1478-  ac_cv_prog_CC="$CC" # Let the user override the test.
     1479-else
     1480-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     1481-ac_dummy="$PATH"
     1482-for ac_dir in $ac_dummy; do
     1483-  IFS=$ac_save_IFS
     1484-  test -z "$ac_dir" && ac_dir=.
     1485-  $as_executable_p "$ac_dir/$ac_word" || continue
     1486-ac_cv_prog_CC="${ac_tool_prefix}cc"
    11511487-echo "$as_me:1280: found $ac_dir/$ac_word" >&5
    1152 +echo "$as_me:1282: found $ac_dir/$ac_word" >&5
    1153  break
    1154  done
    1155  
    1156 @@ -1285,10 +1287,10 @@
    1157  fi
    1158  CC=$ac_cv_prog_CC
    1159  if test -n "$CC"; then
     1488-break
     1489-done
     1490-
     1491-fi
     1492-fi
     1493-CC=$ac_cv_prog_CC
     1494-if test -n "$CC"; then
    11601495-  echo "$as_me:1288: result: $CC" >&5
    1161 +  echo "$as_me:1290: result: $CC" >&5
    1162  echo "${ECHO_T}$CC" >&6
    1163  else
     1496-echo "${ECHO_T}$CC" >&6
     1497-else
    11641498-  echo "$as_me:1291: result: no" >&5
    1165 +  echo "$as_me:1293: result: no" >&5
    1166  echo "${ECHO_T}no" >&6
    1167  fi
    1168  
    1169 @@ -1297,7 +1299,7 @@
    1170    ac_ct_CC=$CC
    1171    # Extract the first word of "cc", so it can be a program name with args.
    1172  set dummy cc; ac_word=$2
     1499-echo "${ECHO_T}no" >&6
     1500-fi
     1501-
     1502-fi
     1503-if test -z "$ac_cv_prog_CC"; then
     1504-  ac_ct_CC=$CC
     1505-  # Extract the first word of "cc", so it can be a program name with args.
     1506-set dummy cc; ac_word=$2
    11731507-echo "$as_me:1300: checking for $ac_word" >&5
    1174 +echo "$as_me:1302: checking for $ac_word" >&5
    1175  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1176  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1177    echo $ECHO_N "(cached) $ECHO_C" >&6
    1178 @@ -1312,7 +1314,7 @@
    1179    test -z "$ac_dir" && ac_dir=.
    1180    $as_executable_p "$ac_dir/$ac_word" || continue
    1181  ac_cv_prog_ac_ct_CC="cc"
     1508-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1509-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1510-  echo $ECHO_N "(cached) $ECHO_C" >&6
     1511-else
     1512-  if test -n "$ac_ct_CC"; then
     1513-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1514-else
     1515-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     1516-ac_dummy="$PATH"
     1517-for ac_dir in $ac_dummy; do
     1518-  IFS=$ac_save_IFS
     1519-  test -z "$ac_dir" && ac_dir=.
     1520-  $as_executable_p "$ac_dir/$ac_word" || continue
     1521-ac_cv_prog_ac_ct_CC="cc"
    11821522-echo "$as_me:1315: found $ac_dir/$ac_word" >&5
    1183 +echo "$as_me:1317: found $ac_dir/$ac_word" >&5
    1184  break
    1185  done
    1186  
    1187 @@ -1320,10 +1322,10 @@
    1188  fi
    1189  ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1190  if test -n "$ac_ct_CC"; then
     1523-break
     1524-done
     1525-
     1526-fi
     1527-fi
     1528-ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1529-if test -n "$ac_ct_CC"; then
    11911530-  echo "$as_me:1323: result: $ac_ct_CC" >&5
    1192 +  echo "$as_me:1325: result: $ac_ct_CC" >&5
    1193  echo "${ECHO_T}$ac_ct_CC" >&6
    1194  else
     1531-echo "${ECHO_T}$ac_ct_CC" >&6
     1532-else
    11951533-  echo "$as_me:1326: result: no" >&5
    1196 +  echo "$as_me:1328: result: no" >&5
    1197  echo "${ECHO_T}no" >&6
    1198  fi
    1199  
    1200 @@ -1336,7 +1338,7 @@
    1201  if test -z "$CC"; then
    1202    # Extract the first word of "cc", so it can be a program name with args.
    1203  set dummy cc; ac_word=$2
     1534-echo "${ECHO_T}no" >&6
     1535-fi
     1536-
     1537-  CC=$ac_ct_CC
     1538-else
     1539-  CC="$ac_cv_prog_CC"
     1540-fi
     1541-
     1542-fi
     1543-if test -z "$CC"; then
     1544-  # Extract the first word of "cc", so it can be a program name with args.
     1545-set dummy cc; ac_word=$2
    12041546-echo "$as_me:1339: checking for $ac_word" >&5
    1205 +echo "$as_me:1341: checking for $ac_word" >&5
    1206  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1207  if test "${ac_cv_prog_CC+set}" = set; then
    1208    echo $ECHO_N "(cached) $ECHO_C" >&6
    1209 @@ -1356,7 +1358,7 @@
    1210    continue
    1211  fi
    1212  ac_cv_prog_CC="cc"
     1547-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1548-if test "${ac_cv_prog_CC+set}" = set; then
     1549-  echo $ECHO_N "(cached) $ECHO_C" >&6
     1550-else
     1551-  if test -n "$CC"; then
     1552-  ac_cv_prog_CC="$CC" # Let the user override the test.
     1553-else
     1554-  ac_prog_rejected=no
     1555-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     1556-ac_dummy="$PATH"
     1557-for ac_dir in $ac_dummy; do
     1558-  IFS=$ac_save_IFS
     1559-  test -z "$ac_dir" && ac_dir=.
     1560-  $as_executable_p "$ac_dir/$ac_word" || continue
     1561-if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     1562-  ac_prog_rejected=yes
     1563-  continue
     1564-fi
     1565-ac_cv_prog_CC="cc"
    12131566-echo "$as_me:1359: found $ac_dir/$ac_word" >&5
    1214 +echo "$as_me:1361: found $ac_dir/$ac_word" >&5
    1215  break
    1216  done
    1217  
    1218 @@ -1378,10 +1380,10 @@
    1219  fi
    1220  CC=$ac_cv_prog_CC
    1221  if test -n "$CC"; then
     1567-break
     1568-done
     1569-
     1570-if test $ac_prog_rejected = yes; then
     1571-  # We found a bogon in the path, so make sure we never use it.
     1572-  set dummy $ac_cv_prog_CC
     1573-  shift
     1574-  if test $# != 0; then
     1575-    # We chose a different compiler from the bogus one.
     1576-    # However, it has the same basename, so the bogon will be chosen
     1577-    # first if we set CC to just the basename; use the full file name.
     1578-    shift
     1579-    set dummy "$ac_dir/$ac_word" ${1+"$@"}
     1580-    shift
     1581-    ac_cv_prog_CC="$@"
     1582-  fi
     1583-fi
     1584-fi
     1585-fi
     1586-CC=$ac_cv_prog_CC
     1587-if test -n "$CC"; then
    12221588-  echo "$as_me:1381: result: $CC" >&5
    1223 +  echo "$as_me:1383: result: $CC" >&5
    1224  echo "${ECHO_T}$CC" >&6
    1225  else
     1589-echo "${ECHO_T}$CC" >&6
     1590-else
    12261591-  echo "$as_me:1384: result: no" >&5
    1227 +  echo "$as_me:1386: result: no" >&5
    1228  echo "${ECHO_T}no" >&6
    1229  fi
    1230  
    1231 @@ -1392,7 +1394,7 @@
     1592-echo "${ECHO_T}no" >&6
     1593-fi
     1594-
     1595-fi
     1596-if test -z "$CC"; then
     1597-  if test -n "$ac_tool_prefix"; then
     1598-  for ac_prog in cl
     1599+  for ac_prog in gnatgcc gcc cc
    12321600   do
    12331601     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    12341602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    12351603-echo "$as_me:1395: checking for $ac_word" >&5
    1236 +echo "$as_me:1397: checking for $ac_word" >&5
     1604+echo "$as_me:1204: checking for $ac_word" >&5
    12371605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12381606 if test "${ac_cv_prog_CC+set}" = set; then
    12391607   echo $ECHO_N "(cached) $ECHO_C" >&6
    1240 @@ -1407,7 +1409,7 @@
     1608@@ -1407,7 +1216,7 @@
    12411609   test -z "$ac_dir" && ac_dir=.
    12421610   $as_executable_p "$ac_dir/$ac_word" || continue
    12431611 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    12441612-echo "$as_me:1410: found $ac_dir/$ac_word" >&5
    1245 +echo "$as_me:1412: found $ac_dir/$ac_word" >&5
     1613+echo "$as_me:1219: found $ac_dir/$ac_word" >&5
    12461614 break
    12471615 done
    12481616 
    1249 @@ -1415,10 +1417,10 @@
     1617@@ -1415,10 +1224,10 @@
    12501618 fi
    12511619 CC=$ac_cv_prog_CC
    12521620 if test -n "$CC"; then
    12531621-  echo "$as_me:1418: result: $CC" >&5
    1254 +  echo "$as_me:1420: result: $CC" >&5
     1622+  echo "$as_me:1227: result: $CC" >&5
    12551623 echo "${ECHO_T}$CC" >&6
    12561624 else
    12571625-  echo "$as_me:1421: result: no" >&5
    1258 +  echo "$as_me:1423: result: no" >&5
     1626+  echo "$as_me:1230: result: no" >&5
    12591627 echo "${ECHO_T}no" >&6
    12601628 fi
    12611629 
    1262 @@ -1431,7 +1433,7 @@
     1630@@ -1427,11 +1236,11 @@
     1631 fi
     1632 if test -z "$CC"; then
     1633   ac_ct_CC=$CC
     1634-  for ac_prog in cl
     1635+  for ac_prog in gnatgcc gcc cc
    12631636 do
    12641637   # Extract the first word of "$ac_prog", so it can be a program name with args.
    12651638 set dummy $ac_prog; ac_word=$2
    12661639-echo "$as_me:1434: checking for $ac_word" >&5
    1267 +echo "$as_me:1436: checking for $ac_word" >&5
     1640+echo "$as_me:1243: checking for $ac_word" >&5
    12681641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12691642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    12701643   echo $ECHO_N "(cached) $ECHO_C" >&6
    1271 @@ -1446,7 +1448,7 @@
     1644@@ -1446,7 +1255,7 @@
    12721645   test -z "$ac_dir" && ac_dir=.
    12731646   $as_executable_p "$ac_dir/$ac_word" || continue
    12741647 ac_cv_prog_ac_ct_CC="$ac_prog"
    12751648-echo "$as_me:1449: found $ac_dir/$ac_word" >&5
    1276 +echo "$as_me:1451: found $ac_dir/$ac_word" >&5
     1649+echo "$as_me:1258: found $ac_dir/$ac_word" >&5
    12771650 break
    12781651 done
    12791652 
    1280 @@ -1454,10 +1456,10 @@
     1653@@ -1454,10 +1263,10 @@
    12811654 fi
    12821655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    12831656 if test -n "$ac_ct_CC"; then
    12841657-  echo "$as_me:1457: result: $ac_ct_CC" >&5
    1285 +  echo "$as_me:1459: result: $ac_ct_CC" >&5
     1658+  echo "$as_me:1266: result: $ac_ct_CC" >&5
    12861659 echo "${ECHO_T}$ac_ct_CC" >&6
    12871660 else
    12881661-  echo "$as_me:1460: result: no" >&5
    1289 +  echo "$as_me:1462: result: no" >&5
     1662+  echo "$as_me:1269: result: no" >&5
    12901663 echo "${ECHO_T}no" >&6
    12911664 fi
    12921665 
    1293 @@ -1469,32 +1471,32 @@
    1294  
    1295  fi
    1296  
     1666@@ -1467,34 +1276,32 @@
     1667   CC=$ac_ct_CC
     1668 fi
     1669 
     1670-fi
     1671-
    12971672-test -z "$CC" && { { echo "$as_me:1472: error: no acceptable cc found in \$PATH" >&5
    1298 +test -z "$CC" && { { echo "$as_me:1474: error: no acceptable cc found in \$PATH" >&5
     1673+test -z "$CC" && { { echo "$as_me:1279: error: no acceptable cc found in \$PATH" >&5
    12991674 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
    13001675    { (exit 1); exit 1; }; }
     
    13021677 # Provide some information about the compiler.
    13031678-echo "$as_me:1477:" \
    1304 +echo "$as_me:1479:" \
     1679+echo "$as_me:1284:" \
    13051680      "checking for C compiler version" >&5
    13061681 ac_compiler=`set X $ac_compile; echo $2`
    13071682-{ (eval echo "$as_me:1480: \"$ac_compiler --version </dev/null >&5\"") >&5
    1308 +{ (eval echo "$as_me:1482: \"$ac_compiler --version </dev/null >&5\"") >&5
     1683+{ (eval echo "$as_me:1287: \"$ac_compiler --version </dev/null >&5\"") >&5
    13091684   (eval $ac_compiler --version </dev/null >&5) 2>&5
    13101685   ac_status=$?
    13111686-  echo "$as_me:1483: \$? = $ac_status" >&5
    1312 +  echo "$as_me:1485: \$? = $ac_status" >&5
     1687+  echo "$as_me:1290: \$? = $ac_status" >&5
    13131688   (exit $ac_status); }
    13141689-{ (eval echo "$as_me:1485: \"$ac_compiler -v </dev/null >&5\"") >&5
    1315 +{ (eval echo "$as_me:1487: \"$ac_compiler -v </dev/null >&5\"") >&5
     1690+{ (eval echo "$as_me:1292: \"$ac_compiler -v </dev/null >&5\"") >&5
    13161691   (eval $ac_compiler -v </dev/null >&5) 2>&5
    13171692   ac_status=$?
    13181693-  echo "$as_me:1488: \$? = $ac_status" >&5
    1319 +  echo "$as_me:1490: \$? = $ac_status" >&5
     1694+  echo "$as_me:1295: \$? = $ac_status" >&5
    13201695   (exit $ac_status); }
    13211696-{ (eval echo "$as_me:1490: \"$ac_compiler -V </dev/null >&5\"") >&5
    1322 +{ (eval echo "$as_me:1492: \"$ac_compiler -V </dev/null >&5\"") >&5
     1697+{ (eval echo "$as_me:1297: \"$ac_compiler -V </dev/null >&5\"") >&5
    13231698   (eval $ac_compiler -V </dev/null >&5) 2>&5
    13241699   ac_status=$?
    13251700-  echo "$as_me:1493: \$? = $ac_status" >&5
    1326 +  echo "$as_me:1495: \$? = $ac_status" >&5
     1701+  echo "$as_me:1300: \$? = $ac_status" >&5
    13271702   (exit $ac_status); }
    13281703 
    13291704 cat >conftest.$ac_ext <<_ACEOF
    13301705-#line 1497 "configure"
    1331 +#line 1499 "configure"
     1706+#line 1304 "configure"
    13321707 #include "confdefs.h"
    13331708 
    13341709 int
    1335 @@ -1510,13 +1512,13 @@
     1710@@ -1510,13 +1317,13 @@
    13361711 # Try to create an executable without -o first, disregard a.out.
    13371712 # It will help us diagnose broken compilers, and finding out an intuition
    13381713 # of exeext.
    13391714-echo "$as_me:1513: checking for C compiler default output" >&5
    1340 +echo "$as_me:1515: checking for C compiler default output" >&5
     1715+echo "$as_me:1320: checking for C compiler default output" >&5
    13411716 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    13421717 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    13431718-if { (eval echo "$as_me:1516: \"$ac_link_default\"") >&5
    1344 +if { (eval echo "$as_me:1518: \"$ac_link_default\"") >&5
     1719+if { (eval echo "$as_me:1323: \"$ac_link_default\"") >&5
    13451720   (eval $ac_link_default) 2>&5
    13461721   ac_status=$?
    13471722-  echo "$as_me:1519: \$? = $ac_status" >&5
    1348 +  echo "$as_me:1521: \$? = $ac_status" >&5
     1723+  echo "$as_me:1326: \$? = $ac_status" >&5
    13491724   (exit $ac_status); }; then
    13501725   # Find the output, starting from the most likely.  This scheme is
    13511726 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1352 @@ -1539,34 +1541,34 @@
     1727@@ -1539,34 +1346,34 @@
    13531728 else
    13541729   echo "$as_me: failed program was:" >&5
    13551730 cat conftest.$ac_ext >&5
    13561731-{ { echo "$as_me:1542: error: C compiler cannot create executables" >&5
    1357 +{ { echo "$as_me:1544: error: C compiler cannot create executables" >&5
     1732+{ { echo "$as_me:1349: error: C compiler cannot create executables" >&5
    13581733 echo "$as_me: error: C compiler cannot create executables" >&2;}
    13591734    { (exit 77); exit 77; }; }
     
    13621737 ac_exeext=$ac_cv_exeext
    13631738-echo "$as_me:1548: result: $ac_file" >&5
    1364 +echo "$as_me:1550: result: $ac_file" >&5
     1739+echo "$as_me:1355: result: $ac_file" >&5
    13651740 echo "${ECHO_T}$ac_file" >&6
    13661741 
     
    13681743 # the compiler is broken, or we cross compile.
    13691744-echo "$as_me:1553: checking whether the C compiler works" >&5
    1370 +echo "$as_me:1555: checking whether the C compiler works" >&5
     1745+echo "$as_me:1360: checking whether the C compiler works" >&5
    13711746 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    13721747 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     
    13751750   if { ac_try='./$ac_file'
    13761751-  { (eval echo "$as_me:1559: \"$ac_try\"") >&5
    1377 +  { (eval echo "$as_me:1561: \"$ac_try\"") >&5
     1752+  { (eval echo "$as_me:1366: \"$ac_try\"") >&5
    13781753   (eval $ac_try) 2>&5
    13791754   ac_status=$?
    13801755-  echo "$as_me:1562: \$? = $ac_status" >&5
    1381 +  echo "$as_me:1564: \$? = $ac_status" >&5
     1756+  echo "$as_me:1369: \$? = $ac_status" >&5
    13821757   (exit $ac_status); }; }; then
    13831758     cross_compiling=no
     
    13871762     else
    13881763-       { { echo "$as_me:1569: error: cannot run C compiled programs.
    1389 +       { { echo "$as_me:1571: error: cannot run C compiled programs.
     1764+       { { echo "$as_me:1376: error: cannot run C compiled programs.
    13901765 If you meant to cross compile, use \`--host'." >&5
    13911766 echo "$as_me: error: cannot run C compiled programs.
    13921767 If you meant to cross compile, use \`--host'." >&2;}
    1393 @@ -1574,24 +1576,24 @@
     1768@@ -1574,24 +1381,24 @@
    13941769     fi
    13951770   fi
    13961771 fi
    13971772-echo "$as_me:1577: result: yes" >&5
    1398 +echo "$as_me:1579: result: yes" >&5
     1773+echo "$as_me:1384: result: yes" >&5
    13991774 echo "${ECHO_T}yes" >&6
    14001775 
     
    14041779 # the compiler is broken, or we cross compile.
    14051780-echo "$as_me:1584: checking whether we are cross compiling" >&5
    1406 +echo "$as_me:1586: checking whether we are cross compiling" >&5
     1781+echo "$as_me:1391: checking whether we are cross compiling" >&5
    14071782 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    14081783-echo "$as_me:1586: result: $cross_compiling" >&5
    1409 +echo "$as_me:1588: result: $cross_compiling" >&5
     1784+echo "$as_me:1393: result: $cross_compiling" >&5
    14101785 echo "${ECHO_T}$cross_compiling" >&6
    14111786 
    14121787-echo "$as_me:1589: checking for executable suffix" >&5
    1413 +echo "$as_me:1591: checking for executable suffix" >&5
     1788+echo "$as_me:1396: checking for executable suffix" >&5
    14141789 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
    14151790-if { (eval echo "$as_me:1591: \"$ac_link\"") >&5
    1416 +if { (eval echo "$as_me:1593: \"$ac_link\"") >&5
     1791+if { (eval echo "$as_me:1398: \"$ac_link\"") >&5
    14171792   (eval $ac_link) 2>&5
    14181793   ac_status=$?
    14191794-  echo "$as_me:1594: \$? = $ac_status" >&5
    1420 +  echo "$as_me:1596: \$? = $ac_status" >&5
     1795+  echo "$as_me:1401: \$? = $ac_status" >&5
    14211796   (exit $ac_status); }; then
    14221797   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    14231798 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    1424 @@ -1607,25 +1609,25 @@
     1799@@ -1607,25 +1414,25 @@
    14251800   esac
    14261801 done
    14271802 else
    14281803-  { { echo "$as_me:1610: error: cannot compute EXEEXT: cannot compile and link" >&5
    1429 +  { { echo "$as_me:1612: error: cannot compute EXEEXT: cannot compile and link" >&5
     1804+  { { echo "$as_me:1417: error: cannot compute EXEEXT: cannot compile and link" >&5
    14301805 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
    14311806    { (exit 1); exit 1; }; }
     
    14341809 rm -f conftest$ac_cv_exeext
    14351810-echo "$as_me:1616: result: $ac_cv_exeext" >&5
    1436 +echo "$as_me:1618: result: $ac_cv_exeext" >&5
     1811+echo "$as_me:1423: result: $ac_cv_exeext" >&5
    14371812 echo "${ECHO_T}$ac_cv_exeext" >&6
    14381813 
     
    14411816 ac_exeext=$EXEEXT
    14421817-echo "$as_me:1622: checking for object suffix" >&5
    1443 +echo "$as_me:1624: checking for object suffix" >&5
     1818+echo "$as_me:1429: checking for object suffix" >&5
    14441819 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
    14451820 if test "${ac_cv_objext+set}" = set; then
     
    14481823   cat >conftest.$ac_ext <<_ACEOF
    14491824-#line 1628 "configure"
    1450 +#line 1630 "configure"
     1825+#line 1435 "configure"
    14511826 #include "confdefs.h"
    14521827 
    14531828 int
    1454 @@ -1637,10 +1639,10 @@
     1829@@ -1637,10 +1444,10 @@
    14551830 }
    14561831 _ACEOF
    14571832 rm -f conftest.o conftest.obj
    14581833-if { (eval echo "$as_me:1640: \"$ac_compile\"") >&5
    1459 +if { (eval echo "$as_me:1642: \"$ac_compile\"") >&5
     1834+if { (eval echo "$as_me:1447: \"$ac_compile\"") >&5
    14601835   (eval $ac_compile) 2>&5
    14611836   ac_status=$?
    14621837-  echo "$as_me:1643: \$? = $ac_status" >&5
    1463 +  echo "$as_me:1645: \$? = $ac_status" >&5
     1838+  echo "$as_me:1450: \$? = $ac_status" >&5
    14641839   (exit $ac_status); }; then
    14651840   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    14661841   case $ac_file in
    1467 @@ -1652,24 +1654,24 @@
     1842@@ -1652,24 +1459,24 @@
    14681843 else
    14691844   echo "$as_me: failed program was:" >&5
    14701845 cat conftest.$ac_ext >&5
    14711846-{ { echo "$as_me:1655: error: cannot compute OBJEXT: cannot compile" >&5
    1472 +{ { echo "$as_me:1657: error: cannot compute OBJEXT: cannot compile" >&5
     1847+{ { echo "$as_me:1462: error: cannot compute OBJEXT: cannot compile" >&5
    14731848 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
    14741849    { (exit 1); exit 1; }; }
     
    14781853 fi
    14791854-echo "$as_me:1662: result: $ac_cv_objext" >&5
    1480 +echo "$as_me:1664: result: $ac_cv_objext" >&5
     1855+echo "$as_me:1469: result: $ac_cv_objext" >&5
    14811856 echo "${ECHO_T}$ac_cv_objext" >&6
    14821857 OBJEXT=$ac_cv_objext
    14831858 ac_objext=$OBJEXT
    14841859-echo "$as_me:1666: checking whether we are using the GNU C compiler" >&5
    1485 +echo "$as_me:1668: checking whether we are using the GNU C compiler" >&5
     1860+echo "$as_me:1473: checking whether we are using the GNU C compiler" >&5
    14861861 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    14871862 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     
    14901865   cat >conftest.$ac_ext <<_ACEOF
    14911866-#line 1672 "configure"
    1492 +#line 1674 "configure"
     1867+#line 1479 "configure"
    14931868 #include "confdefs.h"
    14941869 
    14951870 int
    1496 @@ -1684,16 +1686,16 @@
     1871@@ -1684,16 +1491,16 @@
    14971872 }
    14981873 _ACEOF
    14991874 rm -f conftest.$ac_objext
    15001875-if { (eval echo "$as_me:1687: \"$ac_compile\"") >&5
    1501 +if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5
     1876+if { (eval echo "$as_me:1494: \"$ac_compile\"") >&5
    15021877   (eval $ac_compile) 2>&5
    15031878   ac_status=$?
    15041879-  echo "$as_me:1690: \$? = $ac_status" >&5
    1505 +  echo "$as_me:1692: \$? = $ac_status" >&5
     1880+  echo "$as_me:1497: \$? = $ac_status" >&5
    15061881   (exit $ac_status); } &&
    15071882          { ac_try='test -s conftest.$ac_objext'
    15081883-  { (eval echo "$as_me:1693: \"$ac_try\"") >&5
    1509 +  { (eval echo "$as_me:1695: \"$ac_try\"") >&5
     1884+  { (eval echo "$as_me:1500: \"$ac_try\"") >&5
    15101885   (eval $ac_try) 2>&5
    15111886   ac_status=$?
    15121887-  echo "$as_me:1696: \$? = $ac_status" >&5
    1513 +  echo "$as_me:1698: \$? = $ac_status" >&5
     1888+  echo "$as_me:1503: \$? = $ac_status" >&5
    15141889   (exit $ac_status); }; }; then
    15151890   ac_compiler_gnu=yes
    15161891 else
    1517 @@ -1705,19 +1707,19 @@
     1892@@ -1705,19 +1512,19 @@
    15181893 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    15191894 
    15201895 fi
    15211896-echo "$as_me:1708: result: $ac_cv_c_compiler_gnu" >&5
    1522 +echo "$as_me:1710: result: $ac_cv_c_compiler_gnu" >&5
     1897+echo "$as_me:1515: result: $ac_cv_c_compiler_gnu" >&5
    15231898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    15241899 GCC=`test $ac_compiler_gnu = yes && echo yes`
     
    15271902 CFLAGS="-g"
    15281903-echo "$as_me:1714: checking whether $CC accepts -g" >&5
    1529 +echo "$as_me:1716: checking whether $CC accepts -g" >&5
     1904+echo "$as_me:1521: checking whether $CC accepts -g" >&5
    15301905 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    15311906 if test "${ac_cv_prog_cc_g+set}" = set; then
     
    15341909   cat >conftest.$ac_ext <<_ACEOF
    15351910-#line 1720 "configure"
    1536 +#line 1722 "configure"
     1911+#line 1527 "configure"
    15371912 #include "confdefs.h"
    15381913 
    15391914 int
    1540 @@ -1729,16 +1731,16 @@
     1915@@ -1729,16 +1536,16 @@
    15411916 }
    15421917 _ACEOF
    15431918 rm -f conftest.$ac_objext
    15441919-if { (eval echo "$as_me:1732: \"$ac_compile\"") >&5
    1545 +if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
     1920+if { (eval echo "$as_me:1539: \"$ac_compile\"") >&5
    15461921   (eval $ac_compile) 2>&5
    15471922   ac_status=$?
    15481923-  echo "$as_me:1735: \$? = $ac_status" >&5
    1549 +  echo "$as_me:1737: \$? = $ac_status" >&5
     1924+  echo "$as_me:1542: \$? = $ac_status" >&5
    15501925   (exit $ac_status); } &&
    15511926          { ac_try='test -s conftest.$ac_objext'
    15521927-  { (eval echo "$as_me:1738: \"$ac_try\"") >&5
    1553 +  { (eval echo "$as_me:1740: \"$ac_try\"") >&5
     1928+  { (eval echo "$as_me:1545: \"$ac_try\"") >&5
    15541929   (eval $ac_try) 2>&5
    15551930   ac_status=$?
    15561931-  echo "$as_me:1741: \$? = $ac_status" >&5
    1557 +  echo "$as_me:1743: \$? = $ac_status" >&5
     1932+  echo "$as_me:1548: \$? = $ac_status" >&5
    15581933   (exit $ac_status); }; }; then
    15591934   ac_cv_prog_cc_g=yes
    15601935 else
    1561 @@ -1748,7 +1750,7 @@
     1936@@ -1748,7 +1555,7 @@
    15621937 fi
    15631938 rm -f conftest.$ac_objext conftest.$ac_ext
    15641939 fi
    15651940-echo "$as_me:1751: result: $ac_cv_prog_cc_g" >&5
    1566 +echo "$as_me:1753: result: $ac_cv_prog_cc_g" >&5
     1941+echo "$as_me:1558: result: $ac_cv_prog_cc_g" >&5
    15671942 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    15681943 if test "$ac_test_CFLAGS" = set; then
    15691944   CFLAGS=$ac_save_CFLAGS
    1570 @@ -1775,16 +1777,16 @@
     1945@@ -1775,16 +1582,16 @@
    15711946 #endif
    15721947 _ACEOF
    15731948 rm -f conftest.$ac_objext
    15741949-if { (eval echo "$as_me:1778: \"$ac_compile\"") >&5
    1575 +if { (eval echo "$as_me:1780: \"$ac_compile\"") >&5
     1950+if { (eval echo "$as_me:1585: \"$ac_compile\"") >&5
    15761951   (eval $ac_compile) 2>&5
    15771952   ac_status=$?
    15781953-  echo "$as_me:1781: \$? = $ac_status" >&5
    1579 +  echo "$as_me:1783: \$? = $ac_status" >&5
     1954+  echo "$as_me:1588: \$? = $ac_status" >&5
    15801955   (exit $ac_status); } &&
    15811956          { ac_try='test -s conftest.$ac_objext'
    15821957-  { (eval echo "$as_me:1784: \"$ac_try\"") >&5
    1583 +  { (eval echo "$as_me:1786: \"$ac_try\"") >&5
     1958+  { (eval echo "$as_me:1591: \"$ac_try\"") >&5
    15841959   (eval $ac_try) 2>&5
    15851960   ac_status=$?
    15861961-  echo "$as_me:1787: \$? = $ac_status" >&5
    1587 +  echo "$as_me:1789: \$? = $ac_status" >&5
     1962+  echo "$as_me:1594: \$? = $ac_status" >&5
    15881963   (exit $ac_status); }; }; then
    15891964   for ac_declaration in \
    15901965    ''\
    1591 @@ -1796,7 +1798,7 @@
     1966@@ -1796,7 +1603,7 @@
    15921967    'void exit (int);'
    15931968 do
    15941969   cat >conftest.$ac_ext <<_ACEOF
    15951970-#line 1799 "configure"
    1596 +#line 1801 "configure"
     1971+#line 1606 "configure"
    15971972 #include "confdefs.h"
    15981973 #include <stdlib.h>
    15991974 $ac_declaration
    1600 @@ -1809,16 +1811,16 @@
     1975@@ -1809,16 +1616,16 @@
    16011976 }
    16021977 _ACEOF
    16031978 rm -f conftest.$ac_objext
    16041979-if { (eval echo "$as_me:1812: \"$ac_compile\"") >&5
    1605 +if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5
     1980+if { (eval echo "$as_me:1619: \"$ac_compile\"") >&5
    16061981   (eval $ac_compile) 2>&5
    16071982   ac_status=$?
    16081983-  echo "$as_me:1815: \$? = $ac_status" >&5
    1609 +  echo "$as_me:1817: \$? = $ac_status" >&5
     1984+  echo "$as_me:1622: \$? = $ac_status" >&5
    16101985   (exit $ac_status); } &&
    16111986          { ac_try='test -s conftest.$ac_objext'
    16121987-  { (eval echo "$as_me:1818: \"$ac_try\"") >&5
    1613 +  { (eval echo "$as_me:1820: \"$ac_try\"") >&5
     1988+  { (eval echo "$as_me:1625: \"$ac_try\"") >&5
    16141989   (eval $ac_try) 2>&5
    16151990   ac_status=$?
    16161991-  echo "$as_me:1821: \$? = $ac_status" >&5
    1617 +  echo "$as_me:1823: \$? = $ac_status" >&5
     1992+  echo "$as_me:1628: \$? = $ac_status" >&5
    16181993   (exit $ac_status); }; }; then
    16191994   :
    16201995 else
    1621 @@ -1828,7 +1830,7 @@
     1996@@ -1828,7 +1635,7 @@
    16221997 fi
    16231998 rm -f conftest.$ac_objext conftest.$ac_ext
    16241999   cat >conftest.$ac_ext <<_ACEOF
    16252000-#line 1831 "configure"
    1626 +#line 1833 "configure"
     2001+#line 1638 "configure"
    16272002 #include "confdefs.h"
    16282003 $ac_declaration
    16292004 int
    1630 @@ -1840,16 +1842,16 @@
     2005@@ -1840,16 +1647,16 @@
    16312006 }
    16322007 _ACEOF
    16332008 rm -f conftest.$ac_objext
    16342009-if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5
    1635 +if { (eval echo "$as_me:1845: \"$ac_compile\"") >&5
     2010+if { (eval echo "$as_me:1650: \"$ac_compile\"") >&5
    16362011   (eval $ac_compile) 2>&5
    16372012   ac_status=$?
    16382013-  echo "$as_me:1846: \$? = $ac_status" >&5
    1639 +  echo "$as_me:1848: \$? = $ac_status" >&5
     2014+  echo "$as_me:1653: \$? = $ac_status" >&5
    16402015   (exit $ac_status); } &&
    16412016          { ac_try='test -s conftest.$ac_objext'
    16422017-  { (eval echo "$as_me:1849: \"$ac_try\"") >&5
    1643 +  { (eval echo "$as_me:1851: \"$ac_try\"") >&5
     2018+  { (eval echo "$as_me:1656: \"$ac_try\"") >&5
    16442019   (eval $ac_try) 2>&5
    16452020   ac_status=$?
    16462021-  echo "$as_me:1852: \$? = $ac_status" >&5
    1647 +  echo "$as_me:1854: \$? = $ac_status" >&5
     2022+  echo "$as_me:1659: \$? = $ac_status" >&5
    16482023   (exit $ac_status); }; }; then
    16492024   break
    16502025 else
    1651 @@ -1879,11 +1881,11 @@
     2026@@ -1879,11 +1686,11 @@
    16522027 
    16532028 GCC_VERSION=none
    16542029 if test "$GCC" = yes ; then
    16552030-       echo "$as_me:1882: checking version of $CC" >&5
    1656 +       echo "$as_me:1884: checking version of $CC" >&5
     2031+       echo "$as_me:1689: checking version of $CC" >&5
    16572032 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
    16582033        GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
    16592034        test -z "$GCC_VERSION" && GCC_VERSION=unknown
    16602035-       echo "$as_me:1886: result: $GCC_VERSION" >&5
    1661 +       echo "$as_me:1888: result: $GCC_VERSION" >&5
     2036+       echo "$as_me:1693: result: $GCC_VERSION" >&5
    16622037 echo "${ECHO_T}$GCC_VERSION" >&6
    16632038 fi
    16642039 
    1665 @@ -1893,7 +1895,7 @@
     2040@@ -1893,7 +1700,7 @@
    16662041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16672042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16682043 ac_main_return=return
    16692044-echo "$as_me:1896: checking how to run the C preprocessor" >&5
    1670 +echo "$as_me:1898: checking how to run the C preprocessor" >&5
     2045+echo "$as_me:1703: checking how to run the C preprocessor" >&5
    16712046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    16722047 # On Suns, sometimes $CPP names a directory.
    16732048 if test -n "$CPP" && test -d "$CPP"; then
    1674 @@ -1914,18 +1916,18 @@
     2049@@ -1914,18 +1721,18 @@
    16752050   # On the NeXT, cc -E runs the code through the compiler's parser,
    16762051   # not just through cpp. "Syntax error" is here to catch this case.
    16772052   cat >conftest.$ac_ext <<_ACEOF
    16782053-#line 1917 "configure"
    1679 +#line 1919 "configure"
     2054+#line 1724 "configure"
    16802055 #include "confdefs.h"
    16812056 #include <assert.h>
     
    16832058 _ACEOF
    16842059-if { (eval echo "$as_me:1922: \"$ac_cpp conftest.$ac_ext\"") >&5
    1685 +if { (eval echo "$as_me:1924: \"$ac_cpp conftest.$ac_ext\"") >&5
     2060+if { (eval echo "$as_me:1729: \"$ac_cpp conftest.$ac_ext\"") >&5
    16862061   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    16872062   ac_status=$?
     
    16902065   cat conftest.err >&5
    16912066-  echo "$as_me:1928: \$? = $ac_status" >&5
    1692 +  echo "$as_me:1930: \$? = $ac_status" >&5
     2067+  echo "$as_me:1735: \$? = $ac_status" >&5
    16932068   (exit $ac_status); } >/dev/null; then
    16942069   if test -s conftest.err; then
    16952070     ac_cpp_err=$ac_c_preproc_warn_flag
    1696 @@ -1948,17 +1950,17 @@
     2071@@ -1948,17 +1755,17 @@
    16972072   # OK, works on sane cases.  Now check whether non-existent headers
    16982073   # can be detected and how.
    16992074   cat >conftest.$ac_ext <<_ACEOF
    17002075-#line 1951 "configure"
    1701 +#line 1953 "configure"
     2076+#line 1758 "configure"
    17022077 #include "confdefs.h"
    17032078 #include <ac_nonexistent.h>
    17042079 _ACEOF
    17052080-if { (eval echo "$as_me:1955: \"$ac_cpp conftest.$ac_ext\"") >&5
    1706 +if { (eval echo "$as_me:1957: \"$ac_cpp conftest.$ac_ext\"") >&5
     2081+if { (eval echo "$as_me:1762: \"$ac_cpp conftest.$ac_ext\"") >&5
    17072082   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    17082083   ac_status=$?
     
    17112086   cat conftest.err >&5
    17122087-  echo "$as_me:1961: \$? = $ac_status" >&5
    1713 +  echo "$as_me:1963: \$? = $ac_status" >&5
     2088+  echo "$as_me:1768: \$? = $ac_status" >&5
    17142089   (exit $ac_status); } >/dev/null; then
    17152090   if test -s conftest.err; then
    17162091     ac_cpp_err=$ac_c_preproc_warn_flag
    1717 @@ -1995,7 +1997,7 @@
     2092@@ -1995,7 +1802,7 @@
    17182093 else
    17192094   ac_cv_prog_CPP=$CPP
    17202095 fi
    17212096-echo "$as_me:1998: result: $CPP" >&5
    1722 +echo "$as_me:2000: result: $CPP" >&5
     2097+echo "$as_me:1805: result: $CPP" >&5
    17232098 echo "${ECHO_T}$CPP" >&6
    17242099 ac_preproc_ok=false
    17252100 for ac_c_preproc_warn_flag in '' yes
    1726 @@ -2005,18 +2007,18 @@
     2101@@ -2005,18 +1812,18 @@
    17272102   # On the NeXT, cc -E runs the code through the compiler's parser,
    17282103   # not just through cpp. "Syntax error" is here to catch this case.
    17292104   cat >conftest.$ac_ext <<_ACEOF
    17302105-#line 2008 "configure"
    1731 +#line 2010 "configure"
     2106+#line 1815 "configure"
    17322107 #include "confdefs.h"
    17332108 #include <assert.h>
     
    17352110 _ACEOF
    17362111-if { (eval echo "$as_me:2013: \"$ac_cpp conftest.$ac_ext\"") >&5
    1737 +if { (eval echo "$as_me:2015: \"$ac_cpp conftest.$ac_ext\"") >&5
     2112+if { (eval echo "$as_me:1820: \"$ac_cpp conftest.$ac_ext\"") >&5
    17382113   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    17392114   ac_status=$?
     
    17422117   cat conftest.err >&5
    17432118-  echo "$as_me:2019: \$? = $ac_status" >&5
    1744 +  echo "$as_me:2021: \$? = $ac_status" >&5
     2119+  echo "$as_me:1826: \$? = $ac_status" >&5
    17452120   (exit $ac_status); } >/dev/null; then
    17462121   if test -s conftest.err; then
    17472122     ac_cpp_err=$ac_c_preproc_warn_flag
    1748 @@ -2039,17 +2041,17 @@
     2123@@ -2039,17 +1846,17 @@
    17492124   # OK, works on sane cases.  Now check whether non-existent headers
    17502125   # can be detected and how.
    17512126   cat >conftest.$ac_ext <<_ACEOF
    17522127-#line 2042 "configure"
    1753 +#line 2044 "configure"
     2128+#line 1849 "configure"
    17542129 #include "confdefs.h"
    17552130 #include <ac_nonexistent.h>
    17562131 _ACEOF
    17572132-if { (eval echo "$as_me:2046: \"$ac_cpp conftest.$ac_ext\"") >&5
    1758 +if { (eval echo "$as_me:2048: \"$ac_cpp conftest.$ac_ext\"") >&5
     2133+if { (eval echo "$as_me:1853: \"$ac_cpp conftest.$ac_ext\"") >&5
    17592134   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    17602135   ac_status=$?
     
    17632138   cat conftest.err >&5
    17642139-  echo "$as_me:2052: \$? = $ac_status" >&5
    1765 +  echo "$as_me:2054: \$? = $ac_status" >&5
     2140+  echo "$as_me:1859: \$? = $ac_status" >&5
    17662141   (exit $ac_status); } >/dev/null; then
    17672142   if test -s conftest.err; then
    17682143     ac_cpp_err=$ac_c_preproc_warn_flag
    1769 @@ -2077,7 +2079,7 @@
     2144@@ -2077,7 +1884,7 @@
    17702145 if $ac_preproc_ok; then
    17712146   :
    17722147 else
    17732148-  { { echo "$as_me:2080: error: C preprocessor \"$CPP\" fails sanity check" >&5
    1774 +  { { echo "$as_me:2082: error: C preprocessor \"$CPP\" fails sanity check" >&5
     2149+  { { echo "$as_me:1887: error: C preprocessor \"$CPP\" fails sanity check" >&5
    17752150 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    17762151    { (exit 1); exit 1; }; }
    17772152 fi
    1778 @@ -2090,14 +2092,14 @@
     2153@@ -2090,14 +1897,14 @@
    17792154 ac_main_return=return
    17802155 
    17812156 if test $ac_cv_c_compiler_gnu = yes; then
    17822157-    echo "$as_me:2093: checking whether $CC needs -traditional" >&5
    1783 +    echo "$as_me:2095: checking whether $CC needs -traditional" >&5
     2158+    echo "$as_me:1900: checking whether $CC needs -traditional" >&5
    17842159 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    17852160 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     
    17892164   cat >conftest.$ac_ext <<_ACEOF
    17902165-#line 2100 "configure"
    1791 +#line 2102 "configure"
     2166+#line 1907 "configure"
    17922167 #include "confdefs.h"
    17932168 #include <sgtty.h>
    17942169 int Autoconf = TIOCGETP;
    1795 @@ -2112,7 +2114,7 @@
     2170@@ -2112,7 +1919,7 @@
    17962171 
    17972172   if test $ac_cv_prog_gcc_traditional = no; then
    17982173     cat >conftest.$ac_ext <<_ACEOF
    17992174-#line 2115 "configure"
    1800 +#line 2117 "configure"
     2175+#line 1922 "configure"
    18012176 #include "confdefs.h"
    18022177 #include <termio.h>
    18032178 int Autoconf = TCGETA;
    1804 @@ -2125,14 +2127,14 @@
     2179@@ -2125,14 +1932,14 @@
    18052180 
    18062181   fi
    18072182 fi
    18082183-echo "$as_me:2128: result: $ac_cv_prog_gcc_traditional" >&5
    1809 +echo "$as_me:2130: result: $ac_cv_prog_gcc_traditional" >&5
     2184+echo "$as_me:1935: result: $ac_cv_prog_gcc_traditional" >&5
    18102185 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    18112186   if test $ac_cv_prog_gcc_traditional = yes; then
     
    18152190 
    18162191-echo "$as_me:2135: checking whether $CC understands -c and -o together" >&5
    1817 +echo "$as_me:2137: checking whether $CC understands -c and -o together" >&5
     2192+echo "$as_me:1942: checking whether $CC understands -c and -o together" >&5
    18182193 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6
    18192194 if test "${cf_cv_prog_CC_c_o+set}" = set; then
    18202195   echo $ECHO_N "(cached) $ECHO_C" >&6
    1821 @@ -2148,15 +2150,15 @@
     2196@@ -2148,15 +1955,15 @@
    18222197 # We do the test twice because some compilers refuse to overwrite an
    18232198 # existing .o file with -o, though they will create one.
    18242199 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    18252200-if { (eval echo "$as_me:2151: \"$ac_try\"") >&5
    1826 +if { (eval echo "$as_me:2153: \"$ac_try\"") >&5
     2201+if { (eval echo "$as_me:1958: \"$ac_try\"") >&5
    18272202   (eval $ac_try) 2>&5
    18282203   ac_status=$?
    18292204-  echo "$as_me:2154: \$? = $ac_status" >&5
    1830 +  echo "$as_me:2156: \$? = $ac_status" >&5
     2205+  echo "$as_me:1961: \$? = $ac_status" >&5
    18312206   (exit $ac_status); } &&
    18322207-  test -f conftest2.$ac_objext && { (eval echo "$as_me:2156: \"$ac_try\"") >&5
    1833 +  test -f conftest2.$ac_objext && { (eval echo "$as_me:2158: \"$ac_try\"") >&5
     2208+  test -f conftest2.$ac_objext && { (eval echo "$as_me:1963: \"$ac_try\"") >&5
    18342209   (eval $ac_try) 2>&5
    18352210   ac_status=$?
    18362211-  echo "$as_me:2159: \$? = $ac_status" >&5
    1837 +  echo "$as_me:2161: \$? = $ac_status" >&5
     2212+  echo "$as_me:1966: \$? = $ac_status" >&5
    18382213   (exit $ac_status); };
    18392214 then
    18402215   eval cf_cv_prog_CC_c_o=yes
    1841 @@ -2167,19 +2169,19 @@
     2216@@ -2167,19 +1974,19 @@
    18422217 
    18432218 fi
    18442219 if test $cf_cv_prog_CC_c_o = yes; then
    18452220-  echo "$as_me:2170: result: yes" >&5
    1846 +  echo "$as_me:2172: result: yes" >&5
     2221+  echo "$as_me:1977: result: yes" >&5
    18472222 echo "${ECHO_T}yes" >&6
    18482223 else
    18492224-  echo "$as_me:2173: result: no" >&5
    1850 +  echo "$as_me:2175: result: no" >&5
     2225+  echo "$as_me:1980: result: no" >&5
    18512226 echo "${ECHO_T}no" >&6
    18522227 fi
    18532228 
    18542229-echo "$as_me:2177: checking for POSIXized ISC" >&5
    1855 +echo "$as_me:2179: checking for POSIXized ISC" >&5
     2230+echo "$as_me:1984: checking for POSIXized ISC" >&5
    18562231 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
    18572232 if test -d /etc/conf/kconfig.d &&
     
    18592234 then
    18602235-  echo "$as_me:2182: result: yes" >&5
    1861 +  echo "$as_me:2184: result: yes" >&5
     2236+  echo "$as_me:1989: result: yes" >&5
    18622237 echo "${ECHO_T}yes" >&6
    18632238   ISC=yes # If later tests want to check for ISC.
    18642239 
    1865 @@ -2193,12 +2195,115 @@
     2240@@ -2193,12 +2000,115 @@
    18662241     CC="$CC -Xp"
    18672242   fi
    18682243 else
    18692244-  echo "$as_me:2196: result: no" >&5
    1870 +  echo "$as_me:2198: result: no" >&5
     2245+  echo "$as_me:2003: result: no" >&5
    18712246 echo "${ECHO_T}no" >&6
    18722247   ISC=
     
    18802255+# into CC.  This will not help with broken scripts that wrap the compiler with
    18812256+# options, but eliminates a more common category of user confusion.
    1882 +echo "$as_me:2209: checking \$CC variable" >&5
     2257+echo "$as_me:2014: checking \$CC variable" >&5
    18832258+echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
    18842259+case "$CC" in #(vi
    18852260+*[\ \  ]-[IUD]*)
    1886 +       echo "$as_me:2213: result: broken" >&5
     2261+       echo "$as_me:2018: result: broken" >&5
    18872262+echo "${ECHO_T}broken" >&6
    1888 +       { echo "$as_me:2215: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
     2263+       { echo "$as_me:2020: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
    18892264+echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
    18902265+       # humor him...
     
    19722347+       ;;
    19732348+*)
    1974 +       echo "$as_me:2301: result: ok" >&5
     2349+       echo "$as_me:2106: result: ok" >&5
    19752350+echo "${ECHO_T}ok" >&6
    19762351+       ;;
    19772352+esac
    19782353+
    1979 +echo "$as_me:2306: checking for ${CC:-cc} option to accept ANSI C" >&5
     2354+echo "$as_me:2111: checking for ${CC:-cc} option to accept ANSI C" >&5
    19802355 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6
    19812356 if test "${cf_cv_ansi_cc+set}" = set; then
    19822357   echo $ECHO_N "(cached) $ECHO_C" >&6
    1983 @@ -2302,7 +2407,7 @@
     2358@@ -2302,7 +2212,7 @@
    19842359 fi
    19852360 
    19862361        cat >conftest.$ac_ext <<_ACEOF
    19872362-#line 2305 "configure"
    1988 +#line 2410 "configure"
     2363+#line 2215 "configure"
    19892364 #include "confdefs.h"
    19902365 
    19912366 #ifndef CC_HAS_PROTOS
    1992 @@ -2323,16 +2428,16 @@
     2367@@ -2323,16 +2233,16 @@
    19932368 }
    19942369 _ACEOF
    19952370 rm -f conftest.$ac_objext
    19962371-if { (eval echo "$as_me:2326: \"$ac_compile\"") >&5
    1997 +if { (eval echo "$as_me:2431: \"$ac_compile\"") >&5
     2372+if { (eval echo "$as_me:2236: \"$ac_compile\"") >&5
    19982373   (eval $ac_compile) 2>&5
    19992374   ac_status=$?
    20002375-  echo "$as_me:2329: \$? = $ac_status" >&5
    2001 +  echo "$as_me:2434: \$? = $ac_status" >&5
     2376+  echo "$as_me:2239: \$? = $ac_status" >&5
    20022377   (exit $ac_status); } &&
    20032378          { ac_try='test -s conftest.$ac_objext'
    20042379-  { (eval echo "$as_me:2332: \"$ac_try\"") >&5
    2005 +  { (eval echo "$as_me:2437: \"$ac_try\"") >&5
     2380+  { (eval echo "$as_me:2242: \"$ac_try\"") >&5
    20062381   (eval $ac_try) 2>&5
    20072382   ac_status=$?
    20082383-  echo "$as_me:2335: \$? = $ac_status" >&5
    2009 +  echo "$as_me:2440: \$? = $ac_status" >&5
     2384+  echo "$as_me:2245: \$? = $ac_status" >&5
    20102385   (exit $ac_status); }; }; then
    20112386   cf_cv_ansi_cc="$cf_arg"; break
    20122387 else
    2013 @@ -2345,7 +2450,7 @@
     2388@@ -2345,7 +2255,7 @@
    20142389 CPPFLAGS="$cf_save_CPPFLAGS"
    20152390 
    20162391 fi
    20172392-echo "$as_me:2348: result: $cf_cv_ansi_cc" >&5
    2018 +echo "$as_me:2453: result: $cf_cv_ansi_cc" >&5
     2393+echo "$as_me:2258: result: $cf_cv_ansi_cc" >&5
    20192394 echo "${ECHO_T}$cf_cv_ansi_cc" >&6
    20202395 
    20212396 if test "$cf_cv_ansi_cc" != "no"; then
    2022 @@ -2438,7 +2543,7 @@
     2397@@ -2438,7 +2348,7 @@
    20232398 fi
    20242399 
    20252400 if test "$cf_cv_ansi_cc" = "no"; then
    20262401-       { { echo "$as_me:2441: error: Your compiler does not appear to recognize prototypes.
    2027 +       { { echo "$as_me:2546: error: Your compiler does not appear to recognize prototypes.
     2402+       { { echo "$as_me:2351: error: Your compiler does not appear to recognize prototypes.
    20282403 You have the following choices:
    20292404        a. adjust your compiler options
    20302405        b. get an up-to-date compiler
    2031 @@ -2485,7 +2590,7 @@
     2406@@ -2485,7 +2395,7 @@
    20322407 do
    20332408   # Extract the first word of "$ac_prog", so it can be a program name with args.
    20342409 set dummy $ac_prog; ac_word=$2
    20352410-echo "$as_me:2488: checking for $ac_word" >&5
    2036 +echo "$as_me:2593: checking for $ac_word" >&5
     2411+echo "$as_me:2398: checking for $ac_word" >&5
    20372412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20382413 if test "${ac_cv_prog_AWK+set}" = set; then
    20392414   echo $ECHO_N "(cached) $ECHO_C" >&6
    2040 @@ -2500,7 +2605,7 @@
     2415@@ -2500,7 +2410,7 @@
    20412416   test -z "$ac_dir" && ac_dir=.
    20422417   $as_executable_p "$ac_dir/$ac_word" || continue
    20432418 ac_cv_prog_AWK="$ac_prog"
    20442419-echo "$as_me:2503: found $ac_dir/$ac_word" >&5
    2045 +echo "$as_me:2608: found $ac_dir/$ac_word" >&5
     2420+echo "$as_me:2413: found $ac_dir/$ac_word" >&5
    20462421 break
    20472422 done
    20482423 
    2049 @@ -2508,21 +2613,21 @@
     2424@@ -2508,21 +2418,21 @@
    20502425 fi
    20512426 AWK=$ac_cv_prog_AWK
    20522427 if test -n "$AWK"; then
    20532428-  echo "$as_me:2511: result: $AWK" >&5
    2054 +  echo "$as_me:2616: result: $AWK" >&5
     2429+  echo "$as_me:2421: result: $AWK" >&5
    20552430 echo "${ECHO_T}$AWK" >&6
    20562431 else
    20572432-  echo "$as_me:2514: result: no" >&5
    2058 +  echo "$as_me:2619: result: no" >&5
     2433+  echo "$as_me:2424: result: no" >&5
    20592434 echo "${ECHO_T}no" >&6
    20602435 fi
     
    20642439 
    20652440-test -z "$AWK" && { { echo "$as_me:2521: error: No awk program found" >&5
    2066 +test -z "$AWK" && { { echo "$as_me:2626: error: No awk program found" >&5
     2441+test -z "$AWK" && { { echo "$as_me:2431: error: No awk program found" >&5
    20672442 echo "$as_me: error: No awk program found" >&2;}
    20682443    { (exit 1); exit 1; }; }
    20692444 
    20702445-echo "$as_me:2525: checking for egrep" >&5
    2071 +echo "$as_me:2630: checking for egrep" >&5
     2446+echo "$as_me:2435: checking for egrep" >&5
    20722447 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    20732448 if test "${ac_cv_prog_egrep+set}" = set; then
    20742449   echo $ECHO_N "(cached) $ECHO_C" >&6
    2075 @@ -2532,11 +2637,11 @@
     2450@@ -2532,11 +2442,11 @@
    20762451     else ac_cv_prog_egrep='egrep'
    20772452     fi
    20782453 fi
    20792454-echo "$as_me:2535: result: $ac_cv_prog_egrep" >&5
    2080 +echo "$as_me:2640: result: $ac_cv_prog_egrep" >&5
     2455+echo "$as_me:2445: result: $ac_cv_prog_egrep" >&5
    20812456 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    20822457  EGREP=$ac_cv_prog_egrep
    20832458 
    20842459-test -z "$EGREP" && { { echo "$as_me:2539: error: No egrep program found" >&5
    2085 +test -z "$EGREP" && { { echo "$as_me:2644: error: No egrep program found" >&5
     2460+test -z "$EGREP" && { { echo "$as_me:2449: error: No egrep program found" >&5
    20862461 echo "$as_me: error: No egrep program found" >&2;}
    20872462    { (exit 1); exit 1; }; }
    20882463 
    2089 @@ -2552,7 +2657,7 @@
     2464@@ -2552,7 +2462,7 @@
    20902465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    20912466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    20922467 # ./install, which can be erroneously created by make from ./install.sh.
    20932468-echo "$as_me:2555: checking for a BSD compatible install" >&5
    2094 +echo "$as_me:2660: checking for a BSD compatible install" >&5
     2469+echo "$as_me:2465: checking for a BSD compatible install" >&5
    20952470 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
    20962471 if test -z "$INSTALL"; then
    20972472 if test "${ac_cv_path_install+set}" = set; then
    2098 @@ -2601,7 +2706,7 @@
     2473@@ -2601,7 +2511,7 @@
    20992474     INSTALL=$ac_install_sh
    21002475   fi
    21012476 fi
    21022477-echo "$as_me:2604: result: $INSTALL" >&5
    2103 +echo "$as_me:2709: result: $INSTALL" >&5
     2478+echo "$as_me:2514: result: $INSTALL" >&5
    21042479 echo "${ECHO_T}$INSTALL" >&6
    21052480 
    21062481 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2107 @@ -2612,18 +2717,18 @@
     2482@@ -2612,18 +2522,18 @@
    21082483 
    21092484 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21102485 
    21112486-echo "$as_me:2615: checking whether ln -s works" >&5
    2112 +echo "$as_me:2720: checking whether ln -s works" >&5
     2487+echo "$as_me:2525: checking whether ln -s works" >&5
    21132488 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    21142489 LN_S=$as_ln_s
    21152490 if test "$LN_S" = "ln -s"; then
    21162491-  echo "$as_me:2619: result: yes" >&5
    2117 +  echo "$as_me:2724: result: yes" >&5
     2492+  echo "$as_me:2529: result: yes" >&5
    21182493 echo "${ECHO_T}yes" >&6
    21192494 else
    21202495-  echo "$as_me:2622: result: no, using $LN_S" >&5
    2121 +  echo "$as_me:2727: result: no, using $LN_S" >&5
     2496+  echo "$as_me:2532: result: no, using $LN_S" >&5
    21222497 echo "${ECHO_T}no, using $LN_S" >&6
    21232498 fi
    21242499 
    21252500-echo "$as_me:2626: checking if $LN_S -f options work" >&5
    2126 +echo "$as_me:2731: checking if $LN_S -f options work" >&5
     2501+echo "$as_me:2536: checking if $LN_S -f options work" >&5
    21272502 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6
    21282503 
    21292504 rm -f conf$$.src conf$$dst
    2130 @@ -2635,12 +2740,12 @@
     2505@@ -2635,12 +2545,12 @@
    21312506        cf_prog_ln_sf=no
    21322507 fi
    21332508 rm -f conf$$.dst conf$$src
    21342509-echo "$as_me:2638: result: $cf_prog_ln_sf" >&5
    2135 +echo "$as_me:2743: result: $cf_prog_ln_sf" >&5
     2510+echo "$as_me:2548: result: $cf_prog_ln_sf" >&5
    21362511 echo "${ECHO_T}$cf_prog_ln_sf" >&6
    21372512 
     
    21392514 
    21402515-echo "$as_me:2643: checking for long file names" >&5
    2141 +echo "$as_me:2748: checking for long file names" >&5
     2516+echo "$as_me:2553: checking for long file names" >&5
    21422517 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
    21432518 if test "${ac_cv_sys_long_file_names+set}" = set; then
    21442519   echo $ECHO_N "(cached) $ECHO_C" >&6
    2145 @@ -2679,7 +2784,7 @@
     2520@@ -2679,7 +2589,7 @@
    21462521   rm -rf $ac_xdir 2>/dev/null
    21472522 done
    21482523 fi
    21492524-echo "$as_me:2682: result: $ac_cv_sys_long_file_names" >&5
    2150 +echo "$as_me:2787: result: $ac_cv_sys_long_file_names" >&5
     2525+echo "$as_me:2592: result: $ac_cv_sys_long_file_names" >&5
    21512526 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
    21522527 if test $ac_cv_sys_long_file_names = yes; then
    21532528 
    2154 @@ -2691,7 +2796,7 @@
     2529@@ -2691,7 +2601,7 @@
    21552530 
    21562531 # if we find pkg-config, check if we should install the ".pc" files.
    21572532 
    21582533-echo "$as_me:2694: checking if you want to use pkg-config" >&5
    2159 +echo "$as_me:2799: checking if you want to use pkg-config" >&5
     2534+echo "$as_me:2604: checking if you want to use pkg-config" >&5
    21602535 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
    21612536 
    21622537 # Check whether --with-pkg-config or --without-pkg-config was given.
    2163 @@ -2701,7 +2806,7 @@
     2538@@ -2701,7 +2611,7 @@
    21642539 else
    21652540   cf_pkg_config=yes
    21662541 fi;
    21672542-echo "$as_me:2704: result: $cf_pkg_config" >&5
    2168 +echo "$as_me:2809: result: $cf_pkg_config" >&5
     2543+echo "$as_me:2614: result: $cf_pkg_config" >&5
    21692544 echo "${ECHO_T}$cf_pkg_config" >&6
    21702545 
    21712546 case $cf_pkg_config in #(vi
    2172 @@ -2709,10 +2814,11 @@
     2547@@ -2709,10 +2619,11 @@
    21732548        PKG_CONFIG=none
    21742549        ;;
     
    21802555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    21812556-echo "$as_me:2715: checking for $ac_word" >&5
    2182 +echo "$as_me:2821: checking for $ac_word" >&5
     2557+echo "$as_me:2626: checking for $ac_word" >&5
    21832558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    21842559 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    21852560   echo $ECHO_N "(cached) $ECHO_C" >&6
    2186 @@ -2729,7 +2835,7 @@
     2561@@ -2729,7 +2640,7 @@
    21872562   test -z "$ac_dir" && ac_dir=.
    21882563   if $as_executable_p "$ac_dir/$ac_word"; then
    21892564    ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
    21902565-   echo "$as_me:2732: found $ac_dir/$ac_word" >&5
    2191 +   echo "$as_me:2838: found $ac_dir/$ac_word" >&5
     2566+   echo "$as_me:2643: found $ac_dir/$ac_word" >&5
    21922567    break
    21932568 fi
    21942569 done
    2195 @@ -2740,10 +2846,10 @@
     2570@@ -2740,10 +2651,10 @@
    21962571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    21972572 
    21982573 if test -n "$PKG_CONFIG"; then
    21992574-  echo "$as_me:2743: result: $PKG_CONFIG" >&5
    2200 +  echo "$as_me:2849: result: $PKG_CONFIG" >&5
     2575+  echo "$as_me:2654: result: $PKG_CONFIG" >&5
    22012576 echo "${ECHO_T}$PKG_CONFIG" >&6
    22022577 else
    22032578-  echo "$as_me:2746: result: no" >&5
    2204 +  echo "$as_me:2852: result: no" >&5
     2579+  echo "$as_me:2657: result: no" >&5
    22052580 echo "${ECHO_T}no" >&6
    22062581 fi
    22072582 
    2208 @@ -2752,7 +2858,7 @@
     2583@@ -2752,7 +2663,7 @@
    22092584   ac_pt_PKG_CONFIG=$PKG_CONFIG
    22102585   # Extract the first word of "pkg-config", so it can be a program name with args.
    22112586 set dummy pkg-config; ac_word=$2
    22122587-echo "$as_me:2755: checking for $ac_word" >&5
    2213 +echo "$as_me:2861: checking for $ac_word" >&5
     2588+echo "$as_me:2666: checking for $ac_word" >&5
    22142589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    22152590 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    22162591   echo $ECHO_N "(cached) $ECHO_C" >&6
    2217 @@ -2769,7 +2875,7 @@
     2592@@ -2769,7 +2680,7 @@
    22182593   test -z "$ac_dir" && ac_dir=.
    22192594   if $as_executable_p "$ac_dir/$ac_word"; then
    22202595    ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
    22212596-   echo "$as_me:2772: found $ac_dir/$ac_word" >&5
    2222 +   echo "$as_me:2878: found $ac_dir/$ac_word" >&5
     2597+   echo "$as_me:2683: found $ac_dir/$ac_word" >&5
    22232598    break
    22242599 fi
    22252600 done
    2226 @@ -2781,10 +2887,10 @@
     2601@@ -2781,10 +2692,10 @@
    22272602 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
    22282603 
    22292604 if test -n "$ac_pt_PKG_CONFIG"; then
    22302605-  echo "$as_me:2784: result: $ac_pt_PKG_CONFIG" >&5
    2231 +  echo "$as_me:2890: result: $ac_pt_PKG_CONFIG" >&5
     2606+  echo "$as_me:2695: result: $ac_pt_PKG_CONFIG" >&5
    22322607 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    22332608 else
    22342609-  echo "$as_me:2787: result: no" >&5
    2235 +  echo "$as_me:2893: result: no" >&5
     2610+  echo "$as_me:2698: result: no" >&5
    22362611 echo "${ECHO_T}no" >&6
    22372612 fi
    22382613 
    2239 @@ -2827,7 +2933,7 @@
     2614@@ -2815,7 +2726,7 @@
     2615   ;;
     2616 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     2617   ;;
     2618-.\${*prefix}*) #(vi
     2619+.\${*prefix}*|.\${*dir}*) #(vi
     2620   eval PKG_CONFIG="$PKG_CONFIG"
     2621   case ".$PKG_CONFIG" in #(vi
     2622   .NONE/*)
     2623@@ -2827,7 +2738,7 @@
    22402624   PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
    22412625   ;;
    22422626 *)
    22432627-  { { echo "$as_me:2830: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    2244 +  { { echo "$as_me:2936: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
     2628+  { { echo "$as_me:2741: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    22452629 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
    22462630    { (exit 1); exit 1; }; }
    22472631   ;;
    2248 @@ -2836,15 +2942,51 @@
     2632@@ -2836,35 +2747,100 @@
    22492633 fi
    22502634 
     
    22522636-       echo "$as_me:2839: checking if we should install .pc files for $PKG_CONFIG" >&5
    22532637-echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
    2254 +       echo "$as_me:2945: checking for $PKG_CONFIG library directory" >&5
     2638+       echo "$as_me:2750: checking for $PKG_CONFIG library directory" >&5
    22552639+echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6
    22562640 
     
    22602644-       fi
    22612645-       PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
     2646-       if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
     2647-
     2648-# Check whether --enable-pc-files or --disable-pc-files was given.
     2649-if test "${enable_pc_files+set}" = set; then
     2650-  enableval="$enable_pc_files"
     2651-  enable_pc_files=$enableval
    22622652+# Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given.
    22632653+if test "${with_pkg_config_libdir+set}" = set; then
    22642654+  withval="$with_pkg_config_libdir"
    22652655+  PKG_CONFIG_LIBDIR=$withval
    2266 +else
     2656 else
     2657-  enable_pc_files=no
    22672658+  PKG_CONFIG_LIBDIR=yes
    2268 +fi;
    2269 +
     2659 fi;
     2660-               echo "$as_me:2856: result: $enable_pc_files" >&5
     2661-echo "${ECHO_T}$enable_pc_files" >&6
     2662-       else
     2663-               echo "$as_me:2859: result: no" >&5
     2664-echo "${ECHO_T}no" >&6
     2665-               { echo "$as_me:2861: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5
     2666-echo "$as_me: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&2;}
     2667-               enable_pc_files=no
     2668-       fi
     2669-fi
     2670 
     2671-echo "$as_me:2867: checking if you want to build test-programs" >&5
    22702672+       case x$PKG_CONFIG_LIBDIR in #(vi
    22712673+       x/*) #(vi
     
    22942696+       esac
    22952697+
    2296 +       echo "$as_me:2982: result: $PKG_CONFIG_LIBDIR" >&5
     2698+       echo "$as_me:2787: result: $PKG_CONFIG_LIBDIR" >&5
    22972699+echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6
    22982700+fi
    22992701+
    23002702+if test "$PKG_CONFIG" != none ; then
    2301         if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
    2302 +               echo "$as_me:2988: checking if we should install .pc files for $PKG_CONFIG" >&5
     2703+       echo "$as_me:2792: checking if we should install .pc files for $PKG_CONFIG" >&5
    23032704+echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
    2304  
    2305  # Check whether --enable-pc-files or --disable-pc-files was given.
    2306  if test "${enable_pc_files+set}" = set; then
    2307 @@ -2853,18 +2995,18 @@
    2308  else
    2309    enable_pc_files=no
    2310  fi;
    2311 -               echo "$as_me:2856: result: $enable_pc_files" >&5
    2312 +               echo "$as_me:2998: result: $enable_pc_files" >&5
    2313  echo "${ECHO_T}$enable_pc_files" >&6
    2314 -       else
    2315 -               echo "$as_me:2859: result: no" >&5
    2316 -echo "${ECHO_T}no" >&6
    2317 -               { echo "$as_me:2861: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5
    2318 -echo "$as_me: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&2;}
    2319 +       elif test -z "$PKG_CONFIG_LIBDIR" || test "$PKG_CONFIG_LIBDIR" != no; then
    2320                 enable_pc_files=no
    2321 +               { echo "$as_me:3002: WARNING: did not find $PKG_CONFIG library" >&5
    2322 +echo "$as_me: WARNING: did not find $PKG_CONFIG library" >&2;}
    2323         fi
     2705+
     2706+# Check whether --enable-pc-files or --disable-pc-files was given.
     2707+if test "${enable_pc_files+set}" = set; then
     2708+  enableval="$enable_pc_files"
     2709+  enable_pc_files=$enableval
     2710+else
     2711+  enable_pc_files=no
     2712+fi;
     2713+       echo "$as_me:2802: result: $enable_pc_files" >&5
     2714+echo "${ECHO_T}$enable_pc_files" >&6
     2715+       if test "$enable_pc_files" != no
     2716+       then
     2717+
     2718+if test "x$prefix" != xNONE; then
     2719+  cf_path_syntax="$prefix"
     2720+else
     2721+  cf_path_syntax="$ac_default_prefix"
     2722+fi
     2723+
     2724+case ".$PKG_CONFIG_LIBDIR" in #(vi
     2725+.\$\(*\)*|.\'*\'*) #(vi
     2726+  ;;
     2727+..|./*|.\\*) #(vi
     2728+  ;;
     2729+.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     2730+  ;;
     2731+.\${*prefix}*|.\${*dir}*) #(vi
     2732+  eval PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"
     2733+  case ".$PKG_CONFIG_LIBDIR" in #(vi
     2734+  .NONE/*)
     2735+    PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
     2736+    ;;
     2737+  esac
     2738+  ;; #(vi
     2739+.no|.NONE/*)
     2740+  PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
     2741+  ;;
     2742+*)
     2743+  { { echo "$as_me:2832: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&5
     2744+echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&2;}
     2745+   { (exit 1); exit 1; }; }
     2746+  ;;
     2747+esac
     2748+
     2749+       fi
    23242750+else
    23252751+       enable_pc_files=no
    2326  fi
    2327  
    2328 -echo "$as_me:2867: checking if you want to build test-programs" >&5
    2329 +echo "$as_me:3009: checking if you want to build test-programs" >&5
     2752+fi
     2753+
     2754+echo "$as_me:2843: checking if you want to build test-programs" >&5
    23302755 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6
    23312756 
    23322757 # Check whether --with-tests or --without-tests was given.
    2333 @@ -2874,10 +3016,10 @@
     2758@@ -2874,10 +2850,10 @@
    23342759 else
    23352760   cf_with_tests=yes
    23362761 fi;
    23372762-echo "$as_me:2877: result: $cf_with_tests" >&5
    2338 +echo "$as_me:3019: result: $cf_with_tests" >&5
     2763+echo "$as_me:2853: result: $cf_with_tests" >&5
    23392764 echo "${ECHO_T}$cf_with_tests" >&6
    23402765 
    23412766-echo "$as_me:2880: checking if we should assume mixed-case filenames" >&5
    2342 +echo "$as_me:3022: checking if we should assume mixed-case filenames" >&5
     2767+echo "$as_me:2856: checking if we should assume mixed-case filenames" >&5
    23432768 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
    23442769 
    23452770 # Check whether --enable-mixed-case or --disable-mixed-case was given.
    2346 @@ -2887,11 +3029,11 @@
     2771@@ -2887,11 +2863,11 @@
    23472772 else
    23482773   enable_mixedcase=auto
    23492774 fi;
    23502775-echo "$as_me:2890: result: $enable_mixedcase" >&5
    2351 +echo "$as_me:3032: result: $enable_mixedcase" >&5
     2776+echo "$as_me:2866: result: $enable_mixedcase" >&5
    23522777 echo "${ECHO_T}$enable_mixedcase" >&6
    23532778 if test "$enable_mixedcase" = "auto" ; then
    23542779 
    23552780-echo "$as_me:2894: checking if filesystem supports mixed-case filenames" >&5
    2356 +echo "$as_me:3036: checking if filesystem supports mixed-case filenames" >&5
     2781+echo "$as_me:2870: checking if filesystem supports mixed-case filenames" >&5
    23572782 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
    23582783 if test "${cf_cv_mixedcase+set}" = set; then
    23592784   echo $ECHO_N "(cached) $ECHO_C" >&6
    2360 @@ -2918,7 +3060,7 @@
     2785@@ -2918,7 +2894,7 @@
    23612786 fi
    23622787 
    23632788 fi
    23642789-echo "$as_me:2921: result: $cf_cv_mixedcase" >&5
    2365 +echo "$as_me:3063: result: $cf_cv_mixedcase" >&5
     2790+echo "$as_me:2897: result: $cf_cv_mixedcase" >&5
    23662791 echo "${ECHO_T}$cf_cv_mixedcase" >&6
    23672792 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF
    23682793 #define MIXEDCASE_FILENAMES 1
    2369 @@ -2935,7 +3077,7 @@
     2794@@ -2935,7 +2911,7 @@
    23702795 fi
    23712796 
    23722797 # do this after mixed-case option (tags/TAGS is not as important as tic).
    23732798-echo "$as_me:2938: checking whether ${MAKE-make} sets \${MAKE}" >&5
    2374 +echo "$as_me:3080: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2799+echo "$as_me:2914: checking whether ${MAKE-make} sets \${MAKE}" >&5
    23752800 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
    23762801 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    23772802 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2378 @@ -2955,11 +3097,11 @@
     2803@@ -2955,11 +2931,11 @@
    23792804 rm -f conftest.make
    23802805 fi
    23812806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    23822807-  echo "$as_me:2958: result: yes" >&5
    2383 +  echo "$as_me:3100: result: yes" >&5
     2808+  echo "$as_me:2934: result: yes" >&5
    23842809 echo "${ECHO_T}yes" >&6
    23852810   SET_MAKE=
    23862811 else
    23872812-  echo "$as_me:2962: result: no" >&5
    2388 +  echo "$as_me:3104: result: no" >&5
     2813+  echo "$as_me:2938: result: no" >&5
    23892814 echo "${ECHO_T}no" >&6
    23902815   SET_MAKE="MAKE=${MAKE-make}"
    23912816 fi
    2392 @@ -2968,7 +3110,7 @@
     2817@@ -2968,7 +2944,7 @@
    23932818 do
    23942819   # Extract the first word of "$ac_prog", so it can be a program name with args.
    23952820 set dummy $ac_prog; ac_word=$2
    23962821-echo "$as_me:2971: checking for $ac_word" >&5
    2397 +echo "$as_me:3113: checking for $ac_word" >&5
     2822+echo "$as_me:2947: checking for $ac_word" >&5
    23982823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    23992824 if test "${ac_cv_prog_CTAGS+set}" = set; then
    24002825   echo $ECHO_N "(cached) $ECHO_C" >&6
    2401 @@ -2983,7 +3125,7 @@
     2826@@ -2983,7 +2959,7 @@
    24022827   test -z "$ac_dir" && ac_dir=.
    24032828   $as_executable_p "$ac_dir/$ac_word" || continue
    24042829 ac_cv_prog_CTAGS="$ac_prog"
    24052830-echo "$as_me:2986: found $ac_dir/$ac_word" >&5
    2406 +echo "$as_me:3128: found $ac_dir/$ac_word" >&5
     2831+echo "$as_me:2962: found $ac_dir/$ac_word" >&5
    24072832 break
    24082833 done
    24092834 
    2410 @@ -2991,10 +3133,10 @@
     2835@@ -2991,10 +2967,10 @@
    24112836 fi
    24122837 CTAGS=$ac_cv_prog_CTAGS
    24132838 if test -n "$CTAGS"; then
    24142839-  echo "$as_me:2994: result: $CTAGS" >&5
    2415 +  echo "$as_me:3136: result: $CTAGS" >&5
     2840+  echo "$as_me:2970: result: $CTAGS" >&5
    24162841 echo "${ECHO_T}$CTAGS" >&6
    24172842 else
    24182843-  echo "$as_me:2997: result: no" >&5
    2419 +  echo "$as_me:3139: result: no" >&5
     2844+  echo "$as_me:2973: result: no" >&5
    24202845 echo "${ECHO_T}no" >&6
    24212846 fi
    24222847 
    2423 @@ -3005,7 +3147,7 @@
     2848@@ -3005,7 +2981,7 @@
    24242849 do
    24252850   # Extract the first word of "$ac_prog", so it can be a program name with args.
    24262851 set dummy $ac_prog; ac_word=$2
    24272852-echo "$as_me:3008: checking for $ac_word" >&5
    2428 +echo "$as_me:3150: checking for $ac_word" >&5
     2853+echo "$as_me:2984: checking for $ac_word" >&5
    24292854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    24302855 if test "${ac_cv_prog_ETAGS+set}" = set; then
    24312856   echo $ECHO_N "(cached) $ECHO_C" >&6
    2432 @@ -3020,7 +3162,7 @@
     2857@@ -3020,7 +2996,7 @@
    24332858   test -z "$ac_dir" && ac_dir=.
    24342859   $as_executable_p "$ac_dir/$ac_word" || continue
    24352860 ac_cv_prog_ETAGS="$ac_prog"
    24362861-echo "$as_me:3023: found $ac_dir/$ac_word" >&5
    2437 +echo "$as_me:3165: found $ac_dir/$ac_word" >&5
     2862+echo "$as_me:2999: found $ac_dir/$ac_word" >&5
    24382863 break
    24392864 done
    24402865 
    2441 @@ -3028,10 +3170,10 @@
     2866@@ -3028,10 +3004,10 @@
    24422867 fi
    24432868 ETAGS=$ac_cv_prog_ETAGS
    24442869 if test -n "$ETAGS"; then
    24452870-  echo "$as_me:3031: result: $ETAGS" >&5
    2446 +  echo "$as_me:3173: result: $ETAGS" >&5
     2871+  echo "$as_me:3007: result: $ETAGS" >&5
    24472872 echo "${ECHO_T}$ETAGS" >&6
    24482873 else
    24492874-  echo "$as_me:3034: result: no" >&5
    2450 +  echo "$as_me:3176: result: no" >&5
     2875+  echo "$as_me:3010: result: no" >&5
    24512876 echo "${ECHO_T}no" >&6
    24522877 fi
    24532878 
    2454 @@ -3040,7 +3182,7 @@
     2879@@ -3040,7 +3016,7 @@
    24552880 
    24562881 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
    24572882 set dummy ${CTAGS:-ctags}; ac_word=$2
    24582883-echo "$as_me:3043: checking for $ac_word" >&5
    2459 +echo "$as_me:3185: checking for $ac_word" >&5
     2884+echo "$as_me:3019: checking for $ac_word" >&5
    24602885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    24612886 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
    24622887   echo $ECHO_N "(cached) $ECHO_C" >&6
    2463 @@ -3055,7 +3197,7 @@
     2888@@ -3055,7 +3031,7 @@
    24642889   test -z "$ac_dir" && ac_dir=.
    24652890   $as_executable_p "$ac_dir/$ac_word" || continue
    24662891 ac_cv_prog_MAKE_LOWER_TAGS="yes"
    24672892-echo "$as_me:3058: found $ac_dir/$ac_word" >&5
    2468 +echo "$as_me:3200: found $ac_dir/$ac_word" >&5
     2893+echo "$as_me:3034: found $ac_dir/$ac_word" >&5
    24692894 break
    24702895 done
    24712896 
    2472 @@ -3064,17 +3206,17 @@
     2897@@ -3064,17 +3040,17 @@
    24732898 fi
    24742899 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
    24752900 if test -n "$MAKE_LOWER_TAGS"; then
    24762901-  echo "$as_me:3067: result: $MAKE_LOWER_TAGS" >&5
    2477 +  echo "$as_me:3209: result: $MAKE_LOWER_TAGS" >&5
     2902+  echo "$as_me:3043: result: $MAKE_LOWER_TAGS" >&5
    24782903 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
    24792904 else
    24802905-  echo "$as_me:3070: result: no" >&5
    2481 +  echo "$as_me:3212: result: no" >&5
     2906+  echo "$as_me:3046: result: no" >&5
    24822907 echo "${ECHO_T}no" >&6
    24832908 fi
     
    24872912 set dummy ${ETAGS:-etags}; ac_word=$2
    24882913-echo "$as_me:3077: checking for $ac_word" >&5
    2489 +echo "$as_me:3219: checking for $ac_word" >&5
     2914+echo "$as_me:3053: checking for $ac_word" >&5
    24902915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    24912916 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
    24922917   echo $ECHO_N "(cached) $ECHO_C" >&6
    2493 @@ -3089,7 +3231,7 @@
     2918@@ -3089,7 +3065,7 @@
    24942919   test -z "$ac_dir" && ac_dir=.
    24952920   $as_executable_p "$ac_dir/$ac_word" || continue
    24962921 ac_cv_prog_MAKE_UPPER_TAGS="yes"
    24972922-echo "$as_me:3092: found $ac_dir/$ac_word" >&5
    2498 +echo "$as_me:3234: found $ac_dir/$ac_word" >&5
     2923+echo "$as_me:3068: found $ac_dir/$ac_word" >&5
    24992924 break
    25002925 done
    25012926 
    2502 @@ -3098,10 +3240,10 @@
     2927@@ -3098,10 +3074,10 @@
    25032928 fi
    25042929 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
    25052930 if test -n "$MAKE_UPPER_TAGS"; then
    25062931-  echo "$as_me:3101: result: $MAKE_UPPER_TAGS" >&5
    2507 +  echo "$as_me:3243: result: $MAKE_UPPER_TAGS" >&5
     2932+  echo "$as_me:3077: result: $MAKE_UPPER_TAGS" >&5
    25082933 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
    25092934 else
    25102935-  echo "$as_me:3104: result: no" >&5
    2511 +  echo "$as_me:3246: result: no" >&5
     2936+  echo "$as_me:3080: result: no" >&5
    25122937 echo "${ECHO_T}no" >&6
    25132938 fi
    25142939 
    2515 @@ -3121,7 +3263,7 @@
     2940@@ -3121,7 +3097,7 @@
    25162941        MAKE_LOWER_TAGS="#"
    25172942 fi
    25182943 
    25192944-echo "$as_me:3124: checking for makeflags variable" >&5
    2520 +echo "$as_me:3266: checking for makeflags variable" >&5
     2945+echo "$as_me:3100: checking for makeflags variable" >&5
    25212946 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
    25222947 if test "${cf_cv_makeflags+set}" = set; then
    25232948   echo $ECHO_N "(cached) $ECHO_C" >&6
    2524 @@ -3155,13 +3297,13 @@
     2949@@ -3155,13 +3131,13 @@
    25252950        rm -f cf_makeflags.tmp
    25262951 
    25272952 fi
    25282953-echo "$as_me:3158: result: $cf_cv_makeflags" >&5
    2529 +echo "$as_me:3300: result: $cf_cv_makeflags" >&5
     2954+echo "$as_me:3134: result: $cf_cv_makeflags" >&5
    25302955 echo "${ECHO_T}$cf_cv_makeflags" >&6
    25312956 
     
    25342959 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    25352960-echo "$as_me:3164: checking for $ac_word" >&5
    2536 +echo "$as_me:3306: checking for $ac_word" >&5
     2961+echo "$as_me:3140: checking for $ac_word" >&5
    25372962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    25382963 if test "${ac_cv_prog_RANLIB+set}" = set; then
    25392964   echo $ECHO_N "(cached) $ECHO_C" >&6
    2540 @@ -3176,7 +3318,7 @@
     2965@@ -3176,7 +3152,7 @@
    25412966   test -z "$ac_dir" && ac_dir=.
    25422967   $as_executable_p "$ac_dir/$ac_word" || continue
    25432968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    25442969-echo "$as_me:3179: found $ac_dir/$ac_word" >&5
    2545 +echo "$as_me:3321: found $ac_dir/$ac_word" >&5
     2970+echo "$as_me:3155: found $ac_dir/$ac_word" >&5
    25462971 break
    25472972 done
    25482973 
    2549 @@ -3184,10 +3326,10 @@
     2974@@ -3184,10 +3160,10 @@
    25502975 fi
    25512976 RANLIB=$ac_cv_prog_RANLIB
    25522977 if test -n "$RANLIB"; then
    25532978-  echo "$as_me:3187: result: $RANLIB" >&5
    2554 +  echo "$as_me:3329: result: $RANLIB" >&5
     2979+  echo "$as_me:3163: result: $RANLIB" >&5
    25552980 echo "${ECHO_T}$RANLIB" >&6
    25562981 else
    25572982-  echo "$as_me:3190: result: no" >&5
    2558 +  echo "$as_me:3332: result: no" >&5
     2983+  echo "$as_me:3166: result: no" >&5
    25592984 echo "${ECHO_T}no" >&6
    25602985 fi
    25612986 
    2562 @@ -3196,7 +3338,7 @@
     2987@@ -3196,7 +3172,7 @@
    25632988   ac_ct_RANLIB=$RANLIB
    25642989   # Extract the first word of "ranlib", so it can be a program name with args.
    25652990 set dummy ranlib; ac_word=$2
    25662991-echo "$as_me:3199: checking for $ac_word" >&5
    2567 +echo "$as_me:3341: checking for $ac_word" >&5
     2992+echo "$as_me:3175: checking for $ac_word" >&5
    25682993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    25692994 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    25702995   echo $ECHO_N "(cached) $ECHO_C" >&6
    2571 @@ -3211,7 +3353,7 @@
     2996@@ -3211,7 +3187,7 @@
    25722997   test -z "$ac_dir" && ac_dir=.
    25732998   $as_executable_p "$ac_dir/$ac_word" || continue
    25742999 ac_cv_prog_ac_ct_RANLIB="ranlib"
    25753000-echo "$as_me:3214: found $ac_dir/$ac_word" >&5
    2576 +echo "$as_me:3356: found $ac_dir/$ac_word" >&5
     3001+echo "$as_me:3190: found $ac_dir/$ac_word" >&5
    25773002 break
    25783003 done
    25793004 
    2580 @@ -3220,10 +3362,10 @@
     3005@@ -3220,10 +3196,10 @@
    25813006 fi
    25823007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    25833008 if test -n "$ac_ct_RANLIB"; then
    25843009-  echo "$as_me:3223: result: $ac_ct_RANLIB" >&5
    2585 +  echo "$as_me:3365: result: $ac_ct_RANLIB" >&5
     3010+  echo "$as_me:3199: result: $ac_ct_RANLIB" >&5
    25863011 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    25873012 else
    25883013-  echo "$as_me:3226: result: no" >&5
    2589 +  echo "$as_me:3368: result: no" >&5
     3014+  echo "$as_me:3202: result: no" >&5
    25903015 echo "${ECHO_T}no" >&6
    25913016 fi
    25923017 
    2593 @@ -3235,7 +3377,7 @@
     3018@@ -3235,7 +3211,7 @@
    25943019 if test -n "$ac_tool_prefix"; then
    25953020   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
    25963021 set dummy ${ac_tool_prefix}ld; ac_word=$2
    25973022-echo "$as_me:3238: checking for $ac_word" >&5
    2598 +echo "$as_me:3380: checking for $ac_word" >&5
     3023+echo "$as_me:3214: checking for $ac_word" >&5
    25993024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26003025 if test "${ac_cv_prog_LD+set}" = set; then
    26013026   echo $ECHO_N "(cached) $ECHO_C" >&6
    2602 @@ -3250,7 +3392,7 @@
     3027@@ -3250,7 +3226,7 @@
    26033028   test -z "$ac_dir" && ac_dir=.
    26043029   $as_executable_p "$ac_dir/$ac_word" || continue
    26053030 ac_cv_prog_LD="${ac_tool_prefix}ld"
    26063031-echo "$as_me:3253: found $ac_dir/$ac_word" >&5
    2607 +echo "$as_me:3395: found $ac_dir/$ac_word" >&5
     3032+echo "$as_me:3229: found $ac_dir/$ac_word" >&5
    26083033 break
    26093034 done
    26103035 
    2611 @@ -3258,10 +3400,10 @@
     3036@@ -3258,10 +3234,10 @@
    26123037 fi
    26133038 LD=$ac_cv_prog_LD
    26143039 if test -n "$LD"; then
    26153040-  echo "$as_me:3261: result: $LD" >&5
    2616 +  echo "$as_me:3403: result: $LD" >&5
     3041+  echo "$as_me:3237: result: $LD" >&5
    26173042 echo "${ECHO_T}$LD" >&6
    26183043 else
    26193044-  echo "$as_me:3264: result: no" >&5
    2620 +  echo "$as_me:3406: result: no" >&5
     3045+  echo "$as_me:3240: result: no" >&5
    26213046 echo "${ECHO_T}no" >&6
    26223047 fi
    26233048 
    2624 @@ -3270,7 +3412,7 @@
     3049@@ -3270,7 +3246,7 @@
    26253050   ac_ct_LD=$LD
    26263051   # Extract the first word of "ld", so it can be a program name with args.
    26273052 set dummy ld; ac_word=$2
    26283053-echo "$as_me:3273: checking for $ac_word" >&5
    2629 +echo "$as_me:3415: checking for $ac_word" >&5
     3054+echo "$as_me:3249: checking for $ac_word" >&5
    26303055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26313056 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
    26323057   echo $ECHO_N "(cached) $ECHO_C" >&6
    2633 @@ -3285,7 +3427,7 @@
     3058@@ -3285,7 +3261,7 @@
    26343059   test -z "$ac_dir" && ac_dir=.
    26353060   $as_executable_p "$ac_dir/$ac_word" || continue
    26363061 ac_cv_prog_ac_ct_LD="ld"
    26373062-echo "$as_me:3288: found $ac_dir/$ac_word" >&5
    2638 +echo "$as_me:3430: found $ac_dir/$ac_word" >&5
     3063+echo "$as_me:3264: found $ac_dir/$ac_word" >&5
    26393064 break
    26403065 done
    26413066 
    2642 @@ -3294,10 +3436,10 @@
     3067@@ -3294,10 +3270,10 @@
    26433068 fi
    26443069 ac_ct_LD=$ac_cv_prog_ac_ct_LD
    26453070 if test -n "$ac_ct_LD"; then
    26463071-  echo "$as_me:3297: result: $ac_ct_LD" >&5
    2647 +  echo "$as_me:3439: result: $ac_ct_LD" >&5
     3072+  echo "$as_me:3273: result: $ac_ct_LD" >&5
    26483073 echo "${ECHO_T}$ac_ct_LD" >&6
    26493074 else
    26503075-  echo "$as_me:3300: result: no" >&5
    2651 +  echo "$as_me:3442: result: no" >&5
     3076+  echo "$as_me:3276: result: no" >&5
    26523077 echo "${ECHO_T}no" >&6
    26533078 fi
    26543079 
    2655 @@ -3309,7 +3451,7 @@
     3080@@ -3309,7 +3285,7 @@
    26563081 if test -n "$ac_tool_prefix"; then
    26573082   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    26583083 set dummy ${ac_tool_prefix}ar; ac_word=$2
    26593084-echo "$as_me:3312: checking for $ac_word" >&5
    2660 +echo "$as_me:3454: checking for $ac_word" >&5
     3085+echo "$as_me:3288: checking for $ac_word" >&5
    26613086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26623087 if test "${ac_cv_prog_AR+set}" = set; then
    26633088   echo $ECHO_N "(cached) $ECHO_C" >&6
    2664 @@ -3324,7 +3466,7 @@
     3089@@ -3324,7 +3300,7 @@
    26653090   test -z "$ac_dir" && ac_dir=.
    26663091   $as_executable_p "$ac_dir/$ac_word" || continue
    26673092 ac_cv_prog_AR="${ac_tool_prefix}ar"
    26683093-echo "$as_me:3327: found $ac_dir/$ac_word" >&5
    2669 +echo "$as_me:3469: found $ac_dir/$ac_word" >&5
     3094+echo "$as_me:3303: found $ac_dir/$ac_word" >&5
    26703095 break
    26713096 done
    26723097 
    2673 @@ -3332,10 +3474,10 @@
     3098@@ -3332,10 +3308,10 @@
    26743099 fi
    26753100 AR=$ac_cv_prog_AR
    26763101 if test -n "$AR"; then
    26773102-  echo "$as_me:3335: result: $AR" >&5
    2678 +  echo "$as_me:3477: result: $AR" >&5
     3103+  echo "$as_me:3311: result: $AR" >&5
    26793104 echo "${ECHO_T}$AR" >&6
    26803105 else
    26813106-  echo "$as_me:3338: result: no" >&5
    2682 +  echo "$as_me:3480: result: no" >&5
     3107+  echo "$as_me:3314: result: no" >&5
    26833108 echo "${ECHO_T}no" >&6
    26843109 fi
    26853110 
    2686 @@ -3344,7 +3486,7 @@
     3111@@ -3344,7 +3320,7 @@
    26873112   ac_ct_AR=$AR
    26883113   # Extract the first word of "ar", so it can be a program name with args.
    26893114 set dummy ar; ac_word=$2
    26903115-echo "$as_me:3347: checking for $ac_word" >&5
    2691 +echo "$as_me:3489: checking for $ac_word" >&5
     3116+echo "$as_me:3323: checking for $ac_word" >&5
    26923117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26933118 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    26943119   echo $ECHO_N "(cached) $ECHO_C" >&6
    2695 @@ -3359,7 +3501,7 @@
     3120@@ -3359,7 +3335,7 @@
    26963121   test -z "$ac_dir" && ac_dir=.
    26973122   $as_executable_p "$ac_dir/$ac_word" || continue
    26983123 ac_cv_prog_ac_ct_AR="ar"
    26993124-echo "$as_me:3362: found $ac_dir/$ac_word" >&5
    2700 +echo "$as_me:3504: found $ac_dir/$ac_word" >&5
     3125+echo "$as_me:3338: found $ac_dir/$ac_word" >&5
    27013126 break
    27023127 done
    27033128 
    2704 @@ -3368,10 +3510,10 @@
     3129@@ -3368,10 +3344,10 @@
    27053130 fi
    27063131 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    27073132 if test -n "$ac_ct_AR"; then
    27083133-  echo "$as_me:3371: result: $ac_ct_AR" >&5
    2709 +  echo "$as_me:3513: result: $ac_ct_AR" >&5
     3134+  echo "$as_me:3347: result: $ac_ct_AR" >&5
    27103135 echo "${ECHO_T}$ac_ct_AR" >&6
    27113136 else
    27123137-  echo "$as_me:3374: result: no" >&5
    2713 +  echo "$as_me:3516: result: no" >&5
     3138+  echo "$as_me:3350: result: no" >&5
    27143139 echo "${ECHO_T}no" >&6
    27153140 fi
    27163141 
    2717 @@ -3383,7 +3525,7 @@
     3142@@ -3383,7 +3359,7 @@
    27183143 if test -n "$ac_tool_prefix"; then
    27193144   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    27203145 set dummy ${ac_tool_prefix}ar; ac_word=$2
    27213146-echo "$as_me:3386: checking for $ac_word" >&5
    2722 +echo "$as_me:3528: checking for $ac_word" >&5
     3147+echo "$as_me:3362: checking for $ac_word" >&5
    27233148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    27243149 if test "${ac_cv_prog_AR+set}" = set; then
    27253150   echo $ECHO_N "(cached) $ECHO_C" >&6
    2726 @@ -3398,7 +3540,7 @@
     3151@@ -3398,7 +3374,7 @@
    27273152   test -z "$ac_dir" && ac_dir=.
    27283153   $as_executable_p "$ac_dir/$ac_word" || continue
    27293154 ac_cv_prog_AR="${ac_tool_prefix}ar"
    27303155-echo "$as_me:3401: found $ac_dir/$ac_word" >&5
    2731 +echo "$as_me:3543: found $ac_dir/$ac_word" >&5
     3156+echo "$as_me:3377: found $ac_dir/$ac_word" >&5
    27323157 break
    27333158 done
    27343159 
    2735 @@ -3406,10 +3548,10 @@
     3160@@ -3406,10 +3382,10 @@
    27363161 fi
    27373162 AR=$ac_cv_prog_AR
    27383163 if test -n "$AR"; then
    27393164-  echo "$as_me:3409: result: $AR" >&5
    2740 +  echo "$as_me:3551: result: $AR" >&5
     3165+  echo "$as_me:3385: result: $AR" >&5
    27413166 echo "${ECHO_T}$AR" >&6
    27423167 else
    27433168-  echo "$as_me:3412: result: no" >&5
    2744 +  echo "$as_me:3554: result: no" >&5
     3169+  echo "$as_me:3388: result: no" >&5
    27453170 echo "${ECHO_T}no" >&6
    27463171 fi
    27473172 
    2748 @@ -3418,7 +3560,7 @@
     3173@@ -3418,7 +3394,7 @@
    27493174   ac_ct_AR=$AR
    27503175   # Extract the first word of "ar", so it can be a program name with args.
    27513176 set dummy ar; ac_word=$2
    27523177-echo "$as_me:3421: checking for $ac_word" >&5
    2753 +echo "$as_me:3563: checking for $ac_word" >&5
     3178+echo "$as_me:3397: checking for $ac_word" >&5
    27543179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    27553180 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    27563181   echo $ECHO_N "(cached) $ECHO_C" >&6
    2757 @@ -3433,7 +3575,7 @@
     3182@@ -3433,7 +3409,7 @@
    27583183   test -z "$ac_dir" && ac_dir=.
    27593184   $as_executable_p "$ac_dir/$ac_word" || continue
    27603185 ac_cv_prog_ac_ct_AR="ar"
    27613186-echo "$as_me:3436: found $ac_dir/$ac_word" >&5
    2762 +echo "$as_me:3578: found $ac_dir/$ac_word" >&5
     3187+echo "$as_me:3412: found $ac_dir/$ac_word" >&5
    27633188 break
    27643189 done
    27653190 
    2766 @@ -3442,10 +3584,10 @@
     3191@@ -3442,10 +3418,10 @@
    27673192 fi
    27683193 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    27693194 if test -n "$ac_ct_AR"; then
    27703195-  echo "$as_me:3445: result: $ac_ct_AR" >&5
    2771 +  echo "$as_me:3587: result: $ac_ct_AR" >&5
     3196+  echo "$as_me:3421: result: $ac_ct_AR" >&5
    27723197 echo "${ECHO_T}$ac_ct_AR" >&6
    27733198 else
    27743199-  echo "$as_me:3448: result: no" >&5
    2775 +  echo "$as_me:3590: result: no" >&5
     3200+  echo "$as_me:3424: result: no" >&5
    27763201 echo "${ECHO_T}no" >&6
    27773202 fi
    27783203 
    2779 @@ -3454,7 +3596,7 @@
     3204@@ -3454,7 +3430,7 @@
    27803205   AR="$ac_cv_prog_AR"
    27813206 fi
    27823207 
    27833208-echo "$as_me:3457: checking for options to update archives" >&5
    2784 +echo "$as_me:3599: checking for options to update archives" >&5
     3209+echo "$as_me:3433: checking for options to update archives" >&5
    27853210 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6
    27863211 if test "${cf_cv_ar_flags+set}" = set; then
    27873212   echo $ECHO_N "(cached) $ECHO_C" >&6
    2788 @@ -3477,13 +3619,13 @@
     3213@@ -3477,13 +3453,13 @@
    27893214                rm -f conftest.a
    27903215 
    27913216                cat >conftest.$ac_ext <<EOF
    27923217-#line 3480 "configure"
    2793 +#line 3622 "configure"
     3218+#line 3456 "configure"
    27943219 int    testdata[3] = { 123, 456, 789 };
    27953220 EOF
    27963221-               if { (eval echo "$as_me:3483: \"$ac_compile\"") >&5
    2797 +               if { (eval echo "$as_me:3625: \"$ac_compile\"") >&5
     3222+               if { (eval echo "$as_me:3459: \"$ac_compile\"") >&5
    27983223   (eval $ac_compile) 2>&5
    27993224   ac_status=$?
    28003225-  echo "$as_me:3486: \$? = $ac_status" >&5
    2801 +  echo "$as_me:3628: \$? = $ac_status" >&5
     3226+  echo "$as_me:3462: \$? = $ac_status" >&5
    28023227   (exit $ac_status); } ; then
    28033228                        echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5
    28043229                        $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null
    2805 @@ -3494,7 +3636,7 @@
     3230@@ -3494,7 +3470,7 @@
    28063231                else
    28073232                        test -n "$verbose" && echo "    cannot compile test-program" 1>&6
    28083233 
    28093234-echo "${as_me:-configure}:3497: testing cannot compile test-program ..." 1>&5
    2810 +echo "${as_me:-configure}:3639: testing cannot compile test-program ..." 1>&5
     3235+echo "${as_me:-configure}:3473: testing cannot compile test-program ..." 1>&5
    28113236 
    28123237                        break
    28133238                fi
    2814 @@ -3502,7 +3644,7 @@
     3239@@ -3502,7 +3478,7 @@
    28153240        rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext
    28163241 
    28173242 fi
    28183243-echo "$as_me:3505: result: $cf_cv_ar_flags" >&5
    2819 +echo "$as_me:3647: result: $cf_cv_ar_flags" >&5
     3244+echo "$as_me:3481: result: $cf_cv_ar_flags" >&5
    28203245 echo "${ECHO_T}$cf_cv_ar_flags" >&6
    28213246 
    28223247 if test -n "$ARFLAGS" ; then
    2823 @@ -3513,7 +3655,7 @@
     3248@@ -3513,7 +3489,7 @@
    28243249        ARFLAGS=$cf_cv_ar_flags
    28253250 fi
    28263251 
    28273252-echo "$as_me:3516: checking if you have specified an install-prefix" >&5
    2828 +echo "$as_me:3658: checking if you have specified an install-prefix" >&5
     3253+echo "$as_me:3492: checking if you have specified an install-prefix" >&5
    28293254 echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6
    28303255 
    28313256 # Check whether --with-install-prefix or --without-install-prefix was given.
    2832 @@ -3526,7 +3668,7 @@
     3257@@ -3526,7 +3502,7 @@
    28333258                ;;
    28343259        esac
    28353260 fi;
    28363261-echo "$as_me:3529: result: $DESTDIR" >&5
    2837 +echo "$as_me:3671: result: $DESTDIR" >&5
     3262+echo "$as_me:3505: result: $DESTDIR" >&5
    28383263 echo "${ECHO_T}$DESTDIR" >&6
    28393264 
    28403265 ###############################################################################
    2841 @@ -3554,7 +3696,7 @@
     3266@@ -3554,7 +3530,7 @@
    28423267 do
    28433268   # Extract the first word of "$ac_prog", so it can be a program name with args.
    28443269 set dummy $ac_prog; ac_word=$2
    28453270-echo "$as_me:3557: checking for $ac_word" >&5
    2846 +echo "$as_me:3699: checking for $ac_word" >&5
     3271+echo "$as_me:3533: checking for $ac_word" >&5
    28473272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28483273 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
    28493274   echo $ECHO_N "(cached) $ECHO_C" >&6
    2850 @@ -3569,7 +3711,7 @@
     3275@@ -3569,7 +3545,7 @@
    28513276   test -z "$ac_dir" && ac_dir=.
    28523277   $as_executable_p "$ac_dir/$ac_word" || continue
    28533278 ac_cv_prog_BUILD_CC="$ac_prog"
    28543279-echo "$as_me:3572: found $ac_dir/$ac_word" >&5
    2855 +echo "$as_me:3714: found $ac_dir/$ac_word" >&5
     3280+echo "$as_me:3548: found $ac_dir/$ac_word" >&5
    28563281 break
    28573282 done
    28583283 
    2859 @@ -3577,10 +3719,10 @@
     3284@@ -3577,10 +3553,10 @@
    28603285 fi
    28613286 BUILD_CC=$ac_cv_prog_BUILD_CC
    28623287 if test -n "$BUILD_CC"; then
    28633288-  echo "$as_me:3580: result: $BUILD_CC" >&5
    2864 +  echo "$as_me:3722: result: $BUILD_CC" >&5
     3289+  echo "$as_me:3556: result: $BUILD_CC" >&5
    28653290 echo "${ECHO_T}$BUILD_CC" >&6
    28663291 else
    28673292-  echo "$as_me:3583: result: no" >&5
    2868 +  echo "$as_me:3725: result: no" >&5
     3293+  echo "$as_me:3559: result: no" >&5
    28693294 echo "${ECHO_T}no" >&6
    28703295 fi
    28713296 
    2872 @@ -3588,12 +3730,12 @@
     3297@@ -3588,12 +3564,12 @@
    28733298 done
    28743299 
    28753300 fi;
    28763301-       echo "$as_me:3591: checking for native build C compiler" >&5
    2877 +       echo "$as_me:3733: checking for native build C compiler" >&5
     3302+       echo "$as_me:3567: checking for native build C compiler" >&5
    28783303 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6
    28793304-       echo "$as_me:3593: result: $BUILD_CC" >&5
    2880 +       echo "$as_me:3735: result: $BUILD_CC" >&5
     3305+       echo "$as_me:3569: result: $BUILD_CC" >&5
    28813306 echo "${ECHO_T}$BUILD_CC" >&6
    28823307 
    28833308-       echo "$as_me:3596: checking for native build C preprocessor" >&5
    2884 +       echo "$as_me:3738: checking for native build C preprocessor" >&5
     3309+       echo "$as_me:3572: checking for native build C preprocessor" >&5
    28853310 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6
    28863311 
    28873312 # Check whether --with-build-cpp or --without-build-cpp was given.
    2888 @@ -3603,10 +3745,10 @@
     3313@@ -3603,10 +3579,10 @@
    28893314 else
    28903315   BUILD_CPP='${BUILD_CC} -E'
    28913316 fi;
    28923317-       echo "$as_me:3606: result: $BUILD_CPP" >&5
    2893 +       echo "$as_me:3748: result: $BUILD_CPP" >&5
     3318+       echo "$as_me:3582: result: $BUILD_CPP" >&5
    28943319 echo "${ECHO_T}$BUILD_CPP" >&6
    28953320 
    28963321-       echo "$as_me:3609: checking for native build C flags" >&5
    2897 +       echo "$as_me:3751: checking for native build C flags" >&5
     3322+       echo "$as_me:3585: checking for native build C flags" >&5
    28983323 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6
    28993324 
    29003325 # Check whether --with-build-cflags or --without-build-cflags was given.
    2901 @@ -3614,10 +3756,10 @@
     3326@@ -3614,10 +3590,10 @@
    29023327   withval="$with_build_cflags"
    29033328   BUILD_CFLAGS="$withval"
    29043329 fi;
    29053330-       echo "$as_me:3617: result: $BUILD_CFLAGS" >&5
    2906 +       echo "$as_me:3759: result: $BUILD_CFLAGS" >&5
     3331+       echo "$as_me:3593: result: $BUILD_CFLAGS" >&5
    29073332 echo "${ECHO_T}$BUILD_CFLAGS" >&6
    29083333 
    29093334-       echo "$as_me:3620: checking for native build C preprocessor-flags" >&5
    2910 +       echo "$as_me:3762: checking for native build C preprocessor-flags" >&5
     3335+       echo "$as_me:3596: checking for native build C preprocessor-flags" >&5
    29113336 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6
    29123337 
    29133338 # Check whether --with-build-cppflags or --without-build-cppflags was given.
    2914 @@ -3625,10 +3767,10 @@
     3339@@ -3625,10 +3601,10 @@
    29153340   withval="$with_build_cppflags"
    29163341   BUILD_CPPFLAGS="$withval"
    29173342 fi;
    29183343-       echo "$as_me:3628: result: $BUILD_CPPFLAGS" >&5
    2919 +       echo "$as_me:3770: result: $BUILD_CPPFLAGS" >&5
     3344+       echo "$as_me:3604: result: $BUILD_CPPFLAGS" >&5
    29203345 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6
    29213346 
    29223347-       echo "$as_me:3631: checking for native build linker-flags" >&5
    2923 +       echo "$as_me:3773: checking for native build linker-flags" >&5
     3348+       echo "$as_me:3607: checking for native build linker-flags" >&5
    29243349 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6
    29253350 
    29263351 # Check whether --with-build-ldflags or --without-build-ldflags was given.
    2927 @@ -3636,10 +3778,10 @@
     3352@@ -3636,10 +3612,10 @@
    29283353   withval="$with_build_ldflags"
    29293354   BUILD_LDFLAGS="$withval"
    29303355 fi;
    29313356-       echo "$as_me:3639: result: $BUILD_LDFLAGS" >&5
    2932 +       echo "$as_me:3781: result: $BUILD_LDFLAGS" >&5
     3357+       echo "$as_me:3615: result: $BUILD_LDFLAGS" >&5
    29333358 echo "${ECHO_T}$BUILD_LDFLAGS" >&6
    29343359 
    29353360-       echo "$as_me:3642: checking for native build linker-libraries" >&5
    2936 +       echo "$as_me:3784: checking for native build linker-libraries" >&5
     3361+       echo "$as_me:3618: checking for native build linker-libraries" >&5
    29373362 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6
    29383363 
    29393364 # Check whether --with-build-libs or --without-build-libs was given.
    2940 @@ -3647,7 +3789,7 @@
     3365@@ -3647,7 +3623,7 @@
    29413366   withval="$with_build_libs"
    29423367   BUILD_LIBS="$withval"
    29433368 fi;
    29443369-       echo "$as_me:3650: result: $BUILD_LIBS" >&5
    2945 +       echo "$as_me:3792: result: $BUILD_LIBS" >&5
     3370+       echo "$as_me:3626: result: $BUILD_LIBS" >&5
    29463371 echo "${ECHO_T}$BUILD_LIBS" >&6
    29473372 
    29483373        # this assumes we're on Unix.
    2949 @@ -3657,7 +3799,7 @@
     3374@@ -3657,7 +3633,7 @@
    29503375        : ${BUILD_CC:='${CC}'}
    29513376 
    29523377        if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
    29533378-               { { echo "$as_me:3660: error: Cross-build requires two compilers.
    2954 +               { { echo "$as_me:3802: error: Cross-build requires two compilers.
     3379+               { { echo "$as_me:3636: error: Cross-build requires two compilers.
    29553380 Use --with-build-cc to specify the native compiler." >&5
    29563381 echo "$as_me: error: Cross-build requires two compilers.
    29573382 Use --with-build-cc to specify the native compiler." >&2;}
    2958 @@ -3682,7 +3824,7 @@
     3383@@ -3682,7 +3658,7 @@
    29593384 ### shared, for example.
    29603385 cf_list_models=""
    29613386 
    29623387-echo "$as_me:3685: checking if you want to build shared C-objects" >&5
    2963 +echo "$as_me:3827: checking if you want to build shared C-objects" >&5
     3388+echo "$as_me:3661: checking if you want to build shared C-objects" >&5
    29643389 echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6
    29653390 
    29663391 # Check whether --with-shared or --without-shared was given.
    2967 @@ -3692,27 +3834,27 @@
     3392@@ -3692,27 +3668,27 @@
    29683393 else
    29693394   with_shared=no
    29703395 fi;
    29713396-echo "$as_me:3695: result: $with_shared" >&5
    2972 +echo "$as_me:3837: result: $with_shared" >&5
     3397+echo "$as_me:3671: result: $with_shared" >&5
    29733398 echo "${ECHO_T}$with_shared" >&6
    29743399 test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared"
    29753400 
    29763401-echo "$as_me:3699: checking for specified models" >&5
    2977 +echo "$as_me:3841: checking for specified models" >&5
     3402+echo "$as_me:3675: checking for specified models" >&5
    29783403 echo $ECHO_N "checking for specified models... $ECHO_C" >&6
    29793404 test -z "$cf_list_models" && cf_list_models=normal
    29803405-echo "$as_me:3702: result: $cf_list_models" >&5
    2981 +echo "$as_me:3844: result: $cf_list_models" >&5
     3406+echo "$as_me:3678: result: $cf_list_models" >&5
    29823407 echo "${ECHO_T}$cf_list_models" >&6
    29833408 
     
    29853410 ### up test-applications.
    29863411-echo "$as_me:3707: checking for default model" >&5
    2987 +echo "$as_me:3849: checking for default model" >&5
     3412+echo "$as_me:3683: checking for default model" >&5
    29883413 echo $ECHO_N "checking for default model... $ECHO_C" >&6
    29893414 DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'`
    29903415-echo "$as_me:3710: result: $DFT_LWR_MODEL" >&5
    2991 +echo "$as_me:3852: result: $DFT_LWR_MODEL" >&5
     3416+echo "$as_me:3686: result: $DFT_LWR_MODEL" >&5
    29923417 echo "${ECHO_T}$DFT_LWR_MODEL" >&6
    29933418 
     
    29953420 
    29963421-echo "$as_me:3715: checking for specific curses-directory" >&5
    2997 +echo "$as_me:3857: checking for specific curses-directory" >&5
     3422+echo "$as_me:3691: checking for specific curses-directory" >&5
    29983423 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6
    29993424 
    30003425 # Check whether --with-curses-dir or --without-curses-dir was given.
    3001 @@ -3722,7 +3864,7 @@
     3426@@ -3722,7 +3698,7 @@
    30023427 else
    30033428   cf_cv_curses_dir=no
    30043429 fi;
    30053430-echo "$as_me:3725: result: $cf_cv_curses_dir" >&5
    3006 +echo "$as_me:3867: result: $cf_cv_curses_dir" >&5
     3431+echo "$as_me:3701: result: $cf_cv_curses_dir" >&5
    30073432 echo "${ECHO_T}$cf_cv_curses_dir" >&6
    30083433 
    30093434 if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" )
    3010 @@ -3753,7 +3895,7 @@
     3435@@ -3741,7 +3717,7 @@
     3436   ;;
     3437 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     3438   ;;
     3439-.\${*prefix}*) #(vi
     3440+.\${*prefix}*|.\${*dir}*) #(vi
     3441   eval withval="$withval"
     3442   case ".$withval" in #(vi
     3443   .NONE/*)
     3444@@ -3753,7 +3729,7 @@
    30113445   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    30123446   ;;
    30133447 *)
    30143448-  { { echo "$as_me:3756: error: expected a pathname, not \"$withval\"" >&5
    3015 +  { { echo "$as_me:3898: error: expected a pathname, not \"$withval\"" >&5
     3449+  { { echo "$as_me:3732: error: expected a pathname, not \"$withval\"" >&5
    30163450 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    30173451    { (exit 1); exit 1; }; }
    30183452   ;;
    3019 @@ -3786,7 +3928,7 @@
     3453@@ -3786,7 +3762,7 @@
    30203454                          cf_save_CPPFLAGS=$CPPFLAGS
    30213455                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    30223456                          cat >conftest.$ac_ext <<_ACEOF
    30233457-#line 3789 "configure"
    3024 +#line 3931 "configure"
     3458+#line 3765 "configure"
    30253459 #include "confdefs.h"
    30263460 #include <stdio.h>
    30273461 int
    3028 @@ -3798,16 +3940,16 @@
     3462@@ -3798,16 +3774,16 @@
    30293463 }
    30303464 _ACEOF
    30313465 rm -f conftest.$ac_objext
    30323466-if { (eval echo "$as_me:3801: \"$ac_compile\"") >&5
    3033 +if { (eval echo "$as_me:3943: \"$ac_compile\"") >&5
     3467+if { (eval echo "$as_me:3777: \"$ac_compile\"") >&5
    30343468   (eval $ac_compile) 2>&5
    30353469   ac_status=$?
    30363470-  echo "$as_me:3804: \$? = $ac_status" >&5
    3037 +  echo "$as_me:3946: \$? = $ac_status" >&5
     3471+  echo "$as_me:3780: \$? = $ac_status" >&5
    30383472   (exit $ac_status); } &&
    30393473          { ac_try='test -s conftest.$ac_objext'
    30403474-  { (eval echo "$as_me:3807: \"$ac_try\"") >&5
    3041 +  { (eval echo "$as_me:3949: \"$ac_try\"") >&5
     3475+  { (eval echo "$as_me:3783: \"$ac_try\"") >&5
    30423476   (eval $ac_try) 2>&5
    30433477   ac_status=$?
    30443478-  echo "$as_me:3810: \$? = $ac_status" >&5
    3045 +  echo "$as_me:3952: \$? = $ac_status" >&5
     3479+  echo "$as_me:3786: \$? = $ac_status" >&5
    30463480   (exit $ac_status); }; }; then
    30473481   :
    30483482 else
    3049 @@ -3824,7 +3966,7 @@
     3483@@ -3824,7 +3800,7 @@
    30503484                if test "$cf_have_incdir" = no ; then
    30513485                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    30523486 
    30533487-echo "${as_me:-configure}:3827: testing adding $cf_add_incdir to include-path ..." 1>&5
    3054 +echo "${as_me:-configure}:3969: testing adding $cf_add_incdir to include-path ..." 1>&5
     3488+echo "${as_me:-configure}:3803: testing adding $cf_add_incdir to include-path ..." 1>&5
    30553489 
    30563490                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    30573491 
    3058 @@ -3858,7 +4000,7 @@
     3492@@ -3858,7 +3834,7 @@
    30593493       if test "$cf_have_libdir" = no ; then
    30603494         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    30613495 
    30623496-echo "${as_me:-configure}:3861: testing adding $cf_add_libdir to library-path ..." 1>&5
    3063 +echo "${as_me:-configure}:4003: testing adding $cf_add_libdir to library-path ..." 1>&5
     3497+echo "${as_me:-configure}:3837: testing adding $cf_add_libdir to library-path ..." 1>&5
    30643498 
    30653499         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    30663500       fi
    3067 @@ -3869,7 +4011,7 @@
     3501@@ -3869,7 +3845,7 @@
    30683502        fi
    30693503 fi
    30703504 
    30713505-echo "$as_me:3872: checking if you want wide-character code" >&5
    3072 +echo "$as_me:4014: checking if you want wide-character code" >&5
     3506+echo "$as_me:3848: checking if you want wide-character code" >&5
    30733507 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6
    30743508 
    30753509 # Check whether --enable-widec or --disable-widec was given.
    3076 @@ -3879,11 +4021,11 @@
     3510@@ -3879,11 +3855,11 @@
    30773511 else
    30783512   with_widec=no
    30793513 fi;
    30803514-echo "$as_me:3882: result: $with_widec" >&5
    3081 +echo "$as_me:4024: result: $with_widec" >&5
     3515+echo "$as_me:3858: result: $with_widec" >&5
    30823516 echo "${ECHO_T}$with_widec" >&6
    30833517 if test "$with_widec" = yes ; then
    30843518 
    30853519-echo "$as_me:3886: checking for multibyte character support" >&5
    3086 +echo "$as_me:4028: checking for multibyte character support" >&5
     3520+echo "$as_me:3862: checking for multibyte character support" >&5
    30873521 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
    30883522 if test "${cf_cv_utf8_lib+set}" = set; then
    30893523   echo $ECHO_N "(cached) $ECHO_C" >&6
    3090 @@ -3891,7 +4033,7 @@
     3524@@ -3891,7 +3867,7 @@
    30913525 
    30923526        cf_save_LIBS="$LIBS"
    30933527        cat >conftest.$ac_ext <<_ACEOF
    30943528-#line 3894 "configure"
    3095 +#line 4036 "configure"
     3529+#line 3870 "configure"
    30963530 #include "confdefs.h"
    30973531 
    30983532 #include <stdlib.h>
    3099 @@ -3904,16 +4046,16 @@
     3533@@ -3904,16 +3880,16 @@
    31003534 }
    31013535 _ACEOF
    31023536 rm -f conftest.$ac_objext conftest$ac_exeext
    31033537-if { (eval echo "$as_me:3907: \"$ac_link\"") >&5
    3104 +if { (eval echo "$as_me:4049: \"$ac_link\"") >&5
     3538+if { (eval echo "$as_me:3883: \"$ac_link\"") >&5
    31053539   (eval $ac_link) 2>&5
    31063540   ac_status=$?
    31073541-  echo "$as_me:3910: \$? = $ac_status" >&5
    3108 +  echo "$as_me:4052: \$? = $ac_status" >&5
     3542+  echo "$as_me:3886: \$? = $ac_status" >&5
    31093543   (exit $ac_status); } &&
    31103544          { ac_try='test -s conftest$ac_exeext'
    31113545-  { (eval echo "$as_me:3913: \"$ac_try\"") >&5
    3112 +  { (eval echo "$as_me:4055: \"$ac_try\"") >&5
     3546+  { (eval echo "$as_me:3889: \"$ac_try\"") >&5
    31133547   (eval $ac_try) 2>&5
    31143548   ac_status=$?
    31153549-  echo "$as_me:3916: \$? = $ac_status" >&5
    3116 +  echo "$as_me:4058: \$? = $ac_status" >&5
     3550+  echo "$as_me:3892: \$? = $ac_status" >&5
    31173551   (exit $ac_status); }; }; then
    31183552   cf_cv_utf8_lib=yes
    31193553 else
    3120 @@ -3925,12 +4067,12 @@
     3554@@ -3925,12 +3901,12 @@
    31213555 cf_cv_header_path_utf8=
    31223556 cf_cv_library_path_utf8=
    31233557 
    31243558-echo "${as_me:-configure}:3928: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    3125 +echo "${as_me:-configure}:4070: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
     3559+echo "${as_me:-configure}:3904: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    31263560 
    31273561 cf_save_LIBS="$LIBS"
     
    31293563 cat >conftest.$ac_ext <<_ACEOF
    31303564-#line 3933 "configure"
    3131 +#line 4075 "configure"
     3565+#line 3909 "configure"
    31323566 #include "confdefs.h"
    31333567 
    31343568 #include <libutf8.h>
    3135 @@ -3943,16 +4085,16 @@
     3569@@ -3943,16 +3919,16 @@
    31363570 }
    31373571 _ACEOF
    31383572 rm -f conftest.$ac_objext conftest$ac_exeext
    31393573-if { (eval echo "$as_me:3946: \"$ac_link\"") >&5
    3140 +if { (eval echo "$as_me:4088: \"$ac_link\"") >&5
     3574+if { (eval echo "$as_me:3922: \"$ac_link\"") >&5
    31413575   (eval $ac_link) 2>&5
    31423576   ac_status=$?
    31433577-  echo "$as_me:3949: \$? = $ac_status" >&5
    3144 +  echo "$as_me:4091: \$? = $ac_status" >&5
     3578+  echo "$as_me:3925: \$? = $ac_status" >&5
    31453579   (exit $ac_status); } &&
    31463580          { ac_try='test -s conftest$ac_exeext'
    31473581-  { (eval echo "$as_me:3952: \"$ac_try\"") >&5
    3148 +  { (eval echo "$as_me:4094: \"$ac_try\"") >&5
     3582+  { (eval echo "$as_me:3928: \"$ac_try\"") >&5
    31493583   (eval $ac_try) 2>&5
    31503584   ac_status=$?
    31513585-  echo "$as_me:3955: \$? = $ac_status" >&5
    3152 +  echo "$as_me:4097: \$? = $ac_status" >&5
     3586+  echo "$as_me:3931: \$? = $ac_status" >&5
    31533587   (exit $ac_status); }; }; then
    31543588 
    31553589        cf_cv_find_linkage_utf8=yes
    3156 @@ -3966,7 +4108,7 @@
     3590@@ -3966,7 +3942,7 @@
    31573591 LIBS="-lutf8  $cf_save_LIBS"
    31583592 
    31593593 cat >conftest.$ac_ext <<_ACEOF
    31603594-#line 3969 "configure"
    3161 +#line 4111 "configure"
     3595+#line 3945 "configure"
    31623596 #include "confdefs.h"
    31633597 
    31643598 #include <libutf8.h>
    3165 @@ -3979,16 +4121,16 @@
     3599@@ -3979,16 +3955,16 @@
    31663600 }
    31673601 _ACEOF
    31683602 rm -f conftest.$ac_objext conftest$ac_exeext
    31693603-if { (eval echo "$as_me:3982: \"$ac_link\"") >&5
    3170 +if { (eval echo "$as_me:4124: \"$ac_link\"") >&5
     3604+if { (eval echo "$as_me:3958: \"$ac_link\"") >&5
    31713605   (eval $ac_link) 2>&5
    31723606   ac_status=$?
    31733607-  echo "$as_me:3985: \$? = $ac_status" >&5
    3174 +  echo "$as_me:4127: \$? = $ac_status" >&5
     3608+  echo "$as_me:3961: \$? = $ac_status" >&5
    31753609   (exit $ac_status); } &&
    31763610          { ac_try='test -s conftest$ac_exeext'
    31773611-  { (eval echo "$as_me:3988: \"$ac_try\"") >&5
    3178 +  { (eval echo "$as_me:4130: \"$ac_try\"") >&5
     3612+  { (eval echo "$as_me:3964: \"$ac_try\"") >&5
    31793613   (eval $ac_try) 2>&5
    31803614   ac_status=$?
    31813615-  echo "$as_me:3991: \$? = $ac_status" >&5
    3182 +  echo "$as_me:4133: \$? = $ac_status" >&5
     3616+  echo "$as_me:3967: \$? = $ac_status" >&5
    31833617   (exit $ac_status); }; }; then
    31843618 
    31853619        cf_cv_find_linkage_utf8=yes
    3186 @@ -4005,9 +4147,9 @@
     3620@@ -4005,9 +3981,9 @@
    31873621 
    31883622     test -n "$verbose" && echo "       find linkage for utf8 library" 1>&6
    31893623 
    31903624-echo "${as_me:-configure}:4008: testing find linkage for utf8 library ..." 1>&5
    3191 +echo "${as_me:-configure}:4150: testing find linkage for utf8 library ..." 1>&5
     3625+echo "${as_me:-configure}:3984: testing find linkage for utf8 library ..." 1>&5
    31923626 
    31933627-echo "${as_me:-configure}:4010: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    3194 +echo "${as_me:-configure}:4152: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
     3628+echo "${as_me:-configure}:3986: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    31953629 
    31963630     cf_save_CPPFLAGS="$CPPFLAGS"
    31973631     cf_test_CPPFLAGS="$CPPFLAGS"
    3198 @@ -4120,11 +4262,11 @@
     3632@@ -4120,11 +4096,11 @@
    31993633       if test -d $cf_cv_header_path_utf8 ; then
    32003634         test -n "$verbose" && echo "   ... testing $cf_cv_header_path_utf8" 1>&6
    32013635 
    32023636-echo "${as_me:-configure}:4123: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    3203 +echo "${as_me:-configure}:4265: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
     3637+echo "${as_me:-configure}:4099: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    32043638 
    32053639         CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
    32063640         cat >conftest.$ac_ext <<_ACEOF
    32073641-#line 4127 "configure"
    3208 +#line 4269 "configure"
     3642+#line 4103 "configure"
    32093643 #include "confdefs.h"
    32103644 
    32113645 #include <libutf8.h>
    3212 @@ -4137,21 +4279,21 @@
     3646@@ -4137,21 +4113,21 @@
    32133647 }
    32143648 _ACEOF
    32153649 rm -f conftest.$ac_objext
    32163650-if { (eval echo "$as_me:4140: \"$ac_compile\"") >&5
    3217 +if { (eval echo "$as_me:4282: \"$ac_compile\"") >&5
     3651+if { (eval echo "$as_me:4116: \"$ac_compile\"") >&5
    32183652   (eval $ac_compile) 2>&5
    32193653   ac_status=$?
    32203654-  echo "$as_me:4143: \$? = $ac_status" >&5
    3221 +  echo "$as_me:4285: \$? = $ac_status" >&5
     3655+  echo "$as_me:4119: \$? = $ac_status" >&5
    32223656   (exit $ac_status); } &&
    32233657          { ac_try='test -s conftest.$ac_objext'
    32243658-  { (eval echo "$as_me:4146: \"$ac_try\"") >&5
    3225 +  { (eval echo "$as_me:4288: \"$ac_try\"") >&5
     3659+  { (eval echo "$as_me:4122: \"$ac_try\"") >&5
    32263660   (eval $ac_try) 2>&5
    32273661   ac_status=$?
    32283662-  echo "$as_me:4149: \$? = $ac_status" >&5
    3229 +  echo "$as_me:4291: \$? = $ac_status" >&5
     3663+  echo "$as_me:4125: \$? = $ac_status" >&5
    32303664   (exit $ac_status); }; }; then
    32313665 
     
    32333667 
    32343668-echo "${as_me:-configure}:4154: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    3235 +echo "${as_me:-configure}:4296: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
     3669+echo "${as_me:-configure}:4130: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    32363670 
    32373671             cf_cv_find_linkage_utf8=maybe
    32383672             cf_test_CPPFLAGS="$CPPFLAGS"
    3239 @@ -4169,7 +4311,7 @@
     3673@@ -4169,7 +4145,7 @@
    32403674 
    32413675     if test "$cf_cv_find_linkage_utf8" = maybe ; then
    32423676 
    32433677-echo "${as_me:-configure}:4172: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    3244 +echo "${as_me:-configure}:4314: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
     3678+echo "${as_me:-configure}:4148: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    32453679 
    32463680       cf_save_LIBS="$LIBS"
    32473681       cf_save_LDFLAGS="$LDFLAGS"
    3248 @@ -4266,13 +4408,13 @@
     3682@@ -4266,13 +4242,13 @@
    32493683           if test -d $cf_cv_library_path_utf8 ; then
    32503684             test -n "$verbose" && echo "       ... testing $cf_cv_library_path_utf8" 1>&6
    32513685 
    32523686-echo "${as_me:-configure}:4269: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    3253 +echo "${as_me:-configure}:4411: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
     3687+echo "${as_me:-configure}:4245: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    32543688 
    32553689             CPPFLAGS="$cf_test_CPPFLAGS"
     
    32583692             cat >conftest.$ac_ext <<_ACEOF
    32593693-#line 4275 "configure"
    3260 +#line 4417 "configure"
     3694+#line 4251 "configure"
    32613695 #include "confdefs.h"
    32623696 
    32633697 #include <libutf8.h>
    3264 @@ -4285,21 +4427,21 @@
     3698@@ -4285,21 +4261,21 @@
    32653699 }
    32663700 _ACEOF
    32673701 rm -f conftest.$ac_objext conftest$ac_exeext
    32683702-if { (eval echo "$as_me:4288: \"$ac_link\"") >&5
    3269 +if { (eval echo "$as_me:4430: \"$ac_link\"") >&5
     3703+if { (eval echo "$as_me:4264: \"$ac_link\"") >&5
    32703704   (eval $ac_link) 2>&5
    32713705   ac_status=$?
    32723706-  echo "$as_me:4291: \$? = $ac_status" >&5
    3273 +  echo "$as_me:4433: \$? = $ac_status" >&5
     3707+  echo "$as_me:4267: \$? = $ac_status" >&5
    32743708   (exit $ac_status); } &&
    32753709          { ac_try='test -s conftest$ac_exeext'
    32763710-  { (eval echo "$as_me:4294: \"$ac_try\"") >&5
    3277 +  { (eval echo "$as_me:4436: \"$ac_try\"") >&5
     3711+  { (eval echo "$as_me:4270: \"$ac_try\"") >&5
    32783712   (eval $ac_try) 2>&5
    32793713   ac_status=$?
    32803714-  echo "$as_me:4297: \$? = $ac_status" >&5
    3281 +  echo "$as_me:4439: \$? = $ac_status" >&5
     3715+  echo "$as_me:4273: \$? = $ac_status" >&5
    32823716   (exit $ac_status); }; }; then
    32833717 
     
    32853719 
    32863720-echo "${as_me:-configure}:4302: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    3287 +echo "${as_me:-configure}:4444: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
     3721+echo "${as_me:-configure}:4278: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    32883722 
    32893723                 cf_cv_find_linkage_utf8=yes
    32903724                 cf_cv_library_file_utf8="-lutf8"
    3291 @@ -4341,7 +4483,7 @@
     3725@@ -4341,7 +4317,7 @@
    32923726 fi
    32933727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    32943728 fi
    32953729-echo "$as_me:4344: result: $cf_cv_utf8_lib" >&5
    3296 +echo "$as_me:4486: result: $cf_cv_utf8_lib" >&5
     3730+echo "$as_me:4320: result: $cf_cv_utf8_lib" >&5
    32973731 echo "${ECHO_T}$cf_cv_utf8_lib" >&6
    32983732 
    32993733 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between
    3300 @@ -4375,7 +4517,7 @@
     3734@@ -4375,7 +4351,7 @@
    33013735                          cf_save_CPPFLAGS=$CPPFLAGS
    33023736                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    33033737                          cat >conftest.$ac_ext <<_ACEOF
    33043738-#line 4378 "configure"
    3305 +#line 4520 "configure"
     3739+#line 4354 "configure"
    33063740 #include "confdefs.h"
    33073741 #include <stdio.h>
    33083742 int
    3309 @@ -4387,16 +4529,16 @@
     3743@@ -4387,16 +4363,16 @@
    33103744 }
    33113745 _ACEOF
    33123746 rm -f conftest.$ac_objext
    33133747-if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5
    3314 +if { (eval echo "$as_me:4532: \"$ac_compile\"") >&5
     3748+if { (eval echo "$as_me:4366: \"$ac_compile\"") >&5
    33153749   (eval $ac_compile) 2>&5
    33163750   ac_status=$?
    33173751-  echo "$as_me:4393: \$? = $ac_status" >&5
    3318 +  echo "$as_me:4535: \$? = $ac_status" >&5
     3752+  echo "$as_me:4369: \$? = $ac_status" >&5
    33193753   (exit $ac_status); } &&
    33203754          { ac_try='test -s conftest.$ac_objext'
    33213755-  { (eval echo "$as_me:4396: \"$ac_try\"") >&5
    3322 +  { (eval echo "$as_me:4538: \"$ac_try\"") >&5
     3756+  { (eval echo "$as_me:4372: \"$ac_try\"") >&5
    33233757   (eval $ac_try) 2>&5
    33243758   ac_status=$?
    33253759-  echo "$as_me:4399: \$? = $ac_status" >&5
    3326 +  echo "$as_me:4541: \$? = $ac_status" >&5
     3760+  echo "$as_me:4375: \$? = $ac_status" >&5
    33273761   (exit $ac_status); }; }; then
    33283762   :
    33293763 else
    3330 @@ -4413,7 +4555,7 @@
     3764@@ -4413,7 +4389,7 @@
    33313765                if test "$cf_have_incdir" = no ; then
    33323766                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    33333767 
    33343768-echo "${as_me:-configure}:4416: testing adding $cf_add_incdir to include-path ..." 1>&5
    3335 +echo "${as_me:-configure}:4558: testing adding $cf_add_incdir to include-path ..." 1>&5
     3769+echo "${as_me:-configure}:4392: testing adding $cf_add_incdir to include-path ..." 1>&5
    33363770 
    33373771                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    33383772 
    3339 @@ -4447,7 +4589,7 @@
     3773@@ -4447,7 +4423,7 @@
    33403774       if test "$cf_have_libdir" = no ; then
    33413775         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    33423776 
    33433777-echo "${as_me:-configure}:4450: testing adding $cf_add_libdir to library-path ..." 1>&5
    3344 +echo "${as_me:-configure}:4592: testing adding $cf_add_libdir to library-path ..." 1>&5
     3778+echo "${as_me:-configure}:4426: testing adding $cf_add_libdir to library-path ..." 1>&5
    33453779 
    33463780         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    33473781       fi
    3348 @@ -4461,48 +4603,87 @@
     3782@@ -4461,48 +4437,87 @@
    33493783 cf_ncuconfig_root=ncursesw
    33503784 
     
    33573791+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33583792+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3359 +echo "$as_me:4612: checking for $ac_word" >&5
     3793+echo "$as_me:4446: checking for $ac_word" >&5
    33603794+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    33613795+if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
     
    33723806+  $as_executable_p "$ac_dir/$ac_word" || continue
    33733807+ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    3374 +echo "$as_me:4627: found $ac_dir/$ac_word" >&5
     3808+echo "$as_me:4461: found $ac_dir/$ac_word" >&5
    33753809+break
    33763810+done
     
    33803814+NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
    33813815+if test -n "$NCURSES_CONFIG"; then
    3382 +  echo "$as_me:4635: result: $NCURSES_CONFIG" >&5
     3816+  echo "$as_me:4469: result: $NCURSES_CONFIG" >&5
    33833817+echo "${ECHO_T}$NCURSES_CONFIG" >&6
    33843818+else
    3385 +  echo "$as_me:4638: result: no" >&5
     3819+  echo "$as_me:4472: result: no" >&5
    33863820+echo "${ECHO_T}no" >&6
    33873821+fi
     
    33973831 set dummy $ac_prog; ac_word=$2
    33983832-echo "$as_me:4468: checking for $ac_word" >&5
    3399 +echo "$as_me:4651: checking for $ac_word" >&5
     3833+echo "$as_me:4485: checking for $ac_word" >&5
    34003834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    34013835-if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
     
    34233857+  $as_executable_p "$ac_dir/$ac_word" || continue
    34243858+ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
    3425 +echo "$as_me:4666: found $ac_dir/$ac_word" >&5
     3859+echo "$as_me:4500: found $ac_dir/$ac_word" >&5
    34263860+break
    34273861 done
     
    34383872+ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
    34393873+if test -n "$ac_ct_NCURSES_CONFIG"; then
    3440 +  echo "$as_me:4674: result: $ac_ct_NCURSES_CONFIG" >&5
     3874+  echo "$as_me:4508: result: $ac_ct_NCURSES_CONFIG" >&5
    34413875+echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
    34423876 else
    34433877-  echo "$as_me:4499: result: no" >&5
    3444 +  echo "$as_me:4677: result: no" >&5
     3878+  echo "$as_me:4511: result: no" >&5
    34453879 echo "${ECHO_T}no" >&6
    34463880 fi
     
    34573891 if test "$NCURSES_CONFIG" != none ; then
    34583892 
    3459 @@ -4511,7 +4692,7 @@
     3893@@ -4511,7 +4526,7 @@
    34603894 
    34613895 # even with config script, some packages use no-override for curses.h
    34623896 
    34633897-echo "$as_me:4514: checking if we have identified curses headers" >&5
    3464 +echo "$as_me:4695: checking if we have identified curses headers" >&5
     3898+echo "$as_me:4529: checking if we have identified curses headers" >&5
    34653899 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
    34663900 if test "${cf_cv_ncurses_header+set}" = set; then
    34673901   echo $ECHO_N "(cached) $ECHO_C" >&6
    3468 @@ -4519,13 +4700,13 @@
     3902@@ -4519,13 +4534,13 @@
    34693903 
    34703904 cf_cv_ncurses_header=none
     
    34813915 cat >conftest.$ac_ext <<_ACEOF
    34823916-#line 4528 "configure"
    3483 +#line 4709 "configure"
     3917+#line 4543 "configure"
    34843918 #include "confdefs.h"
    34853919 #include <${cf_header}>
    34863920 int
    3487 @@ -4537,16 +4718,16 @@
     3921@@ -4537,16 +4552,16 @@
    34883922 }
    34893923 _ACEOF
    34903924 rm -f conftest.$ac_objext
    34913925-if { (eval echo "$as_me:4540: \"$ac_compile\"") >&5
    3492 +if { (eval echo "$as_me:4721: \"$ac_compile\"") >&5
     3926+if { (eval echo "$as_me:4555: \"$ac_compile\"") >&5
    34933927   (eval $ac_compile) 2>&5
    34943928   ac_status=$?
    34953929-  echo "$as_me:4543: \$? = $ac_status" >&5
    3496 +  echo "$as_me:4724: \$? = $ac_status" >&5
     3930+  echo "$as_me:4558: \$? = $ac_status" >&5
    34973931   (exit $ac_status); } &&
    34983932          { ac_try='test -s conftest.$ac_objext'
    34993933-  { (eval echo "$as_me:4546: \"$ac_try\"") >&5
    3500 +  { (eval echo "$as_me:4727: \"$ac_try\"") >&5
     3934+  { (eval echo "$as_me:4561: \"$ac_try\"") >&5
    35013935   (eval $ac_try) 2>&5
    35023936   ac_status=$?
    35033937-  echo "$as_me:4549: \$? = $ac_status" >&5
    3504 +  echo "$as_me:4730: \$? = $ac_status" >&5
     3938+  echo "$as_me:4564: \$? = $ac_status" >&5
    35053939   (exit $ac_status); }; }; then
    35063940   cf_cv_ncurses_header=$cf_header; break
    35073941 else
    3508 @@ -4557,11 +4738,11 @@
     3942@@ -4557,11 +4572,11 @@
    35093943 done
    35103944 
    35113945 fi
    35123946-echo "$as_me:4560: result: $cf_cv_ncurses_header" >&5
    3513 +echo "$as_me:4741: result: $cf_cv_ncurses_header" >&5
     3947+echo "$as_me:4575: result: $cf_cv_ncurses_header" >&5
    35143948 echo "${ECHO_T}$cf_cv_ncurses_header" >&6
    35153949 
    35163950 if test "$cf_cv_ncurses_header" = none ; then
    35173951-       { { echo "$as_me:4564: error: No curses header-files found" >&5
    3518 +       { { echo "$as_me:4745: error: No curses header-files found" >&5
     3952+       { { echo "$as_me:4579: error: No curses header-files found" >&5
    35193953 echo "$as_me: error: No curses header-files found" >&2;}
    35203954    { (exit 1); exit 1; }; }
    35213955 fi
    3522 @@ -4571,23 +4752,23 @@
     3956@@ -4571,23 +4586,23 @@
    35233957 for ac_header in $cf_cv_ncurses_header
    35243958 do
    35253959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    35263960-echo "$as_me:4574: checking for $ac_header" >&5
    3527 +echo "$as_me:4755: checking for $ac_header" >&5
     3961+echo "$as_me:4589: checking for $ac_header" >&5
    35283962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    35293963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    35323966   cat >conftest.$ac_ext <<_ACEOF
    35333967-#line 4580 "configure"
    3534 +#line 4761 "configure"
     3968+#line 4595 "configure"
    35353969 #include "confdefs.h"
    35363970 #include <$ac_header>
    35373971 _ACEOF
    35383972-if { (eval echo "$as_me:4584: \"$ac_cpp conftest.$ac_ext\"") >&5
    3539 +if { (eval echo "$as_me:4765: \"$ac_cpp conftest.$ac_ext\"") >&5
     3973+if { (eval echo "$as_me:4599: \"$ac_cpp conftest.$ac_ext\"") >&5
    35403974   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    35413975   ac_status=$?
     
    35443978   cat conftest.err >&5
    35453979-  echo "$as_me:4590: \$? = $ac_status" >&5
    3546 +  echo "$as_me:4771: \$? = $ac_status" >&5
     3980+  echo "$as_me:4605: \$? = $ac_status" >&5
    35473981   (exit $ac_status); } >/dev/null; then
    35483982   if test -s conftest.err; then
    35493983     ac_cpp_err=$ac_c_preproc_warn_flag
    3550 @@ -4606,7 +4787,7 @@
     3984@@ -4606,7 +4621,7 @@
    35513985 fi
    35523986 rm -f conftest.err conftest.$ac_ext
    35533987 fi
    35543988-echo "$as_me:4609: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3555 +echo "$as_me:4790: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3989+echo "$as_me:4624: result: `eval echo '${'$as_ac_Header'}'`" >&5
    35563990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    35573991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    35583992   cat >>confdefs.h <<EOF
    3559 @@ -4659,7 +4840,7 @@
     3993@@ -4659,7 +4674,7 @@
    35603994                          cf_save_CPPFLAGS=$CPPFLAGS
    35613995                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    35623996                          cat >conftest.$ac_ext <<_ACEOF
    35633997-#line 4662 "configure"
    3564 +#line 4843 "configure"
     3998+#line 4677 "configure"
    35653999 #include "confdefs.h"
    35664000 #include <stdio.h>
    35674001 int
    3568 @@ -4671,16 +4852,16 @@
     4002@@ -4671,16 +4686,16 @@
    35694003 }
    35704004 _ACEOF
    35714005 rm -f conftest.$ac_objext
    35724006-if { (eval echo "$as_me:4674: \"$ac_compile\"") >&5
    3573 +if { (eval echo "$as_me:4855: \"$ac_compile\"") >&5
     4007+if { (eval echo "$as_me:4689: \"$ac_compile\"") >&5
    35744008   (eval $ac_compile) 2>&5
    35754009   ac_status=$?
    35764010-  echo "$as_me:4677: \$? = $ac_status" >&5
    3577 +  echo "$as_me:4858: \$? = $ac_status" >&5
     4011+  echo "$as_me:4692: \$? = $ac_status" >&5
    35784012   (exit $ac_status); } &&
    35794013          { ac_try='test -s conftest.$ac_objext'
    35804014-  { (eval echo "$as_me:4680: \"$ac_try\"") >&5
    3581 +  { (eval echo "$as_me:4861: \"$ac_try\"") >&5
     4015+  { (eval echo "$as_me:4695: \"$ac_try\"") >&5
    35824016   (eval $ac_try) 2>&5
    35834017   ac_status=$?
    35844018-  echo "$as_me:4683: \$? = $ac_status" >&5
    3585 +  echo "$as_me:4864: \$? = $ac_status" >&5
     4019+  echo "$as_me:4698: \$? = $ac_status" >&5
    35864020   (exit $ac_status); }; }; then
    35874021   :
    35884022 else
    3589 @@ -4697,7 +4878,7 @@
     4023@@ -4697,7 +4712,7 @@
    35904024                if test "$cf_have_incdir" = no ; then
    35914025                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    35924026 
    35934027-echo "${as_me:-configure}:4700: testing adding $cf_add_incdir to include-path ..." 1>&5
    3594 +echo "${as_me:-configure}:4881: testing adding $cf_add_incdir to include-path ..." 1>&5
     4028+echo "${as_me:-configure}:4715: testing adding $cf_add_incdir to include-path ..." 1>&5
    35954029 
    35964030                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    35974031 
    3598 @@ -4714,7 +4895,7 @@
     4032@@ -4714,7 +4729,7 @@
    35994033 
    36004034 }
    36014035 
    36024036-echo "$as_me:4717: checking for $cf_ncuhdr_root header in include-path" >&5
    3603 +echo "$as_me:4898: checking for $cf_ncuhdr_root header in include-path" >&5
     4037+echo "$as_me:4732: checking for $cf_ncuhdr_root header in include-path" >&5
    36044038 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6
    36054039 if test "${cf_cv_ncurses_h+set}" = set; then
    36064040   echo $ECHO_N "(cached) $ECHO_C" >&6
    3607 @@ -4726,7 +4907,7 @@
     4041@@ -4726,7 +4741,7 @@
    36084042        do
    36094043 
    36104044        cat >conftest.$ac_ext <<_ACEOF
    36114045-#line 4729 "configure"
    3612 +#line 4910 "configure"
     4046+#line 4744 "configure"
    36134047 #include "confdefs.h"
    36144048 
    36154049 #define _XOPEN_SOURCE_EXTENDED
    3616 @@ -4758,16 +4939,16 @@
     4050@@ -4758,16 +4773,16 @@
    36174051 }
    36184052 _ACEOF
    36194053 rm -f conftest.$ac_objext
    36204054-if { (eval echo "$as_me:4761: \"$ac_compile\"") >&5
    3621 +if { (eval echo "$as_me:4942: \"$ac_compile\"") >&5
     4055+if { (eval echo "$as_me:4776: \"$ac_compile\"") >&5
    36224056   (eval $ac_compile) 2>&5
    36234057   ac_status=$?
    36244058-  echo "$as_me:4764: \$? = $ac_status" >&5
    3625 +  echo "$as_me:4945: \$? = $ac_status" >&5
     4059+  echo "$as_me:4779: \$? = $ac_status" >&5
    36264060   (exit $ac_status); } &&
    36274061          { ac_try='test -s conftest.$ac_objext'
    36284062-  { (eval echo "$as_me:4767: \"$ac_try\"") >&5
    3629 +  { (eval echo "$as_me:4948: \"$ac_try\"") >&5
     4063+  { (eval echo "$as_me:4782: \"$ac_try\"") >&5
    36304064   (eval $ac_try) 2>&5
    36314065   ac_status=$?
    36324066-  echo "$as_me:4770: \$? = $ac_status" >&5
    3633 +  echo "$as_me:4951: \$? = $ac_status" >&5
     4067+  echo "$as_me:4785: \$? = $ac_status" >&5
    36344068   (exit $ac_status); }; }; then
    36354069   cf_cv_ncurses_h=$cf_header
    36364070 
    3637 @@ -4782,14 +4963,14 @@
     4071@@ -4782,14 +4797,14 @@
    36384072        done
    36394073 
    36404074 fi
    36414075-echo "$as_me:4785: result: $cf_cv_ncurses_h" >&5
    3642 +echo "$as_me:4966: result: $cf_cv_ncurses_h" >&5
     4076+echo "$as_me:4800: result: $cf_cv_ncurses_h" >&5
    36434077 echo "${ECHO_T}$cf_cv_ncurses_h" >&6
    36444078 
     
    36484082 
    36494083-echo "$as_me:4792: checking for $cf_ncuhdr_root include-path" >&5
    3650 +echo "$as_me:4973: checking for $cf_ncuhdr_root include-path" >&5
     4084+echo "$as_me:4807: checking for $cf_ncuhdr_root include-path" >&5
    36514085 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6
    36524086 if test "${cf_cv_ncurses_h2+set}" = set; then
    36534087   echo $ECHO_N "(cached) $ECHO_C" >&6
    3654 @@ -4929,7 +5110,7 @@
     4088@@ -4929,7 +4944,7 @@
    36554089                          cf_save_CPPFLAGS=$CPPFLAGS
    36564090                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    36574091                          cat >conftest.$ac_ext <<_ACEOF
    36584092-#line 4932 "configure"
    3659 +#line 5113 "configure"
     4093+#line 4947 "configure"
    36604094 #include "confdefs.h"
    36614095 #include <stdio.h>
    36624096 int
    3663 @@ -4941,16 +5122,16 @@
     4097@@ -4941,16 +4956,16 @@
    36644098 }
    36654099 _ACEOF
    36664100 rm -f conftest.$ac_objext
    36674101-if { (eval echo "$as_me:4944: \"$ac_compile\"") >&5
    3668 +if { (eval echo "$as_me:5125: \"$ac_compile\"") >&5
     4102+if { (eval echo "$as_me:4959: \"$ac_compile\"") >&5
    36694103   (eval $ac_compile) 2>&5
    36704104   ac_status=$?
    36714105-  echo "$as_me:4947: \$? = $ac_status" >&5
    3672 +  echo "$as_me:5128: \$? = $ac_status" >&5
     4106+  echo "$as_me:4962: \$? = $ac_status" >&5
    36734107   (exit $ac_status); } &&
    36744108          { ac_try='test -s conftest.$ac_objext'
    36754109-  { (eval echo "$as_me:4950: \"$ac_try\"") >&5
    3676 +  { (eval echo "$as_me:5131: \"$ac_try\"") >&5
     4110+  { (eval echo "$as_me:4965: \"$ac_try\"") >&5
    36774111   (eval $ac_try) 2>&5
    36784112   ac_status=$?
    36794113-  echo "$as_me:4953: \$? = $ac_status" >&5
    3680 +  echo "$as_me:5134: \$? = $ac_status" >&5
     4114+  echo "$as_me:4968: \$? = $ac_status" >&5
    36814115   (exit $ac_status); }; }; then
    36824116   :
    36834117 else
    3684 @@ -4967,7 +5148,7 @@
     4118@@ -4967,7 +4982,7 @@
    36854119                if test "$cf_have_incdir" = no ; then
    36864120                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    36874121 
    36884122-echo "${as_me:-configure}:4970: testing adding $cf_add_incdir to include-path ..." 1>&5
    3689 +echo "${as_me:-configure}:5151: testing adding $cf_add_incdir to include-path ..." 1>&5
     4123+echo "${as_me:-configure}:4985: testing adding $cf_add_incdir to include-path ..." 1>&5
    36904124 
    36914125                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    36924126 
    3693 @@ -4988,7 +5169,7 @@
     4127@@ -4988,7 +5003,7 @@
    36944128                do
    36954129 
    36964130        cat >conftest.$ac_ext <<_ACEOF
    36974131-#line 4991 "configure"
    3698 +#line 5172 "configure"
     4132+#line 5006 "configure"
    36994133 #include "confdefs.h"
    37004134 
    37014135 #include <$cf_header>
    3702 @@ -5012,16 +5193,16 @@
     4136@@ -5012,16 +5027,16 @@
    37034137 }
    37044138 _ACEOF
    37054139 rm -f conftest.$ac_objext
    37064140-if { (eval echo "$as_me:5015: \"$ac_compile\"") >&5
    3707 +if { (eval echo "$as_me:5196: \"$ac_compile\"") >&5
     4141+if { (eval echo "$as_me:5030: \"$ac_compile\"") >&5
    37084142   (eval $ac_compile) 2>&5
    37094143   ac_status=$?
    37104144-  echo "$as_me:5018: \$? = $ac_status" >&5
    3711 +  echo "$as_me:5199: \$? = $ac_status" >&5
     4145+  echo "$as_me:5033: \$? = $ac_status" >&5
    37124146   (exit $ac_status); } &&
    37134147          { ac_try='test -s conftest.$ac_objext'
    37144148-  { (eval echo "$as_me:5021: \"$ac_try\"") >&5
    3715 +  { (eval echo "$as_me:5202: \"$ac_try\"") >&5
     4149+  { (eval echo "$as_me:5036: \"$ac_try\"") >&5
    37164150   (eval $ac_try) 2>&5
    37174151   ac_status=$?
    37184152-  echo "$as_me:5024: \$? = $ac_status" >&5
    3719 +  echo "$as_me:5205: \$? = $ac_status" >&5
     4153+  echo "$as_me:5039: \$? = $ac_status" >&5
    37204154   (exit $ac_status); }; }; then
    37214155   cf_cv_ncurses_h2=$cf_header
    37224156 
    3723 @@ -5042,12 +5223,12 @@
     4157@@ -5042,12 +5057,12 @@
    37244158                CPPFLAGS="$cf_save2_CPPFLAGS"
    37254159                test "$cf_cv_ncurses_h2" != no && break
    37264160        done
    37274161-       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5045: error: not found" >&5
    3728 +       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5226: error: not found" >&5
     4162+       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5060: error: not found" >&5
    37294163 echo "$as_me: error: not found" >&2;}
    37304164    { (exit 1); exit 1; }; }
     
    37324166 fi
    37334167-echo "$as_me:5050: result: $cf_cv_ncurses_h2" >&5
    3734 +echo "$as_me:5231: result: $cf_cv_ncurses_h2" >&5
     4168+echo "$as_me:5065: result: $cf_cv_ncurses_h2" >&5
    37354169 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6
    37364170 
    37374171        cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'`
    3738 @@ -5080,7 +5261,7 @@
     4172@@ -5080,7 +5095,7 @@
    37394173                          cf_save_CPPFLAGS=$CPPFLAGS
    37404174                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    37414175                          cat >conftest.$ac_ext <<_ACEOF
    37424176-#line 5083 "configure"
    3743 +#line 5264 "configure"
     4177+#line 5098 "configure"
    37444178 #include "confdefs.h"
    37454179 #include <stdio.h>
    37464180 int
    3747 @@ -5092,16 +5273,16 @@
     4181@@ -5092,16 +5107,16 @@
    37484182 }
    37494183 _ACEOF
    37504184 rm -f conftest.$ac_objext
    37514185-if { (eval echo "$as_me:5095: \"$ac_compile\"") >&5
    3752 +if { (eval echo "$as_me:5276: \"$ac_compile\"") >&5
     4186+if { (eval echo "$as_me:5110: \"$ac_compile\"") >&5
    37534187   (eval $ac_compile) 2>&5
    37544188   ac_status=$?
    37554189-  echo "$as_me:5098: \$? = $ac_status" >&5
    3756 +  echo "$as_me:5279: \$? = $ac_status" >&5
     4190+  echo "$as_me:5113: \$? = $ac_status" >&5
    37574191   (exit $ac_status); } &&
    37584192          { ac_try='test -s conftest.$ac_objext'
    37594193-  { (eval echo "$as_me:5101: \"$ac_try\"") >&5
    3760 +  { (eval echo "$as_me:5282: \"$ac_try\"") >&5
     4194+  { (eval echo "$as_me:5116: \"$ac_try\"") >&5
    37614195   (eval $ac_try) 2>&5
    37624196   ac_status=$?
    37634197-  echo "$as_me:5104: \$? = $ac_status" >&5
    3764 +  echo "$as_me:5285: \$? = $ac_status" >&5
     4198+  echo "$as_me:5119: \$? = $ac_status" >&5
    37654199   (exit $ac_status); }; }; then
    37664200   :
    37674201 else
    3768 @@ -5118,7 +5299,7 @@
     4202@@ -5118,7 +5133,7 @@
    37694203                if test "$cf_have_incdir" = no ; then
    37704204                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    37714205 
    37724206-echo "${as_me:-configure}:5121: testing adding $cf_add_incdir to include-path ..." 1>&5
    3773 +echo "${as_me:-configure}:5302: testing adding $cf_add_incdir to include-path ..." 1>&5
     4207+echo "${as_me:-configure}:5136: testing adding $cf_add_incdir to include-path ..." 1>&5
    37744208 
    37754209                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    37764210 
    3777 @@ -5161,7 +5342,7 @@
     4211@@ -5161,7 +5176,7 @@
    37784212        ;;
    37794213 esac
    37804214 
    37814215-echo "$as_me:5164: checking for terminfo header" >&5
    3782 +echo "$as_me:5345: checking for terminfo header" >&5
     4216+echo "$as_me:5179: checking for terminfo header" >&5
    37834217 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
    37844218 if test "${cf_cv_term_header+set}" = set; then
    37854219   echo $ECHO_N "(cached) $ECHO_C" >&6
    3786 @@ -5179,7 +5360,7 @@
     4220@@ -5179,7 +5194,7 @@
    37874221 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
    37884222 do
    37894223 cat >conftest.$ac_ext <<_ACEOF
    37904224-#line 5182 "configure"
    3791 +#line 5363 "configure"
     4225+#line 5197 "configure"
    37924226 #include "confdefs.h"
    37934227 #include <stdio.h>
    37944228 #include <${cf_cv_ncurses_header:-curses.h}>
    3795 @@ -5194,16 +5375,16 @@
     4229@@ -5194,16 +5209,16 @@
    37964230 }
    37974231 _ACEOF
    37984232 rm -f conftest.$ac_objext
    37994233-if { (eval echo "$as_me:5197: \"$ac_compile\"") >&5
    3800 +if { (eval echo "$as_me:5378: \"$ac_compile\"") >&5
     4234+if { (eval echo "$as_me:5212: \"$ac_compile\"") >&5
    38014235   (eval $ac_compile) 2>&5
    38024236   ac_status=$?
    38034237-  echo "$as_me:5200: \$? = $ac_status" >&5
    3804 +  echo "$as_me:5381: \$? = $ac_status" >&5
     4238+  echo "$as_me:5215: \$? = $ac_status" >&5
    38054239   (exit $ac_status); } &&
    38064240          { ac_try='test -s conftest.$ac_objext'
    38074241-  { (eval echo "$as_me:5203: \"$ac_try\"") >&5
    3808 +  { (eval echo "$as_me:5384: \"$ac_try\"") >&5
     4242+  { (eval echo "$as_me:5218: \"$ac_try\"") >&5
    38094243   (eval $ac_try) 2>&5
    38104244   ac_status=$?
    38114245-  echo "$as_me:5206: \$? = $ac_status" >&5
    3812 +  echo "$as_me:5387: \$? = $ac_status" >&5
     4246+  echo "$as_me:5221: \$? = $ac_status" >&5
    38134247   (exit $ac_status); }; }; then
    38144248 
    38154249        cf_cv_term_header="$cf_test"
    3816 @@ -5219,7 +5400,7 @@
     4250@@ -5219,7 +5234,7 @@
    38174251 done
    38184252 
    38194253 fi
    38204254-echo "$as_me:5222: result: $cf_cv_term_header" >&5
    3821 +echo "$as_me:5403: result: $cf_cv_term_header" >&5
     4255+echo "$as_me:5237: result: $cf_cv_term_header" >&5
    38224256 echo "${ECHO_T}$cf_cv_term_header" >&6
    38234257 
    38244258 # Set definitions to allow ifdef'ing to accommodate subdirectories
    3825 @@ -5253,7 +5434,7 @@
     4259@@ -5253,7 +5268,7 @@
    38264260 #define NCURSES 1
    38274261 EOF
    38284262 
    38294263-echo "$as_me:5256: checking for ncurses version" >&5
    3830 +echo "$as_me:5437: checking for ncurses version" >&5
     4264+echo "$as_me:5271: checking for ncurses version" >&5
    38314265 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
    38324266 if test "${cf_cv_ncurses_version+set}" = set; then
    38334267   echo $ECHO_N "(cached) $ECHO_C" >&6
    3834 @@ -5279,10 +5460,10 @@
     4268@@ -5279,10 +5294,10 @@
    38354269 #endif
    38364270 EOF
    38374271        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    38384272-       { (eval echo "$as_me:5282: \"$cf_try\"") >&5
    3839 +       { (eval echo "$as_me:5463: \"$cf_try\"") >&5
     4273+       { (eval echo "$as_me:5297: \"$cf_try\"") >&5
    38404274   (eval $cf_try) 2>&5
    38414275   ac_status=$?
    38424276-  echo "$as_me:5285: \$? = $ac_status" >&5
    3843 +  echo "$as_me:5466: \$? = $ac_status" >&5
     4277+  echo "$as_me:5300: \$? = $ac_status" >&5
    38444278   (exit $ac_status); }
    38454279        if test -f conftest.out ; then
    38464280                cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
    3847 @@ -5292,7 +5473,7 @@
     4281@@ -5292,7 +5307,7 @@
    38484282 
    38494283 else
    38504284   cat >conftest.$ac_ext <<_ACEOF
    38514285-#line 5295 "configure"
    3852 +#line 5476 "configure"
     4286+#line 5310 "configure"
    38534287 #include "confdefs.h"
    38544288 
    38554289 #include <${cf_cv_ncurses_header:-curses.h}>
    3856 @@ -5317,15 +5498,15 @@
     4290@@ -5317,15 +5332,15 @@
    38574291 }
    38584292 _ACEOF
    38594293 rm -f conftest$ac_exeext
    38604294-if { (eval echo "$as_me:5320: \"$ac_link\"") >&5
    3861 +if { (eval echo "$as_me:5501: \"$ac_link\"") >&5
     4295+if { (eval echo "$as_me:5335: \"$ac_link\"") >&5
    38624296   (eval $ac_link) 2>&5
    38634297   ac_status=$?
    38644298-  echo "$as_me:5323: \$? = $ac_status" >&5
    3865 +  echo "$as_me:5504: \$? = $ac_status" >&5
     4299+  echo "$as_me:5338: \$? = $ac_status" >&5
    38664300   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    38674301-  { (eval echo "$as_me:5325: \"$ac_try\"") >&5
    3868 +  { (eval echo "$as_me:5506: \"$ac_try\"") >&5
     4302+  { (eval echo "$as_me:5340: \"$ac_try\"") >&5
    38694303   (eval $ac_try) 2>&5
    38704304   ac_status=$?
    38714305-  echo "$as_me:5328: \$? = $ac_status" >&5
    3872 +  echo "$as_me:5509: \$? = $ac_status" >&5
     4306+  echo "$as_me:5343: \$? = $ac_status" >&5
    38734307   (exit $ac_status); }; }; then
    38744308 
    38754309        cf_cv_ncurses_version=`cat $cf_tempfile`
    3876 @@ -5339,7 +5520,7 @@
     4310@@ -5339,7 +5354,7 @@
    38774311        rm -f $cf_tempfile
    38784312 
    38794313 fi
    38804314-echo "$as_me:5342: result: $cf_cv_ncurses_version" >&5
    3881 +echo "$as_me:5523: result: $cf_cv_ncurses_version" >&5
     4315+echo "$as_me:5357: result: $cf_cv_ncurses_version" >&5
    38824316 echo "${ECHO_T}$cf_cv_ncurses_version" >&6
    38834317 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
    38844318 #define NCURSES 1
    3885 @@ -5351,7 +5532,7 @@
     4319@@ -5351,7 +5366,7 @@
    38864320        # to link gpm.
    38874321 cf_ncurses_LIBS=""
    38884322 cf_ncurses_SAVE="$LIBS"
    38894323-echo "$as_me:5354: checking for Gpm_Open in -lgpm" >&5
    3890 +echo "$as_me:5535: checking for Gpm_Open in -lgpm" >&5
     4324+echo "$as_me:5369: checking for Gpm_Open in -lgpm" >&5
    38914325 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
    38924326 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
    38934327   echo $ECHO_N "(cached) $ECHO_C" >&6
    3894 @@ -5359,7 +5540,7 @@
     4328@@ -5359,7 +5374,7 @@
    38954329   ac_check_lib_save_LIBS=$LIBS
    38964330 LIBS="-lgpm  $LIBS"
    38974331 cat >conftest.$ac_ext <<_ACEOF
    38984332-#line 5362 "configure"
    3899 +#line 5543 "configure"
     4333+#line 5377 "configure"
    39004334 #include "confdefs.h"
    39014335 
    39024336 /* Override any gcc2 internal prototype to avoid an error.  */
    3903 @@ -5378,16 +5559,16 @@
     4337@@ -5378,16 +5393,16 @@
    39044338 }
    39054339 _ACEOF
    39064340 rm -f conftest.$ac_objext conftest$ac_exeext
    39074341-if { (eval echo "$as_me:5381: \"$ac_link\"") >&5
    3908 +if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
     4342+if { (eval echo "$as_me:5396: \"$ac_link\"") >&5
    39094343   (eval $ac_link) 2>&5
    39104344   ac_status=$?
    39114345-  echo "$as_me:5384: \$? = $ac_status" >&5
    3912 +  echo "$as_me:5565: \$? = $ac_status" >&5
     4346+  echo "$as_me:5399: \$? = $ac_status" >&5
    39134347   (exit $ac_status); } &&
    39144348          { ac_try='test -s conftest$ac_exeext'
    39154349-  { (eval echo "$as_me:5387: \"$ac_try\"") >&5
    3916 +  { (eval echo "$as_me:5568: \"$ac_try\"") >&5
     4350+  { (eval echo "$as_me:5402: \"$ac_try\"") >&5
    39174351   (eval $ac_try) 2>&5
    39184352   ac_status=$?
    39194353-  echo "$as_me:5390: \$? = $ac_status" >&5
    3920 +  echo "$as_me:5571: \$? = $ac_status" >&5
     4354+  echo "$as_me:5405: \$? = $ac_status" >&5
    39214355   (exit $ac_status); }; }; then
    39224356   ac_cv_lib_gpm_Gpm_Open=yes
    39234357 else
    3924 @@ -5398,10 +5579,10 @@
     4358@@ -5398,10 +5413,10 @@
    39254359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    39264360 LIBS=$ac_check_lib_save_LIBS
    39274361 fi
    39284362-echo "$as_me:5401: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    3929 +echo "$as_me:5582: result: $ac_cv_lib_gpm_Gpm_Open" >&5
     4363+echo "$as_me:5416: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    39304364 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
    39314365 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
    39324366-  echo "$as_me:5404: checking for initscr in -lgpm" >&5
    3933 +  echo "$as_me:5585: checking for initscr in -lgpm" >&5
     4367+  echo "$as_me:5419: checking for initscr in -lgpm" >&5
    39344368 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6
    39354369 if test "${ac_cv_lib_gpm_initscr+set}" = set; then
    39364370   echo $ECHO_N "(cached) $ECHO_C" >&6
    3937 @@ -5409,7 +5590,7 @@
     4371@@ -5409,7 +5424,7 @@
    39384372   ac_check_lib_save_LIBS=$LIBS
    39394373 LIBS="-lgpm  $LIBS"
    39404374 cat >conftest.$ac_ext <<_ACEOF
    39414375-#line 5412 "configure"
    3942 +#line 5593 "configure"
     4376+#line 5427 "configure"
    39434377 #include "confdefs.h"
    39444378 
    39454379 /* Override any gcc2 internal prototype to avoid an error.  */
    3946 @@ -5428,16 +5609,16 @@
     4380@@ -5428,16 +5443,16 @@
    39474381 }
    39484382 _ACEOF
    39494383 rm -f conftest.$ac_objext conftest$ac_exeext
    39504384-if { (eval echo "$as_me:5431: \"$ac_link\"") >&5
    3951 +if { (eval echo "$as_me:5612: \"$ac_link\"") >&5
     4385+if { (eval echo "$as_me:5446: \"$ac_link\"") >&5
    39524386   (eval $ac_link) 2>&5
    39534387   ac_status=$?
    39544388-  echo "$as_me:5434: \$? = $ac_status" >&5
    3955 +  echo "$as_me:5615: \$? = $ac_status" >&5
     4389+  echo "$as_me:5449: \$? = $ac_status" >&5
    39564390   (exit $ac_status); } &&
    39574391          { ac_try='test -s conftest$ac_exeext'
    39584392-  { (eval echo "$as_me:5437: \"$ac_try\"") >&5
    3959 +  { (eval echo "$as_me:5618: \"$ac_try\"") >&5
     4393+  { (eval echo "$as_me:5452: \"$ac_try\"") >&5
    39604394   (eval $ac_try) 2>&5
    39614395   ac_status=$?
    39624396-  echo "$as_me:5440: \$? = $ac_status" >&5
    3963 +  echo "$as_me:5621: \$? = $ac_status" >&5
     4397+  echo "$as_me:5455: \$? = $ac_status" >&5
    39644398   (exit $ac_status); }; }; then
    39654399   ac_cv_lib_gpm_initscr=yes
    39664400 else
    3967 @@ -5448,7 +5629,7 @@
     4401@@ -5448,7 +5463,7 @@
    39684402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    39694403 LIBS=$ac_check_lib_save_LIBS
    39704404 fi
    39714405-echo "$as_me:5451: result: $ac_cv_lib_gpm_initscr" >&5
    3972 +echo "$as_me:5632: result: $ac_cv_lib_gpm_initscr" >&5
     4406+echo "$as_me:5466: result: $ac_cv_lib_gpm_initscr" >&5
    39734407 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6
    39744408 if test $ac_cv_lib_gpm_initscr = yes; then
    39754409   LIBS="$cf_ncurses_SAVE"
    3976 @@ -5463,7 +5644,7 @@
     4410@@ -5463,7 +5478,7 @@
    39774411        # This is only necessary if you are linking against an obsolete
    39784412        # version of ncurses (but it should do no harm, since it's static).
    39794413        if test "$cf_nculib_root" = ncurses ; then
    39804414-               echo "$as_me:5466: checking for tgoto in -lmytinfo" >&5
    3981 +               echo "$as_me:5647: checking for tgoto in -lmytinfo" >&5
     4415+               echo "$as_me:5481: checking for tgoto in -lmytinfo" >&5
    39824416 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
    39834417 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
    39844418   echo $ECHO_N "(cached) $ECHO_C" >&6
    3985 @@ -5471,7 +5652,7 @@
     4419@@ -5471,7 +5486,7 @@
    39864420   ac_check_lib_save_LIBS=$LIBS
    39874421 LIBS="-lmytinfo  $LIBS"
    39884422 cat >conftest.$ac_ext <<_ACEOF
    39894423-#line 5474 "configure"
    3990 +#line 5655 "configure"
     4424+#line 5489 "configure"
    39914425 #include "confdefs.h"
    39924426 
    39934427 /* Override any gcc2 internal prototype to avoid an error.  */
    3994 @@ -5490,16 +5671,16 @@
     4428@@ -5490,16 +5505,16 @@
    39954429 }
    39964430 _ACEOF
    39974431 rm -f conftest.$ac_objext conftest$ac_exeext
    39984432-if { (eval echo "$as_me:5493: \"$ac_link\"") >&5
    3999 +if { (eval echo "$as_me:5674: \"$ac_link\"") >&5
     4433+if { (eval echo "$as_me:5508: \"$ac_link\"") >&5
    40004434   (eval $ac_link) 2>&5
    40014435   ac_status=$?
    40024436-  echo "$as_me:5496: \$? = $ac_status" >&5
    4003 +  echo "$as_me:5677: \$? = $ac_status" >&5
     4437+  echo "$as_me:5511: \$? = $ac_status" >&5
    40044438   (exit $ac_status); } &&
    40054439          { ac_try='test -s conftest$ac_exeext'
    40064440-  { (eval echo "$as_me:5499: \"$ac_try\"") >&5
    4007 +  { (eval echo "$as_me:5680: \"$ac_try\"") >&5
     4441+  { (eval echo "$as_me:5514: \"$ac_try\"") >&5
    40084442   (eval $ac_try) 2>&5
    40094443   ac_status=$?
    40104444-  echo "$as_me:5502: \$? = $ac_status" >&5
    4011 +  echo "$as_me:5683: \$? = $ac_status" >&5
     4445+  echo "$as_me:5517: \$? = $ac_status" >&5
    40124446   (exit $ac_status); }; }; then
    40134447   ac_cv_lib_mytinfo_tgoto=yes
    40144448 else
    4015 @@ -5510,7 +5691,7 @@
     4449@@ -5510,7 +5525,7 @@
    40164450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    40174451 LIBS=$ac_check_lib_save_LIBS
    40184452 fi
    40194453-echo "$as_me:5513: result: $ac_cv_lib_mytinfo_tgoto" >&5
    4020 +echo "$as_me:5694: result: $ac_cv_lib_mytinfo_tgoto" >&5
     4454+echo "$as_me:5528: result: $ac_cv_lib_mytinfo_tgoto" >&5
    40214455 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
    40224456 if test $ac_cv_lib_mytinfo_tgoto = yes; then
    40234457   cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS"
    4024 @@ -5529,13 +5710,13 @@
     4458@@ -5529,13 +5544,13 @@
    40254459 
    40264460        eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
    40274461        cf_libdir=""
    40284462-       echo "$as_me:5532: checking for initscr" >&5
    4029 +       echo "$as_me:5713: checking for initscr" >&5
     4463+       echo "$as_me:5547: checking for initscr" >&5
    40304464 echo $ECHO_N "checking for initscr... $ECHO_C" >&6
    40314465 if test "${ac_cv_func_initscr+set}" = set; then
     
    40344468   cat >conftest.$ac_ext <<_ACEOF
    40354469-#line 5538 "configure"
    4036 +#line 5719 "configure"
     4470+#line 5553 "configure"
    40374471 #include "confdefs.h"
    40384472 /* System header to define __stub macros and hopefully few prototypes,
    40394473     which can conflict with char initscr (); below.  */
    4040 @@ -5566,16 +5747,16 @@
     4474@@ -5558,7 +5573,7 @@
     4475 #if defined (__stub_initscr) || defined (__stub___initscr)
     4476 choke me
     4477 #else
     4478-f = initscr;
     4479+f = initscr; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     4480 #endif
     4481 
     4482   ;
     4483@@ -5566,16 +5581,16 @@
    40414484 }
    40424485 _ACEOF
    40434486 rm -f conftest.$ac_objext conftest$ac_exeext
    40444487-if { (eval echo "$as_me:5569: \"$ac_link\"") >&5
    4045 +if { (eval echo "$as_me:5750: \"$ac_link\"") >&5
     4488+if { (eval echo "$as_me:5584: \"$ac_link\"") >&5
    40464489   (eval $ac_link) 2>&5
    40474490   ac_status=$?
    40484491-  echo "$as_me:5572: \$? = $ac_status" >&5
    4049 +  echo "$as_me:5753: \$? = $ac_status" >&5
     4492+  echo "$as_me:5587: \$? = $ac_status" >&5
    40504493   (exit $ac_status); } &&
    40514494          { ac_try='test -s conftest$ac_exeext'
    40524495-  { (eval echo "$as_me:5575: \"$ac_try\"") >&5
    4053 +  { (eval echo "$as_me:5756: \"$ac_try\"") >&5
     4496+  { (eval echo "$as_me:5590: \"$ac_try\"") >&5
    40544497   (eval $ac_try) 2>&5
    40554498   ac_status=$?
    40564499-  echo "$as_me:5578: \$? = $ac_status" >&5
    4057 +  echo "$as_me:5759: \$? = $ac_status" >&5
     4500+  echo "$as_me:5593: \$? = $ac_status" >&5
    40584501   (exit $ac_status); }; }; then
    40594502   ac_cv_func_initscr=yes
    40604503 else
    4061 @@ -5585,18 +5766,18 @@
     4504@@ -5585,18 +5600,18 @@
    40624505 fi
    40634506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    40644507 fi
    40654508-echo "$as_me:5588: result: $ac_cv_func_initscr" >&5
    4066 +echo "$as_me:5769: result: $ac_cv_func_initscr" >&5
     4509+echo "$as_me:5603: result: $ac_cv_func_initscr" >&5
    40674510 echo "${ECHO_T}$ac_cv_func_initscr" >&6
    40684511 if test $ac_cv_func_initscr = yes; then
     
    40724515                cf_save_LIBS="$LIBS"
    40734516-               echo "$as_me:5595: checking for initscr in -l$cf_nculib_root" >&5
    4074 +               echo "$as_me:5776: checking for initscr in -l$cf_nculib_root" >&5
     4517+               echo "$as_me:5610: checking for initscr in -l$cf_nculib_root" >&5
    40754518 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6
    40764519                LIBS="-l$cf_nculib_root $LIBS"
    40774520                cat >conftest.$ac_ext <<_ACEOF
    40784521-#line 5599 "configure"
    4079 +#line 5780 "configure"
     4522+#line 5614 "configure"
    40804523 #include "confdefs.h"
    40814524 #include <${cf_cv_ncurses_header:-curses.h}>
    40824525 int
    4083 @@ -5608,25 +5789,25 @@
     4526@@ -5608,25 +5623,25 @@
    40844527 }
    40854528 _ACEOF
    40864529 rm -f conftest.$ac_objext conftest$ac_exeext
    40874530-if { (eval echo "$as_me:5611: \"$ac_link\"") >&5
    4088 +if { (eval echo "$as_me:5792: \"$ac_link\"") >&5
     4531+if { (eval echo "$as_me:5626: \"$ac_link\"") >&5
    40894532   (eval $ac_link) 2>&5
    40904533   ac_status=$?
    40914534-  echo "$as_me:5614: \$? = $ac_status" >&5
    4092 +  echo "$as_me:5795: \$? = $ac_status" >&5
     4535+  echo "$as_me:5629: \$? = $ac_status" >&5
    40934536   (exit $ac_status); } &&
    40944537          { ac_try='test -s conftest$ac_exeext'
    40954538-  { (eval echo "$as_me:5617: \"$ac_try\"") >&5
    4096 +  { (eval echo "$as_me:5798: \"$ac_try\"") >&5
     4539+  { (eval echo "$as_me:5632: \"$ac_try\"") >&5
    40974540   (eval $ac_try) 2>&5
    40984541   ac_status=$?
    40994542-  echo "$as_me:5620: \$? = $ac_status" >&5
    4100 +  echo "$as_me:5801: \$? = $ac_status" >&5
     4543+  echo "$as_me:5635: \$? = $ac_status" >&5
    41014544   (exit $ac_status); }; }; then
    41024545-  echo "$as_me:5622: result: yes" >&5
    4103 +  echo "$as_me:5803: result: yes" >&5
     4546+  echo "$as_me:5637: result: yes" >&5
    41044547 echo "${ECHO_T}yes" >&6
    41054548                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    41094552 cat conftest.$ac_ext >&5
    41104553-echo "$as_me:5629: result: no" >&5
    4111 +echo "$as_me:5810: result: no" >&5
     4554+echo "$as_me:5644: result: no" >&5
    41124555 echo "${ECHO_T}no" >&6
    41134556 
    41144557 cf_search=
    4115 @@ -5716,11 +5897,11 @@
     4558@@ -5716,11 +5731,11 @@
    41164559 
    41174560                        for cf_libdir in $cf_search
    41184561                        do
    41194562-                               echo "$as_me:5719: checking for -l$cf_nculib_root in $cf_libdir" >&5
    4120 +                               echo "$as_me:5900: checking for -l$cf_nculib_root in $cf_libdir" >&5
     4563+                               echo "$as_me:5734: checking for -l$cf_nculib_root in $cf_libdir" >&5
    41214564 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6
    41224565                                LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
    41234566                                cat >conftest.$ac_ext <<_ACEOF
    41244567-#line 5723 "configure"
    4125 +#line 5904 "configure"
     4568+#line 5738 "configure"
    41264569 #include "confdefs.h"
    41274570 #include <${cf_cv_ncurses_header:-curses.h}>
    41284571 int
    4129 @@ -5732,25 +5913,25 @@
     4572@@ -5732,25 +5747,25 @@
    41304573 }
    41314574 _ACEOF
    41324575 rm -f conftest.$ac_objext conftest$ac_exeext
    41334576-if { (eval echo "$as_me:5735: \"$ac_link\"") >&5
    4134 +if { (eval echo "$as_me:5916: \"$ac_link\"") >&5
     4577+if { (eval echo "$as_me:5750: \"$ac_link\"") >&5
    41354578   (eval $ac_link) 2>&5
    41364579   ac_status=$?
    41374580-  echo "$as_me:5738: \$? = $ac_status" >&5
    4138 +  echo "$as_me:5919: \$? = $ac_status" >&5
     4581+  echo "$as_me:5753: \$? = $ac_status" >&5
    41394582   (exit $ac_status); } &&
    41404583          { ac_try='test -s conftest$ac_exeext'
    41414584-  { (eval echo "$as_me:5741: \"$ac_try\"") >&5
    4142 +  { (eval echo "$as_me:5922: \"$ac_try\"") >&5
     4585+  { (eval echo "$as_me:5756: \"$ac_try\"") >&5
    41434586   (eval $ac_try) 2>&5
    41444587   ac_status=$?
    41454588-  echo "$as_me:5744: \$? = $ac_status" >&5
    4146 +  echo "$as_me:5925: \$? = $ac_status" >&5
     4589+  echo "$as_me:5759: \$? = $ac_status" >&5
    41474590   (exit $ac_status); }; }; then
    41484591-  echo "$as_me:5746: result: yes" >&5
    4149 +  echo "$as_me:5927: result: yes" >&5
     4592+  echo "$as_me:5761: result: yes" >&5
    41504593 echo "${ECHO_T}yes" >&6
    41514594                                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    41554598 cat conftest.$ac_ext >&5
    41564599-echo "$as_me:5753: result: no" >&5
    4157 +echo "$as_me:5934: result: no" >&5
     4600+echo "$as_me:5768: result: no" >&5
    41584601 echo "${ECHO_T}no" >&6
    41594602                                         LIBS="$cf_save_LIBS"
    41604603 fi
    4161 @@ -5765,7 +5946,7 @@
     4604@@ -5765,7 +5780,7 @@
    41624605 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root
    41634606 
    41644607 if test $cf_found_library = no ; then
    41654608-       { { echo "$as_me:5768: error: Cannot link $cf_nculib_root library" >&5
    4166 +       { { echo "$as_me:5949: error: Cannot link $cf_nculib_root library" >&5
     4609+       { { echo "$as_me:5783: error: Cannot link $cf_nculib_root library" >&5
    41674610 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;}
    41684611    { (exit 1); exit 1; }; }
    41694612 fi
    4170 @@ -5773,7 +5954,7 @@
     4613@@ -5773,7 +5788,7 @@
    41714614 fi
    41724615 
    41734616 if test -n "$cf_ncurses_LIBS" ; then
    41744617-       echo "$as_me:5776: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    4175 +       echo "$as_me:5957: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     4618+       echo "$as_me:5791: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    41764619 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6
    41774620        cf_ncurses_SAVE="$LIBS"
    41784621        for p in $cf_ncurses_LIBS ; do
    4179 @@ -5783,7 +5964,7 @@
     4622@@ -5783,7 +5798,7 @@
    41804623                fi
    41814624        done
    41824625        cat >conftest.$ac_ext <<_ACEOF
    41834626-#line 5786 "configure"
    4184 +#line 5967 "configure"
     4627+#line 5801 "configure"
    41854628 #include "confdefs.h"
    41864629 #include <${cf_cv_ncurses_header:-curses.h}>
    41874630 int
    4188 @@ -5795,23 +5976,23 @@
     4631@@ -5795,23 +5810,23 @@
    41894632 }
    41904633 _ACEOF
    41914634 rm -f conftest.$ac_objext conftest$ac_exeext
    41924635-if { (eval echo "$as_me:5798: \"$ac_link\"") >&5
    4193 +if { (eval echo "$as_me:5979: \"$ac_link\"") >&5
     4636+if { (eval echo "$as_me:5813: \"$ac_link\"") >&5
    41944637   (eval $ac_link) 2>&5
    41954638   ac_status=$?
    41964639-  echo "$as_me:5801: \$? = $ac_status" >&5
    4197 +  echo "$as_me:5982: \$? = $ac_status" >&5
     4640+  echo "$as_me:5816: \$? = $ac_status" >&5
    41984641   (exit $ac_status); } &&
    41994642          { ac_try='test -s conftest$ac_exeext'
    42004643-  { (eval echo "$as_me:5804: \"$ac_try\"") >&5
    4201 +  { (eval echo "$as_me:5985: \"$ac_try\"") >&5
     4644+  { (eval echo "$as_me:5819: \"$ac_try\"") >&5
    42024645   (eval $ac_try) 2>&5
    42034646   ac_status=$?
    42044647-  echo "$as_me:5807: \$? = $ac_status" >&5
    4205 +  echo "$as_me:5988: \$? = $ac_status" >&5
     4648+  echo "$as_me:5822: \$? = $ac_status" >&5
    42064649   (exit $ac_status); }; }; then
    42074650-  echo "$as_me:5809: result: yes" >&5
    4208 +  echo "$as_me:5990: result: yes" >&5
     4651+  echo "$as_me:5824: result: yes" >&5
    42094652 echo "${ECHO_T}yes" >&6
    42104653 else
     
    42124655 cat conftest.$ac_ext >&5
    42134656-echo "$as_me:5814: result: no" >&5
    4214 +echo "$as_me:5995: result: no" >&5
     4657+echo "$as_me:5829: result: no" >&5
    42154658 echo "${ECHO_T}no" >&6
    42164659                 LIBS="$cf_ncurses_SAVE"
    42174660 fi
    4218 @@ -5831,48 +6012,87 @@
     4661@@ -5831,48 +5846,87 @@
    42194662 cf_ncuconfig_root=ncurses
    42204663 
     
    42274670+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    42284671+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4229 +echo "$as_me:6021: checking for $ac_word" >&5
     4672+echo "$as_me:5855: checking for $ac_word" >&5
    42304673+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    42314674+if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
     
    42424685+  $as_executable_p "$ac_dir/$ac_word" || continue
    42434686+ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    4244 +echo "$as_me:6036: found $ac_dir/$ac_word" >&5
     4687+echo "$as_me:5870: found $ac_dir/$ac_word" >&5
    42454688+break
    42464689+done
     
    42504693+NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
    42514694+if test -n "$NCURSES_CONFIG"; then
    4252 +  echo "$as_me:6044: result: $NCURSES_CONFIG" >&5
     4695+  echo "$as_me:5878: result: $NCURSES_CONFIG" >&5
    42534696+echo "${ECHO_T}$NCURSES_CONFIG" >&6
    42544697+else
    4255 +  echo "$as_me:6047: result: no" >&5
     4698+  echo "$as_me:5881: result: no" >&5
    42564699+echo "${ECHO_T}no" >&6
    42574700+fi
     
    42674710 set dummy $ac_prog; ac_word=$2
    42684711-echo "$as_me:5838: checking for $ac_word" >&5
    4269 +echo "$as_me:6060: checking for $ac_word" >&5
     4712+echo "$as_me:5894: checking for $ac_word" >&5
    42704713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    42714714-if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
     
    42934736+  $as_executable_p "$ac_dir/$ac_word" || continue
    42944737+ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
    4295 +echo "$as_me:6075: found $ac_dir/$ac_word" >&5
     4738+echo "$as_me:5909: found $ac_dir/$ac_word" >&5
    42964739+break
    42974740 done
     
    43084751+ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
    43094752+if test -n "$ac_ct_NCURSES_CONFIG"; then
    4310 +  echo "$as_me:6083: result: $ac_ct_NCURSES_CONFIG" >&5
     4753+  echo "$as_me:5917: result: $ac_ct_NCURSES_CONFIG" >&5
    43114754+echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
    43124755 else
    43134756-  echo "$as_me:5869: result: no" >&5
    4314 +  echo "$as_me:6086: result: no" >&5
     4757+  echo "$as_me:5920: result: no" >&5
    43154758 echo "${ECHO_T}no" >&6
    43164759 fi
     
    43274770 if test "$NCURSES_CONFIG" != none ; then
    43284771 
    4329 @@ -5881,7 +6101,7 @@
     4772@@ -5881,7 +5935,7 @@
    43304773 
    43314774 # even with config script, some packages use no-override for curses.h
    43324775 
    43334776-echo "$as_me:5884: checking if we have identified curses headers" >&5
    4334 +echo "$as_me:6104: checking if we have identified curses headers" >&5
     4777+echo "$as_me:5938: checking if we have identified curses headers" >&5
    43354778 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
    43364779 if test "${cf_cv_ncurses_header+set}" = set; then
    43374780   echo $ECHO_N "(cached) $ECHO_C" >&6
    4338 @@ -5889,13 +6109,13 @@
     4781@@ -5889,13 +5943,13 @@
    43394782 
    43404783 cf_cv_ncurses_header=none
     
    43514794 cat >conftest.$ac_ext <<_ACEOF
    43524795-#line 5898 "configure"
    4353 +#line 6118 "configure"
     4796+#line 5952 "configure"
    43544797 #include "confdefs.h"
    43554798 #include <${cf_header}>
    43564799 int
    4357 @@ -5907,16 +6127,16 @@
     4800@@ -5907,16 +5961,16 @@
    43584801 }
    43594802 _ACEOF
    43604803 rm -f conftest.$ac_objext
    43614804-if { (eval echo "$as_me:5910: \"$ac_compile\"") >&5
    4362 +if { (eval echo "$as_me:6130: \"$ac_compile\"") >&5
     4805+if { (eval echo "$as_me:5964: \"$ac_compile\"") >&5
    43634806   (eval $ac_compile) 2>&5
    43644807   ac_status=$?
    43654808-  echo "$as_me:5913: \$? = $ac_status" >&5
    4366 +  echo "$as_me:6133: \$? = $ac_status" >&5
     4809+  echo "$as_me:5967: \$? = $ac_status" >&5
    43674810   (exit $ac_status); } &&
    43684811          { ac_try='test -s conftest.$ac_objext'
    43694812-  { (eval echo "$as_me:5916: \"$ac_try\"") >&5
    4370 +  { (eval echo "$as_me:6136: \"$ac_try\"") >&5
     4813+  { (eval echo "$as_me:5970: \"$ac_try\"") >&5
    43714814   (eval $ac_try) 2>&5
    43724815   ac_status=$?
    43734816-  echo "$as_me:5919: \$? = $ac_status" >&5
    4374 +  echo "$as_me:6139: \$? = $ac_status" >&5
     4817+  echo "$as_me:5973: \$? = $ac_status" >&5
    43754818   (exit $ac_status); }; }; then
    43764819   cf_cv_ncurses_header=$cf_header; break
    43774820 else
    4378 @@ -5927,11 +6147,11 @@
     4821@@ -5927,11 +5981,11 @@
    43794822 done
    43804823 
    43814824 fi
    43824825-echo "$as_me:5930: result: $cf_cv_ncurses_header" >&5
    4383 +echo "$as_me:6150: result: $cf_cv_ncurses_header" >&5
     4826+echo "$as_me:5984: result: $cf_cv_ncurses_header" >&5
    43844827 echo "${ECHO_T}$cf_cv_ncurses_header" >&6
    43854828 
    43864829 if test "$cf_cv_ncurses_header" = none ; then
    43874830-       { { echo "$as_me:5934: error: No curses header-files found" >&5
    4388 +       { { echo "$as_me:6154: error: No curses header-files found" >&5
     4831+       { { echo "$as_me:5988: error: No curses header-files found" >&5
    43894832 echo "$as_me: error: No curses header-files found" >&2;}
    43904833    { (exit 1); exit 1; }; }
    43914834 fi
    4392 @@ -5941,23 +6161,23 @@
     4835@@ -5941,23 +5995,23 @@
    43934836 for ac_header in $cf_cv_ncurses_header
    43944837 do
    43954838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    43964839-echo "$as_me:5944: checking for $ac_header" >&5
    4397 +echo "$as_me:6164: checking for $ac_header" >&5
     4840+echo "$as_me:5998: checking for $ac_header" >&5
    43984841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    43994842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    44024845   cat >conftest.$ac_ext <<_ACEOF
    44034846-#line 5950 "configure"
    4404 +#line 6170 "configure"
     4847+#line 6004 "configure"
    44054848 #include "confdefs.h"
    44064849 #include <$ac_header>
    44074850 _ACEOF
    44084851-if { (eval echo "$as_me:5954: \"$ac_cpp conftest.$ac_ext\"") >&5
    4409 +if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
     4852+if { (eval echo "$as_me:6008: \"$ac_cpp conftest.$ac_ext\"") >&5
    44104853   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    44114854   ac_status=$?
     
    44144857   cat conftest.err >&5
    44154858-  echo "$as_me:5960: \$? = $ac_status" >&5
    4416 +  echo "$as_me:6180: \$? = $ac_status" >&5
     4859+  echo "$as_me:6014: \$? = $ac_status" >&5
    44174860   (exit $ac_status); } >/dev/null; then
    44184861   if test -s conftest.err; then
    44194862     ac_cpp_err=$ac_c_preproc_warn_flag
    4420 @@ -5976,7 +6196,7 @@
     4863@@ -5976,7 +6030,7 @@
    44214864 fi
    44224865 rm -f conftest.err conftest.$ac_ext
    44234866 fi
    44244867-echo "$as_me:5979: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4425 +echo "$as_me:6199: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4868+echo "$as_me:6033: result: `eval echo '${'$as_ac_Header'}'`" >&5
    44264869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    44274870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    44284871   cat >>confdefs.h <<EOF
    4429 @@ -6029,7 +6249,7 @@
     4872@@ -6029,7 +6083,7 @@
    44304873                          cf_save_CPPFLAGS=$CPPFLAGS
    44314874                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    44324875                          cat >conftest.$ac_ext <<_ACEOF
    44334876-#line 6032 "configure"
    4434 +#line 6252 "configure"
     4877+#line 6086 "configure"
    44354878 #include "confdefs.h"
    44364879 #include <stdio.h>
    44374880 int
    4438 @@ -6041,16 +6261,16 @@
     4881@@ -6041,16 +6095,16 @@
    44394882 }
    44404883 _ACEOF
    44414884 rm -f conftest.$ac_objext
    44424885-if { (eval echo "$as_me:6044: \"$ac_compile\"") >&5
    4443 +if { (eval echo "$as_me:6264: \"$ac_compile\"") >&5
     4886+if { (eval echo "$as_me:6098: \"$ac_compile\"") >&5
    44444887   (eval $ac_compile) 2>&5
    44454888   ac_status=$?
    44464889-  echo "$as_me:6047: \$? = $ac_status" >&5
    4447 +  echo "$as_me:6267: \$? = $ac_status" >&5
     4890+  echo "$as_me:6101: \$? = $ac_status" >&5
    44484891   (exit $ac_status); } &&
    44494892          { ac_try='test -s conftest.$ac_objext'
    44504893-  { (eval echo "$as_me:6050: \"$ac_try\"") >&5
    4451 +  { (eval echo "$as_me:6270: \"$ac_try\"") >&5
     4894+  { (eval echo "$as_me:6104: \"$ac_try\"") >&5
    44524895   (eval $ac_try) 2>&5
    44534896   ac_status=$?
    44544897-  echo "$as_me:6053: \$? = $ac_status" >&5
    4455 +  echo "$as_me:6273: \$? = $ac_status" >&5
     4898+  echo "$as_me:6107: \$? = $ac_status" >&5
    44564899   (exit $ac_status); }; }; then
    44574900   :
    44584901 else
    4459 @@ -6067,7 +6287,7 @@
     4902@@ -6067,7 +6121,7 @@
    44604903                if test "$cf_have_incdir" = no ; then
    44614904                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    44624905 
    44634906-echo "${as_me:-configure}:6070: testing adding $cf_add_incdir to include-path ..." 1>&5
    4464 +echo "${as_me:-configure}:6290: testing adding $cf_add_incdir to include-path ..." 1>&5
     4907+echo "${as_me:-configure}:6124: testing adding $cf_add_incdir to include-path ..." 1>&5
    44654908 
    44664909                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    44674910 
    4468 @@ -6084,7 +6304,7 @@
     4911@@ -6084,7 +6138,7 @@
    44694912 
    44704913 }
    44714914 
    44724915-echo "$as_me:6087: checking for $cf_ncuhdr_root header in include-path" >&5
    4473 +echo "$as_me:6307: checking for $cf_ncuhdr_root header in include-path" >&5
     4916+echo "$as_me:6141: checking for $cf_ncuhdr_root header in include-path" >&5
    44744917 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6
    44754918 if test "${cf_cv_ncurses_h+set}" = set; then
    44764919   echo $ECHO_N "(cached) $ECHO_C" >&6
    4477 @@ -6096,7 +6316,7 @@
     4920@@ -6096,7 +6150,7 @@
    44784921        do
    44794922 
    44804923        cat >conftest.$ac_ext <<_ACEOF
    44814924-#line 6099 "configure"
    4482 +#line 6319 "configure"
     4925+#line 6153 "configure"
    44834926 #include "confdefs.h"
    44844927 
    44854928 #include <$cf_header>
    4486 @@ -6120,16 +6340,16 @@
     4929@@ -6120,16 +6174,16 @@
    44874930 }
    44884931 _ACEOF
    44894932 rm -f conftest.$ac_objext
    44904933-if { (eval echo "$as_me:6123: \"$ac_compile\"") >&5
    4491 +if { (eval echo "$as_me:6343: \"$ac_compile\"") >&5
     4934+if { (eval echo "$as_me:6177: \"$ac_compile\"") >&5
    44924935   (eval $ac_compile) 2>&5
    44934936   ac_status=$?
    44944937-  echo "$as_me:6126: \$? = $ac_status" >&5
    4495 +  echo "$as_me:6346: \$? = $ac_status" >&5
     4938+  echo "$as_me:6180: \$? = $ac_status" >&5
    44964939   (exit $ac_status); } &&
    44974940          { ac_try='test -s conftest.$ac_objext'
    44984941-  { (eval echo "$as_me:6129: \"$ac_try\"") >&5
    4499 +  { (eval echo "$as_me:6349: \"$ac_try\"") >&5
     4942+  { (eval echo "$as_me:6183: \"$ac_try\"") >&5
    45004943   (eval $ac_try) 2>&5
    45014944   ac_status=$?
    45024945-  echo "$as_me:6132: \$? = $ac_status" >&5
    4503 +  echo "$as_me:6352: \$? = $ac_status" >&5
     4946+  echo "$as_me:6186: \$? = $ac_status" >&5
    45044947   (exit $ac_status); }; }; then
    45054948   cf_cv_ncurses_h=$cf_header
    45064949 
    4507 @@ -6144,14 +6364,14 @@
     4950@@ -6144,14 +6198,14 @@
    45084951        done
    45094952 
    45104953 fi
    45114954-echo "$as_me:6147: result: $cf_cv_ncurses_h" >&5
    4512 +echo "$as_me:6367: result: $cf_cv_ncurses_h" >&5
     4955+echo "$as_me:6201: result: $cf_cv_ncurses_h" >&5
    45134956 echo "${ECHO_T}$cf_cv_ncurses_h" >&6
    45144957 
     
    45184961 
    45194962-echo "$as_me:6154: checking for $cf_ncuhdr_root include-path" >&5
    4520 +echo "$as_me:6374: checking for $cf_ncuhdr_root include-path" >&5
     4963+echo "$as_me:6208: checking for $cf_ncuhdr_root include-path" >&5
    45214964 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6
    45224965 if test "${cf_cv_ncurses_h2+set}" = set; then
    45234966   echo $ECHO_N "(cached) $ECHO_C" >&6
    4524 @@ -6291,7 +6511,7 @@
     4967@@ -6291,7 +6345,7 @@
    45254968                          cf_save_CPPFLAGS=$CPPFLAGS
    45264969                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    45274970                          cat >conftest.$ac_ext <<_ACEOF
    45284971-#line 6294 "configure"
    4529 +#line 6514 "configure"
     4972+#line 6348 "configure"
    45304973 #include "confdefs.h"
    45314974 #include <stdio.h>
    45324975 int
    4533 @@ -6303,16 +6523,16 @@
     4976@@ -6303,16 +6357,16 @@
    45344977 }
    45354978 _ACEOF
    45364979 rm -f conftest.$ac_objext
    45374980-if { (eval echo "$as_me:6306: \"$ac_compile\"") >&5
    4538 +if { (eval echo "$as_me:6526: \"$ac_compile\"") >&5
     4981+if { (eval echo "$as_me:6360: \"$ac_compile\"") >&5
    45394982   (eval $ac_compile) 2>&5
    45404983   ac_status=$?
    45414984-  echo "$as_me:6309: \$? = $ac_status" >&5
    4542 +  echo "$as_me:6529: \$? = $ac_status" >&5
     4985+  echo "$as_me:6363: \$? = $ac_status" >&5
    45434986   (exit $ac_status); } &&
    45444987          { ac_try='test -s conftest.$ac_objext'
    45454988-  { (eval echo "$as_me:6312: \"$ac_try\"") >&5
    4546 +  { (eval echo "$as_me:6532: \"$ac_try\"") >&5
     4989+  { (eval echo "$as_me:6366: \"$ac_try\"") >&5
    45474990   (eval $ac_try) 2>&5
    45484991   ac_status=$?
    45494992-  echo "$as_me:6315: \$? = $ac_status" >&5
    4550 +  echo "$as_me:6535: \$? = $ac_status" >&5
     4993+  echo "$as_me:6369: \$? = $ac_status" >&5
    45514994   (exit $ac_status); }; }; then
    45524995   :
    45534996 else
    4554 @@ -6329,7 +6549,7 @@
     4997@@ -6329,7 +6383,7 @@
    45554998                if test "$cf_have_incdir" = no ; then
    45564999                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    45575000 
    45585001-echo "${as_me:-configure}:6332: testing adding $cf_add_incdir to include-path ..." 1>&5
    4559 +echo "${as_me:-configure}:6552: testing adding $cf_add_incdir to include-path ..." 1>&5
     5002+echo "${as_me:-configure}:6386: testing adding $cf_add_incdir to include-path ..." 1>&5
    45605003 
    45615004                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    45625005 
    4563 @@ -6350,7 +6570,7 @@
     5006@@ -6350,7 +6404,7 @@
    45645007                do
    45655008 
    45665009        cat >conftest.$ac_ext <<_ACEOF
    45675010-#line 6353 "configure"
    4568 +#line 6573 "configure"
     5011+#line 6407 "configure"
    45695012 #include "confdefs.h"
    45705013 
    45715014 #include <$cf_header>
    4572 @@ -6374,16 +6594,16 @@
     5015@@ -6374,16 +6428,16 @@
    45735016 }
    45745017 _ACEOF
    45755018 rm -f conftest.$ac_objext
    45765019-if { (eval echo "$as_me:6377: \"$ac_compile\"") >&5
    4577 +if { (eval echo "$as_me:6597: \"$ac_compile\"") >&5
     5020+if { (eval echo "$as_me:6431: \"$ac_compile\"") >&5
    45785021   (eval $ac_compile) 2>&5
    45795022   ac_status=$?
    45805023-  echo "$as_me:6380: \$? = $ac_status" >&5
    4581 +  echo "$as_me:6600: \$? = $ac_status" >&5
     5024+  echo "$as_me:6434: \$? = $ac_status" >&5
    45825025   (exit $ac_status); } &&
    45835026          { ac_try='test -s conftest.$ac_objext'
    45845027-  { (eval echo "$as_me:6383: \"$ac_try\"") >&5
    4585 +  { (eval echo "$as_me:6603: \"$ac_try\"") >&5
     5028+  { (eval echo "$as_me:6437: \"$ac_try\"") >&5
    45865029   (eval $ac_try) 2>&5
    45875030   ac_status=$?
    45885031-  echo "$as_me:6386: \$? = $ac_status" >&5
    4589 +  echo "$as_me:6606: \$? = $ac_status" >&5
     5032+  echo "$as_me:6440: \$? = $ac_status" >&5
    45905033   (exit $ac_status); }; }; then
    45915034   cf_cv_ncurses_h2=$cf_header
    45925035 
    4593 @@ -6404,12 +6624,12 @@
     5036@@ -6404,12 +6458,12 @@
    45945037                CPPFLAGS="$cf_save2_CPPFLAGS"
    45955038                test "$cf_cv_ncurses_h2" != no && break
    45965039        done
    45975040-       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6407: error: not found" >&5
    4598 +       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6627: error: not found" >&5
     5041+       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6461: error: not found" >&5
    45995042 echo "$as_me: error: not found" >&2;}
    46005043    { (exit 1); exit 1; }; }
     
    46025045 fi
    46035046-echo "$as_me:6412: result: $cf_cv_ncurses_h2" >&5
    4604 +echo "$as_me:6632: result: $cf_cv_ncurses_h2" >&5
     5047+echo "$as_me:6466: result: $cf_cv_ncurses_h2" >&5
    46055048 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6
    46065049 
    46075050        cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'`
    4608 @@ -6442,7 +6662,7 @@
     5051@@ -6442,7 +6496,7 @@
    46095052                          cf_save_CPPFLAGS=$CPPFLAGS
    46105053                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    46115054                          cat >conftest.$ac_ext <<_ACEOF
    46125055-#line 6445 "configure"
    4613 +#line 6665 "configure"
     5056+#line 6499 "configure"
    46145057 #include "confdefs.h"
    46155058 #include <stdio.h>
    46165059 int
    4617 @@ -6454,16 +6674,16 @@
     5060@@ -6454,16 +6508,16 @@
    46185061 }
    46195062 _ACEOF
    46205063 rm -f conftest.$ac_objext
    46215064-if { (eval echo "$as_me:6457: \"$ac_compile\"") >&5
    4622 +if { (eval echo "$as_me:6677: \"$ac_compile\"") >&5
     5065+if { (eval echo "$as_me:6511: \"$ac_compile\"") >&5
    46235066   (eval $ac_compile) 2>&5
    46245067   ac_status=$?
    46255068-  echo "$as_me:6460: \$? = $ac_status" >&5
    4626 +  echo "$as_me:6680: \$? = $ac_status" >&5
     5069+  echo "$as_me:6514: \$? = $ac_status" >&5
    46275070   (exit $ac_status); } &&
    46285071          { ac_try='test -s conftest.$ac_objext'
    46295072-  { (eval echo "$as_me:6463: \"$ac_try\"") >&5
    4630 +  { (eval echo "$as_me:6683: \"$ac_try\"") >&5
     5073+  { (eval echo "$as_me:6517: \"$ac_try\"") >&5
    46315074   (eval $ac_try) 2>&5
    46325075   ac_status=$?
    46335076-  echo "$as_me:6466: \$? = $ac_status" >&5
    4634 +  echo "$as_me:6686: \$? = $ac_status" >&5
     5077+  echo "$as_me:6520: \$? = $ac_status" >&5
    46355078   (exit $ac_status); }; }; then
    46365079   :
    46375080 else
    4638 @@ -6480,7 +6700,7 @@
     5081@@ -6480,7 +6534,7 @@
    46395082                if test "$cf_have_incdir" = no ; then
    46405083                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    46415084 
    46425085-echo "${as_me:-configure}:6483: testing adding $cf_add_incdir to include-path ..." 1>&5
    4643 +echo "${as_me:-configure}:6703: testing adding $cf_add_incdir to include-path ..." 1>&5
     5086+echo "${as_me:-configure}:6537: testing adding $cf_add_incdir to include-path ..." 1>&5
    46445087 
    46455088                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    46465089 
    4647 @@ -6523,7 +6743,7 @@
     5090@@ -6523,7 +6577,7 @@
    46485091        ;;
    46495092 esac
    46505093 
    46515094-echo "$as_me:6526: checking for terminfo header" >&5
    4652 +echo "$as_me:6746: checking for terminfo header" >&5
     5095+echo "$as_me:6580: checking for terminfo header" >&5
    46535096 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
    46545097 if test "${cf_cv_term_header+set}" = set; then
    46555098   echo $ECHO_N "(cached) $ECHO_C" >&6
    4656 @@ -6541,7 +6761,7 @@
     5099@@ -6541,7 +6595,7 @@
    46575100 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
    46585101 do
    46595102 cat >conftest.$ac_ext <<_ACEOF
    46605103-#line 6544 "configure"
    4661 +#line 6764 "configure"
     5104+#line 6598 "configure"
    46625105 #include "confdefs.h"
    46635106 #include <stdio.h>
    46645107 #include <${cf_cv_ncurses_header:-curses.h}>
    4665 @@ -6556,16 +6776,16 @@
     5108@@ -6556,16 +6610,16 @@
    46665109 }
    46675110 _ACEOF
    46685111 rm -f conftest.$ac_objext
    46695112-if { (eval echo "$as_me:6559: \"$ac_compile\"") >&5
    4670 +if { (eval echo "$as_me:6779: \"$ac_compile\"") >&5
     5113+if { (eval echo "$as_me:6613: \"$ac_compile\"") >&5
    46715114   (eval $ac_compile) 2>&5
    46725115   ac_status=$?
    46735116-  echo "$as_me:6562: \$? = $ac_status" >&5
    4674 +  echo "$as_me:6782: \$? = $ac_status" >&5
     5117+  echo "$as_me:6616: \$? = $ac_status" >&5
    46755118   (exit $ac_status); } &&
    46765119          { ac_try='test -s conftest.$ac_objext'
    46775120-  { (eval echo "$as_me:6565: \"$ac_try\"") >&5
    4678 +  { (eval echo "$as_me:6785: \"$ac_try\"") >&5
     5121+  { (eval echo "$as_me:6619: \"$ac_try\"") >&5
    46795122   (eval $ac_try) 2>&5
    46805123   ac_status=$?
    46815124-  echo "$as_me:6568: \$? = $ac_status" >&5
    4682 +  echo "$as_me:6788: \$? = $ac_status" >&5
     5125+  echo "$as_me:6622: \$? = $ac_status" >&5
    46835126   (exit $ac_status); }; }; then
    46845127 
    46855128        cf_cv_term_header="$cf_test"
    4686 @@ -6581,7 +6801,7 @@
     5129@@ -6581,7 +6635,7 @@
    46875130 done
    46885131 
    46895132 fi
    46905133-echo "$as_me:6584: result: $cf_cv_term_header" >&5
    4691 +echo "$as_me:6804: result: $cf_cv_term_header" >&5
     5134+echo "$as_me:6638: result: $cf_cv_term_header" >&5
    46925135 echo "${ECHO_T}$cf_cv_term_header" >&6
    46935136 
    46945137 # Set definitions to allow ifdef'ing to accommodate subdirectories
    4695 @@ -6615,7 +6835,7 @@
     5138@@ -6615,7 +6669,7 @@
    46965139 #define NCURSES 1
    46975140 EOF
    46985141 
    46995142-echo "$as_me:6618: checking for ncurses version" >&5
    4700 +echo "$as_me:6838: checking for ncurses version" >&5
     5143+echo "$as_me:6672: checking for ncurses version" >&5
    47015144 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
    47025145 if test "${cf_cv_ncurses_version+set}" = set; then
    47035146   echo $ECHO_N "(cached) $ECHO_C" >&6
    4704 @@ -6641,10 +6861,10 @@
     5147@@ -6641,10 +6695,10 @@
    47055148 #endif
    47065149 EOF
    47075150        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    47085151-       { (eval echo "$as_me:6644: \"$cf_try\"") >&5
    4709 +       { (eval echo "$as_me:6864: \"$cf_try\"") >&5
     5152+       { (eval echo "$as_me:6698: \"$cf_try\"") >&5
    47105153   (eval $cf_try) 2>&5
    47115154   ac_status=$?
    47125155-  echo "$as_me:6647: \$? = $ac_status" >&5
    4713 +  echo "$as_me:6867: \$? = $ac_status" >&5
     5156+  echo "$as_me:6701: \$? = $ac_status" >&5
    47145157   (exit $ac_status); }
    47155158        if test -f conftest.out ; then
    47165159                cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
    4717 @@ -6654,7 +6874,7 @@
     5160@@ -6654,7 +6708,7 @@
    47185161 
    47195162 else
    47205163   cat >conftest.$ac_ext <<_ACEOF
    47215164-#line 6657 "configure"
    4722 +#line 6877 "configure"
     5165+#line 6711 "configure"
    47235166 #include "confdefs.h"
    47245167 
    47255168 #include <${cf_cv_ncurses_header:-curses.h}>
    4726 @@ -6679,15 +6899,15 @@
     5169@@ -6679,15 +6733,15 @@
    47275170 }
    47285171 _ACEOF
    47295172 rm -f conftest$ac_exeext
    47305173-if { (eval echo "$as_me:6682: \"$ac_link\"") >&5
    4731 +if { (eval echo "$as_me:6902: \"$ac_link\"") >&5
     5174+if { (eval echo "$as_me:6736: \"$ac_link\"") >&5
    47325175   (eval $ac_link) 2>&5
    47335176   ac_status=$?
    47345177-  echo "$as_me:6685: \$? = $ac_status" >&5
    4735 +  echo "$as_me:6905: \$? = $ac_status" >&5
     5178+  echo "$as_me:6739: \$? = $ac_status" >&5
    47365179   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    47375180-  { (eval echo "$as_me:6687: \"$ac_try\"") >&5
    4738 +  { (eval echo "$as_me:6907: \"$ac_try\"") >&5
     5181+  { (eval echo "$as_me:6741: \"$ac_try\"") >&5
    47395182   (eval $ac_try) 2>&5
    47405183   ac_status=$?
    47415184-  echo "$as_me:6690: \$? = $ac_status" >&5
    4742 +  echo "$as_me:6910: \$? = $ac_status" >&5
     5185+  echo "$as_me:6744: \$? = $ac_status" >&5
    47435186   (exit $ac_status); }; }; then
    47445187 
    47455188        cf_cv_ncurses_version=`cat $cf_tempfile`
    4746 @@ -6701,7 +6921,7 @@
     5189@@ -6701,7 +6755,7 @@
    47475190        rm -f $cf_tempfile
    47485191 
    47495192 fi
    47505193-echo "$as_me:6704: result: $cf_cv_ncurses_version" >&5
    4751 +echo "$as_me:6924: result: $cf_cv_ncurses_version" >&5
     5194+echo "$as_me:6758: result: $cf_cv_ncurses_version" >&5
    47525195 echo "${ECHO_T}$cf_cv_ncurses_version" >&6
    47535196 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
    47545197 #define NCURSES 1
    4755 @@ -6713,7 +6933,7 @@
     5198@@ -6713,7 +6767,7 @@
    47565199        # to link gpm.
    47575200 cf_ncurses_LIBS=""
    47585201 cf_ncurses_SAVE="$LIBS"
    47595202-echo "$as_me:6716: checking for Gpm_Open in -lgpm" >&5
    4760 +echo "$as_me:6936: checking for Gpm_Open in -lgpm" >&5
     5203+echo "$as_me:6770: checking for Gpm_Open in -lgpm" >&5
    47615204 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
    47625205 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
    47635206   echo $ECHO_N "(cached) $ECHO_C" >&6
    4764 @@ -6721,7 +6941,7 @@
     5207@@ -6721,7 +6775,7 @@
    47655208   ac_check_lib_save_LIBS=$LIBS
    47665209 LIBS="-lgpm  $LIBS"
    47675210 cat >conftest.$ac_ext <<_ACEOF
    47685211-#line 6724 "configure"
    4769 +#line 6944 "configure"
     5212+#line 6778 "configure"
    47705213 #include "confdefs.h"
    47715214 
    47725215 /* Override any gcc2 internal prototype to avoid an error.  */
    4773 @@ -6740,16 +6960,16 @@
     5216@@ -6740,16 +6794,16 @@
    47745217 }
    47755218 _ACEOF
    47765219 rm -f conftest.$ac_objext conftest$ac_exeext
    47775220-if { (eval echo "$as_me:6743: \"$ac_link\"") >&5
    4778 +if { (eval echo "$as_me:6963: \"$ac_link\"") >&5
     5221+if { (eval echo "$as_me:6797: \"$ac_link\"") >&5
    47795222   (eval $ac_link) 2>&5
    47805223   ac_status=$?
    47815224-  echo "$as_me:6746: \$? = $ac_status" >&5
    4782 +  echo "$as_me:6966: \$? = $ac_status" >&5
     5225+  echo "$as_me:6800: \$? = $ac_status" >&5
    47835226   (exit $ac_status); } &&
    47845227          { ac_try='test -s conftest$ac_exeext'
    47855228-  { (eval echo "$as_me:6749: \"$ac_try\"") >&5
    4786 +  { (eval echo "$as_me:6969: \"$ac_try\"") >&5
     5229+  { (eval echo "$as_me:6803: \"$ac_try\"") >&5
    47875230   (eval $ac_try) 2>&5
    47885231   ac_status=$?
    47895232-  echo "$as_me:6752: \$? = $ac_status" >&5
    4790 +  echo "$as_me:6972: \$? = $ac_status" >&5
     5233+  echo "$as_me:6806: \$? = $ac_status" >&5
    47915234   (exit $ac_status); }; }; then
    47925235   ac_cv_lib_gpm_Gpm_Open=yes
    47935236 else
    4794 @@ -6760,10 +6980,10 @@
     5237@@ -6760,10 +6814,10 @@
    47955238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    47965239 LIBS=$ac_check_lib_save_LIBS
    47975240 fi
    47985241-echo "$as_me:6763: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    4799 +echo "$as_me:6983: result: $ac_cv_lib_gpm_Gpm_Open" >&5
     5242+echo "$as_me:6817: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    48005243 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
    48015244 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
    48025245-  echo "$as_me:6766: checking for initscr in -lgpm" >&5
    4803 +  echo "$as_me:6986: checking for initscr in -lgpm" >&5
     5246+  echo "$as_me:6820: checking for initscr in -lgpm" >&5
    48045247 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6
    48055248 if test "${ac_cv_lib_gpm_initscr+set}" = set; then
    48065249   echo $ECHO_N "(cached) $ECHO_C" >&6
    4807 @@ -6771,7 +6991,7 @@
     5250@@ -6771,7 +6825,7 @@
    48085251   ac_check_lib_save_LIBS=$LIBS
    48095252 LIBS="-lgpm  $LIBS"
    48105253 cat >conftest.$ac_ext <<_ACEOF
    48115254-#line 6774 "configure"
    4812 +#line 6994 "configure"
     5255+#line 6828 "configure"
    48135256 #include "confdefs.h"
    48145257 
    48155258 /* Override any gcc2 internal prototype to avoid an error.  */
    4816 @@ -6790,16 +7010,16 @@
     5259@@ -6790,16 +6844,16 @@
    48175260 }
    48185261 _ACEOF
    48195262 rm -f conftest.$ac_objext conftest$ac_exeext
    48205263-if { (eval echo "$as_me:6793: \"$ac_link\"") >&5
    4821 +if { (eval echo "$as_me:7013: \"$ac_link\"") >&5
     5264+if { (eval echo "$as_me:6847: \"$ac_link\"") >&5
    48225265   (eval $ac_link) 2>&5
    48235266   ac_status=$?
    48245267-  echo "$as_me:6796: \$? = $ac_status" >&5
    4825 +  echo "$as_me:7016: \$? = $ac_status" >&5
     5268+  echo "$as_me:6850: \$? = $ac_status" >&5
    48265269   (exit $ac_status); } &&
    48275270          { ac_try='test -s conftest$ac_exeext'
    48285271-  { (eval echo "$as_me:6799: \"$ac_try\"") >&5
    4829 +  { (eval echo "$as_me:7019: \"$ac_try\"") >&5
     5272+  { (eval echo "$as_me:6853: \"$ac_try\"") >&5
    48305273   (eval $ac_try) 2>&5
    48315274   ac_status=$?
    48325275-  echo "$as_me:6802: \$? = $ac_status" >&5
    4833 +  echo "$as_me:7022: \$? = $ac_status" >&5
     5276+  echo "$as_me:6856: \$? = $ac_status" >&5
    48345277   (exit $ac_status); }; }; then
    48355278   ac_cv_lib_gpm_initscr=yes
    48365279 else
    4837 @@ -6810,7 +7030,7 @@
     5280@@ -6810,7 +6864,7 @@
    48385281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    48395282 LIBS=$ac_check_lib_save_LIBS
    48405283 fi
    48415284-echo "$as_me:6813: result: $ac_cv_lib_gpm_initscr" >&5
    4842 +echo "$as_me:7033: result: $ac_cv_lib_gpm_initscr" >&5
     5285+echo "$as_me:6867: result: $ac_cv_lib_gpm_initscr" >&5
    48435286 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6
    48445287 if test $ac_cv_lib_gpm_initscr = yes; then
    48455288   LIBS="$cf_ncurses_SAVE"
    4846 @@ -6825,7 +7045,7 @@
     5289@@ -6825,7 +6879,7 @@
    48475290        # This is only necessary if you are linking against an obsolete
    48485291        # version of ncurses (but it should do no harm, since it's static).
    48495292        if test "$cf_nculib_root" = ncurses ; then
    48505293-               echo "$as_me:6828: checking for tgoto in -lmytinfo" >&5
    4851 +               echo "$as_me:7048: checking for tgoto in -lmytinfo" >&5
     5294+               echo "$as_me:6882: checking for tgoto in -lmytinfo" >&5
    48525295 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
    48535296 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
    48545297   echo $ECHO_N "(cached) $ECHO_C" >&6
    4855 @@ -6833,7 +7053,7 @@
     5298@@ -6833,7 +6887,7 @@
    48565299   ac_check_lib_save_LIBS=$LIBS
    48575300 LIBS="-lmytinfo  $LIBS"
    48585301 cat >conftest.$ac_ext <<_ACEOF
    48595302-#line 6836 "configure"
    4860 +#line 7056 "configure"
     5303+#line 6890 "configure"
    48615304 #include "confdefs.h"
    48625305 
    48635306 /* Override any gcc2 internal prototype to avoid an error.  */
    4864 @@ -6852,16 +7072,16 @@
     5307@@ -6852,16 +6906,16 @@
    48655308 }
    48665309 _ACEOF
    48675310 rm -f conftest.$ac_objext conftest$ac_exeext
    48685311-if { (eval echo "$as_me:6855: \"$ac_link\"") >&5
    4869 +if { (eval echo "$as_me:7075: \"$ac_link\"") >&5
     5312+if { (eval echo "$as_me:6909: \"$ac_link\"") >&5
    48705313   (eval $ac_link) 2>&5
    48715314   ac_status=$?
    48725315-  echo "$as_me:6858: \$? = $ac_status" >&5
    4873 +  echo "$as_me:7078: \$? = $ac_status" >&5
     5316+  echo "$as_me:6912: \$? = $ac_status" >&5
    48745317   (exit $ac_status); } &&
    48755318          { ac_try='test -s conftest$ac_exeext'
    48765319-  { (eval echo "$as_me:6861: \"$ac_try\"") >&5
    4877 +  { (eval echo "$as_me:7081: \"$ac_try\"") >&5
     5320+  { (eval echo "$as_me:6915: \"$ac_try\"") >&5
    48785321   (eval $ac_try) 2>&5
    48795322   ac_status=$?
    48805323-  echo "$as_me:6864: \$? = $ac_status" >&5
    4881 +  echo "$as_me:7084: \$? = $ac_status" >&5
     5324+  echo "$as_me:6918: \$? = $ac_status" >&5
    48825325   (exit $ac_status); }; }; then
    48835326   ac_cv_lib_mytinfo_tgoto=yes
    48845327 else
    4885 @@ -6872,7 +7092,7 @@
     5328@@ -6872,7 +6926,7 @@
    48865329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    48875330 LIBS=$ac_check_lib_save_LIBS
    48885331 fi
    48895332-echo "$as_me:6875: result: $ac_cv_lib_mytinfo_tgoto" >&5
    4890 +echo "$as_me:7095: result: $ac_cv_lib_mytinfo_tgoto" >&5
     5333+echo "$as_me:6929: result: $ac_cv_lib_mytinfo_tgoto" >&5
    48915334 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
    48925335 if test $ac_cv_lib_mytinfo_tgoto = yes; then
    48935336   cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS"
    4894 @@ -6891,13 +7111,13 @@
     5337@@ -6891,13 +6945,13 @@
    48955338 
    48965339        eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
    48975340        cf_libdir=""
    48985341-       echo "$as_me:6894: checking for initscr" >&5
    4899 +       echo "$as_me:7114: checking for initscr" >&5
     5342+       echo "$as_me:6948: checking for initscr" >&5
    49005343 echo $ECHO_N "checking for initscr... $ECHO_C" >&6
    49015344 if test "${ac_cv_func_initscr+set}" = set; then
     
    49045347   cat >conftest.$ac_ext <<_ACEOF
    49055348-#line 6900 "configure"
    4906 +#line 7120 "configure"
     5349+#line 6954 "configure"
    49075350 #include "confdefs.h"
    49085351 /* System header to define __stub macros and hopefully few prototypes,
    49095352     which can conflict with char initscr (); below.  */
    4910 @@ -6928,16 +7148,16 @@
     5353@@ -6920,7 +6974,7 @@
     5354 #if defined (__stub_initscr) || defined (__stub___initscr)
     5355 choke me
     5356 #else
     5357-f = initscr;
     5358+f = initscr; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     5359 #endif
     5360 
     5361   ;
     5362@@ -6928,16 +6982,16 @@
    49115363 }
    49125364 _ACEOF
    49135365 rm -f conftest.$ac_objext conftest$ac_exeext
    49145366-if { (eval echo "$as_me:6931: \"$ac_link\"") >&5
    4915 +if { (eval echo "$as_me:7151: \"$ac_link\"") >&5
     5367+if { (eval echo "$as_me:6985: \"$ac_link\"") >&5
    49165368   (eval $ac_link) 2>&5
    49175369   ac_status=$?
    49185370-  echo "$as_me:6934: \$? = $ac_status" >&5
    4919 +  echo "$as_me:7154: \$? = $ac_status" >&5
     5371+  echo "$as_me:6988: \$? = $ac_status" >&5
    49205372   (exit $ac_status); } &&
    49215373          { ac_try='test -s conftest$ac_exeext'
    49225374-  { (eval echo "$as_me:6937: \"$ac_try\"") >&5
    4923 +  { (eval echo "$as_me:7157: \"$ac_try\"") >&5
     5375+  { (eval echo "$as_me:6991: \"$ac_try\"") >&5
    49245376   (eval $ac_try) 2>&5
    49255377   ac_status=$?
    49265378-  echo "$as_me:6940: \$? = $ac_status" >&5
    4927 +  echo "$as_me:7160: \$? = $ac_status" >&5
     5379+  echo "$as_me:6994: \$? = $ac_status" >&5
    49285380   (exit $ac_status); }; }; then
    49295381   ac_cv_func_initscr=yes
    49305382 else
    4931 @@ -6947,18 +7167,18 @@
     5383@@ -6947,18 +7001,18 @@
    49325384 fi
    49335385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    49345386 fi
    49355387-echo "$as_me:6950: result: $ac_cv_func_initscr" >&5
    4936 +echo "$as_me:7170: result: $ac_cv_func_initscr" >&5
     5388+echo "$as_me:7004: result: $ac_cv_func_initscr" >&5
    49375389 echo "${ECHO_T}$ac_cv_func_initscr" >&6
    49385390 if test $ac_cv_func_initscr = yes; then
     
    49425394                cf_save_LIBS="$LIBS"
    49435395-               echo "$as_me:6957: checking for initscr in -l$cf_nculib_root" >&5
    4944 +               echo "$as_me:7177: checking for initscr in -l$cf_nculib_root" >&5
     5396+               echo "$as_me:7011: checking for initscr in -l$cf_nculib_root" >&5
    49455397 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6
    49465398                LIBS="-l$cf_nculib_root $LIBS"
    49475399                cat >conftest.$ac_ext <<_ACEOF
    49485400-#line 6961 "configure"
    4949 +#line 7181 "configure"
     5401+#line 7015 "configure"
    49505402 #include "confdefs.h"
    49515403 #include <${cf_cv_ncurses_header:-curses.h}>
    49525404 int
    4953 @@ -6970,25 +7190,25 @@
     5405@@ -6970,25 +7024,25 @@
    49545406 }
    49555407 _ACEOF
    49565408 rm -f conftest.$ac_objext conftest$ac_exeext
    49575409-if { (eval echo "$as_me:6973: \"$ac_link\"") >&5
    4958 +if { (eval echo "$as_me:7193: \"$ac_link\"") >&5
     5410+if { (eval echo "$as_me:7027: \"$ac_link\"") >&5
    49595411   (eval $ac_link) 2>&5
    49605412   ac_status=$?
    49615413-  echo "$as_me:6976: \$? = $ac_status" >&5
    4962 +  echo "$as_me:7196: \$? = $ac_status" >&5
     5414+  echo "$as_me:7030: \$? = $ac_status" >&5
    49635415   (exit $ac_status); } &&
    49645416          { ac_try='test -s conftest$ac_exeext'
    49655417-  { (eval echo "$as_me:6979: \"$ac_try\"") >&5
    4966 +  { (eval echo "$as_me:7199: \"$ac_try\"") >&5
     5418+  { (eval echo "$as_me:7033: \"$ac_try\"") >&5
    49675419   (eval $ac_try) 2>&5
    49685420   ac_status=$?
    49695421-  echo "$as_me:6982: \$? = $ac_status" >&5
    4970 +  echo "$as_me:7202: \$? = $ac_status" >&5
     5422+  echo "$as_me:7036: \$? = $ac_status" >&5
    49715423   (exit $ac_status); }; }; then
    49725424-  echo "$as_me:6984: result: yes" >&5
    4973 +  echo "$as_me:7204: result: yes" >&5
     5425+  echo "$as_me:7038: result: yes" >&5
    49745426 echo "${ECHO_T}yes" >&6
    49755427                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    49795431 cat conftest.$ac_ext >&5
    49805432-echo "$as_me:6991: result: no" >&5
    4981 +echo "$as_me:7211: result: no" >&5
     5433+echo "$as_me:7045: result: no" >&5
    49825434 echo "${ECHO_T}no" >&6
    49835435 
    49845436 cf_search=
    4985 @@ -7078,11 +7298,11 @@
     5437@@ -7078,11 +7132,11 @@
    49865438 
    49875439                        for cf_libdir in $cf_search
    49885440                        do
    49895441-                               echo "$as_me:7081: checking for -l$cf_nculib_root in $cf_libdir" >&5
    4990 +                               echo "$as_me:7301: checking for -l$cf_nculib_root in $cf_libdir" >&5
     5442+                               echo "$as_me:7135: checking for -l$cf_nculib_root in $cf_libdir" >&5
    49915443 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6
    49925444                                LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
    49935445                                cat >conftest.$ac_ext <<_ACEOF
    49945446-#line 7085 "configure"
    4995 +#line 7305 "configure"
     5447+#line 7139 "configure"
    49965448 #include "confdefs.h"
    49975449 #include <${cf_cv_ncurses_header:-curses.h}>
    49985450 int
    4999 @@ -7094,25 +7314,25 @@
     5451@@ -7094,25 +7148,25 @@
    50005452 }
    50015453 _ACEOF
    50025454 rm -f conftest.$ac_objext conftest$ac_exeext
    50035455-if { (eval echo "$as_me:7097: \"$ac_link\"") >&5
    5004 +if { (eval echo "$as_me:7317: \"$ac_link\"") >&5
     5456+if { (eval echo "$as_me:7151: \"$ac_link\"") >&5
    50055457   (eval $ac_link) 2>&5
    50065458   ac_status=$?
    50075459-  echo "$as_me:7100: \$? = $ac_status" >&5
    5008 +  echo "$as_me:7320: \$? = $ac_status" >&5
     5460+  echo "$as_me:7154: \$? = $ac_status" >&5
    50095461   (exit $ac_status); } &&
    50105462          { ac_try='test -s conftest$ac_exeext'
    50115463-  { (eval echo "$as_me:7103: \"$ac_try\"") >&5
    5012 +  { (eval echo "$as_me:7323: \"$ac_try\"") >&5
     5464+  { (eval echo "$as_me:7157: \"$ac_try\"") >&5
    50135465   (eval $ac_try) 2>&5
    50145466   ac_status=$?
    50155467-  echo "$as_me:7106: \$? = $ac_status" >&5
    5016 +  echo "$as_me:7326: \$? = $ac_status" >&5
     5468+  echo "$as_me:7160: \$? = $ac_status" >&5
    50175469   (exit $ac_status); }; }; then
    50185470-  echo "$as_me:7108: result: yes" >&5
    5019 +  echo "$as_me:7328: result: yes" >&5
     5471+  echo "$as_me:7162: result: yes" >&5
    50205472 echo "${ECHO_T}yes" >&6
    50215473                                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    50255477 cat conftest.$ac_ext >&5
    50265478-echo "$as_me:7115: result: no" >&5
    5027 +echo "$as_me:7335: result: no" >&5
     5479+echo "$as_me:7169: result: no" >&5
    50285480 echo "${ECHO_T}no" >&6
    50295481                                         LIBS="$cf_save_LIBS"
    50305482 fi
    5031 @@ -7127,7 +7347,7 @@
     5483@@ -7127,7 +7181,7 @@
    50325484 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root
    50335485 
    50345486 if test $cf_found_library = no ; then
    50355487-       { { echo "$as_me:7130: error: Cannot link $cf_nculib_root library" >&5
    5036 +       { { echo "$as_me:7350: error: Cannot link $cf_nculib_root library" >&5
     5488+       { { echo "$as_me:7184: error: Cannot link $cf_nculib_root library" >&5
    50375489 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;}
    50385490    { (exit 1); exit 1; }; }
    50395491 fi
    5040 @@ -7135,7 +7355,7 @@
     5492@@ -7135,7 +7189,7 @@
    50415493 fi
    50425494 
    50435495 if test -n "$cf_ncurses_LIBS" ; then
    50445496-       echo "$as_me:7138: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    5045 +       echo "$as_me:7358: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     5497+       echo "$as_me:7192: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    50465498 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6
    50475499        cf_ncurses_SAVE="$LIBS"
    50485500        for p in $cf_ncurses_LIBS ; do
    5049 @@ -7145,7 +7365,7 @@
     5501@@ -7145,7 +7199,7 @@
    50505502                fi
    50515503        done
    50525504        cat >conftest.$ac_ext <<_ACEOF
    50535505-#line 7148 "configure"
    5054 +#line 7368 "configure"
     5506+#line 7202 "configure"
    50555507 #include "confdefs.h"
    50565508 #include <${cf_cv_ncurses_header:-curses.h}>
    50575509 int
    5058 @@ -7157,23 +7377,23 @@
     5510@@ -7157,23 +7211,23 @@
    50595511 }
    50605512 _ACEOF
    50615513 rm -f conftest.$ac_objext conftest$ac_exeext
    50625514-if { (eval echo "$as_me:7160: \"$ac_link\"") >&5
    5063 +if { (eval echo "$as_me:7380: \"$ac_link\"") >&5
     5515+if { (eval echo "$as_me:7214: \"$ac_link\"") >&5
    50645516   (eval $ac_link) 2>&5
    50655517   ac_status=$?
    50665518-  echo "$as_me:7163: \$? = $ac_status" >&5
    5067 +  echo "$as_me:7383: \$? = $ac_status" >&5
     5519+  echo "$as_me:7217: \$? = $ac_status" >&5
    50685520   (exit $ac_status); } &&
    50695521          { ac_try='test -s conftest$ac_exeext'
    50705522-  { (eval echo "$as_me:7166: \"$ac_try\"") >&5
    5071 +  { (eval echo "$as_me:7386: \"$ac_try\"") >&5
     5523+  { (eval echo "$as_me:7220: \"$ac_try\"") >&5
    50725524   (eval $ac_try) 2>&5
    50735525   ac_status=$?
    50745526-  echo "$as_me:7169: \$? = $ac_status" >&5
    5075 +  echo "$as_me:7389: \$? = $ac_status" >&5
     5527+  echo "$as_me:7223: \$? = $ac_status" >&5
    50765528   (exit $ac_status); }; }; then
    50775529-  echo "$as_me:7171: result: yes" >&5
    5078 +  echo "$as_me:7391: result: yes" >&5
     5530+  echo "$as_me:7225: result: yes" >&5
    50795531 echo "${ECHO_T}yes" >&6
    50805532 else
     
    50825534 cat conftest.$ac_ext >&5
    50835535-echo "$as_me:7176: result: no" >&5
    5084 +echo "$as_me:7396: result: no" >&5
     5536+echo "$as_me:7230: result: no" >&5
    50855537 echo "${ECHO_T}no" >&6
    50865538                 LIBS="$cf_ncurses_SAVE"
    50875539 fi
    5088 @@ -7210,10 +7430,10 @@
     5540@@ -7210,10 +7264,10 @@
    50895541 AUTOCONF_$cf_name NCURSES_VERSION_$cf_name
    50905542 CF_EOF
    50915543        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out"
    50925544-       { (eval echo "$as_me:7213: \"$cf_try\"") >&5
    5093 +       { (eval echo "$as_me:7433: \"$cf_try\"") >&5
     5545+       { (eval echo "$as_me:7267: \"$cf_try\"") >&5
    50945546   (eval $cf_try) 2>&5
    50955547   ac_status=$?
    50965548-  echo "$as_me:7216: \$? = $ac_status" >&5
    5097 +  echo "$as_me:7436: \$? = $ac_status" >&5
     5549+  echo "$as_me:7270: \$? = $ac_status" >&5
    50985550   (exit $ac_status); }
    50995551        if test -f conftest.out ; then
    51005552                cf_result=`cat conftest.out | sed -e "s/^.*AUTOCONF_$cf_name[   ][      ]*//"`
    5101 @@ -7231,9 +7451,25 @@
     5553@@ -7231,9 +7285,25 @@
    51025554 
    51035555 cf_cv_timestamp=`date`
    51045556 
    51055557-echo "$as_me:7234: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
    5106 +echo "$as_me:7454: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
     5558+echo "$as_me:7288: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
    51075559 echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6
    51085560 
    5109 +echo "$as_me:7457: checking if you want to have a library-prefix" >&5
     5561+echo "$as_me:7291: checking if you want to have a library-prefix" >&5
    51105562+echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6
    51115563+
     
    51175569+  with_lib_prefix=auto
    51185570+fi;
    5119 +echo "$as_me:7467: result: $with_lib_prefix" >&5
     5571+echo "$as_me:7301: result: $with_lib_prefix" >&5
    51205572+echo "${ECHO_T}$with_lib_prefix" >&6
    51215573+
     
    51265578        OS/2*|os2*) #(vi
    51275579         LIB_PREFIX=''
    5128 @@ -7243,7 +7479,12 @@
     5580@@ -7243,7 +7313,12 @@
    51295581        esac
    51305582 cf_prefix=$LIB_PREFIX
     
    51405592 LIB_SUFFIX=
    51415593 
    5142 @@ -7254,7 +7495,7 @@
     5594@@ -7254,7 +7329,7 @@
    51435595        test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT=''
    51445596 fi
    51455597 
    51465598-echo "$as_me:7257: checking for default loader flags" >&5
    5147 +echo "$as_me:7498: checking for default loader flags" >&5
     5599+echo "$as_me:7332: checking for default loader flags" >&5
    51485600 echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6
    51495601 case $DFT_LWR_MODEL in
    51505602 normal)  LD_MODEL=''   ;;
    5151 @@ -7262,11 +7503,11 @@
     5603@@ -7262,11 +7337,11 @@
    51525604 profile) LD_MODEL='-pg';;
    51535605 shared)  LD_MODEL=''   ;;
    51545606 esac
    51555607-echo "$as_me:7265: result: $LD_MODEL" >&5
    5156 +echo "$as_me:7506: result: $LD_MODEL" >&5
     5608+echo "$as_me:7340: result: $LD_MODEL" >&5
    51575609 echo "${ECHO_T}$LD_MODEL" >&6
    51585610 
    51595611 LD_RPATH_OPT=
    51605612-echo "$as_me:7269: checking for an rpath option" >&5
    5161 +echo "$as_me:7510: checking for an rpath option" >&5
     5613+echo "$as_me:7344: checking for an rpath option" >&5
    51625614 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
    51635615 case $cf_cv_system_name in #(vi
    51645616 irix*) #(vi
    5165 @@ -7279,10 +7520,10 @@
     5617@@ -7279,10 +7354,10 @@
    51665618 linux*|gnu*|k*bsd*-gnu) #(vi
    51675619        LD_RPATH_OPT="-Wl,-rpath,"
     
    51765628        ;;
    51775629 netbsd*) #(vi
    5178 @@ -7297,17 +7538,17 @@
     5630@@ -7297,17 +7372,17 @@
    51795631 *)
    51805632        ;;
    51815633 esac
    51825634-echo "$as_me:7300: result: $LD_RPATH_OPT" >&5
    5183 +echo "$as_me:7541: result: $LD_RPATH_OPT" >&5
     5635+echo "$as_me:7375: result: $LD_RPATH_OPT" >&5
    51845636 echo "${ECHO_T}$LD_RPATH_OPT" >&6
    51855637 
     
    51875639 x-R*)
    51885640-       echo "$as_me:7305: checking if we need a space after rpath option" >&5
    5189 +       echo "$as_me:7546: checking if we need a space after rpath option" >&5
     5641+       echo "$as_me:7380: checking if we need a space after rpath option" >&5
    51905642 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6
    51915643        cf_save_LIBS="$LIBS"
     
    51935645        cat >conftest.$ac_ext <<_ACEOF
    51945646-#line 7310 "configure"
    5195 +#line 7551 "configure"
     5647+#line 7385 "configure"
    51965648 #include "confdefs.h"
    51975649 
    51985650 int
    5199 @@ -7319,16 +7560,16 @@
     5651@@ -7319,16 +7394,16 @@
    52005652 }
    52015653 _ACEOF
    52025654 rm -f conftest.$ac_objext conftest$ac_exeext
    52035655-if { (eval echo "$as_me:7322: \"$ac_link\"") >&5
    5204 +if { (eval echo "$as_me:7563: \"$ac_link\"") >&5
     5656+if { (eval echo "$as_me:7397: \"$ac_link\"") >&5
    52055657   (eval $ac_link) 2>&5
    52065658   ac_status=$?
    52075659-  echo "$as_me:7325: \$? = $ac_status" >&5
    5208 +  echo "$as_me:7566: \$? = $ac_status" >&5
     5660+  echo "$as_me:7400: \$? = $ac_status" >&5
    52095661   (exit $ac_status); } &&
    52105662          { ac_try='test -s conftest$ac_exeext'
    52115663-  { (eval echo "$as_me:7328: \"$ac_try\"") >&5
    5212 +  { (eval echo "$as_me:7569: \"$ac_try\"") >&5
     5664+  { (eval echo "$as_me:7403: \"$ac_try\"") >&5
    52135665   (eval $ac_try) 2>&5
    52145666   ac_status=$?
    52155667-  echo "$as_me:7331: \$? = $ac_status" >&5
    5216 +  echo "$as_me:7572: \$? = $ac_status" >&5
     5668+  echo "$as_me:7406: \$? = $ac_status" >&5
    52175669   (exit $ac_status); }; }; then
    52185670   cf_rpath_space=no
    52195671 else
    5220 @@ -7338,7 +7579,7 @@
     5672@@ -7338,7 +7413,7 @@
    52215673 fi
    52225674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    52235675        LIBS="$cf_save_LIBS"
    52245676-       echo "$as_me:7341: result: $cf_rpath_space" >&5
    5225 +       echo "$as_me:7582: result: $cf_rpath_space" >&5
     5677+       echo "$as_me:7416: result: $cf_rpath_space" >&5
    52265678 echo "${ECHO_T}$cf_rpath_space" >&6
    52275679        test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT "
    52285680        ;;
    5229 @@ -7353,7 +7594,7 @@
     5681@@ -7353,7 +7428,7 @@
    52305682        cf_ld_rpath_opt=
    52315683        test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT"
    52325684 
    52335685-       echo "$as_me:7356: checking if release/abi version should be used for shared libs" >&5
    5234 +       echo "$as_me:7597: checking if release/abi version should be used for shared libs" >&5
     5686+       echo "$as_me:7431: checking if release/abi version should be used for shared libs" >&5
    52355687 echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6
    52365688 
    52375689 # Check whether --with-shlib-version or --without-shlib-version was given.
    5238 @@ -7368,7 +7609,7 @@
     5690@@ -7368,7 +7443,7 @@
    52395691                cf_cv_shlib_version=$withval
    52405692                ;;
    52415693        *)
    52425694-               { { echo "$as_me:7371: error: option value must be one of: rel, abi, auto or no" >&5
    5243 +               { { echo "$as_me:7612: error: option value must be one of: rel, abi, auto or no" >&5
     5695+               { { echo "$as_me:7446: error: option value must be one of: rel, abi, auto or no" >&5
    52445696 echo "$as_me: error: option value must be one of: rel, abi, auto or no" >&2;}
    52455697    { (exit 1); exit 1; }; }
    52465698                ;;
    5247 @@ -7377,7 +7618,7 @@
     5699@@ -7377,7 +7452,7 @@
    52485700 else
    52495701   cf_cv_shlib_version=auto
    52505702 fi;
    52515703-       echo "$as_me:7380: result: $cf_cv_shlib_version" >&5
    5252 +       echo "$as_me:7621: result: $cf_cv_shlib_version" >&5
     5704+       echo "$as_me:7455: result: $cf_cv_shlib_version" >&5
    52535705 echo "${ECHO_T}$cf_cv_shlib_version" >&6
    52545706 
    52555707        cf_cv_rm_so_locs=no
    5256 @@ -7386,14 +7627,14 @@
     5708@@ -7386,14 +7461,14 @@
    52575709        CC_SHARED_OPTS=
    52585710        if test "$GCC" = yes
    52595711        then
    52605712-               echo "$as_me:7389: checking which $CC option to use" >&5
    5261 +               echo "$as_me:7630: checking which $CC option to use" >&5
     5713+               echo "$as_me:7464: checking which $CC option to use" >&5
    52625714 echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6
    52635715                cf_save_CFLAGS="$CFLAGS"
     
    52675719                        cat >conftest.$ac_ext <<_ACEOF
    52685720-#line 7396 "configure"
    5269 +#line 7637 "configure"
     5721+#line 7471 "configure"
    52705722 #include "confdefs.h"
    52715723 #include <stdio.h>
    52725724 int
    5273 @@ -7405,16 +7646,16 @@
     5725@@ -7405,16 +7480,16 @@
    52745726 }
    52755727 _ACEOF
    52765728 rm -f conftest.$ac_objext
    52775729-if { (eval echo "$as_me:7408: \"$ac_compile\"") >&5
    5278 +if { (eval echo "$as_me:7649: \"$ac_compile\"") >&5
     5730+if { (eval echo "$as_me:7483: \"$ac_compile\"") >&5
    52795731   (eval $ac_compile) 2>&5
    52805732   ac_status=$?
    52815733-  echo "$as_me:7411: \$? = $ac_status" >&5
    5282 +  echo "$as_me:7652: \$? = $ac_status" >&5
     5734+  echo "$as_me:7486: \$? = $ac_status" >&5
    52835735   (exit $ac_status); } &&
    52845736          { ac_try='test -s conftest.$ac_objext'
    52855737-  { (eval echo "$as_me:7414: \"$ac_try\"") >&5
    5286 +  { (eval echo "$as_me:7655: \"$ac_try\"") >&5
     5738+  { (eval echo "$as_me:7489: \"$ac_try\"") >&5
    52875739   (eval $ac_try) 2>&5
    52885740   ac_status=$?
    52895741-  echo "$as_me:7417: \$? = $ac_status" >&5
    5290 +  echo "$as_me:7658: \$? = $ac_status" >&5
     5742+  echo "$as_me:7492: \$? = $ac_status" >&5
    52915743   (exit $ac_status); }; }; then
    52925744   break
    52935745 else
    5294 @@ -7423,7 +7664,7 @@
     5746@@ -7423,7 +7498,7 @@
    52955747 fi
    52965748 rm -f conftest.$ac_objext conftest.$ac_ext
    52975749                done
    52985750-               echo "$as_me:7426: result: $CC_SHARED_OPTS" >&5
    5299 +               echo "$as_me:7667: result: $CC_SHARED_OPTS" >&5
     5751+               echo "$as_me:7501: result: $CC_SHARED_OPTS" >&5
    53005752 echo "${ECHO_T}$CC_SHARED_OPTS" >&6
    53015753                CFLAGS="$cf_save_CFLAGS"
    53025754        fi
    5303 @@ -7431,10 +7672,14 @@
     5755@@ -7431,10 +7506,14 @@
    53045756        cf_cv_shlib_version_infix=no
    53055757 
     
    53185770                ;;
    53195771        beos*) #(vi
    5320 @@ -7465,7 +7710,7 @@
     5772@@ -7465,7 +7544,7 @@
    53215773                MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@'
    53225774                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi
    53235775                cf_cv_shlib_version_infix=yes
    53245776-               echo "$as_me:7468: checking if ld -search_paths_first works" >&5
    5325 +               echo "$as_me:7713: checking if ld -search_paths_first works" >&5
     5777+               echo "$as_me:7547: checking if ld -search_paths_first works" >&5
    53265778 echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6
    53275779 if test "${cf_cv_ldflags_search_paths_first+set}" = set; then
    53285780   echo $ECHO_N "(cached) $ECHO_C" >&6
    5329 @@ -7474,7 +7719,7 @@
     5781@@ -7474,7 +7553,7 @@
    53305782                        cf_save_LDFLAGS=$LDFLAGS
    53315783                        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    53325784                        cat >conftest.$ac_ext <<_ACEOF
    53335785-#line 7477 "configure"
    5334 +#line 7722 "configure"
     5786+#line 7556 "configure"
    53355787 #include "confdefs.h"
    53365788 
    53375789 int
    5338 @@ -7486,16 +7731,16 @@
     5790@@ -7486,16 +7565,16 @@
    53395791 }
    53405792 _ACEOF
    53415793 rm -f conftest.$ac_objext conftest$ac_exeext
    53425794-if { (eval echo "$as_me:7489: \"$ac_link\"") >&5
    5343 +if { (eval echo "$as_me:7734: \"$ac_link\"") >&5
     5795+if { (eval echo "$as_me:7568: \"$ac_link\"") >&5
    53445796   (eval $ac_link) 2>&5
    53455797   ac_status=$?
    53465798-  echo "$as_me:7492: \$? = $ac_status" >&5
    5347 +  echo "$as_me:7737: \$? = $ac_status" >&5
     5799+  echo "$as_me:7571: \$? = $ac_status" >&5
    53485800   (exit $ac_status); } &&
    53495801          { ac_try='test -s conftest$ac_exeext'
    53505802-  { (eval echo "$as_me:7495: \"$ac_try\"") >&5
    5351 +  { (eval echo "$as_me:7740: \"$ac_try\"") >&5
     5803+  { (eval echo "$as_me:7574: \"$ac_try\"") >&5
    53525804   (eval $ac_try) 2>&5
    53535805   ac_status=$?
    53545806-  echo "$as_me:7498: \$? = $ac_status" >&5
    5355 +  echo "$as_me:7743: \$? = $ac_status" >&5
     5807+  echo "$as_me:7577: \$? = $ac_status" >&5
    53565808   (exit $ac_status); }; }; then
    53575809   cf_cv_ldflags_search_paths_first=yes
    53585810 else
    5359 @@ -7506,7 +7751,7 @@
     5811@@ -7506,7 +7585,7 @@
    53605812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    53615813                                LDFLAGS=$cf_save_LDFLAGS
    53625814 fi
    53635815-echo "$as_me:7509: result: $cf_cv_ldflags_search_paths_first" >&5
    5364 +echo "$as_me:7754: result: $cf_cv_ldflags_search_paths_first" >&5
     5816+echo "$as_me:7588: result: $cf_cv_ldflags_search_paths_first" >&5
    53655817 echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6
    53665818                if test $cf_cv_ldflags_search_paths_first = yes; then
    53675819                        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5368 @@ -7525,9 +7770,19 @@
     5820@@ -7525,9 +7604,19 @@
    53695821                # readonly to exploit a quirk in the memory manager.
    53705822                INSTALL_LIB="-m 555"
     
    53875839                # tested with IRIX 5.2 and 'cc'.
    53885840                if test "$GCC" != yes; then
    5389 @@ -7544,7 +7799,7 @@
     5841@@ -7544,7 +7633,7 @@
    53905842                        LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
    53915843                fi
     
    53965848 
    53975849        test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
    5398 @@ -7556,13 +7811,13 @@
     5850@@ -7556,13 +7645,34 @@
    53995851 
    54005852                MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@'
    54015853                ;;
    54025854-       openbsd[2-9].*) #(vi
     5855+       mingw*) #(vi
     5856+               cf_cv_shlib_version=mingw
     5857+               cf_cv_shlib_version_infix=mingw
     5858+               CC_SHARED_OPTS=
     5859+               MK_SHARED_LIB='sh ../mk_shared_lib.sh $@ ${CC} ${CFLAGS}'
     5860+               #MK_SHARED_LIB='${CC} ${CFLAGS} -mdll -Wl,-soname,'$cf_cv_shared_soname',-stats -o $[@]'
     5861+               #MK_SHARED_LIB='${DLLTOOL} --export-all-symbols --output-exp --output-lib $[@]'
     5862+               cat >mk_shared_lib.sh <<-CF_EOF
     5863+               #!/bin/sh
     5864+               SHARED_LIB=\$1
     5865+               IMPORT_LIB=\`echo "\$1" | sed -e 's/[0-9]*\.dll$/.dll.a/'\`
     5866+               shift
     5867+               cat <<-EOF
     5868+               Linking shared library
     5869+               ** SHARED_LIB \$SHARED_LIB
     5870+               ** IMPORT_LIB \$IMPORT_LIB
     5871+EOF
     5872+               exec \$* -shared -Wl,--out-implib=../lib/\${IMPORT_LIB} -Wl,--export-all-symbols -o ../lib/\${SHARED_LIB}
     5873+CF_EOF
     5874+               chmod +x mk_shared_lib.sh
     5875+               ;;
    54035876+       openbsd[2-9].*|mirbsd*) #(vi
    54045877                if test "$DFT_LWR_MODEL" = "shared" ; then
     
    54125885                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
    54135886 
    5414 @@ -7580,12 +7835,12 @@
     5887@@ -7580,12 +7690,12 @@
    54155888                MK_SHARED_LIB='${LD} -Bshareable -o $@'
    54165889                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
     
    54285901 
    54295902        test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
    5430 @@ -7602,7 +7857,7 @@
     5903@@ -7602,7 +7712,7 @@
    54315904                if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then
    54325905                        LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)"
     
    54375910                        if test -f /usr/libexec/ld.elf_so; then
    54385911                                cf_cv_shlib_version=abi
    5439 @@ -7686,7 +7941,7 @@
     5912@@ -7686,7 +7796,7 @@
    54405913                        do
    54415914                                CFLAGS="$cf_shared_opts $cf_save_CFLAGS"
    54425915                                cat >conftest.$ac_ext <<_ACEOF
    54435916-#line 7689 "configure"
    5444 +#line 7944 "configure"
     5917+#line 7799 "configure"
    54455918 #include "confdefs.h"
    54465919 #include <stdio.h>
    54475920 int
    5448 @@ -7698,16 +7953,16 @@
     5921@@ -7698,16 +7808,16 @@
    54495922 }
    54505923 _ACEOF
    54515924 rm -f conftest.$ac_objext
    54525925-if { (eval echo "$as_me:7701: \"$ac_compile\"") >&5
    5453 +if { (eval echo "$as_me:7956: \"$ac_compile\"") >&5
     5926+if { (eval echo "$as_me:7811: \"$ac_compile\"") >&5
    54545927   (eval $ac_compile) 2>&5
    54555928   ac_status=$?
    54565929-  echo "$as_me:7704: \$? = $ac_status" >&5
    5457 +  echo "$as_me:7959: \$? = $ac_status" >&5
     5930+  echo "$as_me:7814: \$? = $ac_status" >&5
    54585931   (exit $ac_status); } &&
    54595932          { ac_try='test -s conftest.$ac_objext'
    54605933-  { (eval echo "$as_me:7707: \"$ac_try\"") >&5
    5461 +  { (eval echo "$as_me:7962: \"$ac_try\"") >&5
     5934+  { (eval echo "$as_me:7817: \"$ac_try\"") >&5
    54625935   (eval $ac_try) 2>&5
    54635936   ac_status=$?
    54645937-  echo "$as_me:7710: \$? = $ac_status" >&5
    5465 +  echo "$as_me:7965: \$? = $ac_status" >&5
     5938+  echo "$as_me:7820: \$? = $ac_status" >&5
    54665939   (exit $ac_status); }; }; then
    54675940   break
    54685941 else
    5469 @@ -7744,22 +7999,22 @@
     5942@@ -7744,22 +7854,30 @@
    54705943                        test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes
    54715944                        ;;
    54725945                *)
    54735946-                       { echo "$as_me:7747: WARNING: ignored --with-shlib-version" >&5
    5474 +                       { echo "$as_me:8002: WARNING: ignored --with-shlib-version" >&5
     5947+                       { echo "$as_me:7857: WARNING: ignored --with-shlib-version" >&5
    54755948 echo "$as_me: WARNING: ignored --with-shlib-version" >&2;}
    54765949                        ;;
     
    54855958+       test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}"
    54865959+       test -z "$RPATH_LIST" && RPATH_LIST="\${libdir}"
     5960+
     5961+       test -n "$verbose" && echo "    CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6
     5962+
     5963+echo "${as_me:-configure}:7870: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5
     5964+
     5965+       test -n "$verbose" && echo "    MK_SHARED_LIB:  $MK_SHARED_LIB" 1>&6
     5966+
     5967+echo "${as_me:-configure}:7874: testing MK_SHARED_LIB:  $MK_SHARED_LIB ..." 1>&5
    54875968 
    54885969 # The test/sample programs in the original tree link using rpath option.
     
    54915972 then
    54925973-       echo "$as_me:7762: checking if you want to link sample programs with rpath option" >&5
    5493 +       echo "$as_me:8017: checking if you want to link sample programs with rpath option" >&5
     5974+       echo "$as_me:7880: checking if you want to link sample programs with rpath option" >&5
    54945975 echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6
    54955976 
    54965977 # Check whether --enable-rpath-link or --disable-rpath-link was given.
    5497 @@ -7769,7 +8024,7 @@
     5978@@ -7769,7 +7887,7 @@
    54985979 else
    54995980   with_rpath_link=yes
    55005981 fi;
    55015982-       echo "$as_me:7772: result: $with_rpath_link" >&5
    5502 +       echo "$as_me:8027: result: $with_rpath_link" >&5
     5983+       echo "$as_me:7890: result: $with_rpath_link" >&5
    55035984 echo "${ECHO_T}$with_rpath_link" >&6
    55045985        if test "$with_rpath_link" = no
    55055986        then
    5506 @@ -7780,13 +8035,8 @@
     5987@@ -7780,13 +7898,8 @@
    55075988 
    55085989 ###############################################################################
     
    55155996 ###   use option --enable-broken-linker to force on use of broken-linker support
    55165997-echo "$as_me:7789: checking if you want broken-linker support code" >&5
    5517 +echo "$as_me:8039: checking if you want broken-linker support code" >&5
     5998+echo "$as_me:7902: checking if you want broken-linker support code" >&5
    55185999 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6
    55196000 
    55206001 # Check whether --enable-broken_linker or --disable-broken_linker was given.
    5521 @@ -7796,7 +8046,7 @@
     6002@@ -7796,7 +7909,7 @@
    55226003 else
    55236004   with_broken_linker=${BROKEN_LINKER:-no}
    55246005 fi;
    55256006-echo "$as_me:7799: result: $with_broken_linker" >&5
    5526 +echo "$as_me:8049: result: $with_broken_linker" >&5
     6007+echo "$as_me:7912: result: $with_broken_linker" >&5
    55276008 echo "${ECHO_T}$with_broken_linker" >&6
    55286009 
    55296010 BROKEN_LINKER=0
    5530 @@ -7816,7 +8066,7 @@
     6011@@ -7816,7 +7929,7 @@
    55316012                BROKEN_LINKER=1
    55326013                test -n "$verbose" && echo "    cygwin linker is broken anyway" 1>&6
    55336014 
    55346015-echo "${as_me:-configure}:7819: testing cygwin linker is broken anyway ..." 1>&5
    5535 +echo "${as_me:-configure}:8069: testing cygwin linker is broken anyway ..." 1>&5
     6016+echo "${as_me:-configure}:7932: testing cygwin linker is broken anyway ..." 1>&5
    55366017 
    55376018                ;;
    55386019        esac
    5539 @@ -7829,7 +8079,7 @@
     6020@@ -7829,7 +7942,7 @@
    55406021 cf_xopen_source=
    55416022 
     
    55466027        ;;
    55476028 cygwin) #(vi
    5548 @@ -7840,6 +8090,7 @@
     6029@@ -7840,6 +7953,7 @@
    55496030        ;;
    55506031 darwin*) #(vi
     
    55546035 freebsd*|dragonfly*) #(vi
    55556036        # 5.x headers associate
    5556 @@ -7857,17 +8108,18 @@
     6037@@ -7857,17 +7971,18 @@
    55576038        ;;
    55586039 irix[56].*) #(vi
     
    55636044 
    55646045-echo "$as_me:7863: checking if we must define _GNU_SOURCE" >&5
    5565 +echo "$as_me:8115: checking if we must define _GNU_SOURCE" >&5
     6046+echo "$as_me:7978: checking if we must define _GNU_SOURCE" >&5
    55666047 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
    55676048 if test "${cf_cv_gnu_source+set}" = set; then
     
    55716052 cat >conftest.$ac_ext <<_ACEOF
    55726053-#line 7870 "configure"
    5573 +#line 8122 "configure"
     6054+#line 7985 "configure"
    55746055 #include "confdefs.h"
    55756056 #include <sys/types.h>
    55766057 int
    5577 @@ -7882,16 +8134,16 @@
     6058@@ -7882,16 +7997,16 @@
    55786059 }
    55796060 _ACEOF
    55806061 rm -f conftest.$ac_objext
    55816062-if { (eval echo "$as_me:7885: \"$ac_compile\"") >&5
    5582 +if { (eval echo "$as_me:8137: \"$ac_compile\"") >&5
     6063+if { (eval echo "$as_me:8000: \"$ac_compile\"") >&5
    55836064   (eval $ac_compile) 2>&5
    55846065   ac_status=$?
    55856066-  echo "$as_me:7888: \$? = $ac_status" >&5
    5586 +  echo "$as_me:8140: \$? = $ac_status" >&5
     6067+  echo "$as_me:8003: \$? = $ac_status" >&5
    55876068   (exit $ac_status); } &&
    55886069          { ac_try='test -s conftest.$ac_objext'
    55896070-  { (eval echo "$as_me:7891: \"$ac_try\"") >&5
    5590 +  { (eval echo "$as_me:8143: \"$ac_try\"") >&5
     6071+  { (eval echo "$as_me:8006: \"$ac_try\"") >&5
    55916072   (eval $ac_try) 2>&5
    55926073   ac_status=$?
    55936074-  echo "$as_me:7894: \$? = $ac_status" >&5
    5594 +  echo "$as_me:8146: \$? = $ac_status" >&5
     6075+  echo "$as_me:8009: \$? = $ac_status" >&5
    55956076   (exit $ac_status); }; }; then
    55966077   cf_cv_gnu_source=no
    55976078 else
    5598 @@ -7900,7 +8152,7 @@
     6079@@ -7900,7 +8015,7 @@
    55996080 cf_save="$CPPFLAGS"
    56006081         CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
    56016082         cat >conftest.$ac_ext <<_ACEOF
    56026083-#line 7903 "configure"
    5603 +#line 8155 "configure"
     6084+#line 8018 "configure"
    56046085 #include "confdefs.h"
    56056086 #include <sys/types.h>
    56066087 int
    5607 @@ -7915,16 +8167,16 @@
     6088@@ -7915,16 +8030,16 @@
    56086089 }
    56096090 _ACEOF
    56106091 rm -f conftest.$ac_objext
    56116092-if { (eval echo "$as_me:7918: \"$ac_compile\"") >&5
    5612 +if { (eval echo "$as_me:8170: \"$ac_compile\"") >&5
     6093+if { (eval echo "$as_me:8033: \"$ac_compile\"") >&5
    56136094   (eval $ac_compile) 2>&5
    56146095   ac_status=$?
    56156096-  echo "$as_me:7921: \$? = $ac_status" >&5
    5616 +  echo "$as_me:8173: \$? = $ac_status" >&5
     6097+  echo "$as_me:8036: \$? = $ac_status" >&5
    56176098   (exit $ac_status); } &&
    56186099          { ac_try='test -s conftest.$ac_objext'
    56196100-  { (eval echo "$as_me:7924: \"$ac_try\"") >&5
    5620 +  { (eval echo "$as_me:8176: \"$ac_try\"") >&5
     6101+  { (eval echo "$as_me:8039: \"$ac_try\"") >&5
    56216102   (eval $ac_try) 2>&5
    56226103   ac_status=$?
    56236104-  echo "$as_me:7927: \$? = $ac_status" >&5
    5624 +  echo "$as_me:8179: \$? = $ac_status" >&5
     6105+  echo "$as_me:8042: \$? = $ac_status" >&5
    56256106   (exit $ac_status); }; }; then
    56266107   cf_cv_gnu_source=no
    56276108 else
    5628 @@ -7939,47 +8191,293 @@
     6109@@ -7939,51 +8054,45 @@
    56296110 rm -f conftest.$ac_objext conftest.$ac_ext
    56306111 
    56316112 fi
    56326113-echo "$as_me:7942: result: $cf_cv_gnu_source" >&5
    5633 +echo "$as_me:8194: result: $cf_cv_gnu_source" >&5
     6114+echo "$as_me:8057: result: $cf_cv_gnu_source" >&5
    56346115 echo "${ECHO_T}$cf_cv_gnu_source" >&6
    56356116 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
     
    56646145-echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    56656146-if test "${cf_cv_xopen_source+set}" = set; then
    5666 -  echo $ECHO_N "(cached) $ECHO_C" >&6
    5667 -else
    56686147+       # setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <sys/select.h> and other headers which use u_int / u_short types
    56696148+       cf_XOPEN_SOURCE=
    5670  
    5671 -       cat >conftest.$ac_ext <<_ACEOF
    5672 -#line 7979 "configure"
    5673 -#include "confdefs.h"
    5674 -#include <sys/types.h>
    5675 -int
     6149+
    56766150+cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
    56776151+
     
    56876161+               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    56886162+
    5689 +echo "$as_me:8216: checking if we should define _POSIX_C_SOURCE" >&5
     6163+echo "$as_me:8079: checking if we should define _POSIX_C_SOURCE" >&5
    56906164+echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    56916165+if test "${cf_cv_posix_c_source+set}" = set; then
    5692 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5693 +else
    5694 +
    5695 +echo "${as_me:-configure}:8222: testing if the symbol is already defined go no further ..." 1>&5
    5696 +
    5697 +       cat >conftest.$ac_ext <<_ACEOF
    5698 +#line 8225 "configure"
    5699 +#include "confdefs.h"
    5700 +#include <sys/types.h>
    5701 +int
    5702 +main ()
    5703 +{
    5704 +
     6166   echo $ECHO_N "(cached) $ECHO_C" >&6
     6167 else
     6168 
     6169+echo "${as_me:-configure}:8085: testing if the symbol is already defined go no further ..." 1>&5
     6170+
     6171        cat >conftest.$ac_ext <<_ACEOF
     6172-#line 7979 "configure"
     6173+#line 8088 "configure"
     6174 #include "confdefs.h"
     6175 #include <sys/types.h>
     6176 int
     6177 main ()
     6178 {
     6179 
     6180-#ifndef _XOPEN_SOURCE
    57056181+#ifndef _POSIX_C_SOURCE
    5706 +make an error
    5707 +#endif
    5708 +  ;
    5709 +  return 0;
    5710 +}
    5711 +_ACEOF
    5712 +rm -f conftest.$ac_objext
    5713 +if { (eval echo "$as_me:8240: \"$ac_compile\"") >&5
    5714 +  (eval $ac_compile) 2>&5
    5715 +  ac_status=$?
    5716 +  echo "$as_me:8243: \$? = $ac_status" >&5
    5717 +  (exit $ac_status); } &&
    5718 +         { ac_try='test -s conftest.$ac_objext'
    5719 +  { (eval echo "$as_me:8246: \"$ac_try\"") >&5
    5720 +  (eval $ac_try) 2>&5
    5721 +  ac_status=$?
    5722 +  echo "$as_me:8249: \$? = $ac_status" >&5
    5723 +  (exit $ac_status); }; }; then
     6182 make an error
     6183 #endif
     6184   ;
     6185@@ -7991,32 +8100,44 @@
     6186 }
     6187 _ACEOF
     6188 rm -f conftest.$ac_objext
     6189-if { (eval echo "$as_me:7994: \"$ac_compile\"") >&5
     6190+if { (eval echo "$as_me:8103: \"$ac_compile\"") >&5
     6191   (eval $ac_compile) 2>&5
     6192   ac_status=$?
     6193-  echo "$as_me:7997: \$? = $ac_status" >&5
     6194+  echo "$as_me:8106: \$? = $ac_status" >&5
     6195   (exit $ac_status); } &&
     6196          { ac_try='test -s conftest.$ac_objext'
     6197-  { (eval echo "$as_me:8000: \"$ac_try\"") >&5
     6198+  { (eval echo "$as_me:8109: \"$ac_try\"") >&5
     6199   (eval $ac_try) 2>&5
     6200   ac_status=$?
     6201-  echo "$as_me:8003: \$? = $ac_status" >&5
     6202+  echo "$as_me:8112: \$? = $ac_status" >&5
     6203   (exit $ac_status); }; }; then
     6204-  cf_cv_xopen_source=no
    57246205+  cf_cv_posix_c_source=no
    5725 +else
    5726 +  echo "$as_me: failed program was:" >&5
    5727 +cat conftest.$ac_ext >&5
     6206 else
     6207   echo "$as_me: failed program was:" >&5
     6208 cat conftest.$ac_ext >&5
     6209-cf_save="$CPPFLAGS"
     6210-        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
     6211-        cat >conftest.$ac_ext <<_ACEOF
     6212-#line 8012 "configure"
    57286213+cf_want_posix_source=no
    57296214+        case .$cf_POSIX_C_SOURCE in #(vi
     
    57416226+        if test "$cf_want_posix_source" = yes ; then
    57426227+               cat >conftest.$ac_ext <<_ACEOF
    5743 +#line 8270 "configure"
    5744 +#include "confdefs.h"
    5745 +#include <sys/types.h>
    5746 +int
    5747 +main ()
    5748 +{
    5749 +
     6228+#line 8133 "configure"
     6229 #include "confdefs.h"
     6230 #include <sys/types.h>
     6231 int
     6232 main ()
     6233 {
     6234 
     6235-#ifdef _XOPEN_SOURCE
    57506236+#ifdef _POSIX_SOURCE
    5751 +make an error
    5752 +#endif
    5753 +  ;
    5754 +  return 0;
    5755 +}
    5756 +_ACEOF
    5757 +rm -f conftest.$ac_objext
    5758 +if { (eval echo "$as_me:8285: \"$ac_compile\"") >&5
    5759 +  (eval $ac_compile) 2>&5
    5760 +  ac_status=$?
    5761 +  echo "$as_me:8288: \$? = $ac_status" >&5
    5762 +  (exit $ac_status); } &&
    5763 +         { ac_try='test -s conftest.$ac_objext'
    5764 +  { (eval echo "$as_me:8291: \"$ac_try\"") >&5
    5765 +  (eval $ac_try) 2>&5
    5766 +  ac_status=$?
    5767 +  echo "$as_me:8294: \$? = $ac_status" >&5
    5768 +  (exit $ac_status); }; }; then
     6237 make an error
     6238 #endif
     6239   ;
     6240@@ -8024,33 +8145,278 @@
     6241 }
     6242 _ACEOF
     6243 rm -f conftest.$ac_objext
     6244-if { (eval echo "$as_me:8027: \"$ac_compile\"") >&5
     6245+if { (eval echo "$as_me:8148: \"$ac_compile\"") >&5
     6246   (eval $ac_compile) 2>&5
     6247   ac_status=$?
     6248-  echo "$as_me:8030: \$? = $ac_status" >&5
     6249+  echo "$as_me:8151: \$? = $ac_status" >&5
     6250   (exit $ac_status); } &&
     6251          { ac_try='test -s conftest.$ac_objext'
     6252-  { (eval echo "$as_me:8033: \"$ac_try\"") >&5
     6253+  { (eval echo "$as_me:8154: \"$ac_try\"") >&5
     6254   (eval $ac_try) 2>&5
     6255   ac_status=$?
     6256-  echo "$as_me:8036: \$? = $ac_status" >&5
     6257+  echo "$as_me:8157: \$? = $ac_status" >&5
     6258   (exit $ac_status); }; }; then
     6259-  cf_cv_xopen_source=no
    57696260+  :
    5770 +else
    5771 +  echo "$as_me: failed program was:" >&5
    5772 +cat conftest.$ac_ext >&5
     6261 else
     6262   echo "$as_me: failed program was:" >&5
     6263 cat conftest.$ac_ext >&5
     6264-cf_cv_xopen_source=$cf_XOPEN_SOURCE
    57736265+cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
    5774 +fi
    5775 +rm -f conftest.$ac_objext conftest.$ac_ext
     6266 fi
     6267 rm -f conftest.$ac_objext conftest.$ac_ext
     6268-       CPPFLAGS="$cf_save"
    57766269+        fi
    57776270+
    5778 +echo "${as_me:-configure}:8305: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     6271+echo "${as_me:-configure}:8168: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    57796272+
    57806273+        CFLAGS="$cf_trim_CFLAGS"
    57816274+        CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
    57826275+
    5783 +echo "${as_me:-configure}:8310: testing if the second compile does not leave our definition intact error ..." 1>&5
     6276+echo "${as_me:-configure}:8173: testing if the second compile does not leave our definition intact error ..." 1>&5
    57846277+
    57856278+        cat >conftest.$ac_ext <<_ACEOF
    5786 +#line 8313 "configure"
     6279+#line 8176 "configure"
    57876280+#include "confdefs.h"
    57886281+#include <sys/types.h>
     
    57996292+_ACEOF
    58006293+rm -f conftest.$ac_objext
    5801 +if { (eval echo "$as_me:8328: \"$ac_compile\"") >&5
     6294+if { (eval echo "$as_me:8191: \"$ac_compile\"") >&5
    58026295+  (eval $ac_compile) 2>&5
    58036296+  ac_status=$?
    5804 +  echo "$as_me:8331: \$? = $ac_status" >&5
     6297+  echo "$as_me:8194: \$? = $ac_status" >&5
    58056298+  (exit $ac_status); } &&
    58066299+         { ac_try='test -s conftest.$ac_objext'
    5807 +  { (eval echo "$as_me:8334: \"$ac_try\"") >&5
     6300+  { (eval echo "$as_me:8197: \"$ac_try\"") >&5
    58086301+  (eval $ac_try) 2>&5
    58096302+  ac_status=$?
    5810 +  echo "$as_me:8337: \$? = $ac_status" >&5
     6303+  echo "$as_me:8200: \$? = $ac_status" >&5
    58116304+  (exit $ac_status); }; }; then
    58126305+  :
     
    58246317+
    58256318+fi
    5826 +echo "$as_me:8353: result: $cf_cv_posix_c_source" >&5
     6319+echo "$as_me:8216: result: $cf_cv_posix_c_source" >&5
    58276320+echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    58286321+
     
    59376430+*)
    59386431+
    5939 +echo "$as_me:8466: checking if we should define _XOPEN_SOURCE" >&5
     6432+echo "$as_me:8329: checking if we should define _XOPEN_SOURCE" >&5
    59406433+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    59416434+if test "${cf_cv_xopen_source+set}" = set; then
     
    59446437+
    59456438+       cat >conftest.$ac_ext <<_ACEOF
    5946 +#line 8473 "configure"
     6439+#line 8336 "configure"
    59476440+#include "confdefs.h"
    59486441+
     
    59516444+#include <sys/types.h>
    59526445+
    5953 +int
    5954  main ()
    5955  {
    5956  
    5957 @@ -7991,16 +8489,16 @@
    5958  }
    5959  _ACEOF
    5960  rm -f conftest.$ac_objext
    5961 -if { (eval echo "$as_me:7994: \"$ac_compile\"") >&5
    5962 +if { (eval echo "$as_me:8492: \"$ac_compile\"") >&5
    5963    (eval $ac_compile) 2>&5
    5964    ac_status=$?
    5965 -  echo "$as_me:7997: \$? = $ac_status" >&5
    5966 +  echo "$as_me:8495: \$? = $ac_status" >&5
    5967    (exit $ac_status); } &&
    5968           { ac_try='test -s conftest.$ac_objext'
    5969 -  { (eval echo "$as_me:8000: \"$ac_try\"") >&5
    5970 +  { (eval echo "$as_me:8498: \"$ac_try\"") >&5
    5971    (eval $ac_try) 2>&5
    5972    ac_status=$?
    5973 -  echo "$as_me:8003: \$? = $ac_status" >&5
    5974 +  echo "$as_me:8501: \$? = $ac_status" >&5
    5975    (exit $ac_status); }; }; then
    5976    cf_cv_xopen_source=no
    5977  else
    5978 @@ -8009,9 +8507,13 @@
    5979  cf_save="$CPPFLAGS"
    5980          CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    5981          cat >conftest.$ac_ext <<_ACEOF
    5982 -#line 8012 "configure"
    5983 +#line 8510 "configure"
    5984  #include "confdefs.h"
    5985 +
    5986 +#include <stdlib.h>
    5987 +#include <string.h>
    5988  #include <sys/types.h>
    5989 +
    5990  int
    5991  main ()
    5992  {
    5993 @@ -8024,16 +8526,16 @@
    5994  }
    5995  _ACEOF
    5996  rm -f conftest.$ac_objext
    5997 -if { (eval echo "$as_me:8027: \"$ac_compile\"") >&5
    5998 +if { (eval echo "$as_me:8529: \"$ac_compile\"") >&5
    5999    (eval $ac_compile) 2>&5
    6000    ac_status=$?
    6001 -  echo "$as_me:8030: \$? = $ac_status" >&5
    6002 +  echo "$as_me:8532: \$? = $ac_status" >&5
    6003    (exit $ac_status); } &&
    6004           { ac_try='test -s conftest.$ac_objext'
    6005 -  { (eval echo "$as_me:8033: \"$ac_try\"") >&5
    6006 +  { (eval echo "$as_me:8535: \"$ac_try\"") >&5
    6007    (eval $ac_try) 2>&5
    6008    ac_status=$?
    6009 -  echo "$as_me:8036: \$? = $ac_status" >&5
    6010 +  echo "$as_me:8538: \$? = $ac_status" >&5
    6011    (exit $ac_status); }; }; then
    6012    cf_cv_xopen_source=no
    6013  else
    6014 @@ -8048,9 +8550,10 @@
    6015  rm -f conftest.$ac_objext conftest.$ac_ext
    6016  
    6017  fi
    6018 -echo "$as_me:8051: result: $cf_cv_xopen_source" >&5
    6019 +echo "$as_me:8553: result: $cf_cv_xopen_source" >&5
    6020  echo "${ECHO_T}$cf_cv_xopen_source" >&6
    6021 -       if test "$cf_cv_xopen_source" != no ; then
    6022 +
    6023 +if test "$cf_cv_xopen_source" != no ; then
    6024  
    6025  CFLAGS=`echo "$CFLAGS" | \
    6026         sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    6027 @@ -8060,7 +8563,7 @@
    6028         sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    6029                 -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    6030  
    6031 -               cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
    6032 +       cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
    6033  
    6034  cf_fix_cppflags=no
    6035  cf_new_cflags=
    6036 @@ -8140,7 +8643,7 @@
    6037         EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    6038  fi
    6039  
    6040 -       fi
    6041 +fi
    6042  
    6043  cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
    6044  
    6045 @@ -8155,16 +8658,16 @@
    6046         sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
    6047                 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    6048  
    6049 -echo "$as_me:8158: checking if we should define _POSIX_C_SOURCE" >&5
    6050 +echo "$as_me:8661: checking if we should define _POSIX_C_SOURCE" >&5
    6051  echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    6052  if test "${cf_cv_posix_c_source+set}" = set; then
    6053    echo $ECHO_N "(cached) $ECHO_C" >&6
    6054  else
    6055  
    6056 -echo "${as_me:-configure}:8164: testing if the symbol is already defined go no further ..." 1>&5
    6057 +echo "${as_me:-configure}:8667: testing if the symbol is already defined go no further ..." 1>&5
    6058  
    6059         cat >conftest.$ac_ext <<_ACEOF
    6060 -#line 8167 "configure"
    6061 +#line 8670 "configure"
    6062  #include "confdefs.h"
    6063  #include <sys/types.h>
    6064  int
    6065 @@ -8179,16 +8682,16 @@
    6066  }
    6067  _ACEOF
    6068  rm -f conftest.$ac_objext
    6069 -if { (eval echo "$as_me:8182: \"$ac_compile\"") >&5
    6070 +if { (eval echo "$as_me:8685: \"$ac_compile\"") >&5
    6071    (eval $ac_compile) 2>&5
    6072    ac_status=$?
    6073 -  echo "$as_me:8185: \$? = $ac_status" >&5
    6074 +  echo "$as_me:8688: \$? = $ac_status" >&5
    6075    (exit $ac_status); } &&
    6076           { ac_try='test -s conftest.$ac_objext'
    6077 -  { (eval echo "$as_me:8188: \"$ac_try\"") >&5
    6078 +  { (eval echo "$as_me:8691: \"$ac_try\"") >&5
    6079    (eval $ac_try) 2>&5
    6080    ac_status=$?
    6081 -  echo "$as_me:8191: \$? = $ac_status" >&5
    6082 +  echo "$as_me:8694: \$? = $ac_status" >&5
    6083    (exit $ac_status); }; }; then
    6084    cf_cv_posix_c_source=no
    6085  else
    6086 @@ -8209,7 +8712,7 @@
    6087          esac
    6088          if test "$cf_want_posix_source" = yes ; then
    6089                 cat >conftest.$ac_ext <<_ACEOF
    6090 -#line 8212 "configure"
    6091 +#line 8715 "configure"
    6092  #include "confdefs.h"
    6093  #include <sys/types.h>
    6094  int
    6095 @@ -8224,16 +8727,16 @@
    6096  }
    6097  _ACEOF
    6098  rm -f conftest.$ac_objext
    6099 -if { (eval echo "$as_me:8227: \"$ac_compile\"") >&5
    6100 +if { (eval echo "$as_me:8730: \"$ac_compile\"") >&5
    6101    (eval $ac_compile) 2>&5
    6102    ac_status=$?
    6103 -  echo "$as_me:8230: \$? = $ac_status" >&5
    6104 +  echo "$as_me:8733: \$? = $ac_status" >&5
    6105    (exit $ac_status); } &&
    6106           { ac_try='test -s conftest.$ac_objext'
    6107 -  { (eval echo "$as_me:8233: \"$ac_try\"") >&5
    6108 +  { (eval echo "$as_me:8736: \"$ac_try\"") >&5
    6109    (eval $ac_try) 2>&5
    6110    ac_status=$?
    6111 -  echo "$as_me:8236: \$? = $ac_status" >&5
    6112 +  echo "$as_me:8739: \$? = $ac_status" >&5
    6113    (exit $ac_status); }; }; then
    6114    :
    6115  else
    6116 @@ -8244,15 +8747,15 @@
    6117  rm -f conftest.$ac_objext conftest.$ac_ext
    6118          fi
    6119  
    6120 -echo "${as_me:-configure}:8247: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    6121 +echo "${as_me:-configure}:8750: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    6122  
    6123          CFLAGS="$cf_trim_CFLAGS"
    6124          CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
    6125  
    6126 -echo "${as_me:-configure}:8252: testing if the second compile does not leave our definition intact error ..." 1>&5
    6127 +echo "${as_me:-configure}:8755: testing if the second compile does not leave our definition intact error ..." 1>&5
    6128  
    6129          cat >conftest.$ac_ext <<_ACEOF
    6130 -#line 8255 "configure"
    6131 +#line 8758 "configure"
    6132  #include "confdefs.h"
    6133  #include <sys/types.h>
    6134  int
    6135 @@ -8267,16 +8770,16 @@
    6136  }
    6137  _ACEOF
    6138  rm -f conftest.$ac_objext
    6139 -if { (eval echo "$as_me:8270: \"$ac_compile\"") >&5
    6140 +if { (eval echo "$as_me:8773: \"$ac_compile\"") >&5
    6141    (eval $ac_compile) 2>&5
    6142    ac_status=$?
    6143 -  echo "$as_me:8273: \$? = $ac_status" >&5
    6144 +  echo "$as_me:8776: \$? = $ac_status" >&5
    6145    (exit $ac_status); } &&
    6146           { ac_try='test -s conftest.$ac_objext'
    6147 -  { (eval echo "$as_me:8276: \"$ac_try\"") >&5
    6148 +  { (eval echo "$as_me:8779: \"$ac_try\"") >&5
    6149    (eval $ac_try) 2>&5
    6150    ac_status=$?
    6151 -  echo "$as_me:8279: \$? = $ac_status" >&5
    6152 +  echo "$as_me:8782: \$? = $ac_status" >&5
    6153    (exit $ac_status); }; }; then
    6154    :
    6155  else
    6156 @@ -8292,7 +8795,7 @@
    6157  rm -f conftest.$ac_objext conftest.$ac_ext
    6158  
    6159  fi
    6160 -echo "$as_me:8295: result: $cf_cv_posix_c_source" >&5
    6161 +echo "$as_me:8798: result: $cf_cv_posix_c_source" >&5
    6162  echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    6163  
    6164  if test "$cf_cv_posix_c_source" != no ; then
    6165 @@ -8464,6 +8967,273 @@
    6166  
    6167  fi
    6168  
    6169 +if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
    6170 +       echo "$as_me:8971: checking if _XOPEN_SOURCE really is set" >&5
    6171 +echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
    6172 +       cat >conftest.$ac_ext <<_ACEOF
    6173 +#line 8974 "configure"
    6174 +#include "confdefs.h"
    6175 +#include <stdlib.h>
    61766446+int
    61776447+main ()
     
    61866456+_ACEOF
    61876457+rm -f conftest.$ac_objext
    6188 +if { (eval echo "$as_me:8989: \"$ac_compile\"") >&5
     6458+if { (eval echo "$as_me:8355: \"$ac_compile\"") >&5
    61896459+  (eval $ac_compile) 2>&5
    61906460+  ac_status=$?
    6191 +  echo "$as_me:8992: \$? = $ac_status" >&5
     6461+  echo "$as_me:8358: \$? = $ac_status" >&5
    61926462+  (exit $ac_status); } &&
    61936463+         { ac_try='test -s conftest.$ac_objext'
    6194 +  { (eval echo "$as_me:8995: \"$ac_try\"") >&5
     6464+  { (eval echo "$as_me:8361: \"$ac_try\"") >&5
    61956465+  (eval $ac_try) 2>&5
    61966466+  ac_status=$?
    6197 +  echo "$as_me:8998: \$? = $ac_status" >&5
    6198 +  (exit $ac_status); }; }; then
    6199 +  cf_XOPEN_SOURCE_set=yes
    6200 +else
    6201 +  echo "$as_me: failed program was:" >&5
    6202 +cat conftest.$ac_ext >&5
    6203 +cf_XOPEN_SOURCE_set=no
    6204 +fi
    6205 +rm -f conftest.$ac_objext conftest.$ac_ext
    6206 +       echo "$as_me:9007: result: $cf_XOPEN_SOURCE_set" >&5
    6207 +echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
    6208 +       if test $cf_XOPEN_SOURCE_set = yes
    6209 +       then
    6210 +               cat >conftest.$ac_ext <<_ACEOF
    6211 +#line 9012 "configure"
    6212 +#include "confdefs.h"
    6213 +#include <stdlib.h>
    6214 +int
    6215 +main ()
    6216 +{
    6217 +
    6218 +#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
    6219 +make an error
    6220 +#endif
    6221 +  ;
    6222 +  return 0;
    6223 +}
    6224 +_ACEOF
    6225 +rm -f conftest.$ac_objext
    6226 +if { (eval echo "$as_me:9027: \"$ac_compile\"") >&5
    6227 +  (eval $ac_compile) 2>&5
    6228 +  ac_status=$?
    6229 +  echo "$as_me:9030: \$? = $ac_status" >&5
    6230 +  (exit $ac_status); } &&
    6231 +         { ac_try='test -s conftest.$ac_objext'
    6232 +  { (eval echo "$as_me:9033: \"$ac_try\"") >&5
    6233 +  (eval $ac_try) 2>&5
    6234 +  ac_status=$?
    6235 +  echo "$as_me:9036: \$? = $ac_status" >&5
    6236 +  (exit $ac_status); }; }; then
    6237 +  cf_XOPEN_SOURCE_set_ok=yes
    6238 +else
    6239 +  echo "$as_me: failed program was:" >&5
    6240 +cat conftest.$ac_ext >&5
    6241 +cf_XOPEN_SOURCE_set_ok=no
    6242 +fi
    6243 +rm -f conftest.$ac_objext conftest.$ac_ext
    6244 +               if test $cf_XOPEN_SOURCE_set_ok = no
    6245 +               then
    6246 +                       { echo "$as_me:9047: WARNING: _XOPEN_SOURCE is lower than requested" >&5
    6247 +echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
    6248 +               fi
    6249 +       else
    6250 +
    6251 +echo "$as_me:9052: checking if we should define _XOPEN_SOURCE" >&5
    6252 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    6253 +if test "${cf_cv_xopen_source+set}" = set; then
    6254 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6255 +else
    6256 +
    6257 +       cat >conftest.$ac_ext <<_ACEOF
    6258 +#line 9059 "configure"
    6259 +#include "confdefs.h"
    6260 +
    6261 +#include <stdlib.h>
    6262 +#include <string.h>
    6263 +#include <sys/types.h>
    6264 +
    6265 +int
    6266 +main ()
    6267 +{
    6268 +
    6269 +#ifndef _XOPEN_SOURCE
    6270 +make an error
    6271 +#endif
    6272 +  ;
    6273 +  return 0;
    6274 +}
    6275 +_ACEOF
    6276 +rm -f conftest.$ac_objext
    6277 +if { (eval echo "$as_me:9078: \"$ac_compile\"") >&5
    6278 +  (eval $ac_compile) 2>&5
    6279 +  ac_status=$?
    6280 +  echo "$as_me:9081: \$? = $ac_status" >&5
    6281 +  (exit $ac_status); } &&
    6282 +         { ac_try='test -s conftest.$ac_objext'
    6283 +  { (eval echo "$as_me:9084: \"$ac_try\"") >&5
    6284 +  (eval $ac_try) 2>&5
    6285 +  ac_status=$?
    6286 +  echo "$as_me:9087: \$? = $ac_status" >&5
     6467+  echo "$as_me:8364: \$? = $ac_status" >&5
    62876468+  (exit $ac_status); }; }; then
    62886469+  cf_cv_xopen_source=no
     
    62936474+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    62946475+        cat >conftest.$ac_ext <<_ACEOF
    6295 +#line 9096 "configure"
     6476+#line 8373 "configure"
    62966477+#include "confdefs.h"
    62976478+
     
    63126493+_ACEOF
    63136494+rm -f conftest.$ac_objext
    6314 +if { (eval echo "$as_me:9115: \"$ac_compile\"") >&5
     6495+if { (eval echo "$as_me:8392: \"$ac_compile\"") >&5
    63156496+  (eval $ac_compile) 2>&5
    63166497+  ac_status=$?
    6317 +  echo "$as_me:9118: \$? = $ac_status" >&5
     6498+  echo "$as_me:8395: \$? = $ac_status" >&5
    63186499+  (exit $ac_status); } &&
    63196500+         { ac_try='test -s conftest.$ac_objext'
    6320 +  { (eval echo "$as_me:9121: \"$ac_try\"") >&5
     6501+  { (eval echo "$as_me:8398: \"$ac_try\"") >&5
    63216502+  (eval $ac_try) 2>&5
    63226503+  ac_status=$?
    6323 +  echo "$as_me:9124: \$? = $ac_status" >&5
     6504+  echo "$as_me:8401: \$? = $ac_status" >&5
    63246505+  (exit $ac_status); }; }; then
    63256506+  cf_cv_xopen_source=no
     
    63316512+rm -f conftest.$ac_objext conftest.$ac_ext
    63326513+       CPPFLAGS="$cf_save"
    6333 +
     6514 
     6515 fi
     6516 rm -f conftest.$ac_objext conftest.$ac_ext
     6517 
     6518 fi
     6519-echo "$as_me:8051: result: $cf_cv_xopen_source" >&5
     6520+echo "$as_me:8416: result: $cf_cv_xopen_source" >&5
     6521 echo "${ECHO_T}$cf_cv_xopen_source" >&6
     6522-       if test "$cf_cv_xopen_source" != no ; then
     6523+
     6524+if test "$cf_cv_xopen_source" != no ; then
     6525 
     6526 CFLAGS=`echo "$CFLAGS" | \
     6527        sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     6528@@ -8060,7 +8426,7 @@
     6529        sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     6530                -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
     6531 
     6532-               cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
     6533+       cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
     6534 
     6535 cf_fix_cppflags=no
     6536 cf_new_cflags=
     6537@@ -8140,7 +8506,7 @@
     6538        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     6539 fi
     6540 
     6541-       fi
    63346542+fi
    6335 +rm -f conftest.$ac_objext conftest.$ac_ext
    6336 +
     6543 
     6544 cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
     6545 
     6546@@ -8155,16 +8521,16 @@
     6547        sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
     6548                -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
     6549 
     6550-echo "$as_me:8158: checking if we should define _POSIX_C_SOURCE" >&5
     6551+echo "$as_me:8524: checking if we should define _POSIX_C_SOURCE" >&5
     6552 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
     6553 if test "${cf_cv_posix_c_source+set}" = set; then
     6554   echo $ECHO_N "(cached) $ECHO_C" >&6
     6555 else
     6556 
     6557-echo "${as_me:-configure}:8164: testing if the symbol is already defined go no further ..." 1>&5
     6558+echo "${as_me:-configure}:8530: testing if the symbol is already defined go no further ..." 1>&5
     6559 
     6560        cat >conftest.$ac_ext <<_ACEOF
     6561-#line 8167 "configure"
     6562+#line 8533 "configure"
     6563 #include "confdefs.h"
     6564 #include <sys/types.h>
     6565 int
     6566@@ -8179,16 +8545,16 @@
     6567 }
     6568 _ACEOF
     6569 rm -f conftest.$ac_objext
     6570-if { (eval echo "$as_me:8182: \"$ac_compile\"") >&5
     6571+if { (eval echo "$as_me:8548: \"$ac_compile\"") >&5
     6572   (eval $ac_compile) 2>&5
     6573   ac_status=$?
     6574-  echo "$as_me:8185: \$? = $ac_status" >&5
     6575+  echo "$as_me:8551: \$? = $ac_status" >&5
     6576   (exit $ac_status); } &&
     6577          { ac_try='test -s conftest.$ac_objext'
     6578-  { (eval echo "$as_me:8188: \"$ac_try\"") >&5
     6579+  { (eval echo "$as_me:8554: \"$ac_try\"") >&5
     6580   (eval $ac_try) 2>&5
     6581   ac_status=$?
     6582-  echo "$as_me:8191: \$? = $ac_status" >&5
     6583+  echo "$as_me:8557: \$? = $ac_status" >&5
     6584   (exit $ac_status); }; }; then
     6585   cf_cv_posix_c_source=no
     6586 else
     6587@@ -8209,7 +8575,7 @@
     6588         esac
     6589         if test "$cf_want_posix_source" = yes ; then
     6590                cat >conftest.$ac_ext <<_ACEOF
     6591-#line 8212 "configure"
     6592+#line 8578 "configure"
     6593 #include "confdefs.h"
     6594 #include <sys/types.h>
     6595 int
     6596@@ -8224,16 +8590,16 @@
     6597 }
     6598 _ACEOF
     6599 rm -f conftest.$ac_objext
     6600-if { (eval echo "$as_me:8227: \"$ac_compile\"") >&5
     6601+if { (eval echo "$as_me:8593: \"$ac_compile\"") >&5
     6602   (eval $ac_compile) 2>&5
     6603   ac_status=$?
     6604-  echo "$as_me:8230: \$? = $ac_status" >&5
     6605+  echo "$as_me:8596: \$? = $ac_status" >&5
     6606   (exit $ac_status); } &&
     6607          { ac_try='test -s conftest.$ac_objext'
     6608-  { (eval echo "$as_me:8233: \"$ac_try\"") >&5
     6609+  { (eval echo "$as_me:8599: \"$ac_try\"") >&5
     6610   (eval $ac_try) 2>&5
     6611   ac_status=$?
     6612-  echo "$as_me:8236: \$? = $ac_status" >&5
     6613+  echo "$as_me:8602: \$? = $ac_status" >&5
     6614   (exit $ac_status); }; }; then
     6615   :
     6616 else
     6617@@ -8244,15 +8610,15 @@
     6618 rm -f conftest.$ac_objext conftest.$ac_ext
     6619         fi
     6620 
     6621-echo "${as_me:-configure}:8247: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     6622+echo "${as_me:-configure}:8613: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     6623 
     6624         CFLAGS="$cf_trim_CFLAGS"
     6625         CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
     6626 
     6627-echo "${as_me:-configure}:8252: testing if the second compile does not leave our definition intact error ..." 1>&5
     6628+echo "${as_me:-configure}:8618: testing if the second compile does not leave our definition intact error ..." 1>&5
     6629 
     6630         cat >conftest.$ac_ext <<_ACEOF
     6631-#line 8255 "configure"
     6632+#line 8621 "configure"
     6633 #include "confdefs.h"
     6634 #include <sys/types.h>
     6635 int
     6636@@ -8267,16 +8633,16 @@
     6637 }
     6638 _ACEOF
     6639 rm -f conftest.$ac_objext
     6640-if { (eval echo "$as_me:8270: \"$ac_compile\"") >&5
     6641+if { (eval echo "$as_me:8636: \"$ac_compile\"") >&5
     6642   (eval $ac_compile) 2>&5
     6643   ac_status=$?
     6644-  echo "$as_me:8273: \$? = $ac_status" >&5
     6645+  echo "$as_me:8639: \$? = $ac_status" >&5
     6646   (exit $ac_status); } &&
     6647          { ac_try='test -s conftest.$ac_objext'
     6648-  { (eval echo "$as_me:8276: \"$ac_try\"") >&5
     6649+  { (eval echo "$as_me:8642: \"$ac_try\"") >&5
     6650   (eval $ac_try) 2>&5
     6651   ac_status=$?
     6652-  echo "$as_me:8279: \$? = $ac_status" >&5
     6653+  echo "$as_me:8645: \$? = $ac_status" >&5
     6654   (exit $ac_status); }; }; then
     6655   :
     6656 else
     6657@@ -8292,7 +8658,7 @@
     6658 rm -f conftest.$ac_objext conftest.$ac_ext
     6659 
     6660 fi
     6661-echo "$as_me:8295: result: $cf_cv_posix_c_source" >&5
     6662+echo "$as_me:8661: result: $cf_cv_posix_c_source" >&5
     6663 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
     6664 
     6665 if test "$cf_cv_posix_c_source" != no ; then
     6666@@ -8362,34 +8728,298 @@
     6667 esac
     6668 done
     6669 
     6670-if test -n "$cf_new_cflags" ; then
     6671+if test -n "$cf_new_cflags" ; then
     6672+
     6673+       CFLAGS="$CFLAGS $cf_new_cflags"
    63376674+fi
    6338 +echo "$as_me:9139: result: $cf_cv_xopen_source" >&5
    6339 +echo "${ECHO_T}$cf_cv_xopen_source" >&6
    6340 +
    6341 +if test "$cf_cv_xopen_source" != no ; then
    6342 +
    6343 +CFLAGS=`echo "$CFLAGS" | \
    6344 +       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    6345 +               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    6346 +
    6347 +CPPFLAGS=`echo "$CPPFLAGS" | \
    6348 +       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    6349 +               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    6350 +
    6351 +       cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
     6675+
     6676+if test -n "$cf_new_cppflags" ; then
     6677+
     6678+       CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     6679+fi
     6680+
     6681+if test -n "$cf_new_extra_cppflags" ; then
     6682+
     6683+       EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     6684+fi
     6685+
     6686+fi
     6687+
     6688+       ;;
     6689+esac
     6690+
     6691+if test -n "$cf_xopen_source" ; then
    63526692+
    63536693+cf_fix_cppflags=no
     
    63566696+cf_new_extra_cppflags=
    63576697+
    6358 +for cf_add_cflags in $cf_temp_xopen_source
     6698+for cf_add_cflags in $cf_xopen_source
    63596699+do
    63606700+case $cf_fix_cppflags in
     
    64316771+fi
    64326772+
     6773+if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
     6774+       echo "$as_me:8834: checking if _XOPEN_SOURCE really is set" >&5
     6775+echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
     6776+       cat >conftest.$ac_ext <<_ACEOF
     6777+#line 8837 "configure"
     6778+#include "confdefs.h"
     6779+#include <stdlib.h>
     6780+int
     6781+main ()
     6782+{
     6783+
     6784+#ifndef _XOPEN_SOURCE
     6785+make an error
     6786+#endif
     6787+  ;
     6788+  return 0;
     6789+}
     6790+_ACEOF
     6791+rm -f conftest.$ac_objext
     6792+if { (eval echo "$as_me:8852: \"$ac_compile\"") >&5
     6793+  (eval $ac_compile) 2>&5
     6794+  ac_status=$?
     6795+  echo "$as_me:8855: \$? = $ac_status" >&5
     6796+  (exit $ac_status); } &&
     6797+         { ac_try='test -s conftest.$ac_objext'
     6798+  { (eval echo "$as_me:8858: \"$ac_try\"") >&5
     6799+  (eval $ac_try) 2>&5
     6800+  ac_status=$?
     6801+  echo "$as_me:8861: \$? = $ac_status" >&5
     6802+  (exit $ac_status); }; }; then
     6803+  cf_XOPEN_SOURCE_set=yes
     6804+else
     6805+  echo "$as_me: failed program was:" >&5
     6806+cat conftest.$ac_ext >&5
     6807+cf_XOPEN_SOURCE_set=no
     6808+fi
     6809+rm -f conftest.$ac_objext conftest.$ac_ext
     6810+       echo "$as_me:8870: result: $cf_XOPEN_SOURCE_set" >&5
     6811+echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
     6812+       if test $cf_XOPEN_SOURCE_set = yes
     6813+       then
     6814+               cat >conftest.$ac_ext <<_ACEOF
     6815+#line 8875 "configure"
     6816+#include "confdefs.h"
     6817+#include <stdlib.h>
     6818+int
     6819+main ()
     6820+{
     6821+
     6822+#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
     6823+make an error
     6824+#endif
     6825+  ;
     6826+  return 0;
     6827+}
     6828+_ACEOF
     6829+rm -f conftest.$ac_objext
     6830+if { (eval echo "$as_me:8890: \"$ac_compile\"") >&5
     6831+  (eval $ac_compile) 2>&5
     6832+  ac_status=$?
     6833+  echo "$as_me:8893: \$? = $ac_status" >&5
     6834+  (exit $ac_status); } &&
     6835+         { ac_try='test -s conftest.$ac_objext'
     6836+  { (eval echo "$as_me:8896: \"$ac_try\"") >&5
     6837+  (eval $ac_try) 2>&5
     6838+  ac_status=$?
     6839+  echo "$as_me:8899: \$? = $ac_status" >&5
     6840+  (exit $ac_status); }; }; then
     6841+  cf_XOPEN_SOURCE_set_ok=yes
     6842+else
     6843+  echo "$as_me: failed program was:" >&5
     6844+cat conftest.$ac_ext >&5
     6845+cf_XOPEN_SOURCE_set_ok=no
     6846+fi
     6847+rm -f conftest.$ac_objext conftest.$ac_ext
     6848+               if test $cf_XOPEN_SOURCE_set_ok = no
     6849+               then
     6850+                       { echo "$as_me:8910: WARNING: _XOPEN_SOURCE is lower than requested" >&5
     6851+echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
     6852+               fi
     6853+       else
     6854+
     6855+echo "$as_me:8915: checking if we should define _XOPEN_SOURCE" >&5
     6856+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
     6857+if test "${cf_cv_xopen_source+set}" = set; then
     6858+  echo $ECHO_N "(cached) $ECHO_C" >&6
     6859+else
     6860+
     6861+       cat >conftest.$ac_ext <<_ACEOF
     6862+#line 8922 "configure"
     6863+#include "confdefs.h"
     6864+
     6865+#include <stdlib.h>
     6866+#include <string.h>
     6867+#include <sys/types.h>
     6868+
     6869+int
     6870+main ()
     6871+{
     6872+
     6873+#ifndef _XOPEN_SOURCE
     6874+make an error
     6875+#endif
     6876+  ;
     6877+  return 0;
     6878+}
     6879+_ACEOF
     6880+rm -f conftest.$ac_objext
     6881+if { (eval echo "$as_me:8941: \"$ac_compile\"") >&5
     6882+  (eval $ac_compile) 2>&5
     6883+  ac_status=$?
     6884+  echo "$as_me:8944: \$? = $ac_status" >&5
     6885+  (exit $ac_status); } &&
     6886+         { ac_try='test -s conftest.$ac_objext'
     6887+  { (eval echo "$as_me:8947: \"$ac_try\"") >&5
     6888+  (eval $ac_try) 2>&5
     6889+  ac_status=$?
     6890+  echo "$as_me:8950: \$? = $ac_status" >&5
     6891+  (exit $ac_status); }; }; then
     6892+  cf_cv_xopen_source=no
     6893+else
     6894+  echo "$as_me: failed program was:" >&5
     6895+cat conftest.$ac_ext >&5
     6896+cf_save="$CPPFLAGS"
     6897+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
     6898+        cat >conftest.$ac_ext <<_ACEOF
     6899+#line 8959 "configure"
     6900+#include "confdefs.h"
     6901 
     6902-       CFLAGS="$CFLAGS $cf_new_cflags"
     6903-fi
     6904+#include <stdlib.h>
     6905+#include <string.h>
     6906+#include <sys/types.h>
     6907 
     6908-if test -n "$cf_new_cppflags" ; then
     6909+int
     6910+main ()
     6911+{
     6912 
     6913-       CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     6914+#ifdef _XOPEN_SOURCE
     6915+make an error
     6916+#endif
     6917+  ;
     6918+  return 0;
     6919+}
     6920+_ACEOF
     6921+rm -f conftest.$ac_objext
     6922+if { (eval echo "$as_me:8978: \"$ac_compile\"") >&5
     6923+  (eval $ac_compile) 2>&5
     6924+  ac_status=$?
     6925+  echo "$as_me:8981: \$? = $ac_status" >&5
     6926+  (exit $ac_status); } &&
     6927+         { ac_try='test -s conftest.$ac_objext'
     6928+  { (eval echo "$as_me:8984: \"$ac_try\"") >&5
     6929+  (eval $ac_try) 2>&5
     6930+  ac_status=$?
     6931+  echo "$as_me:8987: \$? = $ac_status" >&5
     6932+  (exit $ac_status); }; }; then
     6933+  cf_cv_xopen_source=no
     6934+else
     6935+  echo "$as_me: failed program was:" >&5
     6936+cat conftest.$ac_ext >&5
     6937+cf_cv_xopen_source=$cf_XOPEN_SOURCE
     6938 fi
     6939+rm -f conftest.$ac_objext conftest.$ac_ext
     6940+       CPPFLAGS="$cf_save"
     6941 
     6942-if test -n "$cf_new_extra_cppflags" ; then
     6943-
     6944-       EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     6945 fi
     6946+rm -f conftest.$ac_objext conftest.$ac_ext
     6947 
     6948 fi
     6949+echo "$as_me:9002: result: $cf_cv_xopen_source" >&5
     6950+echo "${ECHO_T}$cf_cv_xopen_source" >&6
     6951 
     6952-       ;;
     6953-esac
     6954+if test "$cf_cv_xopen_source" != no ; then
     6955 
     6956-if test -n "$cf_xopen_source" ; then
     6957+CFLAGS=`echo "$CFLAGS" | \
     6958+       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     6959+               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
     6960+
     6961+CPPFLAGS=`echo "$CPPFLAGS" | \
     6962+       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     6963+               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
     6964+
     6965+       cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
     6966 
     6967 cf_fix_cppflags=no
     6968 cf_new_cflags=
     6969 cf_new_cppflags=
     6970 cf_new_extra_cppflags=
     6971 
     6972-for cf_add_cflags in $cf_xopen_source
     6973+for cf_add_cflags in $cf_temp_xopen_source
     6974 do
     6975 case $cf_fix_cppflags in
     6976 no)
     6977@@ -8464,6 +9094,9 @@
     6978 
     6979 fi
     6980 
    64336981+       fi
    64346982+fi
     
    64376985 if test "${enable_largefile+set}" = set; then
    64386986   enableval="$enable_largefile"
    6439 @@ -8471,7 +9241,7 @@
     6987@@ -8471,7 +9104,7 @@
    64406988 fi;
    64416989 if test "$enable_largefile" != no; then
    64426990 
    64436991-  echo "$as_me:8474: checking for special C compiler options needed for large files" >&5
    6444 +  echo "$as_me:9244: checking for special C compiler options needed for large files" >&5
     6992+  echo "$as_me:9107: checking for special C compiler options needed for large files" >&5
    64456993 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
    64466994 if test "${ac_cv_sys_largefile_CC+set}" = set; then
    64476995   echo $ECHO_N "(cached) $ECHO_C" >&6
    6448 @@ -8483,7 +9253,7 @@
     6996@@ -8483,7 +9116,7 @@
    64496997         # IRIX 6.2 and later do not support large files by default,
    64506998         # so use the C compiler's -n32 option if that helps.
    64516999          cat >conftest.$ac_ext <<_ACEOF
    64527000-#line 8486 "configure"
    6453 +#line 9256 "configure"
     7001+#line 9119 "configure"
    64547002 #include "confdefs.h"
    64557003 #include <sys/types.h>
    64567004  /* Check that off_t can represent 2**63 - 1 correctly.
    6457 @@ -8503,16 +9273,16 @@
     7005@@ -8503,16 +9136,16 @@
    64587006 }
    64597007 _ACEOF
    64607008         rm -f conftest.$ac_objext
    64617009-if { (eval echo "$as_me:8506: \"$ac_compile\"") >&5
    6462 +if { (eval echo "$as_me:9276: \"$ac_compile\"") >&5
     7010+if { (eval echo "$as_me:9139: \"$ac_compile\"") >&5
    64637011   (eval $ac_compile) 2>&5
    64647012   ac_status=$?
    64657013-  echo "$as_me:8509: \$? = $ac_status" >&5
    6466 +  echo "$as_me:9279: \$? = $ac_status" >&5
     7014+  echo "$as_me:9142: \$? = $ac_status" >&5
    64677015   (exit $ac_status); } &&
    64687016          { ac_try='test -s conftest.$ac_objext'
    64697017-  { (eval echo "$as_me:8512: \"$ac_try\"") >&5
    6470 +  { (eval echo "$as_me:9282: \"$ac_try\"") >&5
     7018+  { (eval echo "$as_me:9145: \"$ac_try\"") >&5
    64717019   (eval $ac_try) 2>&5
    64727020   ac_status=$?
    64737021-  echo "$as_me:8515: \$? = $ac_status" >&5
    6474 +  echo "$as_me:9285: \$? = $ac_status" >&5
     7022+  echo "$as_me:9148: \$? = $ac_status" >&5
    64757023   (exit $ac_status); }; }; then
    64767024   break
    64777025 else
    6478 @@ -8522,16 +9292,16 @@
     7026@@ -8522,16 +9155,16 @@
    64797027 rm -f conftest.$ac_objext
    64807028         CC="$CC -n32"
    64817029         rm -f conftest.$ac_objext
    64827030-if { (eval echo "$as_me:8525: \"$ac_compile\"") >&5
    6483 +if { (eval echo "$as_me:9295: \"$ac_compile\"") >&5
     7031+if { (eval echo "$as_me:9158: \"$ac_compile\"") >&5
    64847032   (eval $ac_compile) 2>&5
    64857033   ac_status=$?
    64867034-  echo "$as_me:8528: \$? = $ac_status" >&5
    6487 +  echo "$as_me:9298: \$? = $ac_status" >&5
     7035+  echo "$as_me:9161: \$? = $ac_status" >&5
    64887036   (exit $ac_status); } &&
    64897037          { ac_try='test -s conftest.$ac_objext'
    64907038-  { (eval echo "$as_me:8531: \"$ac_try\"") >&5
    6491 +  { (eval echo "$as_me:9301: \"$ac_try\"") >&5
     7039+  { (eval echo "$as_me:9164: \"$ac_try\"") >&5
    64927040   (eval $ac_try) 2>&5
    64937041   ac_status=$?
    64947042-  echo "$as_me:8534: \$? = $ac_status" >&5
    6495 +  echo "$as_me:9304: \$? = $ac_status" >&5
     7043+  echo "$as_me:9167: \$? = $ac_status" >&5
    64967044   (exit $ac_status); }; }; then
    64977045   ac_cv_sys_largefile_CC=' -n32'; break
    64987046 else
    6499 @@ -8545,13 +9315,13 @@
     7047@@ -8545,13 +9178,13 @@
    65007048        rm -f conftest.$ac_ext
    65017049     fi
    65027050 fi
    65037051-echo "$as_me:8548: result: $ac_cv_sys_largefile_CC" >&5
    6504 +echo "$as_me:9318: result: $ac_cv_sys_largefile_CC" >&5
     7052+echo "$as_me:9181: result: $ac_cv_sys_largefile_CC" >&5
    65057053 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
    65067054   if test "$ac_cv_sys_largefile_CC" != no; then
     
    65097057 
    65107058-  echo "$as_me:8554: checking for _FILE_OFFSET_BITS value needed for large files" >&5
    6511 +  echo "$as_me:9324: checking for _FILE_OFFSET_BITS value needed for large files" >&5
     7059+  echo "$as_me:9187: checking for _FILE_OFFSET_BITS value needed for large files" >&5
    65127060 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
    65137061 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
    65147062   echo $ECHO_N "(cached) $ECHO_C" >&6
    6515 @@ -8559,7 +9329,7 @@
     7063@@ -8559,7 +9192,7 @@
    65167064   while :; do
    65177065   ac_cv_sys_file_offset_bits=no
    65187066   cat >conftest.$ac_ext <<_ACEOF
    65197067-#line 8562 "configure"
    6520 +#line 9332 "configure"
     7068+#line 9195 "configure"
    65217069 #include "confdefs.h"
    65227070 #include <sys/types.h>
    65237071  /* Check that off_t can represent 2**63 - 1 correctly.
    6524 @@ -8579,16 +9349,16 @@
     7072@@ -8579,16 +9212,16 @@
    65257073 }
    65267074 _ACEOF
    65277075 rm -f conftest.$ac_objext
    65287076-if { (eval echo "$as_me:8582: \"$ac_compile\"") >&5
    6529 +if { (eval echo "$as_me:9352: \"$ac_compile\"") >&5
     7077+if { (eval echo "$as_me:9215: \"$ac_compile\"") >&5
    65307078   (eval $ac_compile) 2>&5
    65317079   ac_status=$?
    65327080-  echo "$as_me:8585: \$? = $ac_status" >&5
    6533 +  echo "$as_me:9355: \$? = $ac_status" >&5
     7081+  echo "$as_me:9218: \$? = $ac_status" >&5
    65347082   (exit $ac_status); } &&
    65357083          { ac_try='test -s conftest.$ac_objext'
    65367084-  { (eval echo "$as_me:8588: \"$ac_try\"") >&5
    6537 +  { (eval echo "$as_me:9358: \"$ac_try\"") >&5
     7085+  { (eval echo "$as_me:9221: \"$ac_try\"") >&5
    65387086   (eval $ac_try) 2>&5
    65397087   ac_status=$?
    65407088-  echo "$as_me:8591: \$? = $ac_status" >&5
    6541 +  echo "$as_me:9361: \$? = $ac_status" >&5
     7089+  echo "$as_me:9224: \$? = $ac_status" >&5
    65427090   (exit $ac_status); }; }; then
    65437091   break
    65447092 else
    6545 @@ -8597,7 +9367,7 @@
     7093@@ -8597,7 +9230,7 @@
    65467094 fi
    65477095 rm -f conftest.$ac_objext conftest.$ac_ext
    65487096   cat >conftest.$ac_ext <<_ACEOF
    65497097-#line 8600 "configure"
    6550 +#line 9370 "configure"
     7098+#line 9233 "configure"
    65517099 #include "confdefs.h"
    65527100 #define _FILE_OFFSET_BITS 64
    65537101 #include <sys/types.h>
    6554 @@ -8618,16 +9388,16 @@
     7102@@ -8618,16 +9251,16 @@
    65557103 }
    65567104 _ACEOF
    65577105 rm -f conftest.$ac_objext
    65587106-if { (eval echo "$as_me:8621: \"$ac_compile\"") >&5
    6559 +if { (eval echo "$as_me:9391: \"$ac_compile\"") >&5
     7107+if { (eval echo "$as_me:9254: \"$ac_compile\"") >&5
    65607108   (eval $ac_compile) 2>&5
    65617109   ac_status=$?
    65627110-  echo "$as_me:8624: \$? = $ac_status" >&5
    6563 +  echo "$as_me:9394: \$? = $ac_status" >&5
     7111+  echo "$as_me:9257: \$? = $ac_status" >&5
    65647112   (exit $ac_status); } &&
    65657113          { ac_try='test -s conftest.$ac_objext'
    65667114-  { (eval echo "$as_me:8627: \"$ac_try\"") >&5
    6567 +  { (eval echo "$as_me:9397: \"$ac_try\"") >&5
     7115+  { (eval echo "$as_me:9260: \"$ac_try\"") >&5
    65687116   (eval $ac_try) 2>&5
    65697117   ac_status=$?
    65707118-  echo "$as_me:8630: \$? = $ac_status" >&5
    6571 +  echo "$as_me:9400: \$? = $ac_status" >&5
     7119+  echo "$as_me:9263: \$? = $ac_status" >&5
    65727120   (exit $ac_status); }; }; then
    65737121   ac_cv_sys_file_offset_bits=64; break
    65747122 else
    6575 @@ -8638,7 +9408,7 @@
     7123@@ -8638,7 +9271,7 @@
    65767124   break
    65777125 done
    65787126 fi
    65797127-echo "$as_me:8641: result: $ac_cv_sys_file_offset_bits" >&5
    6580 +echo "$as_me:9411: result: $ac_cv_sys_file_offset_bits" >&5
     7128+echo "$as_me:9274: result: $ac_cv_sys_file_offset_bits" >&5
    65817129 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
    65827130 if test "$ac_cv_sys_file_offset_bits" != no; then
    65837131 
    6584 @@ -8648,7 +9418,7 @@
     7132@@ -8648,7 +9281,7 @@
    65857133 
    65867134 fi
    65877135 rm -rf conftest*
    65887136-  echo "$as_me:8651: checking for _LARGE_FILES value needed for large files" >&5
    6589 +  echo "$as_me:9421: checking for _LARGE_FILES value needed for large files" >&5
     7137+  echo "$as_me:9284: checking for _LARGE_FILES value needed for large files" >&5
    65907138 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
    65917139 if test "${ac_cv_sys_large_files+set}" = set; then
    65927140   echo $ECHO_N "(cached) $ECHO_C" >&6
    6593 @@ -8656,7 +9426,7 @@
     7141@@ -8656,7 +9289,7 @@
    65947142   while :; do
    65957143   ac_cv_sys_large_files=no
    65967144   cat >conftest.$ac_ext <<_ACEOF
    65977145-#line 8659 "configure"
    6598 +#line 9429 "configure"
     7146+#line 9292 "configure"
    65997147 #include "confdefs.h"
    66007148 #include <sys/types.h>
    66017149  /* Check that off_t can represent 2**63 - 1 correctly.
    6602 @@ -8676,16 +9446,16 @@
     7150@@ -8676,16 +9309,16 @@
    66037151 }
    66047152 _ACEOF
    66057153 rm -f conftest.$ac_objext
    66067154-if { (eval echo "$as_me:8679: \"$ac_compile\"") >&5
    6607 +if { (eval echo "$as_me:9449: \"$ac_compile\"") >&5
     7155+if { (eval echo "$as_me:9312: \"$ac_compile\"") >&5
    66087156   (eval $ac_compile) 2>&5
    66097157   ac_status=$?
    66107158-  echo "$as_me:8682: \$? = $ac_status" >&5
    6611 +  echo "$as_me:9452: \$? = $ac_status" >&5
     7159+  echo "$as_me:9315: \$? = $ac_status" >&5
    66127160   (exit $ac_status); } &&
    66137161          { ac_try='test -s conftest.$ac_objext'
    66147162-  { (eval echo "$as_me:8685: \"$ac_try\"") >&5
    6615 +  { (eval echo "$as_me:9455: \"$ac_try\"") >&5
     7163+  { (eval echo "$as_me:9318: \"$ac_try\"") >&5
    66167164   (eval $ac_try) 2>&5
    66177165   ac_status=$?
    66187166-  echo "$as_me:8688: \$? = $ac_status" >&5
    6619 +  echo "$as_me:9458: \$? = $ac_status" >&5
     7167+  echo "$as_me:9321: \$? = $ac_status" >&5
    66207168   (exit $ac_status); }; }; then
    66217169   break
    66227170 else
    6623 @@ -8694,7 +9464,7 @@
     7171@@ -8694,7 +9327,7 @@
    66247172 fi
    66257173 rm -f conftest.$ac_objext conftest.$ac_ext
    66267174   cat >conftest.$ac_ext <<_ACEOF
    66277175-#line 8697 "configure"
    6628 +#line 9467 "configure"
     7176+#line 9330 "configure"
    66297177 #include "confdefs.h"
    66307178 #define _LARGE_FILES 1
    66317179 #include <sys/types.h>
    6632 @@ -8715,16 +9485,16 @@
     7180@@ -8715,16 +9348,16 @@
    66337181 }
    66347182 _ACEOF
    66357183 rm -f conftest.$ac_objext
    66367184-if { (eval echo "$as_me:8718: \"$ac_compile\"") >&5
    6637 +if { (eval echo "$as_me:9488: \"$ac_compile\"") >&5
     7185+if { (eval echo "$as_me:9351: \"$ac_compile\"") >&5
    66387186   (eval $ac_compile) 2>&5
    66397187   ac_status=$?
    66407188-  echo "$as_me:8721: \$? = $ac_status" >&5
    6641 +  echo "$as_me:9491: \$? = $ac_status" >&5
     7189+  echo "$as_me:9354: \$? = $ac_status" >&5
    66427190   (exit $ac_status); } &&
    66437191          { ac_try='test -s conftest.$ac_objext'
    66447192-  { (eval echo "$as_me:8724: \"$ac_try\"") >&5
    6645 +  { (eval echo "$as_me:9494: \"$ac_try\"") >&5
     7193+  { (eval echo "$as_me:9357: \"$ac_try\"") >&5
    66467194   (eval $ac_try) 2>&5
    66477195   ac_status=$?
    66487196-  echo "$as_me:8727: \$? = $ac_status" >&5
    6649 +  echo "$as_me:9497: \$? = $ac_status" >&5
     7197+  echo "$as_me:9360: \$? = $ac_status" >&5
    66507198   (exit $ac_status); }; }; then
    66517199   ac_cv_sys_large_files=1; break
    66527200 else
    6653 @@ -8735,7 +9505,7 @@
     7201@@ -8735,7 +9368,7 @@
    66547202   break
    66557203 done
    66567204 fi
    66577205-echo "$as_me:8738: result: $ac_cv_sys_large_files" >&5
    6658 +echo "$as_me:9508: result: $ac_cv_sys_large_files" >&5
     7206+echo "$as_me:9371: result: $ac_cv_sys_large_files" >&5
    66597207 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
    66607208 if test "$ac_cv_sys_large_files" != no; then
    66617209 
    6662 @@ -8748,7 +9518,7 @@
     7210@@ -8748,7 +9381,7 @@
    66637211 fi
    66647212 
    66657213     if test "$enable_largefile" != no ; then
    66667214-       echo "$as_me:8751: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    6667 +       echo "$as_me:9521: checking for _LARGEFILE_SOURCE value needed for large files" >&5
     7215+       echo "$as_me:9384: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    66687216 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
    66697217 if test "${ac_cv_sys_largefile_source+set}" = set; then
    66707218   echo $ECHO_N "(cached) $ECHO_C" >&6
    6671 @@ -8756,7 +9526,7 @@
     7219@@ -8756,7 +9389,7 @@
    66727220   while :; do
    66737221   ac_cv_sys_largefile_source=no
    66747222   cat >conftest.$ac_ext <<_ACEOF
    66757223-#line 8759 "configure"
    6676 +#line 9529 "configure"
     7224+#line 9392 "configure"
    66777225 #include "confdefs.h"
    66787226 #include <stdio.h>
    66797227 int
    6680 @@ -8768,16 +9538,16 @@
     7228@@ -8768,16 +9401,16 @@
    66817229 }
    66827230 _ACEOF
    66837231 rm -f conftest.$ac_objext
    66847232-if { (eval echo "$as_me:8771: \"$ac_compile\"") >&5
    6685 +if { (eval echo "$as_me:9541: \"$ac_compile\"") >&5
     7233+if { (eval echo "$as_me:9404: \"$ac_compile\"") >&5
    66867234   (eval $ac_compile) 2>&5
    66877235   ac_status=$?
    66887236-  echo "$as_me:8774: \$? = $ac_status" >&5
    6689 +  echo "$as_me:9544: \$? = $ac_status" >&5
     7237+  echo "$as_me:9407: \$? = $ac_status" >&5
    66907238   (exit $ac_status); } &&
    66917239          { ac_try='test -s conftest.$ac_objext'
    66927240-  { (eval echo "$as_me:8777: \"$ac_try\"") >&5
    6693 +  { (eval echo "$as_me:9547: \"$ac_try\"") >&5
     7241+  { (eval echo "$as_me:9410: \"$ac_try\"") >&5
    66947242   (eval $ac_try) 2>&5
    66957243   ac_status=$?
    66967244-  echo "$as_me:8780: \$? = $ac_status" >&5
    6697 +  echo "$as_me:9550: \$? = $ac_status" >&5
     7245+  echo "$as_me:9413: \$? = $ac_status" >&5
    66987246   (exit $ac_status); }; }; then
    66997247   break
    67007248 else
    6701 @@ -8786,7 +9556,7 @@
     7249@@ -8786,7 +9419,7 @@
    67027250 fi
    67037251 rm -f conftest.$ac_objext conftest.$ac_ext
    67047252   cat >conftest.$ac_ext <<_ACEOF
    67057253-#line 8789 "configure"
    6706 +#line 9559 "configure"
     7254+#line 9422 "configure"
    67077255 #include "confdefs.h"
    67087256 #define _LARGEFILE_SOURCE 1
    67097257 #include <stdio.h>
    6710 @@ -8799,16 +9569,16 @@
     7258@@ -8799,16 +9432,16 @@
    67117259 }
    67127260 _ACEOF
    67137261 rm -f conftest.$ac_objext
    67147262-if { (eval echo "$as_me:8802: \"$ac_compile\"") >&5
    6715 +if { (eval echo "$as_me:9572: \"$ac_compile\"") >&5
     7263+if { (eval echo "$as_me:9435: \"$ac_compile\"") >&5
    67167264   (eval $ac_compile) 2>&5
    67177265   ac_status=$?
    67187266-  echo "$as_me:8805: \$? = $ac_status" >&5
    6719 +  echo "$as_me:9575: \$? = $ac_status" >&5
     7267+  echo "$as_me:9438: \$? = $ac_status" >&5
    67207268   (exit $ac_status); } &&
    67217269          { ac_try='test -s conftest.$ac_objext'
    67227270-  { (eval echo "$as_me:8808: \"$ac_try\"") >&5
    6723 +  { (eval echo "$as_me:9578: \"$ac_try\"") >&5
     7271+  { (eval echo "$as_me:9441: \"$ac_try\"") >&5
    67247272   (eval $ac_try) 2>&5
    67257273   ac_status=$?
    67267274-  echo "$as_me:8811: \$? = $ac_status" >&5
    6727 +  echo "$as_me:9581: \$? = $ac_status" >&5
     7275+  echo "$as_me:9444: \$? = $ac_status" >&5
    67287276   (exit $ac_status); }; }; then
    67297277   ac_cv_sys_largefile_source=1; break
    67307278 else
    6731 @@ -8819,7 +9589,7 @@
     7279@@ -8819,7 +9452,7 @@
    67327280   break
    67337281 done
    67347282 fi
    67357283-echo "$as_me:8822: result: $ac_cv_sys_largefile_source" >&5
    6736 +echo "$as_me:9592: result: $ac_cv_sys_largefile_source" >&5
     7284+echo "$as_me:9455: result: $ac_cv_sys_largefile_source" >&5
    67377285 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
    67387286 if test "$ac_cv_sys_largefile_source" != no; then
    67397287 
    6740 @@ -8833,13 +9603,13 @@
     7288@@ -8833,13 +9466,13 @@
    67417289 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
    67427290 # in glibc 2.1.3, but that breaks too many other things.
    67437291 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
    67447292-echo "$as_me:8836: checking for fseeko" >&5
    6745 +echo "$as_me:9606: checking for fseeko" >&5
     7293+echo "$as_me:9469: checking for fseeko" >&5
    67467294 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
    67477295 if test "${ac_cv_func_fseeko+set}" = set; then
     
    67507298   cat >conftest.$ac_ext <<_ACEOF
    67517299-#line 8842 "configure"
    6752 +#line 9612 "configure"
     7300+#line 9475 "configure"
    67537301 #include "confdefs.h"
    67547302 #include <stdio.h>
    67557303 int
    6756 @@ -8851,16 +9621,16 @@
     7304@@ -8851,16 +9484,16 @@
    67577305 }
    67587306 _ACEOF
    67597307 rm -f conftest.$ac_objext conftest$ac_exeext
    67607308-if { (eval echo "$as_me:8854: \"$ac_link\"") >&5
    6761 +if { (eval echo "$as_me:9624: \"$ac_link\"") >&5
     7309+if { (eval echo "$as_me:9487: \"$ac_link\"") >&5
    67627310   (eval $ac_link) 2>&5
    67637311   ac_status=$?
    67647312-  echo "$as_me:8857: \$? = $ac_status" >&5
    6765 +  echo "$as_me:9627: \$? = $ac_status" >&5
     7313+  echo "$as_me:9490: \$? = $ac_status" >&5
    67667314   (exit $ac_status); } &&
    67677315          { ac_try='test -s conftest$ac_exeext'
    67687316-  { (eval echo "$as_me:8860: \"$ac_try\"") >&5
    6769 +  { (eval echo "$as_me:9630: \"$ac_try\"") >&5
     7317+  { (eval echo "$as_me:9493: \"$ac_try\"") >&5
    67707318   (eval $ac_try) 2>&5
    67717319   ac_status=$?
    67727320-  echo "$as_me:8863: \$? = $ac_status" >&5
    6773 +  echo "$as_me:9633: \$? = $ac_status" >&5
     7321+  echo "$as_me:9496: \$? = $ac_status" >&5
    67747322   (exit $ac_status); }; }; then
    67757323   ac_cv_func_fseeko=yes
    67767324 else
    6777 @@ -8870,7 +9640,7 @@
     7325@@ -8870,7 +9503,7 @@
    67787326 fi
    67797327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    67807328 fi
    67817329-echo "$as_me:8873: result: $ac_cv_func_fseeko" >&5
    6782 +echo "$as_me:9643: result: $ac_cv_func_fseeko" >&5
     7330+echo "$as_me:9506: result: $ac_cv_func_fseeko" >&5
    67837331 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
    67847332 if test $ac_cv_func_fseeko = yes; then
    67857333 
    6786 @@ -8891,14 +9661,14 @@
     7334@@ -8891,14 +9524,14 @@
    67877335        test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE "
    67887336        test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits "
    67897337 
    67907338-       echo "$as_me:8894: checking whether to use struct dirent64" >&5
    6791 +       echo "$as_me:9664: checking whether to use struct dirent64" >&5
     7339+       echo "$as_me:9527: checking whether to use struct dirent64" >&5
    67927340 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6
    67937341 if test "${cf_cv_struct_dirent64+set}" = set; then
     
    67977345                cat >conftest.$ac_ext <<_ACEOF
    67987346-#line 8901 "configure"
    6799 +#line 9671 "configure"
     7347+#line 9534 "configure"
    68007348 #include "confdefs.h"
    68017349 
    68027350 #include <sys/types.h>
    6803 @@ -8919,16 +9689,16 @@
     7351@@ -8919,16 +9552,16 @@
    68047352 }
    68057353 _ACEOF
    68067354 rm -f conftest.$ac_objext
    68077355-if { (eval echo "$as_me:8922: \"$ac_compile\"") >&5
    6808 +if { (eval echo "$as_me:9692: \"$ac_compile\"") >&5
     7356+if { (eval echo "$as_me:9555: \"$ac_compile\"") >&5
    68097357   (eval $ac_compile) 2>&5
    68107358   ac_status=$?
    68117359-  echo "$as_me:8925: \$? = $ac_status" >&5
    6812 +  echo "$as_me:9695: \$? = $ac_status" >&5
     7360+  echo "$as_me:9558: \$? = $ac_status" >&5
    68137361   (exit $ac_status); } &&
    68147362          { ac_try='test -s conftest.$ac_objext'
    68157363-  { (eval echo "$as_me:8928: \"$ac_try\"") >&5
    6816 +  { (eval echo "$as_me:9698: \"$ac_try\"") >&5
     7364+  { (eval echo "$as_me:9561: \"$ac_try\"") >&5
    68177365   (eval $ac_try) 2>&5
    68187366   ac_status=$?
    68197367-  echo "$as_me:8931: \$? = $ac_status" >&5
    6820 +  echo "$as_me:9701: \$? = $ac_status" >&5
     7368+  echo "$as_me:9564: \$? = $ac_status" >&5
    68217369   (exit $ac_status); }; }; then
    68227370   cf_cv_struct_dirent64=yes
    68237371 else
    6824 @@ -8939,7 +9709,7 @@
     7372@@ -8939,7 +9572,7 @@
    68257373 rm -f conftest.$ac_objext conftest.$ac_ext
    68267374 
    68277375 fi
    68287376-echo "$as_me:8942: result: $cf_cv_struct_dirent64" >&5
    6829 +echo "$as_me:9712: result: $cf_cv_struct_dirent64" >&5
     7377+echo "$as_me:9575: result: $cf_cv_struct_dirent64" >&5
    68307378 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6
    68317379        test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF
    68327380 #define HAVE_STRUCT_DIRENT64 1
    6833 @@ -8948,7 +9718,7 @@
     7381@@ -8948,7 +9581,7 @@
    68347382     fi
    68357383 
    68367384 ### Enable compiling-in rcs id's
    68377385-echo "$as_me:8951: checking if RCS identifiers should be compiled-in" >&5
    6838 +echo "$as_me:9721: checking if RCS identifiers should be compiled-in" >&5
     7386+echo "$as_me:9584: checking if RCS identifiers should be compiled-in" >&5
    68397387 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6
    68407388 
    68417389 # Check whether --with-rcs-ids or --without-rcs-ids was given.
    6842 @@ -8958,7 +9728,7 @@
     7390@@ -8958,7 +9591,7 @@
    68437391 else
    68447392   with_rcs_ids=no
    68457393 fi;
    68467394-echo "$as_me:8961: result: $with_rcs_ids" >&5
    6847 +echo "$as_me:9731: result: $with_rcs_ids" >&5
     7395+echo "$as_me:9594: result: $with_rcs_ids" >&5
    68487396 echo "${ECHO_T}$with_rcs_ids" >&6
    68497397 test "$with_rcs_ids" = yes && cat >>confdefs.h <<\EOF
    68507398 #define USE_RCS_IDS 1
    6851 @@ -8967,7 +9737,7 @@
     7399@@ -8967,7 +9600,7 @@
    68527400 ###############################################################################
    68537401 
    68547402 ### Note that some functions (such as const) are normally disabled anyway.
    68557403-echo "$as_me:8970: checking if you want to build with function extensions" >&5
    6856 +echo "$as_me:9740: checking if you want to build with function extensions" >&5
     7404+echo "$as_me:9603: checking if you want to build with function extensions" >&5
    68577405 echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6
    68587406 
    68597407 # Check whether --enable-ext-funcs or --disable-ext-funcs was given.
    6860 @@ -8977,7 +9747,7 @@
     7408@@ -8977,7 +9610,7 @@
    68617409 else
    68627410   with_ext_funcs=yes
    68637411 fi;
    68647412-echo "$as_me:8980: result: $with_ext_funcs" >&5
    6865 +echo "$as_me:9750: result: $with_ext_funcs" >&5
     7413+echo "$as_me:9613: result: $with_ext_funcs" >&5
    68667414 echo "${ECHO_T}$with_ext_funcs" >&6
    68677415 if test "$with_ext_funcs" = yes ; then
    68687416        NCURSES_EXT_FUNCS=1
    6869 @@ -8994,7 +9764,7 @@
     7417@@ -8994,7 +9627,7 @@
    68707418 fi
    68717419 
    68727420 ###   use option --enable-const to turn on use of const beyond that in XSI.
    68737421-echo "$as_me:8997: checking for extended use of const keyword" >&5
    6874 +echo "$as_me:9767: checking for extended use of const keyword" >&5
     7422+echo "$as_me:9630: checking for extended use of const keyword" >&5
    68757423 echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6
    68767424 
    68777425 # Check whether --enable-const or --disable-const was given.
    6878 @@ -9004,7 +9774,7 @@
     7426@@ -9004,7 +9637,7 @@
    68797427 else
    68807428   with_ext_const=no
    68817429 fi;
    68827430-echo "$as_me:9007: result: $with_ext_const" >&5
    6883 +echo "$as_me:9777: result: $with_ext_const" >&5
     7431+echo "$as_me:9640: result: $with_ext_const" >&5
    68847432 echo "${ECHO_T}$with_ext_const" >&6
    68857433 NCURSES_CONST='/*nothing*/'
    68867434 if test "$with_ext_const" = yes ; then
    6887 @@ -9014,7 +9784,7 @@
     7435@@ -9014,7 +9647,7 @@
    68887436 ###############################################################################
    68897437 # These options are relatively safe to experiment with.
    68907438 
    68917439-echo "$as_me:9017: checking if you want all development code" >&5
    6892 +echo "$as_me:9787: checking if you want all development code" >&5
     7440+echo "$as_me:9650: checking if you want all development code" >&5
    68937441 echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6
    68947442 
    68957443 # Check whether --with-develop or --without-develop was given.
    6896 @@ -9024,7 +9794,7 @@
     7444@@ -9024,7 +9657,7 @@
    68977445 else
    68987446   with_develop=no
    68997447 fi;
    69007448-echo "$as_me:9027: result: $with_develop" >&5
    6901 +echo "$as_me:9797: result: $with_develop" >&5
     7449+echo "$as_me:9660: result: $with_develop" >&5
    69027450 echo "${ECHO_T}$with_develop" >&6
    69037451 
    69047452 ###############################################################################
    6905 @@ -9033,7 +9803,7 @@
     7453@@ -9033,7 +9666,7 @@
    69067454 # This is still experimental (20080329), but should ultimately be moved to
    69077455 # the script-block --with-normal, etc.
    69087456 
    69097457-echo "$as_me:9036: checking if you want to link with the pthread library" >&5
    6910 +echo "$as_me:9806: checking if you want to link with the pthread library" >&5
     7458+echo "$as_me:9669: checking if you want to link with the pthread library" >&5
    69117459 echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6
    69127460 
    69137461 # Check whether --with-pthread or --without-pthread was given.
    6914 @@ -9043,27 +9813,27 @@
     7462@@ -9043,27 +9676,27 @@
    69157463 else
    69167464   with_pthread=no
    69177465 fi;
    69187466-echo "$as_me:9046: result: $with_pthread" >&5
    6919 +echo "$as_me:9816: result: $with_pthread" >&5
     7467+echo "$as_me:9679: result: $with_pthread" >&5
    69207468 echo "${ECHO_T}$with_pthread" >&6
    69217469 
    69227470 if test "$with_pthread" != no ; then
    69237471-    echo "$as_me:9050: checking for pthread.h" >&5
    6924 +    echo "$as_me:9820: checking for pthread.h" >&5
     7472+    echo "$as_me:9683: checking for pthread.h" >&5
    69257473 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
    69267474 if test "${ac_cv_header_pthread_h+set}" = set; then
     
    69297477   cat >conftest.$ac_ext <<_ACEOF
    69307478-#line 9056 "configure"
    6931 +#line 9826 "configure"
     7479+#line 9689 "configure"
    69327480 #include "confdefs.h"
    69337481 #include <pthread.h>
    69347482 _ACEOF
    69357483-if { (eval echo "$as_me:9060: \"$ac_cpp conftest.$ac_ext\"") >&5
    6936 +if { (eval echo "$as_me:9830: \"$ac_cpp conftest.$ac_ext\"") >&5
     7484+if { (eval echo "$as_me:9693: \"$ac_cpp conftest.$ac_ext\"") >&5
    69377485   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    69387486   ac_status=$?
     
    69417489   cat conftest.err >&5
    69427490-  echo "$as_me:9066: \$? = $ac_status" >&5
    6943 +  echo "$as_me:9836: \$? = $ac_status" >&5
     7491+  echo "$as_me:9699: \$? = $ac_status" >&5
    69447492   (exit $ac_status); } >/dev/null; then
    69457493   if test -s conftest.err; then
    69467494     ac_cpp_err=$ac_c_preproc_warn_flag
    6947 @@ -9082,7 +9852,7 @@
     7495@@ -9082,7 +9715,7 @@
    69487496 fi
    69497497 rm -f conftest.err conftest.$ac_ext
    69507498 fi
    69517499-echo "$as_me:9085: result: $ac_cv_header_pthread_h" >&5
    6952 +echo "$as_me:9855: result: $ac_cv_header_pthread_h" >&5
     7500+echo "$as_me:9718: result: $ac_cv_header_pthread_h" >&5
    69537501 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
    69547502 if test $ac_cv_header_pthread_h = yes; then
    69557503 
    6956 @@ -9090,12 +9860,14 @@
     7504@@ -9090,12 +9723,14 @@
    69577505 #define HAVE_PTHREADS_H 1
    69587506 EOF
     
    69667514+       for cf_lib_pthread in pthread c_r
    69677515+       do
    6968 +           echo "$as_me:9865: checking if we can link with the $cf_lib_pthread library" >&5
     7516+           echo "$as_me:9728: checking if we can link with the $cf_lib_pthread library" >&5
    69697517+echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6
    69707518+           cf_save_LIBS="$LIBS"
    69717519+           LIBS="-l$cf_lib_pthread $LIBS"
    69727520+           cat >conftest.$ac_ext <<_ACEOF
    6973 +#line 9870 "configure"
     7521+#line 9733 "configure"
    69747522 #include "confdefs.h"
    69757523 
    69767524 #include <pthread.h>
    6977 @@ -9104,23 +9876,24 @@
     7525@@ -9104,23 +9739,24 @@
    69787526 main ()
    69797527 {
     
    69897537 rm -f conftest.$ac_objext conftest$ac_exeext
    69907538-if { (eval echo "$as_me:9114: \"$ac_link\"") >&5
    6991 +if { (eval echo "$as_me:9887: \"$ac_link\"") >&5
     7539+if { (eval echo "$as_me:9750: \"$ac_link\"") >&5
    69927540   (eval $ac_link) 2>&5
    69937541   ac_status=$?
    69947542-  echo "$as_me:9117: \$? = $ac_status" >&5
    6995 +  echo "$as_me:9890: \$? = $ac_status" >&5
     7543+  echo "$as_me:9753: \$? = $ac_status" >&5
    69967544   (exit $ac_status); } &&
    69977545          { ac_try='test -s conftest$ac_exeext'
    69987546-  { (eval echo "$as_me:9120: \"$ac_try\"") >&5
    6999 +  { (eval echo "$as_me:9893: \"$ac_try\"") >&5
     7547+  { (eval echo "$as_me:9756: \"$ac_try\"") >&5
    70007548   (eval $ac_try) 2>&5
    70017549   ac_status=$?
    70027550-  echo "$as_me:9123: \$? = $ac_status" >&5
    7003 +  echo "$as_me:9896: \$? = $ac_status" >&5
     7551+  echo "$as_me:9759: \$? = $ac_status" >&5
    70047552   (exit $ac_status); }; }; then
    70057553   with_pthread=yes
    70067554 else
    7007 @@ -9129,27 +9902,29 @@
     7555@@ -9129,27 +9765,29 @@
    70087556 with_pthread=no
    70097557 fi
     
    70127560-        echo "$as_me:9133: result: $with_pthread" >&5
    70137561+           LIBS="$cf_save_LIBS"
    7014 +           echo "$as_me:9906: result: $with_pthread" >&5
     7562+           echo "$as_me:9769: result: $with_pthread" >&5
    70157563 echo "${ECHO_T}$with_pthread" >&6
    70167564+           test "$with_pthread" = yes && break
     
    70297577-            { { echo "$as_me:9143: error: Cannot link with pthread library" >&5
    70307578+       else
    7031 +           { { echo "$as_me:9918: error: Cannot link with pthread library" >&5
     7579+           { { echo "$as_me:9781: error: Cannot link with pthread library" >&5
    70327580 echo "$as_me: error: Cannot link with pthread library" >&2;}
    70337581    { (exit 1); exit 1; }; }
     
    70407588 
    70417589-echo "$as_me:9152: checking if you want to use weak-symbols for pthreads" >&5
    7042 +echo "$as_me:9927: checking if you want to use weak-symbols for pthreads" >&5
     7590+echo "$as_me:9790: checking if you want to use weak-symbols for pthreads" >&5
    70437591 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6
    70447592 
    70457593 # Check whether --enable-weak-symbols or --disable-weak-symbols was given.
    7046 @@ -9159,18 +9934,18 @@
     7594@@ -9159,18 +9797,18 @@
    70477595 else
    70487596   use_weak_symbols=no
    70497597 fi;
    70507598-echo "$as_me:9162: result: $use_weak_symbols" >&5
    7051 +echo "$as_me:9937: result: $use_weak_symbols" >&5
     7599+echo "$as_me:9800: result: $use_weak_symbols" >&5
    70527600 echo "${ECHO_T}$use_weak_symbols" >&6
    70537601 if test "$use_weak_symbols" = yes ; then
    70547602 
    70557603-echo "$as_me:9166: checking if $CC supports weak symbols" >&5
    7056 +echo "$as_me:9941: checking if $CC supports weak symbols" >&5
     7604+echo "$as_me:9804: checking if $CC supports weak symbols" >&5
    70577605 echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6
    70587606 if test "${cf_cv_weak_symbols+set}" = set; then
     
    70627610 cat >conftest.$ac_ext <<_ACEOF
    70637611-#line 9173 "configure"
    7064 +#line 9948 "configure"
     7612+#line 9811 "configure"
    70657613 #include "confdefs.h"
    70667614 
    70677615 #include <stdio.h>
    7068 @@ -9196,16 +9971,16 @@
     7616@@ -9196,16 +9834,16 @@
    70697617 }
    70707618 _ACEOF
    70717619 rm -f conftest.$ac_objext
    70727620-if { (eval echo "$as_me:9199: \"$ac_compile\"") >&5
    7073 +if { (eval echo "$as_me:9974: \"$ac_compile\"") >&5
     7621+if { (eval echo "$as_me:9837: \"$ac_compile\"") >&5
    70747622   (eval $ac_compile) 2>&5
    70757623   ac_status=$?
    70767624-  echo "$as_me:9202: \$? = $ac_status" >&5
    7077 +  echo "$as_me:9977: \$? = $ac_status" >&5
     7625+  echo "$as_me:9840: \$? = $ac_status" >&5
    70787626   (exit $ac_status); } &&
    70797627          { ac_try='test -s conftest.$ac_objext'
    70807628-  { (eval echo "$as_me:9205: \"$ac_try\"") >&5
    7081 +  { (eval echo "$as_me:9980: \"$ac_try\"") >&5
     7629+  { (eval echo "$as_me:9843: \"$ac_try\"") >&5
    70827630   (eval $ac_try) 2>&5
    70837631   ac_status=$?
    70847632-  echo "$as_me:9208: \$? = $ac_status" >&5
    7085 +  echo "$as_me:9983: \$? = $ac_status" >&5
     7633+  echo "$as_me:9846: \$? = $ac_status" >&5
    70867634   (exit $ac_status); }; }; then
    70877635   cf_cv_weak_symbols=yes
    70887636 else
    7089 @@ -9216,7 +9991,7 @@
     7637@@ -9216,7 +9854,7 @@
    70907638 rm -f conftest.$ac_objext conftest.$ac_ext
    70917639 
    70927640 fi
    70937641-echo "$as_me:9219: result: $cf_cv_weak_symbols" >&5
    7094 +echo "$as_me:9994: result: $cf_cv_weak_symbols" >&5
     7642+echo "$as_me:9857: result: $cf_cv_weak_symbols" >&5
    70957643 echo "${ECHO_T}$cf_cv_weak_symbols" >&6
    70967644 
    70977645 else
    7098 @@ -9243,13 +10018,13 @@
     7646@@ -9243,13 +9881,13 @@
    70997647 fi
    71007648 
    71017649 # OpenSUSE is installing ncurses6, using reentrant option.
    71027650-echo "$as_me:9246: checking for _nc_TABSIZE" >&5
    7103 +echo "$as_me:10021: checking for _nc_TABSIZE" >&5
     7651+echo "$as_me:9884: checking for _nc_TABSIZE" >&5
    71047652 echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6
    71057653 if test "${ac_cv_func__nc_TABSIZE+set}" = set; then
     
    71087656   cat >conftest.$ac_ext <<_ACEOF
    71097657-#line 9252 "configure"
    7110 +#line 10027 "configure"
     7658+#line 9890 "configure"
    71117659 #include "confdefs.h"
    71127660 /* System header to define __stub macros and hopefully few prototypes,
    71137661     which can conflict with char _nc_TABSIZE (); below.  */
    7114 @@ -9280,16 +10055,16 @@
     7662@@ -9272,7 +9910,7 @@
     7663 #if defined (__stub__nc_TABSIZE) || defined (__stub____nc_TABSIZE)
     7664 choke me
     7665 #else
     7666-f = _nc_TABSIZE;
     7667+f = _nc_TABSIZE; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     7668 #endif
     7669 
     7670   ;
     7671@@ -9280,16 +9918,16 @@
    71157672 }
    71167673 _ACEOF
    71177674 rm -f conftest.$ac_objext conftest$ac_exeext
    71187675-if { (eval echo "$as_me:9283: \"$ac_link\"") >&5
    7119 +if { (eval echo "$as_me:10058: \"$ac_link\"") >&5
     7676+if { (eval echo "$as_me:9921: \"$ac_link\"") >&5
    71207677   (eval $ac_link) 2>&5
    71217678   ac_status=$?
    71227679-  echo "$as_me:9286: \$? = $ac_status" >&5
    7123 +  echo "$as_me:10061: \$? = $ac_status" >&5
     7680+  echo "$as_me:9924: \$? = $ac_status" >&5
    71247681   (exit $ac_status); } &&
    71257682          { ac_try='test -s conftest$ac_exeext'
    71267683-  { (eval echo "$as_me:9289: \"$ac_try\"") >&5
    7127 +  { (eval echo "$as_me:10064: \"$ac_try\"") >&5
     7684+  { (eval echo "$as_me:9927: \"$ac_try\"") >&5
    71287685   (eval $ac_try) 2>&5
    71297686   ac_status=$?
    71307687-  echo "$as_me:9292: \$? = $ac_status" >&5
    7131 +  echo "$as_me:10067: \$? = $ac_status" >&5
     7688+  echo "$as_me:9930: \$? = $ac_status" >&5
    71327689   (exit $ac_status); }; }; then
    71337690   ac_cv_func__nc_TABSIZE=yes
    71347691 else
    7135 @@ -9299,7 +10074,7 @@
     7692@@ -9299,7 +9937,7 @@
    71367693 fi
    71377694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    71387695 fi
    71397696-echo "$as_me:9302: result: $ac_cv_func__nc_TABSIZE" >&5
    7140 +echo "$as_me:10077: result: $ac_cv_func__nc_TABSIZE" >&5
     7697+echo "$as_me:9940: result: $ac_cv_func__nc_TABSIZE" >&5
    71417698 echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6
    71427699 if test $ac_cv_func__nc_TABSIZE = yes; then
    71437700   assume_reentrant=yes
    7144 @@ -9311,7 +10086,7 @@
     7701@@ -9311,7 +9949,7 @@
    71457702 # opaque outside of that, so there is no --enable-opaque option.  We can use
    71467703 # this option without --with-pthreads, but this will be always set for
    71477704 # pthreads.
    71487705-echo "$as_me:9314: checking if you want experimental reentrant code" >&5
    7149 +echo "$as_me:10089: checking if you want experimental reentrant code" >&5
     7706+echo "$as_me:9952: checking if you want experimental reentrant code" >&5
    71507707 echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6
    71517708 
    71527709 # Check whether --enable-reentrant or --disable-reentrant was given.
    7153 @@ -9321,7 +10096,7 @@
     7710@@ -9321,7 +9959,7 @@
    71547711 else
    71557712   with_reentrant=$assume_reentrant
    71567713 fi;
    71577714-echo "$as_me:9324: result: $with_reentrant" >&5
    7158 +echo "$as_me:10099: result: $with_reentrant" >&5
     7715+echo "$as_me:9962: result: $with_reentrant" >&5
    71597716 echo "${ECHO_T}$with_reentrant" >&6
    71607717 if test "$with_reentrant" = yes ; then
    71617718        cf_cv_enable_reentrant=1
    7162 @@ -9343,7 +10118,7 @@
     7719@@ -9343,7 +9981,7 @@
    71637720 
    71647721 ### Allow using a different wrap-prefix
    71657722 if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then
    71667723-       echo "$as_me:9346: checking for prefix used to wrap public variables" >&5
    7167 +       echo "$as_me:10121: checking for prefix used to wrap public variables" >&5
     7724+       echo "$as_me:9984: checking for prefix used to wrap public variables" >&5
    71687725 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6
    71697726 
    71707727 # Check whether --with-wrap-prefix or --without-wrap-prefix was given.
    7171 @@ -9353,7 +10128,7 @@
     7728@@ -9353,7 +9991,7 @@
    71727729 else
    71737730   NCURSES_WRAP_PREFIX=_nc_
    71747731 fi;
    71757732-       echo "$as_me:9356: result: $NCURSES_WRAP_PREFIX" >&5
    7176 +       echo "$as_me:10131: result: $NCURSES_WRAP_PREFIX" >&5
     7733+       echo "$as_me:9994: result: $NCURSES_WRAP_PREFIX" >&5
    71777734 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6
    71787735 else
    71797736        NCURSES_WRAP_PREFIX=_nc_
    7180 @@ -9366,7 +10141,7 @@
     7737@@ -9366,26 +10004,46 @@
    71817738 ###############################################################################
    71827739 
    71837740 ###    use option --disable-echo to suppress full display compiling commands
    71847741-echo "$as_me:9369: checking if you want to display full commands during build" >&5
    7185 +echo "$as_me:10144: checking if you want to display full commands during build" >&5
    7186  echo $ECHO_N "checking if you want to display full commands during build... $ECHO_C" >&6
     7742-echo $ECHO_N "checking if you want to display full commands during build... $ECHO_C" >&6
     7743+
     7744+echo "$as_me:10008: checking if you want to see long compiling messages" >&5
     7745+echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
    71877746 
    71887747 # Check whether --enable-echo or --disable-echo was given.
    7189 @@ -9381,11 +10156,11 @@
     7748 if test "${enable_echo+set}" = set; then
     7749   enableval="$enable_echo"
     7750-  with_echo=$enableval
     7751+  test "$enableval" != no && enableval=yes
     7752+  if test "$enableval" != "yes" ; then
     7753+
     7754+    ECHO_LT='--silent'
     7755+    ECHO_LD='@echo linking $@;'
     7756+    RULE_CC='@echo compiling $<'
     7757+    SHOW_CC='@echo compiling $@'
     7758+    ECHO_CC='@'
     7759+
     7760+  else
     7761+
     7762+    ECHO_LT=''
     7763+    ECHO_LD=''
     7764+    RULE_CC=''
     7765+    SHOW_CC=''
     7766+    ECHO_CC=''
     7767+
     7768+  fi
    71907769 else
    7191         ECHO_LINK='@ echo linking $@ ... ;'
    7192  fi
     7770-  with_echo=yes
     7771+  enableval=yes
     7772+
     7773+    ECHO_LT=''
     7774+    ECHO_LD=''
     7775+    RULE_CC=''
     7776+    SHOW_CC=''
     7777+    ECHO_CC=''
     7778+
     7779 fi;
     7780-if test "$with_echo" = yes; then
     7781-       ECHO_LINK=
     7782-else
     7783-       ECHO_LINK='@ echo linking $@ ... ;'
     7784-fi
    71937785-echo "$as_me:9384: result: $with_echo" >&5
    7194 +echo "$as_me:10159: result: $with_echo" >&5
    7195  echo "${ECHO_T}$with_echo" >&6
     7786-echo "${ECHO_T}$with_echo" >&6
     7787+echo "$as_me:10042: result: $enableval" >&5
     7788+echo "${ECHO_T}$enableval" >&6
    71967789 
    71977790 ###    use option --enable-warnings to turn on all gcc warnings
    71987791-echo "$as_me:9388: checking if you want to see compiler warnings" >&5
    7199 +echo "$as_me:10163: checking if you want to see compiler warnings" >&5
     7792+echo "$as_me:10046: checking if you want to see compiler warnings" >&5
    72007793 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6
    72017794 
    72027795 # Check whether --enable-warnings or --disable-warnings was given.
    7203 @@ -9393,7 +10168,7 @@
     7796@@ -9393,7 +10051,7 @@
    72047797   enableval="$enable_warnings"
    72057798   with_warnings=$enableval
    72067799 fi;
    72077800-echo "$as_me:9396: result: $with_warnings" >&5
    7208 +echo "$as_me:10171: result: $with_warnings" >&5
     7801+echo "$as_me:10054: result: $with_warnings" >&5
    72097802 echo "${ECHO_T}$with_warnings" >&6
    72107803 
    72117804 if test "x$with_warnings" = "xyes"; then
    7212 @@ -9405,12 +10180,12 @@
     7805@@ -9405,12 +10063,12 @@
    72137806 if test "$GCC" = yes ; then
    72147807        case $host_os in
    72157808        linux*|gnu*)
    72167809-               echo "$as_me:9408: checking if this is really Intel C compiler" >&5
    7217 +               echo "$as_me:10183: checking if this is really Intel C compiler" >&5
     7810+               echo "$as_me:10066: checking if this is really Intel C compiler" >&5
    72187811 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
    72197812                cf_save_CFLAGS="$CFLAGS"
     
    72217814                cat >conftest.$ac_ext <<_ACEOF
    72227815-#line 9413 "configure"
    7223 +#line 10188 "configure"
     7816+#line 10071 "configure"
    72247817 #include "confdefs.h"
    72257818 
    72267819 int
    7227 @@ -9427,16 +10202,16 @@
     7820@@ -9427,16 +10085,16 @@
    72287821 }
    72297822 _ACEOF
    72307823 rm -f conftest.$ac_objext
    72317824-if { (eval echo "$as_me:9430: \"$ac_compile\"") >&5
    7232 +if { (eval echo "$as_me:10205: \"$ac_compile\"") >&5
     7825+if { (eval echo "$as_me:10088: \"$ac_compile\"") >&5
    72337826   (eval $ac_compile) 2>&5
    72347827   ac_status=$?
    72357828-  echo "$as_me:9433: \$? = $ac_status" >&5
    7236 +  echo "$as_me:10208: \$? = $ac_status" >&5
     7829+  echo "$as_me:10091: \$? = $ac_status" >&5
    72377830   (exit $ac_status); } &&
    72387831          { ac_try='test -s conftest.$ac_objext'
    72397832-  { (eval echo "$as_me:9436: \"$ac_try\"") >&5
    7240 +  { (eval echo "$as_me:10211: \"$ac_try\"") >&5
     7833+  { (eval echo "$as_me:10094: \"$ac_try\"") >&5
    72417834   (eval $ac_try) 2>&5
    72427835   ac_status=$?
    72437836-  echo "$as_me:9439: \$? = $ac_status" >&5
    7244 +  echo "$as_me:10214: \$? = $ac_status" >&5
     7837+  echo "$as_me:10097: \$? = $ac_status" >&5
    72457838   (exit $ac_status); }; }; then
    72467839   INTEL_COMPILER=yes
    72477840 cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
    7248 @@ -9447,14 +10222,14 @@
     7841@@ -9447,14 +10105,63 @@
    72497842 fi
    72507843 rm -f conftest.$ac_objext conftest.$ac_ext
    72517844                CFLAGS="$cf_save_CFLAGS"
    72527845-               echo "$as_me:9450: result: $INTEL_COMPILER" >&5
    7253 +               echo "$as_me:10225: result: $INTEL_COMPILER" >&5
     7846+               echo "$as_me:10108: result: $INTEL_COMPILER" >&5
    72547847 echo "${ECHO_T}$INTEL_COMPILER" >&6
    72557848                ;;
     
    72577850 fi
    72587851 
     7852+CLANG_COMPILER=no
     7853+
     7854+if test "$GCC" = yes ; then
     7855+       echo "$as_me:10117: checking if this is really Clang C compiler" >&5
     7856+echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
     7857+       cf_save_CFLAGS="$CFLAGS"
     7858+       CFLAGS="$CFLAGS -Qunused-arguments"
     7859+       cat >conftest.$ac_ext <<_ACEOF
     7860+#line 10122 "configure"
     7861+#include "confdefs.h"
     7862+
     7863+int
     7864+main ()
     7865+{
     7866+
     7867+#ifdef __clang__
     7868+#else
     7869+make an error
     7870+#endif
     7871+
     7872+  ;
     7873+  return 0;
     7874+}
     7875+_ACEOF
     7876+rm -f conftest.$ac_objext
     7877+if { (eval echo "$as_me:10139: \"$ac_compile\"") >&5
     7878+  (eval $ac_compile) 2>&5
     7879+  ac_status=$?
     7880+  echo "$as_me:10142: \$? = $ac_status" >&5
     7881+  (exit $ac_status); } &&
     7882+         { ac_try='test -s conftest.$ac_objext'
     7883+  { (eval echo "$as_me:10145: \"$ac_try\"") >&5
     7884+  (eval $ac_try) 2>&5
     7885+  ac_status=$?
     7886+  echo "$as_me:10148: \$? = $ac_status" >&5
     7887+  (exit $ac_status); }; }; then
     7888+  CLANG_COMPILER=yes
     7889+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     7890+
     7891+else
     7892+  echo "$as_me: failed program was:" >&5
     7893+cat conftest.$ac_ext >&5
     7894+fi
     7895+rm -f conftest.$ac_objext conftest.$ac_ext
     7896+       CFLAGS="$cf_save_CFLAGS"
     7897+       echo "$as_me:10159: result: $CLANG_COMPILER" >&5
     7898+echo "${ECHO_T}$CLANG_COMPILER" >&6
     7899+fi
     7900+
    72597901 cat > conftest.$ac_ext <<EOF
    72607902-#line 9457 "${as_me:-configure}"
    7261 +#line 10232 "${as_me:-configure}"
     7903+#line 10164 "${as_me:-configure}"
    72627904 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
    72637905 EOF
    72647906 
    7265 @@ -9471,7 +10246,7 @@
     7907@@ -9471,7 +10178,7 @@
    72667908 # remark #981: operands are evaluated in unspecified order
    72677909 # warning #279: controlling expression is constant
    72687910 
    72697911-       { echo "$as_me:9474: checking for $CC warning options..." >&5
    7270 +       { echo "$as_me:10249: checking for $CC warning options..." >&5
     7912+       { echo "$as_me:10181: checking for $CC warning options..." >&5
    72717913 echo "$as_me: checking for $CC warning options..." >&6;}
    72727914        cf_save_CFLAGS="$CFLAGS"
    72737915        EXTRA_CFLAGS="-Wall"
    7274 @@ -9487,12 +10262,12 @@
     7916@@ -9487,12 +10194,12 @@
    72757917                wd981
    72767918        do
    72777919                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    72787920-               if { (eval echo "$as_me:9490: \"$ac_compile\"") >&5
    7279 +               if { (eval echo "$as_me:10265: \"$ac_compile\"") >&5
     7921+               if { (eval echo "$as_me:10197: \"$ac_compile\"") >&5
    72807922   (eval $ac_compile) 2>&5
    72817923   ac_status=$?
    72827924-  echo "$as_me:9493: \$? = $ac_status" >&5
    7283 +  echo "$as_me:10268: \$? = $ac_status" >&5
     7925+  echo "$as_me:10200: \$? = $ac_status" >&5
    72847926   (exit $ac_status); }; then
    72857927-                       test -n "$verbose" && echo "$as_me:9495: result: ... -$cf_opt" >&5
    7286 +                       test -n "$verbose" && echo "$as_me:10270: result: ... -$cf_opt" >&5
     7928+                       test -n "$verbose" && echo "$as_me:10202: result: ... -$cf_opt" >&5
    72877929 echo "${ECHO_T}... -$cf_opt" >&6
    72887930                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
    72897931                fi
    7290 @@ -9501,7 +10276,7 @@
     7932@@ -9501,7 +10208,7 @@
    72917933 
    72927934 elif test "$GCC" = yes
    72937935 then
    72947936-       { echo "$as_me:9504: checking for $CC warning options..." >&5
    7295 +       { echo "$as_me:10279: checking for $CC warning options..." >&5
     7937+       { echo "$as_me:10211: checking for $CC warning options..." >&5
    72967938 echo "$as_me: checking for $CC warning options..." >&6;}
    72977939        cf_save_CFLAGS="$CFLAGS"
    72987940        EXTRA_CFLAGS=
    7299 @@ -9521,12 +10296,12 @@
     7941@@ -9521,12 +10228,12 @@
    73007942                Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum
    73017943        do
    73027944                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    73037945-               if { (eval echo "$as_me:9524: \"$ac_compile\"") >&5
    7304 +               if { (eval echo "$as_me:10299: \"$ac_compile\"") >&5
     7946+               if { (eval echo "$as_me:10231: \"$ac_compile\"") >&5
    73057947   (eval $ac_compile) 2>&5
    73067948   ac_status=$?
    73077949-  echo "$as_me:9527: \$? = $ac_status" >&5
    7308 +  echo "$as_me:10302: \$? = $ac_status" >&5
     7950+  echo "$as_me:10234: \$? = $ac_status" >&5
    73097951   (exit $ac_status); }; then
    73107952-                       test -n "$verbose" && echo "$as_me:9529: result: ... -$cf_opt" >&5
    7311 +                       test -n "$verbose" && echo "$as_me:10304: result: ... -$cf_opt" >&5
     7953+                       test -n "$verbose" && echo "$as_me:10236: result: ... -$cf_opt" >&5
    73127954 echo "${ECHO_T}... -$cf_opt" >&6
    73137955                        case $cf_opt in #(vi
    73147956                        Wcast-qual) #(vi
    7315 @@ -9537,7 +10312,7 @@
     7957@@ -9537,7 +10244,17 @@
    73167958                                [34].*)
    73177959                                        test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
    73187960 
    73197961-echo "${as_me:-configure}:9540: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    7320 +echo "${as_me:-configure}:10315: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     7962+echo "${as_me:-configure}:10247: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     7963+
     7964+                                       continue;;
     7965+                               esac
     7966+                               ;;
     7967+                       Wpointer-arith) #(vi
     7968+                               case $GCC_VERSION in
     7969+                               [12].*)
     7970+                                       test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
     7971+
     7972+echo "${as_me:-configure}:10257: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    73217973 
    73227974                                        continue;;
    73237975                                esac
    7324 @@ -9570,10 +10345,10 @@
     7976@@ -9570,10 +10287,10 @@
    73257977 EOF
    73267978 if test "$GCC" = yes
    73277979 then
    73287980-       { echo "$as_me:9573: checking for $CC __attribute__ directives..." >&5
    7329 +       { echo "$as_me:10348: checking for $CC __attribute__ directives..." >&5
     7981+       { echo "$as_me:10290: checking for $CC __attribute__ directives..." >&5
    73307982 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
    73317983 cat > conftest.$ac_ext <<EOF
    73327984-#line 9576 "${as_me:-configure}"
    7333 +#line 10351 "${as_me:-configure}"
     7985+#line 10293 "${as_me:-configure}"
    73347986 #include "confdefs.h"
    73357987 #include "conftest.h"
    73367988 #include "conftest.i"
    7337 @@ -9622,12 +10397,12 @@
     7989@@ -9622,12 +10339,12 @@
    73387990                        ;;
    73397991                esac
    73407992 
    73417993-               if { (eval echo "$as_me:9625: \"$ac_compile\"") >&5
    7342 +               if { (eval echo "$as_me:10400: \"$ac_compile\"") >&5
     7994+               if { (eval echo "$as_me:10342: \"$ac_compile\"") >&5
    73437995   (eval $ac_compile) 2>&5
    73447996   ac_status=$?
    73457997-  echo "$as_me:9628: \$? = $ac_status" >&5
    7346 +  echo "$as_me:10403: \$? = $ac_status" >&5
     7998+  echo "$as_me:10345: \$? = $ac_status" >&5
    73477999   (exit $ac_status); }; then
    73488000-                       test -n "$verbose" && echo "$as_me:9630: result: ... $cf_attribute" >&5
    7349 +                       test -n "$verbose" && echo "$as_me:10405: result: ... $cf_attribute" >&5
     8001+                       test -n "$verbose" && echo "$as_me:10347: result: ... $cf_attribute" >&5
    73508002 echo "${ECHO_T}... $cf_attribute" >&6
    73518003                        cat conftest.h >>confdefs.h
    73528004                        case $cf_attribute in #(vi
    7353 @@ -9663,7 +10438,7 @@
     8005@@ -9663,7 +10380,7 @@
    73548006 fi
    73558007 
    73568008 ###    use option --enable-assertions to turn on generation of assertion code
    73578009-echo "$as_me:9666: checking if you want to enable runtime assertions" >&5
    7358 +echo "$as_me:10441: checking if you want to enable runtime assertions" >&5
     8010+echo "$as_me:10383: checking if you want to enable runtime assertions" >&5
    73598011 echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6
    73608012 
    73618013 # Check whether --enable-assertions or --disable-assertions was given.
    7362 @@ -9673,7 +10448,7 @@
     8014@@ -9673,16 +10390,12 @@
    73638015 else
    73648016   with_assertions=no
    73658017 fi;
    73668018-echo "$as_me:9676: result: $with_assertions" >&5
    7367 +echo "$as_me:10451: result: $with_assertions" >&5
     8019+echo "$as_me:10393: result: $with_assertions" >&5
    73688020 echo "${ECHO_T}$with_assertions" >&6
    73698021 if test -n "$GCC"
    73708022 then
    7371 @@ -9727,7 +10502,7 @@
     8023        if test "$with_assertions" = no
     8024        then
     8025-               cat >>confdefs.h <<\EOF
     8026-#define NDEBUG 1
     8027-EOF
     8028-
     8029                CPPFLAGS="$CPPFLAGS -DNDEBUG"
     8030        else
     8031 
     8032@@ -9727,7 +10440,7 @@
    73728033        ;;
    73738034 esac
    73748035 
    73758036-echo "$as_me:9730: checking whether to add trace feature to all models" >&5
    7376 +echo "$as_me:10505: checking whether to add trace feature to all models" >&5
     8037+echo "$as_me:10443: checking whether to add trace feature to all models" >&5
    73778038 echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6
    73788039 
    73798040 # Check whether --with-trace or --without-trace was given.
    7380 @@ -9737,7 +10512,7 @@
     8041@@ -9737,7 +10450,7 @@
    73818042 else
    73828043   cf_with_trace=$cf_all_traces
    73838044 fi;
    73848045-echo "$as_me:9740: result: $cf_with_trace" >&5
    7385 +echo "$as_me:10515: result: $cf_with_trace" >&5
     8046+echo "$as_me:10453: result: $cf_with_trace" >&5
    73868047 echo "${ECHO_T}$cf_with_trace" >&6
    73878048 
    73888049 if test "$cf_with_trace" = yes ; then
    7389 @@ -9830,13 +10605,13 @@
     8050@@ -9830,13 +10543,13 @@
    73908051 *mingw32*) #(vi
    73918052        ;;
    73928053 *)
    73938054-echo "$as_me:9833: checking for gettimeofday" >&5
    7394 +echo "$as_me:10608: checking for gettimeofday" >&5
     8055+echo "$as_me:10546: checking for gettimeofday" >&5
    73958056 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
    73968057 if test "${ac_cv_func_gettimeofday+set}" = set; then
     
    73998060   cat >conftest.$ac_ext <<_ACEOF
    74008061-#line 9839 "configure"
    7401 +#line 10614 "configure"
     8062+#line 10552 "configure"
    74028063 #include "confdefs.h"
    74038064 /* System header to define __stub macros and hopefully few prototypes,
    74048065     which can conflict with char gettimeofday (); below.  */
    7405 @@ -9867,16 +10642,16 @@
     8066@@ -9859,7 +10572,7 @@
     8067 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
     8068 choke me
     8069 #else
     8070-f = gettimeofday;
     8071+f = gettimeofday; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     8072 #endif
     8073 
     8074   ;
     8075@@ -9867,16 +10580,16 @@
    74068076 }
    74078077 _ACEOF
    74088078 rm -f conftest.$ac_objext conftest$ac_exeext
    74098079-if { (eval echo "$as_me:9870: \"$ac_link\"") >&5
    7410 +if { (eval echo "$as_me:10645: \"$ac_link\"") >&5
     8080+if { (eval echo "$as_me:10583: \"$ac_link\"") >&5
    74118081   (eval $ac_link) 2>&5
    74128082   ac_status=$?
    74138083-  echo "$as_me:9873: \$? = $ac_status" >&5
    7414 +  echo "$as_me:10648: \$? = $ac_status" >&5
     8084+  echo "$as_me:10586: \$? = $ac_status" >&5
    74158085   (exit $ac_status); } &&
    74168086          { ac_try='test -s conftest$ac_exeext'
    74178087-  { (eval echo "$as_me:9876: \"$ac_try\"") >&5
    7418 +  { (eval echo "$as_me:10651: \"$ac_try\"") >&5
     8088+  { (eval echo "$as_me:10589: \"$ac_try\"") >&5
    74198089   (eval $ac_try) 2>&5
    74208090   ac_status=$?
    74218091-  echo "$as_me:9879: \$? = $ac_status" >&5
    7422 +  echo "$as_me:10654: \$? = $ac_status" >&5
     8092+  echo "$as_me:10592: \$? = $ac_status" >&5
    74238093   (exit $ac_status); }; }; then
    74248094   ac_cv_func_gettimeofday=yes
    74258095 else
    7426 @@ -9886,7 +10661,7 @@
     8096@@ -9886,7 +10599,7 @@
    74278097 fi
    74288098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    74298099 fi
    74308100-echo "$as_me:9889: result: $ac_cv_func_gettimeofday" >&5
    7431 +echo "$as_me:10664: result: $ac_cv_func_gettimeofday" >&5
     8101+echo "$as_me:10602: result: $ac_cv_func_gettimeofday" >&5
    74328102 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
    74338103 if test $ac_cv_func_gettimeofday = yes; then
    74348104   cat >>confdefs.h <<\EOF
    7435 @@ -9895,7 +10670,7 @@
     8105@@ -9895,7 +10608,7 @@
    74368106 
    74378107 else
    74388108 
    74398109-echo "$as_me:9898: checking for gettimeofday in -lbsd" >&5
    7440 +echo "$as_me:10673: checking for gettimeofday in -lbsd" >&5
     8110+echo "$as_me:10611: checking for gettimeofday in -lbsd" >&5
    74418111 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
    74428112 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    74438113   echo $ECHO_N "(cached) $ECHO_C" >&6
    7444 @@ -9903,7 +10678,7 @@
     8114@@ -9903,7 +10616,7 @@
    74458115   ac_check_lib_save_LIBS=$LIBS
    74468116 LIBS="-lbsd  $LIBS"
    74478117 cat >conftest.$ac_ext <<_ACEOF
    74488118-#line 9906 "configure"
    7449 +#line 10681 "configure"
     8119+#line 10619 "configure"
    74508120 #include "confdefs.h"
    74518121 
    74528122 /* Override any gcc2 internal prototype to avoid an error.  */
    7453 @@ -9922,16 +10697,16 @@
     8123@@ -9922,16 +10635,16 @@
    74548124 }
    74558125 _ACEOF
    74568126 rm -f conftest.$ac_objext conftest$ac_exeext
    74578127-if { (eval echo "$as_me:9925: \"$ac_link\"") >&5
    7458 +if { (eval echo "$as_me:10700: \"$ac_link\"") >&5
     8128+if { (eval echo "$as_me:10638: \"$ac_link\"") >&5
    74598129   (eval $ac_link) 2>&5
    74608130   ac_status=$?
    74618131-  echo "$as_me:9928: \$? = $ac_status" >&5
    7462 +  echo "$as_me:10703: \$? = $ac_status" >&5
     8132+  echo "$as_me:10641: \$? = $ac_status" >&5
    74638133   (exit $ac_status); } &&
    74648134          { ac_try='test -s conftest$ac_exeext'
    74658135-  { (eval echo "$as_me:9931: \"$ac_try\"") >&5
    7466 +  { (eval echo "$as_me:10706: \"$ac_try\"") >&5
     8136+  { (eval echo "$as_me:10644: \"$ac_try\"") >&5
    74678137   (eval $ac_try) 2>&5
    74688138   ac_status=$?
    74698139-  echo "$as_me:9934: \$? = $ac_status" >&5
    7470 +  echo "$as_me:10709: \$? = $ac_status" >&5
     8140+  echo "$as_me:10647: \$? = $ac_status" >&5
    74718141   (exit $ac_status); }; }; then
    74728142   ac_cv_lib_bsd_gettimeofday=yes
    74738143 else
    7474 @@ -9942,7 +10717,7 @@
     8144@@ -9942,7 +10655,7 @@
    74758145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    74768146 LIBS=$ac_check_lib_save_LIBS
    74778147 fi
    74788148-echo "$as_me:9945: result: $ac_cv_lib_bsd_gettimeofday" >&5
    7479 +echo "$as_me:10720: result: $ac_cv_lib_bsd_gettimeofday" >&5
     8149+echo "$as_me:10658: result: $ac_cv_lib_bsd_gettimeofday" >&5
    74808150 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
    74818151 if test $ac_cv_lib_bsd_gettimeofday = yes; then
    74828152   cat >>confdefs.h <<\EOF
    7483 @@ -9957,13 +10732,13 @@
     8153@@ -9957,13 +10670,13 @@
    74848154 esac
    74858155 
    74868156 ###    Checks for header files.
    74878157-echo "$as_me:9960: checking for ANSI C header files" >&5
    7488 +echo "$as_me:10735: checking for ANSI C header files" >&5
     8158+echo "$as_me:10673: checking for ANSI C header files" >&5
    74898159 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    74908160 if test "${ac_cv_header_stdc+set}" = set; then
     
    74938163   cat >conftest.$ac_ext <<_ACEOF
    74948164-#line 9966 "configure"
    7495 +#line 10741 "configure"
     8165+#line 10679 "configure"
    74968166 #include "confdefs.h"
    74978167 #include <stdlib.h>
    74988168 #include <stdarg.h>
    7499 @@ -9971,13 +10746,13 @@
     8169@@ -9971,13 +10684,13 @@
    75008170 #include <float.h>
    75018171 
    75028172 _ACEOF
    75038173-if { (eval echo "$as_me:9974: \"$ac_cpp conftest.$ac_ext\"") >&5
    7504 +if { (eval echo "$as_me:10749: \"$ac_cpp conftest.$ac_ext\"") >&5
     8174+if { (eval echo "$as_me:10687: \"$ac_cpp conftest.$ac_ext\"") >&5
    75058175   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    75068176   ac_status=$?
     
    75098179   cat conftest.err >&5
    75108180-  echo "$as_me:9980: \$? = $ac_status" >&5
    7511 +  echo "$as_me:10755: \$? = $ac_status" >&5
     8181+  echo "$as_me:10693: \$? = $ac_status" >&5
    75128182   (exit $ac_status); } >/dev/null; then
    75138183   if test -s conftest.err; then
    75148184     ac_cpp_err=$ac_c_preproc_warn_flag
    7515 @@ -9999,7 +10774,7 @@
     8185@@ -9999,7 +10712,7 @@
    75168186 if test $ac_cv_header_stdc = yes; then
    75178187   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    75188188   cat >conftest.$ac_ext <<_ACEOF
    75198189-#line 10002 "configure"
    7520 +#line 10777 "configure"
     8190+#line 10715 "configure"
    75218191 #include "confdefs.h"
    75228192 #include <string.h>
    75238193 
    7524 @@ -10017,7 +10792,7 @@
     8194@@ -10017,7 +10730,7 @@
    75258195 if test $ac_cv_header_stdc = yes; then
    75268196   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    75278197   cat >conftest.$ac_ext <<_ACEOF
    75288198-#line 10020 "configure"
    7529 +#line 10795 "configure"
     8199+#line 10733 "configure"
    75308200 #include "confdefs.h"
    75318201 #include <stdlib.h>
    75328202 
    7533 @@ -10038,7 +10813,7 @@
     8203@@ -10038,7 +10751,7 @@
    75348204   :
    75358205 else
    75368206   cat >conftest.$ac_ext <<_ACEOF
    75378207-#line 10041 "configure"
    7538 +#line 10816 "configure"
     8208+#line 10754 "configure"
    75398209 #include "confdefs.h"
    75408210 #include <ctype.h>
    75418211 #if ((' ' & 0x0FF) == 0x020)
    7542 @@ -10064,15 +10839,15 @@
     8212@@ -10064,15 +10777,15 @@
    75438213 }
    75448214 _ACEOF
    75458215 rm -f conftest$ac_exeext
    75468216-if { (eval echo "$as_me:10067: \"$ac_link\"") >&5
    7547 +if { (eval echo "$as_me:10842: \"$ac_link\"") >&5
     8217+if { (eval echo "$as_me:10780: \"$ac_link\"") >&5
    75488218   (eval $ac_link) 2>&5
    75498219   ac_status=$?
    75508220-  echo "$as_me:10070: \$? = $ac_status" >&5
    7551 +  echo "$as_me:10845: \$? = $ac_status" >&5
     8221+  echo "$as_me:10783: \$? = $ac_status" >&5
    75528222   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    75538223-  { (eval echo "$as_me:10072: \"$ac_try\"") >&5
    7554 +  { (eval echo "$as_me:10847: \"$ac_try\"") >&5
     8224+  { (eval echo "$as_me:10785: \"$ac_try\"") >&5
    75558225   (eval $ac_try) 2>&5
    75568226   ac_status=$?
    75578227-  echo "$as_me:10075: \$? = $ac_status" >&5
    7558 +  echo "$as_me:10850: \$? = $ac_status" >&5
     8228+  echo "$as_me:10788: \$? = $ac_status" >&5
    75598229   (exit $ac_status); }; }; then
    75608230   :
    75618231 else
    7562 @@ -10085,7 +10860,7 @@
     8232@@ -10085,7 +10798,7 @@
    75638233 fi
    75648234 fi
    75658235 fi
    75668236-echo "$as_me:10088: result: $ac_cv_header_stdc" >&5
    7567 +echo "$as_me:10863: result: $ac_cv_header_stdc" >&5
     8237+echo "$as_me:10801: result: $ac_cv_header_stdc" >&5
    75688238 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    75698239 if test $ac_cv_header_stdc = yes; then
    75708240 
    7571 @@ -10098,13 +10873,13 @@
     8241@@ -10098,13 +10811,13 @@
    75728242 ac_header_dirent=no
    75738243 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    75748244   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    75758245-echo "$as_me:10101: checking for $ac_hdr that defines DIR" >&5
    7576 +echo "$as_me:10876: checking for $ac_hdr that defines DIR" >&5
     8246+echo "$as_me:10814: checking for $ac_hdr that defines DIR" >&5
    75778247 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    75788248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    75818251   cat >conftest.$ac_ext <<_ACEOF
    75828252-#line 10107 "configure"
    7583 +#line 10882 "configure"
     8253+#line 10820 "configure"
    75848254 #include "confdefs.h"
    75858255 #include <sys/types.h>
    75868256 #include <$ac_hdr>
    7587 @@ -10119,16 +10894,16 @@
     8257@@ -10119,16 +10832,16 @@
    75888258 }
    75898259 _ACEOF
    75908260 rm -f conftest.$ac_objext
    75918261-if { (eval echo "$as_me:10122: \"$ac_compile\"") >&5
    7592 +if { (eval echo "$as_me:10897: \"$ac_compile\"") >&5
     8262+if { (eval echo "$as_me:10835: \"$ac_compile\"") >&5
    75938263   (eval $ac_compile) 2>&5
    75948264   ac_status=$?
    75958265-  echo "$as_me:10125: \$? = $ac_status" >&5
    7596 +  echo "$as_me:10900: \$? = $ac_status" >&5
     8266+  echo "$as_me:10838: \$? = $ac_status" >&5
    75978267   (exit $ac_status); } &&
    75988268          { ac_try='test -s conftest.$ac_objext'
    75998269-  { (eval echo "$as_me:10128: \"$ac_try\"") >&5
    7600 +  { (eval echo "$as_me:10903: \"$ac_try\"") >&5
     8270+  { (eval echo "$as_me:10841: \"$ac_try\"") >&5
    76018271   (eval $ac_try) 2>&5
    76028272   ac_status=$?
    76038273-  echo "$as_me:10131: \$? = $ac_status" >&5
    7604 +  echo "$as_me:10906: \$? = $ac_status" >&5
     8274+  echo "$as_me:10844: \$? = $ac_status" >&5
    76058275   (exit $ac_status); }; }; then
    76068276   eval "$as_ac_Header=yes"
    76078277 else
    7608 @@ -10138,7 +10913,7 @@
     8278@@ -10138,7 +10851,7 @@
    76098279 fi
    76108280 rm -f conftest.$ac_objext conftest.$ac_ext
    76118281 fi
    76128282-echo "$as_me:10141: result: `eval echo '${'$as_ac_Header'}'`" >&5
    7613 +echo "$as_me:10916: result: `eval echo '${'$as_ac_Header'}'`" >&5
     8283+echo "$as_me:10854: result: `eval echo '${'$as_ac_Header'}'`" >&5
    76148284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    76158285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    76168286   cat >>confdefs.h <<EOF
    7617 @@ -10151,7 +10926,7 @@
     8287@@ -10151,7 +10864,7 @@
    76188288 done
    76198289 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    76208290 if test $ac_header_dirent = dirent.h; then
    76218291-  echo "$as_me:10154: checking for opendir in -ldir" >&5
    7622 +  echo "$as_me:10929: checking for opendir in -ldir" >&5
     8292+  echo "$as_me:10867: checking for opendir in -ldir" >&5
    76238293 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
    76248294 if test "${ac_cv_lib_dir_opendir+set}" = set; then
    76258295   echo $ECHO_N "(cached) $ECHO_C" >&6
    7626 @@ -10159,7 +10934,7 @@
     8296@@ -10159,7 +10872,7 @@
    76278297   ac_check_lib_save_LIBS=$LIBS
    76288298 LIBS="-ldir  $LIBS"
    76298299 cat >conftest.$ac_ext <<_ACEOF
    76308300-#line 10162 "configure"
    7631 +#line 10937 "configure"
     8301+#line 10875 "configure"
    76328302 #include "confdefs.h"
    76338303 
    76348304 /* Override any gcc2 internal prototype to avoid an error.  */
    7635 @@ -10178,16 +10953,16 @@
     8305@@ -10178,16 +10891,16 @@
    76368306 }
    76378307 _ACEOF
    76388308 rm -f conftest.$ac_objext conftest$ac_exeext
    76398309-if { (eval echo "$as_me:10181: \"$ac_link\"") >&5
    7640 +if { (eval echo "$as_me:10956: \"$ac_link\"") >&5
     8310+if { (eval echo "$as_me:10894: \"$ac_link\"") >&5
    76418311   (eval $ac_link) 2>&5
    76428312   ac_status=$?
    76438313-  echo "$as_me:10184: \$? = $ac_status" >&5
    7644 +  echo "$as_me:10959: \$? = $ac_status" >&5
     8314+  echo "$as_me:10897: \$? = $ac_status" >&5
    76458315   (exit $ac_status); } &&
    76468316          { ac_try='test -s conftest$ac_exeext'
    76478317-  { (eval echo "$as_me:10187: \"$ac_try\"") >&5
    7648 +  { (eval echo "$as_me:10962: \"$ac_try\"") >&5
     8318+  { (eval echo "$as_me:10900: \"$ac_try\"") >&5
    76498319   (eval $ac_try) 2>&5
    76508320   ac_status=$?
    76518321-  echo "$as_me:10190: \$? = $ac_status" >&5
    7652 +  echo "$as_me:10965: \$? = $ac_status" >&5
     8322+  echo "$as_me:10903: \$? = $ac_status" >&5
    76538323   (exit $ac_status); }; }; then
    76548324   ac_cv_lib_dir_opendir=yes
    76558325 else
    7656 @@ -10198,14 +10973,14 @@
     8326@@ -10198,14 +10911,14 @@
    76578327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    76588328 LIBS=$ac_check_lib_save_LIBS
    76598329 fi
    76608330-echo "$as_me:10201: result: $ac_cv_lib_dir_opendir" >&5
    7661 +echo "$as_me:10976: result: $ac_cv_lib_dir_opendir" >&5
     8331+echo "$as_me:10914: result: $ac_cv_lib_dir_opendir" >&5
    76628332 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
    76638333 if test $ac_cv_lib_dir_opendir = yes; then
     
    76678337 else
    76688338-  echo "$as_me:10208: checking for opendir in -lx" >&5
    7669 +  echo "$as_me:10983: checking for opendir in -lx" >&5
     8339+  echo "$as_me:10921: checking for opendir in -lx" >&5
    76708340 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
    76718341 if test "${ac_cv_lib_x_opendir+set}" = set; then
    76728342   echo $ECHO_N "(cached) $ECHO_C" >&6
    7673 @@ -10213,7 +10988,7 @@
     8343@@ -10213,7 +10926,7 @@
    76748344   ac_check_lib_save_LIBS=$LIBS
    76758345 LIBS="-lx  $LIBS"
    76768346 cat >conftest.$ac_ext <<_ACEOF
    76778347-#line 10216 "configure"
    7678 +#line 10991 "configure"
     8348+#line 10929 "configure"
    76798349 #include "confdefs.h"
    76808350 
    76818351 /* Override any gcc2 internal prototype to avoid an error.  */
    7682 @@ -10232,16 +11007,16 @@
     8352@@ -10232,16 +10945,16 @@
    76838353 }
    76848354 _ACEOF
    76858355 rm -f conftest.$ac_objext conftest$ac_exeext
    76868356-if { (eval echo "$as_me:10235: \"$ac_link\"") >&5
    7687 +if { (eval echo "$as_me:11010: \"$ac_link\"") >&5
     8357+if { (eval echo "$as_me:10948: \"$ac_link\"") >&5
    76888358   (eval $ac_link) 2>&5
    76898359   ac_status=$?
    76908360-  echo "$as_me:10238: \$? = $ac_status" >&5
    7691 +  echo "$as_me:11013: \$? = $ac_status" >&5
     8361+  echo "$as_me:10951: \$? = $ac_status" >&5
    76928362   (exit $ac_status); } &&
    76938363          { ac_try='test -s conftest$ac_exeext'
    76948364-  { (eval echo "$as_me:10241: \"$ac_try\"") >&5
    7695 +  { (eval echo "$as_me:11016: \"$ac_try\"") >&5
     8365+  { (eval echo "$as_me:10954: \"$ac_try\"") >&5
    76968366   (eval $ac_try) 2>&5
    76978367   ac_status=$?
    76988368-  echo "$as_me:10244: \$? = $ac_status" >&5
    7699 +  echo "$as_me:11019: \$? = $ac_status" >&5
     8369+  echo "$as_me:10957: \$? = $ac_status" >&5
    77008370   (exit $ac_status); }; }; then
    77018371   ac_cv_lib_x_opendir=yes
    77028372 else
    7703 @@ -10252,7 +11027,7 @@
     8373@@ -10252,7 +10965,7 @@
    77048374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    77058375 LIBS=$ac_check_lib_save_LIBS
    77068376 fi
    77078377-echo "$as_me:10255: result: $ac_cv_lib_x_opendir" >&5
    7708 +echo "$as_me:11030: result: $ac_cv_lib_x_opendir" >&5
     8378+echo "$as_me:10968: result: $ac_cv_lib_x_opendir" >&5
    77098379 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
    77108380 if test $ac_cv_lib_x_opendir = yes; then
    77118381   LIBS="$LIBS -lx"
    7712 @@ -10260,13 +11035,13 @@
     8382@@ -10260,13 +10973,13 @@
    77138383 
    77148384 fi
    77158385 
    77168386-echo "$as_me:10263: checking whether time.h and sys/time.h may both be included" >&5
    7717 +echo "$as_me:11038: checking whether time.h and sys/time.h may both be included" >&5
     8387+echo "$as_me:10976: checking whether time.h and sys/time.h may both be included" >&5
    77188388 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    77198389 if test "${ac_cv_header_time+set}" = set; then
     
    77228392   cat >conftest.$ac_ext <<_ACEOF
    77238393-#line 10269 "configure"
    7724 +#line 11044 "configure"
     8394+#line 10982 "configure"
    77258395 #include "confdefs.h"
    77268396 #include <sys/types.h>
    77278397 #include <sys/time.h>
    7728 @@ -10282,16 +11057,16 @@
     8398@@ -10282,16 +10995,16 @@
    77298399 }
    77308400 _ACEOF
    77318401 rm -f conftest.$ac_objext
    77328402-if { (eval echo "$as_me:10285: \"$ac_compile\"") >&5
    7733 +if { (eval echo "$as_me:11060: \"$ac_compile\"") >&5
     8403+if { (eval echo "$as_me:10998: \"$ac_compile\"") >&5
    77348404   (eval $ac_compile) 2>&5
    77358405   ac_status=$?
    77368406-  echo "$as_me:10288: \$? = $ac_status" >&5
    7737 +  echo "$as_me:11063: \$? = $ac_status" >&5
     8407+  echo "$as_me:11001: \$? = $ac_status" >&5
    77388408   (exit $ac_status); } &&
    77398409          { ac_try='test -s conftest.$ac_objext'
    77408410-  { (eval echo "$as_me:10291: \"$ac_try\"") >&5
    7741 +  { (eval echo "$as_me:11066: \"$ac_try\"") >&5
     8411+  { (eval echo "$as_me:11004: \"$ac_try\"") >&5
    77428412   (eval $ac_try) 2>&5
    77438413   ac_status=$?
    77448414-  echo "$as_me:10294: \$? = $ac_status" >&5
    7745 +  echo "$as_me:11069: \$? = $ac_status" >&5
     8415+  echo "$as_me:11007: \$? = $ac_status" >&5
    77468416   (exit $ac_status); }; }; then
    77478417   ac_cv_header_time=yes
    77488418 else
    7749 @@ -10301,7 +11076,7 @@
     8419@@ -10301,7 +11014,7 @@
    77508420 fi
    77518421 rm -f conftest.$ac_objext conftest.$ac_ext
    77528422 fi
    77538423-echo "$as_me:10304: result: $ac_cv_header_time" >&5
    7754 +echo "$as_me:11079: result: $ac_cv_header_time" >&5
     8424+echo "$as_me:11017: result: $ac_cv_header_time" >&5
    77558425 echo "${ECHO_T}$ac_cv_header_time" >&6
    77568426 if test $ac_cv_header_time = yes; then
    77578427 
    7758 @@ -10319,7 +11094,7 @@
     8428@@ -10319,7 +11032,7 @@
    77598429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    77608430 ac_main_return=return
    77618431 
    77628432-echo "$as_me:10322: checking for $CC option to accept ANSI C" >&5
    7763 +echo "$as_me:11097: checking for $CC option to accept ANSI C" >&5
     8433+echo "$as_me:11035: checking for $CC option to accept ANSI C" >&5
    77648434 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    77658435 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    77668436   echo $ECHO_N "(cached) $ECHO_C" >&6
    7767 @@ -10327,7 +11102,7 @@
     8437@@ -10327,7 +11040,7 @@
    77688438   ac_cv_prog_cc_stdc=no
    77698439 ac_save_CC=$CC
    77708440 cat >conftest.$ac_ext <<_ACEOF
    77718441-#line 10330 "configure"
    7772 +#line 11105 "configure"
     8442+#line 11043 "configure"
    77738443 #include "confdefs.h"
    77748444 #include <stdarg.h>
    77758445 #include <stdio.h>
    7776 @@ -10376,16 +11151,16 @@
     8446@@ -10376,16 +11089,16 @@
    77778447 do
    77788448   CC="$ac_save_CC $ac_arg"
    77798449   rm -f conftest.$ac_objext
    77808450-if { (eval echo "$as_me:10379: \"$ac_compile\"") >&5
    7781 +if { (eval echo "$as_me:11154: \"$ac_compile\"") >&5
     8451+if { (eval echo "$as_me:11092: \"$ac_compile\"") >&5
    77828452   (eval $ac_compile) 2>&5
    77838453   ac_status=$?
    77848454-  echo "$as_me:10382: \$? = $ac_status" >&5
    7785 +  echo "$as_me:11157: \$? = $ac_status" >&5
     8455+  echo "$as_me:11095: \$? = $ac_status" >&5
    77868456   (exit $ac_status); } &&
    77878457          { ac_try='test -s conftest.$ac_objext'
    77888458-  { (eval echo "$as_me:10385: \"$ac_try\"") >&5
    7789 +  { (eval echo "$as_me:11160: \"$ac_try\"") >&5
     8459+  { (eval echo "$as_me:11098: \"$ac_try\"") >&5
    77908460   (eval $ac_try) 2>&5
    77918461   ac_status=$?
    77928462-  echo "$as_me:10388: \$? = $ac_status" >&5
    7793 +  echo "$as_me:11163: \$? = $ac_status" >&5
     8463+  echo "$as_me:11101: \$? = $ac_status" >&5
    77948464   (exit $ac_status); }; }; then
    77958465   ac_cv_prog_cc_stdc=$ac_arg
    77968466 break
    7797 @@ -10402,21 +11177,21 @@
     8467@@ -10402,21 +11115,21 @@
    77988468 
    77998469 case "x$ac_cv_prog_cc_stdc" in
    78008470   x|xno)
    78018471-    echo "$as_me:10405: result: none needed" >&5
    7802 +    echo "$as_me:11180: result: none needed" >&5
     8472+    echo "$as_me:11118: result: none needed" >&5
    78038473 echo "${ECHO_T}none needed" >&6 ;;
    78048474   *)
    78058475-    echo "$as_me:10408: result: $ac_cv_prog_cc_stdc" >&5
    7806 +    echo "$as_me:11183: result: $ac_cv_prog_cc_stdc" >&5
     8476+    echo "$as_me:11121: result: $ac_cv_prog_cc_stdc" >&5
    78078477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    78088478     CC="$CC $ac_cv_prog_cc_stdc" ;;
     
    78108480 
    78118481-echo "$as_me:10413: checking for an ANSI C-conforming const" >&5
    7812 +echo "$as_me:11188: checking for an ANSI C-conforming const" >&5
     8482+echo "$as_me:11126: checking for an ANSI C-conforming const" >&5
    78138483 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    78148484 if test "${ac_cv_c_const+set}" = set; then
     
    78178487   cat >conftest.$ac_ext <<_ACEOF
    78188488-#line 10419 "configure"
    7819 +#line 11194 "configure"
     8489+#line 11132 "configure"
    78208490 #include "confdefs.h"
    78218491 
    78228492 int
    7823 @@ -10474,16 +11249,16 @@
     8493@@ -10474,16 +11187,16 @@
    78248494 }
    78258495 _ACEOF
    78268496 rm -f conftest.$ac_objext
    78278497-if { (eval echo "$as_me:10477: \"$ac_compile\"") >&5
    7828 +if { (eval echo "$as_me:11252: \"$ac_compile\"") >&5
     8498+if { (eval echo "$as_me:11190: \"$ac_compile\"") >&5
    78298499   (eval $ac_compile) 2>&5
    78308500   ac_status=$?
    78318501-  echo "$as_me:10480: \$? = $ac_status" >&5
    7832 +  echo "$as_me:11255: \$? = $ac_status" >&5
     8502+  echo "$as_me:11193: \$? = $ac_status" >&5
    78338503   (exit $ac_status); } &&
    78348504          { ac_try='test -s conftest.$ac_objext'
    78358505-  { (eval echo "$as_me:10483: \"$ac_try\"") >&5
    7836 +  { (eval echo "$as_me:11258: \"$ac_try\"") >&5
     8506+  { (eval echo "$as_me:11196: \"$ac_try\"") >&5
    78378507   (eval $ac_try) 2>&5
    78388508   ac_status=$?
    78398509-  echo "$as_me:10486: \$? = $ac_status" >&5
    7840 +  echo "$as_me:11261: \$? = $ac_status" >&5
     8510+  echo "$as_me:11199: \$? = $ac_status" >&5
    78418511   (exit $ac_status); }; }; then
    78428512   ac_cv_c_const=yes
    78438513 else
    7844 @@ -10493,7 +11268,7 @@
     8514@@ -10493,7 +11206,7 @@
    78458515 fi
    78468516 rm -f conftest.$ac_objext conftest.$ac_ext
    78478517 fi
    78488518-echo "$as_me:10496: result: $ac_cv_c_const" >&5
    7849 +echo "$as_me:11271: result: $ac_cv_c_const" >&5
     8519+echo "$as_me:11209: result: $ac_cv_c_const" >&5
    78508520 echo "${ECHO_T}$ac_cv_c_const" >&6
    78518521 if test $ac_cv_c_const = no; then
    78528522 
    7853 @@ -10505,7 +11280,7 @@
     8523@@ -10505,7 +11218,7 @@
    78548524 
    78558525 ###    Checks for external-data
    78568526 
    78578527-echo "$as_me:10508: checking if data-only library module links" >&5
    7858 +echo "$as_me:11283: checking if data-only library module links" >&5
     8528+echo "$as_me:11221: checking if data-only library module links" >&5
    78598529 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6
    78608530 if test "${cf_cv_link_dataonly+set}" = set; then
    78618531   echo $ECHO_N "(cached) $ECHO_C" >&6
    7862 @@ -10513,20 +11288,20 @@
     8532@@ -10513,20 +11226,20 @@
    78638533 
    78648534        rm -f conftest.a
    78658535        cat >conftest.$ac_ext <<EOF
    78668536-#line 10516 "configure"
    7867 +#line 11291 "configure"
     8537+#line 11229 "configure"
    78688538 int    testdata[3] = { 123, 456, 789 };
    78698539 EOF
    78708540-       if { (eval echo "$as_me:10519: \"$ac_compile\"") >&5
    7871 +       if { (eval echo "$as_me:11294: \"$ac_compile\"") >&5
     8541+       if { (eval echo "$as_me:11232: \"$ac_compile\"") >&5
    78728542   (eval $ac_compile) 2>&5
    78738543   ac_status=$?
    78748544-  echo "$as_me:10522: \$? = $ac_status" >&5
    7875 +  echo "$as_me:11297: \$? = $ac_status" >&5
     8545+  echo "$as_me:11235: \$? = $ac_status" >&5
    78768546   (exit $ac_status); } ; then
    78778547                mv conftest.o data.o && \
     
    78818551        cat >conftest.$ac_ext <<EOF
    78828552-#line 10529 "configure"
    7883 +#line 11304 "configure"
     8553+#line 11242 "configure"
    78848554 int    testfunc()
    78858555 {
    78868556 #if defined(NeXT)
    7887 @@ -10539,10 +11314,10 @@
     8557@@ -10539,10 +11252,10 @@
    78888558 #endif
    78898559 }
    78908560 EOF
    78918561-       if { (eval echo "$as_me:10542: \"$ac_compile\"") >&5
    7892 +       if { (eval echo "$as_me:11317: \"$ac_compile\"") >&5
     8562+       if { (eval echo "$as_me:11255: \"$ac_compile\"") >&5
    78938563   (eval $ac_compile) 2>&5
    78948564   ac_status=$?
    78958565-  echo "$as_me:10545: \$? = $ac_status" >&5
    7896 +  echo "$as_me:11320: \$? = $ac_status" >&5
     8566+  echo "$as_me:11258: \$? = $ac_status" >&5
    78978567   (exit $ac_status); }; then
    78988568                mv conftest.o func.o && \
    78998569                ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null
    7900 @@ -10555,7 +11330,7 @@
     8570@@ -10555,7 +11268,7 @@
    79018571   cf_cv_link_dataonly=unknown
    79028572 else
    79038573   cat >conftest.$ac_ext <<_ACEOF
    79048574-#line 10558 "configure"
    7905 +#line 11333 "configure"
     8575+#line 11271 "configure"
    79068576 #include "confdefs.h"
    79078577 
    79088578        int main()
    7909 @@ -10566,15 +11341,15 @@
     8579@@ -10566,15 +11279,15 @@
    79108580 
    79118581 _ACEOF
    79128582 rm -f conftest$ac_exeext
    79138583-if { (eval echo "$as_me:10569: \"$ac_link\"") >&5
    7914 +if { (eval echo "$as_me:11344: \"$ac_link\"") >&5
     8584+if { (eval echo "$as_me:11282: \"$ac_link\"") >&5
    79158585   (eval $ac_link) 2>&5
    79168586   ac_status=$?
    79178587-  echo "$as_me:10572: \$? = $ac_status" >&5
    7918 +  echo "$as_me:11347: \$? = $ac_status" >&5
     8588+  echo "$as_me:11285: \$? = $ac_status" >&5
    79198589   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    79208590-  { (eval echo "$as_me:10574: \"$ac_try\"") >&5
    7921 +  { (eval echo "$as_me:11349: \"$ac_try\"") >&5
     8591+  { (eval echo "$as_me:11287: \"$ac_try\"") >&5
    79228592   (eval $ac_try) 2>&5
    79238593   ac_status=$?
    79248594-  echo "$as_me:10577: \$? = $ac_status" >&5
    7925 +  echo "$as_me:11352: \$? = $ac_status" >&5
     8595+  echo "$as_me:11290: \$? = $ac_status" >&5
    79268596   (exit $ac_status); }; }; then
    79278597   cf_cv_link_dataonly=yes
    79288598 else
    7929 @@ -10589,7 +11364,7 @@
     8599@@ -10589,7 +11302,7 @@
    79308600 
    79318601 fi
    79328602 
    79338603-echo "$as_me:10592: result: $cf_cv_link_dataonly" >&5
    7934 +echo "$as_me:11367: result: $cf_cv_link_dataonly" >&5
     8604+echo "$as_me:11305: result: $cf_cv_link_dataonly" >&5
    79358605 echo "${ECHO_T}$cf_cv_link_dataonly" >&6
    79368606 
    79378607 if test "$cf_cv_link_dataonly" = no ; then
    7938 @@ -10602,7 +11377,7 @@
     8608@@ -10602,7 +11315,7 @@
    79398609 
    79408610 ###    Checks for library functions.
    79418611 
    79428612-echo "$as_me:10605: checking for working mkstemp" >&5
    7943 +echo "$as_me:11380: checking for working mkstemp" >&5
     8613+echo "$as_me:11318: checking for working mkstemp" >&5
    79448614 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6
    79458615 if test "${cf_cv_func_mkstemp+set}" = set; then
    79468616   echo $ECHO_N "(cached) $ECHO_C" >&6
    7947 @@ -10610,13 +11385,13 @@
     8617@@ -10610,68 +11323,10 @@
    79488618 
    79498619 rm -rf conftest*
    79508620 if test "$cross_compiling" = yes; then
    79518621-  echo "$as_me:10613: checking for mkstemp" >&5
    7952 +  echo "$as_me:11388: checking for mkstemp" >&5
    7953  echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
    7954  if test "${ac_cv_func_mkstemp+set}" = set; then
    7955    echo $ECHO_N "(cached) $ECHO_C" >&6
    7956  else
    7957    cat >conftest.$ac_ext <<_ACEOF
     8622-echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
     8623-if test "${ac_cv_func_mkstemp+set}" = set; then
     8624-  echo $ECHO_N "(cached) $ECHO_C" >&6
     8625-else
     8626-  cat >conftest.$ac_ext <<_ACEOF
    79588627-#line 10619 "configure"
    7959 +#line 11394 "configure"
    7960  #include "confdefs.h"
    7961  /* System header to define __stub macros and hopefully few prototypes,
    7962      which can conflict with char mkstemp (); below.  */
    7963 @@ -10647,16 +11422,16 @@
    7964  }
    7965  _ACEOF
    7966  rm -f conftest.$ac_objext conftest$ac_exeext
     8628-#include "confdefs.h"
     8629-/* System header to define __stub macros and hopefully few prototypes,
     8630-    which can conflict with char mkstemp (); below.  */
     8631-#include <assert.h>
     8632-/* Override any gcc2 internal prototype to avoid an error.  */
     8633-#ifdef __cplusplus
     8634-extern "C"
     8635-#endif
     8636-/* We use char because int might match the return type of a gcc2
     8637-   builtin and then its argument prototype would still apply.  */
     8638-char mkstemp ();
     8639-char (*f) ();
     8640-
     8641-int
     8642-main ()
     8643-{
     8644-/* The GNU C library defines this for functions which it implements
     8645-    to always fail with ENOSYS.  Some functions are actually named
     8646-    something starting with __ and the normal name is an alias.  */
     8647-#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
     8648-choke me
     8649-#else
     8650-f = mkstemp;
     8651-#endif
     8652-
     8653-  ;
     8654-  return 0;
     8655-}
     8656-_ACEOF
     8657-rm -f conftest.$ac_objext conftest$ac_exeext
    79678658-if { (eval echo "$as_me:10650: \"$ac_link\"") >&5
    7968 +if { (eval echo "$as_me:11425: \"$ac_link\"") >&5
    7969    (eval $ac_link) 2>&5
    7970    ac_status=$?
     8659-  (eval $ac_link) 2>&5
     8660-  ac_status=$?
    79718661-  echo "$as_me:10653: \$? = $ac_status" >&5
    7972 +  echo "$as_me:11428: \$? = $ac_status" >&5
    7973    (exit $ac_status); } &&
    7974           { ac_try='test -s conftest$ac_exeext'
     8662-  (exit $ac_status); } &&
     8663-         { ac_try='test -s conftest$ac_exeext'
    79758664-  { (eval echo "$as_me:10656: \"$ac_try\"") >&5
    7976 +  { (eval echo "$as_me:11431: \"$ac_try\"") >&5
    7977    (eval $ac_try) 2>&5
    7978    ac_status=$?
     8665-  (eval $ac_try) 2>&5
     8666-  ac_status=$?
    79798667-  echo "$as_me:10659: \$? = $ac_status" >&5
    7980 +  echo "$as_me:11434: \$? = $ac_status" >&5
    7981    (exit $ac_status); }; }; then
    7982    ac_cv_func_mkstemp=yes
    7983  else
    7984 @@ -10666,12 +11441,12 @@
    7985  fi
    7986  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    7987  fi
     8668-  (exit $ac_status); }; }; then
     8669-  ac_cv_func_mkstemp=yes
     8670-else
     8671-  echo "$as_me: failed program was:" >&5
     8672-cat conftest.$ac_ext >&5
     8673-ac_cv_func_mkstemp=no
     8674-fi
     8675-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8676-fi
    79888677-echo "$as_me:10669: result: $ac_cv_func_mkstemp" >&5
    7989 +echo "$as_me:11444: result: $ac_cv_func_mkstemp" >&5
    7990  echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
    7991  
     8678-echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
     8679-
     8680+  cf_cv_func_mkstemp=maybe
    79928681 else
    79938682   cat >conftest.$ac_ext <<_ACEOF
    79948683-#line 10674 "configure"
    7995 +#line 11449 "configure"
     8684+#line 11329 "configure"
    79968685 #include "confdefs.h"
    79978686 
    79988687 #include <sys/types.h>
    7999 @@ -10709,15 +11484,15 @@
     8688@@ -10709,15 +11364,15 @@
    80008689 
    80018690 _ACEOF
    80028691 rm -f conftest$ac_exeext
    80038692-if { (eval echo "$as_me:10712: \"$ac_link\"") >&5
    8004 +if { (eval echo "$as_me:11487: \"$ac_link\"") >&5
     8693+if { (eval echo "$as_me:11367: \"$ac_link\"") >&5
    80058694   (eval $ac_link) 2>&5
    80068695   ac_status=$?
    80078696-  echo "$as_me:10715: \$? = $ac_status" >&5
    8008 +  echo "$as_me:11490: \$? = $ac_status" >&5
     8697+  echo "$as_me:11370: \$? = $ac_status" >&5
    80098698   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    80108699-  { (eval echo "$as_me:10717: \"$ac_try\"") >&5
    8011 +  { (eval echo "$as_me:11492: \"$ac_try\"") >&5
     8700+  { (eval echo "$as_me:11372: \"$ac_try\"") >&5
    80128701   (eval $ac_try) 2>&5
    80138702   ac_status=$?
    80148703-  echo "$as_me:10720: \$? = $ac_status" >&5
    8015 +  echo "$as_me:11495: \$? = $ac_status" >&5
     8704+  echo "$as_me:11375: \$? = $ac_status" >&5
    80168705   (exit $ac_status); }; }; then
    80178706   cf_cv_func_mkstemp=yes
    80188707 
    8019 @@ -10732,7 +11507,7 @@
     8708@@ -10732,8 +11387,69 @@
    80208709 fi
    80218710 
    80228711 fi
    80238712-echo "$as_me:10735: result: $cf_cv_func_mkstemp" >&5
    8024 +echo "$as_me:11510: result: $cf_cv_func_mkstemp" >&5
     8713+echo "$as_me:11390: result: $cf_cv_func_mkstemp" >&5
    80258714 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6
     8715+if test "x$cf_cv_func_mkstemp" = xmaybe ; then
     8716+       echo "$as_me:11393: checking for mkstemp" >&5
     8717+echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
     8718+if test "${ac_cv_func_mkstemp+set}" = set; then
     8719+  echo $ECHO_N "(cached) $ECHO_C" >&6
     8720+else
     8721+  cat >conftest.$ac_ext <<_ACEOF
     8722+#line 11399 "configure"
     8723+#include "confdefs.h"
     8724+/* System header to define __stub macros and hopefully few prototypes,
     8725+    which can conflict with char mkstemp (); below.  */
     8726+#include <assert.h>
     8727+/* Override any gcc2 internal prototype to avoid an error.  */
     8728+#ifdef __cplusplus
     8729+extern "C"
     8730+#endif
     8731+/* We use char because int might match the return type of a gcc2
     8732+   builtin and then its argument prototype would still apply.  */
     8733+char mkstemp ();
     8734+char (*f) ();
     8735+
     8736+int
     8737+main ()
     8738+{
     8739+/* The GNU C library defines this for functions which it implements
     8740+    to always fail with ENOSYS.  Some functions are actually named
     8741+    something starting with __ and the normal name is an alias.  */
     8742+#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
     8743+choke me
     8744+#else
     8745+f = mkstemp; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     8746+#endif
     8747+
     8748+  ;
     8749+  return 0;
     8750+}
     8751+_ACEOF
     8752+rm -f conftest.$ac_objext conftest$ac_exeext
     8753+if { (eval echo "$as_me:11430: \"$ac_link\"") >&5
     8754+  (eval $ac_link) 2>&5
     8755+  ac_status=$?
     8756+  echo "$as_me:11433: \$? = $ac_status" >&5
     8757+  (exit $ac_status); } &&
     8758+         { ac_try='test -s conftest$ac_exeext'
     8759+  { (eval echo "$as_me:11436: \"$ac_try\"") >&5
     8760+  (eval $ac_try) 2>&5
     8761+  ac_status=$?
     8762+  echo "$as_me:11439: \$? = $ac_status" >&5
     8763+  (exit $ac_status); }; }; then
     8764+  ac_cv_func_mkstemp=yes
     8765+else
     8766+  echo "$as_me: failed program was:" >&5
     8767+cat conftest.$ac_ext >&5
     8768+ac_cv_func_mkstemp=no
     8769+fi
     8770+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8771+fi
     8772+echo "$as_me:11449: result: $ac_cv_func_mkstemp" >&5
     8773+echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
     8774+
     8775+fi
    80268776 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then
    80278777        cat >>confdefs.h <<\EOF
    8028 @@ -10741,13 +11516,13 @@
     8778 #define HAVE_MKSTEMP 1
     8779@@ -10741,13 +11457,13 @@
    80298780 
    80308781 fi
    80318782 
    80328783-echo "$as_me:10744: checking return type of signal handlers" >&5
    8033 +echo "$as_me:11519: checking return type of signal handlers" >&5
     8784+echo "$as_me:11460: checking return type of signal handlers" >&5
    80348785 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    80358786 if test "${ac_cv_type_signal+set}" = set; then
     
    80388789   cat >conftest.$ac_ext <<_ACEOF
    80398790-#line 10750 "configure"
    8040 +#line 11525 "configure"
     8791+#line 11466 "configure"
    80418792 #include "confdefs.h"
    80428793 #include <sys/types.h>
    80438794 #include <signal.h>
    8044 @@ -10769,16 +11544,16 @@
     8795@@ -10769,16 +11485,16 @@
    80458796 }
    80468797 _ACEOF
    80478798 rm -f conftest.$ac_objext
    80488799-if { (eval echo "$as_me:10772: \"$ac_compile\"") >&5
    8049 +if { (eval echo "$as_me:11547: \"$ac_compile\"") >&5
     8800+if { (eval echo "$as_me:11488: \"$ac_compile\"") >&5
    80508801   (eval $ac_compile) 2>&5
    80518802   ac_status=$?
    80528803-  echo "$as_me:10775: \$? = $ac_status" >&5
    8053 +  echo "$as_me:11550: \$? = $ac_status" >&5
     8804+  echo "$as_me:11491: \$? = $ac_status" >&5
    80548805   (exit $ac_status); } &&
    80558806          { ac_try='test -s conftest.$ac_objext'
    80568807-  { (eval echo "$as_me:10778: \"$ac_try\"") >&5
    8057 +  { (eval echo "$as_me:11553: \"$ac_try\"") >&5
     8808+  { (eval echo "$as_me:11494: \"$ac_try\"") >&5
    80588809   (eval $ac_try) 2>&5
    80598810   ac_status=$?
    80608811-  echo "$as_me:10781: \$? = $ac_status" >&5
    8061 +  echo "$as_me:11556: \$? = $ac_status" >&5
     8812+  echo "$as_me:11497: \$? = $ac_status" >&5
    80628813   (exit $ac_status); }; }; then
    80638814   ac_cv_type_signal=void
    80648815 else
    8065 @@ -10788,7 +11563,7 @@
     8816@@ -10788,7 +11504,7 @@
    80668817 fi
    80678818 rm -f conftest.$ac_objext conftest.$ac_ext
    80688819 fi
    80698820-echo "$as_me:10791: result: $ac_cv_type_signal" >&5
    8070 +echo "$as_me:11566: result: $ac_cv_type_signal" >&5
     8821+echo "$as_me:11507: result: $ac_cv_type_signal" >&5
    80718822 echo "${ECHO_T}$ac_cv_type_signal" >&6
    80728823 
    80738824 cat >>confdefs.h <<EOF
    8074 @@ -10800,12 +11575,13 @@
     8825@@ -10800,12 +11516,13 @@
    80758826        CXXFLAGS=`echo ${CXXFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
    80768827 fi
     
    80838834 set dummy $cf_ada_make; ac_word=$2
    80848835-echo "$as_me:10808: checking for $ac_word" >&5
    8085 +echo "$as_me:11584: checking for $ac_word" >&5
     8836+echo "$as_me:11525: checking for $ac_word" >&5
    80868837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    80878838 if test "${ac_cv_prog_gnat_exists+set}" = set; then
    80888839   echo $ECHO_N "(cached) $ECHO_C" >&6
    8089 @@ -10820,7 +11596,7 @@
     8840@@ -10820,7 +11537,7 @@
    80908841   test -z "$ac_dir" && ac_dir=.
    80918842   $as_executable_p "$ac_dir/$ac_word" || continue
    80928843 ac_cv_prog_gnat_exists="yes"
    80938844-echo "$as_me:10823: found $ac_dir/$ac_word" >&5
    8094 +echo "$as_me:11599: found $ac_dir/$ac_word" >&5
     8845+echo "$as_me:11540: found $ac_dir/$ac_word" >&5
    80958846 break
    80968847 done
    80978848 
    8098 @@ -10829,31 +11605,32 @@
     8849@@ -10829,31 +11546,32 @@
    80998850 fi
    81008851 gnat_exists=$ac_cv_prog_gnat_exists
    81018852 if test -n "$gnat_exists"; then
    81028853-  echo "$as_me:10832: result: $gnat_exists" >&5
    8103 +  echo "$as_me:11608: result: $gnat_exists" >&5
     8854+  echo "$as_me:11549: result: $gnat_exists" >&5
    81048855 echo "${ECHO_T}$gnat_exists" >&6
    81058856 else
    81068857-  echo "$as_me:10835: result: no" >&5
    8107 +  echo "$as_me:11611: result: no" >&5
     8858+  echo "$as_me:11552: result: no" >&5
    81088859 echo "${ECHO_T}no" >&6
    81098860 fi
     
    81158866 
    81168867-echo "$as_me:10843: checking for gnat version" >&5
    8117 +echo "$as_me:11620: checking for gnat version" >&5
     8868+echo "$as_me:11561: checking for gnat version" >&5
    81188869 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6
    81198870 cf_gnat_version=`${cf_ada_make:-gnatmake} -v 2>&1 | \
     
    81218872     sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'`
    81228873-echo "$as_me:10848: result: $cf_gnat_version" >&5
    8123 +echo "$as_me:11625: result: $cf_gnat_version" >&5
     8874+echo "$as_me:11566: result: $cf_gnat_version" >&5
    81248875 echo "${ECHO_T}$cf_gnat_version" >&6
    81258876 
     
    81318882 *)
    81328883-       { echo "$as_me:10856: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
    8133 +       { echo "$as_me:11633: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
     8884+       { echo "$as_me:11574: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
    81348885 echo "$as_me: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;}
    81358886        cf_cv_prog_gnat_correct=no
    81368887        ;;
    8137 @@ -10861,7 +11638,7 @@
     8888@@ -10861,7 +11579,7 @@
    81388889 
    81398890    # Extract the first word of "m4", so it can be a program name with args.
    81408891 set dummy m4; ac_word=$2
    81418892-echo "$as_me:10864: checking for $ac_word" >&5
    8142 +echo "$as_me:11641: checking for $ac_word" >&5
     8893+echo "$as_me:11582: checking for $ac_word" >&5
    81438894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    81448895 if test "${ac_cv_prog_M4_exists+set}" = set; then
    81458896   echo $ECHO_N "(cached) $ECHO_C" >&6
    8146 @@ -10876,7 +11653,7 @@
     8897@@ -10876,7 +11594,7 @@
    81478898   test -z "$ac_dir" && ac_dir=.
    81488899   $as_executable_p "$ac_dir/$ac_word" || continue
    81498900 ac_cv_prog_M4_exists="yes"
    81508901-echo "$as_me:10879: found $ac_dir/$ac_word" >&5
    8151 +echo "$as_me:11656: found $ac_dir/$ac_word" >&5
     8902+echo "$as_me:11597: found $ac_dir/$ac_word" >&5
    81528903 break
    81538904 done
    81548905 
    8155 @@ -10885,10 +11662,10 @@
     8906@@ -10885,10 +11603,10 @@
    81568907 fi
    81578908 M4_exists=$ac_cv_prog_M4_exists
    81588909 if test -n "$M4_exists"; then
    81598910-  echo "$as_me:10888: result: $M4_exists" >&5
    8160 +  echo "$as_me:11665: result: $M4_exists" >&5
     8911+  echo "$as_me:11606: result: $M4_exists" >&5
    81618912 echo "${ECHO_T}$M4_exists" >&6
    81628913 else
    81638914-  echo "$as_me:10891: result: no" >&5
    8164 +  echo "$as_me:11668: result: no" >&5
     8915+  echo "$as_me:11609: result: no" >&5
    81658916 echo "${ECHO_T}no" >&6
    81668917 fi
    81678918 
    8168 @@ -10897,7 +11674,7 @@
     8919@@ -10897,7 +11615,7 @@
    81698920       echo Ada95 binding required program m4 not found. Ada95 binding disabled.
    81708921    fi
    81718922    if test "$cf_cv_prog_gnat_correct" = yes; then
    81728923-      echo "$as_me:10900: checking if GNAT works" >&5
    8173 +      echo "$as_me:11677: checking if GNAT works" >&5
     8924+      echo "$as_me:11618: checking if GNAT works" >&5
    81748925 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6
    81758926 
    81768927 rm -rf conftest* *~conftest*
    8177 @@ -10925,7 +11702,7 @@
     8928@@ -10925,30 +11643,34 @@
    81788929 fi
    81798930 rm -rf conftest* *~conftest*
    81808931 
    81818932-      echo "$as_me:10928: result: $cf_cv_prog_gnat_correct" >&5
    8182 +      echo "$as_me:11705: result: $cf_cv_prog_gnat_correct" >&5
     8933+      echo "$as_me:11646: result: $cf_cv_prog_gnat_correct" >&5
    81838934 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6
    81848935    fi
    81858936 fi
    8186 @@ -10948,7 +11725,7 @@
    8187                         ;;
    8188                 esac
     8937 
     8938        if test "$cf_cv_prog_gnat_correct" = yes; then
     8939 
     8940-               # make ADAFLAGS consistent with CFLAGS
     8941-               case "$CFLAGS" in
     8942-               *-g*)
     8943+       echo "$as_me:11653: checking optimization options for ADAFLAGS" >&5
     8944+echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6
     8945+       case "$CFLAGS" in
     8946+       *-g*)
     8947 
     8948        ADAFLAGS="$ADAFLAGS -g"
     8949 
     8950-                       ;;
     8951-               esac
     8952-               case "$CFLAGS" in
     8953-               *-O*)
     8954+               ;;
     8955+       esac
     8956+       case "$CFLAGS" in
     8957+       *-O*)
     8958+               cf_O_flag=`echo "$CFLAGS" |sed -e 's/^.*-O/-O/' -e 's/[         ].*//'`
     8959 
     8960-       ADAFLAGS="$ADAFLAGS -O3"
     8961+       ADAFLAGS="$ADAFLAGS $cf_O_flag"
     8962 
     8963-                       ;;
     8964-               esac
     8965+               ;;
     8966+       esac
     8967+       echo "$as_me:11670: result: $ADAFLAGS" >&5
     8968+echo "${ECHO_T}$ADAFLAGS" >&6
    81898969 
    81908970-echo "$as_me:10951: checking if GNAT supports generics" >&5
    8191 +echo "$as_me:11728: checking if GNAT supports generics" >&5
     8971+echo "$as_me:11673: checking if GNAT supports generics" >&5
    81928972 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6
    81938973 case $cf_gnat_version in #(vi
    81948974 3.[1-9]*|[4-9].*) #(vi
    8195 @@ -10958,7 +11735,7 @@
     8975@@ -10958,7 +11680,7 @@
    81968976        cf_gnat_generics=no
    81978977        ;;
    81988978 esac
    81998979-echo "$as_me:10961: result: $cf_gnat_generics" >&5
    8200 +echo "$as_me:11738: result: $cf_gnat_generics" >&5
     8980+echo "$as_me:11683: result: $cf_gnat_generics" >&5
    82018981 echo "${ECHO_T}$cf_gnat_generics" >&6
    82028982 
    82038983 if test "$cf_gnat_generics" = yes
    8204 @@ -10970,7 +11747,7 @@
     8984@@ -10970,7 +11692,7 @@
    82058985        cf_generic_objects=
    82068986 fi
    82078987 
    82088988-echo "$as_me:10973: checking if GNAT supports SIGINT" >&5
    8209 +echo "$as_me:11750: checking if GNAT supports SIGINT" >&5
     8989+echo "$as_me:11695: checking if GNAT supports SIGINT" >&5
    82108990 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6
    82118991 if test "${cf_cv_gnat_sigint+set}" = set; then
    82128992   echo $ECHO_N "(cached) $ECHO_C" >&6
    8213 @@ -11018,7 +11795,7 @@
     8993@@ -11018,7 +11740,7 @@
    82148994 rm -rf conftest* *~conftest*
    82158995 
    82168996 fi
    82178997-echo "$as_me:11021: result: $cf_cv_gnat_sigint" >&5
    8218 +echo "$as_me:11798: result: $cf_cv_gnat_sigint" >&5
     8998+echo "$as_me:11743: result: $cf_cv_gnat_sigint" >&5
    82198999 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6
    82209000 
    82219001 if test $cf_cv_gnat_sigint = yes ; then
    8222 @@ -11027,7 +11804,7 @@
     9002@@ -11027,7 +11749,7 @@
    82239003        USE_GNAT_SIGINT="#"
    82249004 fi
    82259005 
    82269006-echo "$as_me:11030: checking if GNAT pragma Unreferenced works" >&5
    8227 +echo "$as_me:11807: checking if GNAT pragma Unreferenced works" >&5
     9007+echo "$as_me:11752: checking if GNAT pragma Unreferenced works" >&5
    82289008 echo $ECHO_N "checking if GNAT pragma Unreferenced works... $ECHO_C" >&6
    82299009 if test "${cf_cv_pragma_unreferenced+set}" = set; then
    82309010   echo $ECHO_N "(cached) $ECHO_C" >&6
    8231 @@ -11058,7 +11835,7 @@
     9011@@ -11058,7 +11780,7 @@
    82329012 rm -rf conftest* *~conftest*
    82339013 
    82349014 fi
    82359015-echo "$as_me:11061: result: $cf_cv_pragma_unreferenced" >&5
    8236 +echo "$as_me:11838: result: $cf_cv_pragma_unreferenced" >&5
     9016+echo "$as_me:11783: result: $cf_cv_pragma_unreferenced" >&5
    82379017 echo "${ECHO_T}$cf_cv_pragma_unreferenced" >&6
    82389018 
    82399019 # if the pragma is supported, use it (needed in the Trace code).
    8240 @@ -11071,7 +11848,7 @@
     9020@@ -11071,7 +11793,7 @@
    82419021 cf_gnat_libraries=no
    82429022 cf_gnat_projects=no
    82439023 
    82449024-echo "$as_me:11074: checking if GNAT supports project files" >&5
    8245 +echo "$as_me:11851: checking if GNAT supports project files" >&5
     9025+echo "$as_me:11796: checking if GNAT supports project files" >&5
    82469026 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6
    82479027 case $cf_gnat_version in #(vi
    82489028 3.[0-9]*) #(vi
    8249 @@ -11139,14 +11916,14 @@
     9029@@ -11139,14 +11861,14 @@
    82509030        esac
    82519031        ;;
    82529032 esac
    82539033-echo "$as_me:11142: result: $cf_gnat_projects" >&5
    8254 +echo "$as_me:11919: result: $cf_gnat_projects" >&5
     9034+echo "$as_me:11864: result: $cf_gnat_projects" >&5
    82559035 echo "${ECHO_T}$cf_gnat_projects" >&6
    82569036 
     
    82589038 then
    82599039-       echo "$as_me:11147: checking if GNAT supports libraries" >&5
    8260 +       echo "$as_me:11924: checking if GNAT supports libraries" >&5
     9040+       echo "$as_me:11869: checking if GNAT supports libraries" >&5
    82619041 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6
    82629042-       echo "$as_me:11149: result: $cf_gnat_libraries" >&5
    8263 +       echo "$as_me:11926: result: $cf_gnat_libraries" >&5
     9043+       echo "$as_me:11871: result: $cf_gnat_libraries" >&5
    82649044 echo "${ECHO_T}$cf_gnat_libraries" >&6
    82659045 fi
    82669046 
    8267 @@ -11166,7 +11943,7 @@
     9047@@ -11166,7 +11888,7 @@
    82689048        USE_GNAT_LIBRARIES="#"
    82699049 fi
    82709050 
    82719051-echo "$as_me:11169: checking for ada-compiler" >&5
    8272 +echo "$as_me:11946: checking for ada-compiler" >&5
     9052+echo "$as_me:11891: checking for ada-compiler" >&5
    82739053 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6
    82749054 
    82759055 # Check whether --with-ada-compiler or --without-ada-compiler was given.
    8276 @@ -11177,12 +11954,12 @@
     9056@@ -11177,12 +11899,12 @@
    82779057   cf_ada_compiler=gnatmake
    82789058 fi;
    82799059 
    82809060-echo "$as_me:11180: result: $cf_ada_compiler" >&5
    8281 +echo "$as_me:11957: result: $cf_ada_compiler" >&5
     9061+echo "$as_me:11902: result: $cf_ada_compiler" >&5
    82829062 echo "${ECHO_T}$cf_ada_compiler" >&6
    82839063 
     
    82859065 
    82869066-echo "$as_me:11185: checking for ada-include" >&5
    8287 +echo "$as_me:11962: checking for ada-include" >&5
     9067+echo "$as_me:11907: checking for ada-include" >&5
    82889068 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6
    82899069 
    82909070 # Check whether --with-ada-include or --without-ada-include was given.
    8291 @@ -11218,7 +11995,7 @@
     9071@@ -11206,7 +11928,7 @@
     9072   ;;
     9073 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     9074   ;;
     9075-.\${*prefix}*) #(vi
     9076+.\${*prefix}*|.\${*dir}*) #(vi
     9077   eval withval="$withval"
     9078   case ".$withval" in #(vi
     9079   .NONE/*)
     9080@@ -11218,7 +11940,7 @@
    82929081   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    82939082   ;;
    82949083 *)
    82959084-  { { echo "$as_me:11221: error: expected a pathname, not \"$withval\"" >&5
    8296 +  { { echo "$as_me:11998: error: expected a pathname, not \"$withval\"" >&5
     9085+  { { echo "$as_me:11943: error: expected a pathname, not \"$withval\"" >&5
    82979086 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    82989087    { (exit 1); exit 1; }; }
    82999088   ;;
    8300 @@ -11227,10 +12004,10 @@
     9089@@ -11227,10 +11949,10 @@
    83019090 fi
    83029091 ADA_INCLUDE="$withval"
    83039092 
    83049093-echo "$as_me:11230: result: $ADA_INCLUDE" >&5
    8305 +echo "$as_me:12007: result: $ADA_INCLUDE" >&5
     9094+echo "$as_me:11952: result: $ADA_INCLUDE" >&5
    83069095 echo "${ECHO_T}$ADA_INCLUDE" >&6
    83079096 
    83089097-echo "$as_me:11233: checking for ada-objects" >&5
    8309 +echo "$as_me:12010: checking for ada-objects" >&5
     9098+echo "$as_me:11955: checking for ada-objects" >&5
    83109099 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6
    83119100 
    83129101 # Check whether --with-ada-objects or --without-ada-objects was given.
    8313 @@ -11266,7 +12043,7 @@
     9102@@ -11254,7 +11976,7 @@
     9103   ;;
     9104 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     9105   ;;
     9106-.\${*prefix}*) #(vi
     9107+.\${*prefix}*|.\${*dir}*) #(vi
     9108   eval withval="$withval"
     9109   case ".$withval" in #(vi
     9110   .NONE/*)
     9111@@ -11266,7 +11988,7 @@
    83149112   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    83159113   ;;
    83169114 *)
    83179115-  { { echo "$as_me:11269: error: expected a pathname, not \"$withval\"" >&5
    8318 +  { { echo "$as_me:12046: error: expected a pathname, not \"$withval\"" >&5
     9116+  { { echo "$as_me:11991: error: expected a pathname, not \"$withval\"" >&5
    83199117 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    83209118    { (exit 1); exit 1; }; }
    83219119   ;;
    8322 @@ -11275,10 +12052,10 @@
     9120@@ -11275,10 +11997,10 @@
    83239121 fi
    83249122 ADA_OBJECTS="$withval"
    83259123 
    83269124-echo "$as_me:11278: result: $ADA_OBJECTS" >&5
    8327 +echo "$as_me:12055: result: $ADA_OBJECTS" >&5
     9125+echo "$as_me:12000: result: $ADA_OBJECTS" >&5
    83289126 echo "${ECHO_T}$ADA_OBJECTS" >&6
    83299127 
    83309128-echo "$as_me:11281: checking if an Ada95 shared-library should be built" >&5
    8331 +echo "$as_me:12058: checking if an Ada95 shared-library should be built" >&5
     9129+echo "$as_me:12003: checking if an Ada95 shared-library should be built" >&5
    83329130 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6
    83339131 
    83349132 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given.
    8335 @@ -11288,7 +12065,7 @@
     9133@@ -11288,7 +12010,7 @@
    83369134 else
    83379135   with_ada_sharedlib=no
    83389136 fi;
    83399137-echo "$as_me:11291: result: $with_ada_sharedlib" >&5
    8340 +echo "$as_me:12068: result: $with_ada_sharedlib" >&5
     9138+echo "$as_me:12013: result: $with_ada_sharedlib" >&5
    83419139 echo "${ECHO_T}$with_ada_sharedlib" >&6
    83429140 
    83439141 ADA_SHAREDLIB='lib$(LIB_NAME).so.1'
    8344 @@ -11304,12 +12081,12 @@
     9142@@ -11304,12 +12026,12 @@
    83459143 fi
    83469144 
    83479145        else
    83489146-               { { echo "$as_me:11307: error: No usable Ada compiler found" >&5
    8349 +               { { echo "$as_me:12084: error: No usable Ada compiler found" >&5
     9147+               { { echo "$as_me:12029: error: No usable Ada compiler found" >&5
    83509148 echo "$as_me: error: No usable Ada compiler found" >&2;}
    83519149    { (exit 1); exit 1; }; }
     
    83539151 else
    83549152-       { { echo "$as_me:11312: error: The Ada compiler is needed for this package" >&5
    8355 +       { { echo "$as_me:12089: error: The Ada compiler is needed for this package" >&5
     9153+       { { echo "$as_me:12034: error: The Ada compiler is needed for this package" >&5
    83569154 echo "$as_me: error: The Ada compiler is needed for this package" >&2;}
    83579155    { (exit 1); exit 1; }; }
    83589156 fi
    8359 @@ -11317,7 +12094,9 @@
     9157@@ -11317,7 +12039,9 @@
    83609158 ################################################################################
    83619159 
     
    83689166 ### Construct the list of include-directories to be generated
    83699167 
    8370 @@ -11354,7 +12133,7 @@
     9168@@ -11354,7 +12078,7 @@
    83719169 fi
    83729170 
    83739171 ### Build up pieces for makefile rules
    83749172-echo "$as_me:11357: checking default library suffix" >&5
    8375 +echo "$as_me:12136: checking default library suffix" >&5
     9173+echo "$as_me:12081: checking default library suffix" >&5
    83769174 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6
    83779175 
    83789176        case $DFT_LWR_MODEL in
    8379 @@ -11365,10 +12144,10 @@
     9177@@ -11365,10 +12089,10 @@
    83809178        shared)  DFT_ARG_SUFFIX=''   ;;
    83819179        esac
    83829180        test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}"
    83839181-echo "$as_me:11368: result: $DFT_ARG_SUFFIX" >&5
    8384 +echo "$as_me:12147: result: $DFT_ARG_SUFFIX" >&5
     9182+echo "$as_me:12092: result: $DFT_ARG_SUFFIX" >&5
    83859183 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6
    83869184 
    83879185-echo "$as_me:11371: checking default library-dependency suffix" >&5
    8388 +echo "$as_me:12150: checking default library-dependency suffix" >&5
     9186+echo "$as_me:12095: checking default library-dependency suffix" >&5
    83899187 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6
    83909188 
    83919189        case $DFT_LWR_MODEL in #(vi
    8392 @@ -11390,7 +12169,7 @@
     9190@@ -11390,11 +12114,11 @@
    83939191                ;;
    83949192        shared) #(vi
     
    83999197                        DFT_DEP_SUFFIX=$DFT_LIB_SUFFIX
    84009198                        ;;
    8401 @@ -11421,10 +12200,10 @@
     9199-               cygwin*) #(vi
     9200+               cygwin*|mingw*) #(vi
     9201                        DFT_LIB_SUFFIX='.dll'
     9202                        DFT_DEP_SUFFIX='.dll.a'
     9203                        ;;
     9204@@ -11421,10 +12145,10 @@
    84029205        esac
    84039206        test -n "$LIB_SUFFIX" && DFT_LIB_SUFFIX="${LIB_SUFFIX}${DFT_LIB_SUFFIX}"
    84049207        test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}"
    84059208-echo "$as_me:11424: result: $DFT_DEP_SUFFIX" >&5
    8406 +echo "$as_me:12203: result: $DFT_DEP_SUFFIX" >&5
     9209+echo "$as_me:12148: result: $DFT_DEP_SUFFIX" >&5
    84079210 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6
    84089211 
    84099212-echo "$as_me:11427: checking default object directory" >&5
    8410 +echo "$as_me:12206: checking default object directory" >&5
     9213+echo "$as_me:12151: checking default object directory" >&5
    84119214 echo $ECHO_N "checking default object directory... $ECHO_C" >&6
    84129215 
    84139216        case $DFT_LWR_MODEL in
    8414 @@ -11440,7 +12219,7 @@
     9217@@ -11440,7 +12164,7 @@
    84159218                        DFT_OBJ_SUBDIR='obj_s' ;;
    84169219                esac
    84179220        esac
    84189221-echo "$as_me:11443: result: $DFT_OBJ_SUBDIR" >&5
    8419 +echo "$as_me:12222: result: $DFT_OBJ_SUBDIR" >&5
     9222+echo "$as_me:12167: result: $DFT_OBJ_SUBDIR" >&5
    84209223 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6
    84219224 
    84229225 ### Set up low-level terminfo dependencies for makefiles.
    8423 @@ -11656,7 +12435,7 @@
     9226@@ -11656,7 +12380,7 @@
    84249227 : ${CONFIG_STATUS=./config.status}
    84259228 ac_clean_files_save=$ac_clean_files
    84269229 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    84279230-{ echo "$as_me:11659: creating $CONFIG_STATUS" >&5
    8428 +{ echo "$as_me:12438: creating $CONFIG_STATUS" >&5
     9231+{ echo "$as_me:12383: creating $CONFIG_STATUS" >&5
    84299232 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    84309233 cat >$CONFIG_STATUS <<_ACEOF
    84319234 #! $SHELL
    8432 @@ -11832,7 +12611,7 @@
     9235@@ -11788,7 +12512,7 @@
     9236 cat >>$CONFIG_STATUS <<EOF
     9237 ac_cs_version="\\
     9238 config.status
     9239-configured by $0, generated by GNU Autoconf 2.52.20101002,
     9240+configured by $0, generated by GNU Autoconf 2.52.20120811,
     9241   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     9242 
     9243 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     9244@@ -11832,7 +12556,7 @@
    84339245     echo "$ac_cs_version"; exit 0 ;;
    84349246   --he | --h)
    84359247     # Conflict between --help and --header
    84369248-    { { echo "$as_me:11835: error: ambiguous option: $1
    8437 +    { { echo "$as_me:12614: error: ambiguous option: $1
     9249+    { { echo "$as_me:12559: error: ambiguous option: $1
    84389250 Try \`$0 --help' for more information." >&5
    84399251 echo "$as_me: error: ambiguous option: $1
    84409252 Try \`$0 --help' for more information." >&2;}
    8441 @@ -11851,7 +12630,7 @@
     9253@@ -11851,7 +12575,7 @@
    84429254     ac_need_defaults=false;;
    84439255 
    84449256   # This is an error.
    84459257-  -*) { { echo "$as_me:11854: error: unrecognized option: $1
    8446 +  -*) { { echo "$as_me:12633: error: unrecognized option: $1
     9258+  -*) { { echo "$as_me:12578: error: unrecognized option: $1
    84479259 Try \`$0 --help' for more information." >&5
    84489260 echo "$as_me: error: unrecognized option: $1
    84499261 Try \`$0 --help' for more information." >&2;}
    8450 @@ -11894,6 +12673,7 @@
     9262@@ -11870,7 +12594,7 @@
     9263 ## Running config.status.  ##
     9264 ## ----------------------- ##
     9265 
     9266-This file was extended by $as_me 2.52.20101002, executed with
     9267+This file was extended by $as_me 2.52.20120811, executed with
     9268   CONFIG_FILES    = $CONFIG_FILES
     9269   CONFIG_HEADERS  = $CONFIG_HEADERS
     9270   CONFIG_LINKS    = $CONFIG_LINKS
     9271@@ -11892,8 +12616,8 @@
     9272 AWK="$AWK"
     9273 DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
    84519274 DFT_LWR_MODEL="$DFT_LWR_MODEL"
    8452  ECHO_LINK="$ECHO_LINK"
     9275-ECHO_LINK="$ECHO_LINK"
    84539276 LIB_NAME="$LIB_NAME"
    84549277+LIB_PREFIX="$LIB_PREFIX"
     
    84569279 LN_S="$LN_S"
    84579280 NCURSES_MAJOR="$NCURSES_MAJOR"
    8458 @@ -11922,7 +12702,7 @@
     9281@@ -11922,7 +12646,7 @@
    84599282   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    84609283   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    84619284   "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;;
    84629285-  *) { { echo "$as_me:11925: error: invalid argument: $ac_config_target" >&5
    8463 +  *) { { echo "$as_me:12705: error: invalid argument: $ac_config_target" >&5
     9286+  *) { { echo "$as_me:12649: error: invalid argument: $ac_config_target" >&5
    84649287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    84659288    { (exit 1); exit 1; }; };;
    84669289   esac
    8467 @@ -12061,6 +12841,7 @@
     9290@@ -11981,6 +12705,7 @@
     9291 s,@bindir@,$bindir,;t t
     9292 s,@sbindir@,$sbindir,;t t
     9293 s,@libexecdir@,$libexecdir,;t t
     9294+s,@datarootdir@,$datarootdir,;t t
     9295 s,@datadir@,$datadir,;t t
     9296 s,@sysconfdir@,$sysconfdir,;t t
     9297 s,@sharedstatedir@,$sharedstatedir,;t t
     9298@@ -12061,6 +12786,7 @@
    84689299 s,@DFT_LWR_MODEL@,$DFT_LWR_MODEL,;t t
    84699300 s,@DFT_UPR_MODEL@,$DFT_UPR_MODEL,;t t
     
    84739304 s,@NCURSES_MINOR@,$NCURSES_MINOR,;t t
    84749305 s,@NCURSES_PATCH@,$NCURSES_PATCH,;t t
    8475 @@ -12083,6 +12864,7 @@
     9306@@ -12083,13 +12809,18 @@
    84769307 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
    84779308 s,@LOCAL_LDFLAGS2@,$LOCAL_LDFLAGS2,;t t
     
    84819312 s,@NCURSES_EXT_FUNCS@,$NCURSES_EXT_FUNCS,;t t
    84829313 s,@NCURSES_CONST@,$NCURSES_CONST,;t t
    8483 @@ -12109,7 +12891,8 @@
     9314 s,@PTHREAD@,$PTHREAD,;t t
     9315 s,@cf_cv_enable_reentrant@,$cf_cv_enable_reentrant,;t t
     9316 s,@NCURSES_WRAP_PREFIX@,$NCURSES_WRAP_PREFIX,;t t
     9317-s,@ECHO_LINK@,$ECHO_LINK,;t t
     9318+s,@ECHO_LT@,$ECHO_LT,;t t
     9319+s,@ECHO_LD@,$ECHO_LD,;t t
     9320+s,@RULE_CC@,$RULE_CC,;t t
     9321+s,@SHOW_CC@,$SHOW_CC,;t t
     9322+s,@ECHO_CC@,$ECHO_CC,;t t
     9323 s,@ADAFLAGS@,$ADAFLAGS,;t t
     9324 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
     9325 s,@ADA_TRACE@,$ADA_TRACE,;t t
     9326@@ -12109,7 +12840,8 @@
    84849327 s,@ADA_OBJECTS@,$ADA_OBJECTS,;t t
    84859328 s,@ADA_SHAREDLIB@,$ADA_SHAREDLIB,;t t
     
    84919334 s,@DFT_ARG_SUFFIX@,$DFT_ARG_SUFFIX,;t t
    84929335 s,@DFT_DEP_SUFFIX@,$DFT_DEP_SUFFIX,;t t
    8493 @@ -12237,7 +13020,7 @@
     9336@@ -12237,7 +12969,7 @@
    84949337   esac
    84959338 
    84969339   if test x"$ac_file" != x-; then
    84979340-    { echo "$as_me:12240: creating $ac_file" >&5
    8498 +    { echo "$as_me:13023: creating $ac_file" >&5
     9341+    { echo "$as_me:12972: creating $ac_file" >&5
    84999342 echo "$as_me: creating $ac_file" >&6;}
    85009343     rm -f "$ac_file"
    85019344   fi
    8502 @@ -12255,7 +13038,7 @@
     9345@@ -12255,7 +12987,7 @@
    85039346       -) echo $tmp/stdin ;;
    85049347       [\\/$]*)
    85059348          # Absolute (can't be DOS-style, as IFS=:)
    85069349-         test -f "$f" || { { echo "$as_me:12258: error: cannot find input file: $f" >&5
    8507 +         test -f "$f" || { { echo "$as_me:13041: error: cannot find input file: $f" >&5
     9350+         test -f "$f" || { { echo "$as_me:12990: error: cannot find input file: $f" >&5
    85089351 echo "$as_me: error: cannot find input file: $f" >&2;}
    85099352    { (exit 1); exit 1; }; }
    85109353          echo $f;;
    8511 @@ -12268,7 +13051,7 @@
     9354@@ -12268,7 +13000,7 @@
    85129355            echo $srcdir/$f
    85139356          else
    85149357            # /dev/null tree
    85159358-           { { echo "$as_me:12271: error: cannot find input file: $f" >&5
    8516 +           { { echo "$as_me:13054: error: cannot find input file: $f" >&5
     9359+           { { echo "$as_me:13003: error: cannot find input file: $f" >&5
    85179360 echo "$as_me: error: cannot find input file: $f" >&2;}
    85189361    { (exit 1); exit 1; }; }
    85199362          fi;;
    8520 @@ -12334,7 +13117,7 @@
     9363@@ -12334,7 +13066,7 @@
    85219364   * )   ac_file_in=$ac_file.in ;;
    85229365   esac
    85239366 
    85249367-  test x"$ac_file" != x- && { echo "$as_me:12337: creating $ac_file" >&5
    8525 +  test x"$ac_file" != x- && { echo "$as_me:13120: creating $ac_file" >&5
     9368+  test x"$ac_file" != x- && { echo "$as_me:13069: creating $ac_file" >&5
    85269369 echo "$as_me: creating $ac_file" >&6;}
    85279370 
    85289371   # First look for the input files in the build tree, otherwise in the
    8529 @@ -12345,7 +13128,7 @@
     9372@@ -12345,7 +13077,7 @@
    85309373       -) echo $tmp/stdin ;;
    85319374       [\\/$]*)
    85329375          # Absolute (can't be DOS-style, as IFS=:)
    85339376-         test -f "$f" || { { echo "$as_me:12348: error: cannot find input file: $f" >&5
    8534 +         test -f "$f" || { { echo "$as_me:13131: error: cannot find input file: $f" >&5
     9377+         test -f "$f" || { { echo "$as_me:13080: error: cannot find input file: $f" >&5
    85359378 echo "$as_me: error: cannot find input file: $f" >&2;}
    85369379    { (exit 1); exit 1; }; }
    85379380          echo $f;;
    8538 @@ -12358,7 +13141,7 @@
     9381@@ -12358,7 +13090,7 @@
    85399382            echo $srcdir/$f
    85409383          else
    85419384            # /dev/null tree
    85429385-           { { echo "$as_me:12361: error: cannot find input file: $f" >&5
    8543 +           { { echo "$as_me:13144: error: cannot find input file: $f" >&5
     9386+           { { echo "$as_me:13093: error: cannot find input file: $f" >&5
    85449387 echo "$as_me: error: cannot find input file: $f" >&2;}
    85459388    { (exit 1); exit 1; }; }
    85469389          fi;;
    8547 @@ -12416,7 +13199,7 @@
     9390@@ -12416,7 +13148,7 @@
    85489391   rm -f $tmp/in
    85499392   if test x"$ac_file" != x-; then
    85509393     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    85519394-      { echo "$as_me:12419: $ac_file is unchanged" >&5
    8552 +      { echo "$as_me:13202: $ac_file is unchanged" >&5
     9395+      { echo "$as_me:13151: $ac_file is unchanged" >&5
    85539396 echo "$as_me: $ac_file is unchanged" >&6;}
    85549397     else
    85559398       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85569399diff -Naur ncurses-5.9.orig/Ada95/configure.in ncurses-5.9/Ada95/configure.in
    8557 --- ncurses-5.9.orig/Ada95/configure.in 2012-02-16 18:25:12.619808985 +0000
    8558 +++ ncurses-5.9/Ada95/configure.in      2012-02-16 18:25:13.179823762 +0000
     9400--- ncurses-5.9.orig/Ada95/configure.in 2012-08-25 19:57:59.379901042 +0000
     9401+++ ncurses-5.9/Ada95/configure.in      2012-08-25 19:58:01.333225137 +0000
    85599402@@ -1,5 +1,5 @@
    85609403 dnl***************************************************************************
     
    85699412 dnl
    85709413-dnl $Id: configure.in,v 1.30 2011/03/31 22:49:22 tom Exp $
    8571 +dnl $Id: configure.in,v 1.38 2012/01/22 00:50:42 tom Exp $
     9414+dnl $Id: configure.in,v 1.41 2012/05/05 20:54:52 tom Exp $
    85729415 dnl Process this file with autoconf to produce a configure script.
    85739416 dnl
     
    85779420 AC_PREREQ(2.13.20020210)
    85789421-AC_REVISION($Revision: 1.30 $)
    8579 +AC_REVISION($Revision: 1.38 $)
     9422+AC_REVISION($Revision: 1.41 $)
    85809423 AC_INIT(gen/gen.c)
    85819424 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
    85829425 
     9426@@ -54,7 +54,7 @@
     9427 CF_CFG_DEFAULTS
     9428 
     9429 ###    Checks for programs.
     9430-AC_PROG_CC
     9431+AC_PROG_CC(gnatgcc gcc cc)
     9432 CF_GCC_VERSION
     9433 
     9434 AC_PROG_CPP
    85839435@@ -75,28 +75,8 @@
    85849436 
     
    86329484 AC_MSG_CHECKING(if you want broken-linker support code)
    86339485 AC_ARG_ENABLE(broken_linker,
    8634 @@ -514,7 +490,7 @@
     9486@@ -394,18 +370,7 @@
     9487 CF_HELP_MESSAGE(Testing/development Options:)
     9488 
     9489 ###    use option --disable-echo to suppress full display compiling commands
     9490-AC_MSG_CHECKING(if you want to display full commands during build)
     9491-AC_ARG_ENABLE(echo,
     9492-       [  --enable-echo           build: display "compiling" commands (default)],
     9493-       [with_echo=$enableval],
     9494-       [with_echo=yes])
     9495-if test "$with_echo" = yes; then
     9496-       ECHO_LINK=
     9497-else
     9498-       ECHO_LINK='@ echo linking $@ ... ;'
     9499-fi
     9500-AC_MSG_RESULT($with_echo)
     9501-AC_SUBST(ECHO_LINK)
     9502+CF_DISABLE_ECHO
     9503 
     9504 ###    use option --enable-warnings to turn on all gcc warnings
     9505 AC_MSG_CHECKING(if you want to see compiler warnings)
     9506@@ -431,7 +396,6 @@
     9507 then
     9508        if test "$with_assertions" = no
     9509        then
     9510-               AC_DEFINE(NDEBUG)
     9511                CPPFLAGS="$CPPFLAGS -DNDEBUG"
     9512        else
     9513                CF_ADD_ADAFLAGS(-gnata)
     9514@@ -514,24 +478,13 @@
    86359515 fi
    86369516 
     
    86419521 dnl At the moment we support no other Ada95 compiler.
    86429522 if test "$cf_with_ada" != "no" ; then
    8643 @@ -556,8 +532,10 @@
     9523        CF_PROG_GNAT
     9524        if test "$cf_cv_prog_gnat_correct" = yes; then
     9525-
     9526-               # make ADAFLAGS consistent with CFLAGS
     9527-               case "$CFLAGS" in
     9528-               *-g*)
     9529-                       CF_ADD_ADAFLAGS(-g)
     9530-                       ;;
     9531-               esac
     9532-               case "$CFLAGS" in
     9533-               *-O*)
     9534-                       CF_ADD_ADAFLAGS(-O3)
     9535-                       ;;
     9536-               esac
     9537+               CF_FIXUP_ADAFLAGS
     9538 
     9539                CF_GNAT_GENERICS
     9540                CF_GNAT_SIGINT
     9541@@ -556,8 +509,10 @@
    86449542 ################################################################################
    86459543 
     
    86549552 ### Construct the list of include-directories to be generated
    86559553 CF_INCLUDE_DIRS
    8656 @@ -658,6 +636,7 @@
     9554@@ -656,8 +611,8 @@
     9555 AWK="$AWK"
     9556 DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
    86579557 DFT_LWR_MODEL="$DFT_LWR_MODEL"
    8658  ECHO_LINK="$ECHO_LINK"
     9558-ECHO_LINK="$ECHO_LINK"
    86599559 LIB_NAME="$LIB_NAME"
    86609560+LIB_PREFIX="$LIB_PREFIX"
     
    86629562 LN_S="$LN_S"
    86639563 NCURSES_MAJOR="$NCURSES_MAJOR"
     9564diff -Naur ncurses-5.9.orig/Ada95/doc/Makefile.in ncurses-5.9/Ada95/doc/Makefile.in
     9565--- ncurses-5.9.orig/Ada95/doc/Makefile.in      2012-08-25 19:57:59.376567724 +0000
     9566+++ ncurses-5.9/Ada95/doc/Makefile.in   2012-08-25 19:58:02.286553964 +0000
     9567@@ -1,4 +1,4 @@
     9568-# $Id: Makefile.in,v 1.2 2011/03/26 19:26:17 tom Exp $
     9569+# $Id: Makefile.in,v 1.3 2012/08/11 21:31:56 tom Exp $
     9570 ##############################################################################
     9571 # Copyright (c) 2011 Free Software Foundation, Inc.                          #
     9572 #                                                                            #
     9573@@ -38,6 +38,7 @@
     9574 srcdir         = @srcdir@
     9575 prefix         = @prefix@
     9576 exec_prefix    = @exec_prefix@
     9577+datarootdir    = @datarootdir@
     9578 datadir                = @datadir@
     9579 mandir         = @mandir@
     9580 
    86649581diff -Naur ncurses-5.9.orig/Ada95/gen/Makefile.in ncurses-5.9/Ada95/gen/Makefile.in
    8665 --- ncurses-5.9.orig/Ada95/gen/Makefile.in      2012-02-16 18:25:12.619808985 +0000
    8666 +++ ncurses-5.9/Ada95/gen/Makefile.in   2012-02-16 18:25:12.907816584 +0000
     9582--- ncurses-5.9.orig/Ada95/gen/Makefile.in      2012-08-25 19:57:59.379901042 +0000
     9583+++ ncurses-5.9/Ada95/gen/Makefile.in   2012-08-25 19:58:01.003226698 +0000
     9584@@ -1,5 +1,5 @@
     9585 ##############################################################################
     9586-# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     9587+# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
     9588 #                                                                            #
     9589 # Permission is hereby granted, free of charge, to any person obtaining a    #
     9590 # copy of this software and associated documentation files (the "Software"), #
    86679591@@ -28,7 +28,7 @@
    86689592 #
     
    86709594 #
    86719595-#  $Id: Makefile.in,v 1.74 2011/03/26 23:36:30 tom Exp $
    8672 +#  $Id: Makefile.in,v 1.75 2011/09/24 14:41:24 nix Exp $
     9596+#  $Id: Makefile.in,v 1.76 2012/03/17 16:45:38 tom Exp $
    86739597 #
    86749598 .SUFFIXES:
     
    86839607 RANLIB         = @RANLIB@
    86849608 
     9609@@ -179,7 +179,7 @@
     9610        -rm -f $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
     9611 
     9612 $(PROG_GENERATE):  gen.o
     9613-       @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@
     9614+       @ECHO_LD@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@
     9615 
     9616 gen.o: $(srcdir)/gen.c
     9617        $(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
    86859618@@ -411,7 +411,7 @@
    86869619        @mkdir -p $(HTML_DIR)
     
    86939626           h=`basename $$f` ;\
    86949627diff -Naur ncurses-5.9.orig/Ada95/gen/gen.c ncurses-5.9/Ada95/gen/gen.c
    8695 --- ncurses-5.9.orig/Ada95/gen/gen.c    2012-02-16 18:25:12.619808985 +0000
    8696 +++ ncurses-5.9/Ada95/gen/gen.c 2012-02-16 18:25:12.907816584 +0000
     9628--- ncurses-5.9.orig/Ada95/gen/gen.c    2012-08-25 19:57:59.379901042 +0000
     9629+++ ncurses-5.9/Ada95/gen/gen.c 2012-08-25 19:57:59.859898773 +0000
    86979630@@ -32,7 +32,7 @@
    86989631 
     
    87799712   printf("   --               different on your system.");
    87809713 }
     9714diff -Naur ncurses-5.9.orig/Ada95/samples/Makefile.in ncurses-5.9/Ada95/samples/Makefile.in
     9715--- ncurses-5.9.orig/Ada95/samples/Makefile.in  2012-08-25 19:57:59.376567724 +0000
     9716+++ ncurses-5.9/Ada95/samples/Makefile.in       2012-08-25 19:58:02.286553964 +0000
     9717@@ -28,7 +28,7 @@
     9718 #
     9719 #  Author:  Juergen Pfeifer, 1996
     9720 #
     9721-#  $Id: Makefile.in,v 1.46 2011/03/28 23:45:08 tom Exp $
     9722+#  $Id: Makefile.in,v 1.47 2012/08/11 21:31:56 tom Exp $
     9723 #
     9724 .SUFFIXES:
     9725 
     9726@@ -42,6 +42,7 @@
     9727 prefix         = @prefix@
     9728 exec_prefix    = @exec_prefix@
     9729 bindir         = @bindir@
     9730+datarootdir    = @datarootdir@
     9731 datadir                = @datadir@
     9732 libdir         = @libdir@
     9733 includedir     = @includedir@
    87819734diff -Naur ncurses-5.9.orig/Ada95/src/Makefile.in ncurses-5.9/Ada95/src/Makefile.in
    8782 --- ncurses-5.9.orig/Ada95/src/Makefile.in      2012-02-16 18:25:12.619808985 +0000
    8783 +++ ncurses-5.9/Ada95/src/Makefile.in   2012-02-16 18:25:12.907816584 +0000
     9735--- ncurses-5.9.orig/Ada95/src/Makefile.in      2012-08-25 19:57:59.383234360 +0000
     9736+++ ncurses-5.9/Ada95/src/Makefile.in   2012-08-25 19:57:59.859898773 +0000
    87849737@@ -28,7 +28,7 @@
    87859738 #
     
    88569809 install \
    88579810diff -Naur ncurses-5.9.orig/INSTALL ncurses-5.9/INSTALL
    8858 --- ncurses-5.9.orig/INSTALL    2012-02-16 18:25:12.635809407 +0000
    8859 +++ ncurses-5.9/INSTALL 2012-02-16 18:25:13.251825661 +0000
     9811--- ncurses-5.9.orig/INSTALL    2012-08-25 19:57:59.396567629 +0000
     9812+++ ncurses-5.9/INSTALL 2012-08-25 19:58:02.289887281 +0000
    88609813@@ -1,5 +1,5 @@
    88619814 -------------------------------------------------------------------------------
     
    88709823 -------------------------------------------------------------------------------
    88719824--- $Id: INSTALL,v 1.155 2011/03/31 08:27:24 tom Exp $
    8872 +-- $Id: INSTALL,v 1.163 2012/02/11 16:20:42 tom Exp $
     9825+-- $Id: INSTALL,v 1.166 2012/08/11 20:12:34 tom Exp $
    88739826 ---------------------------------------------------------------------
    88749827              How to install Ncurses/Terminfo on your system
     
    88959848                configure --with-ticlib --with-shared --disable-tic-depends
    88969849 
    8897 @@ -616,6 +617,12 @@
     9850@@ -555,6 +556,9 @@
     9851        library by reducing global and static variables.  This option is also
     9852        set if --with-pthread is used.
     9853 
     9854+       Enabling this option adds a "t" to the library names, except for the
     9855+       special case when --enable-weak-symbols is also used.
     9856+
     9857     --enable-rpath
     9858        Use rpath option when generating shared libraries, and (with some
     9859        restrictions) when linking the corresponding programs.  This originally
     9860@@ -595,6 +599,14 @@
     9861        reducing the need for juggling the global SP value with set_term() and
     9862        delscreen().
     9863 
     9864+    --enable-string-hacks
     9865+       Controls whether strlcat and strlcpy may be used.  The same issue
     9866+       applies to OpenBSD's warnings about snprintf, noting that this function
     9867+       is weakly standardized.
     9868+
     9869+       Aside from stifling these warnings, there is no functional improvement
     9870+       in ncurses.
     9871+
     9872     --enable-symlinks
     9873        If your system supports symbolic links, make tic use symbolic links
     9874        rather than hard links to save diskspace when writing aliases in the
     9875@@ -616,6 +628,12 @@
    88989876        match is found in the terminfo database.  See also the --enable-getcap
    88999877        and --enable-getcap-cache options.
     
    89089886        Turn on GCC compiler warnings.  There should be only a few.
    89099887 
    8910 @@ -824,7 +831,17 @@
     9888@@ -824,7 +842,17 @@
    89119889        NOTE: a few systems build shared libraries with fixed pathnames; this
    89129890        option probably will not work for those configurations.
     
    89279905        overrides all other library model specifications.  Note that libtool
    89289906        must already be installed, uses makefile rules dependent on GNU make,
    8929 @@ -904,6 +921,10 @@
     9907@@ -904,6 +932,10 @@
    89309908     --with-pkg-config=[DIR]
    89319909        Check for pkg-config, optionally specifying its path.
     
    89389916        Generate profile-libraries These are named by adding "_p" to the root,
    89399917        e.g., libncurses_p.a
    8940 @@ -1000,6 +1021,14 @@
     9918@@ -996,10 +1028,27 @@
     9919        library dependencies for tic and other programs built with the tic
     9920        library.
     9921 
     9922+    --with-tparm-arg[=XXX]
     9923+       Override the type used for tparm() arguments, which normally is a
     9924+       "long".  However the function must assume that its arguments can hold a
     9925+       pointer to char's which is not always workable for 64-bit platforms.  A
     9926+       better choice would be intptr_t, which was not available at the time
     9927+       tparm's interface was defined.
     9928+
     9929+       If the option is not given, this defaults to "long".
     9930+
     9931     --with-trace
    89419932        Configure the trace() function as part of the all models of the ncurses
    89429933        library.  Normally it is part of the debug (libncurses_g) library only.
     
    89539944        For testing, compile with debug option.
    89549945        This also sets the --disable-leaks option.
    8955 @@ -1024,6 +1053,8 @@
     9946@@ -1024,6 +1073,8 @@
    89569947        install as "ncurses.h" and modify the installed headers and manpages
    89579948        accordingly.
     
    89629953        XSI curses declares "bool" as part of the interface.  C++ also declares
    89639954        "bool".  Neither specifies the size and type of booleans, but both
    8964 @@ -1726,20 +1757,37 @@
     9955@@ -1726,20 +1777,37 @@
    89659956        By default, there are no entries on the fallback list.  After you have
    89669957        built the ncurses suite for the first time, you can change the list
     
    90059996        Any non-empty fallback list is const-ed and therefore lives in sharable
    90069997diff -Naur ncurses-5.9.orig/MANIFEST ncurses-5.9/MANIFEST
    9007 --- ncurses-5.9.orig/MANIFEST   2012-02-16 18:25:12.643809617 +0000
    9008 +++ ncurses-5.9/MANIFEST        2012-02-16 18:25:13.063820699 +0000
    9009 @@ -545,6 +545,7 @@
     9998--- ncurses-5.9.orig/MANIFEST   2012-08-25 19:57:59.429900806 +0000
     9999+++ ncurses-5.9/MANIFEST        2012-08-25 19:58:01.833222773 +0000
     10000@@ -545,6 +545,8 @@
    901010001 ./include/nc_alloc.h
    901110002 ./include/nc_mingw.h
    901210003 ./include/nc_panel.h
     10004+./include/nc_string.h
    901310005+./include/nc_termios.h
    901410006 ./include/nc_tparm.h
    901510007 ./include/ncurses_cfg.hin
    901610008 ./include/ncurses_defs
    9017 @@ -764,7 +765,6 @@
     10009@@ -764,7 +766,6 @@
    901810010 ./mk-0th.awk
    901910011 ./mk-1st.awk
     
    902310015 ./ncurses/Makefile.in
    902410016 ./ncurses/README
    9025 @@ -1022,6 +1022,7 @@
     10017@@ -867,6 +868,12 @@
     10018 ./ncurses/llib-lncursest
     10019 ./ncurses/llib-lncursestw
     10020 ./ncurses/llib-lncursesw
     10021+./ncurses/llib-ltic
     10022+./ncurses/llib-ltictw
     10023+./ncurses/llib-lticw
     10024+./ncurses/llib-ltinfo
     10025+./ncurses/llib-ltinfotw
     10026+./ncurses/llib-ltinfow
     10027 ./ncurses/modules
     10028 ./ncurses/tinfo/MKcaptab.awk
     10029 ./ncurses/tinfo/MKcaptab.sh
     10030@@ -970,6 +977,14 @@
     10031 ./ncurses/win32con/gettimeofday.c
     10032 ./ncurses/win32con/wcwidth.c
     10033 ./ncurses/win32con/win_driver.c
     10034+./package/debian/changelog
     10035+./package/debian/compat
     10036+./package/debian/control
     10037+./package/debian/copyright
     10038+./package/debian/rules
     10039+./package/debian/source/format
     10040+./package/debian/watch
     10041+./package/ncurses.spec
     10042 ./panel/Makefile.in
     10043 ./panel/headers
     10044 ./panel/llib-lpanel
     10045@@ -1022,6 +1037,7 @@
    902610046 ./test/cardfile.dat
    902710047 ./test/chgat.c
     
    903210052 ./test/configure.in
    903310053diff -Naur ncurses-5.9.orig/Makefile.in ncurses-5.9/Makefile.in
    9034 --- ncurses-5.9.orig/Makefile.in        2012-02-16 18:25:12.643809617 +0000
    9035 +++ ncurses-5.9/Makefile.in     2012-02-16 18:25:13.183823867 +0000
     10054--- ncurses-5.9.orig/Makefile.in        2012-08-25 19:57:59.419900852 +0000
     10055+++ ncurses-5.9/Makefile.in     2012-08-25 19:58:02.289887281 +0000
    903610056@@ -1,6 +1,6 @@
    903710057-# $Id: Makefile.in,v 1.30 2010/11/27 21:45:27 tom Exp $
    9038 +# $Id: Makefile.in,v 1.33 2012/01/21 23:54:30 tom Exp $
     10058+# $Id: Makefile.in,v 1.34 2012/08/11 21:41:19 tom Exp $
    903910059 ##############################################################################
    904010060-# Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.                #
     
    905310073 @SET_MAKE@
    905410074 
    9055 @@ -87,12 +88,9 @@
     10075@@ -48,6 +49,7 @@
     10076 
     10077 prefix         = @prefix@
     10078 exec_prefix    = @exec_prefix@
     10079+datarootdir    = @datarootdir@
     10080 
     10081 bindir         = @bindir@
     10082 ticdir         = @TERMINFO@
     10083@@ -87,12 +89,9 @@
    905610084                fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
    905710085                echo '** Will overwrite non-ncurses curses.h'
     
    906810096 # directories to visit.
    906910097diff -Naur ncurses-5.9.orig/NEWS ncurses-5.9/NEWS
    9070 --- ncurses-5.9.orig/NEWS       2012-02-16 18:25:12.639809512 +0000
    9071 +++ ncurses-5.9/NEWS    2012-02-16 18:25:13.255825766 +0000
     10098--- ncurses-5.9.orig/NEWS       2012-08-25 19:57:59.409900901 +0000
     10099+++ ncurses-5.9/NEWS    2012-08-25 19:58:02.303220551 +0000
    907210100@@ -1,5 +1,5 @@
    907310101 -------------------------------------------------------------------------------
     
    908210110 -------------------------------------------------------------------------------
    908310111--- $Id: NEWS,v 1.1682 2011/04/04 00:02:42 tom Exp $
    9084 +-- $Id: NEWS,v 1.1857 2012/02/11 23:39:31 tom Exp $
     10112+-- $Id: NEWS,v 1.1942 2012/08/11 21:30:05 tom Exp $
    908510113 -------------------------------------------------------------------------------
    908610114 
    908710115 This is a log of changes that ncurses has gone through since Zeyd started
    9088 @@ -45,6 +45,467 @@
     10116@@ -45,6 +45,731 @@
    908910117 Changes through 1.9.9e did not credit all contributions;
    909010118 it is not possible to add this information.
    909110119 
     10120+20120811
     10121+       + update autoconf patch to 2.52.20120811, adding --datarootdir
     10122+         (prompted by discussion with Erwin Waterlander).
     10123+       + improve description of --enable-reentrant option in README and the
     10124+         INSTALL file.
     10125+       + add nsterm-256color, make this the default nsterm -TD
     10126+       + remove bw from nsterm-bce, per testing with tack -TD
     10127+
     10128+20120804
     10129+       + update test/configure, adding check for tinfo library.
     10130+       + improve limit-checks for the getch fifo (report by Werner Fink).
     10131+       + fix a remaining mismatch between $with_echo and the symbols updated
     10132+         by CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
     10133+         Sven Joachim, cf:  20120317).
     10134+       + modify followup check for pkg-config's library directory in the
     10135+         --enable-pc-files option to validate syntax (report by Sven Joachim,
     10136+         cf: 20110716).
     10137+
     10138+20120728
     10139+       + correct path for ncurses_mingw.h in include/headers, in case build
     10140+         is done outside source-tree (patch by Roumen Petrov).
     10141+       + modify some older xterm entries to align with xterm source -TD
     10142+       + separate "xterm-old" alias from "xterm-r6" -TD
     10143+       + add E3 extended capability to xterm-basic and putty -TD
     10144+       + parenthesize parameters of other macros in curses.h -TD
     10145+       + parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h
     10146+         in case it happens to be a comma-expression, etc.  (patch by Nick
     10147+         Black).
     10148+
     10149+20120721
     10150+       + improved form_request_by_name() and menu_request_by_name().
     10151+       + eliminate two fixed-size buffers in toe.c
     10152+       + extend use_tioctl() to have expected behavior when use_env(FALSE) and
     10153+         use_tioctl(TRUE) are called.
     10154+       + modify ncurses test-program, adding -E and -T options to demonstrate
     10155+         use_env() versus use_tioctl().
     10156+
     10157+20120714
     10158+       + add use_tioctl() function (adapted from patch by Werner Fink,
     10159+         Novell #769788):
     10160+
     10161+20120707
     10162+       + add ncurses_mingw.h to installed headers (prompted by patch by
     10163+         Juergen Pfeifer).
     10164+       + clarify return-codes from wgetch() in response to SIGWINCH (prompted
     10165+         by Novell #769788).
     10166+       + modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
     10167+         if screensize is unchanged.  Modify _nc_update_screensize() to push a
     10168+         KEY_RESIZE if there was a SIGWINCH, even if it does not call
     10169+         resizeterm().  These changes eliminate the case where a SIGWINCH is
     10170+         received, but ERR returned from wgetch or wgetnstr because the screen
     10171+         dimensions did not change (Novell #769788).
     10172+
     10173+20120630
     10174+       + add --enable-interop to sample package scripts (suggested by Juergen
     10175+         Pfeifer).
     10176+       + update CF_PATH_SYNTAX macro, from mawk changes.
     10177+       + modify mk-0th.awk to allow for generating llib-ltic, etc., though
     10178+         some work is needed on cproto to work with lib_gen.c to update
     10179+         llib-lncurses.
     10180+       + remove redundant getenv() cal in database-iterator leftover from
     10181+         cleanup in 20120622 changes (report by Sven Joachim).
     10182+
     10183+20120622
     10184+       + add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
     10185+       + fix caching of environment variables in database-iterator (patch by
     10186+         Philippe Troin, Redhat #831366).
     10187+
     10188+20120616
     10189+       + add configure check to distinguish clang from gcc to eliminate
     10190+         warnings about unused command-line parameters when compiler warnings
     10191+         are enabled.
     10192+       + improve behavior when updating terminfo entries which are hardlinked
     10193+         by allowing for the possibility that an alias has been repurposed to
     10194+         a new primary name.
     10195+       + fix some strict compiler warnings based on package scripts.
     10196+       + further fixes for configure check for working poll (Debian #676461).
     10197+
     10198+20120608
     10199+       + fix an uninitialized variable in -c/-n logic for infocmp changes
     10200+         (cf: 20120526).
     10201+       + corrected fix for building c++ binding with clang 3.0 (report/patch
     10202+         by Richard Yao, Gentoo #417613, cf: 20110409)
     10203+       + correct configure check for working poll, fixing the case where stdin
     10204+         is redirected, e.g., in rpm/dpkg builds (Debian #676461).
     10205+       + add rpm- and dpkg-scripts, to test those build-environments.
     10206+         The resulting packages are used only for testing.
     10207+
     10208+20120602
     10209+       + add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
     10210+       + add kdch1, etc., to qvt108 -TD
     10211+       + add dl1/il1 to some entries based on dl/il values -TD
     10212+       + add dl to simpleterm -TD
     10213+       + add consistency-checks in tic for insert-line vs delete-line
     10214+         controls, and insert/delete-char keys
     10215+       + correct no-leaks logic in infocmp when doing comparisons, fixing
     10216+         duplicate free of entries given via the command-line, and freeing
     10217+         entries loaded from the last-but-one of files specified on the
     10218+         command-line.
     10219+       + add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
     10220+         analysis by Martin Husemann).
     10221+       + add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
     10222+         Onno van der Linden).
     10223+
     10224+20120526
     10225+       + extend -c and -n options of infocmp to allow comparing more than two
     10226+         entries.
     10227+       + correct check in infocmp for number of terminal names when more than
     10228+         two are given.
     10229+       + correct typo in curs_threads.3x (report by Yanhui Shen on
     10230+         freebsd-hackers mailing list).
     10231+
     10232+20120512
     10233+       + corrected 'op' for bterm (report by Samuel Thibault) -TD
     10234+       + modify test/background.c to demonstrate a background character
     10235+         holding a colored ACS_HLINE.  The behavior differs from SVr4 due to
     10236+         the thick- and double-line extension (cf: 20091003).
     10237+       + modify handling of acs characters in PutAttrChar to avoid mapping an
     10238+         unmapped character to a space with A_ALTCHARSET set.
     10239+       + rewrite vt520 entry based on vt420 -TD
     10240+
     10241+20120505
     10242+       + remove p6 (bold) from opus3n1+ for consistency -TD
     10243+       + remove acs stuff from env230 per clues in Ingres termcap -TD
     10244+       + modify env230 sgr/sgr0 to match other capabilities -TD
     10245+       + modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
     10246+       + make sgr for dku7202 agree with other caps -TD
     10247+       + make sgr for ibmpc agree with other caps -TD
     10248+       + make sgr for tek4107 agree with other caps -TD
     10249+       + make sgr for ndr9500 agree with other caps -TD
     10250+       + make sgr for sco-ansi agree with other caps -TD
     10251+       + make sgr for d410 agree with other caps -TD
     10252+       + make sgr for d210 agree with other caps -TD
     10253+       + make sgr for d470c, d470c-7b agree with other caps -TD
     10254+       + remove redundant AC_DEFINE for NDEBUG versus Makefile definition.
     10255+       + fix a back-link in _nc_delink_entry(), which is needed if ncurses is
     10256+         configured with --enable-termcap and --disable-getcap.
     10257+
     10258+20120428
     10259+       + fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
     10260+       + add eslok flag to dec+sl -TD
     10261+       + dec+sl applies to vt320 and up -TD
     10262+       + drop wsl width from xterm+sl -TD
     10263+       + reuse xterm+sl in putty and nsca-m -TD
     10264+       + add ansi+tabs to vt520 -TD
     10265+       + add ansi+enq to vt220-vt520 -TD
     10266+       + fix a compiler warning in example in ncurses-intro.doc (Paul Waring).
     10267+       + added paragraph in keyname manpage telling how extended capabilities
     10268+         are interpreted as key definitions.
     10269+       + modify tic's check of conflicting key definitions to include extended
     10270+         capability strings in addition to the existing check on predefined
     10271+         keys.
     10272+
     10273+20120421
     10274+       + improve cleanup of temporary files in tic using atexit().
     10275+       + add msgr to vt420, similar DEC vtXXX entries -TD
     10276+       + add several missing vt420 capabilities from vt220 -TD
     10277+       + factor out ansi+pp from several entries -TD
     10278+       + change xterm+sl and xterm+sl-twm to include only the status-line
     10279+         capabilities and not "use=xterm", making them more generally useful
     10280+         as building-blocks -TD
     10281+       + add dec+sl building block, as example -TD
     10282+
     10283+20120414
     10284+       + add XT to some terminfo entries to improve usefulness for other
     10285+         applications than screen, which would like to pretend that xterm's
     10286+         title is a status-line.  -TD
     10287+       + change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
     10288+         of ordering and overrides -TD
     10289+       + add consistency check in tic for screen's "XT" capability.
     10290+       + add section in terminfo.src summarizing the user-defined capabilities
     10291+         used in that file -TD
     10292+
     10293+20120407
     10294+       + fix an inconsistency between tic/infocmp "-x" option; tic omits all
     10295+         non-standard capabilities, while infocmp was ignoring only the user
     10296+         definable capabilities.
     10297+       + improve special case in tic parsing of description to allow it to be
     10298+         followed by terminfo capabilities.  Previously the description had to
     10299+         be the last field on an input line to allow tic to distinguish
     10300+         between termcap and terminfo format while still allowing commas to be
     10301+         embedded in the description.
     10302+       + correct variable name in gen_edit.sh which broke configurability of
     10303+         the --with-xterm-kbs option.
     10304+       + revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
     10305+       + further amend 20110910 change, providing for configure-script
     10306+         override of the "linux" terminfo entry to install and changing the
     10307+         default for that to "linux2.2" (Debian #665959).
     10308+
     10309+20120331
     10310+       + update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
     10311+       + correct order of use-clauses in st-256color -TD
     10312+       + modify configure script to look for gnatgcc if the Ada95 binding
     10313+         is built, in preference to the default gcc/cc (suggested by
     10314+         Nicolas Boulenguez).
     10315+       + modify configure script to ensure that the same -On option used for
     10316+         the C compiler in CFLAGS is used for ADAFLAGS rather than simply
     10317+         using "-O3" (suggested by Nicolas Boulenguez)
     10318+
     10319+20120324
     10320+       + amend an old fix so that next_char() exits properly for empty files,
     10321+         e.g., from reading /dev/null (cf: 20080804).
     10322+       + modify tic so that it can read from the standard input, or from
     10323+         a character device.  Because tic uses seek's, this requires writing
     10324+         the data to a temporary file first (prompted by remark by Sven
     10325+         Joachim) (cf: 20000923).
     10326+
     10327+20120317
     10328+       + correct a check made in lib_napms.c, so that terminfo applications
     10329+         can again use napms() (cf: 20110604).
     10330+       + add a note in tic.h regarding required casts for ABSENT_BOOLEAN
     10331+         (cf: 20040327).
     10332+       + correct scripting for --disable-echo option in test/configure.
     10333+       + amend check for missing c++ compiler to work when no error is
     10334+         reported, and no variables set (cf: 20021206).
     10335+       + add/use configure macro CF_DISABLE_ECHO.
     10336+
     10337+20120310
     10338+       + fix some strict compiler warnings for abi6 and 64-bits.
     10339+       + use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303).
     10340+       + improve a limit-check in infocmp.c (Werner Fink):
     10341+
     10342+20120303
     10343+       + minor tidying of terminfo.tail, clarify reason for limitation
     10344+         regarding mapping of \0 to \200
     10345+       + minor improvement to _nc_copy_termtype(), using memcpy to replace
     10346+         loops.
     10347+       + fix no-leaks checking in test/demo_termcap.c to account for multiple
     10348+         calls to setupterm().
     10349+       + modified the libgpm change to show previous load as a problem in the
     10350+         debug-trace.
     10351+       > merge some patches from OpenSUSE rpm (Werner Fink):
     10352+       + ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
     10353+       + ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
     10354+         runtime linker
     10355+       + ncurses-5.6-fallback.dif, do not free arrays and strings from static
     10356+         fallback entries
     10357+
     10358+20120228
     10359+       + fix breakage in tic/infocmp from 20120225 (report by Werner Fink).
     10360+
     10361+20120225
     10362+       + modify configure script to allow creating dll's for MinGW when
     10363+         cross-compiling.
     10364+       + add --enable-string-hacks option to control whether strlcat and
     10365+         strlcpy may be used.  The same issue applies to OpenBSD's warnings
     10366+         about snprintf, noting that this function is weakly standardized.
     10367+       + add configure checks for strlcat, strlcpy and snprintf, to help
     10368+         reduce bogus warnings with OpenBSD builds.
     10369+       + build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
     10370+         (cf:20111231)
     10371+       + update config.guess, config.sub
     10372+
     10373+20120218
     10374+       + correct CF_ETIP_DEFINES configure macro, making it exit properly on
     10375+         the first success (patch by Pierre Labastie).
     10376+       + improve configure macro CF_MKSTEMP by moving existence-check for
     10377+         mkstemp out of the AC_TRY_RUN, to help with cross-compiles.
     10378+       + improve configure macro CF_FUNC_POLL from luit changes to detect
     10379+         broken implementations, e.g., with Mac OS X.
     10380+       + add configure option --with-tparm-arg
     10381+       + build-fix for MinGW cross-compiling, so that make_hash does not
     10382+         depend on TTY definition (cf: 20111008).
     10383+
    909210384+20120211
    909310385+       + make sgr for xterm-pcolor agree with other caps -TD
     
    955410846 
    955510847 20110402
    9556 @@ -155,7 +616,7 @@
     10848@@ -100,7 +825,7 @@
     10849        + modify configure script to provide value for HTML_DIR in
     10850          Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
     10851          distributed separately (report by Nicolas Boulenguez).
     10852-       + modify configure script to add -g and/or -O3 to ADAFLAGS if the
     10853+       + modify configure script to add "-g" and/or "-O3" to ADAFLAGS if the
     10854          CFLAGS for the build has these options.
     10855        + amend change from 20070324, to not add 1 to the result of getmaxx
     10856          and getmaxy in the Ada binding (report by Nicolas Boulenguez for
     10857@@ -155,7 +880,7 @@
    955710858 20110212
    955810859        + regenerated html manpages.
     
    956310864 20110205
    956410865        + add xterm-utf8 entry as a demo of the U8 feature -TD
    9565 @@ -219,7 +680,7 @@
     10866@@ -219,7 +944,7 @@
    956610867          version which works with termcap.
    956710868        + remove obsolete emacs "Local Variables" section from documentation
     
    957210873 
    957310874 20101128
    9574 @@ -294,8 +755,8 @@
     10875@@ -294,8 +1019,8 @@
    957510876          Sven Joachim).
    957610877        + add parameterized cursor-controls to linux-basic (report by Dae) -TD
     
    958310884          Joachim).
    958410885        + add a check in mk-dlls.sh.in to obtain the size of a pointer to
    9585 @@ -478,7 +939,7 @@
     10886@@ -478,7 +1203,7 @@
    958610887 20100417
    958710888        + modify _nc_capcmp() to work with cancelled strings.
     
    959210893          which adds rpath options for libraries in unusual places.
    959310894        + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
    9594 @@ -8979,15 +9440,18 @@
     10895@@ -6530,7 +7255,7 @@
     10896          handling in lynx (reported by Kim DeVaughn).
     10897 
     10898 990306 pre-release
     10899-       + add -G option to tic and infocmp, to reverse the -g option.
     10900+       + add -G option to tic and infocmp, to reverse the "-g" option.
     10901        + recode functions in name_match.c to avoid use of strncpy, which
     10902          caused a 4-fold slowdown in tic (cf: 980530).
     10903        + correct a few warnings about sign-extension in recent changes.
     10904@@ -6901,7 +7626,7 @@
     10905          since that is a little more efficient.
     10906        + minor correction to infocmp to avoid displaying "difference" between
     10907          two capabilities that are rendered in equivalent forms.
     10908-       + add -g option to tic/infocmp to force character constants to be
     10909+       + add "-g" option to tic/infocmp to force character constants to be
     10910          displayed in quoted form.  Otherwise their decimal values are shown.
     10911        + modify setupterm so that cancelled strings are treated the same as
     10912          absent strings, cancelled and absent booleans false (does not affect
     10913@@ -8979,15 +9704,18 @@
    959510914        + correction to #317.
    959610915        > patch 317 (ESR):
     
    961510934          (lib_getch.c, lib_twait.c).
    961610935        + new function _nc_mvcur_resume()
    9617 @@ -9059,7 +9523,7 @@
     10936@@ -9059,12 +9787,12 @@
    961810937        + corrected typo in dtterm description.
    961910938        > patch 313 (ESR):
     
    962410943 960810 - snapshot
    962510944        + correct nl()/nonl() to work as per SVr4 & XSI.
    9626 @@ -9073,7 +9537,8 @@
     10945        + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
     10946-       + refine configure-test for -g option (Tim Mooney).
     10947+       + refine configure-test for "-g" option (Tim Mooney).
     10948        + correct interaction between O_BLANK and NEW_LINE request in form
     10949          library (Juergen Pfeifer)
     10950 
     10951@@ -9073,7 +9801,8 @@
    962710952        > patch 312 (ESR):
    962810953          correct terminfo.src corrupted by #310
     
    963410959 960803 - snapshot
    963510960        + corrected tparm to handle capability strings without explicit pop
    9636 @@ -9083,7 +9548,7 @@
     10961@@ -9083,7 +9812,7 @@
    963710962        > patch 310 (ESR):
    963810963        + documentation and prototyping errors for has_color, immedok and idcok
     
    964310968 960730
    964410969        + eliminate quoted includes in ncurses subdirectory, ensure config.h
    9645 @@ -9095,7 +9560,7 @@
     10970@@ -9095,7 +9824,7 @@
    964610971        + call cbreak() in initscr(), as per XSI & SVr4.
    964710972        + turn off hardware echo in initscr() as per XSI & SVr4
     
    965210977        + add more symbols to infocmp.
    965310978 
    9654 @@ -9114,6 +9579,7 @@
     10979@@ -9114,6 +9843,7 @@
    965510980        > patch 308 (ESR):
    965610981        + terminfo changes (9.3.8)
     
    966010985 960713 - snapshot
    966110986        + always check for <sys/bsdtypes.h> since ISC needs it to declare
    9662 @@ -9122,9 +9588,19 @@
     10987@@ -9122,9 +9852,19 @@
    966310988          by Juergen Pfeifer, Mike Long)
    966410989        + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
     
    968111006 960707
    968211007        + rollback ESR's #305 change to terminfo.src (it breaks existing
    9683 @@ -9139,7 +9615,6 @@
     11008@@ -9139,7 +9879,6 @@
    968411009        + make lib_vidattr.c more readable using macros.
    968511010        + filter out rmul, rmso that conflict with sgr0 when reading terminal
     
    968911014          (reported by Zeyd).
    969011015        + modify man-page install for BSDI to install preformatted .0 files
    9691 @@ -9152,6 +9627,12 @@
     11016@@ -9152,6 +9891,12 @@
    969211017        + disable scrollok during the ncurses 'p' test; if it is enabled the
    969311018          stdscr will scroll when putting the box-corners in the lower-right
     
    970211027 960629 - snapshot
    970311028        + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
    9704 @@ -9234,6 +9715,7 @@
     11029@@ -9234,6 +9979,7 @@
    970511030        + better fix for nvi refresh-bug (Rick Marshall)
    970611031        + fix for bug in handling of interrupted keystroke waits,
     
    971011035 960601 - snapshot
    971111036        + auto-configure man-page compression-format and renames for Debian.
    9712 @@ -9263,6 +9745,9 @@
     11037@@ -9248,7 +9994,7 @@
     11038        + enhancement to the control over the new PC-style soft key format.
     11039          allow caller now to select whether or not one wants to have
     11040          the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
     11041-       + typos, don't use inline with -g (Philippe De Muyter)
     11042+       + typos, don't use inline with "-g" (Philippe De Muyter)
     11043        + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
     11044 
     11045 960526 - snapshot
     11046@@ -9263,6 +10009,9 @@
    971311047        + include sys/types.h in case stdlib.h does not declare size_t.
    971411048        + fixes for makefile (Tim Mooney)
     
    972011054 960518 - snapshot
    972111055        + revised ncurses.c panner test, let pad abut all 4 sides of screen.
    9722 @@ -9275,6 +9760,8 @@
     11056@@ -9275,6 +10024,8 @@
    972311057          confusion, and made this check for the /usr/lib/terminfo pre-existing
    972411058          directory.
     
    972911063        + mods to tracing, especially for ACS chars.
    973011064        + corrected off-by-one in IDCtransform.
    9731 @@ -9294,13 +9781,21 @@
     11065@@ -9294,13 +10045,21 @@
    973211066        > patches 297, 298 (ESR):
    973311067        + implement TERMINFO_DIRS, and -o option of tic
     
    975411088 
    975511089 960504 - snapshot
    9756 @@ -9326,11 +9821,20 @@
     11090@@ -9326,11 +10085,20 @@
    975711091        + make TIOCGWINSZ configure test less stringent, in case user
    975811092          configures via terminal that cannot get screen size.
     
    977811112 960418 - snapshot
    977911113        + use autoconf 2.9
    9780 @@ -9338,10 +9842,22 @@
     11114@@ -9338,10 +10106,22 @@
    978111115          definitions via <termios.h>, modified macros in lib_raw.c to avoid
    978211116          K&R-style substitution)
     
    980511139        + fixes for NeXT, ISC and HPUX auto-configure
    980611140diff -Naur ncurses-5.9.orig/README ncurses-5.9/README
    9807 --- ncurses-5.9.orig/README     2012-02-16 18:25:12.643809617 +0000
    9808 +++ ncurses-5.9/README  2012-02-16 18:25:12.915816795 +0000
     11141--- ncurses-5.9.orig/README     2012-08-25 19:57:59.409900901 +0000
     11142+++ ncurses-5.9/README  2012-08-25 19:58:02.303220551 +0000
    980911143@@ -1,5 +1,5 @@
    981011144 -------------------------------------------------------------------------------
    981111145--- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc.               --
    9812 +-- Copyright (c) 1998-2006,2011 Free Software Foundation, Inc.               --
     11146+-- Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.               --
    981311147 --                                                                           --
    981411148 -- Permission is hereby granted, free of charge, to any person obtaining a   --
     
    981911153 -------------------------------------------------------------------------------
    982011154--- $Id: README,v 1.23 2006/04/22 22:19:37 tom Exp $
    9821 +-- $Id: README,v 1.24 2011/08/20 16:47:16 tom Exp $
     11155+-- $Id: README,v 1.25 2012/08/11 20:11:26 tom Exp $
    982211156 -------------------------------------------------------------------------------
    982311157                README file for the ncurses package
    982411158 
    9825 @@ -153,8 +153,10 @@
     11159@@ -78,6 +78,10 @@
     11160 library interfaces are not binary-compatible with the non-wide-character
     11161 version.
     11162 
     11163+If you configure using the --enable-reentrant option, a "t" is appended to the
     11164+library names (e.g., libncursest.a) and the resulting libraries have a
     11165+different binary interface which makes the ncurses interface more "opaque".
     11166+
     11167 The ncurses libraries implement the curses API.  The panel, menu and forms
     11168 libraries implement clones of the SVr4 panel, menu and forms APIs.  The source
     11169 code for these lives in the `ncurses', `panel', `menu', and `form' directories
     11170@@ -122,8 +126,9 @@
     11171        tic             -- terminfo source to binary compiler
     11172        infocmp         -- terminfo binary to source decompiler/comparator
     11173        clear           -- emits clear-screen for current terminal
     11174+       tabs            -- set tabs on a terminal
     11175        tput            -- shell-script access to terminal capabilities.
     11176-       toe             -- table of entries utility
     11177+       toe             -- table of entries utility
     11178        tset            -- terminal-initialization utility
     11179 
     11180 The first two (tic and infocmp) are used for manipulating terminfo
     11181@@ -153,8 +158,10 @@
    982611182        configuration scripts, porting, mods to adhere to XSI Curses in the
    982711183        areas of background color, terminal modes.  Also memory leak testing,
     
    983711193        Beginning with release 4.2, ncurses is distributed under an MIT-style
    983811194diff -Naur ncurses-5.9.orig/README.MinGW ncurses-5.9/README.MinGW
    9839 --- ncurses-5.9.orig/README.MinGW       2012-02-16 18:25:12.623809091 +0000
    9840 +++ ncurses-5.9/README.MinGW    2012-02-16 18:25:13.187823972 +0000
     11195--- ncurses-5.9.orig/README.MinGW       2012-08-25 19:57:59.419900852 +0000
     11196+++ ncurses-5.9/README.MinGW    2012-08-25 19:58:00.359896408 +0000
    984111197@@ -1,5 +1,5 @@
    984211198 -------------------------------------------------------------------------------
     
    998611342 
    998711343diff -Naur ncurses-5.9.orig/aclocal.m4 ncurses-5.9/aclocal.m4
    9988 --- ncurses-5.9.orig/aclocal.m4 2012-02-16 18:25:12.627809197 +0000
    9989 +++ ncurses-5.9/aclocal.m4      2012-02-16 18:25:13.187823972 +0000
     11344--- ncurses-5.9.orig/aclocal.m4 2012-08-25 19:57:59.429900806 +0000
     11345+++ ncurses-5.9/aclocal.m4      2012-08-25 19:58:02.309887187 +0000
    999011346@@ -1,5 +1,5 @@
    999111347 dnl***************************************************************************
     
    1000011356 dnl
    1000111357-dnl $Id: aclocal.m4,v 1.553 2011/03/31 23:35:38 tom Exp $
    10002 +dnl $Id: aclocal.m4,v 1.604 2012/01/22 00:30:35 tom Exp $
     11358+dnl $Id: aclocal.m4,v 1.621 2012/08/11 23:36:44 tom Exp $
    1000311359 dnl Macros used in NCURSES auto-configuration script.
    1000411360 dnl
     
    1016611522 dnl ---------------------------------------------------------------------------
    1016711523 dnl CF_CHECK_CACHE version: 11 updated: 2008/03/23 14:45:59
    10168 @@ -908,7 +975,28 @@
     11524@@ -908,7 +975,61 @@
    1016911525 fi
    1017011526 ])])dnl
     
    1019211548+])dnl
    1019311549+dnl ---------------------------------------------------------------------------
     11550+dnl CF_CLANG_COMPILER version: 1 updated: 2012/06/16 14:55:39
     11551+dnl -----------------
     11552+dnl Check if the given compiler is really clang.  clang's C driver defines
     11553+dnl __GNUC__ (fooling the configure script into setting $GCC to yes) but does
     11554+dnl not ignore some gcc options.
     11555+dnl
     11556+dnl This macro should be run "soon" after AC_PROG_CC or AC_PROG_CPLUSPLUS, to
     11557+dnl ensure that it is not mistaken for gcc/g++.  It is normally invoked from
     11558+dnl the wrappers for gcc and g++ warnings.
     11559+dnl
     11560+dnl $1 = GCC (default) or GXX
     11561+dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS
     11562+dnl $3 = CFLAGS (default) or CXXFLAGS
     11563+AC_DEFUN([CF_CLANG_COMPILER],[
     11564+ifelse([$2],,CLANG_COMPILER,[$2])=no
     11565+
     11566+if test "$ifelse([$1],,[$1],GCC)" = yes ; then
     11567+       AC_MSG_CHECKING(if this is really Clang ifelse([$1],GXX,C++,C) compiler)
     11568+       cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])"
     11569+       ifelse([$3],,CFLAGS,[$3])="$ifelse([$3],,CFLAGS,[$3]) -Qunused-arguments"
     11570+       AC_TRY_COMPILE([],[
     11571+#ifdef __clang__
     11572+#else
     11573+make an error
     11574+#endif
     11575+],[ifelse([$2],,CLANG_COMPILER,[$2])=yes
     11576+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     11577+],[])
     11578+       ifelse([$3],,CFLAGS,[$3])="$cf_save_CFLAGS"
     11579+       AC_MSG_RESULT($ifelse([$2],,CLANG_COMPILER,[$2]))
     11580+fi
     11581+])
     11582+dnl ---------------------------------------------------------------------------
    1019411583+dnl CF_CPP_PARAM_INIT version: 5 updated: 2011/12/03 16:54:03
    1019511584 dnl -----------------
    1019611585 dnl Check if the C++ compiler accepts duplicate parameter initialization.  This
    1019711586 dnl is a late feature for the standard and is not in some recent compilers
    10198 @@ -932,7 +1020,7 @@
     11587@@ -932,7 +1053,7 @@
    1019911588 {
    1020011589        value = x;
     
    1020511594        [cf_cv_cpp_param_init=yes],
    1020611595        [cf_cv_cpp_param_init=no],
    10207 @@ -999,6 +1087,54 @@
     11596@@ -999,7 +1120,55 @@
    1020811597 test "$cf_cv_cpp_static_cast" = yes && AC_DEFINE(CPP_HAS_STATIC_CAST)
    1020911598 ])dnl
    1021011599 dnl ---------------------------------------------------------------------------
     11600-dnl CF_C_INLINE version: 3 updated: 2010/05/01 15:14:41
    1021111601+dnl CF_CXX_AR_FLAGS version: 1 updated: 2011/10/29 08:35:34
    1021211602+dnl ---------------
     
    1025711647+])dnl
    1025811648+dnl ---------------------------------------------------------------------------
    10259  dnl CF_C_INLINE version: 3 updated: 2010/05/01 15:14:41
     11649+dnl CF_C_INLINE version: 4 updated: 2012/06/16 14:55:39
    1026011650 dnl -----------
    1026111651 dnl Check if the C compiler supports "inline".
    10262 @@ -1123,6 +1259,31 @@
     11652 dnl $1 is the name of a shell variable to set if inline is supported
     11653@@ -1012,6 +1181,9 @@
     11654   if test "$INTEL_COMPILER" = yes
     11655   then
     11656     :
     11657+  elif test "$CLANG_COMPILER" = yes
     11658+  then
     11659+    :
     11660   elif test "$GCC" = yes
     11661   then
     11662     AC_CACHE_CHECK(if $CC supports options to tune inlining,cf_cv_gcc_inline,[
     11663@@ -1057,6 +1229,43 @@
     11664 AC_SUBST(DIRS_TO_MAKE)
     11665 ])dnl
     11666 dnl ---------------------------------------------------------------------------
     11667+dnl CF_DISABLE_ECHO version: 11 updated: 2009/12/13 13:16:57
     11668+dnl ---------------
     11669+dnl You can always use "make -n" to see the actual options, but it's hard to
     11670+dnl pick out/analyze warning messages when the compile-line is long.
     11671+dnl
     11672+dnl Sets:
     11673+dnl    ECHO_LT - symbol to control if libtool is verbose
     11674+dnl    ECHO_LD - symbol to prefix "cc -o" lines
     11675+dnl    RULE_CC - symbol to put before implicit "cc -c" lines (e.g., .c.o)
     11676+dnl    SHOW_CC - symbol to put before explicit "cc -c" lines
     11677+dnl    ECHO_CC - symbol to put before any "cc" line
     11678+dnl
     11679+AC_DEFUN([CF_DISABLE_ECHO],[
     11680+AC_MSG_CHECKING(if you want to see long compiling messages)
     11681+CF_ARG_DISABLE(echo,
     11682+       [  --disable-echo          display "compiling" commands],
     11683+       [
     11684+    ECHO_LT='--silent'
     11685+    ECHO_LD='@echo linking [$]@;'
     11686+    RULE_CC='@echo compiling [$]<'
     11687+    SHOW_CC='@echo compiling [$]@'
     11688+    ECHO_CC='@'
     11689+],[
     11690+    ECHO_LT=''
     11691+    ECHO_LD=''
     11692+    RULE_CC=''
     11693+    SHOW_CC=''
     11694+    ECHO_CC=''
     11695+])
     11696+AC_MSG_RESULT($enableval)
     11697+AC_SUBST(ECHO_LT)
     11698+AC_SUBST(ECHO_LD)
     11699+AC_SUBST(RULE_CC)
     11700+AC_SUBST(SHOW_CC)
     11701+AC_SUBST(ECHO_CC)
     11702+])dnl
     11703+dnl ---------------------------------------------------------------------------
     11704 dnl CF_DISABLE_LEAKS version: 6 updated: 2010/07/23 04:14:32
     11705 dnl ----------------
     11706 dnl Combine no-leak checks with the libraries or tools that are used for the
     11707@@ -1123,6 +1332,30 @@
    1026311708 fi
    1026411709 ])
    1026511710 dnl ---------------------------------------------------------------------------
    10266 +dnl CF_ENABLE_PC_FILES version: 7 updated: 2011/12/10 18:58:47
     11711+dnl CF_ENABLE_PC_FILES version: 9 updated: 2012/08/04 13:59:54
    1026711712+dnl ------------------
    1026811713+dnl This is the "--enable-pc-files" option, which is available if there is a
     
    1027311718+
    1027411719+if test "$PKG_CONFIG" != none ; then
    10275 +       if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
    10276 +               AC_MSG_CHECKING(if we should install .pc files for $PKG_CONFIG)
    10277 +               AC_ARG_ENABLE(pc-files,
    10278 +                       [  --enable-pc-files       generate and install .pc files for pkg-config],
    10279 +                       [enable_pc_files=$enableval],
    10280 +                       [enable_pc_files=no])
    10281 +               AC_MSG_RESULT($enable_pc_files)
    10282 +       elif test -z "$PKG_CONFIG_LIBDIR" || test "$PKG_CONFIG_LIBDIR" != no; then
    10283 +               enable_pc_files=no
    10284 +               AC_MSG_WARN(did not find $PKG_CONFIG library)
     11720+       AC_MSG_CHECKING(if we should install .pc files for $PKG_CONFIG)
     11721+       AC_ARG_ENABLE(pc-files,
     11722+               [  --enable-pc-files       generate and install .pc files for pkg-config],
     11723+               [enable_pc_files=$enableval],
     11724+               [enable_pc_files=no])
     11725+       AC_MSG_RESULT($enable_pc_files)
     11726+       if test "$enable_pc_files" != no
     11727+       then
     11728+               CF_PATH_SYNTAX(PKG_CONFIG_LIBDIR)
    1028511729+       fi
    1028611730+else
     
    1029211736 dnl ---------------
    1029311737 dnl Check if the rpath option should be used, setting cache variable
    10294 @@ -1145,7 +1306,7 @@
     11738@@ -1137,6 +1370,37 @@
     11739 AC_MSG_RESULT($cf_cv_enable_rpath)
     11740 ])dnl
     11741 dnl ---------------------------------------------------------------------------
     11742+dnl CF_ENABLE_STRING_HACKS version: 1 updated: 2012/02/25 06:33:21
     11743+dnl ----------------------
     11744+dnl On a few platforms, the compiler and/or loader nags with untruthful
     11745+dnl comments stating that "most" uses of strcat/strcpy/sprintf are incorrect,
     11746+dnl and implying that most uses of the recommended alternatives are correct.
     11747+dnl
     11748+dnl Factually speaking, no one has actually counted the number of uses of these
     11749+dnl functions versus the total of incorrect uses.  Samples of a few thousand
     11750+dnl instances are meaningless compared to the hundreds of millions of lines of
     11751+dnl existing C code.
     11752+dnl
     11753+dnl strlcat/strlcpy are (as of 2012) non-standard, and are available on some
     11754+dnl platforms, in implementations of varying quality.  Likewise, snprintf is
     11755+dnl standard - but evolved through phases, and older implementations are likely
     11756+dnl to yield surprising results, as documented in manpages on various systems.
     11757+AC_DEFUN([CF_ENABLE_STRING_HACKS],
     11758+[
     11759+AC_MSG_CHECKING(if you want to work around bogus compiler/loader warnings)
     11760+AC_ARG_ENABLE(string-hacks,
     11761+       [  --enable-string-hacks  work around bogus compiler/loader warnings],
     11762+       [with_string_hacks=$enableval],
     11763+       [with_string_hacks=no])
     11764+AC_MSG_RESULT($with_string_hacks)
     11765+
     11766+if test "x$with_string_hacks" = "xyes"; then
     11767+       AC_DEFINE(USE_STRING_HACKS)
     11768+       AC_MSG_WARN(enabling string-hacks to work around bogus compiler/loader warnings)
     11769+       AC_CHECK_FUNCS( strlcat strlcpy snprintf )
     11770+fi
     11771+])dnl
     11772+dnl ---------------------------------------------------------------------------
     11773 dnl CF_ERRNO version: 5 updated: 1997/11/30 12:44:39
     11774 dnl --------
     11775 dnl Check if 'errno' is declared in <errno.h>
     11776@@ -1145,7 +1409,7 @@
    1029511777 CF_CHECK_ERRNO(errno)
    1029611778 ])dnl
    1029711779 dnl ---------------------------------------------------------------------------
    1029811780-dnl CF_ETIP_DEFINES version: 3 updated: 2003/03/22 19:13:43
    10299 +dnl CF_ETIP_DEFINES version: 4 updated: 2011/12/03 16:54:03
     11781+dnl CF_ETIP_DEFINES version: 5 updated: 2012/02/18 17:51:07
    1030011782 dnl ---------------
    1030111783 dnl Test for conflicting definitions of exception in gcc 2.8.0, etc., between
    1030211784 dnl math.h and builtin.h, only for ncurses
    10303 @@ -1154,11 +1315,17 @@
     11785@@ -1154,11 +1418,17 @@
    1030411786 AC_MSG_CHECKING(for special defines needed for etip.h)
    1030511787 cf_save_CXXFLAGS="$CXXFLAGS"
     
    1032011802        test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}"
    1032111803 AC_TRY_COMPILE([
    10322 @@ -1769,6 +1936,29 @@
     11804@@ -1167,7 +1437,7 @@
     11805        test -n "$cf_math" && AC_DEFINE_UNQUOTED(ETIP_NEEDS_${cf_math})
     11806        test -n "$cf_excp" && AC_DEFINE_UNQUOTED(ETIP_NEEDS_${cf_excp})
     11807        cf_result="$cf_math $cf_excp"
     11808-       break
     11809+       break 2
     11810 ],[])
     11811 done
     11812 done
     11813@@ -1305,6 +1575,25 @@
     11814 fi
     11815 ])dnl
     11816 dnl ---------------------------------------------------------------------------
     11817+dnl CF_FIXUP_ADAFLAGS version: 1 updated: 2012/03/31 18:48:10
     11818+dnl -----------------
     11819+dnl make ADAFLAGS consistent with CFLAGS
     11820+AC_DEFUN([CF_FIXUP_ADAFLAGS],[
     11821+       AC_MSG_CHECKING(optimization options for ADAFLAGS)
     11822+       case "$CFLAGS" in
     11823+       *-g*)
     11824+               CF_ADD_ADAFLAGS(-g)
     11825+               ;;
     11826+       esac
     11827+       case "$CFLAGS" in
     11828+       *-O*)
     11829+               cf_O_flag=`echo "$CFLAGS" |sed -e 's/^.*-O/-O/' -e 's/[[        ]].*//'`
     11830+               CF_ADD_ADAFLAGS($cf_O_flag)
     11831+               ;;
     11832+       esac
     11833+       AC_MSG_RESULT($ADAFLAGS)
     11834+])dnl
     11835+dnl ---------------------------------------------------------------------------
     11836 dnl CF_FUNC_DLSYM version: 2 updated: 2010/05/29 16:31:02
     11837 dnl -------------
     11838 dnl Test for dlsym() and related functions, as well as libdl.
     11839@@ -1433,14 +1722,17 @@
     11840 ])
     11841 ])dnl
     11842 dnl ---------------------------------------------------------------------------
     11843-dnl CF_FUNC_POLL version: 4 updated: 2006/12/16 12:33:30
     11844+dnl CF_FUNC_POLL version: 7 updated: 2012/06/09 16:22:17
     11845 dnl ------------
     11846 dnl See if the poll function really works.  Some platforms have poll(), but
     11847 dnl it does not work for terminals or files.
     11848 AC_DEFUN([CF_FUNC_POLL],[
     11849 AC_CACHE_CHECK(if poll really works,cf_cv_working_poll,[
     11850 AC_TRY_RUN([
     11851+#include <stdlib.h>
     11852 #include <stdio.h>
     11853+#include <unistd.h>
     11854+#include <fcntl.h>
     11855 #ifdef HAVE_POLL_H
     11856 #include <poll.h>
     11857 #else
     11858@@ -1450,11 +1742,34 @@
     11859        struct pollfd myfds;
     11860        int ret;
     11861 
     11862-       myfds.fd = 0;
     11863+       /* check for Darwin bug with respect to "devices" */
     11864+       myfds.fd = open("/dev/null", 1);        /* O_WRONLY */
     11865+       if (myfds.fd < 0)
     11866+               myfds.fd = 0;
     11867        myfds.events = POLLIN;
     11868+       myfds.revents = 0;
     11869 
     11870        ret = poll(&myfds, 1, 100);
     11871-       ${cf_cv_main_return:-return}(ret != 0);
     11872+
     11873+       if (ret < 0 || (myfds.revents & POLLNVAL)) {
     11874+               ret = -1;
     11875+       } else {
     11876+               int fd = 0;
     11877+               if (!isatty(fd)) {
     11878+                       fd = open("/dev/tty", 2);       /* O_RDWR */
     11879+               }
     11880+
     11881+               if (fd >= 0) {
     11882+                       /* also check with standard input */
     11883+                       myfds.fd = fd;
     11884+                       myfds.events = POLLIN;
     11885+                       myfds.revents = 0;
     11886+                       ret = poll(&myfds, 1, 100);
     11887+               } else {
     11888+                       ret = -1;
     11889+               }
     11890+       }
     11891+       ${cf_cv_main_return:-return}(ret < 0);
     11892 }],
     11893        [cf_cv_working_poll=yes],
     11894        [cf_cv_working_poll=no],
     11895@@ -1660,7 +1975,7 @@
     11896 fi
     11897 ])dnl
     11898 dnl ---------------------------------------------------------------------------
     11899-dnl CF_GCC_WARNINGS version: 27 updated: 2010/10/23 15:52:32
     11900+dnl CF_GCC_WARNINGS version: 29 updated: 2012/06/16 14:55:39
     11901 dnl ---------------
     11902 dnl Check if the compiler supports useful warning options.  There's a few that
     11903 dnl we don't use, simply because they're too noisy:
     11904@@ -1683,6 +1998,7 @@
     11905 [
     11906 AC_REQUIRE([CF_GCC_VERSION])
     11907 CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS)
     11908+CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS)
     11909 
     11910 cat > conftest.$ac_ext <<EOF
     11911 #line __oline__ "${as_me:-configure}"
     11912@@ -1758,6 +2074,13 @@
     11913                                        continue;;
     11914                                esac
     11915                                ;;
     11916+                       Wpointer-arith) #(vi
     11917+                               case $GCC_VERSION in
     11918+                               [[12]].*)
     11919+                                       CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
     11920+                                       continue;;
     11921+                               esac
     11922+                               ;;
     11923                        esac
     11924                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
     11925                fi
     11926@@ -1769,6 +2092,29 @@
    1032311927 AC_SUBST(EXTRA_CFLAGS)
    1032411928 ])dnl
     
    1035011954 dnl ----------------
    1035111955 AC_DEFUN([CF_GNAT_GENERICS],
    10352 @@ -2040,7 +2230,7 @@
     11956@@ -2040,7 +2386,7 @@
    1035311957 rm -rf conftest* *~conftest*
    1035411958 ])dnl
     
    1035911963 dnl Verify version of GNAT.
    1036011964 AC_DEFUN([CF_GNAT_VERSION],
    10361 @@ -2052,7 +2242,7 @@
     11965@@ -2052,7 +2398,7 @@
    1036211966 AC_MSG_RESULT($cf_gnat_version)
    1036311967 
     
    1036811972        ;;
    1036911973 *)
    10370 @@ -2581,7 +2771,7 @@
     11974@@ -2136,21 +2482,21 @@
     11975 fi
     11976 ])dnl
     11977 dnl ---------------------------------------------------------------------------
     11978-dnl CF_GXX_VERSION version: 6 updated: 2010/10/23 15:44:18
     11979+dnl CF_GXX_VERSION version: 7 updated: 2012/06/16 14:55:39
     11980 dnl --------------
     11981 dnl Check for version of g++
     11982 AC_DEFUN([CF_GXX_VERSION],[
     11983 AC_REQUIRE([AC_PROG_CPP])
     11984 GXX_VERSION=none
     11985 if test "$GXX" = yes; then
     11986-       AC_MSG_CHECKING(version of g++)
     11987+       AC_MSG_CHECKING(version of ${CXX:-g++})
     11988        GXX_VERSION="`${CXX:-g++} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
     11989        test -z "$GXX_VERSION" && GXX_VERSION=unknown
     11990        AC_MSG_RESULT($GXX_VERSION)
     11991 fi
     11992 ])dnl
     11993 dnl ---------------------------------------------------------------------------
     11994-dnl CF_GXX_WARNINGS version: 6 updated: 2010/08/14 18:25:37
     11995+dnl CF_GXX_WARNINGS version: 7 updated: 2012/06/16 14:55:39
     11996 dnl ---------------
     11997 dnl Check if the compiler supports useful warning options.
     11998 dnl
     11999@@ -2173,6 +2519,7 @@
     12000 [
     12001 
     12002 CF_INTEL_COMPILER(GXX,INTEL_CPLUSPLUS,CXXFLAGS)
     12003+CF_CLANG_COMPILER(GXX,CLANG_CPLUSPLUS,CXXFLAGS)
     12004 
     12005 AC_REQUIRE([CF_GXX_VERSION])
     12006 
     12007@@ -2581,7 +2928,7 @@
    1037112008 ])
    1037212009 ])
     
    1037712014 dnl Check for compiler/linker flags used to temporarily force usage of static
    1037812015 dnl libraries.  This depends on the compiler and platform.  Use this to help
    10379 @@ -2602,7 +2792,7 @@
     12016@@ -2602,7 +2949,7 @@
    1038012017     esac
    1038112018 else
     
    1038612023                LDFLAGS_SHARED=-bdynamic
    1038712024                ;;
    10388 @@ -2652,7 +2842,17 @@
     12025@@ -2652,7 +2999,17 @@
    1038912026 int cf_ldflags_static(FILE *fp);
    1039012027 ],[
     
    1040512042        rm -f libconftest.*
    1040612043        LIBS="$cf_save_LIBS"
    10407 @@ -2673,7 +2873,7 @@
     12044@@ -2673,7 +3030,7 @@
    1040812045 AC_SUBST(LDFLAGS_SHARED)
    1040912046 ])
     
    1041412051 dnl For the given system and compiler, find the compiler flags to pass to the
    1041512052 dnl loader to use the "rpath" feature.
    10416 @@ -2694,10 +2894,10 @@
     12053@@ -2694,10 +3051,10 @@
    1041712054 linux*|gnu*|k*bsd*-gnu) #(vi
    1041812055        LD_RPATH_OPT="-Wl,-rpath,"
     
    1042712064        ;;
    1042812065 netbsd*) #(vi
    10429 @@ -2756,11 +2956,11 @@
     12066@@ -2756,11 +3113,11 @@
    1043012067 $1="$cf_library_path_list [$]$1"
    1043112068 ])dnl
     
    1044112078        case $cf_cv_system_name in #(vi
    1044212079        OS/2*|os2*) #(vi
    10443 @@ -2773,7 +2973,7 @@
     12080@@ -2773,7 +3130,7 @@
    1044412081        AC_SUBST(LIB_PREFIX)
    1044512082 ])dnl
    1044612083 dnl ---------------------------------------------------------------------------
    1044712084-dnl CF_LIB_RULES version: 61 updated: 2010/10/23 16:10:30
    10448 +dnl CF_LIB_RULES version: 63 updated: 2012/01/21 19:28:10
     12085+dnl CF_LIB_RULES version: 65 updated: 2012/06/30 17:25:25
    1044912086 dnl ------------
    1045012087 dnl Append definitions and rules for the given models to the subdirectory
    1045112088 dnl Makefiles, and the recursion rule for the top-level Makefile.  If the
    10452 @@ -2788,7 +2988,7 @@
     12089@@ -2788,13 +3145,15 @@
    1045312090 dnl    lib<name>.so.<maj>.<minor>
    1045412091 AC_DEFUN([CF_LIB_RULES],
     
    1045812095 AC_REQUIRE([CF_SUBST_NCURSES_VERSION])
    1045912096 
    10460  if test $cf_cv_shlib_version = cygdll ; then
    10461 @@ -3010,6 +3210,7 @@
     12097-if test $cf_cv_shlib_version = cygdll ; then
     12098+case $cf_cv_shlib_version in #(vi
     12099+cygdll|mingw)
     12100        TINFO_NAME=$TINFO_ARG_SUFFIX
     12101        TINFO_SUFFIX=.dll
     12102-fi
     12103+       ;;
     12104+esac
     12105 
     12106 if test -n "$TINFO_SUFFIX" ; then
     12107        case $TINFO_SUFFIX in
     12108@@ -2880,11 +3239,18 @@
     12109                        # cygwin needs import library, and has unique naming convention
     12110                        # use autodetected ${cf_prefix} for import lib and static lib, but
     12111                        # use 'cyg' prefix for shared lib.
     12112-                       if test $cf_cv_shlib_version = cygdll ; then
     12113+                       case $cf_cv_shlib_version in #(vi
     12114+                       cygdll) #(vi
     12115                                cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
     12116                                LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/cyg${cf_dir}${cf_cygsuf}"
     12117                                continue
     12118-                       fi
     12119+                               ;;
     12120+                       mingw)
     12121+                               cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
     12122+                               LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/lib${cf_dir}${cf_cygsuf}"
     12123+                               continue
     12124+                               ;;
     12125+                       esac
     12126                        fi
     12127                        LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/${cf_prefix}${cf_dir}${cf_suffix}"
     12128                done
     12129@@ -2928,7 +3294,7 @@
     12130                mv $cf_dir/Makefile.out $cf_dir/Makefile
     12131 
     12132                $AWK -f $srcdir/mk-0th.awk \
     12133-                       libname="${cf_dir}${LIB_SUFFIX}" subsets="$LIB_SUBSETS" \
     12134+                       libname="${cf_dir}${LIB_SUFFIX}" subsets="$LIB_SUBSETS" ticlib="$TICS_LIB_SUFFIX" termlib="$TINFO_LIB_SUFFIX" \
     12135                        $srcdir/$cf_dir/modules >>$cf_dir/Makefile
     12136 
     12137                for cf_subset in $cf_subsets
     12138@@ -3010,6 +3376,7 @@
    1046212139                                prefix=$cf_prefix \
    1046312140                                suffix=$cf_suffix \
     
    1046712144                                TermlibRoot=$TINFO_NAME \
    1046812145                                TermlibSuffix=$TINFO_SUFFIX \
    10469 @@ -3292,7 +3493,7 @@
     12146@@ -3292,7 +3659,7 @@
    1047012147 ])
    1047112148 ])
    1047212149 dnl ---------------------------------------------------------------------------
    1047312150-dnl CF_LIB_SUFFIX version: 16 updated: 2008/12/27 12:30:03
    10474 +dnl CF_LIB_SUFFIX version: 17 updated: 2011/07/02 15:36:04
     12151+dnl CF_LIB_SUFFIX version: 18 updated: 2012/02/25 15:20:07
    1047512152 dnl -------------
    1047612153 dnl Compute the library file-suffix from the given model name
    1047712154 dnl $1 = model name
    10478 @@ -3321,7 +3522,7 @@
     12155@@ -3321,11 +3688,11 @@
    1047912156                ;;
    1048012157        shared) #(vi
     
    1048512162                        $3=[$]$2
    1048612163                        ;;
    10487 @@ -3799,7 +4000,7 @@
     12164-               cygwin*) #(vi
     12165+               cygwin*|mingw*) #(vi
     12166                        $2='.dll'
     12167                        $3='.dll.a'
     12168                        ;;
     12169@@ -3799,7 +4166,7 @@
    1048812170 AC_MSG_RESULT($MANPAGE_TBL)
    1048912171 ])dnl
    1049012172 dnl ---------------------------------------------------------------------------
    1049112173-dnl CF_MAN_PAGES version: 39 updated: 2010/10/23 15:44:18
    10492 +dnl CF_MAN_PAGES version: 40 updated: 2011/09/10 16:20:21
     12174+dnl CF_MAN_PAGES version: 41 updated: 2012/08/11 19:35:44
    1049312175 dnl ------------
    1049412176 dnl Try to determine if the man-pages on the system are compressed, and if
    1049512177 dnl so, what format is used.  Use this information to construct a script that
    10496 @@ -3949,7 +4150,9 @@
     12178@@ -3856,6 +4223,7 @@
     12179 # this script is generated by the configure-script CF_MAN_PAGES macro.
     12180 
     12181 prefix="$cf_prefix"
     12182+datarootdir="$datarootdir"
     12183 datadir="$datadir"
     12184 
     12185 NCURSES_MAJOR="$NCURSES_MAJOR"
     12186@@ -3949,7 +4317,9 @@
    1049712187 
    1049812188 if test "$MANPAGE_ALIASES" != no ; then
     
    1050512195 fi
    1050612196 
    10507 @@ -3995,6 +4198,13 @@
     12197@@ -3995,6 +4365,13 @@
    1050812198 fi
    1050912199 CF_EOF
     
    1051912209 cat >>$cf_edit_man <<CF_EOF
    1052012210        sed -e "/\#[    ]*include/s,curses.h,ncurses.h," < \$TMP >\$TMP.out
    10521 @@ -4376,7 +4586,7 @@
     12211@@ -4184,7 +4561,7 @@
     12212 test "$cf_cv_mixedcase" = yes && AC_DEFINE(MIXEDCASE_FILENAMES)
     12213 ])dnl
     12214 dnl ---------------------------------------------------------------------------
     12215-dnl CF_MKSTEMP version: 7 updated: 2010/08/14 18:25:37
     12216+dnl CF_MKSTEMP version: 8 updated: 2012/02/13 20:34:56
     12217 dnl ----------
     12218 dnl Check for a working mkstemp.  This creates two files, checks that they are
     12219 dnl successfully created and distinct (AmigaOS apparently fails on the last).
     12220@@ -4226,9 +4603,11 @@
     12221 }
     12222 ],[cf_cv_func_mkstemp=yes
     12223 ],[cf_cv_func_mkstemp=no
     12224-],[AC_CHECK_FUNC(mkstemp)
     12225-])
     12226+],[cf_cv_func_mkstemp=maybe])
     12227 ])
     12228+if test "x$cf_cv_func_mkstemp" = xmaybe ; then
     12229+       AC_CHECK_FUNC(mkstemp)
     12230+fi
     12231 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then
     12232        AC_DEFINE(HAVE_MKSTEMP)
     12233 fi
     12234@@ -4339,7 +4718,7 @@
     12235        AC_SUBST(PATH_SEPARATOR)
     12236 ])dnl
     12237 dnl ---------------------------------------------------------------------------
     12238-dnl CF_PATH_SYNTAX version: 13 updated: 2010/05/26 05:38:42
     12239+dnl CF_PATH_SYNTAX version: 14 updated: 2012/06/19 20:58:54
     12240 dnl --------------
     12241 dnl Check the argument to see that it looks like a pathname.  Rewrite it if it
     12242 dnl begins with one of the prefix/exec_prefix variables, and then again if the
     12243@@ -4359,7 +4738,7 @@
     12244   ;;
     12245 .[[a-zA-Z]]:[[\\/]]*) #(vi OS/2 EMX
     12246   ;;
     12247-.\[$]{*prefix}*) #(vi
     12248+.\[$]{*prefix}*|.\[$]{*dir}*) #(vi
     12249   eval $1="[$]$1"
     12250   case ".[$]$1" in #(vi
     12251   .NONE/*)
     12252@@ -4376,7 +4755,7 @@
    1052212253 esac
    1052312254 ])dnl
     
    1052812259 dnl Check for the package-config program, unless disabled by command-line.
    1052912260 AC_DEFUN([CF_PKG_CONFIG],
    10530 @@ -4393,7 +4603,9 @@
     12261@@ -4393,7 +4772,9 @@
    1053112262        PKG_CONFIG=none
    1053212263        ;;
     
    1053912270 *)
    1054012271        PKG_CONFIG=$withval
    10541 @@ -4658,7 +4870,7 @@
     12272@@ -4658,7 +5039,7 @@
    1054212273 test -n "$PROG_EXT" && AC_DEFINE_UNQUOTED(PROG_EXT,"$PROG_EXT")
    1054312274 ])dnl
     
    1054812279 dnl Check for gnatmake, ensure that it is complete.
    1054912280 AC_DEFUN([CF_PROG_GNAT],[
    10550 @@ -4666,6 +4878,7 @@
     12281@@ -4666,6 +5047,7 @@
    1055112282 AC_CHECK_PROG(gnat_exists, $cf_ada_make, yes, no)
    1055212283 if test "$ac_cv_prog_gnat_exists" = no; then
     
    1055612287    CF_GNAT_VERSION
    1055712288    AC_CHECK_PROG(M4_exists, m4, yes, no)
    10558 @@ -4709,7 +4922,7 @@
     12289@@ -4709,7 +5091,7 @@
    1055912290 esac
    1056012291 ])dnl
     
    1056512296 dnl Check for ldconfig, needed to fixup shared libraries that would be built
    1056612297 dnl and then used in the install.
    10567 @@ -4718,7 +4931,7 @@
     12298@@ -4718,7 +5100,7 @@
    1056812299   LDCONFIG=:
    1056912300 else
     
    1057412305   ;;
    1057512306 *) LDPATH=$PATH:/sbin:/usr/sbin
    10576 @@ -4759,7 +4972,7 @@
     12307@@ -4759,7 +5141,7 @@
    1057712308 test "$cf_prog_ln_sf" = yes && LN_S="$LN_S -f"
    1057812309 ])dnl
     
    1058312314 dnl Attempt to determine if we've got one of the flavors of regular-expression
    1058412315 dnl code that we can support.
    10585 @@ -4771,7 +4984,7 @@
     12316@@ -4771,7 +5153,7 @@
    1058612317 cf_regex_libs="regex re"
    1058712318 case $host_os in #(vi
     
    1059212323 esac
    1059312324 
    10594 @@ -4984,7 +5197,7 @@
     12325@@ -4984,7 +5366,7 @@
    1059512326 AC_SUBST(EXTRA_LDFLAGS)
    1059612327 ])dnl
    1059712328 dnl ---------------------------------------------------------------------------
    1059812329-dnl CF_SHARED_OPTS version: 64 updated: 2010/06/05 16:51:16
    10599 +dnl CF_SHARED_OPTS version: 69 updated: 2011/07/30 19:31:39
     12330+dnl CF_SHARED_OPTS version: 70 updated: 2012/02/25 15:20:07
    1060012331 dnl --------------
    1060112332 dnl --------------
    1060212333 dnl Attempt to determine the appropriate CC/LD options for creating a shared
    10603 @@ -5059,10 +5272,14 @@
     12334@@ -5059,10 +5441,14 @@
    1060412335        cf_cv_shlib_version_infix=no
    1060512336 
     
    1061812349                ;;
    1061912350        beos*) #(vi
    10620 @@ -5115,9 +5332,19 @@
     12351@@ -5115,9 +5501,19 @@
    1062112352                # readonly to exploit a quirk in the memory manager.
    1062212353                INSTALL_LIB="-m 555"
     
    1063912370                # tested with IRIX 5.2 and 'cc'.
    1064012371                if test "$GCC" != yes; then
    10641 @@ -5134,18 +5361,18 @@
     12372@@ -5134,18 +5530,39 @@
    1064212373                        LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
    1064312374                fi
     
    1065012381                ;;
    1065112382-       openbsd[[2-9]].*) #(vi
     12383+       mingw*) #(vi
     12384+               cf_cv_shlib_version=mingw
     12385+               cf_cv_shlib_version_infix=mingw
     12386+               CC_SHARED_OPTS=
     12387+               MK_SHARED_LIB='sh ../mk_shared_lib.sh [$]@ [$]{CC} [$]{CFLAGS}'
     12388+               #MK_SHARED_LIB='${CC} ${CFLAGS} -mdll -Wl,-soname,'$cf_cv_shared_soname',-stats -o $[@]'
     12389+               #MK_SHARED_LIB='${DLLTOOL} --export-all-symbols --output-exp --output-lib $[@]'
     12390+               cat >mk_shared_lib.sh <<-CF_EOF
     12391+               #!/bin/sh
     12392+               SHARED_LIB=\[$]1
     12393+               IMPORT_LIB=\`echo "\[$]1" | sed -e 's/[[0-9]]*\.dll[$]/.dll.a/'\`
     12394+               shift
     12395+               cat <<-EOF
     12396+               Linking shared library
     12397+               ** SHARED_LIB \[$]SHARED_LIB
     12398+               ** IMPORT_LIB \[$]IMPORT_LIB
     12399+EOF
     12400+               exec \[$]* -shared -Wl,--out-implib=../lib/\[$]{IMPORT_LIB} -Wl,--export-all-symbols -o ../lib/\[$]{SHARED_LIB}
     12401+CF_EOF
     12402+               chmod +x mk_shared_lib.sh
     12403+               ;;
    1065212404+       openbsd[[2-9]].*|mirbsd*) #(vi
    1065312405                if test "$DFT_LWR_MODEL" = "shared" ; then
     
    1066112413                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
    1066212414                CF_SHARED_SONAME
    10663 @@ -5156,12 +5383,12 @@
     12415@@ -5156,12 +5573,12 @@
    1066412416                MK_SHARED_LIB='${LD} -Bshareable -o $[@]'
    1066512417                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
     
    1067712429                CF_SHARED_SONAME
    1067812430                MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]'
    10679 @@ -5171,7 +5398,7 @@
     12431@@ -5171,7 +5588,7 @@
    1068012432                if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then
    1068112433                        LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)"
     
    1068612438                        if test -f /usr/libexec/ld.elf_so; then
    1068712439                                cf_cv_shlib_version=abi
    10688 @@ -5276,9 +5503,9 @@
     12440@@ -5276,9 +5693,12 @@
    1068912441                ;;
    1069012442        esac
     
    1069612448+       test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}"
    1069712449+       test -z "$RPATH_LIST" && RPATH_LIST="\${libdir}"
     12450+
     12451+       CF_VERBOSE(CC_SHARED_OPTS: $CC_SHARED_OPTS)
     12452+       CF_VERBOSE(MK_SHARED_LIB:  $MK_SHARED_LIB)
    1069812453 
    1069912454        AC_SUBST(CC_SHARED_OPTS)
    1070012455        AC_SUBST(LD_RPATH_OPT)
    10701 @@ -5290,6 +5517,7 @@
     12456@@ -5290,6 +5710,7 @@
    1070212457        AC_SUBST(LOCAL_LDFLAGS)
    1070312458        AC_SUBST(LOCAL_LDFLAGS2)
     
    1070712462 dnl ---------------------------------------------------------------------------
    1070812463 dnl CF_SHARED_SONAME version: 3 updated: 2008/09/08 18:34:43
    10709 @@ -5474,7 +5702,7 @@
     12464@@ -5474,7 +5895,7 @@
    1071012465 fi
    1071112466 ])dnl
     
    1071612471 dnl For each parameter, test if the source-directory exists, and if it contains
    1071712472 dnl a 'modules' file.  If so, add to the list $cf_cv_src_modules which we'll
    10718 @@ -5497,6 +5725,7 @@
     12473@@ -5497,6 +5918,7 @@
    1071912474        TEST_ARG2="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARG2"
    1072012475 fi
     
    1072412479 for cf_dir in $1
    1072512480 do
    10726 @@ -5535,6 +5764,7 @@
     12481@@ -5535,6 +5957,7 @@
    1072712482                                TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS"
    1072812483                                TEST_ARG2="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARG2"
     
    1073212487        fi
    1073312488 done
    10734 @@ -5562,10 +5792,18 @@
     12489@@ -5562,10 +5985,18 @@
    1073512490        SRC_SUBDIRS="$SRC_SUBDIRS test"
    1073612491 fi
     
    1075312508        ADA_SUBDIRS="gen src"
    1075412509        if test "x$cf_with_tests" != "xno" ; then
    10755 @@ -5624,13 +5862,13 @@
     12510@@ -5624,13 +6055,13 @@
    1075612511 AC_DEFUN([CF_STRIP_G_OPT],
    1075712512 [$1=`echo ${$1} | sed -e 's%-g %%' -e 's%-g$%%'`])dnl
     
    1077012525 AC_MSG_CHECKING(whether sigaction needs _POSIX_SOURCE)
    1077112526 AC_TRY_COMPILE([
    10772 @@ -5645,22 +5883,24 @@
     12527@@ -5645,22 +6076,24 @@
    1077312528 #include <signal.h>],
    1077412529        [struct sigaction act],
     
    1079812553        AC_CHECK_HEADERS( sys/termio.h )
    1079912554 fi
    10800 @@ -5680,7 +5920,7 @@
     12555@@ -5680,7 +6113,7 @@
    1080112556 #include <termios.h>],
    1080212557                        [struct termios foo; int x = foo.c_iflag],
     
    1080712562        AC_MSG_RESULT($termios_bad)
    1080812563        fi
    10809 @@ -5798,6 +6038,45 @@
     12564@@ -5798,6 +6231,45 @@
    1081012565 AC_SUBST(top_builddir)
    1081112566 ])dnl
     
    1085312608 dnl ----------------
    1085412609 dnl Determine the type we should use for chtype (and attr_t, which is treated
    10855 @@ -6182,7 +6461,7 @@
     12610@@ -6182,7 +6654,7 @@
    1085612611 fi
    1085712612 ])
     
    1086212617 dnl Provide a configure option to incorporate libtool.  Define several useful
    1086312618 dnl symbols for the makefile rules.
    10864 @@ -6258,7 +6537,7 @@
     12619@@ -6258,7 +6730,7 @@
    1086512620                AC_MSG_ERROR(Cannot find libtool)
    1086612621        fi
     
    1087112626        LIB_SUFFIX=.la
    1087212627        LIB_CLEAN='${LIBTOOL} --mode=clean'
    10873 @@ -6283,7 +6562,7 @@
     12628@@ -6283,7 +6755,7 @@
    1087412629        # special hack to add -no-undefined (which libtool should do for itself)
    1087512630        LT_UNDEF=
     
    1088012635                ;;
    1088112636        esac
    10882 @@ -6323,6 +6602,32 @@
     12637@@ -6323,6 +6795,32 @@
    1088312638 
    1088412639 ])dnl
     
    1091312668 dnl ------------
    1091412669 dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just
    10915 @@ -6386,7 +6691,50 @@
     12670@@ -6386,7 +6884,50 @@
    1091612671 
    1091712672 ])dnl
     
    1096512720 dnl Check for POSIX thread library.
    1096612721 AC_DEFUN([CF_WITH_PTHREAD],
    10967 @@ -6402,23 +6750,28 @@
     12722@@ -6402,23 +6943,28 @@
    1096812723     AC_CHECK_HEADER(pthread.h,[
    1096912724         AC_DEFINE(HAVE_PTHREADS_H)
     
    1100712762 fi
    1100812763 ])
    11009 @@ -6486,7 +6839,7 @@
     12764@@ -6486,7 +7032,7 @@
    1101012765        [USE_VALGRIND])
    1101112766 ])dnl
     
    1101612771 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
    1101712772 dnl or adapt to the vendor's definitions to get equivalent functionality,
    11018 @@ -6502,7 +6855,7 @@
     12773@@ -6502,7 +7048,7 @@
    1101912774 cf_xopen_source=
    1102012775 
     
    1102512780        ;;
    1102612781 cygwin) #(vi
    11027 @@ -6513,6 +6866,7 @@
     12782@@ -6513,6 +7059,7 @@
    1102812783        ;;
    1102912784 darwin*) #(vi
     
    1103312788 freebsd*|dragonfly*) #(vi
    1103412789        # 5.x headers associate
    11035 @@ -6530,15 +6884,23 @@
     12790@@ -6530,15 +7077,23 @@
    1103612791        ;;
    1103712792 irix[[56]].*) #(vi
     
    1105912814 openbsd*) #(vi
    1106012815        # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
    11061 @@ -6552,36 +6914,11 @@
     12816@@ -6552,36 +7107,11 @@
    1106212817 sco*) #(vi
    1106312818        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
     
    1109812853        ;;
    1109912854 esac
    11100 @@ -6589,4 +6926,33 @@
     12855@@ -6589,4 +7119,33 @@
    1110112856 if test -n "$cf_xopen_source" ; then
    1110212857        CF_ADD_CFLAGS($cf_xopen_source)
     
    1113312888 ])
    1113412889diff -Naur ncurses-5.9.orig/announce.html.in ncurses-5.9/announce.html.in
    11135 --- ncurses-5.9.orig/announce.html.in   2012-02-16 18:25:12.639809512 +0000
    11136 +++ ncurses-5.9/announce.html.in        2012-02-16 18:25:12.919816901 +0000
     12890--- ncurses-5.9.orig/announce.html.in   2012-08-25 19:57:59.399900947 +0000
     12891+++ ncurses-5.9/announce.html.in        2012-08-25 19:57:59.893231947 +0000
    1113712892@@ -1,6 +1,6 @@
    1113812893 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     
    1122012975   <ul>
    1122112976diff -Naur ncurses-5.9.orig/c++/Makefile.in ncurses-5.9/c++/Makefile.in
    11222 --- ncurses-5.9.orig/c++/Makefile.in    2012-02-16 18:25:12.643809617 +0000
    11223 +++ ncurses-5.9/c++/Makefile.in 2012-02-16 18:25:12.919816901 +0000
     12977--- ncurses-5.9.orig/c++/Makefile.in    2012-08-25 19:57:59.426567488 +0000
     12978+++ ncurses-5.9/c++/Makefile.in 2012-08-25 19:58:01.013226651 +0000
    1122412979@@ -1,6 +1,6 @@
    1122512980-# $Id: Makefile.in,v 1.93 2010/11/27 21:45:27 tom Exp $
    11226 +# $Id: Makefile.in,v 1.95 2011/07/30 22:52:07 tom Exp $
     12981+# $Id: Makefile.in,v 1.96 2012/03/17 16:45:38 tom Exp $
    1122712982 ##############################################################################
    1122812983-# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
    11229 +# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     12984+# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
    1123012985 #                                                                            #
    1123112986 # Permission is hereby granted, free of charge, to any person obtaining a    #
     
    1124813003 OBJS_DEMO = $(MODEL)/demo$o
    1124913004 
     13005@@ -179,7 +180,7 @@
     13006 demo$x:        $(OBJS_DEMO) \
     13007        $(MY_LIBRARY)  \
     13008        @TEST_DEPS@
     13009-       @ECHO_LINK@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
     13010+       @ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
     13011 
     13012 etip.h:        $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
     13013        cp $(srcdir)/etip.h.in $@
    1125013014diff -Naur ncurses-5.9.orig/c++/cursesapp.h ncurses-5.9/c++/cursesapp.h
    11251 --- ncurses-5.9.orig/c++/cursesapp.h    2012-02-16 18:25:12.643809617 +0000
    11252 +++ ncurses-5.9/c++/cursesapp.h 2012-02-16 18:25:12.919816901 +0000
     13015--- ncurses-5.9.orig/c++/cursesapp.h    2012-08-25 19:57:59.423234170 +0000
     13016+++ ncurses-5.9/c++/cursesapp.h 2012-08-25 19:57:59.893231947 +0000
    1125313017@@ -1,6 +1,6 @@
    1125413018 // * This makes emacs happy -*-Mode: C++;-*-
     
    1133113095 };
    1133213096diff -Naur ncurses-5.9.orig/c++/cursesf.cc ncurses-5.9/c++/cursesf.cc
    11333 --- ncurses-5.9.orig/c++/cursesf.cc     2012-02-16 18:25:12.639809512 +0000
    11334 +++ ncurses-5.9/c++/cursesf.cc  2012-02-16 18:25:12.919816901 +0000
     13097--- ncurses-5.9.orig/c++/cursesf.cc     2012-08-25 19:57:59.426567488 +0000
     13098+++ ncurses-5.9/c++/cursesf.cc  2012-08-25 19:57:59.896565265 +0000
    1133513099@@ -1,6 +1,6 @@
    1133613100 // * this is for making emacs happy: -*-Mode: C++;-*-
     
    1140913173   UserDefinedFieldType_With_Choice* udf =
    1141013174diff -Naur ncurses-5.9.orig/c++/cursesf.h ncurses-5.9/c++/cursesf.h
    11411 --- ncurses-5.9.orig/c++/cursesf.h      2012-02-16 18:25:12.643809617 +0000
    11412 +++ ncurses-5.9/c++/cursesf.h   2012-02-16 18:25:12.919816901 +0000
     13175--- ncurses-5.9.orig/c++/cursesf.h      2012-08-25 19:57:59.423234170 +0000
     13176+++ ncurses-5.9/c++/cursesf.h   2012-08-25 19:58:01.569890686 +0000
    1141313177@@ -1,6 +1,6 @@
    1141413178 // * This makes emacs happy -*-Mode: C++;-*-
    1141513179 /****************************************************************************
    1141613180- * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc.              *
    11417 + * Copyright (c) 1998-2005,2011 Free Software Foundation, Inc.              *
     13181+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    1141813182  *                                                                          *
    1141913183  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    1142413188 
    1142513189-// $Id: cursesf.h,v 1.28 2005/08/13 18:08:24 tom Exp $
    11426 +// $Id: cursesf.h,v 1.29 2011/04/09 18:07:01 Alexander.Kolesen Exp $
     13190+// $Id: cursesf.h,v 1.30 2012/06/08 17:43:56 Richard.Yao Exp $
    1142713191 
    1142813192 #ifndef NCURSES_CURSESF_H_incl
    1142913193 #define NCURSES_CURSESF_H_incl 1
    11430 @@ -681,7 +681,7 @@
     13194@@ -677,7 +677,7 @@
     13195   }
     13196 
     13197 public:
     13198-  NCursesUserForm (NCursesFormField Fields[],
     13199+  NCursesUserForm (NCursesFormField* Fields[],
    1143113200                   const T* p_UserData = STATIC_CAST(T*)(0),
    1143213201                   bool with_frame=FALSE,
    1143313202                   bool autoDelete_Fields=FALSE)
    11434 -    : NCursesForm (Fields, with_frame, autoDelete_Fields) {
    11435 +    : NCursesForm (&Fields, with_frame, autoDelete_Fields) {
    11436        if (form)
     13203@@ -686,7 +686,7 @@
    1143713204        set_user (const_cast<void *>(p_UserData));
    1143813205   };
    11439 @@ -694,7 +694,7 @@
    11440                    const T* p_UserData = STATIC_CAST(T*)(0),
    11441                    bool with_frame=FALSE,
    11442                    bool autoDelete_Fields=FALSE)
    11443 -    : NCursesForm (Fields, nlines, ncols, begin_y, begin_x,
    11444 +    : NCursesForm (&Fields, nlines, ncols, begin_y, begin_x,
    11445                    with_frame, autoDelete_Fields) {
    11446        if (form)
    11447         set_user (const_cast<void *>(p_UserData));
     13206 
     13207-  NCursesUserForm (NCursesFormField Fields[],
     13208+  NCursesUserForm (NCursesFormField* Fields[],
     13209                   int nlines,
     13210                   int ncols,
     13211                   int begin_y = 0,
    1144813212diff -Naur ncurses-5.9.orig/c++/cursesm.cc ncurses-5.9/c++/cursesm.cc
    11449 --- ncurses-5.9.orig/c++/cursesm.cc     2012-02-16 18:25:12.643809617 +0000
    11450 +++ ncurses-5.9/c++/cursesm.cc  2012-02-16 18:25:12.919816901 +0000
     13213--- ncurses-5.9.orig/c++/cursesm.cc     2012-08-25 19:57:59.426567488 +0000
     13214+++ ncurses-5.9/c++/cursesm.cc  2012-08-25 19:57:59.899898583 +0000
    1145113215@@ -1,6 +1,6 @@
    1145213216 // * this is for making emacs happy: -*-Mode: C++;-*-
     
    1150713271 }
    1150813272diff -Naur ncurses-5.9.orig/c++/cursesm.h ncurses-5.9/c++/cursesm.h
    11509 --- ncurses-5.9.orig/c++/cursesm.h      2012-02-16 18:25:12.639809512 +0000
    11510 +++ ncurses-5.9/c++/cursesm.h   2012-02-16 18:25:12.923817007 +0000
     13273--- ncurses-5.9.orig/c++/cursesm.h      2012-08-25 19:57:59.423234170 +0000
     13274+++ ncurses-5.9/c++/cursesm.h   2012-08-25 19:58:01.569890686 +0000
    1151113275@@ -1,6 +1,6 @@
    1151213276 // * This makes emacs happy -*-Mode: C++;-*-
    1151313277 /****************************************************************************
    1151413278- * Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.              *
    11515 + * Copyright (c) 1998-2005,2011 Free Software Foundation, Inc.              *
     13279+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    1151613280  *                                                                          *
    1151713281  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    1152213286 
    1152313287-// $Id: cursesm.h,v 1.25 2005/08/13 18:10:36 tom Exp $
    11524 +// $Id: cursesm.h,v 1.27 2011/09/17 21:37:01 tom Exp $
     13288+// $Id: cursesm.h,v 1.28 2012/06/08 17:43:56 Richard.Yao Exp $
    1152513289 
    1152613290 #ifndef NCURSES_CURSESM_H_incl
     
    1153413298 
    1153513299   virtual ~NCursesMenuItem ();
    11536 @@ -639,7 +640,7 @@
     13300@@ -635,7 +636,7 @@
     13301   }
     13302 
     13303 public:
     13304-  NCursesUserMenu (NCursesMenuItem Items[],
     13305+  NCursesUserMenu (NCursesMenuItem* Items[],
    1153713306                   const T* p_UserData = STATIC_CAST(T*)(0),
    1153813307                   bool with_frame=FALSE,
    1153913308                   bool autoDelete_Items=FALSE)
    11540 -    : NCursesMenu (Items, with_frame, autoDelete_Items) {
    11541 +    : NCursesMenu (&Items, with_frame, autoDelete_Items) {
    11542        if (menu)
     13309@@ -644,7 +645,7 @@
    1154313310        set_user (const_cast<void *>(p_UserData));
    1154413311   };
    11545 @@ -651,7 +652,7 @@
    11546                    int begin_x = 0,
    11547                    const T* p_UserData = STATIC_CAST(T*)(0),
    11548                    bool with_frame=FALSE)
    11549 -    : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) {
    11550 +    : NCursesMenu (&Items, nlines, ncols, begin_y, begin_x, with_frame) {
    11551        if (menu)
    11552         set_user (const_cast<void *>(p_UserData));
    11553    };
     13312 
     13313-  NCursesUserMenu (NCursesMenuItem Items[],
     13314+  NCursesUserMenu (NCursesMenuItem* Items[],
     13315                   int nlines,
     13316                   int ncols,
     13317                   int begin_y = 0,
    1155413318diff -Naur ncurses-5.9.orig/c++/cursespad.cc ncurses-5.9/c++/cursespad.cc
    11555 --- ncurses-5.9.orig/c++/cursespad.cc   2012-02-16 18:25:12.643809617 +0000
    11556 +++ ncurses-5.9/c++/cursespad.cc        2012-02-16 18:25:12.923817007 +0000
     13319--- ncurses-5.9.orig/c++/cursespad.cc   2012-08-25 19:57:59.426567488 +0000
     13320+++ ncurses-5.9/c++/cursespad.cc        2012-08-25 19:57:59.899898583 +0000
    1155713321@@ -1,6 +1,6 @@
    1155813322 // * this is for making emacs happy: -*-Mode: C++;-*-
     
    1158113345 
    1158213346diff -Naur ncurses-5.9.orig/c++/cursesw.cc ncurses-5.9/c++/cursesw.cc
    11583 --- ncurses-5.9.orig/c++/cursesw.cc     2012-02-16 18:25:12.639809512 +0000
    11584 +++ ncurses-5.9/c++/cursesw.cc  2012-02-16 18:25:12.923817007 +0000
     13347--- ncurses-5.9.orig/c++/cursesw.cc     2012-08-25 19:57:59.426567488 +0000
     13348+++ ncurses-5.9/c++/cursesw.cc  2012-08-25 19:57:59.903231901 +0000
    1158513349@@ -1,6 +1,6 @@
    1158613350 // * this is for making emacs happy: -*-Mode: C++;-*-
     
    1161613380     RIPOFFINIT init = *prip++;
    1161713381diff -Naur ncurses-5.9.orig/c++/cursesw.h ncurses-5.9/c++/cursesw.h
    11618 --- ncurses-5.9.orig/c++/cursesw.h      2012-02-16 18:25:12.643809617 +0000
    11619 +++ ncurses-5.9/c++/cursesw.h   2012-02-16 18:25:12.923817007 +0000
     13382--- ncurses-5.9.orig/c++/cursesw.h      2012-08-25 19:57:59.423234170 +0000
     13383+++ ncurses-5.9/c++/cursesw.h   2012-08-25 19:57:59.903231901 +0000
    1162013384@@ -1,7 +1,7 @@
    1162113385 // * This makes emacs happy -*-Mode: C++;-*-
     
    1167213436   }
    1167313437   // Disable this call; the viewport subwindow is already defined
     13438diff -Naur ncurses-5.9.orig/c++/cursslk.cc ncurses-5.9/c++/cursslk.cc
     13439--- ncurses-5.9.orig/c++/cursslk.cc     2012-08-25 19:57:59.426567488 +0000
     13440+++ ncurses-5.9/c++/cursslk.cc  2012-08-25 19:58:00.879893949 +0000
     13441@@ -1,6 +1,6 @@
     13442 // * this is for making emacs happy: -*-Mode: C++;-*-
     13443 /****************************************************************************
     13444- * Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.              *
     13445+ * Copyright (c) 1998-2005,2012 Free Software Foundation, Inc.              *
     13446  *                                                                          *
     13447  * Permission is hereby granted, free of charge, to any person obtaining a  *
     13448  * copy of this software and associated documentation files (the            *
     13449@@ -35,14 +35,15 @@
     13450 #include "cursslk.h"
     13451 #include "cursesapp.h"
     13452 
     13453-MODULE_ID("$Id: cursslk.cc,v 1.15 2005/08/06 22:12:36 tom Exp $")
     13454+MODULE_ID("$Id: cursslk.cc,v 1.16 2012/02/23 10:41:56 tom Exp $")
     13455 
     13456 Soft_Label_Key_Set::Soft_Label_Key&
     13457   Soft_Label_Key_Set::Soft_Label_Key::operator=(char *text)
     13458 {
     13459   delete[] label;
     13460-  label = new char[1 + ::strlen(text)];
     13461-  (::strcpy)(label,text);
     13462+  size_t need = 1 + ::strlen(text);
     13463+  label = new char[need];
     13464+  ::_nc_STRCPY(label,text,need);
     13465   return *this;
     13466 }
     13467 
    1167413468diff -Naur ncurses-5.9.orig/c++/demo.cc ncurses-5.9/c++/demo.cc
    11675 --- ncurses-5.9.orig/c++/demo.cc        2012-02-16 18:25:12.643809617 +0000
    11676 +++ ncurses-5.9/c++/demo.cc     2012-02-16 18:25:12.923817007 +0000
     13469--- ncurses-5.9.orig/c++/demo.cc        2012-08-25 19:57:59.423234170 +0000
     13470+++ ncurses-5.9/c++/demo.cc     2012-08-25 19:58:00.879893949 +0000
    1167713471@@ -1,6 +1,6 @@
    1167813472 // * This makes emacs happy -*-Mode: C++;-*-
    1167913473 /****************************************************************************
    1168013474- * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *
    11681 + * Copyright (c) 1998-2008,2011 Free Software Foundation, Inc.              *
     13475+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    1168213476  *                                                                          *
    1168313477  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    1168813482  *
    1168913483- * $Id: demo.cc,v 1.39 2008/12/07 02:07:34 juergen Exp $
    11690 + * $Id: demo.cc,v 1.40 2011/09/17 22:12:10 tom Exp $
     13484+ * $Id: demo.cc,v 1.41 2012/02/23 10:41:56 tom Exp $
    1169113485  */
    1169213486 
     
    1170013494   }
    1170113495   bool char_check(int c) {
     13496@@ -319,7 +320,7 @@
     13497     for(int i=1; i <= S->labels(); i++) {
     13498       char buf[8];
     13499       assert(i < 100);
     13500-      ::sprintf(buf, "Frm%02d", i);
     13501+      ::_nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf)) "Frm%02d", i);
     13502       (*S)[i] = buf;                                      // Text
     13503       (*S)[i] = Soft_Label_Key_Set::Soft_Label_Key::Left; // Justification
     13504     }
     13505@@ -539,7 +540,7 @@
     13506   for(int i=1; i <= S.labels(); i++) {
     13507     char buf[8];
     13508     assert(i < 100);
     13509-    ::sprintf(buf, "Key%02d", i);
     13510+    ::_nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf)) "Key%02d", i);
     13511     S[i] = buf;                                      // Text
     13512     S[i] = Soft_Label_Key_Set::Soft_Label_Key::Left; // Justification
     13513   }
    1170213514diff -Naur ncurses-5.9.orig/c++/etip.h.in ncurses-5.9/c++/etip.h.in
    11703 --- ncurses-5.9.orig/c++/etip.h.in      2012-02-16 18:25:12.639809512 +0000
    11704 +++ ncurses-5.9/c++/etip.h.in   2012-02-16 18:25:12.923817007 +0000
     13515--- ncurses-5.9.orig/c++/etip.h.in      2012-08-25 19:57:59.426567488 +0000
     13516+++ ncurses-5.9/c++/etip.h.in   2012-08-25 19:57:59.906565219 +0000
    1170513517@@ -1,6 +1,6 @@
    1170613518 // * This makes emacs happy -*-Mode: C++;-*-
     
    1177413586 
    1177513587   NCursesFormException (const NCursesForm* form,
     13588diff -Naur ncurses-5.9.orig/c++/internal.h ncurses-5.9/c++/internal.h
     13589--- ncurses-5.9.orig/c++/internal.h     2012-08-25 19:57:59.423234170 +0000
     13590+++ ncurses-5.9/c++/internal.h  2012-08-25 19:58:00.879893949 +0000
     13591@@ -1,6 +1,6 @@
     13592 // * This makes emacs happy -*-Mode: C++;-*-
     13593 /****************************************************************************
     13594- * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *
     13595+ * Copyright (c) 1998-2008,2012 Free Software Foundation, Inc.              *
     13596  *                                                                          *
     13597  * Permission is hereby granted, free of charge, to any person obtaining a  *
     13598  * copy of this software and associated documentation files (the            *
     13599@@ -31,7 +31,7 @@
     13600  *   Author: Juergen Pfeifer, 1997                                          *
     13601  ****************************************************************************/
     13602 
     13603-// $Id: internal.h,v 1.17 2008/12/07 02:07:34 juergen Exp $
     13604+// $Id: internal.h,v 1.18 2012/02/23 10:41:56 tom Exp $
     13605 
     13606 #ifndef NCURSES_CPLUS_INTERNAL_H
     13607 #define NCURSES_CPLUS_INTERNAL_H 1
     13608@@ -62,4 +62,6 @@
     13609 #define NULL 0
     13610 #endif
     13611 
     13612+#include <nc_string.h>
     13613+
     13614 #endif /* NCURSES_CPLUS_INTERNAL_H */
    1177613615diff -Naur ncurses-5.9.orig/config.guess ncurses-5.9/config.guess
    11777 --- ncurses-5.9.orig/config.guess       2012-02-16 18:25:12.607808668 +0000
    11778 +++ ncurses-5.9/config.guess    2012-02-16 18:25:12.923817007 +0000
     13616--- ncurses-5.9.orig/config.guess       2012-08-25 19:57:59.429900806 +0000
     13617+++ ncurses-5.9/config.guess    2012-08-25 19:58:00.879893949 +0000
    1177913618@@ -1,10 +1,10 @@
    1178013619 #! /bin/sh
     
    1178413623-#   Free Software Foundation, Inc.
    1178513624+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
    11786 +#   2911 Free Software Foundation, Inc.
     13625+#   2011, 2012 Free Software Foundation, Inc.
    1178713626 
    1178813627-timestamp='2010-09-24'
    11789 +timestamp='2011-01-01'
     13628+timestamp='2012-02-10'
    1179013629 
    1179113630 # This file is free software; you can redistribute it and/or modify it
    1179213631 # under the terms of the GNU General Public License as published by
    11793 @@ -57,8 +57,8 @@
     13632@@ -17,9 +17,7 @@
     13633 # General Public License for more details.
     13634 #
     13635 # You should have received a copy of the GNU General Public License
     13636-# along with this program; if not, write to the Free Software
     13637-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
     13638-# 02110-1301, USA.
     13639+# along with this program; if not, see <http://www.gnu.org/licenses/>.
     13640 #
     13641 # As a special exception to the GNU General Public License, if you
     13642 # distribute this file as part of a program that contains a
     13643@@ -57,8 +55,8 @@
    1179413644 
    1179513645 Originally written by Per Bothner.
     
    1179713647-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    1179813648-Software Foundation, Inc.
    11799 +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
     13649+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
    1180013650+Free Software Foundation, Inc.
    1180113651 
    1180213652 This is free software; see the source for copying conditions.  There is NO
    1180313653 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    11804 @@ -92,7 +92,7 @@
     13654@@ -92,7 +90,7 @@
    1180513655   exit 1
    1180613656 fi
     
    1181113661 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
    1181213662 # compiler to aid in system detection is discouraged as it requires
    11813 @@ -106,7 +106,7 @@
     13663@@ -106,7 +104,7 @@
    1181413664 
    1181513665 set_cc_for_build='
     
    1182013670  { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    1182113671  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
    11822 @@ -270,7 +270,10 @@
     13672@@ -145,7 +143,7 @@
     13673 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     13674     *:NetBSD:*:*)
     13675        # NetBSD (nbsd) targets should (where applicable) match one or
     13676-       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
     13677+       # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
     13678        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
     13679        # switched to ELF, *-*-netbsd* would select the old
     13680        # object file format.  This provides both forward
     13681@@ -220,10 +218,10 @@
     13682        exit ;;
     13683     alpha:OSF1:*:*)
     13684        case $UNAME_RELEASE in
     13685-           *4.0)
     13686+       *4.0)
     13687                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
     13688                ;;
     13689-           *5.*)
     13690+       *5.*)
     13691                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
     13692                ;;
     13693        esac
     13694@@ -270,7 +268,10 @@
    1182313695        # A Xn.n version is an unreleased experimental baselevel.
    1182413696        # 1.2 uses "1.2" for uname -r.
     
    1183213704        # How do we know it's Interix rather than the generic POSIX subsystem?
    1183313705        # Should we change UNAME_MACHINE based on the output of uname instead
    11834 @@ -326,8 +329,8 @@
     13706@@ -326,8 +327,8 @@
    1183513707            sparc) echo sparc-icl-nx7; exit ;;
    1183613708        esac ;;
     
    1184313715        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1184413716        exit ;;
    11845 @@ -495,7 +498,7 @@
     13717@@ -495,7 +496,7 @@
    1184613718        else
    1184713719            echo i586-dg-dgux${UNAME_RELEASE}
     
    1185213724        echo m88k-dolphin-sysv3
    1185313725        exit ;;
     13726@@ -597,50 +598,50 @@
     13727                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
     13728                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
     13729                    case "${sc_cpu_version}" in
     13730-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
     13731-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
     13732-                      532)                      # CPU_PA_RISC2_0
     13733-                        case "${sc_kernel_bits}" in
     13734-                          32) HP_ARCH="hppa2.0n" ;;
     13735-                          64) HP_ARCH="hppa2.0w" ;;
     13736+                     523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
     13737+                     528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
     13738+                     532)                      # CPU_PA_RISC2_0
     13739+                       case "${sc_kernel_bits}" in
     13740+                         32) HP_ARCH="hppa2.0n" ;;
     13741+                         64) HP_ARCH="hppa2.0w" ;;
     13742                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
     13743-                        esac ;;
     13744-                    esac
     13745+                       esac ;;
     13746+                   esac
     13747                fi
     13748                if [ "${HP_ARCH}" = "" ]; then
     13749                    eval $set_cc_for_build
     13750-                   sed 's/^              //' << EOF >$dummy.c
     13751+                   sed 's/^            //' << EOF >$dummy.c
     13752+
     13753+               #define _HPUX_SOURCE
     13754+               #include <stdlib.h>
     13755+               #include <unistd.h>
     13756 
     13757-              #define _HPUX_SOURCE
     13758-              #include <stdlib.h>
     13759-              #include <unistd.h>
     13760-
     13761-              int main ()
     13762-              {
     13763-              #if defined(_SC_KERNEL_BITS)
     13764-                  long bits = sysconf(_SC_KERNEL_BITS);
     13765-              #endif
     13766-                  long cpu  = sysconf (_SC_CPU_VERSION);
     13767-
     13768-                  switch (cpu)
     13769-               {
     13770-               case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
     13771-               case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
     13772-               case CPU_PA_RISC2_0:
     13773-              #if defined(_SC_KERNEL_BITS)
     13774-                   switch (bits)
     13775-                       {
     13776-                       case 64: puts ("hppa2.0w"); break;
     13777-                       case 32: puts ("hppa2.0n"); break;
     13778-                       default: puts ("hppa2.0"); break;
     13779-                       } break;
     13780-              #else  /* !defined(_SC_KERNEL_BITS) */
     13781-                   puts ("hppa2.0"); break;
     13782-              #endif
     13783-               default: puts ("hppa1.0"); break;
     13784-               }
     13785-                  exit (0);
     13786-              }
     13787+               int main ()
     13788+               {
     13789+               #if defined(_SC_KERNEL_BITS)
     13790+                   long bits = sysconf(_SC_KERNEL_BITS);
     13791+               #endif
     13792+                   long cpu  = sysconf (_SC_CPU_VERSION);
     13793+
     13794+                   switch (cpu)
     13795+                       {
     13796+                       case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
     13797+                       case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
     13798+                       case CPU_PA_RISC2_0:
     13799+               #if defined(_SC_KERNEL_BITS)
     13800+                           switch (bits)
     13801+                               {
     13802+                               case 64: puts ("hppa2.0w"); break;
     13803+                               case 32: puts ("hppa2.0n"); break;
     13804+                               default: puts ("hppa2.0"); break;
     13805+                               } break;
     13806+               #else  /* !defined(_SC_KERNEL_BITS) */
     13807+                           puts ("hppa2.0"); break;
     13808+               #endif
     13809+                       default: puts ("hppa1.0"); break;
     13810+                       }
     13811+                   exit (0);
     13812+               }
     13813 EOF
     13814                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
     13815                    test -z "$HP_ARCH" && HP_ARCH=hppa
     13816@@ -789,13 +790,12 @@
     13817        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
     13818        exit ;;
     13819     *:FreeBSD:*:*)
     13820-       case ${UNAME_MACHINE} in
     13821-           pc98)
     13822-               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     13823+       UNAME_PROCESSOR=`/usr/bin/uname -p`
     13824+       case ${UNAME_PROCESSOR} in
     13825            amd64)
     13826                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     13827            *)
     13828-               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     13829+               echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     13830        esac
     13831        exit ;;
     13832     i*:CYGWIN*:*)
     13833@@ -804,6 +804,9 @@
     13834     *:MINGW*:*)
     13835        echo ${UNAME_MACHINE}-pc-mingw32
     13836        exit ;;
     13837+    i*:MSYS*:*)
     13838+       echo ${UNAME_MACHINE}-pc-msys
     13839+       exit ;;
     13840     i*:windows32*:*)
     13841        # uname -m includes "-pc" on this system.
     13842        echo ${UNAME_MACHINE}-mingw32
    1185413843@@ -820,8 +823,8 @@
    1185513844                echo x86_64-unknown-interix${UNAME_RELEASE}
     
    1186313852     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    1186413853        echo i${UNAME_MACHINE}-pc-mks
    11865 @@ -934,14 +937,14 @@
     13854@@ -858,15 +861,22 @@
     13855     i*86:Minix:*:*)
     13856        echo ${UNAME_MACHINE}-pc-minix
     13857        exit ;;
     13858+    aarch64:Linux:*:*)
     13859+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13860+       exit ;;
     13861+    aarch64_be:Linux:*:*)
     13862+       UNAME_MACHINE=aarch64_be
     13863+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13864+       exit ;;
     13865     alpha:Linux:*:*)
     13866        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
     13867-           EV5)   UNAME_MACHINE=alphaev5 ;;
     13868-           EV56)  UNAME_MACHINE=alphaev56 ;;
     13869-           PCA56) UNAME_MACHINE=alphapca56 ;;
     13870-           PCA57) UNAME_MACHINE=alphapca56 ;;
     13871-           EV6)   UNAME_MACHINE=alphaev6 ;;
     13872-           EV67)  UNAME_MACHINE=alphaev67 ;;
     13873-           EV68*) UNAME_MACHINE=alphaev68 ;;
     13874+         EV5)   UNAME_MACHINE=alphaev5 ;;
     13875+         EV56)  UNAME_MACHINE=alphaev56 ;;
     13876+         PCA56) UNAME_MACHINE=alphapca56 ;;
     13877+         PCA57) UNAME_MACHINE=alphapca56 ;;
     13878+         EV6)   UNAME_MACHINE=alphaev6 ;;
     13879+         EV67)  UNAME_MACHINE=alphaev67 ;;
     13880+         EV68*) UNAME_MACHINE=alphaev68 ;;
     13881        esac
     13882        objdump --private-headers /bin/sh | grep -q ld.so.1
     13883        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
     13884@@ -874,30 +884,39 @@
     13885        exit ;;
     13886     arm*:Linux:*:*)
     13887        eval $set_cc_for_build
     13888-       if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null | \
     13889-           grep -q __ARM_EABI__
     13890+       if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
     13891+           | grep -q __ARM_EABI__
     13892        then
     13893            echo ${UNAME_MACHINE}-unknown-linux-gnu
     13894        else
     13895-           echo ${UNAME_MACHINE}-unknown-linux-gnueabi
     13896+           if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
     13897+               | grep -q __ARM_PCS_VFP
     13898+           then
     13899+               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
     13900+           else
     13901+               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
     13902+           fi
     13903        fi
     13904        exit ;;
     13905     avr32*:Linux:*:*)
     13906        echo ${UNAME_MACHINE}-unknown-linux-gnu
     13907        exit ;;
     13908     cris:Linux:*:*)
     13909-       echo cris-axis-linux-gnu
     13910+       echo ${UNAME_MACHINE}-axis-linux-gnu
     13911        exit ;;
     13912     crisv32:Linux:*:*)
     13913-       echo crisv32-axis-linux-gnu
     13914+       echo ${UNAME_MACHINE}-axis-linux-gnu
     13915        exit ;;
     13916     frv:Linux:*:*)
     13917-       echo frv-unknown-linux-gnu
     13918+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13919+       exit ;;
     13920+    hexagon:Linux:*:*)
     13921+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13922        exit ;;
     13923     i*86:Linux:*:*)
     13924        LIBC=gnu
     13925        eval $set_cc_for_build
     13926-       sed 's/^        //' << EOF >$dummy.c
     13927+       sed 's/^        //' << EOF >$dummy.c
     13928        #ifdef __dietlibc__
     13929        LIBC=dietlibc
     13930        #endif
     13931@@ -934,14 +953,14 @@
    1186613932        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    1186713933        ;;
     
    1186913935-       echo or32-unknown-linux-gnu
    1187013936-       exit ;;
    11871 +       echo or32-unknown-linux-gnu
     13937+       echo ${UNAME_MACHINE}-unknown-linux-gnu
    1187213938+       exit ;;
    1187313939     padre:Linux:*:*)
     
    1188213948        # Look for CPU level
    1188313949        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
     13950@@ -969,13 +988,13 @@
     13951        echo ${UNAME_MACHINE}-unknown-linux-gnu
     13952        exit ;;
     13953     tile*:Linux:*:*)
     13954-       echo ${UNAME_MACHINE}-tilera-linux-gnu
     13955+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13956        exit ;;
     13957     vax:Linux:*:*)
     13958        echo ${UNAME_MACHINE}-dec-linux-gnu
     13959        exit ;;
     13960     x86_64:Linux:*:*)
     13961-       echo x86_64-unknown-linux-gnu
     13962+       echo ${UNAME_MACHINE}-unknown-linux-gnu
     13963        exit ;;
     13964     xtensa*:Linux:*:*)
     13965        echo ${UNAME_MACHINE}-unknown-linux-gnu
     13966@@ -1093,7 +1112,7 @@
     13967          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     13968     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
     13969        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
     13970-          && { echo i486-ncr-sysv4; exit; } ;;
     13971+         && { echo i486-ncr-sysv4; exit; } ;;
     13972     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
     13973        OS_REL='.3'
     13974        test -r /etc/.relid \
     13975@@ -1136,8 +1155,8 @@
     13976                echo ns32k-sni-sysv
     13977        fi
     13978        exit ;;
     13979-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
     13980-                     # says <Richard.M.Bartel@ccMail.Census.GOV>
     13981+    PENTIUM:*:4.0*:*)  # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
     13982+                       # says <Richard.M.Bartel@ccMail.Census.GOV>
     13983        echo i586-unisys-sysv4
     13984        exit ;;
     13985     *:UNIX_System_V:4*:FTX*)
     13986@@ -1165,9 +1184,9 @@
     13987        exit ;;
     13988     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
     13989        if [ -d /usr/nec ]; then
     13990-               echo mips-nec-sysv${UNAME_RELEASE}
     13991+               echo mips-nec-sysv${UNAME_RELEASE}
     13992        else
     13993-               echo mips-unknown-sysv${UNAME_RELEASE}
     13994+               echo mips-unknown-sysv${UNAME_RELEASE}
     13995        fi
     13996        exit ;;
     13997     BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
     13998@@ -1212,12 +1231,12 @@
     13999            i386)
     14000                eval $set_cc_for_build
     14001                if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
     14002-                   if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
     14003-                       (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     14004-                       grep IS_64BIT_ARCH >/dev/null
     14005-                   then
     14006-                       UNAME_PROCESSOR="x86_64"
     14007-                   fi
     14008+                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
     14009+                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     14010+                     grep IS_64BIT_ARCH >/dev/null
     14011+                 then
     14012+                     UNAME_PROCESSOR="x86_64"
     14013+                 fi
     14014                fi ;;
     14015            unknown) UNAME_PROCESSOR=powerpc ;;
     14016        esac
     14017@@ -1226,8 +1245,8 @@
     14018     *:procnto*:*:* | *:QNX:[0123456789]*:*)
     14019        UNAME_PROCESSOR=`uname -p`
     14020        if test "$UNAME_PROCESSOR" = "x86"; then
     14021-           UNAME_PROCESSOR=i386
     14022-           UNAME_MACHINE=pc
     14023+               UNAME_PROCESSOR=i386
     14024+               UNAME_MACHINE=pc
     14025        fi
     14026        echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
     14027        exit ;;
     14028@@ -1306,6 +1325,9 @@
     14029     i*86:AROS:*:*)
     14030        echo ${UNAME_MACHINE}-pc-aros
     14031        exit ;;
     14032+    x86_64:VMkernel:*:*)
     14033+       echo ${UNAME_MACHINE}-unknown-esx
     14034+       exit ;;
     14035 esac
     14036 
     14037 #echo '(No uname command or uname output not recognized.)' 1>&2
     14038@@ -1328,11 +1350,11 @@
     14039 #include <sys/param.h>
     14040   printf ("m68k-sony-newsos%s\n",
     14041 #ifdef NEWSOS4
     14042-          "4"
     14043+       "4"
     14044 #else
     14045-         ""
     14046+       ""
     14047 #endif
     14048-         ); exit (0);
     14049+       ); exit (0);
     14050 #endif
     14051 #endif
     14052 
    1188414053diff -Naur ncurses-5.9.orig/config.sub ncurses-5.9/config.sub
    11885 --- ncurses-5.9.orig/config.sub 2012-02-16 18:25:12.627809197 +0000
    11886 +++ ncurses-5.9/config.sub      2012-02-16 18:25:12.927817113 +0000
    11887 @@ -2,9 +2,9 @@
     14054--- ncurses-5.9.orig/config.sub 2012-08-25 19:57:59.429900806 +0000
     14055+++ ncurses-5.9/config.sub      2012-08-25 19:58:00.879893949 +0000
     14056@@ -1,10 +1,10 @@
     14057 #! /bin/sh
    1188814058 # Configuration validation subroutine script.
    1188914059 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    11890  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
     14060-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    1189114061-#   Free Software Foundation, Inc.
    11892 +#   2011 Free Software Foundation, Inc.
     14062+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     14063+#   2011, 2012 Free Software Foundation, Inc.
    1189314064 
    1189414065-timestamp='2010-09-11'
    11895 +timestamp='2011-04-01'
     14066+timestamp='2012-02-10'
    1189614067 
    1189714068 # This file is (in principle) common to ALL GNU software.
    1189814069 # The presence of a machine in this file suggests that SOME GNU software
    11899 @@ -76,8 +76,8 @@
     14070@@ -21,9 +21,7 @@
     14071 # GNU General Public License for more details.
     14072 #
     14073 # You should have received a copy of the GNU General Public License
     14074-# along with this program; if not, write to the Free Software
     14075-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
     14076-# 02110-1301, USA.
     14077+# along with this program; if not, see <http://www.gnu.org/licenses/>.
     14078 #
     14079 # As a special exception to the GNU General Public License, if you
     14080 # distribute this file as part of a program that contains a
     14081@@ -76,8 +74,8 @@
    1190014082 GNU config.sub ($timestamp)
    1190114083 
     
    1190314085-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    1190414086-Software Foundation, Inc.
    11905 +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
     14087+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
    1190614088+Free Software Foundation, Inc.
    1190714089 
    1190814090 This is free software; see the source for copying conditions.  There is NO
    1190914091 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    11910 @@ -175,10 +175,10 @@
     14092@@ -132,6 +130,10 @@
     14093     os=-$maybe_os
     14094     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     14095     ;;
     14096+  android-linux)
     14097+    os=-linux-android
     14098+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
     14099+    ;;
     14100   *)
     14101     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
     14102     if [ $basic_machine != $1 ]
     14103@@ -175,10 +177,10 @@
    1191114104                os=-chorusos
    1191214105                basic_machine=$1
     
    1192214115                os=-hiuxwe2
    1192314116                ;;
    11924 @@ -283,12 +283,13 @@
     14117@@ -247,17 +249,22 @@
     14118        # Some are omitted here because they have special meanings below.
     14119        1750a | 580 \
     14120        | a29k \
     14121+       | aarch64 | aarch64_be \
     14122        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
     14123        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
     14124        | am33_2.0 \
     14125        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
     14126+        | be32 | be64 \
     14127        | bfin \
     14128        | c4x | clipper \
     14129        | d10v | d30v | dlx | dsp16xx \
     14130+       | epiphany \
     14131        | fido | fr30 | frv \
     14132        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
     14133+       | hexagon \
     14134        | i370 | i860 | i960 | ia64 \
     14135        | ip2k | iq2000 \
     14136+       | le32 | le64 \
     14137        | lm32 \
     14138        | m32c | m32r | m32rle | m68000 | m68k | m88k \
     14139        | maxq | mb | microblaze | mcore | mep | metag \
     14140@@ -283,25 +290,26 @@
    1192514141        | moxie \
    1192614142        | mt \
     
    1193614152+       | powerpc | powerpc64 | powerpc64le | powerpcle \
    1193714153        | pyramid \
    11938         | rx \
     14154-       | rx \
     14155+       | rl78 | rx \
    1193914156        | score \
    11940 @@ -296,12 +297,12 @@
     14157        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    1194114158        | sh64 | sh64le \
    1194214159        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
     
    1194714164+       | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
    1194814165        | ubicom32 \
    11949         | v850 | v850e \
     14166-       | v850 | v850e \
     14167+       | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
    1195014168        | we32k \
    1195114169-       | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
     
    1195414172                basic_machine=$basic_machine-unknown
    1195514173                ;;
    11956 @@ -324,7 +325,15 @@
    11957         ms1)
     14174@@ -314,8 +322,7 @@
     14175        c6x)
     14176                basic_machine=tic6x-unknown
     14177                ;;
     14178-       m6811 | m68hc11 | m6812 | m68hc12 | picochip)
     14179-               # Motorola 68HC11/12.
     14180+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
     14181                basic_machine=$basic_machine-unknown
     14182                os=-none
     14183                ;;
     14184@@ -325,12 +332,27 @@
    1195814185                basic_machine=mt-unknown
    1195914186                ;;
    11960 -
     14187 
    1196114188+       strongarm | thumb | xscale)
    1196214189+               basic_machine=arm-unknown
     14190+               ;;
     14191+       xgate)
     14192+               basic_machine=$basic_machine-unknown
     14193+               os=-none
    1196314194+               ;;
    1196414195+       xscaleeb)
    1196514196+               basic_machine=armeb-unknown
    1196614197+               ;;
     14198+
    1196714199+       xscaleel)
    1196814200+               basic_machine=armel-unknown
    1196914201+               ;;
     14202+
    1197014203        # We use `pc' rather than `unknown'
    1197114204        # because (1) that's what they normally are, and
    1197214205        # (2) the word "unknown" tends to confuse beginning users.
    11973 @@ -382,24 +391,25 @@
     14206        i*86 | x86_64)
     14207-               basic_machine=$basic_machine-pc
     14208-               ;;
     14209+         basic_machine=$basic_machine-pc
     14210+         ;;
     14211        # Object if more than one company name word.
     14212        *-*-*)
     14213                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
     14214@@ -339,11 +361,13 @@
     14215        # Recognize the basic CPU types with company name.
     14216        580-* \
     14217        | a29k-* \
     14218+       | aarch64-* | aarch64_be-* \
     14219        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
     14220        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
     14221        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
     14222        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
     14223        | avr-* | avr32-* \
     14224+       | be32-* | be64-* \
     14225        | bfin-* | bs2000-* \
     14226        | c[123]* | c30-* | [cjt]90-* | c4x-* \
     14227        | clipper-* | craynv-* | cydra-* \
     14228@@ -352,8 +376,10 @@
     14229        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
     14230        | h8300-* | h8500-* \
     14231        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
     14232+       | hexagon-* \
     14233        | i*86-* | i860-* | i960-* | ia64-* \
     14234        | ip2k-* | iq2000-* \
     14235+       | le32-* | le64-* \
     14236        | lm32-* \
     14237        | m32c-* | m32r-* | m32rle-* \
     14238        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
     14239@@ -382,24 +408,26 @@
    1197414240        | nds32-* | nds32le-* | nds32be-* \
    1197514241        | nios-* | nios2-* \
     
    1198114247+       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
    1198214248        | pyramid-* \
    11983         | romp-* | rs6000-* | rx-* \
     14249-       | romp-* | rs6000-* | rx-* \
     14250+       | rl78-* | romp-* | rs6000-* | rx-* \
    1198414251        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    1198514252        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
     
    1199114258+       | tahoe-* \
    1199214259        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
    11993         | tile-* | tilegx-* \
     14260-       | tile-* | tilegx-* \
     14261+       | tile*-* \
    1199414262        | tron-* \
    1199514263        | ubicom32-* \
    11996         | v850-* | v850e-* | vax-* \
     14264-       | v850-* | v850e-* | vax-* \
     14265+       | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
     14266+       | vax-* \
    1199714267        | we32k-* \
    1199814268-       | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
     
    1200114271        | ymp-* \
    1200214272        | z8k-* | z80-*)
    12003 @@ -539,7 +549,7 @@
     14273@@ -539,7 +567,7 @@
    1200414274                basic_machine=craynv-cray
    1200514275                os=-unicosmp
     
    1201014280                os=-elf
    1201114281                ;;
    12012 @@ -826,10 +836,10 @@
    12013                 basic_machine=v70-nec
    12014                 os=-sysv
     14282@@ -697,7 +725,6 @@
     14283        i370-ibm* | ibm*)
     14284                basic_machine=i370-ibm
    1201514285                ;;
    12016 -       next | m*-next )
    12017 +       next | m*-next)
    12018                 basic_machine=m68k-next
    12019                 case $os in
    12020 -                   -nextstep* )
    12021 +                   -nextstep*)
    12022                         ;;
    12023                     -ns2*)
    12024                       os=-nextstep2
    12025 @@ -948,11 +958,14 @@
    12026         pn)
    12027                 basic_machine=pn-gould
     14286-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
     14287        i*86v32)
     14288                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
     14289                os=-sysv32
     14290@@ -794,10 +821,18 @@
     14291        ms1-*)
     14292                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
    1202814293                ;;
    12029 -       power)  basic_machine=power-ibm
    12030 +       power)
    12031 +               basic_machine=power-ibm
     14294+       msys)
     14295+               basic_machine=i386-pc
     14296+               os=-msys
     14297+               ;;
     14298        mvs)
     14299                basic_machine=i370-ibm
     14300                os=-mvs
     14301                ;;
     14302+       nacl)
     14303+               basic_machine=le32-unknown
     14304+               os=-nacl
     14305+               ;;
     14306        ncr3000)
     14307                basic_machine=i486-ncr
     14308                os=-sysv4
     14309@@ -950,9 +985,10 @@
     14310                ;;
     14311        power)  basic_machine=power-ibm
    1203214312                ;;
    1203314313-       ppc)    basic_machine=powerpc-unknown
    12034 +       ppc | ppcbe)
    12035 +               basic_machine=powerpc-unknown
     14314+       ppc | ppcbe)    basic_machine=powerpc-unknown
    1203614315                ;;
    1203714316-       ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
     
    1204114320        ppcle | powerpclittle | ppc-le | powerpc-little)
    1204214321                basic_machine=powerpcle-unknown
    12043 @@ -960,9 +973,11 @@
    12044         ppcle-* | powerpclittle-*)
    12045                 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
    12046                 ;;
    12047 -       ppc64)  basic_machine=powerpc64-unknown
    12048 +       ppc64)
    12049 +               basic_machine=powerpc64-unknown
    12050                 ;;
    12051 -       ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    12052 +       ppc64-*)
    12053 +               basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    12054                 ;;
    12055         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
    12056                 basic_machine=powerpc64le-unknown
    12057 @@ -1046,6 +1061,9 @@
     14322@@ -1046,6 +1082,9 @@
    1205814323                basic_machine=i860-stratus
    1205914324                os=-sysv4
     
    1206514330                basic_machine=m68000-sun
    1206614331                ;;
    12067 @@ -1178,6 +1196,9 @@
     14332@@ -1102,13 +1141,8 @@
     14333                basic_machine=t90-cray
     14334                os=-unicos
     14335                ;;
     14336-       # This must be matched before tile*.
     14337-       tilegx*)
     14338-               basic_machine=tilegx-unknown
     14339-               os=-linux-gnu
     14340-               ;;
     14341        tile*)
     14342-               basic_machine=tile-unknown
     14343+               basic_machine=$basic_machine-unknown
     14344                os=-linux-gnu
     14345                ;;
     14346        tx39)
     14347@@ -1178,6 +1212,9 @@
    1206814348        xps | xps100)
    1206914349                basic_machine=xps100-honeywell
     
    1207514355                basic_machine=ymp-cray
    1207614356                os=-unicos
    12077 @@ -1400,7 +1421,7 @@
    12078         -nova*)
    12079                 os=-rtmk-nova
     14357@@ -1315,7 +1352,7 @@
     14358              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
     14359              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
     14360              | -chorusos* | -chorusrdb* | -cegcc* \
     14361-             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     14362+             | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     14363              | -mingw32* | -linux-gnu* | -linux-android* \
     14364              | -linux-newlib* | -linux-uclibc* \
     14365              | -uxpv* | -beos* | -mpeix* | -udk* \
     14366@@ -1527,9 +1564,6 @@
    1208014367                ;;
    12081 -       -ns2 )
    12082 +       -ns2)
    12083                 os=-nextstep2
     14368        m68000-sun)
     14369                os=-sunos3
     14370-               # This also exists in the configure program, but was not the
     14371-               # default.
     14372-               # os=-sunos4
    1208414373                ;;
    12085         -nsk*)
    12086 @@ -1597,7 +1618,7 @@
    12087         m88k-omron*)
    12088                 os=-luna
    12089                 ;;
    12090 -       *-next )
    12091 +       *-next)
    12092                 os=-nextstep
    12093                 ;;
    12094         *-sequent)
     14374        m68*-cisco)
     14375                os=-aout
    1209514376diff -Naur ncurses-5.9.orig/configure ncurses-5.9/configure
    12096 --- ncurses-5.9.orig/configure  2012-02-16 18:25:12.627809197 +0000
    12097 +++ ncurses-5.9/configure       2012-02-16 18:25:13.283826506 +0000
    12098 @@ -1,5 +1,5 @@
     14377--- ncurses-5.9.orig/configure  2012-08-25 19:57:59.429900806 +0000
     14378+++ ncurses-5.9/configure       2012-08-25 19:58:02.356553633 +0000
     14379@@ -1,7 +1,7 @@
    1209914380 #! /bin/sh
    1210014381-# From configure.in Revision: 1.520 .
    12101 +# From configure.in Revision: 1.541 .
     14382+# From configure.in Revision: 1.552 .
    1210214383 # Guess values for system-dependent variables and create Makefiles.
    12103  # Generated by Autoconf 2.52.20101002.
     14384-# Generated by Autoconf 2.52.20101002.
     14385+# Generated by Autoconf 2.52.20120811.
    1210414386 #
    12105 @@ -702,6 +702,7 @@
     14387 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     14388 # Free Software Foundation, Inc.
     14389@@ -171,15 +171,16 @@
     14390 bindir='${exec_prefix}/bin'
     14391 sbindir='${exec_prefix}/sbin'
     14392 libexecdir='${exec_prefix}/libexec'
     14393-datadir='${prefix}/share'
     14394+datarootdir='${prefix}/share'
     14395+datadir='${datarootdir}'
     14396 sysconfdir='${prefix}/etc'
     14397 sharedstatedir='${prefix}/com'
     14398 localstatedir='${prefix}/var'
     14399 libdir='${exec_prefix}/lib'
     14400 includedir='${prefix}/include'
     14401 oldincludedir='/usr/include'
     14402-infodir='${prefix}/info'
     14403-mandir='${prefix}/man'
     14404+infodir='${datarootdir}/info'
     14405+mandir='${datarootdir}/man'
     14406 
     14407 # Identity of this package.
     14408 PACKAGE_NAME=
     14409@@ -230,6 +231,13 @@
     14410   | --da=*)
     14411     datadir=$ac_optarg ;;
     14412 
     14413+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     14414+  | --dataroo | --dataro | --datar)
     14415+    ac_prev=datarootdir ;;
     14416+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     14417+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     14418+    datarootdir=$ac_optarg ;;
     14419+
     14420   -disable-* | --disable-*)
     14421     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     14422     # Reject names that are not valid shell variable names.
     14423@@ -505,7 +513,7 @@
     14424 done
     14425 
     14426 # Be sure to have absolute paths.
     14427-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     14428+for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
     14429               localstatedir libdir includedir oldincludedir infodir mandir
     14430 do
     14431   eval ac_val=$`echo $ac_var`
     14432@@ -654,15 +662,16 @@
     14433   --bindir=DIR            user executables [EPREFIX/bin]
     14434   --sbindir=DIR           system admin executables [EPREFIX/sbin]
     14435   --libexecdir=DIR        program executables [EPREFIX/libexec]
     14436-  --datadir=DIR           read-only architecture-independent data [PREFIX/share]
     14437+  --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
     14438+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     14439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     14440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     14441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     14442   --libdir=DIR            object code libraries [EPREFIX/lib]
     14443   --includedir=DIR        C header files [PREFIX/include]
     14444   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     14445-  --infodir=DIR           info documentation [PREFIX/info]
     14446-  --mandir=DIR            man documentation [PREFIX/man]
     14447+  --infodir=DIR           info documentation [DATAROOTDIR/info]
     14448+  --mandir=DIR            man documentation [DATAROOTDIR/man]
     14449 EOF
     14450 
     14451   cat <<\EOF
     14452@@ -694,14 +703,15 @@
     14453   --with-rel-version=XXX  override derived release version
     14454   --with-abi-version=XXX  override derived ABI version
     14455   --with-system-type=XXX  test: override derived host system-type
     14456+  --without-ada           suppress check for Ada95, don't build demo
     14457   --without-cxx           do not adjust ncurses bool to match C++
     14458   --without-cxx-binding   do not build C++ binding and demo
     14459-  --without-ada           suppress check for Ada95, don't build demo
     14460   --without-manpages      suppress install of manpages
     14461   --without-progs         suppress build with programs (e.g., tic)
    1210614462   --without-tests         suppress build with test-programs
    1210714463   --without-curses-h      install curses.h as ncurses.h only
     
    1211114467   --enable-mixed-case     tic should assume mixed-case filenames
    1211214468   --with-install-prefix   prefixes actual install-location ($DESTDIR)
    12113 @@ -719,6 +720,7 @@
     14469@@ -719,6 +729,7 @@
    1211414470   --with-normal           generate normal-libraries (default)
    1211514471   --with-debug            generate debug-libraries (default)
     
    1211914475   --with-ticlib           generate separate tic library
    1212014476   --with-gpm              use Alessandro Rubini's GPM library
    12121 @@ -735,6 +737,7 @@
     14477@@ -735,6 +746,7 @@
    1212214478   --with-hashed-db        specify hashed-database library
    1212314479   --with-fallbacks=XXX    specify list of fallback terminal descriptions
     
    1212714483   --with-default-terminfo-dir=DIR default terminfo directory (default: DATADIR/terminfo)
    1212814484   --disable-big-core      assume machine has little memory
    12129 @@ -1007,7 +1010,7 @@
     14485@@ -759,6 +771,7 @@
     14486   --with-ospeed=TYPE      override type of ospeed variable
     14487   --with-mmask-t=TYPE     override type of mmask_t
     14488   --with-ccharw-max=XXX   override size CCHARW_MAX
     14489+  --with-tparm-arg=TYPE   override parameter type of tparm
     14490   --with-rcs-ids          compile-in RCS identifiers
     14491 Options to Specify How Manpages are Installed:
     14492   --with-manpage-format   specify manpage-format: gzip/compress/BSDI/normal and
     14493@@ -796,8 +809,9 @@
     14494   --disable-scroll-hints  compile without scroll-hints code
     14495   --enable-wgetch-events  compile with experimental wgetch-events code
     14496 Testing/development Options:
     14497-  --enable-echo           build: display "compiling" commands (default)
     14498+  --disable-echo          display "compiling" commands
     14499   --enable-warnings       build: turn on GCC compiler warnings
     14500+  --enable-string-hacks  work around bogus compiler/loader warnings
     14501   --enable-assertions     test: turn on generation of assertion code
     14502   --with-dmalloc          test: use Gray Watson's dmalloc library
     14503   --with-dbmalloc         test: use Conor Cahill's dbmalloc library
     14504@@ -883,7 +897,7 @@
     14505 running configure, to aid debugging if configure makes a mistake.
     14506 
     14507 It was created by $as_me, which was
     14508-generated by GNU Autoconf 2.52.20101002.  Invocation command line was
     14509+generated by GNU Autoconf 2.52.20120811.  Invocation command line was
     14510 
     14511   $ $0 $@
     14512 
     14513@@ -1007,7 +1021,7 @@
    1213014514 fi
    1213114515 for ac_site_file in $CONFIG_SITE; do
    1213214516   if test -r "$ac_site_file"; then
    1213314517-    { echo "$as_me:1010: loading site script $ac_site_file" >&5
    12134 +    { echo "$as_me:1013: loading site script $ac_site_file" >&5
     14518+    { echo "$as_me:1024: loading site script $ac_site_file" >&5
    1213514519 echo "$as_me: loading site script $ac_site_file" >&6;}
    1213614520     cat "$ac_site_file" >&5
    1213714521     . "$ac_site_file"
    12138 @@ -1018,7 +1021,7 @@
     14522@@ -1018,7 +1032,7 @@
    1213914523   # Some versions of bash will fail to source /dev/null (special
    1214014524   # files actually), so we avoid doing that.
    1214114525   if test -f "$cache_file"; then
    1214214526-    { echo "$as_me:1021: loading cache $cache_file" >&5
    12143 +    { echo "$as_me:1024: loading cache $cache_file" >&5
     14527+    { echo "$as_me:1035: loading cache $cache_file" >&5
    1214414528 echo "$as_me: loading cache $cache_file" >&6;}
    1214514529     case $cache_file in
    1214614530       [\\/]* | ?:[\\/]* ) . $cache_file;;
    12147 @@ -1026,7 +1029,7 @@
     14531@@ -1026,7 +1040,7 @@
    1214814532     esac
    1214914533   fi
    1215014534 else
    1215114535-  { echo "$as_me:1029: creating cache $cache_file" >&5
    12152 +  { echo "$as_me:1032: creating cache $cache_file" >&5
     14536+  { echo "$as_me:1043: creating cache $cache_file" >&5
    1215314537 echo "$as_me: creating cache $cache_file" >&6;}
    1215414538   >$cache_file
    1215514539 fi
    12156 @@ -1042,21 +1045,21 @@
     14540@@ -1042,21 +1056,21 @@
    1215714541   eval ac_new_val="\$ac_env_${ac_var}_value"
    1215814542   case $ac_old_set,$ac_new_set in
    1215914543     set,)
    1216014544-      { echo "$as_me:1045: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    12161 +      { echo "$as_me:1048: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     14545+      { echo "$as_me:1059: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1216214546 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    1216314547       ac_cache_corrupted=: ;;
    1216414548     ,set)
    1216514549-      { echo "$as_me:1049: error: \`$ac_var' was not set in the previous run" >&5
    12166 +      { echo "$as_me:1052: error: \`$ac_var' was not set in the previous run" >&5
     14550+      { echo "$as_me:1063: error: \`$ac_var' was not set in the previous run" >&5
    1216714551 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    1216814552       ac_cache_corrupted=: ;;
     
    1217114555       if test "x$ac_old_val" != "x$ac_new_val"; then
    1217214556-        { echo "$as_me:1055: error: \`$ac_var' has changed since the previous run:" >&5
    12173 +        { echo "$as_me:1058: error: \`$ac_var' has changed since the previous run:" >&5
     14557+        { echo "$as_me:1069: error: \`$ac_var' has changed since the previous run:" >&5
    1217414558 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1217514559-        { echo "$as_me:1057:   former value:  $ac_old_val" >&5
    12176 +        { echo "$as_me:1060:   former value:  $ac_old_val" >&5
     14560+        { echo "$as_me:1071:   former value:  $ac_old_val" >&5
    1217714561 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1217814562-        { echo "$as_me:1059:   current value: $ac_new_val" >&5
    12179 +        { echo "$as_me:1062:   current value: $ac_new_val" >&5
     14563+        { echo "$as_me:1073:   current value: $ac_new_val" >&5
    1218014564 echo "$as_me:   current value: $ac_new_val" >&2;}
    1218114565         ac_cache_corrupted=:
    1218214566       fi;;
    12183 @@ -1075,9 +1078,9 @@
     14567@@ -1075,9 +1089,9 @@
    1218414568   fi
    1218514569 done
    1218614570 if $ac_cache_corrupted; then
    1218714571-  { echo "$as_me:1078: error: changes in the environment can compromise the build" >&5
    12188 +  { echo "$as_me:1081: error: changes in the environment can compromise the build" >&5
     14572+  { echo "$as_me:1092: error: changes in the environment can compromise the build" >&5
    1218914573 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1219014574-  { { echo "$as_me:1080: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    12191 +  { { echo "$as_me:1083: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     14575+  { { echo "$as_me:1094: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1219214576 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1219314577    { (exit 1); exit 1; }; }
    1219414578 fi
    12195 @@ -1098,10 +1101,10 @@
     14579@@ -1098,10 +1112,10 @@
    1219614580 echo "#! $SHELL" >conftest.sh
    1219714581 echo  "exit 0"   >>conftest.sh
    1219814582 chmod +x conftest.sh
    1219914583-if { (echo "$as_me:1101: PATH=\".;.\"; conftest.sh") >&5
    12200 +if { (echo "$as_me:1104: PATH=\".;.\"; conftest.sh") >&5
     14584+if { (echo "$as_me:1115: PATH=\".;.\"; conftest.sh") >&5
    1220114585   (PATH=".;."; conftest.sh) 2>&5
    1220214586   ac_status=$?
    1220314587-  echo "$as_me:1104: \$? = $ac_status" >&5
    12204 +  echo "$as_me:1107: \$? = $ac_status" >&5
     14588+  echo "$as_me:1118: \$? = $ac_status" >&5
    1220514589   (exit $ac_status); }; then
    1220614590   ac_path_separator=';'
    1220714591 else
    12208 @@ -1114,7 +1117,7 @@
     14592@@ -1114,7 +1128,7 @@
    1220914593 
    1221014594 top_builddir=`pwd`
    1221114595 
    1221214596-echo "$as_me:1117: checking for egrep" >&5
    12213 +echo "$as_me:1120: checking for egrep" >&5
     14597+echo "$as_me:1131: checking for egrep" >&5
    1221414598 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    1221514599 if test "${ac_cv_prog_egrep+set}" = set; then
    1221614600   echo $ECHO_N "(cached) $ECHO_C" >&6
    12217 @@ -1124,11 +1127,11 @@
     14601@@ -1124,11 +1138,11 @@
    1221814602     else ac_cv_prog_egrep='egrep'
    1221914603     fi
    1222014604 fi
    1222114605-echo "$as_me:1127: result: $ac_cv_prog_egrep" >&5
    12222 +echo "$as_me:1130: result: $ac_cv_prog_egrep" >&5
     14606+echo "$as_me:1141: result: $ac_cv_prog_egrep" >&5
    1222314607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    1222414608  EGREP=$ac_cv_prog_egrep
    1222514609 
    1222614610-test -z "$EGREP" && { { echo "$as_me:1131: error: No egrep program found" >&5
    12227 +test -z "$EGREP" && { { echo "$as_me:1134: error: No egrep program found" >&5
     14611+test -z "$EGREP" && { { echo "$as_me:1145: error: No egrep program found" >&5
    1222814612 echo "$as_me: error: No egrep program found" >&2;}
    1222914613    { (exit 1); exit 1; }; }
    1223014614 
    12231 @@ -1138,7 +1141,7 @@
     14615@@ -1138,7 +1152,7 @@
    1223214616 cf_cv_abi_version=${NCURSES_MAJOR}
    1223314617 cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR}
    1223414618 cf_cv_timestamp=`date`
    1223514619-echo "$as_me:1141: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
    12236 +echo "$as_me:1144: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
     14620+echo "$as_me:1155: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5
    1223714621 echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6
    1223814622 
    1223914623 test -z "$cf_cv_rel_version" && cf_cv_rel_version=0.0
    12240 @@ -1146,7 +1149,7 @@
     14624@@ -1146,7 +1160,7 @@
    1224114625 # Check whether --with-rel-version or --without-rel-version was given.
    1224214626 if test "${with_rel_version+set}" = set; then
    1224314627   withval="$with_rel_version"
    1224414628-  { echo "$as_me:1149: WARNING: overriding release version $cf_cv_rel_version to $withval" >&5
    12245 +  { echo "$as_me:1152: WARNING: overriding release version $cf_cv_rel_version to $withval" >&5
     14629+  { echo "$as_me:1163: WARNING: overriding release version $cf_cv_rel_version to $withval" >&5
    1224614630 echo "$as_me: WARNING: overriding release version $cf_cv_rel_version to $withval" >&2;}
    1224714631  cf_cv_rel_version=$withval
    1224814632 fi;
    12249 @@ -1159,13 +1162,13 @@
     14633@@ -1159,13 +1173,13 @@
    1225014634   [0-9]*) #(vi
    1225114635        ;;
    1225214636   *)
    1225314637-       { { echo "$as_me:1162: error: Release major-version is not a number: $NCURSES_MAJOR" >&5
    12254 +       { { echo "$as_me:1165: error: Release major-version is not a number: $NCURSES_MAJOR" >&5
     14638+       { { echo "$as_me:1176: error: Release major-version is not a number: $NCURSES_MAJOR" >&5
    1225514639 echo "$as_me: error: Release major-version is not a number: $NCURSES_MAJOR" >&2;}
    1225614640    { (exit 1); exit 1; }; }
     
    1225914643 else
    1226014644-  { { echo "$as_me:1168: error: Release major-version value is empty" >&5
    12261 +  { { echo "$as_me:1171: error: Release major-version value is empty" >&5
     14645+  { { echo "$as_me:1182: error: Release major-version value is empty" >&5
    1226214646 echo "$as_me: error: Release major-version value is empty" >&2;}
    1226314647    { (exit 1); exit 1; }; }
    1226414648 fi
    12265 @@ -1175,13 +1178,13 @@
     14649@@ -1175,13 +1189,13 @@
    1226614650   [0-9]*) #(vi
    1226714651        ;;
    1226814652   *)
    1226914653-       { { echo "$as_me:1178: error: Release minor-version is not a number: $NCURSES_MINOR" >&5
    12270 +       { { echo "$as_me:1181: error: Release minor-version is not a number: $NCURSES_MINOR" >&5
     14654+       { { echo "$as_me:1192: error: Release minor-version is not a number: $NCURSES_MINOR" >&5
    1227114655 echo "$as_me: error: Release minor-version is not a number: $NCURSES_MINOR" >&2;}
    1227214656    { (exit 1); exit 1; }; }
     
    1227514659 else
    1227614660-  { { echo "$as_me:1184: error: Release minor-version value is empty" >&5
    12277 +  { { echo "$as_me:1187: error: Release minor-version value is empty" >&5
     14661+  { { echo "$as_me:1198: error: Release minor-version value is empty" >&5
    1227814662 echo "$as_me: error: Release minor-version value is empty" >&2;}
    1227914663    { (exit 1); exit 1; }; }
    1228014664 fi
    12281 @@ -1191,7 +1194,7 @@
     14665@@ -1191,7 +1205,7 @@
    1228214666 # Check whether --with-abi-version or --without-abi-version was given.
    1228314667 if test "${with_abi_version+set}" = set; then
    1228414668   withval="$with_abi_version"
    1228514669-  { echo "$as_me:1194: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&5
    12286 +  { echo "$as_me:1197: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&5
     14670+  { echo "$as_me:1208: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&5
    1228714671 echo "$as_me: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&2;}
    1228814672  cf_cv_abi_version=$withval
    1228914673 fi;
    12290 @@ -1201,13 +1204,13 @@
     14674@@ -1201,13 +1215,13 @@
    1229114675   [0-9]*) #(vi
    1229214676        ;;
    1229314677   *)
    1229414678-       { { echo "$as_me:1204: error: ABI version is not a number: $cf_cv_abi_version" >&5
    12295 +       { { echo "$as_me:1207: error: ABI version is not a number: $cf_cv_abi_version" >&5
     14679+       { { echo "$as_me:1218: error: ABI version is not a number: $cf_cv_abi_version" >&5
    1229614680 echo "$as_me: error: ABI version is not a number: $cf_cv_abi_version" >&2;}
    1229714681    { (exit 1); exit 1; }; }
     
    1230014684 else
    1230114685-  { { echo "$as_me:1210: error: ABI version value is empty" >&5
    12302 +  { { echo "$as_me:1213: error: ABI version value is empty" >&5
     14686+  { { echo "$as_me:1224: error: ABI version value is empty" >&5
    1230314687 echo "$as_me: error: ABI version value is empty" >&2;}
    1230414688    { (exit 1); exit 1; }; }
    1230514689 fi
    12306 @@ -1229,7 +1232,7 @@
     14690@@ -1229,7 +1243,7 @@
    1230714691   fi
    1230814692 done
    1230914693 if test -z "$ac_aux_dir"; then
    1231014694-  { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    12311 +  { { echo "$as_me:1235: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     14695+  { { echo "$as_me:1246: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1231214696 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    1231314697    { (exit 1); exit 1; }; }
    1231414698 fi
    12315 @@ -1239,11 +1242,11 @@
     14699@@ -1239,11 +1253,11 @@
    1231614700 
    1231714701 # Make sure we can run config.sub.
    1231814702 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1231914703-  { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5
    12320 +  { { echo "$as_me:1245: error: cannot run $ac_config_sub" >&5
     14704+  { { echo "$as_me:1256: error: cannot run $ac_config_sub" >&5
    1232114705 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1232214706    { (exit 1); exit 1; }; }
    1232314707 
    1232414708-echo "$as_me:1246: checking build system type" >&5
    12325 +echo "$as_me:1249: checking build system type" >&5
     14709+echo "$as_me:1260: checking build system type" >&5
    1232614710 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1232714711 if test "${ac_cv_build+set}" = set; then
    1232814712   echo $ECHO_N "(cached) $ECHO_C" >&6
    12329 @@ -1252,23 +1255,23 @@
     14713@@ -1252,23 +1266,23 @@
    1233014714 test -z "$ac_cv_build_alias" &&
    1233114715   ac_cv_build_alias=`$ac_config_guess`
    1233214716 test -z "$ac_cv_build_alias" &&
    1233314717-  { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5
    12334 +  { { echo "$as_me:1258: error: cannot guess build type; you must specify one" >&5
     14718+  { { echo "$as_me:1269: error: cannot guess build type; you must specify one" >&5
    1233514719 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1233614720    { (exit 1); exit 1; }; }
    1233714721 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1233814722-  { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    12339 +  { { echo "$as_me:1262: error: $ac_config_sub $ac_cv_build_alias failed." >&5
     14723+  { { echo "$as_me:1273: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    1234014724 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
    1234114725    { (exit 1); exit 1; }; }
     
    1234314727 fi
    1234414728-echo "$as_me:1264: result: $ac_cv_build" >&5
    12345 +echo "$as_me:1267: result: $ac_cv_build" >&5
     14729+echo "$as_me:1278: result: $ac_cv_build" >&5
    1234614730 echo "${ECHO_T}$ac_cv_build" >&6
    1234714731 build=$ac_cv_build
     
    1235114735 
    1235214736-echo "$as_me:1271: checking host system type" >&5
    12353 +echo "$as_me:1274: checking host system type" >&5
     14737+echo "$as_me:1285: checking host system type" >&5
    1235414738 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    1235514739 if test "${ac_cv_host+set}" = set; then
    1235614740   echo $ECHO_N "(cached) $ECHO_C" >&6
    12357 @@ -1277,12 +1280,12 @@
     14741@@ -1277,12 +1291,12 @@
    1235814742 test -z "$ac_cv_host_alias" &&
    1235914743   ac_cv_host_alias=$ac_cv_build_alias
    1236014744 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1236114745-  { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    12362 +  { { echo "$as_me:1283: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     14746+  { { echo "$as_me:1294: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1236314747 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    1236414748    { (exit 1); exit 1; }; }
     
    1236614750 fi
    1236714751-echo "$as_me:1285: result: $ac_cv_host" >&5
    12368 +echo "$as_me:1288: result: $ac_cv_host" >&5
     14752+echo "$as_me:1299: result: $ac_cv_host" >&5
    1236914753 echo "${ECHO_T}$ac_cv_host" >&6
    1237014754 host=$ac_cv_host
    1237114755 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    12372 @@ -1290,7 +1293,7 @@
     14756@@ -1290,7 +1304,7 @@
    1237314757 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1237414758 
    1237514759 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
    1237614760-       echo "$as_me:1293: checking target system type" >&5
    12377 +       echo "$as_me:1296: checking target system type" >&5
     14761+       echo "$as_me:1307: checking target system type" >&5
    1237814762 echo $ECHO_N "checking target system type... $ECHO_C" >&6
    1237914763 if test "${ac_cv_target+set}" = set; then
    1238014764   echo $ECHO_N "(cached) $ECHO_C" >&6
    12381 @@ -1299,12 +1302,12 @@
     14765@@ -1299,12 +1313,12 @@
    1238214766 test "x$ac_cv_target_alias" = "x" &&
    1238314767   ac_cv_target_alias=$ac_cv_host_alias
    1238414768 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1238514769-  { { echo "$as_me:1302: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    12386 +  { { echo "$as_me:1305: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     14770+  { { echo "$as_me:1316: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1238714771 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    1238814772    { (exit 1); exit 1; }; }
     
    1239014774 fi
    1239114775-echo "$as_me:1307: result: $ac_cv_target" >&5
    12392 +echo "$as_me:1310: result: $ac_cv_target" >&5
     14776+echo "$as_me:1321: result: $ac_cv_target" >&5
    1239314777 echo "${ECHO_T}$ac_cv_target" >&6
    1239414778 target=$ac_cv_target
    1239514779 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    12396 @@ -1335,13 +1338,13 @@
     14780@@ -1335,13 +1349,13 @@
    1239714781 fi
    1239814782 
    1239914783 test -z "$system_name" && system_name="$cf_cv_system_name"
    1240014784-test -n "$cf_cv_system_name" && echo "$as_me:1338: result: Configuring for $cf_cv_system_name" >&5
    12401 +test -n "$cf_cv_system_name" && echo "$as_me:1341: result: Configuring for $cf_cv_system_name" >&5
     14785+test -n "$cf_cv_system_name" && echo "$as_me:1352: result: Configuring for $cf_cv_system_name" >&5
    1240214786 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
    1240314787 
    1240414788 if test ".$system_name" != ".$cf_cv_system_name" ; then
    1240514789-       echo "$as_me:1342: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    12406 +       echo "$as_me:1345: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
     14790+       echo "$as_me:1356: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    1240714791 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
    1240814792-       { { echo "$as_me:1344: error: \"Please remove config.cache and try again.\"" >&5
    12409 +       { { echo "$as_me:1347: error: \"Please remove config.cache and try again.\"" >&5
     14793+       { { echo "$as_me:1358: error: \"Please remove config.cache and try again.\"" >&5
    1241014794 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
    1241114795    { (exit 1); exit 1; }; }
    1241214796 fi
    12413 @@ -1349,7 +1352,7 @@
     14797@@ -1349,7 +1363,7 @@
    1241414798 # Check whether --with-system-type or --without-system-type was given.
    1241514799 if test "${with_system_type+set}" = set; then
    1241614800   withval="$with_system_type"
    1241714801-  { echo "$as_me:1352: WARNING: overriding system type to $withval" >&5
    12418 +  { echo "$as_me:1355: WARNING: overriding system type to $withval" >&5
     14802+  { echo "$as_me:1366: WARNING: overriding system type to $withval" >&5
    1241914803 echo "$as_me: WARNING: overriding system type to $withval" >&2;}
    1242014804  cf_cv_system_name=$withval
    1242114805 fi;
    12422 @@ -1359,23 +1362,23 @@
     14806@@ -1359,23 +1373,23 @@
    1242314807 
    1242414808 ###    Default install-location
    1242514809 
    1242614810-echo "$as_me:1362: checking for prefix" >&5
    12427 +echo "$as_me:1365: checking for prefix" >&5
     14811+echo "$as_me:1376: checking for prefix" >&5
    1242814812 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
    1242914813 if test "x$prefix" = "xNONE" ; then
     
    1243914823 fi
    1244014824-echo "$as_me:1374: result: $prefix" >&5
    12441 +echo "$as_me:1377: result: $prefix" >&5
     14825+echo "$as_me:1388: result: $prefix" >&5
    1244214826 echo "${ECHO_T}$prefix" >&6
    1244314827 
    1244414828 if test "x$prefix" = "xNONE" ; then
    1244514829-echo "$as_me:1378: checking for default include-directory" >&5
    12446 +echo "$as_me:1381: checking for default include-directory" >&5
     14830+echo "$as_me:1392: checking for default include-directory" >&5
    1244714831 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6
    1244814832 test -n "$verbose" && echo 1>&6
    1244914833 for cf_symbol in \
    12450 @@ -1398,7 +1401,7 @@
     14834@@ -1398,11 +1412,26 @@
    1245114835        fi
    1245214836        test -n "$verbose"  && echo "   tested $cf_dir" 1>&6
    1245314837 done
    1245414838-echo "$as_me:1401: result: $includedir" >&5
    12455 +echo "$as_me:1404: result: $includedir" >&5
     14839+echo "$as_me:1415: result: $includedir" >&5
    1245614840 echo "${ECHO_T}$includedir" >&6
    1245714841 fi
    1245814842 
    12459 @@ -1412,7 +1415,7 @@
     14843 ###    Checks for programs.
     14844+
     14845+# Check whether --with-ada or --without-ada was given.
     14846+if test "${with_ada+set}" = set; then
     14847+  withval="$with_ada"
     14848+  cf_with_ada=$withval
     14849+else
     14850+  cf_with_ada=yes
     14851+fi;
     14852+if test x"$cf_with_ada" = xyes
     14853+then
     14854+       cf_PROG_CC="gnatgcc gcc cc"
     14855+else
     14856+       cf_PROG_CC="gcc cc"
     14857+fi
     14858+
     14859 ac_ext=c
     14860 ac_cpp='$CPP $CPPFLAGS'
     14861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     14862@@ -1410,213 +1439,11 @@
     14863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     14864 ac_main_return=return
    1246014865 if test -n "$ac_tool_prefix"; then
    12461    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    12462  set dummy ${ac_tool_prefix}gcc; ac_word=$2
     14866-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     14867-set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1246314868-echo "$as_me:1415: checking for $ac_word" >&5
    12464 +echo "$as_me:1418: checking for $ac_word" >&5
    12465  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12466  if test "${ac_cv_prog_CC+set}" = set; then
    12467    echo $ECHO_N "(cached) $ECHO_C" >&6
    12468 @@ -1427,7 +1430,7 @@
    12469    test -z "$ac_dir" && ac_dir=.
    12470    $as_executable_p "$ac_dir/$ac_word" || continue
    12471  ac_cv_prog_CC="${ac_tool_prefix}gcc"
     14869-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     14870-if test "${ac_cv_prog_CC+set}" = set; then
     14871-  echo $ECHO_N "(cached) $ECHO_C" >&6
     14872-else
     14873-  if test -n "$CC"; then
     14874-  ac_cv_prog_CC="$CC" # Let the user override the test.
     14875-else
     14876-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     14877-ac_dummy="$PATH"
     14878-for ac_dir in $ac_dummy; do
     14879-  IFS=$ac_save_IFS
     14880-  test -z "$ac_dir" && ac_dir=.
     14881-  $as_executable_p "$ac_dir/$ac_word" || continue
     14882-ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1247214883-echo "$as_me:1430: found $ac_dir/$ac_word" >&5
    12473 +echo "$as_me:1433: found $ac_dir/$ac_word" >&5
    12474  break
    12475  done
    12476  
    12477 @@ -1435,10 +1438,10 @@
    12478  fi
    12479  CC=$ac_cv_prog_CC
    12480  if test -n "$CC"; then
     14884-break
     14885-done
     14886-
     14887-fi
     14888-fi
     14889-CC=$ac_cv_prog_CC
     14890-if test -n "$CC"; then
    1248114891-  echo "$as_me:1438: result: $CC" >&5
    12482 +  echo "$as_me:1441: result: $CC" >&5
    12483  echo "${ECHO_T}$CC" >&6
    12484  else
     14892-echo "${ECHO_T}$CC" >&6
     14893-else
    1248514894-  echo "$as_me:1441: result: no" >&5
    12486 +  echo "$as_me:1444: result: no" >&5
    12487  echo "${ECHO_T}no" >&6
    12488  fi
    12489  
    12490 @@ -1447,7 +1450,7 @@
    12491    ac_ct_CC=$CC
    12492    # Extract the first word of "gcc", so it can be a program name with args.
    12493  set dummy gcc; ac_word=$2
     14895-echo "${ECHO_T}no" >&6
     14896-fi
     14897-
     14898-fi
     14899-if test -z "$ac_cv_prog_CC"; then
     14900-  ac_ct_CC=$CC
     14901-  # Extract the first word of "gcc", so it can be a program name with args.
     14902-set dummy gcc; ac_word=$2
    1249414903-echo "$as_me:1450: checking for $ac_word" >&5
    12495 +echo "$as_me:1453: checking for $ac_word" >&5
    12496  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12497  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    12498    echo $ECHO_N "(cached) $ECHO_C" >&6
    12499 @@ -1462,7 +1465,7 @@
    12500    test -z "$ac_dir" && ac_dir=.
    12501    $as_executable_p "$ac_dir/$ac_word" || continue
    12502  ac_cv_prog_ac_ct_CC="gcc"
     14904-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     14905-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     14906-  echo $ECHO_N "(cached) $ECHO_C" >&6
     14907-else
     14908-  if test -n "$ac_ct_CC"; then
     14909-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     14910-else
     14911-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     14912-ac_dummy="$PATH"
     14913-for ac_dir in $ac_dummy; do
     14914-  IFS=$ac_save_IFS
     14915-  test -z "$ac_dir" && ac_dir=.
     14916-  $as_executable_p "$ac_dir/$ac_word" || continue
     14917-ac_cv_prog_ac_ct_CC="gcc"
    1250314918-echo "$as_me:1465: found $ac_dir/$ac_word" >&5
    12504 +echo "$as_me:1468: found $ac_dir/$ac_word" >&5
    12505  break
    12506  done
    12507  
    12508 @@ -1470,10 +1473,10 @@
    12509  fi
    12510  ac_ct_CC=$ac_cv_prog_ac_ct_CC
    12511  if test -n "$ac_ct_CC"; then
     14919-break
     14920-done
     14921-
     14922-fi
     14923-fi
     14924-ac_ct_CC=$ac_cv_prog_ac_ct_CC
     14925-if test -n "$ac_ct_CC"; then
    1251214926-  echo "$as_me:1473: result: $ac_ct_CC" >&5
    12513 +  echo "$as_me:1476: result: $ac_ct_CC" >&5
    12514  echo "${ECHO_T}$ac_ct_CC" >&6
    12515  else
     14927-echo "${ECHO_T}$ac_ct_CC" >&6
     14928-else
    1251614929-  echo "$as_me:1476: result: no" >&5
    12517 +  echo "$as_me:1479: result: no" >&5
    12518  echo "${ECHO_T}no" >&6
    12519  fi
    12520  
    12521 @@ -1486,7 +1489,7 @@
    12522    if test -n "$ac_tool_prefix"; then
    12523    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    12524  set dummy ${ac_tool_prefix}cc; ac_word=$2
     14930-echo "${ECHO_T}no" >&6
     14931-fi
     14932-
     14933-  CC=$ac_ct_CC
     14934-else
     14935-  CC="$ac_cv_prog_CC"
     14936-fi
     14937-
     14938-if test -z "$CC"; then
     14939-  if test -n "$ac_tool_prefix"; then
     14940-  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     14941-set dummy ${ac_tool_prefix}cc; ac_word=$2
    1252514942-echo "$as_me:1489: checking for $ac_word" >&5
    12526 +echo "$as_me:1492: checking for $ac_word" >&5
    12527  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12528  if test "${ac_cv_prog_CC+set}" = set; then
    12529    echo $ECHO_N "(cached) $ECHO_C" >&6
    12530 @@ -1501,7 +1504,7 @@
    12531    test -z "$ac_dir" && ac_dir=.
    12532    $as_executable_p "$ac_dir/$ac_word" || continue
    12533  ac_cv_prog_CC="${ac_tool_prefix}cc"
     14943-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     14944-if test "${ac_cv_prog_CC+set}" = set; then
     14945-  echo $ECHO_N "(cached) $ECHO_C" >&6
     14946-else
     14947-  if test -n "$CC"; then
     14948-  ac_cv_prog_CC="$CC" # Let the user override the test.
     14949-else
     14950-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     14951-ac_dummy="$PATH"
     14952-for ac_dir in $ac_dummy; do
     14953-  IFS=$ac_save_IFS
     14954-  test -z "$ac_dir" && ac_dir=.
     14955-  $as_executable_p "$ac_dir/$ac_word" || continue
     14956-ac_cv_prog_CC="${ac_tool_prefix}cc"
    1253414957-echo "$as_me:1504: found $ac_dir/$ac_word" >&5
    12535 +echo "$as_me:1507: found $ac_dir/$ac_word" >&5
    12536  break
    12537  done
    12538  
    12539 @@ -1509,10 +1512,10 @@
    12540  fi
    12541  CC=$ac_cv_prog_CC
    12542  if test -n "$CC"; then
     14958-break
     14959-done
     14960-
     14961-fi
     14962-fi
     14963-CC=$ac_cv_prog_CC
     14964-if test -n "$CC"; then
    1254314965-  echo "$as_me:1512: result: $CC" >&5
    12544 +  echo "$as_me:1515: result: $CC" >&5
    12545  echo "${ECHO_T}$CC" >&6
    12546  else
     14966-echo "${ECHO_T}$CC" >&6
     14967-else
    1254714968-  echo "$as_me:1515: result: no" >&5
    12548 +  echo "$as_me:1518: result: no" >&5
    12549  echo "${ECHO_T}no" >&6
    12550  fi
    12551  
    12552 @@ -1521,7 +1524,7 @@
    12553    ac_ct_CC=$CC
    12554    # Extract the first word of "cc", so it can be a program name with args.
    12555  set dummy cc; ac_word=$2
     14969-echo "${ECHO_T}no" >&6
     14970-fi
     14971-
     14972-fi
     14973-if test -z "$ac_cv_prog_CC"; then
     14974-  ac_ct_CC=$CC
     14975-  # Extract the first word of "cc", so it can be a program name with args.
     14976-set dummy cc; ac_word=$2
    1255614977-echo "$as_me:1524: checking for $ac_word" >&5
    12557 +echo "$as_me:1527: checking for $ac_word" >&5
    12558  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12559  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    12560    echo $ECHO_N "(cached) $ECHO_C" >&6
    12561 @@ -1536,7 +1539,7 @@
    12562    test -z "$ac_dir" && ac_dir=.
    12563    $as_executable_p "$ac_dir/$ac_word" || continue
    12564  ac_cv_prog_ac_ct_CC="cc"
     14978-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     14979-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     14980-  echo $ECHO_N "(cached) $ECHO_C" >&6
     14981-else
     14982-  if test -n "$ac_ct_CC"; then
     14983-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     14984-else
     14985-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     14986-ac_dummy="$PATH"
     14987-for ac_dir in $ac_dummy; do
     14988-  IFS=$ac_save_IFS
     14989-  test -z "$ac_dir" && ac_dir=.
     14990-  $as_executable_p "$ac_dir/$ac_word" || continue
     14991-ac_cv_prog_ac_ct_CC="cc"
    1256514992-echo "$as_me:1539: found $ac_dir/$ac_word" >&5
    12566 +echo "$as_me:1542: found $ac_dir/$ac_word" >&5
    12567  break
    12568  done
    12569  
    12570 @@ -1544,10 +1547,10 @@
    12571  fi
    12572  ac_ct_CC=$ac_cv_prog_ac_ct_CC
    12573  if test -n "$ac_ct_CC"; then
     14993-break
     14994-done
     14995-
     14996-fi
     14997-fi
     14998-ac_ct_CC=$ac_cv_prog_ac_ct_CC
     14999-if test -n "$ac_ct_CC"; then
    1257415000-  echo "$as_me:1547: result: $ac_ct_CC" >&5
    12575 +  echo "$as_me:1550: result: $ac_ct_CC" >&5
    12576  echo "${ECHO_T}$ac_ct_CC" >&6
    12577  else
     15001-echo "${ECHO_T}$ac_ct_CC" >&6
     15002-else
    1257815003-  echo "$as_me:1550: result: no" >&5
    12579 +  echo "$as_me:1553: result: no" >&5
    12580  echo "${ECHO_T}no" >&6
    12581  fi
    12582  
    12583 @@ -1560,7 +1563,7 @@
    12584  if test -z "$CC"; then
    12585    # Extract the first word of "cc", so it can be a program name with args.
    12586  set dummy cc; ac_word=$2
     15004-echo "${ECHO_T}no" >&6
     15005-fi
     15006-
     15007-  CC=$ac_ct_CC
     15008-else
     15009-  CC="$ac_cv_prog_CC"
     15010-fi
     15011-
     15012-fi
     15013-if test -z "$CC"; then
     15014-  # Extract the first word of "cc", so it can be a program name with args.
     15015-set dummy cc; ac_word=$2
    1258715016-echo "$as_me:1563: checking for $ac_word" >&5
    12588 +echo "$as_me:1566: checking for $ac_word" >&5
    12589  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    12590  if test "${ac_cv_prog_CC+set}" = set; then
    12591    echo $ECHO_N "(cached) $ECHO_C" >&6
    12592 @@ -1580,7 +1583,7 @@
    12593    continue
    12594  fi
    12595  ac_cv_prog_CC="cc"
     15017-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     15018-if test "${ac_cv_prog_CC+set}" = set; then
     15019-  echo $ECHO_N "(cached) $ECHO_C" >&6
     15020-else
     15021-  if test -n "$CC"; then
     15022-  ac_cv_prog_CC="$CC" # Let the user override the test.
     15023-else
     15024-  ac_prog_rejected=no
     15025-  ac_save_IFS=$IFS; IFS=$ac_path_separator
     15026-ac_dummy="$PATH"
     15027-for ac_dir in $ac_dummy; do
     15028-  IFS=$ac_save_IFS
     15029-  test -z "$ac_dir" && ac_dir=.
     15030-  $as_executable_p "$ac_dir/$ac_word" || continue
     15031-if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     15032-  ac_prog_rejected=yes
     15033-  continue
     15034-fi
     15035-ac_cv_prog_CC="cc"
    1259615036-echo "$as_me:1583: found $ac_dir/$ac_word" >&5
    12597 +echo "$as_me:1586: found $ac_dir/$ac_word" >&5
    12598  break
    12599  done
    12600  
    12601 @@ -1602,10 +1605,10 @@
    12602  fi
    12603  CC=$ac_cv_prog_CC
    12604  if test -n "$CC"; then
     15037-break
     15038-done
     15039-
     15040-if test $ac_prog_rejected = yes; then
     15041-  # We found a bogon in the path, so make sure we never use it.
     15042-  set dummy $ac_cv_prog_CC
     15043-  shift
     15044-  if test $# != 0; then
     15045-    # We chose a different compiler from the bogus one.
     15046-    # However, it has the same basename, so the bogon will be chosen
     15047-    # first if we set CC to just the basename; use the full file name.
     15048-    shift
     15049-    set dummy "$ac_dir/$ac_word" ${1+"$@"}
     15050-    shift
     15051-    ac_cv_prog_CC="$@"
     15052-  fi
     15053-fi
     15054-fi
     15055-fi
     15056-CC=$ac_cv_prog_CC
     15057-if test -n "$CC"; then
    1260515058-  echo "$as_me:1605: result: $CC" >&5
    12606 +  echo "$as_me:1608: result: $CC" >&5
    12607  echo "${ECHO_T}$CC" >&6
    12608  else
     15059-echo "${ECHO_T}$CC" >&6
     15060-else
    1260915061-  echo "$as_me:1608: result: no" >&5
    12610 +  echo "$as_me:1611: result: no" >&5
    12611  echo "${ECHO_T}no" >&6
    12612  fi
    12613  
    12614 @@ -1616,7 +1619,7 @@
     15062-echo "${ECHO_T}no" >&6
     15063-fi
     15064-
     15065-fi
     15066-if test -z "$CC"; then
     15067-  if test -n "$ac_tool_prefix"; then
     15068-  for ac_prog in cl
     15069+  for ac_prog in $cf_PROG_CC
    1261515070   do
    1261615071     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1261715072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1261815073-echo "$as_me:1619: checking for $ac_word" >&5
    12619 +echo "$as_me:1622: checking for $ac_word" >&5
     15074+echo "$as_me:1446: checking for $ac_word" >&5
    1262015075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1262115076 if test "${ac_cv_prog_CC+set}" = set; then
    1262215077   echo $ECHO_N "(cached) $ECHO_C" >&6
    12623 @@ -1631,7 +1634,7 @@
     15078@@ -1631,7 +1458,7 @@
    1262415079   test -z "$ac_dir" && ac_dir=.
    1262515080   $as_executable_p "$ac_dir/$ac_word" || continue
    1262615081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1262715082-echo "$as_me:1634: found $ac_dir/$ac_word" >&5
    12628 +echo "$as_me:1637: found $ac_dir/$ac_word" >&5
     15083+echo "$as_me:1461: found $ac_dir/$ac_word" >&5
    1262915084 break
    1263015085 done
    1263115086 
    12632 @@ -1639,10 +1642,10 @@
     15087@@ -1639,10 +1466,10 @@
    1263315088 fi
    1263415089 CC=$ac_cv_prog_CC
    1263515090 if test -n "$CC"; then
    1263615091-  echo "$as_me:1642: result: $CC" >&5
    12637 +  echo "$as_me:1645: result: $CC" >&5
     15092+  echo "$as_me:1469: result: $CC" >&5
    1263815093 echo "${ECHO_T}$CC" >&6
    1263915094 else
    1264015095-  echo "$as_me:1645: result: no" >&5
    12641 +  echo "$as_me:1648: result: no" >&5
     15096+  echo "$as_me:1472: result: no" >&5
    1264215097 echo "${ECHO_T}no" >&6
    1264315098 fi
    1264415099 
    12645 @@ -1655,7 +1658,7 @@
     15100@@ -1651,11 +1478,11 @@
     15101 fi
     15102 if test -z "$CC"; then
     15103   ac_ct_CC=$CC
     15104-  for ac_prog in cl
     15105+  for ac_prog in $cf_PROG_CC
    1264615106 do
    1264715107   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1264815108 set dummy $ac_prog; ac_word=$2
    1264915109-echo "$as_me:1658: checking for $ac_word" >&5
    12650 +echo "$as_me:1661: checking for $ac_word" >&5
     15110+echo "$as_me:1485: checking for $ac_word" >&5
    1265115111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1265215112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1265315113   echo $ECHO_N "(cached) $ECHO_C" >&6
    12654 @@ -1670,7 +1673,7 @@
     15114@@ -1670,7 +1497,7 @@
    1265515115   test -z "$ac_dir" && ac_dir=.
    1265615116   $as_executable_p "$ac_dir/$ac_word" || continue
    1265715117 ac_cv_prog_ac_ct_CC="$ac_prog"
    1265815118-echo "$as_me:1673: found $ac_dir/$ac_word" >&5
    12659 +echo "$as_me:1676: found $ac_dir/$ac_word" >&5
     15119+echo "$as_me:1500: found $ac_dir/$ac_word" >&5
    1266015120 break
    1266115121 done
    1266215122 
    12663 @@ -1678,10 +1681,10 @@
     15123@@ -1678,10 +1505,10 @@
    1266415124 fi
    1266515125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1266615126 if test -n "$ac_ct_CC"; then
    1266715127-  echo "$as_me:1681: result: $ac_ct_CC" >&5
    12668 +  echo "$as_me:1684: result: $ac_ct_CC" >&5
     15128+  echo "$as_me:1508: result: $ac_ct_CC" >&5
    1266915129 echo "${ECHO_T}$ac_ct_CC" >&6
    1267015130 else
    1267115131-  echo "$as_me:1684: result: no" >&5
    12672 +  echo "$as_me:1687: result: no" >&5
     15132+  echo "$as_me:1511: result: no" >&5
    1267315133 echo "${ECHO_T}no" >&6
    1267415134 fi
    1267515135 
    12676 @@ -1693,32 +1696,32 @@
    12677  
    12678  fi
    12679  
     15136@@ -1691,34 +1518,32 @@
     15137   CC=$ac_ct_CC
     15138 fi
     15139 
     15140-fi
     15141-
    1268015142-test -z "$CC" && { { echo "$as_me:1696: error: no acceptable cc found in \$PATH" >&5
    12681 +test -z "$CC" && { { echo "$as_me:1699: error: no acceptable cc found in \$PATH" >&5
     15143+test -z "$CC" && { { echo "$as_me:1521: error: no acceptable cc found in \$PATH" >&5
    1268215144 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
    1268315145    { (exit 1); exit 1; }; }
     
    1268515147 # Provide some information about the compiler.
    1268615148-echo "$as_me:1701:" \
    12687 +echo "$as_me:1704:" \
     15149+echo "$as_me:1526:" \
    1268815150      "checking for C compiler version" >&5
    1268915151 ac_compiler=`set X $ac_compile; echo $2`
    1269015152-{ (eval echo "$as_me:1704: \"$ac_compiler --version </dev/null >&5\"") >&5
    12691 +{ (eval echo "$as_me:1707: \"$ac_compiler --version </dev/null >&5\"") >&5
     15153+{ (eval echo "$as_me:1529: \"$ac_compiler --version </dev/null >&5\"") >&5
    1269215154   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1269315155   ac_status=$?
    1269415156-  echo "$as_me:1707: \$? = $ac_status" >&5
    12695 +  echo "$as_me:1710: \$? = $ac_status" >&5
     15157+  echo "$as_me:1532: \$? = $ac_status" >&5
    1269615158   (exit $ac_status); }
    1269715159-{ (eval echo "$as_me:1709: \"$ac_compiler -v </dev/null >&5\"") >&5
    12698 +{ (eval echo "$as_me:1712: \"$ac_compiler -v </dev/null >&5\"") >&5
     15160+{ (eval echo "$as_me:1534: \"$ac_compiler -v </dev/null >&5\"") >&5
    1269915161   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1270015162   ac_status=$?
    1270115163-  echo "$as_me:1712: \$? = $ac_status" >&5
    12702 +  echo "$as_me:1715: \$? = $ac_status" >&5
     15164+  echo "$as_me:1537: \$? = $ac_status" >&5
    1270315165   (exit $ac_status); }
    1270415166-{ (eval echo "$as_me:1714: \"$ac_compiler -V </dev/null >&5\"") >&5
    12705 +{ (eval echo "$as_me:1717: \"$ac_compiler -V </dev/null >&5\"") >&5
     15167+{ (eval echo "$as_me:1539: \"$ac_compiler -V </dev/null >&5\"") >&5
    1270615168   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1270715169   ac_status=$?
    1270815170-  echo "$as_me:1717: \$? = $ac_status" >&5
    12709 +  echo "$as_me:1720: \$? = $ac_status" >&5
     15171+  echo "$as_me:1542: \$? = $ac_status" >&5
    1271015172   (exit $ac_status); }
    1271115173 
    1271215174 cat >conftest.$ac_ext <<_ACEOF
    1271315175-#line 1721 "configure"
    12714 +#line 1724 "configure"
     15176+#line 1546 "configure"
    1271515177 #include "confdefs.h"
    1271615178 
    1271715179 int
    12718 @@ -1734,13 +1737,13 @@
     15180@@ -1734,13 +1559,13 @@
    1271915181 # Try to create an executable without -o first, disregard a.out.
    1272015182 # It will help us diagnose broken compilers, and finding out an intuition
    1272115183 # of exeext.
    1272215184-echo "$as_me:1737: checking for C compiler default output" >&5
    12723 +echo "$as_me:1740: checking for C compiler default output" >&5
     15185+echo "$as_me:1562: checking for C compiler default output" >&5
    1272415186 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    1272515187 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1272615188-if { (eval echo "$as_me:1740: \"$ac_link_default\"") >&5
    12727 +if { (eval echo "$as_me:1743: \"$ac_link_default\"") >&5
     15189+if { (eval echo "$as_me:1565: \"$ac_link_default\"") >&5
    1272815190   (eval $ac_link_default) 2>&5
    1272915191   ac_status=$?
    1273015192-  echo "$as_me:1743: \$? = $ac_status" >&5
    12731 +  echo "$as_me:1746: \$? = $ac_status" >&5
     15193+  echo "$as_me:1568: \$? = $ac_status" >&5
    1273215194   (exit $ac_status); }; then
    1273315195   # Find the output, starting from the most likely.  This scheme is
    1273415196 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    12735 @@ -1763,34 +1766,34 @@
     15197@@ -1763,34 +1588,34 @@
    1273615198 else
    1273715199   echo "$as_me: failed program was:" >&5
    1273815200 cat conftest.$ac_ext >&5
    1273915201-{ { echo "$as_me:1766: error: C compiler cannot create executables" >&5
    12740 +{ { echo "$as_me:1769: error: C compiler cannot create executables" >&5
     15202+{ { echo "$as_me:1591: error: C compiler cannot create executables" >&5
    1274115203 echo "$as_me: error: C compiler cannot create executables" >&2;}
    1274215204    { (exit 77); exit 77; }; }
     
    1274515207 ac_exeext=$ac_cv_exeext
    1274615208-echo "$as_me:1772: result: $ac_file" >&5
    12747 +echo "$as_me:1775: result: $ac_file" >&5
     15209+echo "$as_me:1597: result: $ac_file" >&5
    1274815210 echo "${ECHO_T}$ac_file" >&6
    1274915211 
     
    1275115213 # the compiler is broken, or we cross compile.
    1275215214-echo "$as_me:1777: checking whether the C compiler works" >&5
    12753 +echo "$as_me:1780: checking whether the C compiler works" >&5
     15215+echo "$as_me:1602: checking whether the C compiler works" >&5
    1275415216 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1275515217 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     
    1275815220   if { ac_try='./$ac_file'
    1275915221-  { (eval echo "$as_me:1783: \"$ac_try\"") >&5
    12760 +  { (eval echo "$as_me:1786: \"$ac_try\"") >&5
     15222+  { (eval echo "$as_me:1608: \"$ac_try\"") >&5
    1276115223   (eval $ac_try) 2>&5
    1276215224   ac_status=$?
    1276315225-  echo "$as_me:1786: \$? = $ac_status" >&5
    12764 +  echo "$as_me:1789: \$? = $ac_status" >&5
     15226+  echo "$as_me:1611: \$? = $ac_status" >&5
    1276515227   (exit $ac_status); }; }; then
    1276615228     cross_compiling=no
     
    1277015232     else
    1277115233-       { { echo "$as_me:1793: error: cannot run C compiled programs.
    12772 +       { { echo "$as_me:1796: error: cannot run C compiled programs.
     15234+       { { echo "$as_me:1618: error: cannot run C compiled programs.
    1277315235 If you meant to cross compile, use \`--host'." >&5
    1277415236 echo "$as_me: error: cannot run C compiled programs.
    1277515237 If you meant to cross compile, use \`--host'." >&2;}
    12776 @@ -1798,24 +1801,24 @@
     15238@@ -1798,24 +1623,24 @@
    1277715239     fi
    1277815240   fi
    1277915241 fi
    1278015242-echo "$as_me:1801: result: yes" >&5
    12781 +echo "$as_me:1804: result: yes" >&5
     15243+echo "$as_me:1626: result: yes" >&5
    1278215244 echo "${ECHO_T}yes" >&6
    1278315245 
     
    1278715249 # the compiler is broken, or we cross compile.
    1278815250-echo "$as_me:1808: checking whether we are cross compiling" >&5
    12789 +echo "$as_me:1811: checking whether we are cross compiling" >&5
     15251+echo "$as_me:1633: checking whether we are cross compiling" >&5
    1279015252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1279115253-echo "$as_me:1810: result: $cross_compiling" >&5
    12792 +echo "$as_me:1813: result: $cross_compiling" >&5
     15254+echo "$as_me:1635: result: $cross_compiling" >&5
    1279315255 echo "${ECHO_T}$cross_compiling" >&6
    1279415256 
    1279515257-echo "$as_me:1813: checking for executable suffix" >&5
    12796 +echo "$as_me:1816: checking for executable suffix" >&5
     15258+echo "$as_me:1638: checking for executable suffix" >&5
    1279715259 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
    1279815260-if { (eval echo "$as_me:1815: \"$ac_link\"") >&5
    12799 +if { (eval echo "$as_me:1818: \"$ac_link\"") >&5
     15261+if { (eval echo "$as_me:1640: \"$ac_link\"") >&5
    1280015262   (eval $ac_link) 2>&5
    1280115263   ac_status=$?
    1280215264-  echo "$as_me:1818: \$? = $ac_status" >&5
    12803 +  echo "$as_me:1821: \$? = $ac_status" >&5
     15265+  echo "$as_me:1643: \$? = $ac_status" >&5
    1280415266   (exit $ac_status); }; then
    1280515267   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    1280615268 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    12807 @@ -1831,25 +1834,25 @@
     15269@@ -1831,25 +1656,25 @@
    1280815270   esac
    1280915271 done
    1281015272 else
    1281115273-  { { echo "$as_me:1834: error: cannot compute EXEEXT: cannot compile and link" >&5
    12812 +  { { echo "$as_me:1837: error: cannot compute EXEEXT: cannot compile and link" >&5
     15274+  { { echo "$as_me:1659: error: cannot compute EXEEXT: cannot compile and link" >&5
    1281315275 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
    1281415276    { (exit 1); exit 1; }; }
     
    1281715279 rm -f conftest$ac_cv_exeext
    1281815280-echo "$as_me:1840: result: $ac_cv_exeext" >&5
    12819 +echo "$as_me:1843: result: $ac_cv_exeext" >&5
     15281+echo "$as_me:1665: result: $ac_cv_exeext" >&5
    1282015282 echo "${ECHO_T}$ac_cv_exeext" >&6
    1282115283 
     
    1282415286 ac_exeext=$EXEEXT
    1282515287-echo "$as_me:1846: checking for object suffix" >&5
    12826 +echo "$as_me:1849: checking for object suffix" >&5
     15288+echo "$as_me:1671: checking for object suffix" >&5
    1282715289 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
    1282815290 if test "${ac_cv_objext+set}" = set; then
     
    1283115293   cat >conftest.$ac_ext <<_ACEOF
    1283215294-#line 1852 "configure"
    12833 +#line 1855 "configure"
     15295+#line 1677 "configure"
    1283415296 #include "confdefs.h"
    1283515297 
    1283615298 int
    12837 @@ -1861,10 +1864,10 @@
     15299@@ -1861,10 +1686,10 @@
    1283815300 }
    1283915301 _ACEOF
    1284015302 rm -f conftest.o conftest.obj
    1284115303-if { (eval echo "$as_me:1864: \"$ac_compile\"") >&5
    12842 +if { (eval echo "$as_me:1867: \"$ac_compile\"") >&5
     15304+if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5
    1284315305   (eval $ac_compile) 2>&5
    1284415306   ac_status=$?
    1284515307-  echo "$as_me:1867: \$? = $ac_status" >&5
    12846 +  echo "$as_me:1870: \$? = $ac_status" >&5
     15308+  echo "$as_me:1692: \$? = $ac_status" >&5
    1284715309   (exit $ac_status); }; then
    1284815310   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    1284915311   case $ac_file in
    12850 @@ -1876,24 +1879,24 @@
     15312@@ -1876,24 +1701,24 @@
    1285115313 else
    1285215314   echo "$as_me: failed program was:" >&5
    1285315315 cat conftest.$ac_ext >&5
    1285415316-{ { echo "$as_me:1879: error: cannot compute OBJEXT: cannot compile" >&5
    12855 +{ { echo "$as_me:1882: error: cannot compute OBJEXT: cannot compile" >&5
     15317+{ { echo "$as_me:1704: error: cannot compute OBJEXT: cannot compile" >&5
    1285615318 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
    1285715319    { (exit 1); exit 1; }; }
     
    1286115323 fi
    1286215324-echo "$as_me:1886: result: $ac_cv_objext" >&5
    12863 +echo "$as_me:1889: result: $ac_cv_objext" >&5
     15325+echo "$as_me:1711: result: $ac_cv_objext" >&5
    1286415326 echo "${ECHO_T}$ac_cv_objext" >&6
    1286515327 OBJEXT=$ac_cv_objext
    1286615328 ac_objext=$OBJEXT
    1286715329-echo "$as_me:1890: checking whether we are using the GNU C compiler" >&5
    12868 +echo "$as_me:1893: checking whether we are using the GNU C compiler" >&5
     15330+echo "$as_me:1715: checking whether we are using the GNU C compiler" >&5
    1286915331 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1287015332 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     
    1287315335   cat >conftest.$ac_ext <<_ACEOF
    1287415336-#line 1896 "configure"
    12875 +#line 1899 "configure"
     15337+#line 1721 "configure"
    1287615338 #include "confdefs.h"
    1287715339 
    1287815340 int
    12879 @@ -1908,16 +1911,16 @@
     15341@@ -1908,16 +1733,16 @@
    1288015342 }
    1288115343 _ACEOF
    1288215344 rm -f conftest.$ac_objext
    1288315345-if { (eval echo "$as_me:1911: \"$ac_compile\"") >&5
    12884 +if { (eval echo "$as_me:1914: \"$ac_compile\"") >&5
     15346+if { (eval echo "$as_me:1736: \"$ac_compile\"") >&5
    1288515347   (eval $ac_compile) 2>&5
    1288615348   ac_status=$?
    1288715349-  echo "$as_me:1914: \$? = $ac_status" >&5
    12888 +  echo "$as_me:1917: \$? = $ac_status" >&5
     15350+  echo "$as_me:1739: \$? = $ac_status" >&5
    1288915351   (exit $ac_status); } &&
    1289015352          { ac_try='test -s conftest.$ac_objext'
    1289115353-  { (eval echo "$as_me:1917: \"$ac_try\"") >&5
    12892 +  { (eval echo "$as_me:1920: \"$ac_try\"") >&5
     15354+  { (eval echo "$as_me:1742: \"$ac_try\"") >&5
    1289315355   (eval $ac_try) 2>&5
    1289415356   ac_status=$?
    1289515357-  echo "$as_me:1920: \$? = $ac_status" >&5
    12896 +  echo "$as_me:1923: \$? = $ac_status" >&5
     15358+  echo "$as_me:1745: \$? = $ac_status" >&5
    1289715359   (exit $ac_status); }; }; then
    1289815360   ac_compiler_gnu=yes
    1289915361 else
    12900 @@ -1929,19 +1932,19 @@
     15362@@ -1929,19 +1754,19 @@
    1290115363 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    1290215364 
    1290315365 fi
    1290415366-echo "$as_me:1932: result: $ac_cv_c_compiler_gnu" >&5
    12905 +echo "$as_me:1935: result: $ac_cv_c_compiler_gnu" >&5
     15367+echo "$as_me:1757: result: $ac_cv_c_compiler_gnu" >&5
    1290615368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    1290715369 GCC=`test $ac_compiler_gnu = yes && echo yes`
     
    1291015372 CFLAGS="-g"
    1291115373-echo "$as_me:1938: checking whether $CC accepts -g" >&5
    12912 +echo "$as_me:1941: checking whether $CC accepts -g" >&5
     15374+echo "$as_me:1763: checking whether $CC accepts -g" >&5
    1291315375 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    1291415376 if test "${ac_cv_prog_cc_g+set}" = set; then
     
    1291715379   cat >conftest.$ac_ext <<_ACEOF
    1291815380-#line 1944 "configure"
    12919 +#line 1947 "configure"
     15381+#line 1769 "configure"
    1292015382 #include "confdefs.h"
    1292115383 
    1292215384 int
    12923 @@ -1953,16 +1956,16 @@
     15385@@ -1953,16 +1778,16 @@
    1292415386 }
    1292515387 _ACEOF
    1292615388 rm -f conftest.$ac_objext
    1292715389-if { (eval echo "$as_me:1956: \"$ac_compile\"") >&5
    12928 +if { (eval echo "$as_me:1959: \"$ac_compile\"") >&5
     15390+if { (eval echo "$as_me:1781: \"$ac_compile\"") >&5
    1292915391   (eval $ac_compile) 2>&5
    1293015392   ac_status=$?
    1293115393-  echo "$as_me:1959: \$? = $ac_status" >&5
    12932 +  echo "$as_me:1962: \$? = $ac_status" >&5
     15394+  echo "$as_me:1784: \$? = $ac_status" >&5
    1293315395   (exit $ac_status); } &&
    1293415396          { ac_try='test -s conftest.$ac_objext'
    1293515397-  { (eval echo "$as_me:1962: \"$ac_try\"") >&5
    12936 +  { (eval echo "$as_me:1965: \"$ac_try\"") >&5
     15398+  { (eval echo "$as_me:1787: \"$ac_try\"") >&5
    1293715399   (eval $ac_try) 2>&5
    1293815400   ac_status=$?
    1293915401-  echo "$as_me:1965: \$? = $ac_status" >&5
    12940 +  echo "$as_me:1968: \$? = $ac_status" >&5
     15402+  echo "$as_me:1790: \$? = $ac_status" >&5
    1294115403   (exit $ac_status); }; }; then
    1294215404   ac_cv_prog_cc_g=yes
    1294315405 else
    12944 @@ -1972,7 +1975,7 @@
     15406@@ -1972,7 +1797,7 @@
    1294515407 fi
    1294615408 rm -f conftest.$ac_objext conftest.$ac_ext
    1294715409 fi
    1294815410-echo "$as_me:1975: result: $ac_cv_prog_cc_g" >&5
    12949 +echo "$as_me:1978: result: $ac_cv_prog_cc_g" >&5
     15411+echo "$as_me:1800: result: $ac_cv_prog_cc_g" >&5
    1295015412 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    1295115413 if test "$ac_test_CFLAGS" = set; then
    1295215414   CFLAGS=$ac_save_CFLAGS
    12953 @@ -1999,16 +2002,16 @@
     15415@@ -1999,16 +1824,16 @@
    1295415416 #endif
    1295515417 _ACEOF
    1295615418 rm -f conftest.$ac_objext
    1295715419-if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
    12958 +if { (eval echo "$as_me:2005: \"$ac_compile\"") >&5
     15420+if { (eval echo "$as_me:1827: \"$ac_compile\"") >&5
    1295915421   (eval $ac_compile) 2>&5
    1296015422   ac_status=$?
    1296115423-  echo "$as_me:2005: \$? = $ac_status" >&5
    12962 +  echo "$as_me:2008: \$? = $ac_status" >&5
     15424+  echo "$as_me:1830: \$? = $ac_status" >&5
    1296315425   (exit $ac_status); } &&
    1296415426          { ac_try='test -s conftest.$ac_objext'
    1296515427-  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
    12966 +  { (eval echo "$as_me:2011: \"$ac_try\"") >&5
     15428+  { (eval echo "$as_me:1833: \"$ac_try\"") >&5
    1296715429   (eval $ac_try) 2>&5
    1296815430   ac_status=$?
    1296915431-  echo "$as_me:2011: \$? = $ac_status" >&5
    12970 +  echo "$as_me:2014: \$? = $ac_status" >&5
     15432+  echo "$as_me:1836: \$? = $ac_status" >&5
    1297115433   (exit $ac_status); }; }; then
    1297215434   for ac_declaration in \
    1297315435    ''\
    12974 @@ -2020,7 +2023,7 @@
     15436@@ -2020,7 +1845,7 @@
    1297515437    'void exit (int);'
    1297615438 do
    1297715439   cat >conftest.$ac_ext <<_ACEOF
    1297815440-#line 2023 "configure"
    12979 +#line 2026 "configure"
     15441+#line 1848 "configure"
    1298015442 #include "confdefs.h"
    1298115443 #include <stdlib.h>
    1298215444 $ac_declaration
    12983 @@ -2033,16 +2036,16 @@
     15445@@ -2033,16 +1858,16 @@
    1298415446 }
    1298515447 _ACEOF
    1298615448 rm -f conftest.$ac_objext
    1298715449-if { (eval echo "$as_me:2036: \"$ac_compile\"") >&5
    12988 +if { (eval echo "$as_me:2039: \"$ac_compile\"") >&5
     15450+if { (eval echo "$as_me:1861: \"$ac_compile\"") >&5
    1298915451   (eval $ac_compile) 2>&5
    1299015452   ac_status=$?
    1299115453-  echo "$as_me:2039: \$? = $ac_status" >&5
    12992 +  echo "$as_me:2042: \$? = $ac_status" >&5
     15454+  echo "$as_me:1864: \$? = $ac_status" >&5
    1299315455   (exit $ac_status); } &&
    1299415456          { ac_try='test -s conftest.$ac_objext'
    1299515457-  { (eval echo "$as_me:2042: \"$ac_try\"") >&5
    12996 +  { (eval echo "$as_me:2045: \"$ac_try\"") >&5
     15458+  { (eval echo "$as_me:1867: \"$ac_try\"") >&5
    1299715459   (eval $ac_try) 2>&5
    1299815460   ac_status=$?
    1299915461-  echo "$as_me:2045: \$? = $ac_status" >&5
    13000 +  echo "$as_me:2048: \$? = $ac_status" >&5
     15462+  echo "$as_me:1870: \$? = $ac_status" >&5
    1300115463   (exit $ac_status); }; }; then
    1300215464   :
    1300315465 else
    13004 @@ -2052,7 +2055,7 @@
     15466@@ -2052,7 +1877,7 @@
    1300515467 fi
    1300615468 rm -f conftest.$ac_objext conftest.$ac_ext
    1300715469   cat >conftest.$ac_ext <<_ACEOF
    1300815470-#line 2055 "configure"
    13009 +#line 2058 "configure"
     15471+#line 1880 "configure"
    1301015472 #include "confdefs.h"
    1301115473 $ac_declaration
    1301215474 int
    13013 @@ -2064,16 +2067,16 @@
     15475@@ -2064,16 +1889,16 @@
    1301415476 }
    1301515477 _ACEOF
    1301615478 rm -f conftest.$ac_objext
    1301715479-if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
    13018 +if { (eval echo "$as_me:2070: \"$ac_compile\"") >&5
     15480+if { (eval echo "$as_me:1892: \"$ac_compile\"") >&5
    1301915481   (eval $ac_compile) 2>&5
    1302015482   ac_status=$?
    1302115483-  echo "$as_me:2070: \$? = $ac_status" >&5
    13022 +  echo "$as_me:2073: \$? = $ac_status" >&5
     15484+  echo "$as_me:1895: \$? = $ac_status" >&5
    1302315485   (exit $ac_status); } &&
    1302415486          { ac_try='test -s conftest.$ac_objext'
    1302515487-  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
    13026 +  { (eval echo "$as_me:2076: \"$ac_try\"") >&5
     15488+  { (eval echo "$as_me:1898: \"$ac_try\"") >&5
    1302715489   (eval $ac_try) 2>&5
    1302815490   ac_status=$?
    1302915491-  echo "$as_me:2076: \$? = $ac_status" >&5
    13030 +  echo "$as_me:2079: \$? = $ac_status" >&5
     15492+  echo "$as_me:1901: \$? = $ac_status" >&5
    1303115493   (exit $ac_status); }; }; then
    1303215494   break
    1303315495 else
    13034 @@ -2103,11 +2106,11 @@
     15496@@ -2103,11 +1928,11 @@
    1303515497 
    1303615498 GCC_VERSION=none
    1303715499 if test "$GCC" = yes ; then
    1303815500-       echo "$as_me:2106: checking version of $CC" >&5
    13039 +       echo "$as_me:2109: checking version of $CC" >&5
     15501+       echo "$as_me:1931: checking version of $CC" >&5
    1304015502 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
    1304115503        GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
    1304215504        test -z "$GCC_VERSION" && GCC_VERSION=unknown
    1304315505-       echo "$as_me:2110: result: $GCC_VERSION" >&5
    13044 +       echo "$as_me:2113: result: $GCC_VERSION" >&5
     15506+       echo "$as_me:1935: result: $GCC_VERSION" >&5
    1304515507 echo "${ECHO_T}$GCC_VERSION" >&6
    1304615508 fi
    1304715509 
    13048 @@ -2117,7 +2120,7 @@
     15510@@ -2117,7 +1942,7 @@
    1304915511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1305015512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1305115513 ac_main_return=return
    1305215514-echo "$as_me:2120: checking how to run the C preprocessor" >&5
    13053 +echo "$as_me:2123: checking how to run the C preprocessor" >&5
     15515+echo "$as_me:1945: checking how to run the C preprocessor" >&5
    1305415516 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    1305515517 # On Suns, sometimes $CPP names a directory.
    1305615518 if test -n "$CPP" && test -d "$CPP"; then
    13057 @@ -2138,18 +2141,18 @@
     15519@@ -2138,18 +1963,18 @@
    1305815520   # On the NeXT, cc -E runs the code through the compiler's parser,
    1305915521   # not just through cpp. "Syntax error" is here to catch this case.
    1306015522   cat >conftest.$ac_ext <<_ACEOF
    1306115523-#line 2141 "configure"
    13062 +#line 2144 "configure"
     15524+#line 1966 "configure"
    1306315525 #include "confdefs.h"
    1306415526 #include <assert.h>
     
    1306615528 _ACEOF
    1306715529-if { (eval echo "$as_me:2146: \"$ac_cpp conftest.$ac_ext\"") >&5
    13068 +if { (eval echo "$as_me:2149: \"$ac_cpp conftest.$ac_ext\"") >&5
     15530+if { (eval echo "$as_me:1971: \"$ac_cpp conftest.$ac_ext\"") >&5
    1306915531   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1307015532   ac_status=$?
     
    1307315535   cat conftest.err >&5
    1307415536-  echo "$as_me:2152: \$? = $ac_status" >&5
    13075 +  echo "$as_me:2155: \$? = $ac_status" >&5
     15537+  echo "$as_me:1977: \$? = $ac_status" >&5
    1307615538   (exit $ac_status); } >/dev/null; then
    1307715539   if test -s conftest.err; then
    1307815540     ac_cpp_err=$ac_c_preproc_warn_flag
    13079 @@ -2172,17 +2175,17 @@
     15541@@ -2172,17 +1997,17 @@
    1308015542   # OK, works on sane cases.  Now check whether non-existent headers
    1308115543   # can be detected and how.
    1308215544   cat >conftest.$ac_ext <<_ACEOF
    1308315545-#line 2175 "configure"
    13084 +#line 2178 "configure"
     15546+#line 2000 "configure"
    1308515547 #include "confdefs.h"
    1308615548 #include <ac_nonexistent.h>
    1308715549 _ACEOF
    1308815550-if { (eval echo "$as_me:2179: \"$ac_cpp conftest.$ac_ext\"") >&5
    13089 +if { (eval echo "$as_me:2182: \"$ac_cpp conftest.$ac_ext\"") >&5
     15551+if { (eval echo "$as_me:2004: \"$ac_cpp conftest.$ac_ext\"") >&5
    1309015552   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1309115553   ac_status=$?
     
    1309415556   cat conftest.err >&5
    1309515557-  echo "$as_me:2185: \$? = $ac_status" >&5
    13096 +  echo "$as_me:2188: \$? = $ac_status" >&5
     15558+  echo "$as_me:2010: \$? = $ac_status" >&5
    1309715559   (exit $ac_status); } >/dev/null; then
    1309815560   if test -s conftest.err; then
    1309915561     ac_cpp_err=$ac_c_preproc_warn_flag
    13100 @@ -2219,7 +2222,7 @@
     15562@@ -2219,7 +2044,7 @@
    1310115563 else
    1310215564   ac_cv_prog_CPP=$CPP
    1310315565 fi
    1310415566-echo "$as_me:2222: result: $CPP" >&5
    13105 +echo "$as_me:2225: result: $CPP" >&5
     15567+echo "$as_me:2047: result: $CPP" >&5
    1310615568 echo "${ECHO_T}$CPP" >&6
    1310715569 ac_preproc_ok=false
    1310815570 for ac_c_preproc_warn_flag in '' yes
    13109 @@ -2229,18 +2232,18 @@
     15571@@ -2229,18 +2054,18 @@
    1311015572   # On the NeXT, cc -E runs the code through the compiler's parser,
    1311115573   # not just through cpp. "Syntax error" is here to catch this case.
    1311215574   cat >conftest.$ac_ext <<_ACEOF
    1311315575-#line 2232 "configure"
    13114 +#line 2235 "configure"
     15576+#line 2057 "configure"
    1311515577 #include "confdefs.h"
    1311615578 #include <assert.h>
     
    1311815580 _ACEOF
    1311915581-if { (eval echo "$as_me:2237: \"$ac_cpp conftest.$ac_ext\"") >&5
    13120 +if { (eval echo "$as_me:2240: \"$ac_cpp conftest.$ac_ext\"") >&5
     15582+if { (eval echo "$as_me:2062: \"$ac_cpp conftest.$ac_ext\"") >&5
    1312115583   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1312215584   ac_status=$?
     
    1312515587   cat conftest.err >&5
    1312615588-  echo "$as_me:2243: \$? = $ac_status" >&5
    13127 +  echo "$as_me:2246: \$? = $ac_status" >&5
     15589+  echo "$as_me:2068: \$? = $ac_status" >&5
    1312815590   (exit $ac_status); } >/dev/null; then
    1312915591   if test -s conftest.err; then
    1313015592     ac_cpp_err=$ac_c_preproc_warn_flag
    13131 @@ -2263,17 +2266,17 @@
     15593@@ -2263,17 +2088,17 @@
    1313215594   # OK, works on sane cases.  Now check whether non-existent headers
    1313315595   # can be detected and how.
    1313415596   cat >conftest.$ac_ext <<_ACEOF
    1313515597-#line 2266 "configure"
    13136 +#line 2269 "configure"
     15598+#line 2091 "configure"
    1313715599 #include "confdefs.h"
    1313815600 #include <ac_nonexistent.h>
    1313915601 _ACEOF
    1314015602-if { (eval echo "$as_me:2270: \"$ac_cpp conftest.$ac_ext\"") >&5
    13141 +if { (eval echo "$as_me:2273: \"$ac_cpp conftest.$ac_ext\"") >&5
     15603+if { (eval echo "$as_me:2095: \"$ac_cpp conftest.$ac_ext\"") >&5
    1314215604   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1314315605   ac_status=$?
     
    1314615608   cat conftest.err >&5
    1314715609-  echo "$as_me:2276: \$? = $ac_status" >&5
    13148 +  echo "$as_me:2279: \$? = $ac_status" >&5
     15610+  echo "$as_me:2101: \$? = $ac_status" >&5
    1314915611   (exit $ac_status); } >/dev/null; then
    1315015612   if test -s conftest.err; then
    1315115613     ac_cpp_err=$ac_c_preproc_warn_flag
    13152 @@ -2301,7 +2304,7 @@
     15614@@ -2301,7 +2126,7 @@
    1315315615 if $ac_preproc_ok; then
    1315415616   :
    1315515617 else
    1315615618-  { { echo "$as_me:2304: error: C preprocessor \"$CPP\" fails sanity check" >&5
    13157 +  { { echo "$as_me:2307: error: C preprocessor \"$CPP\" fails sanity check" >&5
     15619+  { { echo "$as_me:2129: error: C preprocessor \"$CPP\" fails sanity check" >&5
    1315815620 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    1315915621    { (exit 1); exit 1; }; }
    1316015622 fi
    13161 @@ -2314,14 +2317,14 @@
     15623@@ -2314,14 +2139,14 @@
    1316215624 ac_main_return=return
    1316315625 
    1316415626 if test $ac_cv_c_compiler_gnu = yes; then
    1316515627-    echo "$as_me:2317: checking whether $CC needs -traditional" >&5
    13166 +    echo "$as_me:2320: checking whether $CC needs -traditional" >&5
     15628+    echo "$as_me:2142: checking whether $CC needs -traditional" >&5
    1316715629 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    1316815630 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     
    1317215634   cat >conftest.$ac_ext <<_ACEOF
    1317315635-#line 2324 "configure"
    13174 +#line 2327 "configure"
     15636+#line 2149 "configure"
    1317515637 #include "confdefs.h"
    1317615638 #include <sgtty.h>
    1317715639 int Autoconf = TIOCGETP;
    13178 @@ -2336,7 +2339,7 @@
     15640@@ -2336,7 +2161,7 @@
    1317915641 
    1318015642   if test $ac_cv_prog_gcc_traditional = no; then
    1318115643     cat >conftest.$ac_ext <<_ACEOF
    1318215644-#line 2339 "configure"
    13183 +#line 2342 "configure"
     15645+#line 2164 "configure"
    1318415646 #include "confdefs.h"
    1318515647 #include <termio.h>
    1318615648 int Autoconf = TCGETA;
    13187 @@ -2349,14 +2352,14 @@
     15649@@ -2349,14 +2174,14 @@
    1318815650 
    1318915651   fi
    1319015652 fi
    1319115653-echo "$as_me:2352: result: $ac_cv_prog_gcc_traditional" >&5
    13192 +echo "$as_me:2355: result: $ac_cv_prog_gcc_traditional" >&5
     15654+echo "$as_me:2177: result: $ac_cv_prog_gcc_traditional" >&5
    1319315655 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    1319415656   if test $ac_cv_prog_gcc_traditional = yes; then
     
    1319815660 
    1319915661-echo "$as_me:2359: checking whether $CC understands -c and -o together" >&5
    13200 +echo "$as_me:2362: checking whether $CC understands -c and -o together" >&5
     15662+echo "$as_me:2184: checking whether $CC understands -c and -o together" >&5
    1320115663 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6
    1320215664 if test "${cf_cv_prog_CC_c_o+set}" = set; then
    1320315665   echo $ECHO_N "(cached) $ECHO_C" >&6
    13204 @@ -2372,15 +2375,15 @@
     15666@@ -2372,15 +2197,15 @@
    1320515667 # We do the test twice because some compilers refuse to overwrite an
    1320615668 # existing .o file with -o, though they will create one.
    1320715669 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    1320815670-if { (eval echo "$as_me:2375: \"$ac_try\"") >&5
    13209 +if { (eval echo "$as_me:2378: \"$ac_try\"") >&5
     15671+if { (eval echo "$as_me:2200: \"$ac_try\"") >&5
    1321015672   (eval $ac_try) 2>&5
    1321115673   ac_status=$?
    1321215674-  echo "$as_me:2378: \$? = $ac_status" >&5
    13213 +  echo "$as_me:2381: \$? = $ac_status" >&5
     15675+  echo "$as_me:2203: \$? = $ac_status" >&5
    1321415676   (exit $ac_status); } &&
    1321515677-  test -f conftest2.$ac_objext && { (eval echo "$as_me:2380: \"$ac_try\"") >&5
    13216 +  test -f conftest2.$ac_objext && { (eval echo "$as_me:2383: \"$ac_try\"") >&5
     15678+  test -f conftest2.$ac_objext && { (eval echo "$as_me:2205: \"$ac_try\"") >&5
    1321715679   (eval $ac_try) 2>&5
    1321815680   ac_status=$?
    1321915681-  echo "$as_me:2383: \$? = $ac_status" >&5
    13220 +  echo "$as_me:2386: \$? = $ac_status" >&5
     15682+  echo "$as_me:2208: \$? = $ac_status" >&5
    1322115683   (exit $ac_status); };
    1322215684 then
    1322315685   eval cf_cv_prog_CC_c_o=yes
    13224 @@ -2391,19 +2394,19 @@
     15686@@ -2391,19 +2216,19 @@
    1322515687 
    1322615688 fi
    1322715689 if test $cf_cv_prog_CC_c_o = yes; then
    1322815690-  echo "$as_me:2394: result: yes" >&5
    13229 +  echo "$as_me:2397: result: yes" >&5
     15691+  echo "$as_me:2219: result: yes" >&5
    1323015692 echo "${ECHO_T}yes" >&6
    1323115693 else
    1323215694-  echo "$as_me:2397: result: no" >&5
    13233 +  echo "$as_me:2400: result: no" >&5
     15695+  echo "$as_me:2222: result: no" >&5
    1323415696 echo "${ECHO_T}no" >&6
    1323515697 fi
    1323615698 
    1323715699-echo "$as_me:2401: checking for POSIXized ISC" >&5
    13238 +echo "$as_me:2404: checking for POSIXized ISC" >&5
     15700+echo "$as_me:2226: checking for POSIXized ISC" >&5
    1323915701 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
    1324015702 if test -d /etc/conf/kconfig.d &&
     
    1324215704 then
    1324315705-  echo "$as_me:2406: result: yes" >&5
    13244 +  echo "$as_me:2409: result: yes" >&5
     15706+  echo "$as_me:2231: result: yes" >&5
    1324515707 echo "${ECHO_T}yes" >&6
    1324615708   ISC=yes # If later tests want to check for ISC.
    1324715709 
    13248 @@ -2417,12 +2420,115 @@
     15710@@ -2417,12 +2242,115 @@
    1324915711     CC="$CC -Xp"
    1325015712   fi
    1325115713 else
    1325215714-  echo "$as_me:2420: result: no" >&5
    13253 +  echo "$as_me:2423: result: no" >&5
     15715+  echo "$as_me:2245: result: no" >&5
    1325415716 echo "${ECHO_T}no" >&6
    1325515717   ISC=
     
    1326315725+# into CC.  This will not help with broken scripts that wrap the compiler with
    1326415726+# options, but eliminates a more common category of user confusion.
    13265 +echo "$as_me:2434: checking \$CC variable" >&5
     15727+echo "$as_me:2256: checking \$CC variable" >&5
    1326615728+echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
    1326715729+case "$CC" in #(vi
    1326815730+*[\ \  ]-[IUD]*)
    13269 +       echo "$as_me:2438: result: broken" >&5
     15731+       echo "$as_me:2260: result: broken" >&5
    1327015732+echo "${ECHO_T}broken" >&6
    13271 +       { echo "$as_me:2440: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
     15733+       { echo "$as_me:2262: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
    1327215734+echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
    1327315735+       # humor him...
     
    1335515817+       ;;
    1335615818+*)
    13357 +       echo "$as_me:2526: result: ok" >&5
     15819+       echo "$as_me:2348: result: ok" >&5
    1335815820+echo "${ECHO_T}ok" >&6
    1335915821+       ;;
    1336015822+esac
    1336115823+
    13362 +echo "$as_me:2531: checking for ${CC:-cc} option to accept ANSI C" >&5
     15824+echo "$as_me:2353: checking for ${CC:-cc} option to accept ANSI C" >&5
    1336315825 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6
    1336415826 if test "${cf_cv_ansi_cc+set}" = set; then
    1336515827   echo $ECHO_N "(cached) $ECHO_C" >&6
    13366 @@ -2526,7 +2632,7 @@
     15828@@ -2526,7 +2454,7 @@
    1336715829 fi
    1336815830 
    1336915831        cat >conftest.$ac_ext <<_ACEOF
    1337015832-#line 2529 "configure"
    13371 +#line 2635 "configure"
     15833+#line 2457 "configure"
    1337215834 #include "confdefs.h"
    1337315835 
    1337415836 #ifndef CC_HAS_PROTOS
    13375 @@ -2547,16 +2653,16 @@
     15837@@ -2547,16 +2475,16 @@
    1337615838 }
    1337715839 _ACEOF
    1337815840 rm -f conftest.$ac_objext
    1337915841-if { (eval echo "$as_me:2550: \"$ac_compile\"") >&5
    13380 +if { (eval echo "$as_me:2656: \"$ac_compile\"") >&5
     15842+if { (eval echo "$as_me:2478: \"$ac_compile\"") >&5
    1338115843   (eval $ac_compile) 2>&5
    1338215844   ac_status=$?
    1338315845-  echo "$as_me:2553: \$? = $ac_status" >&5
    13384 +  echo "$as_me:2659: \$? = $ac_status" >&5
     15846+  echo "$as_me:2481: \$? = $ac_status" >&5
    1338515847   (exit $ac_status); } &&
    1338615848          { ac_try='test -s conftest.$ac_objext'
    1338715849-  { (eval echo "$as_me:2556: \"$ac_try\"") >&5
    13388 +  { (eval echo "$as_me:2662: \"$ac_try\"") >&5
     15850+  { (eval echo "$as_me:2484: \"$ac_try\"") >&5
    1338915851   (eval $ac_try) 2>&5
    1339015852   ac_status=$?
    1339115853-  echo "$as_me:2559: \$? = $ac_status" >&5
    13392 +  echo "$as_me:2665: \$? = $ac_status" >&5
     15854+  echo "$as_me:2487: \$? = $ac_status" >&5
    1339315855   (exit $ac_status); }; }; then
    1339415856   cf_cv_ansi_cc="$cf_arg"; break
    1339515857 else
    13396 @@ -2569,7 +2675,7 @@
     15858@@ -2569,7 +2497,7 @@
    1339715859 CPPFLAGS="$cf_save_CPPFLAGS"
    1339815860 
    1339915861 fi
    1340015862-echo "$as_me:2572: result: $cf_cv_ansi_cc" >&5
    13401 +echo "$as_me:2678: result: $cf_cv_ansi_cc" >&5
     15863+echo "$as_me:2500: result: $cf_cv_ansi_cc" >&5
    1340215864 echo "${ECHO_T}$cf_cv_ansi_cc" >&6
    1340315865 
    1340415866 if test "$cf_cv_ansi_cc" != "no"; then
    13405 @@ -2662,7 +2768,7 @@
     15867@@ -2662,7 +2590,7 @@
    1340615868 fi
    1340715869 
    1340815870 if test "$cf_cv_ansi_cc" = "no"; then
    1340915871-       { { echo "$as_me:2665: error: Your compiler does not appear to recognize prototypes.
    13410 +       { { echo "$as_me:2771: error: Your compiler does not appear to recognize prototypes.
     15872+       { { echo "$as_me:2593: error: Your compiler does not appear to recognize prototypes.
    1341115873 You have the following choices:
    1341215874        a. adjust your compiler options
    1341315875        b. get an up-to-date compiler
    13414 @@ -2696,13 +2802,13 @@
     15876@@ -2696,13 +2624,13 @@
    1341515877   LDCONFIG=:
    1341615878 else
     
    1342415886 set dummy ldconfig; ac_word=$2
    1342515887-echo "$as_me:2705: checking for $ac_word" >&5
    13426 +echo "$as_me:2811: checking for $ac_word" >&5
     15888+echo "$as_me:2633: checking for $ac_word" >&5
    1342715889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1342815890 if test "${ac_cv_path_LDCONFIG+set}" = set; then
    1342915891   echo $ECHO_N "(cached) $ECHO_C" >&6
    13430 @@ -2719,7 +2825,7 @@
     15892@@ -2719,7 +2647,7 @@
    1343115893   test -z "$ac_dir" && ac_dir=.
    1343215894   if $as_executable_p "$ac_dir/$ac_word"; then
    1343315895    ac_cv_path_LDCONFIG="$ac_dir/$ac_word"
    1343415896-   echo "$as_me:2722: found $ac_dir/$ac_word" >&5
    13435 +   echo "$as_me:2828: found $ac_dir/$ac_word" >&5
     15897+   echo "$as_me:2650: found $ac_dir/$ac_word" >&5
    1343615898    break
    1343715899 fi
    1343815900 done
    13439 @@ -2730,10 +2836,10 @@
     15901@@ -2730,10 +2658,10 @@
    1344015902 LDCONFIG=$ac_cv_path_LDCONFIG
    1344115903 
    1344215904 if test -n "$LDCONFIG"; then
    1344315905-  echo "$as_me:2733: result: $LDCONFIG" >&5
    13444 +  echo "$as_me:2839: result: $LDCONFIG" >&5
     15906+  echo "$as_me:2661: result: $LDCONFIG" >&5
    1344515907 echo "${ECHO_T}$LDCONFIG" >&6
    1344615908 else
    1344715909-  echo "$as_me:2736: result: no" >&5
    13448 +  echo "$as_me:2842: result: no" >&5
     15910+  echo "$as_me:2664: result: no" >&5
    1344915911 echo "${ECHO_T}no" >&6
    1345015912 fi
    1345115913 
    13452 @@ -2741,7 +2847,7 @@
     15914@@ -2741,7 +2669,7 @@
    1345315915 esac
    1345415916 fi
    1345515917 
    1345615918-echo "$as_me:2744: checking if you want to ensure bool is consistent with C++" >&5
    13457 +echo "$as_me:2850: checking if you want to ensure bool is consistent with C++" >&5
     15919+echo "$as_me:2672: checking if you want to ensure bool is consistent with C++" >&5
    1345815920 echo $ECHO_N "checking if you want to ensure bool is consistent with C++... $ECHO_C" >&6
    1345915921 
    1346015922 # Check whether --with-cxx or --without-cxx was given.
    13461 @@ -2751,7 +2857,7 @@
     15923@@ -2751,7 +2679,7 @@
    1346215924 else
    1346315925   cf_with_cxx=yes
    1346415926 fi;
    1346515927-echo "$as_me:2754: result: $cf_with_cxx" >&5
    13466 +echo "$as_me:2860: result: $cf_with_cxx" >&5
     15928+echo "$as_me:2682: result: $cf_with_cxx" >&5
    1346715929 echo "${ECHO_T}$cf_with_cxx" >&6
    1346815930 if test "X$cf_with_cxx" = Xno ; then
    1346915931        CXX=""
    13470 @@ -2769,7 +2875,7 @@
     15932@@ -2769,7 +2697,7 @@
    1347115933   do
    1347215934     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1347315935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1347415936-echo "$as_me:2772: checking for $ac_word" >&5
    13475 +echo "$as_me:2878: checking for $ac_word" >&5
     15937+echo "$as_me:2700: checking for $ac_word" >&5
    1347615938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1347715939 if test "${ac_cv_prog_CXX+set}" = set; then
    1347815940   echo $ECHO_N "(cached) $ECHO_C" >&6
    13479 @@ -2784,7 +2890,7 @@
     15941@@ -2784,7 +2712,7 @@
    1348015942   test -z "$ac_dir" && ac_dir=.
    1348115943   $as_executable_p "$ac_dir/$ac_word" || continue
    1348215944 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    1348315945-echo "$as_me:2787: found $ac_dir/$ac_word" >&5
    13484 +echo "$as_me:2893: found $ac_dir/$ac_word" >&5
     15946+echo "$as_me:2715: found $ac_dir/$ac_word" >&5
    1348515947 break
    1348615948 done
    1348715949 
    13488 @@ -2792,10 +2898,10 @@
     15950@@ -2792,10 +2720,10 @@
    1348915951 fi
    1349015952 CXX=$ac_cv_prog_CXX
    1349115953 if test -n "$CXX"; then
    1349215954-  echo "$as_me:2795: result: $CXX" >&5
    13493 +  echo "$as_me:2901: result: $CXX" >&5
     15955+  echo "$as_me:2723: result: $CXX" >&5
    1349415956 echo "${ECHO_T}$CXX" >&6
    1349515957 else
    1349615958-  echo "$as_me:2798: result: no" >&5
    13497 +  echo "$as_me:2904: result: no" >&5
     15959+  echo "$as_me:2726: result: no" >&5
    1349815960 echo "${ECHO_T}no" >&6
    1349915961 fi
    1350015962 
    13501 @@ -2808,7 +2914,7 @@
     15963@@ -2808,7 +2736,7 @@
    1350215964 do
    1350315965   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1350415966 set dummy $ac_prog; ac_word=$2
    1350515967-echo "$as_me:2811: checking for $ac_word" >&5
    13506 +echo "$as_me:2917: checking for $ac_word" >&5
     15968+echo "$as_me:2739: checking for $ac_word" >&5
    1350715969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1350815970 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    1350915971   echo $ECHO_N "(cached) $ECHO_C" >&6
    13510 @@ -2823,7 +2929,7 @@
     15972@@ -2823,7 +2751,7 @@
    1351115973   test -z "$ac_dir" && ac_dir=.
    1351215974   $as_executable_p "$ac_dir/$ac_word" || continue
    1351315975 ac_cv_prog_ac_ct_CXX="$ac_prog"
    1351415976-echo "$as_me:2826: found $ac_dir/$ac_word" >&5
    13515 +echo "$as_me:2932: found $ac_dir/$ac_word" >&5
     15977+echo "$as_me:2754: found $ac_dir/$ac_word" >&5
    1351615978 break
    1351715979 done
    1351815980 
    13519 @@ -2831,10 +2937,10 @@
     15981@@ -2831,10 +2759,10 @@
    1352015982 fi
    1352115983 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    1352215984 if test -n "$ac_ct_CXX"; then
    1352315985-  echo "$as_me:2834: result: $ac_ct_CXX" >&5
    13524 +  echo "$as_me:2940: result: $ac_ct_CXX" >&5
     15986+  echo "$as_me:2762: result: $ac_ct_CXX" >&5
    1352515987 echo "${ECHO_T}$ac_ct_CXX" >&6
    1352615988 else
    1352715989-  echo "$as_me:2837: result: no" >&5
    13528 +  echo "$as_me:2943: result: no" >&5
     15990+  echo "$as_me:2765: result: no" >&5
    1352915991 echo "${ECHO_T}no" >&6
    1353015992 fi
    1353115993 
    13532 @@ -2846,32 +2952,32 @@
     15994@@ -2846,32 +2774,32 @@
    1353315995 fi
    1353415996 
    1353515997 # Provide some information about the compiler.
    1353615998-echo "$as_me:2849:" \
    13537 +echo "$as_me:2955:" \
     15999+echo "$as_me:2777:" \
    1353816000      "checking for C++ compiler version" >&5
    1353916001 ac_compiler=`set X $ac_compile; echo $2`
    1354016002-{ (eval echo "$as_me:2852: \"$ac_compiler --version </dev/null >&5\"") >&5
    13541 +{ (eval echo "$as_me:2958: \"$ac_compiler --version </dev/null >&5\"") >&5
     16003+{ (eval echo "$as_me:2780: \"$ac_compiler --version </dev/null >&5\"") >&5
    1354216004   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1354316005   ac_status=$?
    1354416006-  echo "$as_me:2855: \$? = $ac_status" >&5
    13545 +  echo "$as_me:2961: \$? = $ac_status" >&5
     16007+  echo "$as_me:2783: \$? = $ac_status" >&5
    1354616008   (exit $ac_status); }
    1354716009-{ (eval echo "$as_me:2857: \"$ac_compiler -v </dev/null >&5\"") >&5
    13548 +{ (eval echo "$as_me:2963: \"$ac_compiler -v </dev/null >&5\"") >&5
     16010+{ (eval echo "$as_me:2785: \"$ac_compiler -v </dev/null >&5\"") >&5
    1354916011   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1355016012   ac_status=$?
    1355116013-  echo "$as_me:2860: \$? = $ac_status" >&5
    13552 +  echo "$as_me:2966: \$? = $ac_status" >&5
     16014+  echo "$as_me:2788: \$? = $ac_status" >&5
    1355316015   (exit $ac_status); }
    1355416016-{ (eval echo "$as_me:2862: \"$ac_compiler -V </dev/null >&5\"") >&5
    13555 +{ (eval echo "$as_me:2968: \"$ac_compiler -V </dev/null >&5\"") >&5
     16017+{ (eval echo "$as_me:2790: \"$ac_compiler -V </dev/null >&5\"") >&5
    1355616018   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1355716019   ac_status=$?
    1355816020-  echo "$as_me:2865: \$? = $ac_status" >&5
    13559 +  echo "$as_me:2971: \$? = $ac_status" >&5
     16021+  echo "$as_me:2793: \$? = $ac_status" >&5
    1356016022   (exit $ac_status); }
    1356116023 
    1356216024-echo "$as_me:2868: checking whether we are using the GNU C++ compiler" >&5
    13563 +echo "$as_me:2974: checking whether we are using the GNU C++ compiler" >&5
     16025+echo "$as_me:2796: checking whether we are using the GNU C++ compiler" >&5
    1356416026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    1356516027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     
    1356816030   cat >conftest.$ac_ext <<_ACEOF
    1356916031-#line 2874 "configure"
    13570 +#line 2980 "configure"
     16032+#line 2802 "configure"
    1357116033 #include "confdefs.h"
    1357216034 
    1357316035 int
    13574 @@ -2886,16 +2992,16 @@
     16036@@ -2886,16 +2814,16 @@
    1357516037 }
    1357616038 _ACEOF
    1357716039 rm -f conftest.$ac_objext
    1357816040-if { (eval echo "$as_me:2889: \"$ac_compile\"") >&5
    13579 +if { (eval echo "$as_me:2995: \"$ac_compile\"") >&5
     16041+if { (eval echo "$as_me:2817: \"$ac_compile\"") >&5
    1358016042   (eval $ac_compile) 2>&5
    1358116043   ac_status=$?
    1358216044-  echo "$as_me:2892: \$? = $ac_status" >&5
    13583 +  echo "$as_me:2998: \$? = $ac_status" >&5
     16045+  echo "$as_me:2820: \$? = $ac_status" >&5
    1358416046   (exit $ac_status); } &&
    1358516047          { ac_try='test -s conftest.$ac_objext'
    1358616048-  { (eval echo "$as_me:2895: \"$ac_try\"") >&5
    13587 +  { (eval echo "$as_me:3001: \"$ac_try\"") >&5
     16049+  { (eval echo "$as_me:2823: \"$ac_try\"") >&5
    1358816050   (eval $ac_try) 2>&5
    1358916051   ac_status=$?
    1359016052-  echo "$as_me:2898: \$? = $ac_status" >&5
    13591 +  echo "$as_me:3004: \$? = $ac_status" >&5
     16053+  echo "$as_me:2826: \$? = $ac_status" >&5
    1359216054   (exit $ac_status); }; }; then
    1359316055   ac_compiler_gnu=yes
    1359416056 else
    13595 @@ -2907,19 +3013,19 @@
     16057@@ -2907,19 +2835,19 @@
    1359616058 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    1359716059 
    1359816060 fi
    1359916061-echo "$as_me:2910: result: $ac_cv_cxx_compiler_gnu" >&5
    13600 +echo "$as_me:3016: result: $ac_cv_cxx_compiler_gnu" >&5
     16062+echo "$as_me:2838: result: $ac_cv_cxx_compiler_gnu" >&5
    1360116063 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    1360216064 GXX=`test $ac_compiler_gnu = yes && echo yes`
     
    1360516067 CXXFLAGS="-g"
    1360616068-echo "$as_me:2916: checking whether $CXX accepts -g" >&5
    13607 +echo "$as_me:3022: checking whether $CXX accepts -g" >&5
     16069+echo "$as_me:2844: checking whether $CXX accepts -g" >&5
    1360816070 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    1360916071 if test "${ac_cv_prog_cxx_g+set}" = set; then
     
    1361216074   cat >conftest.$ac_ext <<_ACEOF
    1361316075-#line 2922 "configure"
    13614 +#line 3028 "configure"
     16076+#line 2850 "configure"
    1361516077 #include "confdefs.h"
    1361616078 
    1361716079 int
    13618 @@ -2931,16 +3037,16 @@
     16080@@ -2931,16 +2859,16 @@
    1361916081 }
    1362016082 _ACEOF
    1362116083 rm -f conftest.$ac_objext
    1362216084-if { (eval echo "$as_me:2934: \"$ac_compile\"") >&5
    13623 +if { (eval echo "$as_me:3040: \"$ac_compile\"") >&5
     16085+if { (eval echo "$as_me:2862: \"$ac_compile\"") >&5
    1362416086   (eval $ac_compile) 2>&5
    1362516087   ac_status=$?
    1362616088-  echo "$as_me:2937: \$? = $ac_status" >&5
    13627 +  echo "$as_me:3043: \$? = $ac_status" >&5
     16089+  echo "$as_me:2865: \$? = $ac_status" >&5
    1362816090   (exit $ac_status); } &&
    1362916091          { ac_try='test -s conftest.$ac_objext'
    1363016092-  { (eval echo "$as_me:2940: \"$ac_try\"") >&5
    13631 +  { (eval echo "$as_me:3046: \"$ac_try\"") >&5
     16093+  { (eval echo "$as_me:2868: \"$ac_try\"") >&5
    1363216094   (eval $ac_try) 2>&5
    1363316095   ac_status=$?
    1363416096-  echo "$as_me:2943: \$? = $ac_status" >&5
    13635 +  echo "$as_me:3049: \$? = $ac_status" >&5
     16097+  echo "$as_me:2871: \$? = $ac_status" >&5
    1363616098   (exit $ac_status); }; }; then
    1363716099   ac_cv_prog_cxx_g=yes
    1363816100 else
    13639 @@ -2950,7 +3056,7 @@
     16101@@ -2950,7 +2878,7 @@
    1364016102 fi
    1364116103 rm -f conftest.$ac_objext conftest.$ac_ext
    1364216104 fi
    1364316105-echo "$as_me:2953: result: $ac_cv_prog_cxx_g" >&5
    13644 +echo "$as_me:3059: result: $ac_cv_prog_cxx_g" >&5
     16106+echo "$as_me:2881: result: $ac_cv_prog_cxx_g" >&5
    1364516107 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    1364616108 if test "$ac_test_CXXFLAGS" = set; then
    1364716109   CXXFLAGS=$ac_save_CXXFLAGS
    13648 @@ -2977,7 +3083,7 @@
     16110@@ -2977,7 +2905,7 @@
    1364916111    'void exit (int);'
    1365016112 do
    1365116113   cat >conftest.$ac_ext <<_ACEOF
    1365216114-#line 2980 "configure"
    13653 +#line 3086 "configure"
     16115+#line 2908 "configure"
    1365416116 #include "confdefs.h"
    1365516117 #include <stdlib.h>
    1365616118 $ac_declaration
    13657 @@ -2990,16 +3096,16 @@
     16119@@ -2990,16 +2918,16 @@
    1365816120 }
    1365916121 _ACEOF
    1366016122 rm -f conftest.$ac_objext
    1366116123-if { (eval echo "$as_me:2993: \"$ac_compile\"") >&5
    13662 +if { (eval echo "$as_me:3099: \"$ac_compile\"") >&5
     16124+if { (eval echo "$as_me:2921: \"$ac_compile\"") >&5
    1366316125   (eval $ac_compile) 2>&5
    1366416126   ac_status=$?
    1366516127-  echo "$as_me:2996: \$? = $ac_status" >&5
    13666 +  echo "$as_me:3102: \$? = $ac_status" >&5
     16128+  echo "$as_me:2924: \$? = $ac_status" >&5
    1366716129   (exit $ac_status); } &&
    1366816130          { ac_try='test -s conftest.$ac_objext'
    1366916131-  { (eval echo "$as_me:2999: \"$ac_try\"") >&5
    13670 +  { (eval echo "$as_me:3105: \"$ac_try\"") >&5
     16132+  { (eval echo "$as_me:2927: \"$ac_try\"") >&5
    1367116133   (eval $ac_try) 2>&5
    1367216134   ac_status=$?
    1367316135-  echo "$as_me:3002: \$? = $ac_status" >&5
    13674 +  echo "$as_me:3108: \$? = $ac_status" >&5
     16136+  echo "$as_me:2930: \$? = $ac_status" >&5
    1367516137   (exit $ac_status); }; }; then
    1367616138   :
    1367716139 else
    13678 @@ -3009,7 +3115,7 @@
     16140@@ -3009,7 +2937,7 @@
    1367916141 fi
    1368016142 rm -f conftest.$ac_objext conftest.$ac_ext
    1368116143   cat >conftest.$ac_ext <<_ACEOF
    1368216144-#line 3012 "configure"
    13683 +#line 3118 "configure"
     16145+#line 2940 "configure"
    1368416146 #include "confdefs.h"
    1368516147 $ac_declaration
    1368616148 int
    13687 @@ -3021,16 +3127,16 @@
     16149@@ -3021,16 +2949,16 @@
    1368816150 }
    1368916151 _ACEOF
    1369016152 rm -f conftest.$ac_objext
    1369116153-if { (eval echo "$as_me:3024: \"$ac_compile\"") >&5
    13692 +if { (eval echo "$as_me:3130: \"$ac_compile\"") >&5
     16154+if { (eval echo "$as_me:2952: \"$ac_compile\"") >&5
    1369316155   (eval $ac_compile) 2>&5
    1369416156   ac_status=$?
    1369516157-  echo "$as_me:3027: \$? = $ac_status" >&5
    13696 +  echo "$as_me:3133: \$? = $ac_status" >&5
     16158+  echo "$as_me:2955: \$? = $ac_status" >&5
    1369716159   (exit $ac_status); } &&
    1369816160          { ac_try='test -s conftest.$ac_objext'
    1369916161-  { (eval echo "$as_me:3030: \"$ac_try\"") >&5
    13700 +  { (eval echo "$as_me:3136: \"$ac_try\"") >&5
     16162+  { (eval echo "$as_me:2958: \"$ac_try\"") >&5
    1370116163   (eval $ac_try) 2>&5
    1370216164   ac_status=$?
    1370316165-  echo "$as_me:3033: \$? = $ac_status" >&5
    13704 +  echo "$as_me:3139: \$? = $ac_status" >&5
     16166+  echo "$as_me:2961: \$? = $ac_status" >&5
    1370516167   (exit $ac_status); }; }; then
    1370616168   break
    1370716169 else
    13708 @@ -3057,7 +3163,7 @@
     16170@@ -3053,11 +2981,11 @@
     16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16172 ac_main_return=return
     16173 
     16174-               # autoconf 2.5x removed the error - by hardcoding it to g++.
     16175+               # autoconf 2.5x removed the error (hardcoding it to g++, or just blank)
    1370916176        if test "$CXX" = "g++" ; then
    1371016177                # Extract the first word of "g++", so it can be a program name with args.
    1371116178 set dummy g++; ac_word=$2
    1371216179-echo "$as_me:3060: checking for $ac_word" >&5
    13713 +echo "$as_me:3166: checking for $ac_word" >&5
     16180+echo "$as_me:2988: checking for $ac_word" >&5
    1371416181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1371516182 if test "${ac_cv_path_CXX+set}" = set; then
    1371616183   echo $ECHO_N "(cached) $ECHO_C" >&6
    13717 @@ -3074,7 +3180,7 @@
     16184@@ -3074,7 +3002,7 @@
    1371816185   test -z "$ac_dir" && ac_dir=.
    1371916186   if $as_executable_p "$ac_dir/$ac_word"; then
    1372016187    ac_cv_path_CXX="$ac_dir/$ac_word"
    1372116188-   echo "$as_me:3077: found $ac_dir/$ac_word" >&5
    13722 +   echo "$as_me:3183: found $ac_dir/$ac_word" >&5
     16189+   echo "$as_me:3005: found $ac_dir/$ac_word" >&5
    1372316190    break
    1372416191 fi
    1372516192 done
    13726 @@ -3085,16 +3191,16 @@
     16193@@ -3085,28 +3013,30 @@
    1372716194 CXX=$ac_cv_path_CXX
    1372816195 
    1372916196 if test -n "$CXX"; then
    1373016197-  echo "$as_me:3088: result: $CXX" >&5
    13731 +  echo "$as_me:3194: result: $CXX" >&5
     16198+  echo "$as_me:3016: result: $CXX" >&5
    1373216199 echo "${ECHO_T}$CXX" >&6
    1373316200 else
    1373416201-  echo "$as_me:3091: result: no" >&5
    13735 +  echo "$as_me:3197: result: no" >&5
     16202+  echo "$as_me:3019: result: no" >&5
    1373616203 echo "${ECHO_T}no" >&6
    1373716204 fi
    1373816205 
    1373916206        fi
    13740         if test "$CXX" = "g++" ; then
     16207-       if test "$CXX" = "g++" ; then
    1374116208-               { echo "$as_me:3097: WARNING: ignoring hardcoded g++" >&5
    13742 +               { echo "$as_me:3203: WARNING: ignoring hardcoded g++" >&5
    13743  echo "$as_me: WARNING: ignoring hardcoded g++" >&2;}
     16209-echo "$as_me: WARNING: ignoring hardcoded g++" >&2;}
     16210+       case "x$CXX" in #(vi
     16211+       x|xg++)
     16212+               { echo "$as_me:3026: WARNING: You don't have any C++ compiler, too bad" >&5
     16213+echo "$as_me: WARNING: You don't have any C++ compiler, too bad" >&2;}
    1374416214                cf_with_cxx=no; CXX=""; GXX="";
    13745         fi
    13746 @@ -3102,11 +3208,11 @@
     16215-       fi
     16216+               ;;
     16217+       esac
     16218 fi
    1374716219 
    1374816220 GXX_VERSION=none
    1374916221 if test "$GXX" = yes; then
    1375016222-       echo "$as_me:3105: checking version of g++" >&5
    13751 +       echo "$as_me:3211: checking version of g++" >&5
    13752  echo $ECHO_N "checking version of g++... $ECHO_C" >&6
     16223-echo $ECHO_N "checking version of g++... $ECHO_C" >&6
     16224+       echo "$as_me:3035: checking version of ${CXX:-g++}" >&5
     16225+echo $ECHO_N "checking version of ${CXX:-g++}... $ECHO_C" >&6
    1375316226        GXX_VERSION="`${CXX:-g++} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
    1375416227        test -z "$GXX_VERSION" && GXX_VERSION=unknown
    1375516228-       echo "$as_me:3109: result: $GXX_VERSION" >&5
    13756 +       echo "$as_me:3215: result: $GXX_VERSION" >&5
     16229+       echo "$as_me:3039: result: $GXX_VERSION" >&5
    1375716230 echo "${ECHO_T}$GXX_VERSION" >&6
    1375816231 fi
    1375916232 
    13760 @@ -3114,12 +3220,12 @@
     16233@@ -3114,12 +3044,12 @@
    1376116234 1*|2.[0-6]*)
    1376216235        # GXX=""; CXX=""; ac_cv_prog_gxx=no
    1376316236        # cf_cxx_library=no
    1376416237-       { echo "$as_me:3117: WARNING: templates do not work" >&5
    13765 +       { echo "$as_me:3223: WARNING: templates do not work" >&5
     16238+       { echo "$as_me:3047: WARNING: templates do not work" >&5
    1376616239 echo "$as_me: WARNING: templates do not work" >&2;}
    1376716240        ;;
     
    1376916242 
    1377016243-echo "$as_me:3122: checking if you want to build C++ binding and demo" >&5
    13771 +echo "$as_me:3228: checking if you want to build C++ binding and demo" >&5
     16244+echo "$as_me:3052: checking if you want to build C++ binding and demo" >&5
    1377216245 echo $ECHO_N "checking if you want to build C++ binding and demo... $ECHO_C" >&6
    1377316246 
    1377416247 # Check whether --with-cxx-binding or --without-cxx-binding was given.
    13775 @@ -3129,10 +3235,10 @@
     16248@@ -3129,23 +3059,15 @@
    1377616249 else
    1377716250   cf_with_cxx_binding=$cf_with_cxx
    1377816251 fi;
    1377916252-echo "$as_me:3132: result: $cf_with_cxx_binding" >&5
    13780 +echo "$as_me:3238: result: $cf_with_cxx_binding" >&5
     16253+echo "$as_me:3062: result: $cf_with_cxx_binding" >&5
    1378116254 echo "${ECHO_T}$cf_with_cxx_binding" >&6
    1378216255 
    1378316256-echo "$as_me:3135: checking if you want to build with Ada95" >&5
    13784 +echo "$as_me:3241: checking if you want to build with Ada95" >&5
     16257+echo "$as_me:3065: checking if you want to build with Ada95" >&5
    1378516258 echo $ECHO_N "checking if you want to build with Ada95... $ECHO_C" >&6
    13786  
    13787  # Check whether --with-ada or --without-ada was given.
    13788 @@ -3142,10 +3248,10 @@
    13789  else
    13790    cf_with_ada=yes
    13791  fi;
     16259-
     16260-# Check whether --with-ada or --without-ada was given.
     16261-if test "${with_ada+set}" = set; then
     16262-  withval="$with_ada"
     16263-  cf_with_ada=$withval
     16264-else
     16265-  cf_with_ada=yes
     16266-fi;
    1379216267-echo "$as_me:3145: result: $cf_with_ada" >&5
    13793 +echo "$as_me:3251: result: $cf_with_ada" >&5
     16268+echo "$as_me:3067: result: $cf_with_ada" >&5
    1379416269 echo "${ECHO_T}$cf_with_ada" >&6
    1379516270 
    1379616271-echo "$as_me:3148: checking if you want to install manpages" >&5
    13797 +echo "$as_me:3254: checking if you want to install manpages" >&5
     16272+echo "$as_me:3070: checking if you want to install manpages" >&5
    1379816273 echo $ECHO_N "checking if you want to install manpages... $ECHO_C" >&6
    1379916274 
    1380016275 # Check whether --with-manpages or --without-manpages was given.
    13801 @@ -3155,10 +3261,10 @@
     16276@@ -3155,10 +3077,10 @@
    1380216277 else
    1380316278   cf_with_manpages=yes
    1380416279 fi;
    1380516280-echo "$as_me:3158: result: $cf_with_manpages" >&5
    13806 +echo "$as_me:3264: result: $cf_with_manpages" >&5
     16281+echo "$as_me:3080: result: $cf_with_manpages" >&5
    1380716282 echo "${ECHO_T}$cf_with_manpages" >&6
    1380816283 
    1380916284-echo "$as_me:3161: checking if you want to build programs such as tic" >&5
    13810 +echo "$as_me:3267: checking if you want to build programs such as tic" >&5
     16285+echo "$as_me:3083: checking if you want to build programs such as tic" >&5
    1381116286 echo $ECHO_N "checking if you want to build programs such as tic... $ECHO_C" >&6
    1381216287 
    1381316288 # Check whether --with-progs or --without-progs was given.
    13814 @@ -3168,10 +3274,10 @@
     16289@@ -3168,10 +3090,10 @@
    1381516290 else
    1381616291   cf_with_progs=yes
    1381716292 fi;
    1381816293-echo "$as_me:3171: result: $cf_with_progs" >&5
    13819 +echo "$as_me:3277: result: $cf_with_progs" >&5
     16294+echo "$as_me:3093: result: $cf_with_progs" >&5
    1382016295 echo "${ECHO_T}$cf_with_progs" >&6
    1382116296 
    1382216297-echo "$as_me:3174: checking if you want to build test-programs" >&5
    13823 +echo "$as_me:3280: checking if you want to build test-programs" >&5
     16298+echo "$as_me:3096: checking if you want to build test-programs" >&5
    1382416299 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6
    1382516300 
    1382616301 # Check whether --with-tests or --without-tests was given.
    13827 @@ -3181,10 +3287,10 @@
     16302@@ -3181,10 +3103,10 @@
    1382816303 else
    1382916304   cf_with_tests=yes
    1383016305 fi;
    1383116306-echo "$as_me:3184: result: $cf_with_tests" >&5
    13832 +echo "$as_me:3290: result: $cf_with_tests" >&5
     16307+echo "$as_me:3106: result: $cf_with_tests" >&5
    1383316308 echo "${ECHO_T}$cf_with_tests" >&6
    1383416309 
    1383516310-echo "$as_me:3187: checking if you wish to install curses.h" >&5
    13836 +echo "$as_me:3293: checking if you wish to install curses.h" >&5
     16311+echo "$as_me:3109: checking if you wish to install curses.h" >&5
    1383716312 echo $ECHO_N "checking if you wish to install curses.h... $ECHO_C" >&6
    1383816313 
    1383916314 # Check whether --with-curses-h or --without-curses-h was given.
    13840 @@ -3194,7 +3300,7 @@
     16315@@ -3194,7 +3116,7 @@
    1384116316 else
    1384216317   with_curses_h=yes
    1384316318 fi;
    1384416319-echo "$as_me:3197: result: $with_curses_h" >&5
    13845 +echo "$as_me:3303: result: $with_curses_h" >&5
     16320+echo "$as_me:3119: result: $with_curses_h" >&5
    1384616321 echo "${ECHO_T}$with_curses_h" >&6
    1384716322 
    1384816323 modules_to_build="ncurses"
    13849 @@ -3220,7 +3326,7 @@
     16324@@ -3220,7 +3142,7 @@
    1385016325 do
    1385116326   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1385216327 set dummy $ac_prog; ac_word=$2
    1385316328-echo "$as_me:3223: checking for $ac_word" >&5
    13854 +echo "$as_me:3329: checking for $ac_word" >&5
     16329+echo "$as_me:3145: checking for $ac_word" >&5
    1385516330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1385616331 if test "${ac_cv_prog_AWK+set}" = set; then
    1385716332   echo $ECHO_N "(cached) $ECHO_C" >&6
    13858 @@ -3235,7 +3341,7 @@
     16333@@ -3235,7 +3157,7 @@
    1385916334   test -z "$ac_dir" && ac_dir=.
    1386016335   $as_executable_p "$ac_dir/$ac_word" || continue
    1386116336 ac_cv_prog_AWK="$ac_prog"
    1386216337-echo "$as_me:3238: found $ac_dir/$ac_word" >&5
    13863 +echo "$as_me:3344: found $ac_dir/$ac_word" >&5
     16338+echo "$as_me:3160: found $ac_dir/$ac_word" >&5
    1386416339 break
    1386516340 done
    1386616341 
    13867 @@ -3243,21 +3349,21 @@
     16342@@ -3243,21 +3165,21 @@
    1386816343 fi
    1386916344 AWK=$ac_cv_prog_AWK
    1387016345 if test -n "$AWK"; then
    1387116346-  echo "$as_me:3246: result: $AWK" >&5
    13872 +  echo "$as_me:3352: result: $AWK" >&5
     16347+  echo "$as_me:3168: result: $AWK" >&5
    1387316348 echo "${ECHO_T}$AWK" >&6
    1387416349 else
    1387516350-  echo "$as_me:3249: result: no" >&5
    13876 +  echo "$as_me:3355: result: no" >&5
     16351+  echo "$as_me:3171: result: no" >&5
    1387716352 echo "${ECHO_T}no" >&6
    1387816353 fi
     
    1388216357 
    1388316358-test -z "$AWK" && { { echo "$as_me:3256: error: No awk program found" >&5
    13884 +test -z "$AWK" && { { echo "$as_me:3362: error: No awk program found" >&5
     16359+test -z "$AWK" && { { echo "$as_me:3178: error: No awk program found" >&5
    1388516360 echo "$as_me: error: No awk program found" >&2;}
    1388616361    { (exit 1); exit 1; }; }
    1388716362 
    1388816363-echo "$as_me:3260: checking for egrep" >&5
    13889 +echo "$as_me:3366: checking for egrep" >&5
     16364+echo "$as_me:3182: checking for egrep" >&5
    1389016365 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    1389116366 if test "${ac_cv_prog_egrep+set}" = set; then
    1389216367   echo $ECHO_N "(cached) $ECHO_C" >&6
    13893 @@ -3267,11 +3373,11 @@
     16368@@ -3267,11 +3189,11 @@
    1389416369     else ac_cv_prog_egrep='egrep'
    1389516370     fi
    1389616371 fi
    1389716372-echo "$as_me:3270: result: $ac_cv_prog_egrep" >&5
    13898 +echo "$as_me:3376: result: $ac_cv_prog_egrep" >&5
     16373+echo "$as_me:3192: result: $ac_cv_prog_egrep" >&5
    1389916374 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    1390016375  EGREP=$ac_cv_prog_egrep
    1390116376 
    1390216377-test -z "$EGREP" && { { echo "$as_me:3274: error: No egrep program found" >&5
    13903 +test -z "$EGREP" && { { echo "$as_me:3380: error: No egrep program found" >&5
     16378+test -z "$EGREP" && { { echo "$as_me:3196: error: No egrep program found" >&5
    1390416379 echo "$as_me: error: No egrep program found" >&2;}
    1390516380    { (exit 1); exit 1; }; }
    1390616381 
    13907 @@ -3287,7 +3393,7 @@
     16382@@ -3287,7 +3209,7 @@
    1390816383 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1390916384 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1391016385 # ./install, which can be erroneously created by make from ./install.sh.
    1391116386-echo "$as_me:3290: checking for a BSD compatible install" >&5
    13912 +echo "$as_me:3396: checking for a BSD compatible install" >&5
     16387+echo "$as_me:3212: checking for a BSD compatible install" >&5
    1391316388 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
    1391416389 if test -z "$INSTALL"; then
    1391516390 if test "${ac_cv_path_install+set}" = set; then
    13916 @@ -3336,7 +3442,7 @@
     16391@@ -3336,7 +3258,7 @@
    1391716392     INSTALL=$ac_install_sh
    1391816393   fi
    1391916394 fi
    1392016395-echo "$as_me:3339: result: $INSTALL" >&5
    13921 +echo "$as_me:3445: result: $INSTALL" >&5
     16396+echo "$as_me:3261: result: $INSTALL" >&5
    1392216397 echo "${ECHO_T}$INSTALL" >&6
    1392316398 
    1392416399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    13925 @@ -3361,7 +3467,7 @@
     16400@@ -3361,7 +3283,7 @@
    1392616401 do
    1392716402   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1392816403 set dummy $ac_prog; ac_word=$2
    1392916404-echo "$as_me:3364: checking for $ac_word" >&5
    13930 +echo "$as_me:3470: checking for $ac_word" >&5
     16405+echo "$as_me:3286: checking for $ac_word" >&5
    1393116406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1393216407 if test "${ac_cv_prog_LINT+set}" = set; then
    1393316408   echo $ECHO_N "(cached) $ECHO_C" >&6
    13934 @@ -3376,7 +3482,7 @@
     16409@@ -3376,7 +3298,7 @@
    1393516410   test -z "$ac_dir" && ac_dir=.
    1393616411   $as_executable_p "$ac_dir/$ac_word" || continue
    1393716412 ac_cv_prog_LINT="$ac_prog"
    1393816413-echo "$as_me:3379: found $ac_dir/$ac_word" >&5
    13939 +echo "$as_me:3485: found $ac_dir/$ac_word" >&5
     16414+echo "$as_me:3301: found $ac_dir/$ac_word" >&5
    1394016415 break
    1394116416 done
    1394216417 
    13943 @@ -3384,28 +3490,28 @@
     16418@@ -3384,28 +3306,28 @@
    1394416419 fi
    1394516420 LINT=$ac_cv_prog_LINT
    1394616421 if test -n "$LINT"; then
    1394716422-  echo "$as_me:3387: result: $LINT" >&5
    13948 +  echo "$as_me:3493: result: $LINT" >&5
     16423+  echo "$as_me:3309: result: $LINT" >&5
    1394916424 echo "${ECHO_T}$LINT" >&6
    1395016425 else
    1395116426-  echo "$as_me:3390: result: no" >&5
    13952 +  echo "$as_me:3496: result: no" >&5
     16427+  echo "$as_me:3312: result: no" >&5
    1395316428 echo "${ECHO_T}no" >&6
    1395416429 fi
     
    1395816433 
    1395916434-echo "$as_me:3397: checking whether ln -s works" >&5
    13960 +echo "$as_me:3503: checking whether ln -s works" >&5
     16435+echo "$as_me:3319: checking whether ln -s works" >&5
    1396116436 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    1396216437 LN_S=$as_ln_s
    1396316438 if test "$LN_S" = "ln -s"; then
    1396416439-  echo "$as_me:3401: result: yes" >&5
    13965 +  echo "$as_me:3507: result: yes" >&5
     16440+  echo "$as_me:3323: result: yes" >&5
    1396616441 echo "${ECHO_T}yes" >&6
    1396716442 else
    1396816443-  echo "$as_me:3404: result: no, using $LN_S" >&5
    13969 +  echo "$as_me:3510: result: no, using $LN_S" >&5
     16444+  echo "$as_me:3326: result: no, using $LN_S" >&5
    1397016445 echo "${ECHO_T}no, using $LN_S" >&6
    1397116446 fi
    1397216447 
    1397316448-echo "$as_me:3408: checking if $LN_S -f options work" >&5
    13974 +echo "$as_me:3514: checking if $LN_S -f options work" >&5
     16449+echo "$as_me:3330: checking if $LN_S -f options work" >&5
    1397516450 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6
    1397616451 
    1397716452 rm -f conf$$.src conf$$dst
    13978 @@ -3417,12 +3523,12 @@
     16453@@ -3417,12 +3339,12 @@
    1397916454        cf_prog_ln_sf=no
    1398016455 fi
    1398116456 rm -f conf$$.dst conf$$src
    1398216457-echo "$as_me:3420: result: $cf_prog_ln_sf" >&5
    13983 +echo "$as_me:3526: result: $cf_prog_ln_sf" >&5
     16458+echo "$as_me:3342: result: $cf_prog_ln_sf" >&5
    1398416459 echo "${ECHO_T}$cf_prog_ln_sf" >&6
    1398516460 
     
    1398716462 
    1398816463-echo "$as_me:3425: checking for long file names" >&5
    13989 +echo "$as_me:3531: checking for long file names" >&5
     16464+echo "$as_me:3347: checking for long file names" >&5
    1399016465 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
    1399116466 if test "${ac_cv_sys_long_file_names+set}" = set; then
    1399216467   echo $ECHO_N "(cached) $ECHO_C" >&6
    13993 @@ -3461,7 +3567,7 @@
     16468@@ -3461,7 +3383,7 @@
    1399416469   rm -rf $ac_xdir 2>/dev/null
    1399516470 done
    1399616471 fi
    1399716472-echo "$as_me:3464: result: $ac_cv_sys_long_file_names" >&5
    13998 +echo "$as_me:3570: result: $ac_cv_sys_long_file_names" >&5
     16473+echo "$as_me:3386: result: $ac_cv_sys_long_file_names" >&5
    1399916474 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
    1400016475 if test $ac_cv_sys_long_file_names = yes; then
    1400116476 
    14002 @@ -3473,7 +3579,7 @@
     16477@@ -3473,7 +3395,7 @@
    1400316478 
    1400416479 # if we find pkg-config, check if we should install the ".pc" files.
    1400516480 
    1400616481-echo "$as_me:3476: checking if you want to use pkg-config" >&5
    14007 +echo "$as_me:3582: checking if you want to use pkg-config" >&5
     16482+echo "$as_me:3398: checking if you want to use pkg-config" >&5
    1400816483 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
    1400916484 
    1401016485 # Check whether --with-pkg-config or --without-pkg-config was given.
    14011 @@ -3483,7 +3589,7 @@
     16486@@ -3483,7 +3405,7 @@
    1401216487 else
    1401316488   cf_pkg_config=yes
    1401416489 fi;
    1401516490-echo "$as_me:3486: result: $cf_pkg_config" >&5
    14016 +echo "$as_me:3592: result: $cf_pkg_config" >&5
     16491+echo "$as_me:3408: result: $cf_pkg_config" >&5
    1401716492 echo "${ECHO_T}$cf_pkg_config" >&6
    1401816493 
    1401916494 case $cf_pkg_config in #(vi
    14020 @@ -3491,10 +3597,11 @@
     16495@@ -3491,10 +3413,11 @@
    1402116496        PKG_CONFIG=none
    1402216497        ;;
     
    1402816503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    1402916504-echo "$as_me:3497: checking for $ac_word" >&5
    14030 +echo "$as_me:3604: checking for $ac_word" >&5
     16505+echo "$as_me:3420: checking for $ac_word" >&5
    1403116506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1403216507 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    1403316508   echo $ECHO_N "(cached) $ECHO_C" >&6
    14034 @@ -3511,7 +3618,7 @@
     16509@@ -3511,7 +3434,7 @@
    1403516510   test -z "$ac_dir" && ac_dir=.
    1403616511   if $as_executable_p "$ac_dir/$ac_word"; then
    1403716512    ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
    1403816513-   echo "$as_me:3514: found $ac_dir/$ac_word" >&5
    14039 +   echo "$as_me:3621: found $ac_dir/$ac_word" >&5
     16514+   echo "$as_me:3437: found $ac_dir/$ac_word" >&5
    1404016515    break
    1404116516 fi
    1404216517 done
    14043 @@ -3522,10 +3629,10 @@
     16518@@ -3522,10 +3445,10 @@
    1404416519 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    1404516520 
    1404616521 if test -n "$PKG_CONFIG"; then
    1404716522-  echo "$as_me:3525: result: $PKG_CONFIG" >&5
    14048 +  echo "$as_me:3632: result: $PKG_CONFIG" >&5
     16523+  echo "$as_me:3448: result: $PKG_CONFIG" >&5
    1404916524 echo "${ECHO_T}$PKG_CONFIG" >&6
    1405016525 else
    1405116526-  echo "$as_me:3528: result: no" >&5
    14052 +  echo "$as_me:3635: result: no" >&5
     16527+  echo "$as_me:3451: result: no" >&5
    1405316528 echo "${ECHO_T}no" >&6
    1405416529 fi
    1405516530 
    14056 @@ -3534,7 +3641,7 @@
     16531@@ -3534,7 +3457,7 @@
    1405716532   ac_pt_PKG_CONFIG=$PKG_CONFIG
    1405816533   # Extract the first word of "pkg-config", so it can be a program name with args.
    1405916534 set dummy pkg-config; ac_word=$2
    1406016535-echo "$as_me:3537: checking for $ac_word" >&5
    14061 +echo "$as_me:3644: checking for $ac_word" >&5
     16536+echo "$as_me:3460: checking for $ac_word" >&5
    1406216537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1406316538 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    1406416539   echo $ECHO_N "(cached) $ECHO_C" >&6
    14065 @@ -3551,7 +3658,7 @@
     16540@@ -3551,7 +3474,7 @@
    1406616541   test -z "$ac_dir" && ac_dir=.
    1406716542   if $as_executable_p "$ac_dir/$ac_word"; then
    1406816543    ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
    1406916544-   echo "$as_me:3554: found $ac_dir/$ac_word" >&5
    14070 +   echo "$as_me:3661: found $ac_dir/$ac_word" >&5
     16545+   echo "$as_me:3477: found $ac_dir/$ac_word" >&5
    1407116546    break
    1407216547 fi
    1407316548 done
    14074 @@ -3563,10 +3670,10 @@
     16549@@ -3563,10 +3486,10 @@
    1407516550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
    1407616551 
    1407716552 if test -n "$ac_pt_PKG_CONFIG"; then
    1407816553-  echo "$as_me:3566: result: $ac_pt_PKG_CONFIG" >&5
    14079 +  echo "$as_me:3673: result: $ac_pt_PKG_CONFIG" >&5
     16554+  echo "$as_me:3489: result: $ac_pt_PKG_CONFIG" >&5
    1408016555 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    1408116556 else
    1408216557-  echo "$as_me:3569: result: no" >&5
    14083 +  echo "$as_me:3676: result: no" >&5
     16558+  echo "$as_me:3492: result: no" >&5
    1408416559 echo "${ECHO_T}no" >&6
    1408516560 fi
    1408616561 
    14087 @@ -3609,7 +3716,7 @@
     16562@@ -3597,7 +3520,7 @@
     16563   ;;
     16564 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     16565   ;;
     16566-.\${*prefix}*) #(vi
     16567+.\${*prefix}*|.\${*dir}*) #(vi
     16568   eval PKG_CONFIG="$PKG_CONFIG"
     16569   case ".$PKG_CONFIG" in #(vi
     16570   .NONE/*)
     16571@@ -3609,7 +3532,7 @@
    1408816572   PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
    1408916573   ;;
    1409016574 *)
    1409116575-  { { echo "$as_me:3612: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    14092 +  { { echo "$as_me:3719: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
     16576+  { { echo "$as_me:3535: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    1409316577 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
    1409416578    { (exit 1); exit 1; }; }
    1409516579   ;;
    14096 @@ -3617,16 +3724,52 @@
     16580@@ -3617,16 +3540,51 @@
    1409716581 
    1409816582 fi
     
    1410216586-echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
    1410316587+if test "$PKG_CONFIG" != none ; then
    14104 +       echo "$as_me:3728: checking for $PKG_CONFIG library directory" >&5
     16588+       echo "$as_me:3544: checking for $PKG_CONFIG library directory" >&5
    1410516589+echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6
    1410616590 
     
    1411016594-       fi
    1411116595-       PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
     16596-       if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
    1411216597+# Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given.
    1411316598+if test "${with_pkg_config_libdir+set}" = set; then
     
    1414416629+       esac
    1414516630+
    14146 +       echo "$as_me:3765: result: $PKG_CONFIG_LIBDIR" >&5
     16631+       echo "$as_me:3581: result: $PKG_CONFIG_LIBDIR" >&5
    1414716632+echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6
    1414816633+fi
    1414916634+
    1415016635+if test "$PKG_CONFIG" != none ; then
    14151         if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
    14152 +               echo "$as_me:3771: checking if we should install .pc files for $PKG_CONFIG" >&5
     16636+       echo "$as_me:3586: checking if we should install .pc files for $PKG_CONFIG" >&5
    1415316637+echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
    1415416638 
    1415516639 # Check whether --enable-pc-files or --disable-pc-files was given.
    1415616640 if test "${enable_pc_files+set}" = set; then
    14157 @@ -3635,18 +3778,18 @@
     16641@@ -3635,18 +3593,48 @@
    1415816642 else
    1415916643   enable_pc_files=no
    1416016644 fi;
    1416116645-               echo "$as_me:3638: result: $enable_pc_files" >&5
    14162 +               echo "$as_me:3781: result: $enable_pc_files" >&5
     16646+       echo "$as_me:3596: result: $enable_pc_files" >&5
    1416316647 echo "${ECHO_T}$enable_pc_files" >&6
    1416416648-       else
     
    1416716651-               { echo "$as_me:3643: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5
    1416816652-echo "$as_me: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&2;}
    14169 +       elif test -z "$PKG_CONFIG_LIBDIR" || test "$PKG_CONFIG_LIBDIR" != no; then
    14170                 enable_pc_files=no
    14171 +               { echo "$as_me:3785: WARNING: did not find $PKG_CONFIG library" >&5
    14172 +echo "$as_me: WARNING: did not find $PKG_CONFIG library" >&2;}
     16653-               enable_pc_files=no
     16654+       if test "$enable_pc_files" != no
     16655+       then
     16656+
     16657+if test "x$prefix" != xNONE; then
     16658+  cf_path_syntax="$prefix"
     16659+else
     16660+  cf_path_syntax="$ac_default_prefix"
     16661+fi
     16662+
     16663+case ".$PKG_CONFIG_LIBDIR" in #(vi
     16664+.\$\(*\)*|.\'*\'*) #(vi
     16665+  ;;
     16666+..|./*|.\\*) #(vi
     16667+  ;;
     16668+.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     16669+  ;;
     16670+.\${*prefix}*|.\${*dir}*) #(vi
     16671+  eval PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"
     16672+  case ".$PKG_CONFIG_LIBDIR" in #(vi
     16673+  .NONE/*)
     16674+    PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
     16675+    ;;
     16676+  esac
     16677+  ;; #(vi
     16678+.no|.NONE/*)
     16679+  PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
     16680+  ;;
     16681+*)
     16682+  { { echo "$as_me:3626: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&5
     16683+echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&2;}
     16684+   { (exit 1); exit 1; }; }
     16685+  ;;
     16686+esac
     16687+
    1417316688        fi
    1417416689+else
     
    1417716692 
    1417816693-echo "$as_me:3649: checking if we should assume mixed-case filenames" >&5
    14179 +echo "$as_me:3792: checking if we should assume mixed-case filenames" >&5
     16694+echo "$as_me:3637: checking if we should assume mixed-case filenames" >&5
    1418016695 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
    1418116696 
    1418216697 # Check whether --enable-mixed-case or --disable-mixed-case was given.
    14183 @@ -3656,11 +3799,11 @@
     16698@@ -3656,11 +3644,11 @@
    1418416699 else
    1418516700   enable_mixedcase=auto
    1418616701 fi;
    1418716702-echo "$as_me:3659: result: $enable_mixedcase" >&5
    14188 +echo "$as_me:3802: result: $enable_mixedcase" >&5
     16703+echo "$as_me:3647: result: $enable_mixedcase" >&5
    1418916704 echo "${ECHO_T}$enable_mixedcase" >&6
    1419016705 if test "$enable_mixedcase" = "auto" ; then
    1419116706 
    1419216707-echo "$as_me:3663: checking if filesystem supports mixed-case filenames" >&5
    14193 +echo "$as_me:3806: checking if filesystem supports mixed-case filenames" >&5
     16708+echo "$as_me:3651: checking if filesystem supports mixed-case filenames" >&5
    1419416709 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
    1419516710 if test "${cf_cv_mixedcase+set}" = set; then
    1419616711   echo $ECHO_N "(cached) $ECHO_C" >&6
    14197 @@ -3687,7 +3830,7 @@
     16712@@ -3687,7 +3675,7 @@
    1419816713 fi
    1419916714 
    1420016715 fi
    1420116716-echo "$as_me:3690: result: $cf_cv_mixedcase" >&5
    14202 +echo "$as_me:3833: result: $cf_cv_mixedcase" >&5
     16717+echo "$as_me:3678: result: $cf_cv_mixedcase" >&5
    1420316718 echo "${ECHO_T}$cf_cv_mixedcase" >&6
    1420416719 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF
    1420516720 #define MIXEDCASE_FILENAMES 1
    14206 @@ -3704,7 +3847,7 @@
     16721@@ -3704,7 +3692,7 @@
    1420716722 fi
    1420816723 
    1420916724 # do this after mixed-case option (tags/TAGS is not as important as tic).
    1421016725-echo "$as_me:3707: checking whether ${MAKE-make} sets \${MAKE}" >&5
    14211 +echo "$as_me:3850: checking whether ${MAKE-make} sets \${MAKE}" >&5
     16726+echo "$as_me:3695: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1421216727 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
    1421316728 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    1421416729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    14215 @@ -3724,11 +3867,11 @@
     16730@@ -3724,11 +3712,11 @@
    1421616731 rm -f conftest.make
    1421716732 fi
    1421816733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1421916734-  echo "$as_me:3727: result: yes" >&5
    14220 +  echo "$as_me:3870: result: yes" >&5
     16735+  echo "$as_me:3715: result: yes" >&5
    1422116736 echo "${ECHO_T}yes" >&6
    1422216737   SET_MAKE=
    1422316738 else
    1422416739-  echo "$as_me:3731: result: no" >&5
    14225 +  echo "$as_me:3874: result: no" >&5
     16740+  echo "$as_me:3719: result: no" >&5
    1422616741 echo "${ECHO_T}no" >&6
    1422716742   SET_MAKE="MAKE=${MAKE-make}"
    1422816743 fi
    14229 @@ -3737,7 +3880,7 @@
     16744@@ -3737,7 +3725,7 @@
    1423016745 do
    1423116746   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1423216747 set dummy $ac_prog; ac_word=$2
    1423316748-echo "$as_me:3740: checking for $ac_word" >&5
    14234 +echo "$as_me:3883: checking for $ac_word" >&5
     16749+echo "$as_me:3728: checking for $ac_word" >&5
    1423516750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1423616751 if test "${ac_cv_prog_CTAGS+set}" = set; then
    1423716752   echo $ECHO_N "(cached) $ECHO_C" >&6
    14238 @@ -3752,7 +3895,7 @@
     16753@@ -3752,7 +3740,7 @@
    1423916754   test -z "$ac_dir" && ac_dir=.
    1424016755   $as_executable_p "$ac_dir/$ac_word" || continue
    1424116756 ac_cv_prog_CTAGS="$ac_prog"
    1424216757-echo "$as_me:3755: found $ac_dir/$ac_word" >&5
    14243 +echo "$as_me:3898: found $ac_dir/$ac_word" >&5
     16758+echo "$as_me:3743: found $ac_dir/$ac_word" >&5
    1424416759 break
    1424516760 done
    1424616761 
    14247 @@ -3760,10 +3903,10 @@
     16762@@ -3760,10 +3748,10 @@
    1424816763 fi
    1424916764 CTAGS=$ac_cv_prog_CTAGS
    1425016765 if test -n "$CTAGS"; then
    1425116766-  echo "$as_me:3763: result: $CTAGS" >&5
    14252 +  echo "$as_me:3906: result: $CTAGS" >&5
     16767+  echo "$as_me:3751: result: $CTAGS" >&5
    1425316768 echo "${ECHO_T}$CTAGS" >&6
    1425416769 else
    1425516770-  echo "$as_me:3766: result: no" >&5
    14256 +  echo "$as_me:3909: result: no" >&5
     16771+  echo "$as_me:3754: result: no" >&5
    1425716772 echo "${ECHO_T}no" >&6
    1425816773 fi
    1425916774 
    14260 @@ -3774,7 +3917,7 @@
     16775@@ -3774,7 +3762,7 @@
    1426116776 do
    1426216777   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1426316778 set dummy $ac_prog; ac_word=$2
    1426416779-echo "$as_me:3777: checking for $ac_word" >&5
    14265 +echo "$as_me:3920: checking for $ac_word" >&5
     16780+echo "$as_me:3765: checking for $ac_word" >&5
    1426616781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1426716782 if test "${ac_cv_prog_ETAGS+set}" = set; then
    1426816783   echo $ECHO_N "(cached) $ECHO_C" >&6
    14269 @@ -3789,7 +3932,7 @@
     16784@@ -3789,7 +3777,7 @@
    1427016785   test -z "$ac_dir" && ac_dir=.
    1427116786   $as_executable_p "$ac_dir/$ac_word" || continue
    1427216787 ac_cv_prog_ETAGS="$ac_prog"
    1427316788-echo "$as_me:3792: found $ac_dir/$ac_word" >&5
    14274 +echo "$as_me:3935: found $ac_dir/$ac_word" >&5
     16789+echo "$as_me:3780: found $ac_dir/$ac_word" >&5
    1427516790 break
    1427616791 done
    1427716792 
    14278 @@ -3797,10 +3940,10 @@
     16793@@ -3797,10 +3785,10 @@
    1427916794 fi
    1428016795 ETAGS=$ac_cv_prog_ETAGS
    1428116796 if test -n "$ETAGS"; then
    1428216797-  echo "$as_me:3800: result: $ETAGS" >&5
    14283 +  echo "$as_me:3943: result: $ETAGS" >&5
     16798+  echo "$as_me:3788: result: $ETAGS" >&5
    1428416799 echo "${ECHO_T}$ETAGS" >&6
    1428516800 else
    1428616801-  echo "$as_me:3803: result: no" >&5
    14287 +  echo "$as_me:3946: result: no" >&5
     16802+  echo "$as_me:3791: result: no" >&5
    1428816803 echo "${ECHO_T}no" >&6
    1428916804 fi
    1429016805 
    14291 @@ -3809,7 +3952,7 @@
     16806@@ -3809,7 +3797,7 @@
    1429216807 
    1429316808 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
    1429416809 set dummy ${CTAGS:-ctags}; ac_word=$2
    1429516810-echo "$as_me:3812: checking for $ac_word" >&5
    14296 +echo "$as_me:3955: checking for $ac_word" >&5
     16811+echo "$as_me:3800: checking for $ac_word" >&5
    1429716812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1429816813 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
    1429916814   echo $ECHO_N "(cached) $ECHO_C" >&6
    14300 @@ -3824,7 +3967,7 @@
     16815@@ -3824,7 +3812,7 @@
    1430116816   test -z "$ac_dir" && ac_dir=.
    1430216817   $as_executable_p "$ac_dir/$ac_word" || continue
    1430316818 ac_cv_prog_MAKE_LOWER_TAGS="yes"
    1430416819-echo "$as_me:3827: found $ac_dir/$ac_word" >&5
    14305 +echo "$as_me:3970: found $ac_dir/$ac_word" >&5
     16820+echo "$as_me:3815: found $ac_dir/$ac_word" >&5
    1430616821 break
    1430716822 done
    1430816823 
    14309 @@ -3833,17 +3976,17 @@
     16824@@ -3833,17 +3821,17 @@
    1431016825 fi
    1431116826 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
    1431216827 if test -n "$MAKE_LOWER_TAGS"; then
    1431316828-  echo "$as_me:3836: result: $MAKE_LOWER_TAGS" >&5
    14314 +  echo "$as_me:3979: result: $MAKE_LOWER_TAGS" >&5
     16829+  echo "$as_me:3824: result: $MAKE_LOWER_TAGS" >&5
    1431516830 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
    1431616831 else
    1431716832-  echo "$as_me:3839: result: no" >&5
    14318 +  echo "$as_me:3982: result: no" >&5
     16833+  echo "$as_me:3827: result: no" >&5
    1431916834 echo "${ECHO_T}no" >&6
    1432016835 fi
     
    1432416839 set dummy ${ETAGS:-etags}; ac_word=$2
    1432516840-echo "$as_me:3846: checking for $ac_word" >&5
    14326 +echo "$as_me:3989: checking for $ac_word" >&5
     16841+echo "$as_me:3834: checking for $ac_word" >&5
    1432716842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1432816843 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
    1432916844   echo $ECHO_N "(cached) $ECHO_C" >&6
    14330 @@ -3858,7 +4001,7 @@
     16845@@ -3858,7 +3846,7 @@
    1433116846   test -z "$ac_dir" && ac_dir=.
    1433216847   $as_executable_p "$ac_dir/$ac_word" || continue
    1433316848 ac_cv_prog_MAKE_UPPER_TAGS="yes"
    1433416849-echo "$as_me:3861: found $ac_dir/$ac_word" >&5
    14335 +echo "$as_me:4004: found $ac_dir/$ac_word" >&5
     16850+echo "$as_me:3849: found $ac_dir/$ac_word" >&5
    1433616851 break
    1433716852 done
    1433816853 
    14339 @@ -3867,10 +4010,10 @@
     16854@@ -3867,10 +3855,10 @@
    1434016855 fi
    1434116856 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
    1434216857 if test -n "$MAKE_UPPER_TAGS"; then
    1434316858-  echo "$as_me:3870: result: $MAKE_UPPER_TAGS" >&5
    14344 +  echo "$as_me:4013: result: $MAKE_UPPER_TAGS" >&5
     16859+  echo "$as_me:3858: result: $MAKE_UPPER_TAGS" >&5
    1434516860 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
    1434616861 else
    1434716862-  echo "$as_me:3873: result: no" >&5
    14348 +  echo "$as_me:4016: result: no" >&5
     16863+  echo "$as_me:3861: result: no" >&5
    1434916864 echo "${ECHO_T}no" >&6
    1435016865 fi
    1435116866 
    14352 @@ -3890,7 +4033,7 @@
     16867@@ -3890,7 +3878,7 @@
    1435316868        MAKE_LOWER_TAGS="#"
    1435416869 fi
    1435516870 
    1435616871-echo "$as_me:3893: checking for makeflags variable" >&5
    14357 +echo "$as_me:4036: checking for makeflags variable" >&5
     16872+echo "$as_me:3881: checking for makeflags variable" >&5
    1435816873 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
    1435916874 if test "${cf_cv_makeflags+set}" = set; then
    1436016875   echo $ECHO_N "(cached) $ECHO_C" >&6
    14361 @@ -3924,13 +4067,13 @@
     16876@@ -3924,13 +3912,13 @@
    1436216877        rm -f cf_makeflags.tmp
    1436316878 
    1436416879 fi
    1436516880-echo "$as_me:3927: result: $cf_cv_makeflags" >&5
    14366 +echo "$as_me:4070: result: $cf_cv_makeflags" >&5
     16881+echo "$as_me:3915: result: $cf_cv_makeflags" >&5
    1436716882 echo "${ECHO_T}$cf_cv_makeflags" >&6
    1436816883 
     
    1437116886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    1437216887-echo "$as_me:3933: checking for $ac_word" >&5
    14373 +echo "$as_me:4076: checking for $ac_word" >&5
     16888+echo "$as_me:3921: checking for $ac_word" >&5
    1437416889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1437516890 if test "${ac_cv_prog_RANLIB+set}" = set; then
    1437616891   echo $ECHO_N "(cached) $ECHO_C" >&6
    14377 @@ -3945,7 +4088,7 @@
     16892@@ -3945,7 +3933,7 @@
    1437816893   test -z "$ac_dir" && ac_dir=.
    1437916894   $as_executable_p "$ac_dir/$ac_word" || continue
    1438016895 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    1438116896-echo "$as_me:3948: found $ac_dir/$ac_word" >&5
    14382 +echo "$as_me:4091: found $ac_dir/$ac_word" >&5
     16897+echo "$as_me:3936: found $ac_dir/$ac_word" >&5
    1438316898 break
    1438416899 done
    1438516900 
    14386 @@ -3953,10 +4096,10 @@
     16901@@ -3953,10 +3941,10 @@
    1438716902 fi
    1438816903 RANLIB=$ac_cv_prog_RANLIB
    1438916904 if test -n "$RANLIB"; then
    1439016905-  echo "$as_me:3956: result: $RANLIB" >&5
    14391 +  echo "$as_me:4099: result: $RANLIB" >&5
     16906+  echo "$as_me:3944: result: $RANLIB" >&5
    1439216907 echo "${ECHO_T}$RANLIB" >&6
    1439316908 else
    1439416909-  echo "$as_me:3959: result: no" >&5
    14395 +  echo "$as_me:4102: result: no" >&5
     16910+  echo "$as_me:3947: result: no" >&5
    1439616911 echo "${ECHO_T}no" >&6
    1439716912 fi
    1439816913 
    14399 @@ -3965,7 +4108,7 @@
     16914@@ -3965,7 +3953,7 @@
    1440016915   ac_ct_RANLIB=$RANLIB
    1440116916   # Extract the first word of "ranlib", so it can be a program name with args.
    1440216917 set dummy ranlib; ac_word=$2
    1440316918-echo "$as_me:3968: checking for $ac_word" >&5
    14404 +echo "$as_me:4111: checking for $ac_word" >&5
     16919+echo "$as_me:3956: checking for $ac_word" >&5
    1440516920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1440616921 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    1440716922   echo $ECHO_N "(cached) $ECHO_C" >&6
    14408 @@ -3980,7 +4123,7 @@
     16923@@ -3980,7 +3968,7 @@
    1440916924   test -z "$ac_dir" && ac_dir=.
    1441016925   $as_executable_p "$ac_dir/$ac_word" || continue
    1441116926 ac_cv_prog_ac_ct_RANLIB="ranlib"
    1441216927-echo "$as_me:3983: found $ac_dir/$ac_word" >&5
    14413 +echo "$as_me:4126: found $ac_dir/$ac_word" >&5
     16928+echo "$as_me:3971: found $ac_dir/$ac_word" >&5
    1441416929 break
    1441516930 done
    1441616931 
    14417 @@ -3989,10 +4132,10 @@
     16932@@ -3989,10 +3977,10 @@
    1441816933 fi
    1441916934 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    1442016935 if test -n "$ac_ct_RANLIB"; then
    1442116936-  echo "$as_me:3992: result: $ac_ct_RANLIB" >&5
    14422 +  echo "$as_me:4135: result: $ac_ct_RANLIB" >&5
     16937+  echo "$as_me:3980: result: $ac_ct_RANLIB" >&5
    1442316938 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    1442416939 else
    1442516940-  echo "$as_me:3995: result: no" >&5
    14426 +  echo "$as_me:4138: result: no" >&5
     16941+  echo "$as_me:3983: result: no" >&5
    1442716942 echo "${ECHO_T}no" >&6
    1442816943 fi
    1442916944 
    14430 @@ -4004,7 +4147,7 @@
     16945@@ -4004,7 +3992,7 @@
    1443116946 if test -n "$ac_tool_prefix"; then
    1443216947   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
    1443316948 set dummy ${ac_tool_prefix}ld; ac_word=$2
    1443416949-echo "$as_me:4007: checking for $ac_word" >&5
    14435 +echo "$as_me:4150: checking for $ac_word" >&5
     16950+echo "$as_me:3995: checking for $ac_word" >&5
    1443616951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1443716952 if test "${ac_cv_prog_LD+set}" = set; then
    1443816953   echo $ECHO_N "(cached) $ECHO_C" >&6
    14439 @@ -4019,7 +4162,7 @@
     16954@@ -4019,7 +4007,7 @@
    1444016955   test -z "$ac_dir" && ac_dir=.
    1444116956   $as_executable_p "$ac_dir/$ac_word" || continue
    1444216957 ac_cv_prog_LD="${ac_tool_prefix}ld"
    1444316958-echo "$as_me:4022: found $ac_dir/$ac_word" >&5
    14444 +echo "$as_me:4165: found $ac_dir/$ac_word" >&5
     16959+echo "$as_me:4010: found $ac_dir/$ac_word" >&5
    1444516960 break
    1444616961 done
    1444716962 
    14448 @@ -4027,10 +4170,10 @@
     16963@@ -4027,10 +4015,10 @@
    1444916964 fi
    1445016965 LD=$ac_cv_prog_LD
    1445116966 if test -n "$LD"; then
    1445216967-  echo "$as_me:4030: result: $LD" >&5
    14453 +  echo "$as_me:4173: result: $LD" >&5
     16968+  echo "$as_me:4018: result: $LD" >&5
    1445416969 echo "${ECHO_T}$LD" >&6
    1445516970 else
    1445616971-  echo "$as_me:4033: result: no" >&5
    14457 +  echo "$as_me:4176: result: no" >&5
     16972+  echo "$as_me:4021: result: no" >&5
    1445816973 echo "${ECHO_T}no" >&6
    1445916974 fi
    1446016975 
    14461 @@ -4039,7 +4182,7 @@
     16976@@ -4039,7 +4027,7 @@
    1446216977   ac_ct_LD=$LD
    1446316978   # Extract the first word of "ld", so it can be a program name with args.
    1446416979 set dummy ld; ac_word=$2
    1446516980-echo "$as_me:4042: checking for $ac_word" >&5
    14466 +echo "$as_me:4185: checking for $ac_word" >&5
     16981+echo "$as_me:4030: checking for $ac_word" >&5
    1446716982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1446816983 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
    1446916984   echo $ECHO_N "(cached) $ECHO_C" >&6
    14470 @@ -4054,7 +4197,7 @@
     16985@@ -4054,7 +4042,7 @@
    1447116986   test -z "$ac_dir" && ac_dir=.
    1447216987   $as_executable_p "$ac_dir/$ac_word" || continue
    1447316988 ac_cv_prog_ac_ct_LD="ld"
    1447416989-echo "$as_me:4057: found $ac_dir/$ac_word" >&5
    14475 +echo "$as_me:4200: found $ac_dir/$ac_word" >&5
     16990+echo "$as_me:4045: found $ac_dir/$ac_word" >&5
    1447616991 break
    1447716992 done
    1447816993 
    14479 @@ -4063,10 +4206,10 @@
     16994@@ -4063,10 +4051,10 @@
    1448016995 fi
    1448116996 ac_ct_LD=$ac_cv_prog_ac_ct_LD
    1448216997 if test -n "$ac_ct_LD"; then
    1448316998-  echo "$as_me:4066: result: $ac_ct_LD" >&5
    14484 +  echo "$as_me:4209: result: $ac_ct_LD" >&5
     16999+  echo "$as_me:4054: result: $ac_ct_LD" >&5
    1448517000 echo "${ECHO_T}$ac_ct_LD" >&6
    1448617001 else
    1448717002-  echo "$as_me:4069: result: no" >&5
    14488 +  echo "$as_me:4212: result: no" >&5
     17003+  echo "$as_me:4057: result: no" >&5
    1448917004 echo "${ECHO_T}no" >&6
    1449017005 fi
    1449117006 
    14492 @@ -4078,7 +4221,7 @@
     17007@@ -4078,7 +4066,7 @@
    1449317008 if test -n "$ac_tool_prefix"; then
    1449417009   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    1449517010 set dummy ${ac_tool_prefix}ar; ac_word=$2
    1449617011-echo "$as_me:4081: checking for $ac_word" >&5
    14497 +echo "$as_me:4224: checking for $ac_word" >&5
     17012+echo "$as_me:4069: checking for $ac_word" >&5
    1449817013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1449917014 if test "${ac_cv_prog_AR+set}" = set; then
    1450017015   echo $ECHO_N "(cached) $ECHO_C" >&6
    14501 @@ -4093,7 +4236,7 @@
     17016@@ -4093,7 +4081,7 @@
    1450217017   test -z "$ac_dir" && ac_dir=.
    1450317018   $as_executable_p "$ac_dir/$ac_word" || continue
    1450417019 ac_cv_prog_AR="${ac_tool_prefix}ar"
    1450517020-echo "$as_me:4096: found $ac_dir/$ac_word" >&5
    14506 +echo "$as_me:4239: found $ac_dir/$ac_word" >&5
     17021+echo "$as_me:4084: found $ac_dir/$ac_word" >&5
    1450717022 break
    1450817023 done
    1450917024 
    14510 @@ -4101,10 +4244,10 @@
     17025@@ -4101,10 +4089,10 @@
    1451117026 fi
    1451217027 AR=$ac_cv_prog_AR
    1451317028 if test -n "$AR"; then
    1451417029-  echo "$as_me:4104: result: $AR" >&5
    14515 +  echo "$as_me:4247: result: $AR" >&5
     17030+  echo "$as_me:4092: result: $AR" >&5
    1451617031 echo "${ECHO_T}$AR" >&6
    1451717032 else
    1451817033-  echo "$as_me:4107: result: no" >&5
    14519 +  echo "$as_me:4250: result: no" >&5
     17034+  echo "$as_me:4095: result: no" >&5
    1452017035 echo "${ECHO_T}no" >&6
    1452117036 fi
    1452217037 
    14523 @@ -4113,7 +4256,7 @@
     17038@@ -4113,7 +4101,7 @@
    1452417039   ac_ct_AR=$AR
    1452517040   # Extract the first word of "ar", so it can be a program name with args.
    1452617041 set dummy ar; ac_word=$2
    1452717042-echo "$as_me:4116: checking for $ac_word" >&5
    14528 +echo "$as_me:4259: checking for $ac_word" >&5
     17043+echo "$as_me:4104: checking for $ac_word" >&5
    1452917044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1453017045 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    1453117046   echo $ECHO_N "(cached) $ECHO_C" >&6
    14532 @@ -4128,7 +4271,7 @@
     17047@@ -4128,7 +4116,7 @@
    1453317048   test -z "$ac_dir" && ac_dir=.
    1453417049   $as_executable_p "$ac_dir/$ac_word" || continue
    1453517050 ac_cv_prog_ac_ct_AR="ar"
    1453617051-echo "$as_me:4131: found $ac_dir/$ac_word" >&5
    14537 +echo "$as_me:4274: found $ac_dir/$ac_word" >&5
     17052+echo "$as_me:4119: found $ac_dir/$ac_word" >&5
    1453817053 break
    1453917054 done
    1454017055 
    14541 @@ -4137,10 +4280,10 @@
     17056@@ -4137,10 +4125,10 @@
    1454217057 fi
    1454317058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    1454417059 if test -n "$ac_ct_AR"; then
    1454517060-  echo "$as_me:4140: result: $ac_ct_AR" >&5
    14546 +  echo "$as_me:4283: result: $ac_ct_AR" >&5
     17061+  echo "$as_me:4128: result: $ac_ct_AR" >&5
    1454717062 echo "${ECHO_T}$ac_ct_AR" >&6
    1454817063 else
    1454917064-  echo "$as_me:4143: result: no" >&5
    14550 +  echo "$as_me:4286: result: no" >&5
     17065+  echo "$as_me:4131: result: no" >&5
    1455117066 echo "${ECHO_T}no" >&6
    1455217067 fi
    1455317068 
    14554 @@ -4152,7 +4295,7 @@
     17069@@ -4152,7 +4140,7 @@
    1455517070 if test -n "$ac_tool_prefix"; then
    1455617071   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    1455717072 set dummy ${ac_tool_prefix}ar; ac_word=$2
    1455817073-echo "$as_me:4155: checking for $ac_word" >&5
    14559 +echo "$as_me:4298: checking for $ac_word" >&5
     17074+echo "$as_me:4143: checking for $ac_word" >&5
    1456017075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1456117076 if test "${ac_cv_prog_AR+set}" = set; then
    1456217077   echo $ECHO_N "(cached) $ECHO_C" >&6
    14563 @@ -4167,7 +4310,7 @@
     17078@@ -4167,7 +4155,7 @@
    1456417079   test -z "$ac_dir" && ac_dir=.
    1456517080   $as_executable_p "$ac_dir/$ac_word" || continue
    1456617081 ac_cv_prog_AR="${ac_tool_prefix}ar"
    1456717082-echo "$as_me:4170: found $ac_dir/$ac_word" >&5
    14568 +echo "$as_me:4313: found $ac_dir/$ac_word" >&5
     17083+echo "$as_me:4158: found $ac_dir/$ac_word" >&5
    1456917084 break
    1457017085 done
    1457117086 
    14572 @@ -4175,10 +4318,10 @@
     17087@@ -4175,10 +4163,10 @@
    1457317088 fi
    1457417089 AR=$ac_cv_prog_AR
    1457517090 if test -n "$AR"; then
    1457617091-  echo "$as_me:4178: result: $AR" >&5
    14577 +  echo "$as_me:4321: result: $AR" >&5
     17092+  echo "$as_me:4166: result: $AR" >&5
    1457817093 echo "${ECHO_T}$AR" >&6
    1457917094 else
    1458017095-  echo "$as_me:4181: result: no" >&5
    14581 +  echo "$as_me:4324: result: no" >&5
     17096+  echo "$as_me:4169: result: no" >&5
    1458217097 echo "${ECHO_T}no" >&6
    1458317098 fi
    1458417099 
    14585 @@ -4187,7 +4330,7 @@
     17100@@ -4187,7 +4175,7 @@
    1458617101   ac_ct_AR=$AR
    1458717102   # Extract the first word of "ar", so it can be a program name with args.
    1458817103 set dummy ar; ac_word=$2
    1458917104-echo "$as_me:4190: checking for $ac_word" >&5
    14590 +echo "$as_me:4333: checking for $ac_word" >&5
     17105+echo "$as_me:4178: checking for $ac_word" >&5
    1459117106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1459217107 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    1459317108   echo $ECHO_N "(cached) $ECHO_C" >&6
    14594 @@ -4202,7 +4345,7 @@
     17109@@ -4202,7 +4190,7 @@
    1459517110   test -z "$ac_dir" && ac_dir=.
    1459617111   $as_executable_p "$ac_dir/$ac_word" || continue
    1459717112 ac_cv_prog_ac_ct_AR="ar"
    1459817113-echo "$as_me:4205: found $ac_dir/$ac_word" >&5
    14599 +echo "$as_me:4348: found $ac_dir/$ac_word" >&5
     17114+echo "$as_me:4193: found $ac_dir/$ac_word" >&5
    1460017115 break
    1460117116 done
    1460217117 
    14603 @@ -4211,10 +4354,10 @@
     17118@@ -4211,10 +4199,10 @@
    1460417119 fi
    1460517120 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    1460617121 if test -n "$ac_ct_AR"; then
    1460717122-  echo "$as_me:4214: result: $ac_ct_AR" >&5
    14608 +  echo "$as_me:4357: result: $ac_ct_AR" >&5
     17123+  echo "$as_me:4202: result: $ac_ct_AR" >&5
    1460917124 echo "${ECHO_T}$ac_ct_AR" >&6
    1461017125 else
    1461117126-  echo "$as_me:4217: result: no" >&5
    14612 +  echo "$as_me:4360: result: no" >&5
     17127+  echo "$as_me:4205: result: no" >&5
    1461317128 echo "${ECHO_T}no" >&6
    1461417129 fi
    1461517130 
    14616 @@ -4223,7 +4366,7 @@
     17131@@ -4223,7 +4211,7 @@
    1461717132   AR="$ac_cv_prog_AR"
    1461817133 fi
    1461917134 
    1462017135-echo "$as_me:4226: checking for options to update archives" >&5
    14621 +echo "$as_me:4369: checking for options to update archives" >&5
     17136+echo "$as_me:4214: checking for options to update archives" >&5
    1462217137 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6
    1462317138 if test "${cf_cv_ar_flags+set}" = set; then
    1462417139   echo $ECHO_N "(cached) $ECHO_C" >&6
    14625 @@ -4246,13 +4389,13 @@
     17140@@ -4246,13 +4234,13 @@
    1462617141                rm -f conftest.a
    1462717142 
    1462817143                cat >conftest.$ac_ext <<EOF
    1462917144-#line 4249 "configure"
    14630 +#line 4392 "configure"
     17145+#line 4237 "configure"
    1463117146 int    testdata[3] = { 123, 456, 789 };
    1463217147 EOF
    1463317148-               if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5
    14634 +               if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
     17149+               if { (eval echo "$as_me:4240: \"$ac_compile\"") >&5
    1463517150   (eval $ac_compile) 2>&5
    1463617151   ac_status=$?
    1463717152-  echo "$as_me:4255: \$? = $ac_status" >&5
    14638 +  echo "$as_me:4398: \$? = $ac_status" >&5
     17153+  echo "$as_me:4243: \$? = $ac_status" >&5
    1463917154   (exit $ac_status); } ; then
    1464017155                        echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5
    1464117156                        $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null
    14642 @@ -4263,7 +4406,7 @@
     17157@@ -4263,7 +4251,7 @@
    1464317158                else
    1464417159                        test -n "$verbose" && echo "    cannot compile test-program" 1>&6
    1464517160 
    1464617161-echo "${as_me:-configure}:4266: testing cannot compile test-program ..." 1>&5
    14647 +echo "${as_me:-configure}:4409: testing cannot compile test-program ..." 1>&5
     17162+echo "${as_me:-configure}:4254: testing cannot compile test-program ..." 1>&5
    1464817163 
    1464917164                        break
    1465017165                fi
    14651 @@ -4271,7 +4414,7 @@
     17166@@ -4271,7 +4259,7 @@
    1465217167        rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext
    1465317168 
    1465417169 fi
    1465517170-echo "$as_me:4274: result: $cf_cv_ar_flags" >&5
    14656 +echo "$as_me:4417: result: $cf_cv_ar_flags" >&5
     17171+echo "$as_me:4262: result: $cf_cv_ar_flags" >&5
    1465717172 echo "${ECHO_T}$cf_cv_ar_flags" >&6
    1465817173 
    1465917174 if test -n "$ARFLAGS" ; then
    14660 @@ -4282,7 +4425,7 @@
     17175@@ -4282,7 +4270,7 @@
    1466117176        ARFLAGS=$cf_cv_ar_flags
    1466217177 fi
    1466317178 
    1466417179-echo "$as_me:4285: checking if you have specified an install-prefix" >&5
    14665 +echo "$as_me:4428: checking if you have specified an install-prefix" >&5
     17180+echo "$as_me:4273: checking if you have specified an install-prefix" >&5
    1466617181 echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6
    1466717182 
    1466817183 # Check whether --with-install-prefix or --without-install-prefix was given.
    14669 @@ -4295,7 +4438,7 @@
     17184@@ -4295,7 +4283,7 @@
    1467017185                ;;
    1467117186        esac
    1467217187 fi;
    1467317188-echo "$as_me:4298: result: $DESTDIR" >&5
    14674 +echo "$as_me:4441: result: $DESTDIR" >&5
     17189+echo "$as_me:4286: result: $DESTDIR" >&5
    1467517190 echo "${ECHO_T}$DESTDIR" >&6
    1467617191 
    1467717192 ###############################################################################
    14678 @@ -4323,7 +4466,7 @@
     17193@@ -4323,7 +4311,7 @@
    1467917194 do
    1468017195   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1468117196 set dummy $ac_prog; ac_word=$2
    1468217197-echo "$as_me:4326: checking for $ac_word" >&5
    14683 +echo "$as_me:4469: checking for $ac_word" >&5
     17198+echo "$as_me:4314: checking for $ac_word" >&5
    1468417199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1468517200 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
    1468617201   echo $ECHO_N "(cached) $ECHO_C" >&6
    14687 @@ -4338,7 +4481,7 @@
     17202@@ -4338,7 +4326,7 @@
    1468817203   test -z "$ac_dir" && ac_dir=.
    1468917204   $as_executable_p "$ac_dir/$ac_word" || continue
    1469017205 ac_cv_prog_BUILD_CC="$ac_prog"
    1469117206-echo "$as_me:4341: found $ac_dir/$ac_word" >&5
    14692 +echo "$as_me:4484: found $ac_dir/$ac_word" >&5
     17207+echo "$as_me:4329: found $ac_dir/$ac_word" >&5
    1469317208 break
    1469417209 done
    1469517210 
    14696 @@ -4346,10 +4489,10 @@
     17211@@ -4346,10 +4334,10 @@
    1469717212 fi
    1469817213 BUILD_CC=$ac_cv_prog_BUILD_CC
    1469917214 if test -n "$BUILD_CC"; then
    1470017215-  echo "$as_me:4349: result: $BUILD_CC" >&5
    14701 +  echo "$as_me:4492: result: $BUILD_CC" >&5
     17216+  echo "$as_me:4337: result: $BUILD_CC" >&5
    1470217217 echo "${ECHO_T}$BUILD_CC" >&6
    1470317218 else
    1470417219-  echo "$as_me:4352: result: no" >&5
    14705 +  echo "$as_me:4495: result: no" >&5
     17220+  echo "$as_me:4340: result: no" >&5
    1470617221 echo "${ECHO_T}no" >&6
    1470717222 fi
    1470817223 
    14709 @@ -4357,12 +4500,12 @@
     17224@@ -4357,12 +4345,12 @@
    1471017225 done
    1471117226 
    1471217227 fi;
    1471317228-       echo "$as_me:4360: checking for native build C compiler" >&5
    14714 +       echo "$as_me:4503: checking for native build C compiler" >&5
     17229+       echo "$as_me:4348: checking for native build C compiler" >&5
    1471517230 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6
    1471617231-       echo "$as_me:4362: result: $BUILD_CC" >&5
    14717 +       echo "$as_me:4505: result: $BUILD_CC" >&5
     17232+       echo "$as_me:4350: result: $BUILD_CC" >&5
    1471817233 echo "${ECHO_T}$BUILD_CC" >&6
    1471917234 
    1472017235-       echo "$as_me:4365: checking for native build C preprocessor" >&5
    14721 +       echo "$as_me:4508: checking for native build C preprocessor" >&5
     17236+       echo "$as_me:4353: checking for native build C preprocessor" >&5
    1472217237 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6
    1472317238 
    1472417239 # Check whether --with-build-cpp or --without-build-cpp was given.
    14725 @@ -4372,10 +4515,10 @@
     17240@@ -4372,10 +4360,10 @@
    1472617241 else
    1472717242   BUILD_CPP='${BUILD_CC} -E'
    1472817243 fi;
    1472917244-       echo "$as_me:4375: result: $BUILD_CPP" >&5
    14730 +       echo "$as_me:4518: result: $BUILD_CPP" >&5
     17245+       echo "$as_me:4363: result: $BUILD_CPP" >&5
    1473117246 echo "${ECHO_T}$BUILD_CPP" >&6
    1473217247 
    1473317248-       echo "$as_me:4378: checking for native build C flags" >&5
    14734 +       echo "$as_me:4521: checking for native build C flags" >&5
     17249+       echo "$as_me:4366: checking for native build C flags" >&5
    1473517250 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6
    1473617251 
    1473717252 # Check whether --with-build-cflags or --without-build-cflags was given.
    14738 @@ -4383,10 +4526,10 @@
     17253@@ -4383,10 +4371,10 @@
    1473917254   withval="$with_build_cflags"
    1474017255   BUILD_CFLAGS="$withval"
    1474117256 fi;
    1474217257-       echo "$as_me:4386: result: $BUILD_CFLAGS" >&5
    14743 +       echo "$as_me:4529: result: $BUILD_CFLAGS" >&5
     17258+       echo "$as_me:4374: result: $BUILD_CFLAGS" >&5
    1474417259 echo "${ECHO_T}$BUILD_CFLAGS" >&6
    1474517260 
    1474617261-       echo "$as_me:4389: checking for native build C preprocessor-flags" >&5
    14747 +       echo "$as_me:4532: checking for native build C preprocessor-flags" >&5
     17262+       echo "$as_me:4377: checking for native build C preprocessor-flags" >&5
    1474817263 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6
    1474917264 
    1475017265 # Check whether --with-build-cppflags or --without-build-cppflags was given.
    14751 @@ -4394,10 +4537,10 @@
     17266@@ -4394,10 +4382,10 @@
    1475217267   withval="$with_build_cppflags"
    1475317268   BUILD_CPPFLAGS="$withval"
    1475417269 fi;
    1475517270-       echo "$as_me:4397: result: $BUILD_CPPFLAGS" >&5
    14756 +       echo "$as_me:4540: result: $BUILD_CPPFLAGS" >&5
     17271+       echo "$as_me:4385: result: $BUILD_CPPFLAGS" >&5
    1475717272 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6
    1475817273 
    1475917274-       echo "$as_me:4400: checking for native build linker-flags" >&5
    14760 +       echo "$as_me:4543: checking for native build linker-flags" >&5
     17275+       echo "$as_me:4388: checking for native build linker-flags" >&5
    1476117276 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6
    1476217277 
    1476317278 # Check whether --with-build-ldflags or --without-build-ldflags was given.
    14764 @@ -4405,10 +4548,10 @@
     17279@@ -4405,10 +4393,10 @@
    1476517280   withval="$with_build_ldflags"
    1476617281   BUILD_LDFLAGS="$withval"
    1476717282 fi;
    1476817283-       echo "$as_me:4408: result: $BUILD_LDFLAGS" >&5
    14769 +       echo "$as_me:4551: result: $BUILD_LDFLAGS" >&5
     17284+       echo "$as_me:4396: result: $BUILD_LDFLAGS" >&5
    1477017285 echo "${ECHO_T}$BUILD_LDFLAGS" >&6
    1477117286 
    1477217287-       echo "$as_me:4411: checking for native build linker-libraries" >&5
    14773 +       echo "$as_me:4554: checking for native build linker-libraries" >&5
     17288+       echo "$as_me:4399: checking for native build linker-libraries" >&5
    1477417289 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6
    1477517290 
    1477617291 # Check whether --with-build-libs or --without-build-libs was given.
    14777 @@ -4416,7 +4559,7 @@
     17292@@ -4416,7 +4404,7 @@
    1477817293   withval="$with_build_libs"
    1477917294   BUILD_LIBS="$withval"
    1478017295 fi;
    1478117296-       echo "$as_me:4419: result: $BUILD_LIBS" >&5
    14782 +       echo "$as_me:4562: result: $BUILD_LIBS" >&5
     17297+       echo "$as_me:4407: result: $BUILD_LIBS" >&5
    1478317298 echo "${ECHO_T}$BUILD_LIBS" >&6
    1478417299 
    1478517300        # this assumes we're on Unix.
    14786 @@ -4426,7 +4569,7 @@
     17301@@ -4426,7 +4414,7 @@
    1478717302        : ${BUILD_CC:='${CC}'}
    1478817303 
    1478917304        if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
    1479017305-               { { echo "$as_me:4429: error: Cross-build requires two compilers.
    14791 +               { { echo "$as_me:4572: error: Cross-build requires two compilers.
     17306+               { { echo "$as_me:4417: error: Cross-build requires two compilers.
    1479217307 Use --with-build-cc to specify the native compiler." >&5
    1479317308 echo "$as_me: error: Cross-build requires two compilers.
    1479417309 Use --with-build-cc to specify the native compiler." >&2;}
    14795 @@ -4451,7 +4594,7 @@
     17310@@ -4451,7 +4439,7 @@
    1479617311 ### shared, for example.
    1479717312 cf_list_models=""
    1479817313 
    1479917314-echo "$as_me:4454: checking if libtool -version-number should be used" >&5
    14800 +echo "$as_me:4597: checking if libtool -version-number should be used" >&5
     17315+echo "$as_me:4442: checking if libtool -version-number should be used" >&5
    1480117316 echo $ECHO_N "checking if libtool -version-number should be used... $ECHO_C" >&6
    1480217317 
    1480317318 # Check whether --enable-libtool-version or --disable-libtool-version was given.
    14804 @@ -4468,7 +4611,7 @@
     17319@@ -4468,7 +4456,7 @@
    1480517320   cf_libtool_version=yes
    1480617321 
    1480717322 fi;
    1480817323-echo "$as_me:4471: result: $cf_libtool_version" >&5
    14809 +echo "$as_me:4614: result: $cf_libtool_version" >&5
     17324+echo "$as_me:4459: result: $cf_libtool_version" >&5
    1481017325 echo "${ECHO_T}$cf_libtool_version" >&6
    1481117326 
    1481217327 if test "$cf_libtool_version" = yes ; then
    14813 @@ -4493,7 +4636,7 @@
     17328@@ -4493,7 +4481,7 @@
    1481417329 LIB_INSTALL=
    1481517330 LIB_UNINSTALL=
    1481617331 
    1481717332-echo "$as_me:4496: checking if you want to build libraries with libtool" >&5
    14818 +echo "$as_me:4639: checking if you want to build libraries with libtool" >&5
     17333+echo "$as_me:4484: checking if you want to build libraries with libtool" >&5
    1481917334 echo $ECHO_N "checking if you want to build libraries with libtool... $ECHO_C" >&6
    1482017335 
    1482117336 # Check whether --with-libtool or --without-libtool was given.
    14822 @@ -4503,7 +4646,7 @@
     17337@@ -4503,7 +4491,7 @@
    1482317338 else
    1482417339   with_libtool=no
    1482517340 fi;
    1482617341-echo "$as_me:4506: result: $with_libtool" >&5
    14827 +echo "$as_me:4649: result: $with_libtool" >&5
     17342+echo "$as_me:4494: result: $with_libtool" >&5
    1482817343 echo "${ECHO_T}$with_libtool" >&6
    1482917344 if test "$with_libtool" != "no"; then
    1483017345 
    14831 @@ -4534,7 +4677,7 @@
     17346@@ -4522,7 +4510,7 @@
     17347   ;;
     17348 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     17349   ;;
     17350-.\${*prefix}*) #(vi
     17351+.\${*prefix}*|.\${*dir}*) #(vi
     17352   eval with_libtool="$with_libtool"
     17353   case ".$with_libtool" in #(vi
     17354   .NONE/*)
     17355@@ -4534,7 +4522,7 @@
    1483217356   with_libtool=`echo $with_libtool | sed -e s%NONE%$cf_path_syntax%`
    1483317357   ;;
    1483417358 *)
    1483517359-  { { echo "$as_me:4537: error: expected a pathname, not \"$with_libtool\"" >&5
    14836 +  { { echo "$as_me:4680: error: expected a pathname, not \"$with_libtool\"" >&5
     17360+  { { echo "$as_me:4525: error: expected a pathname, not \"$with_libtool\"" >&5
    1483717361 echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;}
    1483817362    { (exit 1); exit 1; }; }
    1483917363   ;;
    14840 @@ -4544,7 +4687,7 @@
     17364@@ -4544,7 +4532,7 @@
    1484117365        else
    1484217366                # Extract the first word of "libtool", so it can be a program name with args.
    1484317367 set dummy libtool; ac_word=$2
    1484417368-echo "$as_me:4547: checking for $ac_word" >&5
    14845 +echo "$as_me:4690: checking for $ac_word" >&5
     17369+echo "$as_me:4535: checking for $ac_word" >&5
    1484617370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1484717371 if test "${ac_cv_path_LIBTOOL+set}" = set; then
    1484817372   echo $ECHO_N "(cached) $ECHO_C" >&6
    14849 @@ -4561,7 +4704,7 @@
     17373@@ -4561,7 +4549,7 @@
    1485017374   test -z "$ac_dir" && ac_dir=.
    1485117375   if $as_executable_p "$ac_dir/$ac_word"; then
    1485217376    ac_cv_path_LIBTOOL="$ac_dir/$ac_word"
    1485317377-   echo "$as_me:4564: found $ac_dir/$ac_word" >&5
    14854 +   echo "$as_me:4707: found $ac_dir/$ac_word" >&5
     17378+   echo "$as_me:4552: found $ac_dir/$ac_word" >&5
    1485517379    break
    1485617380 fi
    1485717381 done
    14858 @@ -4572,20 +4715,20 @@
     17382@@ -4572,20 +4560,20 @@
    1485917383 LIBTOOL=$ac_cv_path_LIBTOOL
    1486017384 
    1486117385 if test -n "$LIBTOOL"; then
    1486217386-  echo "$as_me:4575: result: $LIBTOOL" >&5
    14863 +  echo "$as_me:4718: result: $LIBTOOL" >&5
     17387+  echo "$as_me:4563: result: $LIBTOOL" >&5
    1486417388 echo "${ECHO_T}$LIBTOOL" >&6
    1486517389 else
    1486617390-  echo "$as_me:4578: result: no" >&5
    14867 +  echo "$as_me:4721: result: no" >&5
     17391+  echo "$as_me:4566: result: no" >&5
    1486817392 echo "${ECHO_T}no" >&6
    1486917393 fi
     
    1487217396        if test -z "$LIBTOOL" ; then
    1487317397-               { { echo "$as_me:4584: error: Cannot find libtool" >&5
    14874 +               { { echo "$as_me:4727: error: Cannot find libtool" >&5
     17398+               { { echo "$as_me:4572: error: Cannot find libtool" >&5
    1487517399 echo "$as_me: error: Cannot find libtool" >&2;}
    1487617400    { (exit 1); exit 1; }; }
     
    1488117405        LIB_SUFFIX=.la
    1488217406        LIB_CLEAN='${LIBTOOL} --mode=clean'
    14883 @@ -4596,17 +4739,17 @@
     17407@@ -4596,17 +4584,17 @@
    1488417408        LIB_PREP=:
    1488517409 
    1488617410        # Show the version of libtool
    1488717411-       echo "$as_me:4599: checking version of libtool" >&5
    14888 +       echo "$as_me:4742: checking version of libtool" >&5
     17412+       echo "$as_me:4587: checking version of libtool" >&5
    1488917413 echo $ECHO_N "checking version of libtool... $ECHO_C" >&6
    1489017414 
     
    1489417418        cf_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e 's/^[^1-9]*//' -e 's/[^0-9.].*//'`
    1489517419-       echo "$as_me:4606: result: $cf_cv_libtool_version" >&5
    14896 +       echo "$as_me:4749: result: $cf_cv_libtool_version" >&5
     17420+       echo "$as_me:4594: result: $cf_cv_libtool_version" >&5
    1489717421 echo "${ECHO_T}$cf_cv_libtool_version" >&6
    1489817422        if test -z "$cf_cv_libtool_version" ; then
    1489917423-               { { echo "$as_me:4609: error: This is not GNU libtool" >&5
    14900 +               { { echo "$as_me:4752: error: This is not GNU libtool" >&5
     17424+               { { echo "$as_me:4597: error: This is not GNU libtool" >&5
    1490117425 echo "$as_me: error: This is not GNU libtool" >&2;}
    1490217426    { (exit 1); exit 1; }; }
    1490317427        fi
    14904 @@ -4614,7 +4757,7 @@
     17428@@ -4614,7 +4602,7 @@
    1490517429        # special hack to add -no-undefined (which libtool should do for itself)
    1490617430        LT_UNDEF=
     
    1491117435                ;;
    1491217436        esac
    14913 @@ -4642,7 +4785,7 @@
     17437@@ -4642,7 +4630,7 @@
    1491417438 
    1491517439 else
    1491617440 
    1491717441-echo "$as_me:4645: checking if you want to build shared libraries" >&5
    14918 +echo "$as_me:4788: checking if you want to build shared libraries" >&5
     17442+echo "$as_me:4633: checking if you want to build shared libraries" >&5
    1491917443 echo $ECHO_N "checking if you want to build shared libraries... $ECHO_C" >&6
    1492017444 
    1492117445 # Check whether --with-shared or --without-shared was given.
    14922 @@ -4652,11 +4795,11 @@
     17446@@ -4652,11 +4640,11 @@
    1492317447 else
    1492417448   with_shared=no
    1492517449 fi;
    1492617450-echo "$as_me:4655: result: $with_shared" >&5
    14927 +echo "$as_me:4798: result: $with_shared" >&5
     17451+echo "$as_me:4643: result: $with_shared" >&5
    1492817452 echo "${ECHO_T}$with_shared" >&6
    1492917453 test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared"
    1493017454 
    1493117455-echo "$as_me:4659: checking if you want to build static libraries" >&5
    14932 +echo "$as_me:4802: checking if you want to build static libraries" >&5
     17456+echo "$as_me:4647: checking if you want to build static libraries" >&5
    1493317457 echo $ECHO_N "checking if you want to build static libraries... $ECHO_C" >&6
    1493417458 
    1493517459 # Check whether --with-normal or --without-normal was given.
    14936 @@ -4666,11 +4809,11 @@
     17460@@ -4666,11 +4654,11 @@
    1493717461 else
    1493817462   with_normal=yes
    1493917463 fi;
    1494017464-echo "$as_me:4669: result: $with_normal" >&5
    14941 +echo "$as_me:4812: result: $with_normal" >&5
     17465+echo "$as_me:4657: result: $with_normal" >&5
    1494217466 echo "${ECHO_T}$with_normal" >&6
    1494317467 test "$with_normal" = "yes" && cf_list_models="$cf_list_models normal"
    1494417468 
    1494517469-echo "$as_me:4673: checking if you want to build debug libraries" >&5
    14946 +echo "$as_me:4816: checking if you want to build debug libraries" >&5
     17470+echo "$as_me:4661: checking if you want to build debug libraries" >&5
    1494717471 echo $ECHO_N "checking if you want to build debug libraries... $ECHO_C" >&6
    1494817472 
    1494917473 # Check whether --with-debug or --without-debug was given.
    14950 @@ -4680,11 +4823,11 @@
     17474@@ -4680,11 +4668,11 @@
    1495117475 else
    1495217476   with_debug=yes
    1495317477 fi;
    1495417478-echo "$as_me:4683: result: $with_debug" >&5
    14955 +echo "$as_me:4826: result: $with_debug" >&5
     17479+echo "$as_me:4671: result: $with_debug" >&5
    1495617480 echo "${ECHO_T}$with_debug" >&6
    1495717481 test "$with_debug" = "yes" && cf_list_models="$cf_list_models debug"
    1495817482 
    1495917483-echo "$as_me:4687: checking if you want to build profiling libraries" >&5
    14960 +echo "$as_me:4830: checking if you want to build profiling libraries" >&5
     17484+echo "$as_me:4675: checking if you want to build profiling libraries" >&5
    1496117485 echo $ECHO_N "checking if you want to build profiling libraries... $ECHO_C" >&6
    1496217486 
    1496317487 # Check whether --with-profile or --without-profile was given.
    14964 @@ -4694,7 +4837,7 @@
     17488@@ -4694,7 +4682,7 @@
    1496517489 else
    1496617490   with_profile=no
    1496717491 fi;
    1496817492-echo "$as_me:4697: result: $with_profile" >&5
    14969 +echo "$as_me:4840: result: $with_profile" >&5
     17493+echo "$as_me:4685: result: $with_profile" >&5
    1497017494 echo "${ECHO_T}$with_profile" >&6
    1497117495 test "$with_profile" = "yes" && cf_list_models="$cf_list_models profile"
    1497217496 
    14973 @@ -4702,19 +4845,19 @@
     17497@@ -4702,19 +4690,19 @@
    1497417498 
    1497517499 ###############################################################################
    1497617500 
    1497717501-echo "$as_me:4705: checking for specified models" >&5
    14978 +echo "$as_me:4848: checking for specified models" >&5
     17502+echo "$as_me:4693: checking for specified models" >&5
    1497917503 echo $ECHO_N "checking for specified models... $ECHO_C" >&6
    1498017504 test -z "$cf_list_models" && cf_list_models=normal
    1498117505 test "$with_libtool" != "no" && cf_list_models=libtool
    1498217506-echo "$as_me:4709: result: $cf_list_models" >&5
    14983 +echo "$as_me:4852: result: $cf_list_models" >&5
     17507+echo "$as_me:4697: result: $cf_list_models" >&5
    1498417508 echo "${ECHO_T}$cf_list_models" >&6
    1498517509 
     
    1498717511 ### up test-applications.
    1498817512-echo "$as_me:4714: checking for default model" >&5
    14989 +echo "$as_me:4857: checking for default model" >&5
     17513+echo "$as_me:4702: checking for default model" >&5
    1499017514 echo $ECHO_N "checking for default model... $ECHO_C" >&6
    1499117515 DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'`
    1499217516-echo "$as_me:4717: result: $DFT_LWR_MODEL" >&5
    14993 +echo "$as_me:4860: result: $DFT_LWR_MODEL" >&5
     17517+echo "$as_me:4705: result: $DFT_LWR_MODEL" >&5
    1499417518 echo "${ECHO_T}$DFT_LWR_MODEL" >&6
    1499517519 
    1499617520 DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
    14997 @@ -4728,6 +4871,22 @@
     17521@@ -4728,6 +4716,22 @@
    1499817522 LIB_DIR=../lib
    1499917523 LIB_2ND=../../lib
    1500017524 
    15001 +echo "$as_me:4874: checking if you want to have a library-prefix" >&5
     17525+echo "$as_me:4719: checking if you want to have a library-prefix" >&5
    1500217526+echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6
    1500317527+
     
    1500917533+  with_lib_prefix=auto
    1501017534+fi;
    15011 +echo "$as_me:4884: result: $with_lib_prefix" >&5
     17535+echo "$as_me:4729: result: $with_lib_prefix" >&5
    1501217536+echo "${ECHO_T}$with_lib_prefix" >&6
    1501317537+
     
    1501817542        OS/2*|os2*) #(vi
    1501917543         LIB_PREFIX=''
    15020 @@ -4737,13 +4896,18 @@
     17544@@ -4737,13 +4741,18 @@
    1502117545        esac
    1502217546 cf_prefix=$LIB_PREFIX
     
    1503517559 
    1503617560-echo "$as_me:4746: checking if you want to build a separate terminfo library" >&5
    15037 +echo "$as_me:4910: checking if you want to build a separate terminfo library" >&5
     17561+echo "$as_me:4755: checking if you want to build a separate terminfo library" >&5
    1503817562 echo $ECHO_N "checking if you want to build a separate terminfo library... $ECHO_C" >&6
    1503917563 
    1504017564 # Check whether --with-termlib or --without-termlib was given.
    15041 @@ -4753,10 +4917,10 @@
     17565@@ -4753,10 +4762,10 @@
    1504217566 else
    1504317567   with_termlib=no
    1504417568 fi;
    1504517569-echo "$as_me:4756: result: $with_termlib" >&5
    15046 +echo "$as_me:4920: result: $with_termlib" >&5
     17570+echo "$as_me:4765: result: $with_termlib" >&5
    1504717571 echo "${ECHO_T}$with_termlib" >&6
    1504817572 
    1504917573-echo "$as_me:4759: checking if you want to build a separate tic library" >&5
    15050 +echo "$as_me:4923: checking if you want to build a separate tic library" >&5
     17574+echo "$as_me:4768: checking if you want to build a separate tic library" >&5
    1505117575 echo $ECHO_N "checking if you want to build a separate tic library... $ECHO_C" >&6
    1505217576 
    1505317577 # Check whether --with-ticlib or --without-ticlib was given.
    15054 @@ -4766,13 +4930,13 @@
     17578@@ -4766,13 +4775,13 @@
    1505517579 else
    1505617580   with_ticlib=no
    1505717581 fi;
    1505817582-echo "$as_me:4769: result: $with_ticlib" >&5
    15059 +echo "$as_me:4933: result: $with_ticlib" >&5
     17583+echo "$as_me:4778: result: $with_ticlib" >&5
    1506017584 echo "${ECHO_T}$with_ticlib" >&6
    1506117585 
     
    1506417588 
    1506517589-echo "$as_me:4775: checking if you want to link with the GPM mouse library" >&5
    15066 +echo "$as_me:4939: checking if you want to link with the GPM mouse library" >&5
     17590+echo "$as_me:4784: checking if you want to link with the GPM mouse library" >&5
    1506717591 echo $ECHO_N "checking if you want to link with the GPM mouse library... $ECHO_C" >&6
    1506817592 
    1506917593 # Check whether --with-gpm or --without-gpm was given.
    15070 @@ -4782,27 +4946,27 @@
     17594@@ -4782,27 +4791,27 @@
    1507117595 else
    1507217596   with_gpm=maybe
    1507317597 fi;
    1507417598-echo "$as_me:4785: result: $with_gpm" >&5
    15075 +echo "$as_me:4949: result: $with_gpm" >&5
     17599+echo "$as_me:4794: result: $with_gpm" >&5
    1507617600 echo "${ECHO_T}$with_gpm" >&6
    1507717601 
    1507817602 if test "$with_gpm" != no ; then
    1507917603-       echo "$as_me:4789: checking for gpm.h" >&5
    15080 +       echo "$as_me:4953: checking for gpm.h" >&5
     17604+       echo "$as_me:4798: checking for gpm.h" >&5
    1508117605 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6
    1508217606 if test "${ac_cv_header_gpm_h+set}" = set; then
     
    1508517609   cat >conftest.$ac_ext <<_ACEOF
    1508617610-#line 4795 "configure"
    15087 +#line 4959 "configure"
     17611+#line 4804 "configure"
    1508817612 #include "confdefs.h"
    1508917613 #include <gpm.h>
    1509017614 _ACEOF
    1509117615-if { (eval echo "$as_me:4799: \"$ac_cpp conftest.$ac_ext\"") >&5
    15092 +if { (eval echo "$as_me:4963: \"$ac_cpp conftest.$ac_ext\"") >&5
     17616+if { (eval echo "$as_me:4808: \"$ac_cpp conftest.$ac_ext\"") >&5
    1509317617   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1509417618   ac_status=$?
     
    1509717621   cat conftest.err >&5
    1509817622-  echo "$as_me:4805: \$? = $ac_status" >&5
    15099 +  echo "$as_me:4969: \$? = $ac_status" >&5
     17623+  echo "$as_me:4814: \$? = $ac_status" >&5
    1510017624   (exit $ac_status); } >/dev/null; then
    1510117625   if test -s conftest.err; then
    1510217626     ac_cpp_err=$ac_c_preproc_warn_flag
    15103 @@ -4821,7 +4985,7 @@
     17627@@ -4821,7 +4830,7 @@
    1510417628 fi
    1510517629 rm -f conftest.err conftest.$ac_ext
    1510617630 fi
    1510717631-echo "$as_me:4824: result: $ac_cv_header_gpm_h" >&5
    15108 +echo "$as_me:4988: result: $ac_cv_header_gpm_h" >&5
     17632+echo "$as_me:4833: result: $ac_cv_header_gpm_h" >&5
    1510917633 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6
    1511017634 if test $ac_cv_header_gpm_h = yes; then
    1511117635 
    15112 @@ -4832,14 +4996,14 @@
     17636@@ -4832,14 +4841,14 @@
    1511317637                if test "$with_gpm" != yes && test "$with_gpm" != maybe ; then
    1511417638                        test -n "$verbose" && echo "    assuming we really have GPM library" 1>&6
    1511517639 
    1511617640-echo "${as_me:-configure}:4835: testing assuming we really have GPM library ..." 1>&5
    15117 +echo "${as_me:-configure}:4999: testing assuming we really have GPM library ..." 1>&5
     17641+echo "${as_me:-configure}:4844: testing assuming we really have GPM library ..." 1>&5
    1511817642 
    1511917643                        cat >>confdefs.h <<\EOF
     
    1512317647                else
    1512417648-                       echo "$as_me:4842: checking for Gpm_Open in -lgpm" >&5
    15125 +                       echo "$as_me:5006: checking for Gpm_Open in -lgpm" >&5
     17649+                       echo "$as_me:4851: checking for Gpm_Open in -lgpm" >&5
    1512617650 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
    1512717651 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
    1512817652   echo $ECHO_N "(cached) $ECHO_C" >&6
    15129 @@ -4847,7 +5011,7 @@
     17653@@ -4847,7 +4856,7 @@
    1513017654   ac_check_lib_save_LIBS=$LIBS
    1513117655 LIBS="-lgpm  $LIBS"
    1513217656 cat >conftest.$ac_ext <<_ACEOF
    1513317657-#line 4850 "configure"
    15134 +#line 5014 "configure"
     17658+#line 4859 "configure"
    1513517659 #include "confdefs.h"
    1513617660 
    1513717661 /* Override any gcc2 internal prototype to avoid an error.  */
    15138 @@ -4866,16 +5030,16 @@
     17662@@ -4866,16 +4875,16 @@
    1513917663 }
    1514017664 _ACEOF
    1514117665 rm -f conftest.$ac_objext conftest$ac_exeext
    1514217666-if { (eval echo "$as_me:4869: \"$ac_link\"") >&5
    15143 +if { (eval echo "$as_me:5033: \"$ac_link\"") >&5
     17667+if { (eval echo "$as_me:4878: \"$ac_link\"") >&5
    1514417668   (eval $ac_link) 2>&5
    1514517669   ac_status=$?
    1514617670-  echo "$as_me:4872: \$? = $ac_status" >&5
    15147 +  echo "$as_me:5036: \$? = $ac_status" >&5
     17671+  echo "$as_me:4881: \$? = $ac_status" >&5
    1514817672   (exit $ac_status); } &&
    1514917673          { ac_try='test -s conftest$ac_exeext'
    1515017674-  { (eval echo "$as_me:4875: \"$ac_try\"") >&5
    15151 +  { (eval echo "$as_me:5039: \"$ac_try\"") >&5
     17675+  { (eval echo "$as_me:4884: \"$ac_try\"") >&5
    1515217676   (eval $ac_try) 2>&5
    1515317677   ac_status=$?
    1515417678-  echo "$as_me:4878: \$? = $ac_status" >&5
    15155 +  echo "$as_me:5042: \$? = $ac_status" >&5
     17679+  echo "$as_me:4887: \$? = $ac_status" >&5
    1515617680   (exit $ac_status); }; }; then
    1515717681   ac_cv_lib_gpm_Gpm_Open=yes
    1515817682 else
    15159 @@ -4886,13 +5050,13 @@
     17683@@ -4886,13 +4895,13 @@
    1516017684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1516117685 LIBS=$ac_check_lib_save_LIBS
    1516217686 fi
    1516317687-echo "$as_me:4889: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    15164 +echo "$as_me:5053: result: $ac_cv_lib_gpm_Gpm_Open" >&5
     17688+echo "$as_me:4898: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    1516517689 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
    1516617690 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
     
    1516917693 
    1517017694-                               { { echo "$as_me:4895: error: Cannot link with GPM library" >&5
    15171 +                               { { echo "$as_me:5059: error: Cannot link with GPM library" >&5
     17695+                               { { echo "$as_me:4904: error: Cannot link with GPM library" >&5
    1517217696 echo "$as_me: error: Cannot link with GPM library" >&2;}
    1517317697    { (exit 1); exit 1; }; }
    1517417698                fi
    15175 @@ -4902,7 +5066,7 @@
     17699@@ -4902,7 +4911,7 @@
    1517617700 
    1517717701 else
    1517817702 
    1517917703-               test "$with_gpm" != maybe && { echo "$as_me:4905: WARNING: Cannot find GPM header" >&5
    15180 +               test "$with_gpm" != maybe && { echo "$as_me:5069: WARNING: Cannot find GPM header" >&5
     17704+               test "$with_gpm" != maybe && { echo "$as_me:4914: WARNING: Cannot find GPM header" >&5
    1518117705 echo "$as_me: WARNING: Cannot find GPM header" >&2;}
    1518217706                with_gpm=no
    1518317707 
    15184 @@ -4911,7 +5075,7 @@
     17708@@ -4911,7 +4920,7 @@
    1518517709 fi
    1518617710 
    1518717711 if test "$with_gpm" != no ; then
    1518817712-       echo "$as_me:4914: checking if you want to load GPM dynamically" >&5
    15189 +       echo "$as_me:5078: checking if you want to load GPM dynamically" >&5
     17713+       echo "$as_me:4923: checking if you want to load GPM dynamically" >&5
    1519017714 echo $ECHO_N "checking if you want to load GPM dynamically... $ECHO_C" >&6
    1519117715 
    1519217716 # Check whether --with-dlsym or --without-dlsym was given.
    15193 @@ -4921,18 +5085,18 @@
     17717@@ -4921,18 +4930,18 @@
    1519417718 else
    1519517719   with_dlsym=yes
    1519617720 fi;
    1519717721-       echo "$as_me:4924: result: $with_dlsym" >&5
    15198 +       echo "$as_me:5088: result: $with_dlsym" >&5
     17722+       echo "$as_me:4933: result: $with_dlsym" >&5
    1519917723 echo "${ECHO_T}$with_dlsym" >&6
    1520017724        if test "$with_dlsym" = yes ; then
     
    1520217726 cf_have_dlsym=no
    1520317727-echo "$as_me:4929: checking for dlsym" >&5
    15204 +echo "$as_me:5093: checking for dlsym" >&5
     17728+echo "$as_me:4938: checking for dlsym" >&5
    1520517729 echo $ECHO_N "checking for dlsym... $ECHO_C" >&6
    1520617730 if test "${ac_cv_func_dlsym+set}" = set; then
     
    1520917733   cat >conftest.$ac_ext <<_ACEOF
    1521017734-#line 4935 "configure"
    15211 +#line 5099 "configure"
     17735+#line 4944 "configure"
    1521217736 #include "confdefs.h"
    1521317737 /* System header to define __stub macros and hopefully few prototypes,
    1521417738     which can conflict with char dlsym (); below.  */
    15215 @@ -4963,16 +5127,16 @@
     17739@@ -4955,7 +4964,7 @@
     17740 #if defined (__stub_dlsym) || defined (__stub___dlsym)
     17741 choke me
     17742 #else
     17743-f = dlsym;
     17744+f = dlsym; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     17745 #endif
     17746 
     17747   ;
     17748@@ -4963,16 +4972,16 @@
    1521617749 }
    1521717750 _ACEOF
    1521817751 rm -f conftest.$ac_objext conftest$ac_exeext
    1521917752-if { (eval echo "$as_me:4966: \"$ac_link\"") >&5
    15220 +if { (eval echo "$as_me:5130: \"$ac_link\"") >&5
     17753+if { (eval echo "$as_me:4975: \"$ac_link\"") >&5
    1522117754   (eval $ac_link) 2>&5
    1522217755   ac_status=$?
    1522317756-  echo "$as_me:4969: \$? = $ac_status" >&5
    15224 +  echo "$as_me:5133: \$? = $ac_status" >&5
     17757+  echo "$as_me:4978: \$? = $ac_status" >&5
    1522517758   (exit $ac_status); } &&
    1522617759          { ac_try='test -s conftest$ac_exeext'
    1522717760-  { (eval echo "$as_me:4972: \"$ac_try\"") >&5
    15228 +  { (eval echo "$as_me:5136: \"$ac_try\"") >&5
     17761+  { (eval echo "$as_me:4981: \"$ac_try\"") >&5
    1522917762   (eval $ac_try) 2>&5
    1523017763   ac_status=$?
    1523117764-  echo "$as_me:4975: \$? = $ac_status" >&5
    15232 +  echo "$as_me:5139: \$? = $ac_status" >&5
     17765+  echo "$as_me:4984: \$? = $ac_status" >&5
    1523317766   (exit $ac_status); }; }; then
    1523417767   ac_cv_func_dlsym=yes
    1523517768 else
    15236 @@ -4982,14 +5146,14 @@
     17769@@ -4982,14 +4991,14 @@
    1523717770 fi
    1523817771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1523917772 fi
    1524017773-echo "$as_me:4985: result: $ac_cv_func_dlsym" >&5
    15241 +echo "$as_me:5149: result: $ac_cv_func_dlsym" >&5
     17774+echo "$as_me:4994: result: $ac_cv_func_dlsym" >&5
    1524217775 echo "${ECHO_T}$ac_cv_func_dlsym" >&6
    1524317776 if test $ac_cv_func_dlsym = yes; then
     
    1524717780 cf_have_libdl=no
    1524817781-echo "$as_me:4992: checking for dlsym in -ldl" >&5
    15249 +echo "$as_me:5156: checking for dlsym in -ldl" >&5
     17782+echo "$as_me:5001: checking for dlsym in -ldl" >&5
    1525017783 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
    1525117784 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
    1525217785   echo $ECHO_N "(cached) $ECHO_C" >&6
    15253 @@ -4997,7 +5161,7 @@
     17786@@ -4997,7 +5006,7 @@
    1525417787   ac_check_lib_save_LIBS=$LIBS
    1525517788 LIBS="-ldl  $LIBS"
    1525617789 cat >conftest.$ac_ext <<_ACEOF
    1525717790-#line 5000 "configure"
    15258 +#line 5164 "configure"
     17791+#line 5009 "configure"
    1525917792 #include "confdefs.h"
    1526017793 
    1526117794 /* Override any gcc2 internal prototype to avoid an error.  */
    15262 @@ -5016,16 +5180,16 @@
     17795@@ -5016,16 +5025,16 @@
    1526317796 }
    1526417797 _ACEOF
    1526517798 rm -f conftest.$ac_objext conftest$ac_exeext
    1526617799-if { (eval echo "$as_me:5019: \"$ac_link\"") >&5
    15267 +if { (eval echo "$as_me:5183: \"$ac_link\"") >&5
     17800+if { (eval echo "$as_me:5028: \"$ac_link\"") >&5
    1526817801   (eval $ac_link) 2>&5
    1526917802   ac_status=$?
    1527017803-  echo "$as_me:5022: \$? = $ac_status" >&5
    15271 +  echo "$as_me:5186: \$? = $ac_status" >&5
     17804+  echo "$as_me:5031: \$? = $ac_status" >&5
    1527217805   (exit $ac_status); } &&
    1527317806          { ac_try='test -s conftest$ac_exeext'
    1527417807-  { (eval echo "$as_me:5025: \"$ac_try\"") >&5
    15275 +  { (eval echo "$as_me:5189: \"$ac_try\"") >&5
     17808+  { (eval echo "$as_me:5034: \"$ac_try\"") >&5
    1527617809   (eval $ac_try) 2>&5
    1527717810   ac_status=$?
    1527817811-  echo "$as_me:5028: \$? = $ac_status" >&5
    15279 +  echo "$as_me:5192: \$? = $ac_status" >&5
     17812+  echo "$as_me:5037: \$? = $ac_status" >&5
    1528017813   (exit $ac_status); }; }; then
    1528117814   ac_cv_lib_dl_dlsym=yes
    1528217815 else
    15283 @@ -5036,7 +5200,7 @@
     17816@@ -5036,7 +5045,7 @@
    1528417817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1528517818 LIBS=$ac_check_lib_save_LIBS
    1528617819 fi
    1528717820-echo "$as_me:5039: result: $ac_cv_lib_dl_dlsym" >&5
    15288 +echo "$as_me:5203: result: $ac_cv_lib_dl_dlsym" >&5
     17821+echo "$as_me:5048: result: $ac_cv_lib_dl_dlsym" >&5
    1528917822 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
    1529017823 if test $ac_cv_lib_dl_dlsym = yes; then
    1529117824 
    15292 @@ -5049,10 +5213,10 @@
     17825@@ -5049,10 +5058,10 @@
    1529317826 if test "$cf_have_dlsym" = yes ; then
    1529417827        test "$cf_have_libdl" = yes && LIBS="-ldl $LIBS"
    1529517828 
    1529617829-       echo "$as_me:5052: checking whether able to link to dl*() functions" >&5
    15297 +       echo "$as_me:5216: checking whether able to link to dl*() functions" >&5
     17830+       echo "$as_me:5061: checking whether able to link to dl*() functions" >&5
    1529817831 echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6
    1529917832        cat >conftest.$ac_ext <<_ACEOF
    1530017833-#line 5055 "configure"
    15301 +#line 5219 "configure"
     17834+#line 5064 "configure"
    1530217835 #include "confdefs.h"
    1530317836 #include <dlfcn.h>
    1530417837 int
    15305 @@ -5070,16 +5234,16 @@
     17838@@ -5070,16 +5079,16 @@
    1530617839 }
    1530717840 _ACEOF
    1530817841 rm -f conftest.$ac_objext conftest$ac_exeext
    1530917842-if { (eval echo "$as_me:5073: \"$ac_link\"") >&5
    15310 +if { (eval echo "$as_me:5237: \"$ac_link\"") >&5
     17843+if { (eval echo "$as_me:5082: \"$ac_link\"") >&5
    1531117844   (eval $ac_link) 2>&5
    1531217845   ac_status=$?
    1531317846-  echo "$as_me:5076: \$? = $ac_status" >&5
    15314 +  echo "$as_me:5240: \$? = $ac_status" >&5
     17847+  echo "$as_me:5085: \$? = $ac_status" >&5
    1531517848   (exit $ac_status); } &&
    1531617849          { ac_try='test -s conftest$ac_exeext'
    1531717850-  { (eval echo "$as_me:5079: \"$ac_try\"") >&5
    15318 +  { (eval echo "$as_me:5243: \"$ac_try\"") >&5
     17851+  { (eval echo "$as_me:5088: \"$ac_try\"") >&5
    1531917852   (eval $ac_try) 2>&5
    1532017853   ac_status=$?
    1532117854-  echo "$as_me:5082: \$? = $ac_status" >&5
    15322 +  echo "$as_me:5246: \$? = $ac_status" >&5
     17855+  echo "$as_me:5091: \$? = $ac_status" >&5
    1532317856   (exit $ac_status); }; }; then
    1532417857 
    1532517858                cat >>confdefs.h <<\EOF
    15326 @@ -5090,15 +5254,15 @@
     17859@@ -5090,15 +5099,15 @@
    1532717860   echo "$as_me: failed program was:" >&5
    1532817861 cat conftest.$ac_ext >&5
    1532917862 
    1533017863-               { { echo "$as_me:5093: error: Cannot link test program for libdl" >&5
    15331 +               { { echo "$as_me:5257: error: Cannot link test program for libdl" >&5
     17864+               { { echo "$as_me:5102: error: Cannot link test program for libdl" >&5
    1533217865 echo "$as_me: error: Cannot link test program for libdl" >&2;}
    1533317866    { (exit 1); exit 1; }; }
     
    1533517868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1533617869-       echo "$as_me:5098: result: ok" >&5
    15337 +       echo "$as_me:5262: result: ok" >&5
     17870+       echo "$as_me:5107: result: ok" >&5
    1533817871 echo "${ECHO_T}ok" >&6
    1533917872 else
    1534017873-       { { echo "$as_me:5101: error: Cannot find dlsym function" >&5
    15341 +       { { echo "$as_me:5265: error: Cannot find dlsym function" >&5
     17874+       { { echo "$as_me:5110: error: Cannot find dlsym function" >&5
    1534217875 echo "$as_me: error: Cannot find dlsym function" >&2;}
    1534317876    { (exit 1); exit 1; }; }
    1534417877 fi
    15345 @@ -5106,12 +5270,12 @@
     17878@@ -5106,12 +5115,12 @@
    1534617879                if test "$with_gpm" != yes ; then
    1534717880                        test -n "$verbose" && echo "    assuming soname for gpm is $with_gpm" 1>&6
    1534817881 
    1534917882-echo "${as_me:-configure}:5109: testing assuming soname for gpm is $with_gpm ..." 1>&5
    15350 +echo "${as_me:-configure}:5273: testing assuming soname for gpm is $with_gpm ..." 1>&5
     17883+echo "${as_me:-configure}:5118: testing assuming soname for gpm is $with_gpm ..." 1>&5
    1535117884 
    1535217885                        cf_cv_gpm_soname="$with_gpm"
     
    1535417887 
    1535517888-echo "$as_me:5114: checking for soname of gpm library" >&5
    15356 +echo "$as_me:5278: checking for soname of gpm library" >&5
     17889+echo "$as_me:5123: checking for soname of gpm library" >&5
    1535717890 echo $ECHO_N "checking for soname of gpm library... $ECHO_C" >&6
    1535817891 if test "${cf_cv_gpm_soname+set}" = set; then
    1535917892   echo $ECHO_N "(cached) $ECHO_C" >&6
    15360 @@ -5129,15 +5293,15 @@
     17893@@ -5129,15 +5138,15 @@
    1536117894 CF_EOF
    1536217895 cf_save_LIBS="$LIBS"
    1536317896        LIBS="-lgpm $LIBS"
    1536417897-       if { (eval echo "$as_me:5132: \"$ac_compile\"") >&5
    15365 +       if { (eval echo "$as_me:5296: \"$ac_compile\"") >&5
     17898+       if { (eval echo "$as_me:5141: \"$ac_compile\"") >&5
    1536617899   (eval $ac_compile) 2>&5
    1536717900   ac_status=$?
    1536817901-  echo "$as_me:5135: \$? = $ac_status" >&5
    15369 +  echo "$as_me:5299: \$? = $ac_status" >&5
     17902+  echo "$as_me:5144: \$? = $ac_status" >&5
    1537017903   (exit $ac_status); } ; then
    1537117904-               if { (eval echo "$as_me:5137: \"$ac_link\"") >&5
    15372 +               if { (eval echo "$as_me:5301: \"$ac_link\"") >&5
     17905+               if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
    1537317906   (eval $ac_link) 2>&5
    1537417907   ac_status=$?
    1537517908-  echo "$as_me:5140: \$? = $ac_status" >&5
    15376 +  echo "$as_me:5304: \$? = $ac_status" >&5
     17909+  echo "$as_me:5149: \$? = $ac_status" >&5
    1537717910   (exit $ac_status); } ; then
    1537817911                        cf_cv_gpm_soname=`ldd conftest$ac_exeext 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | fgrep libgpm.`
    1537917912                        test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown
    15380 @@ -5148,7 +5312,7 @@
     17913@@ -5148,7 +5157,7 @@
    1538117914 fi
    1538217915 
    1538317916 fi
    1538417917-echo "$as_me:5151: result: $cf_cv_gpm_soname" >&5
    15385 +echo "$as_me:5315: result: $cf_cv_gpm_soname" >&5
     17918+echo "$as_me:5160: result: $cf_cv_gpm_soname" >&5
    1538617919 echo "${ECHO_T}$cf_cv_gpm_soname" >&6
    1538717920 
    1538817921                fi
    15389 @@ -5165,7 +5329,7 @@
     17922@@ -5165,7 +5174,7 @@
    1539017923 #define HAVE_LIBGPM 1
    1539117924 EOF
    1539217925 
    1539317926-echo "$as_me:5168: checking for Gpm_Wgetch in -lgpm" >&5
    15394 +echo "$as_me:5332: checking for Gpm_Wgetch in -lgpm" >&5
     17927+echo "$as_me:5177: checking for Gpm_Wgetch in -lgpm" >&5
    1539517928 echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6
    1539617929 if test "${ac_cv_lib_gpm_Gpm_Wgetch+set}" = set; then
    1539717930   echo $ECHO_N "(cached) $ECHO_C" >&6
    15398 @@ -5173,7 +5337,7 @@
     17931@@ -5173,7 +5182,7 @@
    1539917932   ac_check_lib_save_LIBS=$LIBS
    1540017933 LIBS="-lgpm  $LIBS"
    1540117934 cat >conftest.$ac_ext <<_ACEOF
    1540217935-#line 5176 "configure"
    15403 +#line 5340 "configure"
     17936+#line 5185 "configure"
    1540417937 #include "confdefs.h"
    1540517938 
    1540617939 /* Override any gcc2 internal prototype to avoid an error.  */
    15407 @@ -5192,16 +5356,16 @@
     17940@@ -5192,16 +5201,16 @@
    1540817941 }
    1540917942 _ACEOF
    1541017943 rm -f conftest.$ac_objext conftest$ac_exeext
    1541117944-if { (eval echo "$as_me:5195: \"$ac_link\"") >&5
    15412 +if { (eval echo "$as_me:5359: \"$ac_link\"") >&5
     17945+if { (eval echo "$as_me:5204: \"$ac_link\"") >&5
    1541317946   (eval $ac_link) 2>&5
    1541417947   ac_status=$?
    1541517948-  echo "$as_me:5198: \$? = $ac_status" >&5
    15416 +  echo "$as_me:5362: \$? = $ac_status" >&5
     17949+  echo "$as_me:5207: \$? = $ac_status" >&5
    1541717950   (exit $ac_status); } &&
    1541817951          { ac_try='test -s conftest$ac_exeext'
    1541917952-  { (eval echo "$as_me:5201: \"$ac_try\"") >&5
    15420 +  { (eval echo "$as_me:5365: \"$ac_try\"") >&5
     17953+  { (eval echo "$as_me:5210: \"$ac_try\"") >&5
    1542117954   (eval $ac_try) 2>&5
    1542217955   ac_status=$?
    1542317956-  echo "$as_me:5204: \$? = $ac_status" >&5
    15424 +  echo "$as_me:5368: \$? = $ac_status" >&5
     17957+  echo "$as_me:5213: \$? = $ac_status" >&5
    1542517958   (exit $ac_status); }; }; then
    1542617959   ac_cv_lib_gpm_Gpm_Wgetch=yes
    1542717960 else
    15428 @@ -5212,11 +5376,11 @@
     17961@@ -5212,11 +5221,11 @@
    1542917962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1543017963 LIBS=$ac_check_lib_save_LIBS
    1543117964 fi
    1543217965-echo "$as_me:5215: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5
    15433 +echo "$as_me:5379: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5
     17966+echo "$as_me:5224: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5
    1543417967 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Wgetch" >&6
    1543517968 if test $ac_cv_lib_gpm_Gpm_Wgetch = yes; then
    1543617969 
    1543717970-echo "$as_me:5219: checking if GPM is weakly bound to curses library" >&5
    15438 +echo "$as_me:5383: checking if GPM is weakly bound to curses library" >&5
     17971+echo "$as_me:5228: checking if GPM is weakly bound to curses library" >&5
    1543917972 echo $ECHO_N "checking if GPM is weakly bound to curses library... $ECHO_C" >&6
    1544017973 if test "${cf_cv_check_gpm_wgetch+set}" = set; then
    1544117974   echo $ECHO_N "(cached) $ECHO_C" >&6
    15442 @@ -5240,15 +5404,15 @@
     17975@@ -5240,15 +5249,15 @@
    1544317976        # to rely on the static library, noting that some packagers may not
    1544417977        # include it.
    1544517978        LIBS="-static -lgpm -dynamic $LIBS"
    1544617979-       if { (eval echo "$as_me:5243: \"$ac_compile\"") >&5
    15447 +       if { (eval echo "$as_me:5407: \"$ac_compile\"") >&5
     17980+       if { (eval echo "$as_me:5252: \"$ac_compile\"") >&5
    1544817981   (eval $ac_compile) 2>&5
    1544917982   ac_status=$?
    1545017983-  echo "$as_me:5246: \$? = $ac_status" >&5
    15451 +  echo "$as_me:5410: \$? = $ac_status" >&5
     17984+  echo "$as_me:5255: \$? = $ac_status" >&5
    1545217985   (exit $ac_status); } ; then
    1545317986-               if { (eval echo "$as_me:5248: \"$ac_link\"") >&5
    15454 +               if { (eval echo "$as_me:5412: \"$ac_link\"") >&5
     17987+               if { (eval echo "$as_me:5257: \"$ac_link\"") >&5
    1545517988   (eval $ac_link) 2>&5
    1545617989   ac_status=$?
    1545717990-  echo "$as_me:5251: \$? = $ac_status" >&5
    15458 +  echo "$as_me:5415: \$? = $ac_status" >&5
     17991+  echo "$as_me:5260: \$? = $ac_status" >&5
    1545917992   (exit $ac_status); } ; then
    1546017993                        cf_cv_check_gpm_wgetch=`nm conftest$ac_exeext | egrep '\<wgetch\>' | egrep '\<[vVwW]\>'`
    1546117994                        test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes
    15462 @@ -5260,11 +5424,11 @@
     17995@@ -5260,11 +5269,11 @@
    1546317996 fi
    1546417997 
    1546517998 fi
    1546617999-echo "$as_me:5263: result: $cf_cv_check_gpm_wgetch" >&5
    15467 +echo "$as_me:5427: result: $cf_cv_check_gpm_wgetch" >&5
     18000+echo "$as_me:5272: result: $cf_cv_check_gpm_wgetch" >&5
    1546818001 echo "${ECHO_T}$cf_cv_check_gpm_wgetch" >&6
    1546918002 
    1547018003 if test "$cf_cv_check_gpm_wgetch" != yes ; then
    1547118004-       { echo "$as_me:5267: WARNING: GPM library is already linked with curses - read the FAQ" >&5
    15472 +       { echo "$as_me:5431: WARNING: GPM library is already linked with curses - read the FAQ" >&5
     18005+       { echo "$as_me:5276: WARNING: GPM library is already linked with curses - read the FAQ" >&5
    1547318006 echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;}
    1547418007 fi
    1547518008 
    15476 @@ -5274,7 +5438,7 @@
     18009@@ -5274,7 +5283,7 @@
    1547718010 
    1547818011 # not everyone has "test -c"
    1547918012 if test -c /dev/sysmouse 2>/dev/null ; then
    1548018013-echo "$as_me:5277: checking if you want to use sysmouse" >&5
    15481 +echo "$as_me:5441: checking if you want to use sysmouse" >&5
     18014+echo "$as_me:5286: checking if you want to use sysmouse" >&5
    1548218015 echo $ECHO_N "checking if you want to use sysmouse... $ECHO_C" >&6
    1548318016 
    1548418017 # Check whether --with-sysmouse or --without-sysmouse was given.
    15485 @@ -5286,7 +5450,7 @@
     18018@@ -5286,7 +5295,7 @@
    1548618019 fi;
    1548718020        if test "$cf_with_sysmouse" != no ; then
    1548818021        cat >conftest.$ac_ext <<_ACEOF
    1548918022-#line 5289 "configure"
    15490 +#line 5453 "configure"
     18023+#line 5298 "configure"
    1549118024 #include "confdefs.h"
    1549218025 
    1549318026 #include <osreldate.h>
    15494 @@ -5309,16 +5473,16 @@
     18027@@ -5309,16 +5318,16 @@
    1549518028 }
    1549618029 _ACEOF
    1549718030 rm -f conftest.$ac_objext
    1549818031-if { (eval echo "$as_me:5312: \"$ac_compile\"") >&5
    15499 +if { (eval echo "$as_me:5476: \"$ac_compile\"") >&5
     18032+if { (eval echo "$as_me:5321: \"$ac_compile\"") >&5
    1550018033   (eval $ac_compile) 2>&5
    1550118034   ac_status=$?
    1550218035-  echo "$as_me:5315: \$? = $ac_status" >&5
    15503 +  echo "$as_me:5479: \$? = $ac_status" >&5
     18036+  echo "$as_me:5324: \$? = $ac_status" >&5
    1550418037   (exit $ac_status); } &&
    1550518038          { ac_try='test -s conftest.$ac_objext'
    1550618039-  { (eval echo "$as_me:5318: \"$ac_try\"") >&5
    15507 +  { (eval echo "$as_me:5482: \"$ac_try\"") >&5
     18040+  { (eval echo "$as_me:5327: \"$ac_try\"") >&5
    1550818041   (eval $ac_try) 2>&5
    1550918042   ac_status=$?
    1551018043-  echo "$as_me:5321: \$? = $ac_status" >&5
    15511 +  echo "$as_me:5485: \$? = $ac_status" >&5
     18044+  echo "$as_me:5330: \$? = $ac_status" >&5
    1551218045   (exit $ac_status); }; }; then
    1551318046   cf_with_sysmouse=yes
    1551418047 else
    15515 @@ -5328,7 +5492,7 @@
     18048@@ -5328,7 +5337,7 @@
    1551618049 fi
    1551718050 rm -f conftest.$ac_objext conftest.$ac_ext
    1551818051        fi
    1551918052-echo "$as_me:5331: result: $cf_with_sysmouse" >&5
    15520 +echo "$as_me:5495: result: $cf_with_sysmouse" >&5
     18053+echo "$as_me:5340: result: $cf_with_sysmouse" >&5
    1552118054 echo "${ECHO_T}$cf_with_sysmouse" >&6
    1552218055 test "$cf_with_sysmouse" = yes && cat >>confdefs.h <<\EOF
    1552318056 #define USE_SYSMOUSE 1
    15524 @@ -5346,7 +5510,7 @@
     18057@@ -5346,7 +5355,7 @@
    1552518058        test -n "$GXX" && test "${ac_cv_prog_cxx_g}" != yes && CXX_G_OPT=''
    1552618059 fi
    1552718060 
    1552818061-echo "$as_me:5349: checking for default loader flags" >&5
    15529 +echo "$as_me:5513: checking for default loader flags" >&5
     18062+echo "$as_me:5358: checking for default loader flags" >&5
    1553018063 echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6
    1553118064 case $DFT_LWR_MODEL in
    1553218065 libtool) LD_MODEL=''   ;;
    15533 @@ -5355,13 +5519,13 @@
     18066@@ -5355,13 +5364,13 @@
    1553418067 profile) LD_MODEL='-pg';;
    1553518068 shared)  LD_MODEL=''   ;;
    1553618069 esac
    1553718070-echo "$as_me:5358: result: $LD_MODEL" >&5
    15538 +echo "$as_me:5522: result: $LD_MODEL" >&5
     18071+echo "$as_me:5367: result: $LD_MODEL" >&5
    1553918072 echo "${ECHO_T}$LD_MODEL" >&6
    1554018073 
     
    1554318076 
    1554418077-echo "$as_me:5364: checking if rpath option should be used" >&5
    15545 +echo "$as_me:5528: checking if rpath option should be used" >&5
     18078+echo "$as_me:5373: checking if rpath option should be used" >&5
    1554618079 echo $ECHO_N "checking if rpath option should be used... $ECHO_C" >&6
    1554718080 
    1554818081 # Check whether --enable-rpath or --disable-rpath was given.
    15549 @@ -5371,10 +5535,10 @@
     18082@@ -5371,10 +5380,10 @@
    1555018083 else
    1555118084   cf_cv_enable_rpath=no
    1555218085 fi;
    1555318086-echo "$as_me:5374: result: $cf_cv_enable_rpath" >&5
    15554 +echo "$as_me:5538: result: $cf_cv_enable_rpath" >&5
     18087+echo "$as_me:5383: result: $cf_cv_enable_rpath" >&5
    1555518088 echo "${ECHO_T}$cf_cv_enable_rpath" >&6
    1555618089 
    1555718090-echo "$as_me:5377: checking if shared libraries should be relinked during install" >&5
    15558 +echo "$as_me:5541: checking if shared libraries should be relinked during install" >&5
     18091+echo "$as_me:5386: checking if shared libraries should be relinked during install" >&5
    1555918092 echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6
    1556018093 
    1556118094 # Check whether --enable-relink or --disable-relink was given.
    15562 @@ -5384,13 +5548,13 @@
     18095@@ -5384,13 +5393,13 @@
    1556318096 else
    1556418097   cf_cv_do_relink=yes
    1556518098 fi;
    1556618099-echo "$as_me:5387: result: $cf_cv_do_relink" >&5
    15567 +echo "$as_me:5551: result: $cf_cv_do_relink" >&5
     18100+echo "$as_me:5396: result: $cf_cv_do_relink" >&5
    1556818101 echo "${ECHO_T}$cf_cv_do_relink" >&6
    1556918102        ;;
     
    1557218105 LD_RPATH_OPT=
    1557318106-echo "$as_me:5393: checking for an rpath option" >&5
    15574 +echo "$as_me:5557: checking for an rpath option" >&5
     18107+echo "$as_me:5402: checking for an rpath option" >&5
    1557518108 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
    1557618109 case $cf_cv_system_name in #(vi
    1557718110 irix*) #(vi
    15578 @@ -5403,10 +5567,10 @@
     18111@@ -5403,10 +5412,10 @@
    1557918112 linux*|gnu*|k*bsd*-gnu) #(vi
    1558018113        LD_RPATH_OPT="-Wl,-rpath,"
     
    1558918122        ;;
    1559018123 netbsd*) #(vi
    15591 @@ -5421,17 +5585,17 @@
     18124@@ -5421,17 +5430,17 @@
    1559218125 *)
    1559318126        ;;
    1559418127 esac
    1559518128-echo "$as_me:5424: result: $LD_RPATH_OPT" >&5
    15596 +echo "$as_me:5588: result: $LD_RPATH_OPT" >&5
     18129+echo "$as_me:5433: result: $LD_RPATH_OPT" >&5
    1559718130 echo "${ECHO_T}$LD_RPATH_OPT" >&6
    1559818131 
     
    1560018133 x-R*)
    1560118134-       echo "$as_me:5429: checking if we need a space after rpath option" >&5
    15602 +       echo "$as_me:5593: checking if we need a space after rpath option" >&5
     18135+       echo "$as_me:5438: checking if we need a space after rpath option" >&5
    1560318136 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6
    1560418137        cf_save_LIBS="$LIBS"
     
    1560618139        cat >conftest.$ac_ext <<_ACEOF
    1560718140-#line 5434 "configure"
    15608 +#line 5598 "configure"
     18141+#line 5443 "configure"
    1560918142 #include "confdefs.h"
    1561018143 
    1561118144 int
    15612 @@ -5443,16 +5607,16 @@
     18145@@ -5443,16 +5452,16 @@
    1561318146 }
    1561418147 _ACEOF
    1561518148 rm -f conftest.$ac_objext conftest$ac_exeext
    1561618149-if { (eval echo "$as_me:5446: \"$ac_link\"") >&5
    15617 +if { (eval echo "$as_me:5610: \"$ac_link\"") >&5
     18150+if { (eval echo "$as_me:5455: \"$ac_link\"") >&5
    1561818151   (eval $ac_link) 2>&5
    1561918152   ac_status=$?
    1562018153-  echo "$as_me:5449: \$? = $ac_status" >&5
    15621 +  echo "$as_me:5613: \$? = $ac_status" >&5
     18154+  echo "$as_me:5458: \$? = $ac_status" >&5
    1562218155   (exit $ac_status); } &&
    1562318156          { ac_try='test -s conftest$ac_exeext'
    1562418157-  { (eval echo "$as_me:5452: \"$ac_try\"") >&5
    15625 +  { (eval echo "$as_me:5616: \"$ac_try\"") >&5
     18158+  { (eval echo "$as_me:5461: \"$ac_try\"") >&5
    1562618159   (eval $ac_try) 2>&5
    1562718160   ac_status=$?
    1562818161-  echo "$as_me:5455: \$? = $ac_status" >&5
    15629 +  echo "$as_me:5619: \$? = $ac_status" >&5
     18162+  echo "$as_me:5464: \$? = $ac_status" >&5
    1563018163   (exit $ac_status); }; }; then
    1563118164   cf_rpath_space=no
    1563218165 else
    15633 @@ -5462,7 +5626,7 @@
     18166@@ -5462,7 +5471,7 @@
    1563418167 fi
    1563518168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1563618169        LIBS="$cf_save_LIBS"
    1563718170-       echo "$as_me:5465: result: $cf_rpath_space" >&5
    15638 +       echo "$as_me:5629: result: $cf_rpath_space" >&5
     18171+       echo "$as_me:5474: result: $cf_rpath_space" >&5
    1563918172 echo "${ECHO_T}$cf_rpath_space" >&6
    1564018173        test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT "
    1564118174        ;;
    15642 @@ -5477,7 +5641,7 @@
     18175@@ -5477,7 +5486,7 @@
    1564318176        cf_ld_rpath_opt=
    1564418177        test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT"
    1564518178 
    1564618179-       echo "$as_me:5480: checking if release/abi version should be used for shared libs" >&5
    15647 +       echo "$as_me:5644: checking if release/abi version should be used for shared libs" >&5
     18180+       echo "$as_me:5489: checking if release/abi version should be used for shared libs" >&5
    1564818181 echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6
    1564918182 
    1565018183 # Check whether --with-shlib-version or --without-shlib-version was given.
    15651 @@ -5492,7 +5656,7 @@
     18184@@ -5492,7 +5501,7 @@
    1565218185                cf_cv_shlib_version=$withval
    1565318186                ;;
    1565418187        *)
    1565518188-               { { echo "$as_me:5495: error: option value must be one of: rel, abi, auto or no" >&5
    15656 +               { { echo "$as_me:5659: error: option value must be one of: rel, abi, auto or no" >&5
     18189+               { { echo "$as_me:5504: error: option value must be one of: rel, abi, auto or no" >&5
    1565718190 echo "$as_me: error: option value must be one of: rel, abi, auto or no" >&2;}
    1565818191    { (exit 1); exit 1; }; }
    1565918192                ;;
    15660 @@ -5501,7 +5665,7 @@
     18193@@ -5501,7 +5510,7 @@
    1566118194 else
    1566218195   cf_cv_shlib_version=auto
    1566318196 fi;
    1566418197-       echo "$as_me:5504: result: $cf_cv_shlib_version" >&5
    15665 +       echo "$as_me:5668: result: $cf_cv_shlib_version" >&5
     18198+       echo "$as_me:5513: result: $cf_cv_shlib_version" >&5
    1566618199 echo "${ECHO_T}$cf_cv_shlib_version" >&6
    1566718200 
    1566818201        cf_cv_rm_so_locs=no
    15669 @@ -5510,14 +5674,14 @@
     18202@@ -5510,14 +5519,14 @@
    1567018203        CC_SHARED_OPTS=
    1567118204        if test "$GCC" = yes
    1567218205        then
    1567318206-               echo "$as_me:5513: checking which $CC option to use" >&5
    15674 +               echo "$as_me:5677: checking which $CC option to use" >&5
     18207+               echo "$as_me:5522: checking which $CC option to use" >&5
    1567518208 echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6
    1567618209                cf_save_CFLAGS="$CFLAGS"
     
    1568018213                        cat >conftest.$ac_ext <<_ACEOF
    1568118214-#line 5520 "configure"
    15682 +#line 5684 "configure"
     18215+#line 5529 "configure"
    1568318216 #include "confdefs.h"
    1568418217 #include <stdio.h>
    1568518218 int
    15686 @@ -5529,16 +5693,16 @@
     18219@@ -5529,16 +5538,16 @@
    1568718220 }
    1568818221 _ACEOF
    1568918222 rm -f conftest.$ac_objext
    1569018223-if { (eval echo "$as_me:5532: \"$ac_compile\"") >&5
    15691 +if { (eval echo "$as_me:5696: \"$ac_compile\"") >&5
     18224+if { (eval echo "$as_me:5541: \"$ac_compile\"") >&5
    1569218225   (eval $ac_compile) 2>&5
    1569318226   ac_status=$?
    1569418227-  echo "$as_me:5535: \$? = $ac_status" >&5
    15695 +  echo "$as_me:5699: \$? = $ac_status" >&5
     18228+  echo "$as_me:5544: \$? = $ac_status" >&5
    1569618229   (exit $ac_status); } &&
    1569718230          { ac_try='test -s conftest.$ac_objext'
    1569818231-  { (eval echo "$as_me:5538: \"$ac_try\"") >&5
    15699 +  { (eval echo "$as_me:5702: \"$ac_try\"") >&5
     18232+  { (eval echo "$as_me:5547: \"$ac_try\"") >&5
    1570018233   (eval $ac_try) 2>&5
    1570118234   ac_status=$?
    1570218235-  echo "$as_me:5541: \$? = $ac_status" >&5
    15703 +  echo "$as_me:5705: \$? = $ac_status" >&5
     18236+  echo "$as_me:5550: \$? = $ac_status" >&5
    1570418237   (exit $ac_status); }; }; then
    1570518238   break
    1570618239 else
    15707 @@ -5547,7 +5711,7 @@
     18240@@ -5547,7 +5556,7 @@
    1570818241 fi
    1570918242 rm -f conftest.$ac_objext conftest.$ac_ext
    1571018243                done
    1571118244-               echo "$as_me:5550: result: $CC_SHARED_OPTS" >&5
    15712 +               echo "$as_me:5714: result: $CC_SHARED_OPTS" >&5
     18245+               echo "$as_me:5559: result: $CC_SHARED_OPTS" >&5
    1571318246 echo "${ECHO_T}$CC_SHARED_OPTS" >&6
    1571418247                CFLAGS="$cf_save_CFLAGS"
    1571518248        fi
    15716 @@ -5555,10 +5719,14 @@
     18249@@ -5555,10 +5564,14 @@
    1571718250        cf_cv_shlib_version_infix=no
    1571818251 
     
    1573118264                ;;
    1573218265        beos*) #(vi
    15733 @@ -5589,7 +5757,7 @@
     18266@@ -5589,7 +5602,7 @@
    1573418267                MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@'
    1573518268                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi
    1573618269                cf_cv_shlib_version_infix=yes
    1573718270-               echo "$as_me:5592: checking if ld -search_paths_first works" >&5
    15738 +               echo "$as_me:5760: checking if ld -search_paths_first works" >&5
     18271+               echo "$as_me:5605: checking if ld -search_paths_first works" >&5
    1573918272 echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6
    1574018273 if test "${cf_cv_ldflags_search_paths_first+set}" = set; then
    1574118274   echo $ECHO_N "(cached) $ECHO_C" >&6
    15742 @@ -5598,7 +5766,7 @@
     18275@@ -5598,7 +5611,7 @@
    1574318276                        cf_save_LDFLAGS=$LDFLAGS
    1574418277                        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    1574518278                        cat >conftest.$ac_ext <<_ACEOF
    1574618279-#line 5601 "configure"
    15747 +#line 5769 "configure"
     18280+#line 5614 "configure"
    1574818281 #include "confdefs.h"
    1574918282 
    1575018283 int
    15751 @@ -5610,16 +5778,16 @@
     18284@@ -5610,16 +5623,16 @@
    1575218285 }
    1575318286 _ACEOF
    1575418287 rm -f conftest.$ac_objext conftest$ac_exeext
    1575518288-if { (eval echo "$as_me:5613: \"$ac_link\"") >&5
    15756 +if { (eval echo "$as_me:5781: \"$ac_link\"") >&5
     18289+if { (eval echo "$as_me:5626: \"$ac_link\"") >&5
    1575718290   (eval $ac_link) 2>&5
    1575818291   ac_status=$?
    1575918292-  echo "$as_me:5616: \$? = $ac_status" >&5
    15760 +  echo "$as_me:5784: \$? = $ac_status" >&5
     18293+  echo "$as_me:5629: \$? = $ac_status" >&5
    1576118294   (exit $ac_status); } &&
    1576218295          { ac_try='test -s conftest$ac_exeext'
    1576318296-  { (eval echo "$as_me:5619: \"$ac_try\"") >&5
    15764 +  { (eval echo "$as_me:5787: \"$ac_try\"") >&5
     18297+  { (eval echo "$as_me:5632: \"$ac_try\"") >&5
    1576518298   (eval $ac_try) 2>&5
    1576618299   ac_status=$?
    1576718300-  echo "$as_me:5622: \$? = $ac_status" >&5
    15768 +  echo "$as_me:5790: \$? = $ac_status" >&5
     18301+  echo "$as_me:5635: \$? = $ac_status" >&5
    1576918302   (exit $ac_status); }; }; then
    1577018303   cf_cv_ldflags_search_paths_first=yes
    1577118304 else
    15772 @@ -5630,7 +5798,7 @@
     18305@@ -5630,7 +5643,7 @@
    1577318306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1577418307                                LDFLAGS=$cf_save_LDFLAGS
    1577518308 fi
    1577618309-echo "$as_me:5633: result: $cf_cv_ldflags_search_paths_first" >&5
    15777 +echo "$as_me:5801: result: $cf_cv_ldflags_search_paths_first" >&5
     18310+echo "$as_me:5646: result: $cf_cv_ldflags_search_paths_first" >&5
    1577818311 echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6
    1577918312                if test $cf_cv_ldflags_search_paths_first = yes; then
    1578018313                        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    15781 @@ -5649,9 +5817,19 @@
     18314@@ -5649,9 +5662,19 @@
    1578218315                # readonly to exploit a quirk in the memory manager.
    1578318316                INSTALL_LIB="-m 555"
     
    1580018333                # tested with IRIX 5.2 and 'cc'.
    1580118334                if test "$GCC" != yes; then
    15802 @@ -5668,7 +5846,7 @@
     18335@@ -5668,7 +5691,7 @@
    1580318336                        LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
    1580418337                fi
     
    1580918342 
    1581018343        test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
    15811 @@ -5680,13 +5858,13 @@
     18344@@ -5680,13 +5703,34 @@
    1581218345 
    1581318346                MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@'
    1581418347                ;;
    1581518348-       openbsd[2-9].*) #(vi
     18349+       mingw*) #(vi
     18350+               cf_cv_shlib_version=mingw
     18351+               cf_cv_shlib_version_infix=mingw
     18352+               CC_SHARED_OPTS=
     18353+               MK_SHARED_LIB='sh ../mk_shared_lib.sh $@ ${CC} ${CFLAGS}'
     18354+               #MK_SHARED_LIB='${CC} ${CFLAGS} -mdll -Wl,-soname,'$cf_cv_shared_soname',-stats -o $[@]'
     18355+               #MK_SHARED_LIB='${DLLTOOL} --export-all-symbols --output-exp --output-lib $[@]'
     18356+               cat >mk_shared_lib.sh <<-CF_EOF
     18357+               #!/bin/sh
     18358+               SHARED_LIB=\$1
     18359+               IMPORT_LIB=\`echo "\$1" | sed -e 's/[0-9]*\.dll$/.dll.a/'\`
     18360+               shift
     18361+               cat <<-EOF
     18362+               Linking shared library
     18363+               ** SHARED_LIB \$SHARED_LIB
     18364+               ** IMPORT_LIB \$IMPORT_LIB
     18365+EOF
     18366+               exec \$* -shared -Wl,--out-implib=../lib/\${IMPORT_LIB} -Wl,--export-all-symbols -o ../lib/\${SHARED_LIB}
     18367+CF_EOF
     18368+               chmod +x mk_shared_lib.sh
     18369+               ;;
    1581618370+       openbsd[2-9].*|mirbsd*) #(vi
    1581718371                if test "$DFT_LWR_MODEL" = "shared" ; then
     
    1582518379                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
    1582618380 
    15827 @@ -5704,12 +5882,12 @@
     18381@@ -5704,12 +5748,12 @@
    1582818382                MK_SHARED_LIB='${LD} -Bshareable -o $@'
    1582918383                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
     
    1584118395 
    1584218396        test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
    15843 @@ -5726,7 +5904,7 @@
     18397@@ -5726,7 +5770,7 @@
    1584418398                if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then
    1584518399                        LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)"
     
    1585018404                        if test -f /usr/libexec/ld.elf_so; then
    1585118405                                cf_cv_shlib_version=abi
    15852 @@ -5810,7 +5988,7 @@
     18406@@ -5810,7 +5854,7 @@
    1585318407                        do
    1585418408                                CFLAGS="$cf_shared_opts $cf_save_CFLAGS"
    1585518409                                cat >conftest.$ac_ext <<_ACEOF
    1585618410-#line 5813 "configure"
    15857 +#line 5991 "configure"
     18411+#line 5857 "configure"
    1585818412 #include "confdefs.h"
    1585918413 #include <stdio.h>
    1586018414 int
    15861 @@ -5822,16 +6000,16 @@
     18415@@ -5822,16 +5866,16 @@
    1586218416 }
    1586318417 _ACEOF
    1586418418 rm -f conftest.$ac_objext
    1586518419-if { (eval echo "$as_me:5825: \"$ac_compile\"") >&5
    15866 +if { (eval echo "$as_me:6003: \"$ac_compile\"") >&5
     18420+if { (eval echo "$as_me:5869: \"$ac_compile\"") >&5
    1586718421   (eval $ac_compile) 2>&5
    1586818422   ac_status=$?
    1586918423-  echo "$as_me:5828: \$? = $ac_status" >&5
    15870 +  echo "$as_me:6006: \$? = $ac_status" >&5
     18424+  echo "$as_me:5872: \$? = $ac_status" >&5
    1587118425   (exit $ac_status); } &&
    1587218426          { ac_try='test -s conftest.$ac_objext'
    1587318427-  { (eval echo "$as_me:5831: \"$ac_try\"") >&5
    15874 +  { (eval echo "$as_me:6009: \"$ac_try\"") >&5
     18428+  { (eval echo "$as_me:5875: \"$ac_try\"") >&5
    1587518429   (eval $ac_try) 2>&5
    1587618430   ac_status=$?
    1587718431-  echo "$as_me:5834: \$? = $ac_status" >&5
    15878 +  echo "$as_me:6012: \$? = $ac_status" >&5
     18432+  echo "$as_me:5878: \$? = $ac_status" >&5
    1587918433   (exit $ac_status); }; }; then
    1588018434   break
    1588118435 else
    15882 @@ -5868,21 +6046,21 @@
     18436@@ -5868,21 +5912,29 @@
    1588318437                        test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes
    1588418438                        ;;
    1588518439                *)
    1588618440-                       { echo "$as_me:5871: WARNING: ignored --with-shlib-version" >&5
    15887 +                       { echo "$as_me:6049: WARNING: ignored --with-shlib-version" >&5
     18441+                       { echo "$as_me:5915: WARNING: ignored --with-shlib-version" >&5
    1588818442 echo "$as_me: WARNING: ignored --with-shlib-version" >&2;}
    1588918443                        ;;
     
    1589818452+       test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}"
    1589918453+       test -z "$RPATH_LIST" && RPATH_LIST="\${libdir}"
     18454+
     18455+       test -n "$verbose" && echo "    CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6
     18456+
     18457+echo "${as_me:-configure}:5928: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5
     18458+
     18459+       test -n "$verbose" && echo "    MK_SHARED_LIB:  $MK_SHARED_LIB" 1>&6
     18460+
     18461+echo "${as_me:-configure}:5932: testing MK_SHARED_LIB:  $MK_SHARED_LIB ..." 1>&5
    1590018462 
    1590118463 if test "$CC_SHARED_OPTS" = "unknown"; then
     
    1590318465                if test "$model" = "shared"; then
    1590418466-                       { { echo "$as_me:5885: error: Shared libraries are not supported in this version" >&5
    15905 +                       { { echo "$as_me:6063: error: Shared libraries are not supported in this version" >&5
     18467+                       { { echo "$as_me:5937: error: Shared libraries are not supported in this version" >&5
    1590618468 echo "$as_me: error: Shared libraries are not supported in this version" >&2;}
    1590718469    { (exit 1); exit 1; }; }
    1590818470                fi
    15909 @@ -5892,7 +6070,7 @@
     18471@@ -5892,7 +5944,7 @@
    1591018472 ### If we're building with rpath, try to link non-standard libs that way too.
    1591118473 if test "$DFT_LWR_MODEL" = "shared"; then
    1591218474 
    1591318475-echo "$as_me:5895: checking if rpath-hack should be disabled" >&5
    15914 +echo "$as_me:6073: checking if rpath-hack should be disabled" >&5
     18476+echo "$as_me:5947: checking if rpath-hack should be disabled" >&5
    1591518477 echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6
    1591618478 
    1591718479 # Check whether --enable-rpath-hack or --disable-rpath-hack was given.
    15918 @@ -5909,21 +6087,21 @@
     18480@@ -5909,21 +5961,21 @@
    1591918481   cf_disable_rpath_hack=no
    1592018482 
    1592118483 fi;
    1592218484-echo "$as_me:5912: result: $cf_disable_rpath_hack" >&5
    15923 +echo "$as_me:6090: result: $cf_disable_rpath_hack" >&5
     18485+echo "$as_me:5964: result: $cf_disable_rpath_hack" >&5
    1592418486 echo "${ECHO_T}$cf_disable_rpath_hack" >&6
    1592518487 if test "$cf_disable_rpath_hack" = no ; then
    1592618488 
    1592718489-echo "$as_me:5916: checking for updated LDFLAGS" >&5
    15928 +echo "$as_me:6094: checking for updated LDFLAGS" >&5
     18490+echo "$as_me:5968: checking for updated LDFLAGS" >&5
    1592918491 echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6
    1593018492 if test -n "$LD_RPATH_OPT" ; then
    1593118493-       echo "$as_me:5919: result: maybe" >&5
    15932 +       echo "$as_me:6097: result: maybe" >&5
     18494+       echo "$as_me:5971: result: maybe" >&5
    1593318495 echo "${ECHO_T}maybe" >&6
    1593418496 
     
    1593818500 set dummy $ac_prog; ac_word=$2
    1593918501-echo "$as_me:5926: checking for $ac_word" >&5
    15940 +echo "$as_me:6104: checking for $ac_word" >&5
     18502+echo "$as_me:5978: checking for $ac_word" >&5
    1594118503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1594218504 if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then
    1594318505   echo $ECHO_N "(cached) $ECHO_C" >&6
    15944 @@ -5938,7 +6116,7 @@
     18506@@ -5938,7 +5990,7 @@
    1594518507   test -z "$ac_dir" && ac_dir=.
    1594618508   $as_executable_p "$ac_dir/$ac_word" || continue
    1594718509 ac_cv_prog_cf_ldd_prog="$ac_prog"
    1594818510-echo "$as_me:5941: found $ac_dir/$ac_word" >&5
    15949 +echo "$as_me:6119: found $ac_dir/$ac_word" >&5
     18511+echo "$as_me:5993: found $ac_dir/$ac_word" >&5
    1595018512 break
    1595118513 done
    1595218514 
    15953 @@ -5946,10 +6124,10 @@
     18515@@ -5946,10 +5998,10 @@
    1595418516 fi
    1595518517 cf_ldd_prog=$ac_cv_prog_cf_ldd_prog
    1595618518 if test -n "$cf_ldd_prog"; then
    1595718519-  echo "$as_me:5949: result: $cf_ldd_prog" >&5
    15958 +  echo "$as_me:6127: result: $cf_ldd_prog" >&5
     18520+  echo "$as_me:6001: result: $cf_ldd_prog" >&5
    1595918521 echo "${ECHO_T}$cf_ldd_prog" >&6
    1596018522 else
    1596118523-  echo "$as_me:5952: result: no" >&5
    15962 +  echo "$as_me:6130: result: no" >&5
     18524+  echo "$as_me:6004: result: no" >&5
    1596318525 echo "${ECHO_T}no" >&6
    1596418526 fi
    1596518527 
    15966 @@ -5963,7 +6141,7 @@
     18528@@ -5963,7 +6015,7 @@
    1596718529                cf_rpath_oops=
    1596818530 
    1596918531 cat >conftest.$ac_ext <<_ACEOF
    1597018532-#line 5966 "configure"
    15971 +#line 6144 "configure"
     18533+#line 6018 "configure"
    1597218534 #include "confdefs.h"
    1597318535 #include <stdio.h>
    1597418536 int
    15975 @@ -5975,16 +6153,16 @@
     18537@@ -5975,16 +6027,16 @@
    1597618538 }
    1597718539 _ACEOF
    1597818540 rm -f conftest.$ac_objext conftest$ac_exeext
    1597918541-if { (eval echo "$as_me:5978: \"$ac_link\"") >&5
    15980 +if { (eval echo "$as_me:6156: \"$ac_link\"") >&5
     18542+if { (eval echo "$as_me:6030: \"$ac_link\"") >&5
    1598118543   (eval $ac_link) 2>&5
    1598218544   ac_status=$?
    1598318545-  echo "$as_me:5981: \$? = $ac_status" >&5
    15984 +  echo "$as_me:6159: \$? = $ac_status" >&5
     18546+  echo "$as_me:6033: \$? = $ac_status" >&5
    1598518547   (exit $ac_status); } &&
    1598618548          { ac_try='test -s conftest$ac_exeext'
    1598718549-  { (eval echo "$as_me:5984: \"$ac_try\"") >&5
    15988 +  { (eval echo "$as_me:6162: \"$ac_try\"") >&5
     18550+  { (eval echo "$as_me:6036: \"$ac_try\"") >&5
    1598918551   (eval $ac_try) 2>&5
    1599018552   ac_status=$?
    1599118553-  echo "$as_me:5987: \$? = $ac_status" >&5
    15992 +  echo "$as_me:6165: \$? = $ac_status" >&5
     18554+  echo "$as_me:6039: \$? = $ac_status" >&5
    1599318555   (exit $ac_status); }; }; then
    1599418556   cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort -u`
    1599518557                 cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[      ]/%/%' -e 's%/[^/][^/]*$%%' |sort -u`
    15996 @@ -6012,7 +6190,7 @@
     18558@@ -6012,7 +6064,7 @@
    1599718559                                        then
    1599818560                                                test -n "$verbose" && echo "    ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6
    1599918561 
    1600018562-echo "${as_me:-configure}:6015: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
    16001 +echo "${as_me:-configure}:6193: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
     18563+echo "${as_me:-configure}:6067: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
    1600218564 
    1600318565                                                LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
    1600418566                                                break
    16005 @@ -6024,11 +6202,11 @@
     18567@@ -6024,11 +6076,11 @@
    1600618568 
    1600718569        test -n "$verbose" && echo "    ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
    1600818570 
    1600918571-echo "${as_me:-configure}:6027: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    16010 +echo "${as_me:-configure}:6205: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     18572+echo "${as_me:-configure}:6079: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    1601118573 
    1601218574 test -n "$verbose" && echo "   ...checking LDFLAGS $LDFLAGS" 1>&6
    1601318575 
    1601418576-echo "${as_me:-configure}:6031: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
    16015 +echo "${as_me:-configure}:6209: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
     18577+echo "${as_me:-configure}:6083: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
    1601618578 
    1601718579 cf_rpath_dst=
    1601818580 for cf_rpath_src in $LDFLAGS
    16019 @@ -6065,7 +6243,7 @@
     18581@@ -6065,7 +6117,7 @@
    1602018582                        then
    1602118583                                test -n "$verbose" && echo "    ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
    1602218584 
    1602318585-echo "${as_me:-configure}:6068: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    16024 +echo "${as_me:-configure}:6246: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     18586+echo "${as_me:-configure}:6120: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    1602518587 
    1602618588                                EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
    1602718589                        fi
    16028 @@ -6078,11 +6256,11 @@
     18590@@ -6078,11 +6130,11 @@
    1602918591 
    1603018592 test -n "$verbose" && echo "   ...checked LDFLAGS $LDFLAGS" 1>&6
    1603118593 
    1603218594-echo "${as_me:-configure}:6081: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
    16033 +echo "${as_me:-configure}:6259: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
     18595+echo "${as_me:-configure}:6133: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
    1603418596 
    1603518597 test -n "$verbose" && echo "   ...checking LIBS $LIBS" 1>&6
    1603618598 
    1603718599-echo "${as_me:-configure}:6085: testing ...checking LIBS $LIBS ..." 1>&5
    16038 +echo "${as_me:-configure}:6263: testing ...checking LIBS $LIBS ..." 1>&5
     18600+echo "${as_me:-configure}:6137: testing ...checking LIBS $LIBS ..." 1>&5
    1603918601 
    1604018602 cf_rpath_dst=
    1604118603 for cf_rpath_src in $LIBS
    16042 @@ -6119,7 +6297,7 @@
     18604@@ -6119,7 +6171,7 @@
    1604318605                        then
    1604418606                                test -n "$verbose" && echo "    ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
    1604518607 
    1604618608-echo "${as_me:-configure}:6122: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    16047 +echo "${as_me:-configure}:6300: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     18609+echo "${as_me:-configure}:6174: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    1604818610 
    1604918611                                EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
    1605018612                        fi
    16051 @@ -6132,11 +6310,11 @@
     18613@@ -6132,11 +6184,11 @@
    1605218614 
    1605318615 test -n "$verbose" && echo "   ...checked LIBS $LIBS" 1>&6
    1605418616 
    1605518617-echo "${as_me:-configure}:6135: testing ...checked LIBS $LIBS ..." 1>&5
    16056 +echo "${as_me:-configure}:6313: testing ...checked LIBS $LIBS ..." 1>&5
     18618+echo "${as_me:-configure}:6187: testing ...checked LIBS $LIBS ..." 1>&5
    1605718619 
    1605818620        test -n "$verbose" && echo "    ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
    1605918621 
    1606018622-echo "${as_me:-configure}:6139: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    16061 +echo "${as_me:-configure}:6317: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    16062  
    16063  fi
    16064  
    16065 @@ -6147,7 +6325,7 @@
     18623+echo "${as_me:-configure}:6191: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     18624 
     18625 fi
     18626 
     18627@@ -6147,7 +6199,7 @@
    1606618628 ###############################################################################
    1606718629 
    1606818630 ###    use option --disable-overwrite to leave out the link to -lcurses
    1606918631-echo "$as_me:6150: checking if you wish to install ncurses overwriting curses" >&5
    16070 +echo "$as_me:6328: checking if you wish to install ncurses overwriting curses" >&5
     18632+echo "$as_me:6202: checking if you wish to install ncurses overwriting curses" >&5
    1607118633 echo $ECHO_N "checking if you wish to install ncurses overwriting curses... $ECHO_C" >&6
    1607218634 
    1607318635 # Check whether --enable-overwrite or --disable-overwrite was given.
    16074 @@ -6157,10 +6335,10 @@
     18636@@ -6157,10 +6209,10 @@
    1607518637 else
    1607618638   if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi
    1607718639 fi;
    1607818640-echo "$as_me:6160: result: $with_overwrite" >&5
    16079 +echo "$as_me:6338: result: $with_overwrite" >&5
     18641+echo "$as_me:6212: result: $with_overwrite" >&5
    1608018642 echo "${ECHO_T}$with_overwrite" >&6
    1608118643 
    1608218644-echo "$as_me:6163: checking if external terminfo-database is used" >&5
    16083 +echo "$as_me:6341: checking if external terminfo-database is used" >&5
     18645+echo "$as_me:6215: checking if external terminfo-database is used" >&5
    1608418646 echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6
    1608518647 
    1608618648 # Check whether --enable-database or --disable-database was given.
    16087 @@ -6170,7 +6348,7 @@
     18649@@ -6170,7 +6222,7 @@
    1608818650 else
    1608918651   use_database=yes
    1609018652 fi;
    1609118653-echo "$as_me:6173: result: $use_database" >&5
    16092 +echo "$as_me:6351: result: $use_database" >&5
     18654+echo "$as_me:6225: result: $use_database" >&5
    1609318655 echo "${ECHO_T}$use_database" >&6
    1609418656 
    1609518657 case $host_os in #(vi
    16096 @@ -6182,17 +6360,12 @@
     18658@@ -6182,17 +6234,12 @@
    1609718659        ;;
    1609818660 esac
     
    1610918671 
    1611018672-       echo "$as_me:6195: checking which terminfo source-file will be installed" >&5
    16111 +       echo "$as_me:6368: checking which terminfo source-file will be installed" >&5
     18673+       echo "$as_me:6242: checking which terminfo source-file will be installed" >&5
    1611218674 echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6
    1611318675 
    1611418676 # Check whether --with-database or --without-database was given.
    16115 @@ -6200,10 +6373,10 @@
     18677@@ -6200,10 +6247,10 @@
    1611618678   withval="$with_database"
    1611718679   TERMINFO_SRC=$withval
    1611818680 fi;
    1611918681-       echo "$as_me:6203: result: $TERMINFO_SRC" >&5
    16120 +       echo "$as_me:6376: result: $TERMINFO_SRC" >&5
     18682+       echo "$as_me:6250: result: $TERMINFO_SRC" >&5
    1612118683 echo "${ECHO_T}$TERMINFO_SRC" >&6
    1612218684 
    1612318685-       echo "$as_me:6206: checking whether to use hashed database instead of directory/tree" >&5
    16124 +       echo "$as_me:6379: checking whether to use hashed database instead of directory/tree" >&5
     18686+       echo "$as_me:6253: checking whether to use hashed database instead of directory/tree" >&5
    1612518687 echo $ECHO_N "checking whether to use hashed database instead of directory/tree... $ECHO_C" >&6
    1612618688 
    1612718689 # Check whether --with-hashed-db or --without-hashed-db was given.
    16128 @@ -6213,13 +6386,13 @@
     18690@@ -6213,13 +6260,13 @@
    1612918691 else
    1613018692   with_hashed_db=no
    1613118693 fi;
    1613218694-       echo "$as_me:6216: result: $with_hashed_db" >&5
    16133 +       echo "$as_me:6389: result: $with_hashed_db" >&5
     18695+       echo "$as_me:6263: result: $with_hashed_db" >&5
    1613418696 echo "${ECHO_T}$with_hashed_db" >&6
    1613518697 else
     
    1613818700 
    1613918701-echo "$as_me:6222: checking for list of fallback descriptions" >&5
    16140 +echo "$as_me:6395: checking for list of fallback descriptions" >&5
     18702+echo "$as_me:6269: checking for list of fallback descriptions" >&5
    1614118703 echo $ECHO_N "checking for list of fallback descriptions... $ECHO_C" >&6
    1614218704 
    1614318705 # Check whether --with-fallbacks or --without-fallbacks was given.
    16144 @@ -6229,11 +6402,11 @@
     18706@@ -6229,11 +6276,11 @@
    1614518707 else
    1614618708   with_fallback=
    1614718709 fi;
    1614818710-echo "$as_me:6232: result: $with_fallback" >&5
    16149 +echo "$as_me:6405: result: $with_fallback" >&5
     18711+echo "$as_me:6279: result: $with_fallback" >&5
    1615018712 echo "${ECHO_T}$with_fallback" >&6
    1615118713 FALLBACK_LIST=`echo "$with_fallback" | sed -e 's/,/ /g'`
    1615218714 
    1615318715-echo "$as_me:6236: checking if you want modern xterm or antique" >&5
    16154 +echo "$as_me:6409: checking if you want modern xterm or antique" >&5
     18716+echo "$as_me:6283: checking if you want modern xterm or antique" >&5
    1615518717 echo $ECHO_N "checking if you want modern xterm or antique... $ECHO_C" >&6
    1615618718 
    1615718719 # Check whether --with-xterm-new or --without-xterm-new was given.
    16158 @@ -6247,19 +6420,49 @@
     18720@@ -6247,19 +6294,49 @@
    1615918721 no)    with_xterm_new=xterm-old;;
    1616018722 *)     with_xterm_new=xterm-new;;
    1616118723 esac
    1616218724-echo "$as_me:6250: result: $with_xterm_new" >&5
    16163 +echo "$as_me:6423: result: $with_xterm_new" >&5
     18725+echo "$as_me:6297: result: $with_xterm_new" >&5
    1616418726 echo "${ECHO_T}$with_xterm_new" >&6
    1616518727 WHICH_XTERM=$with_xterm_new
    1616618728 
    16167 +echo "$as_me:6427: checking if xterm backspace sends BS or DEL" >&5
     18729+echo "$as_me:6301: checking if xterm backspace sends BS or DEL" >&5
    1616818730+echo $ECHO_N "checking if xterm backspace sends BS or DEL... $ECHO_C" >&6
    1616918731+
     
    1618618748+       ;;
    1618718749+esac
    16188 +echo "$as_me:6448: result: $with_xterm_kbs" >&5
     18750+echo "$as_me:6322: result: $with_xterm_kbs" >&5
    1618918751+echo "${ECHO_T}$with_xterm_kbs" >&6
    1619018752+XTERM_KBS=$with_xterm_kbs
     
    1619718759 
    1619818760-echo "$as_me:6260: checking for list of terminfo directories" >&5
    16199 +echo "$as_me:6458: checking for list of terminfo directories" >&5
     18761+echo "$as_me:6332: checking for list of terminfo directories" >&5
    1620018762 echo $ECHO_N "checking for list of terminfo directories... $ECHO_C" >&6
    1620118763 
     
    1620818770 if test "${with_terminfo_dirs+set}" = set; then
    1620918771   withval="$with_terminfo_dirs"
    16210 @@ -6297,7 +6500,7 @@
     18772@@ -6285,7 +6362,7 @@
     18773   ;;
     18774 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     18775   ;;
     18776-.\${*prefix}*) #(vi
     18777+.\${*prefix}*|.\${*dir}*) #(vi
     18778   eval cf_src_path="$cf_src_path"
     18779   case ".$cf_src_path" in #(vi
     18780   .NONE/*)
     18781@@ -6297,7 +6374,7 @@
    1621118782   cf_src_path=`echo $cf_src_path | sed -e s%NONE%$cf_path_syntax%`
    1621218783   ;;
    1621318784 *)
    1621418785-  { { echo "$as_me:6300: error: expected a pathname, not \"$cf_src_path\"" >&5
    16215 +  { { echo "$as_me:6503: error: expected a pathname, not \"$cf_src_path\"" >&5
     18786+  { { echo "$as_me:6377: error: expected a pathname, not \"$cf_src_path\"" >&5
    1621618787 echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;}
    1621718788    { (exit 1); exit 1; }; }
    1621818789   ;;
    16219 @@ -6310,13 +6513,13 @@
     18790@@ -6310,13 +6387,13 @@
    1622018791 
    1622118792 eval 'TERMINFO_DIRS="$cf_dst_path"'
    1622218793 
    1622318794-echo "$as_me:6313: result: $TERMINFO_DIRS" >&5
    16224 +echo "$as_me:6516: result: $TERMINFO_DIRS" >&5
     18795+echo "$as_me:6390: result: $TERMINFO_DIRS" >&5
    1622518796 echo "${ECHO_T}$TERMINFO_DIRS" >&6
    1622618797 test -n "$TERMINFO_DIRS" && cat >>confdefs.h <<EOF
     
    1622918800 
    1623018801-echo "$as_me:6319: checking for default terminfo directory" >&5
    16231 +echo "$as_me:6522: checking for default terminfo directory" >&5
     18802+echo "$as_me:6396: checking for default terminfo directory" >&5
    1623218803 echo $ECHO_N "checking for default terminfo directory... $ECHO_C" >&6
    1623318804 
    1623418805 # Check whether --with-default-terminfo-dir or --without-default-terminfo-dir was given.
    16235 @@ -6352,7 +6555,7 @@
     18806@@ -6340,7 +6417,7 @@
     18807   ;;
     18808 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     18809   ;;
     18810-.\${*prefix}*) #(vi
     18811+.\${*prefix}*|.\${*dir}*) #(vi
     18812   eval withval="$withval"
     18813   case ".$withval" in #(vi
     18814   .NONE/*)
     18815@@ -6352,7 +6429,7 @@
    1623618816   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    1623718817   ;;
    1623818818 *)
    1623918819-  { { echo "$as_me:6355: error: expected a pathname, not \"$withval\"" >&5
    16240 +  { { echo "$as_me:6558: error: expected a pathname, not \"$withval\"" >&5
     18820+  { { echo "$as_me:6432: error: expected a pathname, not \"$withval\"" >&5
    1624118821 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    1624218822    { (exit 1); exit 1; }; }
    1624318823   ;;
    16244 @@ -6361,7 +6564,7 @@
     18824@@ -6361,7 +6438,7 @@
    1624518825 fi
    1624618826 TERMINFO="$withval"
    1624718827 
    1624818828-echo "$as_me:6364: result: $TERMINFO" >&5
    16249 +echo "$as_me:6567: result: $TERMINFO" >&5
     18829+echo "$as_me:6441: result: $TERMINFO" >&5
    1625018830 echo "${ECHO_T}$TERMINFO" >&6
    1625118831 cat >>confdefs.h <<EOF
    1625218832 #define TERMINFO "$TERMINFO"
    16253 @@ -6371,7 +6574,7 @@
     18833@@ -6371,7 +6448,7 @@
    1625418834 
    1625518835 ###    use option --disable-big-core to make tic run on small machines
    1625618836 ###    We need 4Mb, check if we can allocate 50% more than that.
    1625718837-echo "$as_me:6374: checking if big-core option selected" >&5
    16258 +echo "$as_me:6577: checking if big-core option selected" >&5
     18838+echo "$as_me:6451: checking if big-core option selected" >&5
    1625918839 echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6
    1626018840 
    1626118841 # Check whether --enable-big-core or --disable-big-core was given.
    16262 @@ -6383,7 +6586,7 @@
     18842@@ -6383,7 +6460,7 @@
    1626318843   with_big_core=no
    1626418844 else
    1626518845   cat >conftest.$ac_ext <<_ACEOF
    1626618846-#line 6386 "configure"
    16267 +#line 6589 "configure"
     18847+#line 6463 "configure"
    1626818848 #include "confdefs.h"
    1626918849 
    1627018850 #include <stdlib.h>
    16271 @@ -6397,15 +6600,15 @@
     18851@@ -6397,15 +6474,15 @@
    1627218852 }
    1627318853 _ACEOF
    1627418854 rm -f conftest$ac_exeext
    1627518855-if { (eval echo "$as_me:6400: \"$ac_link\"") >&5
    16276 +if { (eval echo "$as_me:6603: \"$ac_link\"") >&5
     18856+if { (eval echo "$as_me:6477: \"$ac_link\"") >&5
    1627718857   (eval $ac_link) 2>&5
    1627818858   ac_status=$?
    1627918859-  echo "$as_me:6403: \$? = $ac_status" >&5
    16280 +  echo "$as_me:6606: \$? = $ac_status" >&5
     18860+  echo "$as_me:6480: \$? = $ac_status" >&5
    1628118861   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    1628218862-  { (eval echo "$as_me:6405: \"$ac_try\"") >&5
    16283 +  { (eval echo "$as_me:6608: \"$ac_try\"") >&5
     18863+  { (eval echo "$as_me:6482: \"$ac_try\"") >&5
    1628418864   (eval $ac_try) 2>&5
    1628518865   ac_status=$?
    1628618866-  echo "$as_me:6408: \$? = $ac_status" >&5
    16287 +  echo "$as_me:6611: \$? = $ac_status" >&5
     18867+  echo "$as_me:6485: \$? = $ac_status" >&5
    1628818868   (exit $ac_status); }; }; then
    1628918869   with_big_core=yes
    1629018870 else
    16291 @@ -6417,7 +6620,7 @@
     18871@@ -6417,7 +6494,7 @@
    1629218872 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    1629318873 fi
    1629418874 fi;
    1629518875-echo "$as_me:6420: result: $with_big_core" >&5
    16296 +echo "$as_me:6623: result: $with_big_core" >&5
     18876+echo "$as_me:6497: result: $with_big_core" >&5
    1629718877 echo "${ECHO_T}$with_big_core" >&6
    1629818878 test "$with_big_core" = "yes" && cat >>confdefs.h <<\EOF
    1629918879 #define HAVE_BIG_CORE 1
    16300 @@ -6426,7 +6629,7 @@
     18880@@ -6426,7 +6503,7 @@
    1630118881 ### ISO C only guarantees 512-char strings, we have tables which load faster
    1630218882 ### when constructed using "big" strings.  More than the C compiler, the awk
    1630318883 ### program is a limit on most vendor UNIX systems.  Check that we can build.
    1630418884-echo "$as_me:6429: checking if big-strings option selected" >&5
    16305 +echo "$as_me:6632: checking if big-strings option selected" >&5
     18885+echo "$as_me:6506: checking if big-strings option selected" >&5
    1630618886 echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6
    1630718887 
    1630818888 # Check whether --enable-big-strings or --disable-big-strings was given.
    16309 @@ -6440,8 +6643,8 @@
     18889@@ -6440,8 +6517,8 @@
    1631018890                eval with_big_strings=no
    1631118891                ;;
     
    1631818898                else
    1631918899                        eval with_big_strings=no
    16320 @@ -6450,14 +6653,14 @@
     18900@@ -6450,14 +6527,14 @@
    1632118901        esac
    1632218902 
    1632318903 fi;
    1632418904-echo "$as_me:6453: result: $with_big_strings" >&5
    16325 +echo "$as_me:6656: result: $with_big_strings" >&5
     18905+echo "$as_me:6530: result: $with_big_strings" >&5
    1632618906 echo "${ECHO_T}$with_big_strings" >&6
    1632718907 
     
    1633118911 ###    use option --enable-termcap to compile in the termcap fallback support
    1633218912-echo "$as_me:6460: checking if you want termcap-fallback support" >&5
    16333 +echo "$as_me:6663: checking if you want termcap-fallback support" >&5
     18913+echo "$as_me:6537: checking if you want termcap-fallback support" >&5
    1633418914 echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6
    1633518915 
    1633618916 # Check whether --enable-termcap or --disable-termcap was given.
    16337 @@ -6467,13 +6670,13 @@
     18917@@ -6467,13 +6544,13 @@
    1633818918 else
    1633918919   with_termcap=no
    1634018920 fi;
    1634118921-echo "$as_me:6470: result: $with_termcap" >&5
    16342 +echo "$as_me:6673: result: $with_termcap" >&5
     18922+echo "$as_me:6547: result: $with_termcap" >&5
    1634318923 echo "${ECHO_T}$with_termcap" >&6
    1634418924 
     
    1634718927                if test -z "$with_fallback" ; then
    1634818928-                       { { echo "$as_me:6476: error: You have disabled the database w/o specifying fallbacks" >&5
    16349 +                       { { echo "$as_me:6679: error: You have disabled the database w/o specifying fallbacks" >&5
     18929+                       { { echo "$as_me:6553: error: You have disabled the database w/o specifying fallbacks" >&5
    1635018930 echo "$as_me: error: You have disabled the database w/o specifying fallbacks" >&2;}
    1635118931    { (exit 1); exit 1; }; }
    1635218932                fi
    16353 @@ -6485,7 +6688,7 @@
     18933@@ -6485,7 +6562,7 @@
    1635418934 else
    1635518935 
    1635618936 if test "$with_ticlib" != no ; then
    1635718937-       { { echo "$as_me:6488: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5
    16358 +       { { echo "$as_me:6691: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5
     18938+       { { echo "$as_me:6565: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5
    1635918939 echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;}
    1636018940    { (exit 1); exit 1; }; }
    1636118941 fi
    16362 @@ -6494,7 +6697,7 @@
     18942@@ -6494,7 +6571,7 @@
    1636318943 #define USE_TERMCAP 1
    1636418944 EOF
    1636518945 
    1636618946-echo "$as_me:6497: checking for list of termcap files" >&5
    16367 +echo "$as_me:6700: checking for list of termcap files" >&5
     18947+echo "$as_me:6574: checking for list of termcap files" >&5
    1636818948 echo $ECHO_N "checking for list of termcap files... $ECHO_C" >&6
    1636918949 
    1637018950 # Check whether --with-termpath or --without-termpath was given.
    16371 @@ -6534,7 +6737,7 @@
     18951@@ -6522,7 +6599,7 @@
     18952   ;;
     18953 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     18954   ;;
     18955-.\${*prefix}*) #(vi
     18956+.\${*prefix}*|.\${*dir}*) #(vi
     18957   eval cf_src_path="$cf_src_path"
     18958   case ".$cf_src_path" in #(vi
     18959   .NONE/*)
     18960@@ -6534,7 +6611,7 @@
    1637218961   cf_src_path=`echo $cf_src_path | sed -e s%NONE%$cf_path_syntax%`
    1637318962   ;;
    1637418963 *)
    1637518964-  { { echo "$as_me:6537: error: expected a pathname, not \"$cf_src_path\"" >&5
    16376 +  { { echo "$as_me:6740: error: expected a pathname, not \"$cf_src_path\"" >&5
     18965+  { { echo "$as_me:6614: error: expected a pathname, not \"$cf_src_path\"" >&5
    1637718966 echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;}
    1637818967    { (exit 1); exit 1; }; }
    1637918968   ;;
    16380 @@ -6547,14 +6750,14 @@
     18969@@ -6547,14 +6624,14 @@
    1638118970 
    1638218971 eval 'TERMPATH="$cf_dst_path"'
    1638318972 
    1638418973-echo "$as_me:6550: result: $TERMPATH" >&5
    16385 +echo "$as_me:6753: result: $TERMPATH" >&5
     18974+echo "$as_me:6627: result: $TERMPATH" >&5
    1638618975 echo "${ECHO_T}$TERMPATH" >&6
    1638718976 test -n "$TERMPATH" && cat >>confdefs.h <<EOF
     
    1639118980 ###    use option --enable-getcap to use a hacked getcap for reading termcaps
    1639218981-echo "$as_me:6557: checking if fast termcap-loader is needed" >&5
    16393 +echo "$as_me:6760: checking if fast termcap-loader is needed" >&5
     18982+echo "$as_me:6634: checking if fast termcap-loader is needed" >&5
    1639418983 echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6
    1639518984 
    1639618985 # Check whether --enable-getcap or --disable-getcap was given.
    16397 @@ -6564,13 +6767,13 @@
     18986@@ -6564,13 +6641,13 @@
    1639818987 else
    1639918988   with_getcap=no
    1640018989 fi;
    1640118990-echo "$as_me:6567: result: $with_getcap" >&5
    16402 +echo "$as_me:6770: result: $with_getcap" >&5
     18991+echo "$as_me:6644: result: $with_getcap" >&5
    1640318992 echo "${ECHO_T}$with_getcap" >&6
    1640418993 test "$with_getcap" = "yes" && cat >>confdefs.h <<\EOF
     
    1640718996 
    1640818997-echo "$as_me:6573: checking if translated termcaps will be cached in ~/.terminfo" >&5
    16409 +echo "$as_me:6776: checking if translated termcaps will be cached in ~/.terminfo" >&5
     18998+echo "$as_me:6650: checking if translated termcaps will be cached in ~/.terminfo" >&5
    1641018999 echo $ECHO_N "checking if translated termcaps will be cached in ~/.terminfo... $ECHO_C" >&6
    1641119000 
    1641219001 # Check whether --enable-getcap-cache or --disable-getcap-cache was given.
    16413 @@ -6580,7 +6783,7 @@
     19002@@ -6580,7 +6657,7 @@
    1641419003 else
    1641519004   with_getcap_cache=no
    1641619005 fi;
    1641719006-echo "$as_me:6583: result: $with_getcap_cache" >&5
    16418 +echo "$as_me:6786: result: $with_getcap_cache" >&5
     19007+echo "$as_me:6660: result: $with_getcap_cache" >&5
    1641919008 echo "${ECHO_T}$with_getcap_cache" >&6
    1642019009 test "$with_getcap_cache" = "yes" && cat >>confdefs.h <<\EOF
    1642119010 #define USE_GETCAP_CACHE 1
    16422 @@ -6589,7 +6792,7 @@
     19011@@ -6589,7 +6666,7 @@
    1642319012 fi
    1642419013 
    1642519014 ###   Use option --disable-home-terminfo to completely remove ~/.terminfo
    1642619015-echo "$as_me:6592: checking if ~/.terminfo is wanted" >&5
    16427 +echo "$as_me:6795: checking if ~/.terminfo is wanted" >&5
     19016+echo "$as_me:6669: checking if ~/.terminfo is wanted" >&5
    1642819017 echo $ECHO_N "checking if ~/.terminfo is wanted... $ECHO_C" >&6
    1642919018 
    1643019019 # Check whether --enable-home-terminfo or --disable-home-terminfo was given.
    16431 @@ -6599,13 +6802,13 @@
     19020@@ -6599,13 +6676,13 @@
    1643219021 else
    1643319022   with_home_terminfo=yes
    1643419023 fi;
    1643519024-echo "$as_me:6602: result: $with_home_terminfo" >&5
    16436 +echo "$as_me:6805: result: $with_home_terminfo" >&5
     19025+echo "$as_me:6679: result: $with_home_terminfo" >&5
    1643719026 echo "${ECHO_T}$with_home_terminfo" >&6
    1643819027 test "$with_home_terminfo" = "yes" && cat >>confdefs.h <<\EOF
     
    1644119030 
    1644219031-echo "$as_me:6608: checking if you want to use restricted environment when running as root" >&5
    16443 +echo "$as_me:6811: checking if you want to use restricted environment when running as root" >&5
     19032+echo "$as_me:6685: checking if you want to use restricted environment when running as root" >&5
    1644419033 echo $ECHO_N "checking if you want to use restricted environment when running as root... $ECHO_C" >&6
    1644519034 
    1644619035 # Check whether --enable-root-environ or --disable-root-environ was given.
    16447 @@ -6615,7 +6818,7 @@
     19036@@ -6615,7 +6692,7 @@
    1644819037 else
    1644919038   with_root_environ=yes
    1645019039 fi;
    1645119040-echo "$as_me:6618: result: $with_root_environ" >&5
    16452 +echo "$as_me:6821: result: $with_root_environ" >&5
     19041+echo "$as_me:6695: result: $with_root_environ" >&5
    1645319042 echo "${ECHO_T}$with_root_environ" >&6
    1645419043 test "$with_root_environ" = yes && cat >>confdefs.h <<\EOF
    1645519044 #define USE_ROOT_ENVIRON 1
    16456 @@ -6629,13 +6832,13 @@
     19045@@ -6629,13 +6706,13 @@
    1645719046        unlink
    1645819047 do
    1645919048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    1646019049-echo "$as_me:6632: checking for $ac_func" >&5
    16461 +echo "$as_me:6835: checking for $ac_func" >&5
     19050+echo "$as_me:6709: checking for $ac_func" >&5
    1646219051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    1646319052 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    1646619055   cat >conftest.$ac_ext <<_ACEOF
    1646719056-#line 6638 "configure"
    16468 +#line 6841 "configure"
     19057+#line 6715 "configure"
    1646919058 #include "confdefs.h"
    1647019059 /* System header to define __stub macros and hopefully few prototypes,
    1647119060     which can conflict with char $ac_func (); below.  */
    16472 @@ -6666,16 +6869,16 @@
     19061@@ -6658,7 +6735,7 @@
     19062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     19063 choke me
     19064 #else
     19065-f = $ac_func;
     19066+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     19067 #endif
     19068 
     19069   ;
     19070@@ -6666,16 +6743,16 @@
    1647319071 }
    1647419072 _ACEOF
    1647519073 rm -f conftest.$ac_objext conftest$ac_exeext
    1647619074-if { (eval echo "$as_me:6669: \"$ac_link\"") >&5
    16477 +if { (eval echo "$as_me:6872: \"$ac_link\"") >&5
     19075+if { (eval echo "$as_me:6746: \"$ac_link\"") >&5
    1647819076   (eval $ac_link) 2>&5
    1647919077   ac_status=$?
    1648019078-  echo "$as_me:6672: \$? = $ac_status" >&5
    16481 +  echo "$as_me:6875: \$? = $ac_status" >&5
     19079+  echo "$as_me:6749: \$? = $ac_status" >&5
    1648219080   (exit $ac_status); } &&
    1648319081          { ac_try='test -s conftest$ac_exeext'
    1648419082-  { (eval echo "$as_me:6675: \"$ac_try\"") >&5
    16485 +  { (eval echo "$as_me:6878: \"$ac_try\"") >&5
     19083+  { (eval echo "$as_me:6752: \"$ac_try\"") >&5
    1648619084   (eval $ac_try) 2>&5
    1648719085   ac_status=$?
    1648819086-  echo "$as_me:6678: \$? = $ac_status" >&5
    16489 +  echo "$as_me:6881: \$? = $ac_status" >&5
     19087+  echo "$as_me:6755: \$? = $ac_status" >&5
    1649019088   (exit $ac_status); }; }; then
    1649119089   eval "$as_ac_var=yes"
    1649219090 else
    16493 @@ -6685,7 +6888,7 @@
     19091@@ -6685,7 +6762,7 @@
    1649419092 fi
    1649519093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1649619094 fi
    1649719095-echo "$as_me:6688: result: `eval echo '${'$as_ac_var'}'`" >&5
    16498 +echo "$as_me:6891: result: `eval echo '${'$as_ac_var'}'`" >&5
     19096+echo "$as_me:6765: result: `eval echo '${'$as_ac_var'}'`" >&5
    1649919097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    1650019098 if test `eval echo '${'$as_ac_var'}'` = yes; then
    1650119099   cat >>confdefs.h <<EOF
    16502 @@ -6702,13 +6905,13 @@
     19100@@ -6702,13 +6779,13 @@
    1650319101                symlink
    1650419102 do
    1650519103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    1650619104-echo "$as_me:6705: checking for $ac_func" >&5
    16507 +echo "$as_me:6908: checking for $ac_func" >&5
     19105+echo "$as_me:6782: checking for $ac_func" >&5
    1650819106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    1650919107 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    1651219110   cat >conftest.$ac_ext <<_ACEOF
    1651319111-#line 6711 "configure"
    16514 +#line 6914 "configure"
     19112+#line 6788 "configure"
    1651519113 #include "confdefs.h"
    1651619114 /* System header to define __stub macros and hopefully few prototypes,
    1651719115     which can conflict with char $ac_func (); below.  */
    16518 @@ -6739,16 +6942,16 @@
     19116@@ -6731,7 +6808,7 @@
     19117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     19118 choke me
     19119 #else
     19120-f = $ac_func;
     19121+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     19122 #endif
     19123 
     19124   ;
     19125@@ -6739,16 +6816,16 @@
    1651919126 }
    1652019127 _ACEOF
    1652119128 rm -f conftest.$ac_objext conftest$ac_exeext
    1652219129-if { (eval echo "$as_me:6742: \"$ac_link\"") >&5
    16523 +if { (eval echo "$as_me:6945: \"$ac_link\"") >&5
     19130+if { (eval echo "$as_me:6819: \"$ac_link\"") >&5
    1652419131   (eval $ac_link) 2>&5
    1652519132   ac_status=$?
    1652619133-  echo "$as_me:6745: \$? = $ac_status" >&5
    16527 +  echo "$as_me:6948: \$? = $ac_status" >&5
     19134+  echo "$as_me:6822: \$? = $ac_status" >&5
    1652819135   (exit $ac_status); } &&
    1652919136          { ac_try='test -s conftest$ac_exeext'
    1653019137-  { (eval echo "$as_me:6748: \"$ac_try\"") >&5
    16531 +  { (eval echo "$as_me:6951: \"$ac_try\"") >&5
     19138+  { (eval echo "$as_me:6825: \"$ac_try\"") >&5
    1653219139   (eval $ac_try) 2>&5
    1653319140   ac_status=$?
    1653419141-  echo "$as_me:6751: \$? = $ac_status" >&5
    16535 +  echo "$as_me:6954: \$? = $ac_status" >&5
     19142+  echo "$as_me:6828: \$? = $ac_status" >&5
    1653619143   (exit $ac_status); }; }; then
    1653719144   eval "$as_ac_var=yes"
    1653819145 else
    16539 @@ -6758,7 +6961,7 @@
     19146@@ -6758,7 +6835,7 @@
    1654019147 fi
    1654119148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1654219149 fi
    1654319150-echo "$as_me:6761: result: `eval echo '${'$as_ac_var'}'`" >&5
    16544 +echo "$as_me:6964: result: `eval echo '${'$as_ac_var'}'`" >&5
     19151+echo "$as_me:6838: result: `eval echo '${'$as_ac_var'}'`" >&5
    1654519152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    1654619153 if test `eval echo '${'$as_ac_var'}'` = yes; then
    1654719154   cat >>confdefs.h <<EOF
    16548 @@ -6769,7 +6972,7 @@
     19155@@ -6769,7 +6846,7 @@
    1654919156 done
    1655019157 
    1655119158 else
    1655219159-       echo "$as_me:6772: checking if link/symlink functions work" >&5
    16553 +       echo "$as_me:6975: checking if link/symlink functions work" >&5
     19160+       echo "$as_me:6849: checking if link/symlink functions work" >&5
    1655419161 echo $ECHO_N "checking if link/symlink functions work... $ECHO_C" >&6
    1655519162 if test "${cf_cv_link_funcs+set}" = set; then
    1655619163   echo $ECHO_N "(cached) $ECHO_C" >&6
    16557 @@ -6782,7 +6985,7 @@
     19164@@ -6782,7 +6859,7 @@
    1655819165                        eval 'ac_cv_func_'$cf_func'=error'
    1655919166 else
    1656019167   cat >conftest.$ac_ext <<_ACEOF
    1656119168-#line 6785 "configure"
    16562 +#line 6988 "configure"
     19169+#line 6862 "configure"
    1656319170 #include "confdefs.h"
    1656419171 
    1656519172 #include <sys/types.h>
    16566 @@ -6812,15 +7015,15 @@
     19173@@ -6812,15 +6889,15 @@
    1656719174 
    1656819175 _ACEOF
    1656919176 rm -f conftest$ac_exeext
    1657019177-if { (eval echo "$as_me:6815: \"$ac_link\"") >&5
    16571 +if { (eval echo "$as_me:7018: \"$ac_link\"") >&5
     19178+if { (eval echo "$as_me:6892: \"$ac_link\"") >&5
    1657219179   (eval $ac_link) 2>&5
    1657319180   ac_status=$?
    1657419181-  echo "$as_me:6818: \$? = $ac_status" >&5
    16575 +  echo "$as_me:7021: \$? = $ac_status" >&5
     19182+  echo "$as_me:6895: \$? = $ac_status" >&5
    1657619183   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    1657719184-  { (eval echo "$as_me:6820: \"$ac_try\"") >&5
    16578 +  { (eval echo "$as_me:7023: \"$ac_try\"") >&5
     19185+  { (eval echo "$as_me:6897: \"$ac_try\"") >&5
    1657919186   (eval $ac_try) 2>&5
    1658019187   ac_status=$?
    1658119188-  echo "$as_me:6823: \$? = $ac_status" >&5
    16582 +  echo "$as_me:7026: \$? = $ac_status" >&5
     19189+  echo "$as_me:6900: \$? = $ac_status" >&5
    1658319190   (exit $ac_status); }; }; then
    1658419191 
    1658519192                        cf_cv_link_funcs="$cf_cv_link_funcs $cf_func"
    16586 @@ -6838,7 +7041,7 @@
     19193@@ -6838,7 +6915,7 @@
    1658719194                test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no
    1658819195 
    1658919196 fi
    1659019197-echo "$as_me:6841: result: $cf_cv_link_funcs" >&5
    16591 +echo "$as_me:7044: result: $cf_cv_link_funcs" >&5
     19198+echo "$as_me:6918: result: $cf_cv_link_funcs" >&5
    1659219199 echo "${ECHO_T}$cf_cv_link_funcs" >&6
    1659319200        test "$ac_cv_func_link"    = yes && cat >>confdefs.h <<\EOF
    1659419201 #define HAVE_LINK 1
    16595 @@ -6856,7 +7059,7 @@
     19202@@ -6856,7 +6933,7 @@
    1659619203 # soft links (symbolic links) are useful for some systems where hard links do
    1659719204 # not work, or to make it simpler to copy terminfo trees around.
    1659819205 if test "$ac_cv_func_symlink" = yes ; then
    1659919206-    echo "$as_me:6859: checking if tic should use symbolic links" >&5
    16600 +    echo "$as_me:7062: checking if tic should use symbolic links" >&5
     19207+    echo "$as_me:6936: checking if tic should use symbolic links" >&5
    1660119208 echo $ECHO_N "checking if tic should use symbolic links... $ECHO_C" >&6
    1660219209 
    1660319210 # Check whether --enable-symlinks or --disable-symlinks was given.
    16604 @@ -6866,21 +7069,21 @@
     19211@@ -6866,21 +6943,21 @@
    1660519212 else
    1660619213   with_symlinks=no
    1660719214 fi;
    1660819215-    echo "$as_me:6869: result: $with_symlinks" >&5
    16609 +    echo "$as_me:7072: result: $with_symlinks" >&5
     19216+    echo "$as_me:6946: result: $with_symlinks" >&5
    1661019217 echo "${ECHO_T}$with_symlinks" >&6
    1661119218 fi
     
    1661519222 if test "$with_symlinks" = no ; then
    1661619223-    echo "$as_me:6876: checking if tic should use hard links" >&5
    16617 +    echo "$as_me:7079: checking if tic should use hard links" >&5
     19224+    echo "$as_me:6953: checking if tic should use hard links" >&5
    1661819225 echo $ECHO_N "checking if tic should use hard links... $ECHO_C" >&6
    1661919226     if test "$ac_cv_func_link" = yes ; then
     
    1662319230     fi
    1662419231-    echo "$as_me:6883: result: $with_links" >&5
    16625 +    echo "$as_me:7086: result: $with_links" >&5
     19232+    echo "$as_me:6960: result: $with_links" >&5
    1662619233 echo "${ECHO_T}$with_links" >&6
    1662719234 fi
    1662819235 
    16629 @@ -6893,7 +7096,7 @@
     19236@@ -6893,7 +6970,7 @@
    1663019237 EOF
    1663119238 
    1663219239 ###   use option --enable-broken-linker to force on use of broken-linker support
    1663319240-echo "$as_me:6896: checking if you want broken-linker support code" >&5
    16634 +echo "$as_me:7099: checking if you want broken-linker support code" >&5
     19241+echo "$as_me:6973: checking if you want broken-linker support code" >&5
    1663519242 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6
    1663619243 
    1663719244 # Check whether --enable-broken_linker or --disable-broken_linker was given.
    16638 @@ -6903,7 +7106,7 @@
     19245@@ -6903,7 +6980,7 @@
    1663919246 else
    1664019247   with_broken_linker=${BROKEN_LINKER:-no}
    1664119248 fi;
    1664219249-echo "$as_me:6906: result: $with_broken_linker" >&5
    16643 +echo "$as_me:7109: result: $with_broken_linker" >&5
     19250+echo "$as_me:6983: result: $with_broken_linker" >&5
    1664419251 echo "${ECHO_T}$with_broken_linker" >&6
    1664519252 
    1664619253 BROKEN_LINKER=0
    16647 @@ -6923,14 +7126,14 @@
     19254@@ -6923,14 +7000,14 @@
    1664819255                BROKEN_LINKER=1
    1664919256                test -n "$verbose" && echo "    cygwin linker is broken anyway" 1>&6
    1665019257 
    1665119258-echo "${as_me:-configure}:6926: testing cygwin linker is broken anyway ..." 1>&5
    16652 +echo "${as_me:-configure}:7129: testing cygwin linker is broken anyway ..." 1>&5
     19259+echo "${as_me:-configure}:7003: testing cygwin linker is broken anyway ..." 1>&5
    1665319260 
    1665419261                ;;
     
    1665819265 ###   use option --enable-bsdpad to have tputs process BSD-style prefix padding
    1665919266-echo "$as_me:6933: checking if tputs should process BSD-style prefix padding" >&5
    16660 +echo "$as_me:7136: checking if tputs should process BSD-style prefix padding" >&5
     19267+echo "$as_me:7010: checking if tputs should process BSD-style prefix padding" >&5
    1666119268 echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6
    1666219269 
    1666319270 # Check whether --enable-bsdpad or --disable-bsdpad was given.
    16664 @@ -6940,7 +7143,7 @@
     19271@@ -6940,7 +7017,7 @@
    1666519272 else
    1666619273   with_bsdpad=no
    1666719274 fi;
    1666819275-echo "$as_me:6943: result: $with_bsdpad" >&5
    16669 +echo "$as_me:7146: result: $with_bsdpad" >&5
     19276+echo "$as_me:7020: result: $with_bsdpad" >&5
    1667019277 echo "${ECHO_T}$with_bsdpad" >&6
    1667119278 test "$with_bsdpad" = yes && cat >>confdefs.h <<\EOF
    1667219279 #define BSD_TPUTS 1
    16673 @@ -6962,7 +7165,7 @@
     19280@@ -6962,7 +7039,7 @@
    1667419281 cf_xopen_source=
    1667519282 
     
    1668019287        ;;
    1668119288 cygwin) #(vi
    16682 @@ -6973,6 +7176,7 @@
     19289@@ -6973,6 +7050,7 @@
    1668319290        ;;
    1668419291 darwin*) #(vi
     
    1668819295 freebsd*|dragonfly*) #(vi
    1668919296        # 5.x headers associate
    16690 @@ -6990,17 +7194,18 @@
     19297@@ -6990,17 +7068,18 @@
    1669119298        ;;
    1669219299 irix[56].*) #(vi
     
    1669719304 
    1669819305-echo "$as_me:6996: checking if we must define _GNU_SOURCE" >&5
    16699 +echo "$as_me:7201: checking if we must define _GNU_SOURCE" >&5
     19306+echo "$as_me:7075: checking if we must define _GNU_SOURCE" >&5
    1670019307 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
    1670119308 if test "${cf_cv_gnu_source+set}" = set; then
     
    1670519312 cat >conftest.$ac_ext <<_ACEOF
    1670619313-#line 7003 "configure"
    16707 +#line 7208 "configure"
     19314+#line 7082 "configure"
    1670819315 #include "confdefs.h"
    1670919316 #include <sys/types.h>
    1671019317 int
    16711 @@ -7015,16 +7220,16 @@
     19318@@ -7015,16 +7094,16 @@
    1671219319 }
    1671319320 _ACEOF
    1671419321 rm -f conftest.$ac_objext
    1671519322-if { (eval echo "$as_me:7018: \"$ac_compile\"") >&5
    16716 +if { (eval echo "$as_me:7223: \"$ac_compile\"") >&5
     19323+if { (eval echo "$as_me:7097: \"$ac_compile\"") >&5
    1671719324   (eval $ac_compile) 2>&5
    1671819325   ac_status=$?
    1671919326-  echo "$as_me:7021: \$? = $ac_status" >&5
    16720 +  echo "$as_me:7226: \$? = $ac_status" >&5
     19327+  echo "$as_me:7100: \$? = $ac_status" >&5
    1672119328   (exit $ac_status); } &&
    1672219329          { ac_try='test -s conftest.$ac_objext'
    1672319330-  { (eval echo "$as_me:7024: \"$ac_try\"") >&5
    16724 +  { (eval echo "$as_me:7229: \"$ac_try\"") >&5
     19331+  { (eval echo "$as_me:7103: \"$ac_try\"") >&5
    1672519332   (eval $ac_try) 2>&5
    1672619333   ac_status=$?
    1672719334-  echo "$as_me:7027: \$? = $ac_status" >&5
    16728 +  echo "$as_me:7232: \$? = $ac_status" >&5
     19335+  echo "$as_me:7106: \$? = $ac_status" >&5
    1672919336   (exit $ac_status); }; }; then
    1673019337   cf_cv_gnu_source=no
    1673119338 else
    16732 @@ -7033,7 +7238,7 @@
     19339@@ -7033,7 +7112,7 @@
    1673319340 cf_save="$CPPFLAGS"
    1673419341         CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
    1673519342         cat >conftest.$ac_ext <<_ACEOF
    1673619343-#line 7036 "configure"
    16737 +#line 7241 "configure"
     19344+#line 7115 "configure"
    1673819345 #include "confdefs.h"
    1673919346 #include <sys/types.h>
    1674019347 int
    16741 @@ -7048,16 +7253,16 @@
     19348@@ -7048,16 +7127,16 @@
    1674219349 }
    1674319350 _ACEOF
    1674419351 rm -f conftest.$ac_objext
    1674519352-if { (eval echo "$as_me:7051: \"$ac_compile\"") >&5
    16746 +if { (eval echo "$as_me:7256: \"$ac_compile\"") >&5
     19353+if { (eval echo "$as_me:7130: \"$ac_compile\"") >&5
    1674719354   (eval $ac_compile) 2>&5
    1674819355   ac_status=$?
    1674919356-  echo "$as_me:7054: \$? = $ac_status" >&5
    16750 +  echo "$as_me:7259: \$? = $ac_status" >&5
     19357+  echo "$as_me:7133: \$? = $ac_status" >&5
    1675119358   (exit $ac_status); } &&
    1675219359          { ac_try='test -s conftest.$ac_objext'
    1675319360-  { (eval echo "$as_me:7057: \"$ac_try\"") >&5
    16754 +  { (eval echo "$as_me:7262: \"$ac_try\"") >&5
     19361+  { (eval echo "$as_me:7136: \"$ac_try\"") >&5
    1675519362   (eval $ac_try) 2>&5
    1675619363   ac_status=$?
    1675719364-  echo "$as_me:7060: \$? = $ac_status" >&5
    16758 +  echo "$as_me:7265: \$? = $ac_status" >&5
     19365+  echo "$as_me:7139: \$? = $ac_status" >&5
    1675919366   (exit $ac_status); }; }; then
    1676019367   cf_cv_gnu_source=no
    1676119368 else
    16762 @@ -7072,51 +7277,45 @@
     19369@@ -7072,51 +7151,45 @@
    1676319370 rm -f conftest.$ac_objext conftest.$ac_ext
    1676419371 
    1676519372 fi
    1676619373-echo "$as_me:7075: result: $cf_cv_gnu_source" >&5
    16767 +echo "$as_me:7280: result: $cf_cv_gnu_source" >&5
     19374+echo "$as_me:7154: result: $cf_cv_gnu_source" >&5
    1676819375 echo "${ECHO_T}$cf_cv_gnu_source" >&6
    1676919376 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
     
    1681419421+               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    1681519422+
    16816 +echo "$as_me:7302: checking if we should define _POSIX_C_SOURCE" >&5
     19423+echo "$as_me:7176: checking if we should define _POSIX_C_SOURCE" >&5
    1681719424+echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    1681819425+if test "${cf_cv_posix_c_source+set}" = set; then
     
    1682019427 else
    1682119428 
    16822 +echo "${as_me:-configure}:7308: testing if the symbol is already defined go no further ..." 1>&5
     19429+echo "${as_me:-configure}:7182: testing if the symbol is already defined go no further ..." 1>&5
    1682319430+
    1682419431        cat >conftest.$ac_ext <<_ACEOF
    1682519432-#line 7112 "configure"
    16826 +#line 7311 "configure"
     19433+#line 7185 "configure"
    1682719434 #include "confdefs.h"
    1682819435 #include <sys/types.h>
     
    1683619443 #endif
    1683719444   ;
    16838 @@ -7124,32 +7323,44 @@
     19445@@ -7124,32 +7197,44 @@
    1683919446 }
    1684019447 _ACEOF
    1684119448 rm -f conftest.$ac_objext
    1684219449-if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5
    16843 +if { (eval echo "$as_me:7326: \"$ac_compile\"") >&5
     19450+if { (eval echo "$as_me:7200: \"$ac_compile\"") >&5
    1684419451   (eval $ac_compile) 2>&5
    1684519452   ac_status=$?
    1684619453-  echo "$as_me:7130: \$? = $ac_status" >&5
    16847 +  echo "$as_me:7329: \$? = $ac_status" >&5
     19454+  echo "$as_me:7203: \$? = $ac_status" >&5
    1684819455   (exit $ac_status); } &&
    1684919456          { ac_try='test -s conftest.$ac_objext'
    1685019457-  { (eval echo "$as_me:7133: \"$ac_try\"") >&5
    16851 +  { (eval echo "$as_me:7332: \"$ac_try\"") >&5
     19458+  { (eval echo "$as_me:7206: \"$ac_try\"") >&5
    1685219459   (eval $ac_try) 2>&5
    1685319460   ac_status=$?
    1685419461-  echo "$as_me:7136: \$? = $ac_status" >&5
    16855 +  echo "$as_me:7335: \$? = $ac_status" >&5
     19462+  echo "$as_me:7209: \$? = $ac_status" >&5
    1685619463   (exit $ac_status); }; }; then
    1685719464-  cf_cv_xopen_source=no
     
    1687919486+        if test "$cf_want_posix_source" = yes ; then
    1688019487+               cat >conftest.$ac_ext <<_ACEOF
    16881 +#line 7356 "configure"
     19488+#line 7230 "configure"
    1688219489 #include "confdefs.h"
    1688319490 #include <sys/types.h>
     
    1689119498 #endif
    1689219499   ;
    16893 @@ -7157,57 +7368,94 @@
     19500@@ -7157,50 +7242,87 @@
    1689419501 }
    1689519502 _ACEOF
    1689619503 rm -f conftest.$ac_objext
    1689719504-if { (eval echo "$as_me:7160: \"$ac_compile\"") >&5
    16898 +if { (eval echo "$as_me:7371: \"$ac_compile\"") >&5
     19505+if { (eval echo "$as_me:7245: \"$ac_compile\"") >&5
    1689919506   (eval $ac_compile) 2>&5
    1690019507   ac_status=$?
    1690119508-  echo "$as_me:7163: \$? = $ac_status" >&5
    16902 +  echo "$as_me:7374: \$? = $ac_status" >&5
     19509+  echo "$as_me:7248: \$? = $ac_status" >&5
    1690319510   (exit $ac_status); } &&
    1690419511          { ac_try='test -s conftest.$ac_objext'
    1690519512-  { (eval echo "$as_me:7166: \"$ac_try\"") >&5
    16906 +  { (eval echo "$as_me:7377: \"$ac_try\"") >&5
     19513+  { (eval echo "$as_me:7251: \"$ac_try\"") >&5
    1690719514   (eval $ac_try) 2>&5
    1690819515   ac_status=$?
    1690919516-  echo "$as_me:7169: \$? = $ac_status" >&5
    16910 +  echo "$as_me:7380: \$? = $ac_status" >&5
     19517+  echo "$as_me:7254: \$? = $ac_status" >&5
    1691119518   (exit $ac_status); }; }; then
    1691219519-  cf_cv_xopen_source=no
     
    1691619523 cat conftest.$ac_ext >&5
    1691719524-cf_cv_xopen_source=$cf_XOPEN_SOURCE
    16918 -fi
    16919 -rm -f conftest.$ac_objext conftest.$ac_ext
     19525+cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
     19526 fi
     19527 rm -f conftest.$ac_objext conftest.$ac_ext
    1692019528-       CPPFLAGS="$cf_save"
    16921 -
    16922 +cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
    16923  fi
    16924  rm -f conftest.$ac_objext conftest.$ac_ext
    1692519529+        fi
    16926  
    16927 -fi
    16928 -echo "$as_me:7184: result: $cf_cv_xopen_source" >&5
    16929 -echo "${ECHO_T}$cf_cv_xopen_source" >&6
    16930 -       if test "$cf_cv_xopen_source" != no ; then
    16931 -
    16932 -CFLAGS=`echo "$CFLAGS" | \
    16933 -       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    16934 -               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    16935 +echo "${as_me:-configure}:7391: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    16936  
    16937 -CPPFLAGS=`echo "$CPPFLAGS" | \
    16938 -       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    16939 -               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
     19530+
     19531+echo "${as_me:-configure}:7265: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     19532+
    1694019533+        CFLAGS="$cf_trim_CFLAGS"
    1694119534+        CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
    16942  
    16943 -               cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
    16944 +echo "${as_me:-configure}:7396: testing if the second compile does not leave our definition intact error ..." 1>&5
    16945  
    16946 -cf_fix_cppflags=no
    16947 -cf_new_cflags=
    16948 -cf_new_cppflags=
    16949 -cf_new_extra_cppflags=
     19535+
     19536+echo "${as_me:-configure}:7270: testing if the second compile does not leave our definition intact error ..." 1>&5
     19537+
    1695019538+        cat >conftest.$ac_ext <<_ACEOF
    16951 +#line 7399 "configure"
     19539+#line 7273 "configure"
    1695219540+#include "confdefs.h"
    1695319541+#include <sys/types.h>
     
    1695619544+{
    1695719545 
    16958 -for cf_add_cflags in $cf_temp_xopen_source
    16959 -do
    16960 -case $cf_fix_cppflags in
    16961 -no)
    16962 -       case $cf_add_cflags in #(vi
    16963 -       -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
    16964 -               case $cf_add_cflags in
    16965 -               -D*)
    1696619546+#ifndef _POSIX_C_SOURCE
    1696719547+make an error
     
    1697219552+_ACEOF
    1697319553+rm -f conftest.$ac_objext
    16974 +if { (eval echo "$as_me:7414: \"$ac_compile\"") >&5
     19554+if { (eval echo "$as_me:7288: \"$ac_compile\"") >&5
    1697519555+  (eval $ac_compile) 2>&5
    1697619556+  ac_status=$?
    16977 +  echo "$as_me:7417: \$? = $ac_status" >&5
     19557+  echo "$as_me:7291: \$? = $ac_status" >&5
    1697819558+  (exit $ac_status); } &&
    1697919559+         { ac_try='test -s conftest.$ac_objext'
    16980 +  { (eval echo "$as_me:7420: \"$ac_try\"") >&5
     19560+  { (eval echo "$as_me:7294: \"$ac_try\"") >&5
    1698119561+  (eval $ac_try) 2>&5
    1698219562+  ac_status=$?
    16983 +  echo "$as_me:7423: \$? = $ac_status" >&5
     19563+  echo "$as_me:7297: \$? = $ac_status" >&5
    1698419564+  (exit $ac_status); }; }; then
    1698519565+  :
     
    1698819568+cat conftest.$ac_ext >&5
    1698919569+cf_cv_posix_c_source=no
    16990 +fi
    16991 +rm -f conftest.$ac_objext conftest.$ac_ext
     19570 fi
     19571 rm -f conftest.$ac_objext conftest.$ac_ext
    1699219572+        CFLAGS="$cf_save_CFLAGS"
    1699319573+        CPPFLAGS="$cf_save_CPPFLAGS"
    16994 +
     19574 
     19575 fi
     19576-echo "$as_me:7184: result: $cf_cv_xopen_source" >&5
     19577-echo "${ECHO_T}$cf_cv_xopen_source" >&6
     19578-       if test "$cf_cv_xopen_source" != no ; then
     19579-
     19580-CFLAGS=`echo "$CFLAGS" | \
     19581-       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     19582-               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
     19583+rm -f conftest.$ac_objext conftest.$ac_ext
     19584 
     19585-CPPFLAGS=`echo "$CPPFLAGS" | \
     19586-       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
     19587-               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    1699519588+fi
    16996 +rm -f conftest.$ac_objext conftest.$ac_ext
    16997 +
    16998 +fi
    16999 +echo "$as_me:7439: result: $cf_cv_posix_c_source" >&5
     19589+echo "$as_me:7313: result: $cf_cv_posix_c_source" >&5
    1700019590+echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    17001 +
     19591 
     19592-               cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
    1700219593+if test "$cf_cv_posix_c_source" != no ; then
    1700319594+       CFLAGS="$cf_trim_CFLAGS"
    1700419595+       CPPFLAGS="$cf_trim_CPPFLAGS"
    17005 +
    17006 +cf_fix_cppflags=no
    17007 +cf_new_cflags=
    17008 +cf_new_cppflags=
    17009 +cf_new_extra_cppflags=
    17010 +
     19596 
     19597 cf_fix_cppflags=no
     19598 cf_new_cflags=
     19599 cf_new_cppflags=
     19600 cf_new_extra_cppflags=
     19601 
     19602-for cf_add_cflags in $cf_temp_xopen_source
    1701119603+for cf_add_cflags in $cf_cv_posix_c_source
    17012 +do
    17013 +case $cf_fix_cppflags in
    17014 +no)
    17015 +       case $cf_add_cflags in #(vi
    17016 +       -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
    17017 +               case $cf_add_cflags in
    17018 +               -D*)
    17019                         cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
    17020  
    17021                         test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    17022 @@ -7273,7 +7521,215 @@
     19604 do
     19605 case $cf_fix_cppflags in
     19606 no)
     19607@@ -7273,9 +7395,217 @@
    1702319608        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    1702419609 fi
     
    1702619611-       fi
    1702719612+fi
    17028 +
     19613 
     19614-cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
    1702919615+       ;;
    1703019616+netbsd*) #(vi
     
    1705319639+*)
    1705419640+
    17055 +echo "$as_me:7552: checking if we should define _XOPEN_SOURCE" >&5
     19641+echo "$as_me:7426: checking if we should define _XOPEN_SOURCE" >&5
    1705619642+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    1705719643+if test "${cf_cv_xopen_source+set}" = set; then
     
    1706019646+
    1706119647+       cat >conftest.$ac_ext <<_ACEOF
    17062 +#line 7559 "configure"
     19648+#line 7433 "configure"
    1706319649+#include "confdefs.h"
    1706419650+
     
    1707919665+_ACEOF
    1708019666+rm -f conftest.$ac_objext
    17081 +if { (eval echo "$as_me:7578: \"$ac_compile\"") >&5
     19667+if { (eval echo "$as_me:7452: \"$ac_compile\"") >&5
    1708219668+  (eval $ac_compile) 2>&5
    1708319669+  ac_status=$?
    17084 +  echo "$as_me:7581: \$? = $ac_status" >&5
     19670+  echo "$as_me:7455: \$? = $ac_status" >&5
    1708519671+  (exit $ac_status); } &&
    1708619672+         { ac_try='test -s conftest.$ac_objext'
    17087 +  { (eval echo "$as_me:7584: \"$ac_try\"") >&5
     19673+  { (eval echo "$as_me:7458: \"$ac_try\"") >&5
    1708819674+  (eval $ac_try) 2>&5
    1708919675+  ac_status=$?
    17090 +  echo "$as_me:7587: \$? = $ac_status" >&5
     19676+  echo "$as_me:7461: \$? = $ac_status" >&5
    1709119677+  (exit $ac_status); }; }; then
    1709219678+  cf_cv_xopen_source=no
     
    1709719683+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    1709819684+        cat >conftest.$ac_ext <<_ACEOF
    17099 +#line 7596 "configure"
     19685+#line 7470 "configure"
    1710019686+#include "confdefs.h"
    1710119687+
     
    1711619702+_ACEOF
    1711719703+rm -f conftest.$ac_objext
    17118 +if { (eval echo "$as_me:7615: \"$ac_compile\"") >&5
     19704+if { (eval echo "$as_me:7489: \"$ac_compile\"") >&5
    1711919705+  (eval $ac_compile) 2>&5
    1712019706+  ac_status=$?
    17121 +  echo "$as_me:7618: \$? = $ac_status" >&5
     19707+  echo "$as_me:7492: \$? = $ac_status" >&5
    1712219708+  (exit $ac_status); } &&
    1712319709+         { ac_try='test -s conftest.$ac_objext'
    17124 +  { (eval echo "$as_me:7621: \"$ac_try\"") >&5
     19710+  { (eval echo "$as_me:7495: \"$ac_try\"") >&5
    1712519711+  (eval $ac_try) 2>&5
    1712619712+  ac_status=$?
    17127 +  echo "$as_me:7624: \$? = $ac_status" >&5
     19713+  echo "$as_me:7498: \$? = $ac_status" >&5
    1712819714+  (exit $ac_status); }; }; then
    1712919715+  cf_cv_xopen_source=no
     
    1714019726+
    1714119727+fi
    17142 +echo "$as_me:7639: result: $cf_cv_xopen_source" >&5
     19728+echo "$as_me:7513: result: $cf_cv_xopen_source" >&5
    1714319729+echo "${ECHO_T}$cf_cv_xopen_source" >&6
    1714419730+
     
    1723419820+
    1723519821+fi
    17236  
    17237  cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
    17238  
    17239 @@ -7288,16 +7744,16 @@
     19822+
     19823+cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
     19824 
     19825 cf_save_CFLAGS="$CFLAGS"
     19826 cf_save_CPPFLAGS="$CPPFLAGS"
     19827@@ -7288,16 +7618,16 @@
    1724019828        sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
    1724119829                -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    1724219830 
    1724319831-echo "$as_me:7291: checking if we should define _POSIX_C_SOURCE" >&5
    17244 +echo "$as_me:7747: checking if we should define _POSIX_C_SOURCE" >&5
     19832+echo "$as_me:7621: checking if we should define _POSIX_C_SOURCE" >&5
    1724519833 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    1724619834 if test "${cf_cv_posix_c_source+set}" = set; then
     
    1724919837 
    1725019838-echo "${as_me:-configure}:7297: testing if the symbol is already defined go no further ..." 1>&5
    17251 +echo "${as_me:-configure}:7753: testing if the symbol is already defined go no further ..." 1>&5
     19839+echo "${as_me:-configure}:7627: testing if the symbol is already defined go no further ..." 1>&5
    1725219840 
    1725319841        cat >conftest.$ac_ext <<_ACEOF
    1725419842-#line 7300 "configure"
    17255 +#line 7756 "configure"
     19843+#line 7630 "configure"
    1725619844 #include "confdefs.h"
    1725719845 #include <sys/types.h>
    1725819846 int
    17259 @@ -7312,16 +7768,16 @@
     19847@@ -7312,16 +7642,16 @@
    1726019848 }
    1726119849 _ACEOF
    1726219850 rm -f conftest.$ac_objext
    1726319851-if { (eval echo "$as_me:7315: \"$ac_compile\"") >&5
    17264 +if { (eval echo "$as_me:7771: \"$ac_compile\"") >&5
     19852+if { (eval echo "$as_me:7645: \"$ac_compile\"") >&5
    1726519853   (eval $ac_compile) 2>&5
    1726619854   ac_status=$?
    1726719855-  echo "$as_me:7318: \$? = $ac_status" >&5
    17268 +  echo "$as_me:7774: \$? = $ac_status" >&5
     19856+  echo "$as_me:7648: \$? = $ac_status" >&5
    1726919857   (exit $ac_status); } &&
    1727019858          { ac_try='test -s conftest.$ac_objext'
    1727119859-  { (eval echo "$as_me:7321: \"$ac_try\"") >&5
    17272 +  { (eval echo "$as_me:7777: \"$ac_try\"") >&5
     19860+  { (eval echo "$as_me:7651: \"$ac_try\"") >&5
    1727319861   (eval $ac_try) 2>&5
    1727419862   ac_status=$?
    1727519863-  echo "$as_me:7324: \$? = $ac_status" >&5
    17276 +  echo "$as_me:7780: \$? = $ac_status" >&5
     19864+  echo "$as_me:7654: \$? = $ac_status" >&5
    1727719865   (exit $ac_status); }; }; then
    1727819866   cf_cv_posix_c_source=no
    1727919867 else
    17280 @@ -7342,7 +7798,7 @@
     19868@@ -7342,14 +7672,362 @@
    1728119869         esac
    1728219870         if test "$cf_want_posix_source" = yes ; then
    1728319871                cat >conftest.$ac_ext <<_ACEOF
    1728419872-#line 7345 "configure"
    17285 +#line 7801 "configure"
    17286  #include "confdefs.h"
    17287  #include <sys/types.h>
    17288  int
    17289 @@ -7357,16 +7813,16 @@
    17290  }
    17291  _ACEOF
    17292  rm -f conftest.$ac_objext
    17293 -if { (eval echo "$as_me:7360: \"$ac_compile\"") >&5
    17294 +if { (eval echo "$as_me:7816: \"$ac_compile\"") >&5
    17295    (eval $ac_compile) 2>&5
    17296    ac_status=$?
    17297 -  echo "$as_me:7363: \$? = $ac_status" >&5
    17298 +  echo "$as_me:7819: \$? = $ac_status" >&5
    17299    (exit $ac_status); } &&
    17300           { ac_try='test -s conftest.$ac_objext'
    17301 -  { (eval echo "$as_me:7366: \"$ac_try\"") >&5
    17302 +  { (eval echo "$as_me:7822: \"$ac_try\"") >&5
    17303    (eval $ac_try) 2>&5
    17304    ac_status=$?
    17305 -  echo "$as_me:7369: \$? = $ac_status" >&5
    17306 +  echo "$as_me:7825: \$? = $ac_status" >&5
    17307    (exit $ac_status); }; }; then
    17308    :
    17309  else
    17310 @@ -7377,15 +7833,15 @@
    17311  rm -f conftest.$ac_objext conftest.$ac_ext
    17312          fi
    17313  
    17314 -echo "${as_me:-configure}:7380: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    17315 +echo "${as_me:-configure}:7836: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    17316  
    17317          CFLAGS="$cf_trim_CFLAGS"
    17318          CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
    17319  
    17320 -echo "${as_me:-configure}:7385: testing if the second compile does not leave our definition intact error ..." 1>&5
    17321 +echo "${as_me:-configure}:7841: testing if the second compile does not leave our definition intact error ..." 1>&5
    17322  
    17323          cat >conftest.$ac_ext <<_ACEOF
    17324 -#line 7388 "configure"
    17325 +#line 7844 "configure"
    17326  #include "confdefs.h"
    17327  #include <sys/types.h>
    17328  int
    17329 @@ -7400,16 +7856,16 @@
    17330  }
    17331  _ACEOF
    17332  rm -f conftest.$ac_objext
    17333 -if { (eval echo "$as_me:7403: \"$ac_compile\"") >&5
    17334 +if { (eval echo "$as_me:7859: \"$ac_compile\"") >&5
    17335    (eval $ac_compile) 2>&5
    17336    ac_status=$?
    17337 -  echo "$as_me:7406: \$? = $ac_status" >&5
    17338 +  echo "$as_me:7862: \$? = $ac_status" >&5
    17339    (exit $ac_status); } &&
    17340           { ac_try='test -s conftest.$ac_objext'
    17341 -  { (eval echo "$as_me:7409: \"$ac_try\"") >&5
    17342 +  { (eval echo "$as_me:7865: \"$ac_try\"") >&5
    17343    (eval $ac_try) 2>&5
    17344    ac_status=$?
    17345 -  echo "$as_me:7412: \$? = $ac_status" >&5
    17346 +  echo "$as_me:7868: \$? = $ac_status" >&5
    17347    (exit $ac_status); }; }; then
    17348    :
    17349  else
    17350 @@ -7417,27 +7873,112 @@
    17351  cat conftest.$ac_ext >&5
    17352  cf_cv_posix_c_source=no
    17353  fi
    17354 -rm -f conftest.$ac_objext conftest.$ac_ext
    17355 -        CFLAGS="$cf_save_CFLAGS"
    17356 -        CPPFLAGS="$cf_save_CPPFLAGS"
     19873+#line 7675 "configure"
     19874+#include "confdefs.h"
     19875+#include <sys/types.h>
     19876+int
     19877+main ()
     19878+{
     19879+
     19880+#ifdef _POSIX_SOURCE
     19881+make an error
     19882+#endif
     19883+  ;
     19884+  return 0;
     19885+}
     19886+_ACEOF
     19887+rm -f conftest.$ac_objext
     19888+if { (eval echo "$as_me:7690: \"$ac_compile\"") >&5
     19889+  (eval $ac_compile) 2>&5
     19890+  ac_status=$?
     19891+  echo "$as_me:7693: \$? = $ac_status" >&5
     19892+  (exit $ac_status); } &&
     19893+         { ac_try='test -s conftest.$ac_objext'
     19894+  { (eval echo "$as_me:7696: \"$ac_try\"") >&5
     19895+  (eval $ac_try) 2>&5
     19896+  ac_status=$?
     19897+  echo "$as_me:7699: \$? = $ac_status" >&5
     19898+  (exit $ac_status); }; }; then
     19899+  :
     19900+else
     19901+  echo "$as_me: failed program was:" >&5
     19902+cat conftest.$ac_ext >&5
     19903+cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
     19904+fi
     19905+rm -f conftest.$ac_objext conftest.$ac_ext
     19906+        fi
     19907+
     19908+echo "${as_me:-configure}:7710: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     19909+
     19910+        CFLAGS="$cf_trim_CFLAGS"
     19911+        CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
     19912+
     19913+echo "${as_me:-configure}:7715: testing if the second compile does not leave our definition intact error ..." 1>&5
     19914+
     19915+        cat >conftest.$ac_ext <<_ACEOF
     19916+#line 7718 "configure"
     19917+#include "confdefs.h"
     19918+#include <sys/types.h>
     19919+int
     19920+main ()
     19921+{
     19922+
     19923+#ifndef _POSIX_C_SOURCE
     19924+make an error
     19925+#endif
     19926+  ;
     19927+  return 0;
     19928+}
     19929+_ACEOF
     19930+rm -f conftest.$ac_objext
     19931+if { (eval echo "$as_me:7733: \"$ac_compile\"") >&5
     19932+  (eval $ac_compile) 2>&5
     19933+  ac_status=$?
     19934+  echo "$as_me:7736: \$? = $ac_status" >&5
     19935+  (exit $ac_status); } &&
     19936+         { ac_try='test -s conftest.$ac_objext'
     19937+  { (eval echo "$as_me:7739: \"$ac_try\"") >&5
     19938+  (eval $ac_try) 2>&5
     19939+  ac_status=$?
     19940+  echo "$as_me:7742: \$? = $ac_status" >&5
     19941+  (exit $ac_status); }; }; then
     19942+  :
     19943+else
     19944+  echo "$as_me: failed program was:" >&5
     19945+cat conftest.$ac_ext >&5
     19946+cf_cv_posix_c_source=no
     19947+fi
    1735719948+rm -f conftest.$ac_objext conftest.$ac_ext
    1735819949+        CFLAGS="$cf_save_CFLAGS"
     
    1736319954+
    1736419955+fi
    17365 +echo "$as_me:7884: result: $cf_cv_posix_c_source" >&5
     19956+echo "$as_me:7758: result: $cf_cv_posix_c_source" >&5
    1736619957+echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    1736719958+
     
    1743920030+
    1744020031+if test -n "$cf_new_cppflags" ; then
    17441  
     20032+
    1744220033+       CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    17443  fi
    17444 -rm -f conftest.$ac_objext conftest.$ac_ext
    17445  
     20034+fi
     20035+
    1744620036+if test -n "$cf_new_extra_cppflags" ; then
    1744720037+
    1744820038+       EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    17449  fi
    17450 -echo "$as_me:7428: result: $cf_cv_posix_c_source" >&5
    17451 -echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    17452  
    17453 -if test "$cf_cv_posix_c_source" != no ; then
    17454 -       CFLAGS="$cf_trim_CFLAGS"
    17455 -       CPPFLAGS="$cf_trim_CPPFLAGS"
     20039+fi
     20040+
    1745620041+fi
    1745720042+
     
    1746020045+
    1746120046+if test -n "$cf_xopen_source" ; then
    17462  
    17463  cf_fix_cppflags=no
    17464  cf_new_cflags=
    17465  cf_new_cppflags=
    17466  cf_new_extra_cppflags=
    17467  
    17468 -for cf_add_cflags in $cf_cv_posix_c_source
     20047+
     20048+cf_fix_cppflags=no
     20049+cf_new_cflags=
     20050+cf_new_cppflags=
     20051+cf_new_extra_cppflags=
     20052+
    1746920053+for cf_add_cflags in $cf_xopen_source
    17470  do
    17471  case $cf_fix_cppflags in
    17472  no)
    17473 @@ -7512,17 +8053,196 @@
    17474  
    17475  fi
    17476  
    17477 -       ;;
    17478 -esac
     20054+do
     20055+case $cf_fix_cppflags in
     20056+no)
     20057+       case $cf_add_cflags in #(vi
     20058+       -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
     20059+               case $cf_add_cflags in
     20060+               -D*)
     20061+                       cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
     20062+
     20063+                       test "${cf_add_cflags}" != "${cf_tst_cflags}" \
     20064+                               && test -z "${cf_tst_cflags}" \
     20065+                               && cf_fix_cppflags=yes
     20066+
     20067+                       if test $cf_fix_cppflags = yes ; then
     20068+                               cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20069+                               continue
     20070+                       elif test "${cf_tst_cflags}" = "\"'" ; then
     20071+                               cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20072+                               continue
     20073+                       fi
     20074+                       ;;
     20075+               esac
     20076+               case "$CPPFLAGS" in
     20077+               *$cf_add_cflags) #(vi
     20078+                       ;;
     20079+               *) #(vi
     20080+                       case $cf_add_cflags in #(vi
     20081+                       -D*)
     20082+                               cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
     20083+
     20084+CPPFLAGS=`echo "$CPPFLAGS" | \
     20085+       sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
     20086+               -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
     20087+
     20088+                               ;;
     20089+                       esac
     20090+                       cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
     20091+                       ;;
     20092+               esac
     20093+               ;;
     20094+       *)
     20095+               cf_new_cflags="$cf_new_cflags $cf_add_cflags"
     20096+               ;;
     20097+       esac
     20098+       ;;
     20099+yes)
     20100+       cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20101+
     20102+       cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
     20103+
     20104+       test "${cf_add_cflags}" != "${cf_tst_cflags}" \
     20105+               && test -z "${cf_tst_cflags}" \
     20106+               && cf_fix_cppflags=no
     20107+       ;;
     20108+esac
     20109+done
     20110+
     20111+if test -n "$cf_new_cflags" ; then
     20112+
     20113+       CFLAGS="$CFLAGS $cf_new_cflags"
     20114+fi
     20115+
     20116+if test -n "$cf_new_cppflags" ; then
     20117+
     20118+       CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     20119+fi
     20120+
     20121+if test -n "$cf_new_extra_cppflags" ; then
     20122+
     20123+       EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     20124+fi
     20125+
     20126+fi
     20127+
    1747920128+if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
    17480 +       echo "$as_me:8057: checking if _XOPEN_SOURCE really is set" >&5
     20129+       echo "$as_me:7931: checking if _XOPEN_SOURCE really is set" >&5
    1748120130+echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
    1748220131+       cat >conftest.$ac_ext <<_ACEOF
    17483 +#line 8060 "configure"
     20132+#line 7934 "configure"
    1748420133+#include "confdefs.h"
    1748520134+#include <stdlib.h>
     
    1748720136+main ()
    1748820137+{
    17489  
    17490 -if test -n "$cf_xopen_source" ; then
     20138+
    1749120139+#ifndef _XOPEN_SOURCE
    1749220140+make an error
     
    1749720145+_ACEOF
    1749820146+rm -f conftest.$ac_objext
    17499 +if { (eval echo "$as_me:8075: \"$ac_compile\"") >&5
     20147+if { (eval echo "$as_me:7949: \"$ac_compile\"") >&5
    1750020148+  (eval $ac_compile) 2>&5
    1750120149+  ac_status=$?
    17502 +  echo "$as_me:8078: \$? = $ac_status" >&5
     20150+  echo "$as_me:7952: \$? = $ac_status" >&5
    1750320151+  (exit $ac_status); } &&
    1750420152+         { ac_try='test -s conftest.$ac_objext'
    17505 +  { (eval echo "$as_me:8081: \"$ac_try\"") >&5
     20153+  { (eval echo "$as_me:7955: \"$ac_try\"") >&5
    1750620154+  (eval $ac_try) 2>&5
    1750720155+  ac_status=$?
    17508 +  echo "$as_me:8084: \$? = $ac_status" >&5
     20156+  echo "$as_me:7958: \$? = $ac_status" >&5
    1750920157+  (exit $ac_status); }; }; then
    1751020158+  cf_XOPEN_SOURCE_set=yes
     
    1751520163+fi
    1751620164+rm -f conftest.$ac_objext conftest.$ac_ext
    17517 +       echo "$as_me:8093: result: $cf_XOPEN_SOURCE_set" >&5
     20165+       echo "$as_me:7967: result: $cf_XOPEN_SOURCE_set" >&5
    1751820166+echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
    1751920167+       if test $cf_XOPEN_SOURCE_set = yes
    1752020168+       then
    1752120169+               cat >conftest.$ac_ext <<_ACEOF
    17522 +#line 8098 "configure"
     20170+#line 7972 "configure"
    1752320171+#include "confdefs.h"
    1752420172+#include <stdlib.h>
     
    1753520183+_ACEOF
    1753620184+rm -f conftest.$ac_objext
    17537 +if { (eval echo "$as_me:8113: \"$ac_compile\"") >&5
     20185+if { (eval echo "$as_me:7987: \"$ac_compile\"") >&5
    1753820186+  (eval $ac_compile) 2>&5
    1753920187+  ac_status=$?
    17540 +  echo "$as_me:8116: \$? = $ac_status" >&5
     20188+  echo "$as_me:7990: \$? = $ac_status" >&5
    1754120189+  (exit $ac_status); } &&
    1754220190+         { ac_try='test -s conftest.$ac_objext'
    17543 +  { (eval echo "$as_me:8119: \"$ac_try\"") >&5
     20191+  { (eval echo "$as_me:7993: \"$ac_try\"") >&5
    1754420192+  (eval $ac_try) 2>&5
    1754520193+  ac_status=$?
    17546 +  echo "$as_me:8122: \$? = $ac_status" >&5
     20194+  echo "$as_me:7996: \$? = $ac_status" >&5
    1754720195+  (exit $ac_status); }; }; then
    1754820196+  cf_XOPEN_SOURCE_set_ok=yes
     
    1755520203+               if test $cf_XOPEN_SOURCE_set_ok = no
    1755620204+               then
    17557 +                       { echo "$as_me:8133: WARNING: _XOPEN_SOURCE is lower than requested" >&5
     20205+                       { echo "$as_me:8007: WARNING: _XOPEN_SOURCE is lower than requested" >&5
    1755820206+echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
    1755920207+               fi
    1756020208+       else
    1756120209+
    17562 +echo "$as_me:8138: checking if we should define _XOPEN_SOURCE" >&5
     20210+echo "$as_me:8012: checking if we should define _XOPEN_SOURCE" >&5
    1756320211+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    1756420212+if test "${cf_cv_xopen_source+set}" = set; then
     
    1756720215+
    1756820216+       cat >conftest.$ac_ext <<_ACEOF
    17569 +#line 8145 "configure"
    17570 +#include "confdefs.h"
     20217+#line 8019 "configure"
     20218 #include "confdefs.h"
    1757120219+
    1757220220+#include <stdlib.h>
    1757320221+#include <string.h>
    17574 +#include <sys/types.h>
    17575 +
    17576 +int
    17577 +main ()
    17578 +{
    17579 +
     20222 #include <sys/types.h>
     20223+
     20224 int
     20225 main ()
     20226 {
     20227 
     20228-#ifdef _POSIX_SOURCE
    1758020229+#ifndef _XOPEN_SOURCE
    17581 +make an error
    17582 +#endif
    17583 +  ;
    17584 +  return 0;
    17585 +}
    17586 +_ACEOF
    17587 +rm -f conftest.$ac_objext
    17588 +if { (eval echo "$as_me:8164: \"$ac_compile\"") >&5
    17589 +  (eval $ac_compile) 2>&5
    17590 +  ac_status=$?
    17591 +  echo "$as_me:8167: \$? = $ac_status" >&5
    17592 +  (exit $ac_status); } &&
    17593 +         { ac_try='test -s conftest.$ac_objext'
    17594 +  { (eval echo "$as_me:8170: \"$ac_try\"") >&5
    17595 +  (eval $ac_try) 2>&5
    17596 +  ac_status=$?
    17597 +  echo "$as_me:8173: \$? = $ac_status" >&5
    17598 +  (exit $ac_status); }; }; then
     20230 make an error
     20231 #endif
     20232   ;
     20233@@ -7357,42 +8035,36 @@
     20234 }
     20235 _ACEOF
     20236 rm -f conftest.$ac_objext
     20237-if { (eval echo "$as_me:7360: \"$ac_compile\"") >&5
     20238+if { (eval echo "$as_me:8038: \"$ac_compile\"") >&5
     20239   (eval $ac_compile) 2>&5
     20240   ac_status=$?
     20241-  echo "$as_me:7363: \$? = $ac_status" >&5
     20242+  echo "$as_me:8041: \$? = $ac_status" >&5
     20243   (exit $ac_status); } &&
     20244          { ac_try='test -s conftest.$ac_objext'
     20245-  { (eval echo "$as_me:7366: \"$ac_try\"") >&5
     20246+  { (eval echo "$as_me:8044: \"$ac_try\"") >&5
     20247   (eval $ac_try) 2>&5
     20248   ac_status=$?
     20249-  echo "$as_me:7369: \$? = $ac_status" >&5
     20250+  echo "$as_me:8047: \$? = $ac_status" >&5
     20251   (exit $ac_status); }; }; then
     20252-  :
    1759920253+  cf_cv_xopen_source=no
    17600 +else
    17601 +  echo "$as_me: failed program was:" >&5
    17602 +cat conftest.$ac_ext >&5
     20254 else
     20255   echo "$as_me: failed program was:" >&5
     20256 cat conftest.$ac_ext >&5
     20257-cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
     20258-fi
     20259-rm -f conftest.$ac_objext conftest.$ac_ext
     20260-        fi
     20261-
     20262-echo "${as_me:-configure}:7380: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     20263-
     20264-        CFLAGS="$cf_trim_CFLAGS"
     20265-        CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
     20266-
     20267-echo "${as_me:-configure}:7385: testing if the second compile does not leave our definition intact error ..." 1>&5
     20268-
    1760320269+cf_save="$CPPFLAGS"
    1760420270+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    17605 +        cat >conftest.$ac_ext <<_ACEOF
    17606 +#line 8182 "configure"
    17607 +#include "confdefs.h"
     20271         cat >conftest.$ac_ext <<_ACEOF
     20272-#line 7388 "configure"
     20273+#line 8056 "configure"
     20274 #include "confdefs.h"
    1760820275+
    1760920276+#include <stdlib.h>
    1761020277+#include <string.h>
    17611 +#include <sys/types.h>
    17612 +
    17613 +int
    17614 +main ()
    17615 +{
    17616 +
     20278 #include <sys/types.h>
     20279+
     20280 int
     20281 main ()
     20282 {
     20283 
     20284-#ifndef _POSIX_C_SOURCE
    1761720285+#ifdef _XOPEN_SOURCE
    17618 +make an error
    17619 +#endif
    17620 +  ;
    17621 +  return 0;
    17622 +}
    17623 +_ACEOF
    17624 +rm -f conftest.$ac_objext
    17625 +if { (eval echo "$as_me:8201: \"$ac_compile\"") >&5
    17626 +  (eval $ac_compile) 2>&5
    17627 +  ac_status=$?
    17628 +  echo "$as_me:8204: \$? = $ac_status" >&5
    17629 +  (exit $ac_status); } &&
    17630 +         { ac_try='test -s conftest.$ac_objext'
    17631 +  { (eval echo "$as_me:8207: \"$ac_try\"") >&5
    17632 +  (eval $ac_try) 2>&5
    17633 +  ac_status=$?
    17634 +  echo "$as_me:8210: \$? = $ac_status" >&5
    17635 +  (exit $ac_status); }; }; then
     20286 make an error
     20287 #endif
     20288   ;
     20289@@ -7400,129 +8072,51 @@
     20290 }
     20291 _ACEOF
     20292 rm -f conftest.$ac_objext
     20293-if { (eval echo "$as_me:7403: \"$ac_compile\"") >&5
     20294+if { (eval echo "$as_me:8075: \"$ac_compile\"") >&5
     20295   (eval $ac_compile) 2>&5
     20296   ac_status=$?
     20297-  echo "$as_me:7406: \$? = $ac_status" >&5
     20298+  echo "$as_me:8078: \$? = $ac_status" >&5
     20299   (exit $ac_status); } &&
     20300          { ac_try='test -s conftest.$ac_objext'
     20301-  { (eval echo "$as_me:7409: \"$ac_try\"") >&5
     20302+  { (eval echo "$as_me:8081: \"$ac_try\"") >&5
     20303   (eval $ac_try) 2>&5
     20304   ac_status=$?
     20305-  echo "$as_me:7412: \$? = $ac_status" >&5
     20306+  echo "$as_me:8084: \$? = $ac_status" >&5
     20307   (exit $ac_status); }; }; then
     20308-  :
    1763620309+  cf_cv_xopen_source=no
    17637 +else
    17638 +  echo "$as_me: failed program was:" >&5
    17639 +cat conftest.$ac_ext >&5
     20310 else
     20311   echo "$as_me: failed program was:" >&5
     20312 cat conftest.$ac_ext >&5
     20313-cf_cv_posix_c_source=no
    1764020314+cf_cv_xopen_source=$cf_XOPEN_SOURCE
    17641 +fi
    17642 +rm -f conftest.$ac_objext conftest.$ac_ext
     20315 fi
     20316 rm -f conftest.$ac_objext conftest.$ac_ext
     20317-        CFLAGS="$cf_save_CFLAGS"
     20318-        CPPFLAGS="$cf_save_CPPFLAGS"
    1764320319+       CPPFLAGS="$cf_save"
    17644 +
    17645 +fi
    17646 +rm -f conftest.$ac_objext conftest.$ac_ext
    17647 +
    17648 +fi
    17649 +echo "$as_me:8225: result: $cf_cv_xopen_source" >&5
     20320 
     20321 fi
     20322 rm -f conftest.$ac_objext conftest.$ac_ext
     20323 
     20324 fi
     20325-echo "$as_me:7428: result: $cf_cv_posix_c_source" >&5
     20326-echo "${ECHO_T}$cf_cv_posix_c_source" >&6
     20327-
     20328-if test "$cf_cv_posix_c_source" != no ; then
     20329-       CFLAGS="$cf_trim_CFLAGS"
     20330-       CPPFLAGS="$cf_trim_CPPFLAGS"
     20331-
     20332-cf_fix_cppflags=no
     20333-cf_new_cflags=
     20334-cf_new_cppflags=
     20335-cf_new_extra_cppflags=
     20336-
     20337-for cf_add_cflags in $cf_cv_posix_c_source
     20338-do
     20339-case $cf_fix_cppflags in
     20340-no)
     20341-       case $cf_add_cflags in #(vi
     20342-       -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
     20343-               case $cf_add_cflags in
     20344-               -D*)
     20345-                       cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
     20346+echo "$as_me:8099: result: $cf_cv_xopen_source" >&5
    1765020347+echo "${ECHO_T}$cf_cv_xopen_source" >&6
    17651 +
     20348 
     20349-                       test "${cf_add_cflags}" != "${cf_tst_cflags}" \
     20350-                               && test -z "${cf_tst_cflags}" \
     20351-                               && cf_fix_cppflags=yes
    1765220352+if test "$cf_cv_xopen_source" != no ; then
    17653 +
     20353 
     20354-                       if test $cf_fix_cppflags = yes ; then
     20355-                               cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20356-                               continue
     20357-                       elif test "${cf_tst_cflags}" = "\"'" ; then
     20358-                               cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20359-                               continue
     20360-                       fi
     20361-                       ;;
     20362-               esac
     20363-               case "$CPPFLAGS" in
     20364-               *$cf_add_cflags) #(vi
     20365-                       ;;
     20366-               *) #(vi
     20367-                       case $cf_add_cflags in #(vi
     20368-                       -D*)
     20369-                               cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
    1765420370+CFLAGS=`echo "$CFLAGS" | \
    1765520371+       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    1765620372+               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    17657 +
    17658 +CPPFLAGS=`echo "$CPPFLAGS" | \
     20373 
     20374 CPPFLAGS=`echo "$CPPFLAGS" | \
     20375-       sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
     20376-               -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
     20377-
     20378-                               ;;
     20379-                       esac
     20380-                       cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
     20381-                       ;;
     20382-               esac
     20383-               ;;
     20384-       *)
     20385-               cf_new_cflags="$cf_new_cflags $cf_add_cflags"
     20386-               ;;
     20387-       esac
     20388-       ;;
     20389-yes)
     20390-       cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
     20391-
     20392-       cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
     20393-
     20394-       test "${cf_add_cflags}" != "${cf_tst_cflags}" \
     20395-               && test -z "${cf_tst_cflags}" \
     20396-               && cf_fix_cppflags=no
     20397-       ;;
     20398-esac
     20399-done
     20400-
     20401-if test -n "$cf_new_cflags" ; then
     20402-
     20403-       CFLAGS="$CFLAGS $cf_new_cflags"
     20404-fi
     20405-
     20406-if test -n "$cf_new_cppflags" ; then
     20407-
     20408-       CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     20409-fi
     20410-
     20411-if test -n "$cf_new_extra_cppflags" ; then
     20412-
     20413-       EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     20414-fi
     20415-
     20416-fi
     20417-
     20418-       ;;
     20419-esac
    1765920420+       sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
    1766020421+               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    17661 +
     20422 
     20423-if test -n "$cf_xopen_source" ; then
    1766220424+       cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
    1766320425 
     
    1767220434 case $cf_fix_cppflags in
    1767320435 no)
    17674 @@ -7597,16 +8317,19 @@
     20436@@ -7597,16 +8191,19 @@
    1767520437 
    1767620438 fi
     
    1768220444 
    1768320445-echo "$as_me:7602: checking if SIGWINCH is defined" >&5
    17684 +echo "$as_me:8325: checking if SIGWINCH is defined" >&5
     20446+echo "$as_me:8199: checking if SIGWINCH is defined" >&5
    1768520447 echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6
    1768620448 if test "${cf_cv_define_sigwinch+set}" = set; then
     
    1769020452        cat >conftest.$ac_ext <<_ACEOF
    1769120453-#line 7609 "configure"
    17692 +#line 8332 "configure"
     20454+#line 8206 "configure"
    1769320455 #include "confdefs.h"
    1769420456 
    1769520457 #include <sys/types.h>
    17696 @@ -7621,23 +8344,23 @@
     20458@@ -7621,23 +8218,23 @@
    1769720459 }
    1769820460 _ACEOF
    1769920461 rm -f conftest.$ac_objext
    1770020462-if { (eval echo "$as_me:7624: \"$ac_compile\"") >&5
    17701 +if { (eval echo "$as_me:8347: \"$ac_compile\"") >&5
     20463+if { (eval echo "$as_me:8221: \"$ac_compile\"") >&5
    1770220464   (eval $ac_compile) 2>&5
    1770320465   ac_status=$?
    1770420466-  echo "$as_me:7627: \$? = $ac_status" >&5
    17705 +  echo "$as_me:8350: \$? = $ac_status" >&5
     20467+  echo "$as_me:8224: \$? = $ac_status" >&5
    1770620468   (exit $ac_status); } &&
    1770720469          { ac_try='test -s conftest.$ac_objext'
    1770820470-  { (eval echo "$as_me:7630: \"$ac_try\"") >&5
    17709 +  { (eval echo "$as_me:8353: \"$ac_try\"") >&5
     20471+  { (eval echo "$as_me:8227: \"$ac_try\"") >&5
    1771020472   (eval $ac_try) 2>&5
    1771120473   ac_status=$?
    1771220474-  echo "$as_me:7633: \$? = $ac_status" >&5
    17713 +  echo "$as_me:8356: \$? = $ac_status" >&5
     20475+  echo "$as_me:8230: \$? = $ac_status" >&5
    1771420476   (exit $ac_status); }; }; then
    1771520477   cf_cv_define_sigwinch=yes
     
    1771920481 cat >conftest.$ac_ext <<_ACEOF
    1772020482-#line 7640 "configure"
    17721 +#line 8363 "configure"
     20483+#line 8237 "configure"
    1772220484 #include "confdefs.h"
    1772320485 
    1772420486 #undef _XOPEN_SOURCE
    17725 @@ -7655,16 +8378,16 @@
     20487@@ -7655,16 +8252,16 @@
    1772620488 }
    1772720489 _ACEOF
    1772820490 rm -f conftest.$ac_objext
    1772920491-if { (eval echo "$as_me:7658: \"$ac_compile\"") >&5
    17730 +if { (eval echo "$as_me:8381: \"$ac_compile\"") >&5
     20492+if { (eval echo "$as_me:8255: \"$ac_compile\"") >&5
    1773120493   (eval $ac_compile) 2>&5
    1773220494   ac_status=$?
    1773320495-  echo "$as_me:7661: \$? = $ac_status" >&5
    17734 +  echo "$as_me:8384: \$? = $ac_status" >&5
     20496+  echo "$as_me:8258: \$? = $ac_status" >&5
    1773520497   (exit $ac_status); } &&
    1773620498          { ac_try='test -s conftest.$ac_objext'
    1773720499-  { (eval echo "$as_me:7664: \"$ac_try\"") >&5
    17738 +  { (eval echo "$as_me:8387: \"$ac_try\"") >&5
     20500+  { (eval echo "$as_me:8261: \"$ac_try\"") >&5
    1773920501   (eval $ac_try) 2>&5
    1774020502   ac_status=$?
    1774120503-  echo "$as_me:7667: \$? = $ac_status" >&5
    17742 +  echo "$as_me:8390: \$? = $ac_status" >&5
     20504+  echo "$as_me:8264: \$? = $ac_status" >&5
    1774320505   (exit $ac_status); }; }; then
    1774420506   cf_cv_define_sigwinch=maybe
    1774520507 else
    17746 @@ -7678,11 +8401,11 @@
     20508@@ -7678,11 +8275,11 @@
    1774720509 rm -f conftest.$ac_objext conftest.$ac_ext
    1774820510 
    1774920511 fi
    1775020512-echo "$as_me:7681: result: $cf_cv_define_sigwinch" >&5
    17751 +echo "$as_me:8404: result: $cf_cv_define_sigwinch" >&5
     20513+echo "$as_me:8278: result: $cf_cv_define_sigwinch" >&5
    1775220514 echo "${ECHO_T}$cf_cv_define_sigwinch" >&6
    1775320515 
    1775420516 if test "$cf_cv_define_sigwinch" = maybe ; then
    1775520517-echo "$as_me:7685: checking for actual SIGWINCH definition" >&5
    17756 +echo "$as_me:8408: checking for actual SIGWINCH definition" >&5
     20518+echo "$as_me:8282: checking for actual SIGWINCH definition" >&5
    1775720519 echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6
    1775820520 if test "${cf_cv_fixup_sigwinch+set}" = set; then
    1775920521   echo $ECHO_N "(cached) $ECHO_C" >&6
    17760 @@ -7693,7 +8416,7 @@
     20522@@ -7693,7 +8290,7 @@
    1776120523 while test $cf_sigwinch != 1
    1776220524 do
    1776320525        cat >conftest.$ac_ext <<_ACEOF
    1776420526-#line 7696 "configure"
    17765 +#line 8419 "configure"
     20527+#line 8293 "configure"
    1776620528 #include "confdefs.h"
    1776720529 
    1776820530 #undef _XOPEN_SOURCE
    17769 @@ -7715,16 +8438,16 @@
     20531@@ -7715,16 +8312,16 @@
    1777020532 }
    1777120533 _ACEOF
    1777220534 rm -f conftest.$ac_objext
    1777320535-if { (eval echo "$as_me:7718: \"$ac_compile\"") >&5
    17774 +if { (eval echo "$as_me:8441: \"$ac_compile\"") >&5
     20536+if { (eval echo "$as_me:8315: \"$ac_compile\"") >&5
    1777520537   (eval $ac_compile) 2>&5
    1777620538   ac_status=$?
    1777720539-  echo "$as_me:7721: \$? = $ac_status" >&5
    17778 +  echo "$as_me:8444: \$? = $ac_status" >&5
     20540+  echo "$as_me:8318: \$? = $ac_status" >&5
    1777920541   (exit $ac_status); } &&
    1778020542          { ac_try='test -s conftest.$ac_objext'
    1778120543-  { (eval echo "$as_me:7724: \"$ac_try\"") >&5
    17782 +  { (eval echo "$as_me:8447: \"$ac_try\"") >&5
     20544+  { (eval echo "$as_me:8321: \"$ac_try\"") >&5
    1778320545   (eval $ac_try) 2>&5
    1778420546   ac_status=$?
    1778520547-  echo "$as_me:7727: \$? = $ac_status" >&5
    17786 +  echo "$as_me:8450: \$? = $ac_status" >&5
     20548+  echo "$as_me:8324: \$? = $ac_status" >&5
    1778720549   (exit $ac_status); }; }; then
    1778820550   cf_cv_fixup_sigwinch=$cf_sigwinch
    1778920551         break
    17790 @@ -7738,7 +8461,7 @@
     20552@@ -7738,7 +8335,7 @@
    1779120553 done
    1779220554 
    1779320555 fi
    1779420556-echo "$as_me:7741: result: $cf_cv_fixup_sigwinch" >&5
    17795 +echo "$as_me:8464: result: $cf_cv_fixup_sigwinch" >&5
     20557+echo "$as_me:8338: result: $cf_cv_fixup_sigwinch" >&5
    1779620558 echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6
    1779720559 
    1779820560        if test "$cf_cv_fixup_sigwinch" != unknown ; then
    17799 @@ -7748,13 +8471,13 @@
     20561@@ -7748,13 +8345,13 @@
    1780020562 
    1780120563 # Checks for CODESET support.
    1780220564 
    1780320565-  echo "$as_me:7751: checking for nl_langinfo and CODESET" >&5
    17804 +  echo "$as_me:8474: checking for nl_langinfo and CODESET" >&5
     20566+  echo "$as_me:8348: checking for nl_langinfo and CODESET" >&5
    1780520567 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
    1780620568 if test "${am_cv_langinfo_codeset+set}" = set; then
     
    1780920571   cat >conftest.$ac_ext <<_ACEOF
    1781020572-#line 7757 "configure"
    17811 +#line 8480 "configure"
     20573+#line 8354 "configure"
    1781220574 #include "confdefs.h"
    1781320575 #include <langinfo.h>
    1781420576 int
    17815 @@ -7766,16 +8489,16 @@
     20577@@ -7766,16 +8363,16 @@
    1781620578 }
    1781720579 _ACEOF
    1781820580 rm -f conftest.$ac_objext conftest$ac_exeext
    1781920581-if { (eval echo "$as_me:7769: \"$ac_link\"") >&5
    17820 +if { (eval echo "$as_me:8492: \"$ac_link\"") >&5
     20582+if { (eval echo "$as_me:8366: \"$ac_link\"") >&5
    1782120583   (eval $ac_link) 2>&5
    1782220584   ac_status=$?
    1782320585-  echo "$as_me:7772: \$? = $ac_status" >&5
    17824 +  echo "$as_me:8495: \$? = $ac_status" >&5
     20586+  echo "$as_me:8369: \$? = $ac_status" >&5
    1782520587   (exit $ac_status); } &&
    1782620588          { ac_try='test -s conftest$ac_exeext'
    1782720589-  { (eval echo "$as_me:7775: \"$ac_try\"") >&5
    17828 +  { (eval echo "$as_me:8498: \"$ac_try\"") >&5
     20590+  { (eval echo "$as_me:8372: \"$ac_try\"") >&5
    1782920591   (eval $ac_try) 2>&5
    1783020592   ac_status=$?
    1783120593-  echo "$as_me:7778: \$? = $ac_status" >&5
    17832 +  echo "$as_me:8501: \$? = $ac_status" >&5
     20594+  echo "$as_me:8375: \$? = $ac_status" >&5
    1783320595   (exit $ac_status); }; }; then
    1783420596   am_cv_langinfo_codeset=yes
    1783520597 else
    17836 @@ -7786,7 +8509,7 @@
     20598@@ -7786,7 +8383,7 @@
    1783720599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1783820600 
    1783920601 fi
    1784020602-echo "$as_me:7789: result: $am_cv_langinfo_codeset" >&5
    17841 +echo "$as_me:8512: result: $am_cv_langinfo_codeset" >&5
     20603+echo "$as_me:8386: result: $am_cv_langinfo_codeset" >&5
    1784220604 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
    1784320605   if test $am_cv_langinfo_codeset = yes; then
    1784420606 
    17845 @@ -7800,7 +8523,7 @@
     20607@@ -7800,7 +8397,7 @@
    1784620608 NCURSES_OK_WCHAR_T=
    1784720609 NCURSES_OK_WINT_T=
    1784820610 
    1784920611-echo "$as_me:7803: checking if you want wide-character code" >&5
    17850 +echo "$as_me:8526: checking if you want wide-character code" >&5
     20612+echo "$as_me:8400: checking if you want wide-character code" >&5
    1785120613 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6
    1785220614 
    1785320615 # Check whether --enable-widec or --disable-widec was given.
    17854 @@ -7810,7 +8533,7 @@
     20616@@ -7810,7 +8407,7 @@
    1785520617 else
    1785620618   with_widec=no
    1785720619 fi;
    1785820620-echo "$as_me:7813: result: $with_widec" >&5
    17859 +echo "$as_me:8536: result: $with_widec" >&5
     20621+echo "$as_me:8410: result: $with_widec" >&5
    1786020622 echo "${ECHO_T}$with_widec" >&6
    1786120623 if test "$with_widec" = yes ; then
    1786220624        LIB_SUFFIX="w${LIB_SUFFIX}"
    17863 @@ -7818,15 +8541,63 @@
     20625@@ -7818,15 +8415,63 @@
    1786420626 #define USE_WIDEC_SUPPORT 1
    1786520627 EOF
     
    1787320635+EOF
    1787420636+
    17875 +echo "$as_me:8548: checking if wchar.h can be used as is" >&5
     20637+echo "$as_me:8422: checking if wchar.h can be used as is" >&5
    1787620638+echo $ECHO_N "checking if wchar.h can be used as is... $ECHO_C" >&6
    1787720639+if test "${cf_cv_wchar_h_okay+set}" = set; then
     
    1788020642+
    1788120643+cat >conftest.$ac_ext <<_ACEOF
    17882 +#line 8555 "configure"
     20644+#line 8429 "configure"
    1788320645+#include "confdefs.h"
    1788420646+
     
    1789720659+_ACEOF
    1789820660+rm -f conftest.$ac_objext
    17899 +if { (eval echo "$as_me:8572: \"$ac_compile\"") >&5
     20661+if { (eval echo "$as_me:8446: \"$ac_compile\"") >&5
    1790020662+  (eval $ac_compile) 2>&5
    1790120663+  ac_status=$?
    17902 +  echo "$as_me:8575: \$? = $ac_status" >&5
     20664+  echo "$as_me:8449: \$? = $ac_status" >&5
    1790320665+  (exit $ac_status); } &&
    1790420666+         { ac_try='test -s conftest.$ac_objext'
    17905 +  { (eval echo "$as_me:8578: \"$ac_try\"") >&5
     20667+  { (eval echo "$as_me:8452: \"$ac_try\"") >&5
    1790620668+  (eval $ac_try) 2>&5
    1790720669+  ac_status=$?
    17908 +  echo "$as_me:8581: \$? = $ac_status" >&5
     20670+  echo "$as_me:8455: \$? = $ac_status" >&5
    1790920671+  (exit $ac_status); }; }; then
    1791020672+  cf_cv_wchar_h_okay=yes
     
    1791620678+rm -f conftest.$ac_objext conftest.$ac_ext
    1791720679+fi
    17918 +echo "$as_me:8591: result: $cf_cv_wchar_h_okay" >&5
     20680+echo "$as_me:8465: result: $cf_cv_wchar_h_okay" >&5
    1791920681+echo "${ECHO_T}$cf_cv_wchar_h_okay" >&6
    1792020682+
     
    1792320685 
    1792420686-echo "$as_me:7826: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
    17925 +echo "$as_me:8597: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
     20687+echo "$as_me:8471: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
    1792620688 echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6
    1792720689 cat >conftest.$ac_ext <<_ACEOF
    1792820690-#line 7829 "configure"
    17929 +#line 8600 "configure"
     20691+#line 8474 "configure"
    1793020692 #include "confdefs.h"
    1793120693 #include <sys/types.h>
    1793220694 
    17933 @@ -7842,16 +8613,16 @@
     20695@@ -7842,16 +8487,16 @@
    1793420696 }
    1793520697 _ACEOF
    1793620698 rm -f conftest.$ac_objext
    1793720699-if { (eval echo "$as_me:7845: \"$ac_compile\"") >&5
    17938 +if { (eval echo "$as_me:8616: \"$ac_compile\"") >&5
     20700+if { (eval echo "$as_me:8490: \"$ac_compile\"") >&5
    1793920701   (eval $ac_compile) 2>&5
    1794020702   ac_status=$?
    1794120703-  echo "$as_me:7848: \$? = $ac_status" >&5
    17942 +  echo "$as_me:8619: \$? = $ac_status" >&5
     20704+  echo "$as_me:8493: \$? = $ac_status" >&5
    1794320705   (exit $ac_status); } &&
    1794420706          { ac_try='test -s conftest.$ac_objext'
    1794520707-  { (eval echo "$as_me:7851: \"$ac_try\"") >&5
    17946 +  { (eval echo "$as_me:8622: \"$ac_try\"") >&5
     20708+  { (eval echo "$as_me:8496: \"$ac_try\"") >&5
    1794720709   (eval $ac_try) 2>&5
    1794820710   ac_status=$?
    1794920711-  echo "$as_me:7854: \$? = $ac_status" >&5
    17950 +  echo "$as_me:8625: \$? = $ac_status" >&5
     20712+  echo "$as_me:8499: \$? = $ac_status" >&5
    1795120713   (exit $ac_status); }; }; then
    1795220714   cf_result=no
    1795320715 else
    17954 @@ -7860,16 +8631,16 @@
     20716@@ -7860,16 +8505,16 @@
    1795520717 cf_result=yes
    1795620718 fi
    1795720719 rm -f conftest.$ac_objext conftest.$ac_ext
    1795820720-echo "$as_me:7863: result: $cf_result" >&5
    17959 +echo "$as_me:8634: result: $cf_result" >&5
     20721+echo "$as_me:8508: result: $cf_result" >&5
    1796020722 echo "${ECHO_T}$cf_result" >&6
    1796120723 
     
    1796420726 elif test "x" != "x" ; then
    1796520727-       echo "$as_me:7869: checking checking for compatible value versus " >&5
    17966 +       echo "$as_me:8640: checking checking for compatible value versus " >&5
     20728+       echo "$as_me:8514: checking checking for compatible value versus " >&5
    1796720729 echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6
    1796820730        cat >conftest.$ac_ext <<_ACEOF
    1796920731-#line 7872 "configure"
    17970 +#line 8643 "configure"
     20732+#line 8517 "configure"
    1797120733 #include "confdefs.h"
    1797220734 #include <sys/types.h>
    1797320735 
    17974 @@ -7885,16 +8656,16 @@
     20736@@ -7885,16 +8530,16 @@
    1797520737 }
    1797620738 _ACEOF
    1797720739 rm -f conftest.$ac_objext
    1797820740-if { (eval echo "$as_me:7888: \"$ac_compile\"") >&5
    17979 +if { (eval echo "$as_me:8659: \"$ac_compile\"") >&5
     20741+if { (eval echo "$as_me:8533: \"$ac_compile\"") >&5
    1798020742   (eval $ac_compile) 2>&5
    1798120743   ac_status=$?
    1798220744-  echo "$as_me:7891: \$? = $ac_status" >&5
    17983 +  echo "$as_me:8662: \$? = $ac_status" >&5
     20745+  echo "$as_me:8536: \$? = $ac_status" >&5
    1798420746   (exit $ac_status); } &&
    1798520747          { ac_try='test -s conftest.$ac_objext'
    1798620748-  { (eval echo "$as_me:7894: \"$ac_try\"") >&5
    17987 +  { (eval echo "$as_me:8665: \"$ac_try\"") >&5
     20749+  { (eval echo "$as_me:8539: \"$ac_try\"") >&5
    1798820750   (eval $ac_try) 2>&5
    1798920751   ac_status=$?
    1799020752-  echo "$as_me:7897: \$? = $ac_status" >&5
    17991 +  echo "$as_me:8668: \$? = $ac_status" >&5
     20753+  echo "$as_me:8542: \$? = $ac_status" >&5
    1799220754   (exit $ac_status); }; }; then
    1799320755   cf_result=yes
    1799420756 else
    17995 @@ -7903,7 +8674,7 @@
     20757@@ -7903,7 +8548,7 @@
    1799620758 cf_result=no
    1799720759 fi
    1799820760 rm -f conftest.$ac_objext conftest.$ac_ext
    1799920761-       echo "$as_me:7906: result: $cf_result" >&5
    18000 +       echo "$as_me:8677: result: $cf_result" >&5
     20762+       echo "$as_me:8551: result: $cf_result" >&5
    1800120763 echo "${ECHO_T}$cf_result" >&6
    1800220764        if test "$cf_result" = no ; then
    1800320765                # perhaps we can override it - try...
    18004 @@ -7911,8 +8682,7 @@
     20766@@ -7911,8 +8556,7 @@
    1800520767        fi
    1800620768 fi
     
    1801220774        # with_overwrite=no
    1801320775        NCURSES_CH_T=cchar_t
    18014 @@ -7920,13 +8690,13 @@
     20776@@ -7920,13 +8564,13 @@
    1801520777 for ac_func in putwc btowc wctob mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs
    1801620778 do
    1801720779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    1801820780-echo "$as_me:7923: checking for $ac_func" >&5
    18019 +echo "$as_me:8693: checking for $ac_func" >&5
     20781+echo "$as_me:8567: checking for $ac_func" >&5
    1802020782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    1802120783 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    1802420786   cat >conftest.$ac_ext <<_ACEOF
    1802520787-#line 7929 "configure"
    18026 +#line 8699 "configure"
     20788+#line 8573 "configure"
    1802720789 #include "confdefs.h"
    1802820790 /* System header to define __stub macros and hopefully few prototypes,
    1802920791     which can conflict with char $ac_func (); below.  */
    18030 @@ -7957,16 +8727,16 @@
     20792@@ -7949,7 +8593,7 @@
     20793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     20794 choke me
     20795 #else
     20796-f = $ac_func;
     20797+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     20798 #endif
     20799 
     20800   ;
     20801@@ -7957,16 +8601,16 @@
    1803120802 }
    1803220803 _ACEOF
    1803320804 rm -f conftest.$ac_objext conftest$ac_exeext
    1803420805-if { (eval echo "$as_me:7960: \"$ac_link\"") >&5
    18035 +if { (eval echo "$as_me:8730: \"$ac_link\"") >&5
     20806+if { (eval echo "$as_me:8604: \"$ac_link\"") >&5
    1803620807   (eval $ac_link) 2>&5
    1803720808   ac_status=$?
    1803820809-  echo "$as_me:7963: \$? = $ac_status" >&5
    18039 +  echo "$as_me:8733: \$? = $ac_status" >&5
     20810+  echo "$as_me:8607: \$? = $ac_status" >&5
    1804020811   (exit $ac_status); } &&
    1804120812          { ac_try='test -s conftest$ac_exeext'
    1804220813-  { (eval echo "$as_me:7966: \"$ac_try\"") >&5
    18043 +  { (eval echo "$as_me:8736: \"$ac_try\"") >&5
     20814+  { (eval echo "$as_me:8610: \"$ac_try\"") >&5
    1804420815   (eval $ac_try) 2>&5
    1804520816   ac_status=$?
    1804620817-  echo "$as_me:7969: \$? = $ac_status" >&5
    18047 +  echo "$as_me:8739: \$? = $ac_status" >&5
     20818+  echo "$as_me:8613: \$? = $ac_status" >&5
    1804820819   (exit $ac_status); }; }; then
    1804920820   eval "$as_ac_var=yes"
    1805020821 else
    18051 @@ -7976,7 +8746,7 @@
     20822@@ -7976,7 +8620,7 @@
    1805220823 fi
    1805320824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1805420825 fi
    1805520826-echo "$as_me:7979: result: `eval echo '${'$as_ac_var'}'`" >&5
    18056 +echo "$as_me:8749: result: `eval echo '${'$as_ac_var'}'`" >&5
     20827+echo "$as_me:8623: result: `eval echo '${'$as_ac_var'}'`" >&5
    1805720828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    1805820829 if test `eval echo '${'$as_ac_var'}'` = yes; then
    1805920830   cat >>confdefs.h <<EOF
    18060 @@ -7988,7 +8758,7 @@
     20831@@ -7988,7 +8632,7 @@
    1806120832 
    1806220833        if test "$ac_cv_func_putwc" != yes ; then
    1806320834 
    1806420835-echo "$as_me:7991: checking for multibyte character support" >&5
    18065 +echo "$as_me:8761: checking for multibyte character support" >&5
     20836+echo "$as_me:8635: checking for multibyte character support" >&5
    1806620837 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
    1806720838 if test "${cf_cv_utf8_lib+set}" = set; then
    1806820839   echo $ECHO_N "(cached) $ECHO_C" >&6
    18069 @@ -7996,7 +8766,7 @@
     20840@@ -7996,7 +8640,7 @@
    1807020841 
    1807120842        cf_save_LIBS="$LIBS"
    1807220843        cat >conftest.$ac_ext <<_ACEOF
    1807320844-#line 7999 "configure"
    18074 +#line 8769 "configure"
     20845+#line 8643 "configure"
    1807520846 #include "confdefs.h"
    1807620847 
    1807720848 #include <stdlib.h>
    18078 @@ -8009,16 +8779,16 @@
     20849@@ -8009,16 +8653,16 @@
    1807920850 }
    1808020851 _ACEOF
    1808120852 rm -f conftest.$ac_objext conftest$ac_exeext
    1808220853-if { (eval echo "$as_me:8012: \"$ac_link\"") >&5
    18083 +if { (eval echo "$as_me:8782: \"$ac_link\"") >&5
     20854+if { (eval echo "$as_me:8656: \"$ac_link\"") >&5
    1808420855   (eval $ac_link) 2>&5
    1808520856   ac_status=$?
    1808620857-  echo "$as_me:8015: \$? = $ac_status" >&5
    18087 +  echo "$as_me:8785: \$? = $ac_status" >&5
     20858+  echo "$as_me:8659: \$? = $ac_status" >&5
    1808820859   (exit $ac_status); } &&
    1808920860          { ac_try='test -s conftest$ac_exeext'
    1809020861-  { (eval echo "$as_me:8018: \"$ac_try\"") >&5
    18091 +  { (eval echo "$as_me:8788: \"$ac_try\"") >&5
     20862+  { (eval echo "$as_me:8662: \"$ac_try\"") >&5
    1809220863   (eval $ac_try) 2>&5
    1809320864   ac_status=$?
    1809420865-  echo "$as_me:8021: \$? = $ac_status" >&5
    18095 +  echo "$as_me:8791: \$? = $ac_status" >&5
     20866+  echo "$as_me:8665: \$? = $ac_status" >&5
    1809620867   (exit $ac_status); }; }; then
    1809720868   cf_cv_utf8_lib=yes
    1809820869 else
    18099 @@ -8030,12 +8800,12 @@
     20870@@ -8030,12 +8674,12 @@
    1810020871 cf_cv_header_path_utf8=
    1810120872 cf_cv_library_path_utf8=
    1810220873 
    1810320874-echo "${as_me:-configure}:8033: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    18104 +echo "${as_me:-configure}:8803: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
     20875+echo "${as_me:-configure}:8677: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    1810520876 
    1810620877 cf_save_LIBS="$LIBS"
     
    1810820879 cat >conftest.$ac_ext <<_ACEOF
    1810920880-#line 8038 "configure"
    18110 +#line 8808 "configure"
     20881+#line 8682 "configure"
    1811120882 #include "confdefs.h"
    1811220883 
    1811320884 #include <libutf8.h>
    18114 @@ -8048,16 +8818,16 @@
     20885@@ -8048,16 +8692,16 @@
    1811520886 }
    1811620887 _ACEOF
    1811720888 rm -f conftest.$ac_objext conftest$ac_exeext
    1811820889-if { (eval echo "$as_me:8051: \"$ac_link\"") >&5
    18119 +if { (eval echo "$as_me:8821: \"$ac_link\"") >&5
     20890+if { (eval echo "$as_me:8695: \"$ac_link\"") >&5
    1812020891   (eval $ac_link) 2>&5
    1812120892   ac_status=$?
    1812220893-  echo "$as_me:8054: \$? = $ac_status" >&5
    18123 +  echo "$as_me:8824: \$? = $ac_status" >&5
     20894+  echo "$as_me:8698: \$? = $ac_status" >&5
    1812420895   (exit $ac_status); } &&
    1812520896          { ac_try='test -s conftest$ac_exeext'
    1812620897-  { (eval echo "$as_me:8057: \"$ac_try\"") >&5
    18127 +  { (eval echo "$as_me:8827: \"$ac_try\"") >&5
     20898+  { (eval echo "$as_me:8701: \"$ac_try\"") >&5
    1812820899   (eval $ac_try) 2>&5
    1812920900   ac_status=$?
    1813020901-  echo "$as_me:8060: \$? = $ac_status" >&5
    18131 +  echo "$as_me:8830: \$? = $ac_status" >&5
     20902+  echo "$as_me:8704: \$? = $ac_status" >&5
    1813220903   (exit $ac_status); }; }; then
    1813320904 
    1813420905        cf_cv_find_linkage_utf8=yes
    18135 @@ -8071,7 +8841,7 @@
     20906@@ -8071,7 +8715,7 @@
    1813620907 LIBS="-lutf8  $cf_save_LIBS"
    1813720908 
    1813820909 cat >conftest.$ac_ext <<_ACEOF
    1813920910-#line 8074 "configure"
    18140 +#line 8844 "configure"
     20911+#line 8718 "configure"
    1814120912 #include "confdefs.h"
    1814220913 
    1814320914 #include <libutf8.h>
    18144 @@ -8084,16 +8854,16 @@
     20915@@ -8084,16 +8728,16 @@
    1814520916 }
    1814620917 _ACEOF
    1814720918 rm -f conftest.$ac_objext conftest$ac_exeext
    1814820919-if { (eval echo "$as_me:8087: \"$ac_link\"") >&5
    18149 +if { (eval echo "$as_me:8857: \"$ac_link\"") >&5
     20920+if { (eval echo "$as_me:8731: \"$ac_link\"") >&5
    1815020921   (eval $ac_link) 2>&5
    1815120922   ac_status=$?
    1815220923-  echo "$as_me:8090: \$? = $ac_status" >&5
    18153 +  echo "$as_me:8860: \$? = $ac_status" >&5
     20924+  echo "$as_me:8734: \$? = $ac_status" >&5
    1815420925   (exit $ac_status); } &&
    1815520926          { ac_try='test -s conftest$ac_exeext'
    1815620927-  { (eval echo "$as_me:8093: \"$ac_try\"") >&5
    18157 +  { (eval echo "$as_me:8863: \"$ac_try\"") >&5
     20928+  { (eval echo "$as_me:8737: \"$ac_try\"") >&5
    1815820929   (eval $ac_try) 2>&5
    1815920930   ac_status=$?
    1816020931-  echo "$as_me:8096: \$? = $ac_status" >&5
    18161 +  echo "$as_me:8866: \$? = $ac_status" >&5
     20932+  echo "$as_me:8740: \$? = $ac_status" >&5
    1816220933   (exit $ac_status); }; }; then
    1816320934 
    1816420935        cf_cv_find_linkage_utf8=yes
    18165 @@ -8110,9 +8880,9 @@
     20936@@ -8110,9 +8754,9 @@
    1816620937 
    1816720938     test -n "$verbose" && echo "       find linkage for utf8 library" 1>&6
    1816820939 
    1816920940-echo "${as_me:-configure}:8113: testing find linkage for utf8 library ..." 1>&5
    18170 +echo "${as_me:-configure}:8883: testing find linkage for utf8 library ..." 1>&5
     20941+echo "${as_me:-configure}:8757: testing find linkage for utf8 library ..." 1>&5
    1817120942 
    1817220943-echo "${as_me:-configure}:8115: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    18173 +echo "${as_me:-configure}:8885: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
     20944+echo "${as_me:-configure}:8759: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    1817420945 
    1817520946     cf_save_CPPFLAGS="$CPPFLAGS"
    1817620947     cf_test_CPPFLAGS="$CPPFLAGS"
    18177 @@ -8225,11 +8995,11 @@
     20948@@ -8225,11 +8869,11 @@
    1817820949       if test -d $cf_cv_header_path_utf8 ; then
    1817920950         test -n "$verbose" && echo "   ... testing $cf_cv_header_path_utf8" 1>&6
    1818020951 
    1818120952-echo "${as_me:-configure}:8228: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    18182 +echo "${as_me:-configure}:8998: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
     20953+echo "${as_me:-configure}:8872: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    1818320954 
    1818420955         CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
    1818520956         cat >conftest.$ac_ext <<_ACEOF
    1818620957-#line 8232 "configure"
    18187 +#line 9002 "configure"
     20958+#line 8876 "configure"
    1818820959 #include "confdefs.h"
    1818920960 
    1819020961 #include <libutf8.h>
    18191 @@ -8242,21 +9012,21 @@
     20962@@ -8242,21 +8886,21 @@
    1819220963 }
    1819320964 _ACEOF
    1819420965 rm -f conftest.$ac_objext
    1819520966-if { (eval echo "$as_me:8245: \"$ac_compile\"") >&5
    18196 +if { (eval echo "$as_me:9015: \"$ac_compile\"") >&5
     20967+if { (eval echo "$as_me:8889: \"$ac_compile\"") >&5
    1819720968   (eval $ac_compile) 2>&5
    1819820969   ac_status=$?
    1819920970-  echo "$as_me:8248: \$? = $ac_status" >&5
    18200 +  echo "$as_me:9018: \$? = $ac_status" >&5
     20971+  echo "$as_me:8892: \$? = $ac_status" >&5
    1820120972   (exit $ac_status); } &&
    1820220973          { ac_try='test -s conftest.$ac_objext'
    1820320974-  { (eval echo "$as_me:8251: \"$ac_try\"") >&5
    18204 +  { (eval echo "$as_me:9021: \"$ac_try\"") >&5
     20975+  { (eval echo "$as_me:8895: \"$ac_try\"") >&5
    1820520976   (eval $ac_try) 2>&5
    1820620977   ac_status=$?
    1820720978-  echo "$as_me:8254: \$? = $ac_status" >&5
    18208 +  echo "$as_me:9024: \$? = $ac_status" >&5
     20979+  echo "$as_me:8898: \$? = $ac_status" >&5
    1820920980   (exit $ac_status); }; }; then
    1821020981 
     
    1821220983 
    1821320984-echo "${as_me:-configure}:8259: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    18214 +echo "${as_me:-configure}:9029: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
     20985+echo "${as_me:-configure}:8903: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    1821520986 
    1821620987             cf_cv_find_linkage_utf8=maybe
    1821720988             cf_test_CPPFLAGS="$CPPFLAGS"
    18218 @@ -8274,7 +9044,7 @@
     20989@@ -8274,7 +8918,7 @@
    1821920990 
    1822020991     if test "$cf_cv_find_linkage_utf8" = maybe ; then
    1822120992 
    1822220993-echo "${as_me:-configure}:8277: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    18223 +echo "${as_me:-configure}:9047: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
     20994+echo "${as_me:-configure}:8921: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    1822420995 
    1822520996       cf_save_LIBS="$LIBS"
    1822620997       cf_save_LDFLAGS="$LDFLAGS"
    18227 @@ -8371,13 +9141,13 @@
     20998@@ -8371,13 +9015,13 @@
    1822820999           if test -d $cf_cv_library_path_utf8 ; then
    1822921000             test -n "$verbose" && echo "       ... testing $cf_cv_library_path_utf8" 1>&6
    1823021001 
    1823121002-echo "${as_me:-configure}:8374: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    18232 +echo "${as_me:-configure}:9144: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
     21003+echo "${as_me:-configure}:9018: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    1823321004 
    1823421005             CPPFLAGS="$cf_test_CPPFLAGS"
     
    1823721008             cat >conftest.$ac_ext <<_ACEOF
    1823821009-#line 8380 "configure"
    18239 +#line 9150 "configure"
     21010+#line 9024 "configure"
    1824021011 #include "confdefs.h"
    1824121012 
    1824221013 #include <libutf8.h>
    18243 @@ -8390,21 +9160,21 @@
     21014@@ -8390,21 +9034,21 @@
    1824421015 }
    1824521016 _ACEOF
    1824621017 rm -f conftest.$ac_objext conftest$ac_exeext
    1824721018-if { (eval echo "$as_me:8393: \"$ac_link\"") >&5
    18248 +if { (eval echo "$as_me:9163: \"$ac_link\"") >&5
     21019+if { (eval echo "$as_me:9037: \"$ac_link\"") >&5
    1824921020   (eval $ac_link) 2>&5
    1825021021   ac_status=$?
    1825121022-  echo "$as_me:8396: \$? = $ac_status" >&5
    18252 +  echo "$as_me:9166: \$? = $ac_status" >&5
     21023+  echo "$as_me:9040: \$? = $ac_status" >&5
    1825321024   (exit $ac_status); } &&
    1825421025          { ac_try='test -s conftest$ac_exeext'
    1825521026-  { (eval echo "$as_me:8399: \"$ac_try\"") >&5
    18256 +  { (eval echo "$as_me:9169: \"$ac_try\"") >&5
     21027+  { (eval echo "$as_me:9043: \"$ac_try\"") >&5
    1825721028   (eval $ac_try) 2>&5
    1825821029   ac_status=$?
    1825921030-  echo "$as_me:8402: \$? = $ac_status" >&5
    18260 +  echo "$as_me:9172: \$? = $ac_status" >&5
     21031+  echo "$as_me:9046: \$? = $ac_status" >&5
    1826121032   (exit $ac_status); }; }; then
    1826221033 
     
    1826421035 
    1826521036-echo "${as_me:-configure}:8407: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    18266 +echo "${as_me:-configure}:9177: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
     21037+echo "${as_me:-configure}:9051: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    1826721038 
    1826821039                 cf_cv_find_linkage_utf8=yes
    1826921040                 cf_cv_library_file_utf8="-lutf8"
    18270 @@ -8446,7 +9216,7 @@
     21041@@ -8446,7 +9090,7 @@
    1827121042 fi
    1827221043 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1827321044 fi
    1827421045-echo "$as_me:8449: result: $cf_cv_utf8_lib" >&5
    18275 +echo "$as_me:9219: result: $cf_cv_utf8_lib" >&5
     21046+echo "$as_me:9093: result: $cf_cv_utf8_lib" >&5
    1827621047 echo "${ECHO_T}$cf_cv_utf8_lib" >&6
    1827721048 
    1827821049 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between
    18279 @@ -8480,7 +9250,7 @@
     21050@@ -8480,7 +9124,7 @@
    1828021051                          cf_save_CPPFLAGS=$CPPFLAGS
    1828121052                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    1828221053                          cat >conftest.$ac_ext <<_ACEOF
    1828321054-#line 8483 "configure"
    18284 +#line 9253 "configure"
     21055+#line 9127 "configure"
    1828521056 #include "confdefs.h"
    1828621057 #include <stdio.h>
    1828721058 int
    18288 @@ -8492,16 +9262,16 @@
     21059@@ -8492,16 +9136,16 @@
    1828921060 }
    1829021061 _ACEOF
    1829121062 rm -f conftest.$ac_objext
    1829221063-if { (eval echo "$as_me:8495: \"$ac_compile\"") >&5
    18293 +if { (eval echo "$as_me:9265: \"$ac_compile\"") >&5
     21064+if { (eval echo "$as_me:9139: \"$ac_compile\"") >&5
    1829421065   (eval $ac_compile) 2>&5
    1829521066   ac_status=$?
    1829621067-  echo "$as_me:8498: \$? = $ac_status" >&5
    18297 +  echo "$as_me:9268: \$? = $ac_status" >&5
     21068+  echo "$as_me:9142: \$? = $ac_status" >&5
    1829821069   (exit $ac_status); } &&
    1829921070          { ac_try='test -s conftest.$ac_objext'
    1830021071-  { (eval echo "$as_me:8501: \"$ac_try\"") >&5
    18301 +  { (eval echo "$as_me:9271: \"$ac_try\"") >&5
     21072+  { (eval echo "$as_me:9145: \"$ac_try\"") >&5
    1830221073   (eval $ac_try) 2>&5
    1830321074   ac_status=$?
    1830421075-  echo "$as_me:8504: \$? = $ac_status" >&5
    18305 +  echo "$as_me:9274: \$? = $ac_status" >&5
     21076+  echo "$as_me:9148: \$? = $ac_status" >&5
    1830621077   (exit $ac_status); }; }; then
    1830721078   :
    1830821079 else
    18309 @@ -8518,7 +9288,7 @@
     21080@@ -8518,7 +9162,7 @@
    1831021081                if test "$cf_have_incdir" = no ; then
    1831121082                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    1831221083 
    1831321084-echo "${as_me:-configure}:8521: testing adding $cf_add_incdir to include-path ..." 1>&5
    18314 +echo "${as_me:-configure}:9291: testing adding $cf_add_incdir to include-path ..." 1>&5
     21085+echo "${as_me:-configure}:9165: testing adding $cf_add_incdir to include-path ..." 1>&5
    1831521086 
    1831621087                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    1831721088 
    18318 @@ -8552,7 +9322,7 @@
     21089@@ -8552,7 +9196,7 @@
    1831921090       if test "$cf_have_libdir" = no ; then
    1832021091         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    1832121092 
    1832221093-echo "${as_me:-configure}:8555: testing adding $cf_add_libdir to library-path ..." 1>&5
    18323 +echo "${as_me:-configure}:9325: testing adding $cf_add_libdir to library-path ..." 1>&5
     21094+echo "${as_me:-configure}:9199: testing adding $cf_add_libdir to library-path ..." 1>&5
    1832421095 
    1832521096         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    1832621097       fi
    18327 @@ -8569,14 +9339,14 @@
     21098@@ -8569,14 +9213,14 @@
    1832821099        fi
    1832921100 
    1833021101 # This is needed on Tru64 5.0 to declare mbstate_t
    1833121102-echo "$as_me:8572: checking if we must include wchar.h to declare mbstate_t" >&5
    18332 +echo "$as_me:9342: checking if we must include wchar.h to declare mbstate_t" >&5
     21103+echo "$as_me:9216: checking if we must include wchar.h to declare mbstate_t" >&5
    1833321104 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6
    1833421105 if test "${cf_cv_mbstate_t+set}" = set; then
     
    1833821109 cat >conftest.$ac_ext <<_ACEOF
    1833921110-#line 8579 "configure"
    18340 +#line 9349 "configure"
     21111+#line 9223 "configure"
    1834121112 #include "confdefs.h"
    1834221113 
    1834321114 #include <stdlib.h>
    18344 @@ -8594,23 +9364,23 @@
     21115@@ -8594,23 +9238,23 @@
    1834521116 }
    1834621117 _ACEOF
    1834721118 rm -f conftest.$ac_objext
    1834821119-if { (eval echo "$as_me:8597: \"$ac_compile\"") >&5
    18349 +if { (eval echo "$as_me:9367: \"$ac_compile\"") >&5
     21120+if { (eval echo "$as_me:9241: \"$ac_compile\"") >&5
    1835021121   (eval $ac_compile) 2>&5
    1835121122   ac_status=$?
    1835221123-  echo "$as_me:8600: \$? = $ac_status" >&5
    18353 +  echo "$as_me:9370: \$? = $ac_status" >&5
     21124+  echo "$as_me:9244: \$? = $ac_status" >&5
    1835421125   (exit $ac_status); } &&
    1835521126          { ac_try='test -s conftest.$ac_objext'
    1835621127-  { (eval echo "$as_me:8603: \"$ac_try\"") >&5
    18357 +  { (eval echo "$as_me:9373: \"$ac_try\"") >&5
     21128+  { (eval echo "$as_me:9247: \"$ac_try\"") >&5
    1835821129   (eval $ac_try) 2>&5
    1835921130   ac_status=$?
    1836021131-  echo "$as_me:8606: \$? = $ac_status" >&5
    18361 +  echo "$as_me:9376: \$? = $ac_status" >&5
     21132+  echo "$as_me:9250: \$? = $ac_status" >&5
    1836221133   (exit $ac_status); }; }; then
    1836321134   cf_cv_mbstate_t=no
     
    1836721138 cat >conftest.$ac_ext <<_ACEOF
    1836821139-#line 8613 "configure"
    18369 +#line 9383 "configure"
     21140+#line 9257 "configure"
    1837021141 #include "confdefs.h"
    1837121142 
    1837221143 #include <stdlib.h>
    18373 @@ -8629,16 +9399,16 @@
     21144@@ -8629,16 +9273,16 @@
    1837421145 }
    1837521146 _ACEOF
    1837621147 rm -f conftest.$ac_objext
    1837721148-if { (eval echo "$as_me:8632: \"$ac_compile\"") >&5
    18378 +if { (eval echo "$as_me:9402: \"$ac_compile\"") >&5
     21149+if { (eval echo "$as_me:9276: \"$ac_compile\"") >&5
    1837921150   (eval $ac_compile) 2>&5
    1838021151   ac_status=$?
    1838121152-  echo "$as_me:8635: \$? = $ac_status" >&5
    18382 +  echo "$as_me:9405: \$? = $ac_status" >&5
     21153+  echo "$as_me:9279: \$? = $ac_status" >&5
    1838321154   (exit $ac_status); } &&
    1838421155          { ac_try='test -s conftest.$ac_objext'
    1838521156-  { (eval echo "$as_me:8638: \"$ac_try\"") >&5
    18386 +  { (eval echo "$as_me:9408: \"$ac_try\"") >&5
     21157+  { (eval echo "$as_me:9282: \"$ac_try\"") >&5
    1838721158   (eval $ac_try) 2>&5
    1838821159   ac_status=$?
    1838921160-  echo "$as_me:8641: \$? = $ac_status" >&5
    18390 +  echo "$as_me:9411: \$? = $ac_status" >&5
     21161+  echo "$as_me:9285: \$? = $ac_status" >&5
    1839121162   (exit $ac_status); }; }; then
    1839221163   cf_cv_mbstate_t=yes
    1839321164 else
    18394 @@ -8650,7 +9420,7 @@
     21165@@ -8650,7 +9294,7 @@
    1839521166 fi
    1839621167 rm -f conftest.$ac_objext conftest.$ac_ext
    1839721168 fi
    1839821169-echo "$as_me:8653: result: $cf_cv_mbstate_t" >&5
    18399 +echo "$as_me:9423: result: $cf_cv_mbstate_t" >&5
     21170+echo "$as_me:9297: result: $cf_cv_mbstate_t" >&5
    1840021171 echo "${ECHO_T}$cf_cv_mbstate_t" >&6
    1840121172 
    1840221173 if test "$cf_cv_mbstate_t" = yes ; then
    18403 @@ -8667,14 +9437,14 @@
     21174@@ -8667,14 +9311,14 @@
    1840421175 fi
    1840521176 
    1840621177 # This is needed on Tru64 5.0 to declare wchar_t
    1840721178-echo "$as_me:8670: checking if we must include wchar.h to declare wchar_t" >&5
    18408 +echo "$as_me:9440: checking if we must include wchar.h to declare wchar_t" >&5
     21179+echo "$as_me:9314: checking if we must include wchar.h to declare wchar_t" >&5
    1840921180 echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6
    1841021181 if test "${cf_cv_wchar_t+set}" = set; then
     
    1841421185 cat >conftest.$ac_ext <<_ACEOF
    1841521186-#line 8677 "configure"
    18416 +#line 9447 "configure"
     21187+#line 9321 "configure"
    1841721188 #include "confdefs.h"
    1841821189 
    1841921190 #include <stdlib.h>
    18420 @@ -8692,23 +9462,23 @@
     21191@@ -8692,23 +9336,23 @@
    1842121192 }
    1842221193 _ACEOF
    1842321194 rm -f conftest.$ac_objext
    1842421195-if { (eval echo "$as_me:8695: \"$ac_compile\"") >&5
    18425 +if { (eval echo "$as_me:9465: \"$ac_compile\"") >&5
     21196+if { (eval echo "$as_me:9339: \"$ac_compile\"") >&5
    1842621197   (eval $ac_compile) 2>&5
    1842721198   ac_status=$?
    1842821199-  echo "$as_me:8698: \$? = $ac_status" >&5
    18429 +  echo "$as_me:9468: \$? = $ac_status" >&5
     21200+  echo "$as_me:9342: \$? = $ac_status" >&5
    1843021201   (exit $ac_status); } &&
    1843121202          { ac_try='test -s conftest.$ac_objext'
    1843221203-  { (eval echo "$as_me:8701: \"$ac_try\"") >&5
    18433 +  { (eval echo "$as_me:9471: \"$ac_try\"") >&5
     21204+  { (eval echo "$as_me:9345: \"$ac_try\"") >&5
    1843421205   (eval $ac_try) 2>&5
    1843521206   ac_status=$?
    1843621207-  echo "$as_me:8704: \$? = $ac_status" >&5
    18437 +  echo "$as_me:9474: \$? = $ac_status" >&5
     21208+  echo "$as_me:9348: \$? = $ac_status" >&5
    1843821209   (exit $ac_status); }; }; then
    1843921210   cf_cv_wchar_t=no
     
    1844321214 cat >conftest.$ac_ext <<_ACEOF
    1844421215-#line 8711 "configure"
    18445 +#line 9481 "configure"
     21216+#line 9355 "configure"
    1844621217 #include "confdefs.h"
    1844721218 
    1844821219 #include <stdlib.h>
    18449 @@ -8727,16 +9497,16 @@
     21220@@ -8727,16 +9371,16 @@
    1845021221 }
    1845121222 _ACEOF
    1845221223 rm -f conftest.$ac_objext
    1845321224-if { (eval echo "$as_me:8730: \"$ac_compile\"") >&5
    18454 +if { (eval echo "$as_me:9500: \"$ac_compile\"") >&5
     21225+if { (eval echo "$as_me:9374: \"$ac_compile\"") >&5
    1845521226   (eval $ac_compile) 2>&5
    1845621227   ac_status=$?
    1845721228-  echo "$as_me:8733: \$? = $ac_status" >&5
    18458 +  echo "$as_me:9503: \$? = $ac_status" >&5
     21229+  echo "$as_me:9377: \$? = $ac_status" >&5
    1845921230   (exit $ac_status); } &&
    1846021231          { ac_try='test -s conftest.$ac_objext'
    1846121232-  { (eval echo "$as_me:8736: \"$ac_try\"") >&5
    18462 +  { (eval echo "$as_me:9506: \"$ac_try\"") >&5
     21233+  { (eval echo "$as_me:9380: \"$ac_try\"") >&5
    1846321234   (eval $ac_try) 2>&5
    1846421235   ac_status=$?
    1846521236-  echo "$as_me:8739: \$? = $ac_status" >&5
    18466 +  echo "$as_me:9509: \$? = $ac_status" >&5
     21237+  echo "$as_me:9383: \$? = $ac_status" >&5
    1846721238   (exit $ac_status); }; }; then
    1846821239   cf_cv_wchar_t=yes
    1846921240 else
    18470 @@ -8748,7 +9518,7 @@
     21241@@ -8748,7 +9392,7 @@
    1847121242 fi
    1847221243 rm -f conftest.$ac_objext conftest.$ac_ext
    1847321244 fi
    1847421245-echo "$as_me:8751: result: $cf_cv_wchar_t" >&5
    18475 +echo "$as_me:9521: result: $cf_cv_wchar_t" >&5
     21246+echo "$as_me:9395: result: $cf_cv_wchar_t" >&5
    1847621247 echo "${ECHO_T}$cf_cv_wchar_t" >&6
    1847721248 
    1847821249 if test "$cf_cv_wchar_t" = yes ; then
    18479 @@ -8770,14 +9540,14 @@
     21250@@ -8770,14 +9414,14 @@
    1848021251 fi
    1848121252 
    1848221253 # This is needed on Tru64 5.0 to declare wint_t
    1848321254-echo "$as_me:8773: checking if we must include wchar.h to declare wint_t" >&5
    18484 +echo "$as_me:9543: checking if we must include wchar.h to declare wint_t" >&5
     21255+echo "$as_me:9417: checking if we must include wchar.h to declare wint_t" >&5
    1848521256 echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6
    1848621257 if test "${cf_cv_wint_t+set}" = set; then
     
    1849021261 cat >conftest.$ac_ext <<_ACEOF
    1849121262-#line 8780 "configure"
    18492 +#line 9550 "configure"
     21263+#line 9424 "configure"
    1849321264 #include "confdefs.h"
    1849421265 
    1849521266 #include <stdlib.h>
    18496 @@ -8795,23 +9565,23 @@
     21267@@ -8795,23 +9439,23 @@
    1849721268 }
    1849821269 _ACEOF
    1849921270 rm -f conftest.$ac_objext
    1850021271-if { (eval echo "$as_me:8798: \"$ac_compile\"") >&5
    18501 +if { (eval echo "$as_me:9568: \"$ac_compile\"") >&5
     21272+if { (eval echo "$as_me:9442: \"$ac_compile\"") >&5
    1850221273   (eval $ac_compile) 2>&5
    1850321274   ac_status=$?
    1850421275-  echo "$as_me:8801: \$? = $ac_status" >&5
    18505 +  echo "$as_me:9571: \$? = $ac_status" >&5
     21276+  echo "$as_me:9445: \$? = $ac_status" >&5
    1850621277   (exit $ac_status); } &&
    1850721278          { ac_try='test -s conftest.$ac_objext'
    1850821279-  { (eval echo "$as_me:8804: \"$ac_try\"") >&5
    18509 +  { (eval echo "$as_me:9574: \"$ac_try\"") >&5
     21280+  { (eval echo "$as_me:9448: \"$ac_try\"") >&5
    1851021281   (eval $ac_try) 2>&5
    1851121282   ac_status=$?
    1851221283-  echo "$as_me:8807: \$? = $ac_status" >&5
    18513 +  echo "$as_me:9577: \$? = $ac_status" >&5
     21284+  echo "$as_me:9451: \$? = $ac_status" >&5
    1851421285   (exit $ac_status); }; }; then
    1851521286   cf_cv_wint_t=no
     
    1851921290 cat >conftest.$ac_ext <<_ACEOF
    1852021291-#line 8814 "configure"
    18521 +#line 9584 "configure"
     21292+#line 9458 "configure"
    1852221293 #include "confdefs.h"
    1852321294 
    1852421295 #include <stdlib.h>
    18525 @@ -8830,16 +9600,16 @@
     21296@@ -8830,16 +9474,16 @@
    1852621297 }
    1852721298 _ACEOF
    1852821299 rm -f conftest.$ac_objext
    1852921300-if { (eval echo "$as_me:8833: \"$ac_compile\"") >&5
    18530 +if { (eval echo "$as_me:9603: \"$ac_compile\"") >&5
     21301+if { (eval echo "$as_me:9477: \"$ac_compile\"") >&5
    1853121302   (eval $ac_compile) 2>&5
    1853221303   ac_status=$?
    1853321304-  echo "$as_me:8836: \$? = $ac_status" >&5
    18534 +  echo "$as_me:9606: \$? = $ac_status" >&5
     21305+  echo "$as_me:9480: \$? = $ac_status" >&5
    1853521306   (exit $ac_status); } &&
    1853621307          { ac_try='test -s conftest.$ac_objext'
    1853721308-  { (eval echo "$as_me:8839: \"$ac_try\"") >&5
    18538 +  { (eval echo "$as_me:9609: \"$ac_try\"") >&5
     21309+  { (eval echo "$as_me:9483: \"$ac_try\"") >&5
    1853921310   (eval $ac_try) 2>&5
    1854021311   ac_status=$?
    1854121312-  echo "$as_me:8842: \$? = $ac_status" >&5
    18542 +  echo "$as_me:9612: \$? = $ac_status" >&5
     21313+  echo "$as_me:9486: \$? = $ac_status" >&5
    1854321314   (exit $ac_status); }; }; then
    1854421315   cf_cv_wint_t=yes
    1854521316 else
    18546 @@ -8851,7 +9621,7 @@
     21317@@ -8851,7 +9495,7 @@
    1854721318 fi
    1854821319 rm -f conftest.$ac_objext conftest.$ac_ext
    1854921320 fi
    1855021321-echo "$as_me:8854: result: $cf_cv_wint_t" >&5
    18551 +echo "$as_me:9624: result: $cf_cv_wint_t" >&5
     21322+echo "$as_me:9498: result: $cf_cv_wint_t" >&5
    1855221323 echo "${ECHO_T}$cf_cv_wint_t" >&6
    1855321324 
    1855421325 if test "$cf_cv_wint_t" = yes ; then
    18555 @@ -8890,7 +9660,7 @@
     21326@@ -8890,7 +9534,7 @@
    1855621327        ;;
    1855721328 esac
    1855821329 
    1855921330-echo "$as_me:8893: checking whether to enable _LP64 definition in curses.h" >&5
    18560 +echo "$as_me:9663: checking whether to enable _LP64 definition in curses.h" >&5
     21331+echo "$as_me:9537: checking whether to enable _LP64 definition in curses.h" >&5
    1856121332 echo $ECHO_N "checking whether to enable _LP64 definition in curses.h... $ECHO_C" >&6
    1856221333 
    1856321334 # Check whether --enable-lp64 or --disable-lp64 was given.
    18564 @@ -8900,7 +9670,7 @@
     21335@@ -8900,7 +9544,7 @@
    1856521336 else
    1856621337   with_lp64=$default_with_lp64
    1856721338 fi;
    1856821339-echo "$as_me:8903: result: $with_lp64" >&5
    18569 +echo "$as_me:9673: result: $with_lp64" >&5
     21340+echo "$as_me:9547: result: $with_lp64" >&5
    1857021341 echo "${ECHO_T}$with_lp64" >&6
    1857121342 
    1857221343 if test "$with_lp64" = yes ; then
    18573 @@ -8916,7 +9686,7 @@
     21344@@ -8916,7 +9560,7 @@
    1857421345 fi;
    1857521346 if test "$enable_largefile" != no; then
    1857621347 
    1857721348-  echo "$as_me:8919: checking for special C compiler options needed for large files" >&5
    18578 +  echo "$as_me:9689: checking for special C compiler options needed for large files" >&5
     21349+  echo "$as_me:9563: checking for special C compiler options needed for large files" >&5
    1857921350 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
    1858021351 if test "${ac_cv_sys_largefile_CC+set}" = set; then
    1858121352   echo $ECHO_N "(cached) $ECHO_C" >&6
    18582 @@ -8928,7 +9698,7 @@
     21353@@ -8928,7 +9572,7 @@
    1858321354         # IRIX 6.2 and later do not support large files by default,
    1858421355         # so use the C compiler's -n32 option if that helps.
    1858521356          cat >conftest.$ac_ext <<_ACEOF
    1858621357-#line 8931 "configure"
    18587 +#line 9701 "configure"
     21358+#line 9575 "configure"
    1858821359 #include "confdefs.h"
    1858921360 #include <sys/types.h>
    1859021361  /* Check that off_t can represent 2**63 - 1 correctly.
    18591 @@ -8948,16 +9718,16 @@
     21362@@ -8948,16 +9592,16 @@
    1859221363 }
    1859321364 _ACEOF
    1859421365         rm -f conftest.$ac_objext
    1859521366-if { (eval echo "$as_me:8951: \"$ac_compile\"") >&5
    18596 +if { (eval echo "$as_me:9721: \"$ac_compile\"") >&5
     21367+if { (eval echo "$as_me:9595: \"$ac_compile\"") >&5
    1859721368   (eval $ac_compile) 2>&5
    1859821369   ac_status=$?
    1859921370-  echo "$as_me:8954: \$? = $ac_status" >&5
    18600 +  echo "$as_me:9724: \$? = $ac_status" >&5
     21371+  echo "$as_me:9598: \$? = $ac_status" >&5
    1860121372   (exit $ac_status); } &&
    1860221373          { ac_try='test -s conftest.$ac_objext'
    1860321374-  { (eval echo "$as_me:8957: \"$ac_try\"") >&5
    18604 +  { (eval echo "$as_me:9727: \"$ac_try\"") >&5
     21375+  { (eval echo "$as_me:9601: \"$ac_try\"") >&5
    1860521376   (eval $ac_try) 2>&5
    1860621377   ac_status=$?
    1860721378-  echo "$as_me:8960: \$? = $ac_status" >&5
    18608 +  echo "$as_me:9730: \$? = $ac_status" >&5
     21379+  echo "$as_me:9604: \$? = $ac_status" >&5
    1860921380   (exit $ac_status); }; }; then
    1861021381   break
    1861121382 else
    18612 @@ -8967,16 +9737,16 @@
     21383@@ -8967,16 +9611,16 @@
    1861321384 rm -f conftest.$ac_objext
    1861421385         CC="$CC -n32"
    1861521386         rm -f conftest.$ac_objext
    1861621387-if { (eval echo "$as_me:8970: \"$ac_compile\"") >&5
    18617 +if { (eval echo "$as_me:9740: \"$ac_compile\"") >&5
     21388+if { (eval echo "$as_me:9614: \"$ac_compile\"") >&5
    1861821389   (eval $ac_compile) 2>&5
    1861921390   ac_status=$?
    1862021391-  echo "$as_me:8973: \$? = $ac_status" >&5
    18621 +  echo "$as_me:9743: \$? = $ac_status" >&5
     21392+  echo "$as_me:9617: \$? = $ac_status" >&5
    1862221393   (exit $ac_status); } &&
    1862321394          { ac_try='test -s conftest.$ac_objext'
    1862421395-  { (eval echo "$as_me:8976: \"$ac_try\"") >&5
    18625 +  { (eval echo "$as_me:9746: \"$ac_try\"") >&5
     21396+  { (eval echo "$as_me:9620: \"$ac_try\"") >&5
    1862621397   (eval $ac_try) 2>&5
    1862721398   ac_status=$?
    1862821399-  echo "$as_me:8979: \$? = $ac_status" >&5
    18629 +  echo "$as_me:9749: \$? = $ac_status" >&5
     21400+  echo "$as_me:9623: \$? = $ac_status" >&5
    1863021401   (exit $ac_status); }; }; then
    1863121402   ac_cv_sys_largefile_CC=' -n32'; break
    1863221403 else
    18633 @@ -8990,13 +9760,13 @@
     21404@@ -8990,13 +9634,13 @@
    1863421405        rm -f conftest.$ac_ext
    1863521406     fi
    1863621407 fi
    1863721408-echo "$as_me:8993: result: $ac_cv_sys_largefile_CC" >&5
    18638 +echo "$as_me:9763: result: $ac_cv_sys_largefile_CC" >&5
     21409+echo "$as_me:9637: result: $ac_cv_sys_largefile_CC" >&5
    1863921410 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
    1864021411   if test "$ac_cv_sys_largefile_CC" != no; then
     
    1864321414 
    1864421415-  echo "$as_me:8999: checking for _FILE_OFFSET_BITS value needed for large files" >&5
    18645 +  echo "$as_me:9769: checking for _FILE_OFFSET_BITS value needed for large files" >&5
     21416+  echo "$as_me:9643: checking for _FILE_OFFSET_BITS value needed for large files" >&5
    1864621417 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
    1864721418 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
    1864821419   echo $ECHO_N "(cached) $ECHO_C" >&6
    18649 @@ -9004,7 +9774,7 @@
     21420@@ -9004,7 +9648,7 @@
    1865021421   while :; do
    1865121422   ac_cv_sys_file_offset_bits=no
    1865221423   cat >conftest.$ac_ext <<_ACEOF
    1865321424-#line 9007 "configure"
    18654 +#line 9777 "configure"
     21425+#line 9651 "configure"
    1865521426 #include "confdefs.h"
    1865621427 #include <sys/types.h>
    1865721428  /* Check that off_t can represent 2**63 - 1 correctly.
    18658 @@ -9024,16 +9794,16 @@
     21429@@ -9024,16 +9668,16 @@
    1865921430 }
    1866021431 _ACEOF
    1866121432 rm -f conftest.$ac_objext
    1866221433-if { (eval echo "$as_me:9027: \"$ac_compile\"") >&5
    18663 +if { (eval echo "$as_me:9797: \"$ac_compile\"") >&5
     21434+if { (eval echo "$as_me:9671: \"$ac_compile\"") >&5
    1866421435   (eval $ac_compile) 2>&5
    1866521436   ac_status=$?
    1866621437-  echo "$as_me:9030: \$? = $ac_status" >&5
    18667 +  echo "$as_me:9800: \$? = $ac_status" >&5
     21438+  echo "$as_me:9674: \$? = $ac_status" >&5
    1866821439   (exit $ac_status); } &&
    1866921440          { ac_try='test -s conftest.$ac_objext'
    1867021441-  { (eval echo "$as_me:9033: \"$ac_try\"") >&5
    18671 +  { (eval echo "$as_me:9803: \"$ac_try\"") >&5
     21442+  { (eval echo "$as_me:9677: \"$ac_try\"") >&5
    1867221443   (eval $ac_try) 2>&5
    1867321444   ac_status=$?
    1867421445-  echo "$as_me:9036: \$? = $ac_status" >&5
    18675 +  echo "$as_me:9806: \$? = $ac_status" >&5
     21446+  echo "$as_me:9680: \$? = $ac_status" >&5
    1867621447   (exit $ac_status); }; }; then
    1867721448   break
    1867821449 else
    18679 @@ -9042,7 +9812,7 @@
     21450@@ -9042,7 +9686,7 @@
    1868021451 fi
    1868121452 rm -f conftest.$ac_objext conftest.$ac_ext
    1868221453   cat >conftest.$ac_ext <<_ACEOF
    1868321454-#line 9045 "configure"
    18684 +#line 9815 "configure"
     21455+#line 9689 "configure"
    1868521456 #include "confdefs.h"
    1868621457 #define _FILE_OFFSET_BITS 64
    1868721458 #include <sys/types.h>
    18688 @@ -9063,16 +9833,16 @@
     21459@@ -9063,16 +9707,16 @@
    1868921460 }
    1869021461 _ACEOF
    1869121462 rm -f conftest.$ac_objext
    1869221463-if { (eval echo "$as_me:9066: \"$ac_compile\"") >&5
    18693 +if { (eval echo "$as_me:9836: \"$ac_compile\"") >&5
     21464+if { (eval echo "$as_me:9710: \"$ac_compile\"") >&5
    1869421465   (eval $ac_compile) 2>&5
    1869521466   ac_status=$?
    1869621467-  echo "$as_me:9069: \$? = $ac_status" >&5
    18697 +  echo "$as_me:9839: \$? = $ac_status" >&5
     21468+  echo "$as_me:9713: \$? = $ac_status" >&5
    1869821469   (exit $ac_status); } &&
    1869921470          { ac_try='test -s conftest.$ac_objext'
    1870021471-  { (eval echo "$as_me:9072: \"$ac_try\"") >&5
    18701 +  { (eval echo "$as_me:9842: \"$ac_try\"") >&5
     21472+  { (eval echo "$as_me:9716: \"$ac_try\"") >&5
    1870221473   (eval $ac_try) 2>&5
    1870321474   ac_status=$?
    1870421475-  echo "$as_me:9075: \$? = $ac_status" >&5
    18705 +  echo "$as_me:9845: \$? = $ac_status" >&5
     21476+  echo "$as_me:9719: \$? = $ac_status" >&5
    1870621477   (exit $ac_status); }; }; then
    1870721478   ac_cv_sys_file_offset_bits=64; break
    1870821479 else
    18709 @@ -9083,7 +9853,7 @@
     21480@@ -9083,7 +9727,7 @@
    1871021481   break
    1871121482 done
    1871221483 fi
    1871321484-echo "$as_me:9086: result: $ac_cv_sys_file_offset_bits" >&5
    18714 +echo "$as_me:9856: result: $ac_cv_sys_file_offset_bits" >&5
     21485+echo "$as_me:9730: result: $ac_cv_sys_file_offset_bits" >&5
    1871521486 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
    1871621487 if test "$ac_cv_sys_file_offset_bits" != no; then
    1871721488 
    18718 @@ -9093,7 +9863,7 @@
     21489@@ -9093,7 +9737,7 @@
    1871921490 
    1872021491 fi
    1872121492 rm -rf conftest*
    1872221493-  echo "$as_me:9096: checking for _LARGE_FILES value needed for large files" >&5
    18723 +  echo "$as_me:9866: checking for _LARGE_FILES value needed for large files" >&5
     21494+  echo "$as_me:9740: checking for _LARGE_FILES value needed for large files" >&5
    1872421495 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
    1872521496 if test "${ac_cv_sys_large_files+set}" = set; then
    1872621497   echo $ECHO_N "(cached) $ECHO_C" >&6
    18727 @@ -9101,7 +9871,7 @@
     21498@@ -9101,7 +9745,7 @@
    1872821499   while :; do
    1872921500   ac_cv_sys_large_files=no
    1873021501   cat >conftest.$ac_ext <<_ACEOF
    1873121502-#line 9104 "configure"
    18732 +#line 9874 "configure"
     21503+#line 9748 "configure"
    1873321504 #include "confdefs.h"
    1873421505 #include <sys/types.h>
    1873521506  /* Check that off_t can represent 2**63 - 1 correctly.
    18736 @@ -9121,16 +9891,16 @@
     21507@@ -9121,16 +9765,16 @@
    1873721508 }
    1873821509 _ACEOF
    1873921510 rm -f conftest.$ac_objext
    1874021511-if { (eval echo "$as_me:9124: \"$ac_compile\"") >&5
    18741 +if { (eval echo "$as_me:9894: \"$ac_compile\"") >&5
     21512+if { (eval echo "$as_me:9768: \"$ac_compile\"") >&5
    1874221513   (eval $ac_compile) 2>&5
    1874321514   ac_status=$?
    1874421515-  echo "$as_me:9127: \$? = $ac_status" >&5
    18745 +  echo "$as_me:9897: \$? = $ac_status" >&5
     21516+  echo "$as_me:9771: \$? = $ac_status" >&5
    1874621517   (exit $ac_status); } &&
    1874721518          { ac_try='test -s conftest.$ac_objext'
    1874821519-  { (eval echo "$as_me:9130: \"$ac_try\"") >&5
    18749 +  { (eval echo "$as_me:9900: \"$ac_try\"") >&5
     21520+  { (eval echo "$as_me:9774: \"$ac_try\"") >&5
    1875021521   (eval $ac_try) 2>&5
    1875121522   ac_status=$?
    1875221523-  echo "$as_me:9133: \$? = $ac_status" >&5
    18753 +  echo "$as_me:9903: \$? = $ac_status" >&5
     21524+  echo "$as_me:9777: \$? = $ac_status" >&5
    1875421525   (exit $ac_status); }; }; then
    1875521526   break
    1875621527 else
    18757 @@ -9139,7 +9909,7 @@
     21528@@ -9139,7 +9783,7 @@
    1875821529 fi
    1875921530 rm -f conftest.$ac_objext conftest.$ac_ext
    1876021531   cat >conftest.$ac_ext <<_ACEOF
    1876121532-#line 9142 "configure"
    18762 +#line 9912 "configure"
     21533+#line 9786 "configure"
    1876321534 #include "confdefs.h"
    1876421535 #define _LARGE_FILES 1
    1876521536 #include <sys/types.h>
    18766 @@ -9160,16 +9930,16 @@
     21537@@ -9160,16 +9804,16 @@
    1876721538 }
    1876821539 _ACEOF
    1876921540 rm -f conftest.$ac_objext
    1877021541-if { (eval echo "$as_me:9163: \"$ac_compile\"") >&5
    18771 +if { (eval echo "$as_me:9933: \"$ac_compile\"") >&5
     21542+if { (eval echo "$as_me:9807: \"$ac_compile\"") >&5
    1877221543   (eval $ac_compile) 2>&5
    1877321544   ac_status=$?
    1877421545-  echo "$as_me:9166: \$? = $ac_status" >&5
    18775 +  echo "$as_me:9936: \$? = $ac_status" >&5
     21546+  echo "$as_me:9810: \$? = $ac_status" >&5
    1877621547   (exit $ac_status); } &&
    1877721548          { ac_try='test -s conftest.$ac_objext'
    1877821549-  { (eval echo "$as_me:9169: \"$ac_try\"") >&5
    18779 +  { (eval echo "$as_me:9939: \"$ac_try\"") >&5
     21550+  { (eval echo "$as_me:9813: \"$ac_try\"") >&5
    1878021551   (eval $ac_try) 2>&5
    1878121552   ac_status=$?
    1878221553-  echo "$as_me:9172: \$? = $ac_status" >&5
    18783 +  echo "$as_me:9942: \$? = $ac_status" >&5
     21554+  echo "$as_me:9816: \$? = $ac_status" >&5
    1878421555   (exit $ac_status); }; }; then
    1878521556   ac_cv_sys_large_files=1; break
    1878621557 else
    18787 @@ -9180,7 +9950,7 @@
     21558@@ -9180,7 +9824,7 @@
    1878821559   break
    1878921560 done
    1879021561 fi
    1879121562-echo "$as_me:9183: result: $ac_cv_sys_large_files" >&5
    18792 +echo "$as_me:9953: result: $ac_cv_sys_large_files" >&5
     21563+echo "$as_me:9827: result: $ac_cv_sys_large_files" >&5
    1879321564 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
    1879421565 if test "$ac_cv_sys_large_files" != no; then
    1879521566 
    18796 @@ -9193,7 +9963,7 @@
     21567@@ -9193,7 +9837,7 @@
    1879721568 fi
    1879821569 
    1879921570     if test "$enable_largefile" != no ; then
    1880021571-       echo "$as_me:9196: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    18801 +       echo "$as_me:9966: checking for _LARGEFILE_SOURCE value needed for large files" >&5
     21572+       echo "$as_me:9840: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    1880221573 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
    1880321574 if test "${ac_cv_sys_largefile_source+set}" = set; then
    1880421575   echo $ECHO_N "(cached) $ECHO_C" >&6
    18805 @@ -9201,7 +9971,7 @@
     21576@@ -9201,7 +9845,7 @@
    1880621577   while :; do
    1880721578   ac_cv_sys_largefile_source=no
    1880821579   cat >conftest.$ac_ext <<_ACEOF
    1880921580-#line 9204 "configure"
    18810 +#line 9974 "configure"
     21581+#line 9848 "configure"
    1881121582 #include "confdefs.h"
    1881221583 #include <stdio.h>
    1881321584 int
    18814 @@ -9213,16 +9983,16 @@
     21585@@ -9213,16 +9857,16 @@
    1881521586 }
    1881621587 _ACEOF
    1881721588 rm -f conftest.$ac_objext
    1881821589-if { (eval echo "$as_me:9216: \"$ac_compile\"") >&5
    18819 +if { (eval echo "$as_me:9986: \"$ac_compile\"") >&5
     21590+if { (eval echo "$as_me:9860: \"$ac_compile\"") >&5
    1882021591   (eval $ac_compile) 2>&5
    1882121592   ac_status=$?
    1882221593-  echo "$as_me:9219: \$? = $ac_status" >&5
    18823 +  echo "$as_me:9989: \$? = $ac_status" >&5
     21594+  echo "$as_me:9863: \$? = $ac_status" >&5
    1882421595   (exit $ac_status); } &&
    1882521596          { ac_try='test -s conftest.$ac_objext'
    1882621597-  { (eval echo "$as_me:9222: \"$ac_try\"") >&5
    18827 +  { (eval echo "$as_me:9992: \"$ac_try\"") >&5
     21598+  { (eval echo "$as_me:9866: \"$ac_try\"") >&5
    1882821599   (eval $ac_try) 2>&5
    1882921600   ac_status=$?
    1883021601-  echo "$as_me:9225: \$? = $ac_status" >&5
    18831 +  echo "$as_me:9995: \$? = $ac_status" >&5
     21602+  echo "$as_me:9869: \$? = $ac_status" >&5
    1883221603   (exit $ac_status); }; }; then
    1883321604   break
    1883421605 else
    18835 @@ -9231,7 +10001,7 @@
     21606@@ -9231,7 +9875,7 @@
    1883621607 fi
    1883721608 rm -f conftest.$ac_objext conftest.$ac_ext
    1883821609   cat >conftest.$ac_ext <<_ACEOF
    1883921610-#line 9234 "configure"
    18840 +#line 10004 "configure"
     21611+#line 9878 "configure"
    1884121612 #include "confdefs.h"
    1884221613 #define _LARGEFILE_SOURCE 1
    1884321614 #include <stdio.h>
    18844 @@ -9244,16 +10014,16 @@
     21615@@ -9244,16 +9888,16 @@
    1884521616 }
    1884621617 _ACEOF
    1884721618 rm -f conftest.$ac_objext
    1884821619-if { (eval echo "$as_me:9247: \"$ac_compile\"") >&5
    18849 +if { (eval echo "$as_me:10017: \"$ac_compile\"") >&5
     21620+if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5
    1885021621   (eval $ac_compile) 2>&5
    1885121622   ac_status=$?
    1885221623-  echo "$as_me:9250: \$? = $ac_status" >&5
    18853 +  echo "$as_me:10020: \$? = $ac_status" >&5
     21624+  echo "$as_me:9894: \$? = $ac_status" >&5
    1885421625   (exit $ac_status); } &&
    1885521626          { ac_try='test -s conftest.$ac_objext'
    1885621627-  { (eval echo "$as_me:9253: \"$ac_try\"") >&5
    18857 +  { (eval echo "$as_me:10023: \"$ac_try\"") >&5
     21628+  { (eval echo "$as_me:9897: \"$ac_try\"") >&5
    1885821629   (eval $ac_try) 2>&5
    1885921630   ac_status=$?
    1886021631-  echo "$as_me:9256: \$? = $ac_status" >&5
    18861 +  echo "$as_me:10026: \$? = $ac_status" >&5
     21632+  echo "$as_me:9900: \$? = $ac_status" >&5
    1886221633   (exit $ac_status); }; }; then
    1886321634   ac_cv_sys_largefile_source=1; break
    1886421635 else
    18865 @@ -9264,7 +10034,7 @@
     21636@@ -9264,7 +9908,7 @@
    1886621637   break
    1886721638 done
    1886821639 fi
    1886921640-echo "$as_me:9267: result: $ac_cv_sys_largefile_source" >&5
    18870 +echo "$as_me:10037: result: $ac_cv_sys_largefile_source" >&5
     21641+echo "$as_me:9911: result: $ac_cv_sys_largefile_source" >&5
    1887121642 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
    1887221643 if test "$ac_cv_sys_largefile_source" != no; then
    1887321644 
    18874 @@ -9278,13 +10048,13 @@
     21645@@ -9278,13 +9922,13 @@
    1887521646 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
    1887621647 # in glibc 2.1.3, but that breaks too many other things.
    1887721648 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
    1887821649-echo "$as_me:9281: checking for fseeko" >&5
    18879 +echo "$as_me:10051: checking for fseeko" >&5
     21650+echo "$as_me:9925: checking for fseeko" >&5
    1888021651 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
    1888121652 if test "${ac_cv_func_fseeko+set}" = set; then
     
    1888421655   cat >conftest.$ac_ext <<_ACEOF
    1888521656-#line 9287 "configure"
    18886 +#line 10057 "configure"
     21657+#line 9931 "configure"
    1888721658 #include "confdefs.h"
    1888821659 #include <stdio.h>
    1888921660 int
    18890 @@ -9296,16 +10066,16 @@
     21661@@ -9296,16 +9940,16 @@
    1889121662 }
    1889221663 _ACEOF
    1889321664 rm -f conftest.$ac_objext conftest$ac_exeext
    1889421665-if { (eval echo "$as_me:9299: \"$ac_link\"") >&5
    18895 +if { (eval echo "$as_me:10069: \"$ac_link\"") >&5
     21666+if { (eval echo "$as_me:9943: \"$ac_link\"") >&5
    1889621667   (eval $ac_link) 2>&5
    1889721668   ac_status=$?
    1889821669-  echo "$as_me:9302: \$? = $ac_status" >&5
    18899 +  echo "$as_me:10072: \$? = $ac_status" >&5
     21670+  echo "$as_me:9946: \$? = $ac_status" >&5
    1890021671   (exit $ac_status); } &&
    1890121672          { ac_try='test -s conftest$ac_exeext'
    1890221673-  { (eval echo "$as_me:9305: \"$ac_try\"") >&5
    18903 +  { (eval echo "$as_me:10075: \"$ac_try\"") >&5
     21674+  { (eval echo "$as_me:9949: \"$ac_try\"") >&5
    1890421675   (eval $ac_try) 2>&5
    1890521676   ac_status=$?
    1890621677-  echo "$as_me:9308: \$? = $ac_status" >&5
    18907 +  echo "$as_me:10078: \$? = $ac_status" >&5
     21678+  echo "$as_me:9952: \$? = $ac_status" >&5
    1890821679   (exit $ac_status); }; }; then
    1890921680   ac_cv_func_fseeko=yes
    1891021681 else
    18911 @@ -9315,7 +10085,7 @@
     21682@@ -9315,7 +9959,7 @@
    1891221683 fi
    1891321684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    1891421685 fi
    1891521686-echo "$as_me:9318: result: $ac_cv_func_fseeko" >&5
    18916 +echo "$as_me:10088: result: $ac_cv_func_fseeko" >&5
     21687+echo "$as_me:9962: result: $ac_cv_func_fseeko" >&5
    1891721688 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
    1891821689 if test $ac_cv_func_fseeko = yes; then
    1891921690 
    18920 @@ -9336,14 +10106,14 @@
     21691@@ -9336,14 +9980,14 @@
    1892121692        test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE "
    1892221693        test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits "
    1892321694 
    1892421695-       echo "$as_me:9339: checking whether to use struct dirent64" >&5
    18925 +       echo "$as_me:10109: checking whether to use struct dirent64" >&5
     21696+       echo "$as_me:9983: checking whether to use struct dirent64" >&5
    1892621697 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6
    1892721698 if test "${cf_cv_struct_dirent64+set}" = set; then
     
    1893121702                cat >conftest.$ac_ext <<_ACEOF
    1893221703-#line 9346 "configure"
    18933 +#line 10116 "configure"
     21704+#line 9990 "configure"
    1893421705 #include "confdefs.h"
    1893521706 
    1893621707 #include <sys/types.h>
    18937 @@ -9364,16 +10134,16 @@
     21708@@ -9364,16 +10008,16 @@
    1893821709 }
    1893921710 _ACEOF
    1894021711 rm -f conftest.$ac_objext
    1894121712-if { (eval echo "$as_me:9367: \"$ac_compile\"") >&5
    18942 +if { (eval echo "$as_me:10137: \"$ac_compile\"") >&5
     21713+if { (eval echo "$as_me:10011: \"$ac_compile\"") >&5
    1894321714   (eval $ac_compile) 2>&5
    1894421715   ac_status=$?
    1894521716-  echo "$as_me:9370: \$? = $ac_status" >&5
    18946 +  echo "$as_me:10140: \$? = $ac_status" >&5
     21717+  echo "$as_me:10014: \$? = $ac_status" >&5
    1894721718   (exit $ac_status); } &&
    1894821719          { ac_try='test -s conftest.$ac_objext'
    1894921720-  { (eval echo "$as_me:9373: \"$ac_try\"") >&5
    18950 +  { (eval echo "$as_me:10143: \"$ac_try\"") >&5
     21721+  { (eval echo "$as_me:10017: \"$ac_try\"") >&5
    1895121722   (eval $ac_try) 2>&5
    1895221723   ac_status=$?
    1895321724-  echo "$as_me:9376: \$? = $ac_status" >&5
    18954 +  echo "$as_me:10146: \$? = $ac_status" >&5
     21725+  echo "$as_me:10020: \$? = $ac_status" >&5
    1895521726   (exit $ac_status); }; }; then
    1895621727   cf_cv_struct_dirent64=yes
    1895721728 else
    18958 @@ -9384,7 +10154,7 @@
     21729@@ -9384,7 +10028,7 @@
    1895921730 rm -f conftest.$ac_objext conftest.$ac_ext
    1896021731 
    1896121732 fi
    1896221733-echo "$as_me:9387: result: $cf_cv_struct_dirent64" >&5
    18963 +echo "$as_me:10157: result: $cf_cv_struct_dirent64" >&5
     21734+echo "$as_me:10031: result: $cf_cv_struct_dirent64" >&5
    1896421735 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6
    1896521736        test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF
    1896621737 #define HAVE_STRUCT_DIRENT64 1
    18967 @@ -9393,7 +10163,7 @@
     21738@@ -9393,7 +10037,7 @@
    1896821739     fi
    1896921740 
    1897021741 ###   use option --disable-tparm-varargs to make tparm() conform to X/Open
    1897121742-echo "$as_me:9396: checking if you want tparm not to use X/Open fixed-parameter list" >&5
    18972 +echo "$as_me:10166: checking if you want tparm not to use X/Open fixed-parameter list" >&5
     21743+echo "$as_me:10040: checking if you want tparm not to use X/Open fixed-parameter list" >&5
    1897321744 echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6
    1897421745 
    1897521746 # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given.
    18976 @@ -9403,14 +10173,14 @@
     21747@@ -9403,14 +10047,14 @@
    1897721748 else
    1897821749   with_tparm_varargs=yes
    1897921750 fi;
    1898021751-echo "$as_me:9406: result: $with_tparm_varargs" >&5
    18981 +echo "$as_me:10176: result: $with_tparm_varargs" >&5
     21752+echo "$as_me:10050: result: $with_tparm_varargs" >&5
    1898221753 echo "${ECHO_T}$with_tparm_varargs" >&6
    1898321754 NCURSES_TPARM_VARARGS=0
     
    1898721758 if test "$with_ticlib" != no ; then
    1898821759-echo "$as_me:9413: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5
    18989 +echo "$as_me:10183: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5
     21760+echo "$as_me:10057: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5
    1899021761 echo $ECHO_N "checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library... $ECHO_C" >&6
    1899121762 
    1899221763 # Check whether --enable-tic-depends or --disable-tic-depends was given.
    18993 @@ -9420,14 +10190,14 @@
     21764@@ -9420,14 +10064,14 @@
    1899421765 else
    1899521766   with_tic_depends=yes
    1899621767 fi;
    1899721768-echo "$as_me:9423: result: $with_tic_depends" >&5
    18998 +echo "$as_me:10193: result: $with_tic_depends" >&5
     21769+echo "$as_me:10067: result: $with_tic_depends" >&5
    1899921770 echo "${ECHO_T}$with_tic_depends" >&6
    1900021771 else
     
    1900421775 ###   use option --with-bool to override bool's type
    1900521776-echo "$as_me:9430: checking for type of bool" >&5
    19006 +echo "$as_me:10200: checking for type of bool" >&5
     21777+echo "$as_me:10074: checking for type of bool" >&5
    1900721778 echo $ECHO_N "checking for type of bool... $ECHO_C" >&6
    1900821779 
    1900921780 # Check whether --with-bool or --without-bool was given.
    19010 @@ -9437,10 +10207,10 @@
     21781@@ -9437,10 +10081,10 @@
    1901121782 else
    1901221783   NCURSES_BOOL=auto
    1901321784 fi;
    1901421785-echo "$as_me:9440: result: $NCURSES_BOOL" >&5
    19015 +echo "$as_me:10210: result: $NCURSES_BOOL" >&5
     21786+echo "$as_me:10084: result: $NCURSES_BOOL" >&5
    1901621787 echo "${ECHO_T}$NCURSES_BOOL" >&6
    1901721788 
    1901821789-echo "$as_me:9443: checking for alternate terminal capabilities file" >&5
    19019 +echo "$as_me:10213: checking for alternate terminal capabilities file" >&5
     21790+echo "$as_me:10087: checking for alternate terminal capabilities file" >&5
    1902021791 echo $ECHO_N "checking for alternate terminal capabilities file... $ECHO_C" >&6
    1902121792 
    1902221793 # Check whether --with-caps or --without-caps was given.
    19023 @@ -9451,11 +10221,11 @@
     21794@@ -9451,11 +10095,11 @@
    1902421795   TERMINFO_CAPS=Caps
    1902521796 fi;
    1902621797 test -f "${srcdir}/include/${TERMINFO_CAPS}" || TERMINFO_CAPS=Caps
    1902721798-echo "$as_me:9454: result: $TERMINFO_CAPS" >&5
    19028 +echo "$as_me:10224: result: $TERMINFO_CAPS" >&5
     21799+echo "$as_me:10098: result: $TERMINFO_CAPS" >&5
    1902921800 echo "${ECHO_T}$TERMINFO_CAPS" >&6
    1903021801 
    1903121802 ###   use option --with-chtype to override chtype's type
    1903221803-echo "$as_me:9458: checking for type of chtype" >&5
    19033 +echo "$as_me:10228: checking for type of chtype" >&5
     21804+echo "$as_me:10102: checking for type of chtype" >&5
    1903421805 echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6
    1903521806 
    1903621807 # Check whether --with-chtype or --without-chtype was given.
    19037 @@ -9465,11 +10235,11 @@
     21808@@ -9465,11 +10109,11 @@
    1903821809 else
    1903921810   NCURSES_CHTYPE=auto
    1904021811 fi;
    1904121812-echo "$as_me:9468: result: $NCURSES_CHTYPE" >&5
    19042 +echo "$as_me:10238: result: $NCURSES_CHTYPE" >&5
     21813+echo "$as_me:10112: result: $NCURSES_CHTYPE" >&5
    1904321814 echo "${ECHO_T}$NCURSES_CHTYPE" >&6
    1904421815 
    1904521816 ###   use option --with-ospeed to override ospeed's type
    1904621817-echo "$as_me:9472: checking for type of ospeed" >&5
    19047 +echo "$as_me:10242: checking for type of ospeed" >&5
     21818+echo "$as_me:10116: checking for type of ospeed" >&5
    1904821819 echo $ECHO_N "checking for type of ospeed... $ECHO_C" >&6
    1904921820 
    1905021821 # Check whether --with-ospeed or --without-ospeed was given.
    19051 @@ -9479,11 +10249,11 @@
     21822@@ -9479,11 +10123,11 @@
    1905221823 else
    1905321824   NCURSES_OSPEED=short
    1905421825 fi;
    1905521826-echo "$as_me:9482: result: $NCURSES_OSPEED" >&5
    19056 +echo "$as_me:10252: result: $NCURSES_OSPEED" >&5
     21827+echo "$as_me:10126: result: $NCURSES_OSPEED" >&5
    1905721828 echo "${ECHO_T}$NCURSES_OSPEED" >&6
    1905821829 
    1905921830 ###   use option --with-mmask-t to override mmask_t's type
    1906021831-echo "$as_me:9486: checking for type of mmask_t" >&5
    19061 +echo "$as_me:10256: checking for type of mmask_t" >&5
     21832+echo "$as_me:10130: checking for type of mmask_t" >&5
    1906221833 echo $ECHO_N "checking for type of mmask_t... $ECHO_C" >&6
    1906321834 
    1906421835 # Check whether --with-mmask-t or --without-mmask-t was given.
    19065 @@ -9493,11 +10263,11 @@
     21836@@ -9493,11 +10137,11 @@
    1906621837 else
    1906721838   NCURSES_MMASK_T=auto
    1906821839 fi;
    1906921840-echo "$as_me:9496: result: $NCURSES_MMASK_T" >&5
    19070 +echo "$as_me:10266: result: $NCURSES_MMASK_T" >&5
     21841+echo "$as_me:10140: result: $NCURSES_MMASK_T" >&5
    1907121842 echo "${ECHO_T}$NCURSES_MMASK_T" >&6
    1907221843 
    1907321844 ###   use option --with-ccharw-max to override CCHARW_MAX size
    1907421845-echo "$as_me:9500: checking for size CCHARW_MAX" >&5
    19075 +echo "$as_me:10270: checking for size CCHARW_MAX" >&5
     21846+echo "$as_me:10144: checking for size CCHARW_MAX" >&5
    1907621847 echo $ECHO_N "checking for size CCHARW_MAX... $ECHO_C" >&6
    1907721848 
    1907821849 # Check whether --with-ccharw-max or --without-ccharw-max was given.
    19079 @@ -9507,11 +10277,11 @@
     21850@@ -9507,11 +10151,25 @@
    1908021851 else
    1908121852   NCURSES_CCHARW_MAX=5
    1908221853 fi;
    1908321854-echo "$as_me:9510: result: $NCURSES_CCHARW_MAX" >&5
    19084 +echo "$as_me:10280: result: $NCURSES_CCHARW_MAX" >&5
     21855+echo "$as_me:10154: result: $NCURSES_CCHARW_MAX" >&5
    1908521856 echo "${ECHO_T}$NCURSES_CCHARW_MAX" >&6
    1908621857 
     21858+###   use option --with-tparm-arg to override tparm's argument type
     21859+echo "$as_me:10158: checking for type of tparm args" >&5
     21860+echo $ECHO_N "checking for type of tparm args... $ECHO_C" >&6
     21861+
     21862+# Check whether --with-tparm-arg or --without-tparm-arg was given.
     21863+if test "${with_tparm_arg+set}" = set; then
     21864+  withval="$with_tparm_arg"
     21865+  NCURSES_TPARM_ARG="$withval"
     21866+else
     21867+  NCURSES_TPARM_ARG=long
     21868+fi;
     21869+echo "$as_me:10168: result: $NCURSES_TPARM_ARG" >&5
     21870+echo "${ECHO_T}$NCURSES_TPARM_ARG" >&6
     21871+
    1908721872 ### Enable compiling-in rcs id's
    1908821873-echo "$as_me:9514: checking if RCS identifiers should be compiled-in" >&5
    19089 +echo "$as_me:10284: checking if RCS identifiers should be compiled-in" >&5
     21874+echo "$as_me:10172: checking if RCS identifiers should be compiled-in" >&5
    1909021875 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6
    1909121876 
    1909221877 # Check whether --with-rcs-ids or --without-rcs-ids was given.
    19093 @@ -9521,7 +10291,7 @@
     21878@@ -9521,7 +10179,7 @@
    1909421879 else
    1909521880   with_rcs_ids=no
    1909621881 fi;
    1909721882-echo "$as_me:9524: result: $with_rcs_ids" >&5
    19098 +echo "$as_me:10294: result: $with_rcs_ids" >&5
     21883+echo "$as_me:10182: result: $with_rcs_ids" >&5
    1909921884 echo "${ECHO_T}$with_rcs_ids" >&6
    1910021885 test "$with_rcs_ids" = yes && cat >>confdefs.h <<\EOF
    1910121886 #define USE_RCS_IDS 1
    19102 @@ -9529,7 +10299,7 @@
     21887@@ -9529,7 +10187,7 @@
    1910321888 
    1910421889 ###############################################################################
    1910521890 
    1910621891-echo "$as_me:9532: checking format of man-pages" >&5
    19107 +echo "$as_me:10302: checking format of man-pages" >&5
     21892+echo "$as_me:10190: checking format of man-pages" >&5
    1910821893 echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6
    1910921894 
    1911021895 # Check whether --with-manpage-format or --without-manpage-format was given.
    19111 @@ -9618,14 +10388,14 @@
     21896@@ -9618,14 +10276,14 @@
    1911221897   ;;
    1911321898 esac
    1911421899 
    1911521900-echo "$as_me:9621: result: $MANPAGE_FORMAT" >&5
    19116 +echo "$as_me:10391: result: $MANPAGE_FORMAT" >&5
     21901+echo "$as_me:10279: result: $MANPAGE_FORMAT" >&5
    1911721902 echo "${ECHO_T}$MANPAGE_FORMAT" >&6
    1911821903 if test -n "$cf_unknown" ; then
    1911921904-  { echo "$as_me:9624: WARNING: Unexpected manpage-format $cf_unknown" >&5
    19120 +  { echo "$as_me:10394: WARNING: Unexpected manpage-format $cf_unknown" >&5
     21905+  { echo "$as_me:10282: WARNING: Unexpected manpage-format $cf_unknown" >&5
    1912121906 echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;}
    1912221907 fi
    1912321908 
    1912421909-echo "$as_me:9628: checking for manpage renaming" >&5
    19125 +echo "$as_me:10398: checking for manpage renaming" >&5
     21910+echo "$as_me:10286: checking for manpage renaming" >&5
    1912621911 echo $ECHO_N "checking for manpage renaming... $ECHO_C" >&6
    1912721912 
    1912821913 # Check whether --with-manpage-renames or --without-manpage-renames was given.
    19129 @@ -9653,7 +10423,7 @@
     21914@@ -9653,7 +10311,7 @@
    1913021915   if test -f $srcdir/man/$MANPAGE_RENAMES ; then
    1913121916     MANPAGE_RENAMES=`cd $srcdir/man && pwd`/$MANPAGE_RENAMES
    1913221917   elif test ! -f $MANPAGE_RENAMES ; then
    1913321918-    { { echo "$as_me:9656: error: not a filename: $MANPAGE_RENAMES" >&5
    19134 +    { { echo "$as_me:10426: error: not a filename: $MANPAGE_RENAMES" >&5
     21919+    { { echo "$as_me:10314: error: not a filename: $MANPAGE_RENAMES" >&5
    1913521920 echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;}
    1913621921    { (exit 1); exit 1; }; }
    1913721922   fi
    19138 @@ -9667,10 +10437,10 @@
     21923@@ -9667,10 +10325,10 @@
    1913921924   fi
    1914021925 fi
    1914121926 
    1914221927-echo "$as_me:9670: result: $MANPAGE_RENAMES" >&5
    19143 +echo "$as_me:10440: result: $MANPAGE_RENAMES" >&5
     21928+echo "$as_me:10328: result: $MANPAGE_RENAMES" >&5
    1914421929 echo "${ECHO_T}$MANPAGE_RENAMES" >&6
    1914521930 
    1914621931-echo "$as_me:9673: checking if manpage aliases will be installed" >&5
    19147 +echo "$as_me:10443: checking if manpage aliases will be installed" >&5
     21932+echo "$as_me:10331: checking if manpage aliases will be installed" >&5
    1914821933 echo $ECHO_N "checking if manpage aliases will be installed... $ECHO_C" >&6
    1914921934 
    1915021935 # Check whether --with-manpage-aliases or --without-manpage-aliases was given.
    19151 @@ -9681,7 +10451,7 @@
     21936@@ -9681,7 +10339,7 @@
    1915221937   MANPAGE_ALIASES=yes
    1915321938 fi;
    1915421939 
    1915521940-echo "$as_me:9684: result: $MANPAGE_ALIASES" >&5
    19156 +echo "$as_me:10454: result: $MANPAGE_ALIASES" >&5
     21941+echo "$as_me:10342: result: $MANPAGE_ALIASES" >&5
    1915721942 echo "${ECHO_T}$MANPAGE_ALIASES" >&6
    1915821943 
    1915921944 case "x$LN_S" in #(vi
    19160 @@ -9695,7 +10465,7 @@
     21945@@ -9695,7 +10353,7 @@
    1916121946 
    1916221947 MANPAGE_SYMLINKS=no
    1916321948 if test "$MANPAGE_ALIASES" = yes ; then
    1916421949-echo "$as_me:9698: checking if manpage symlinks should be used" >&5
    19165 +echo "$as_me:10468: checking if manpage symlinks should be used" >&5
     21950+echo "$as_me:10356: checking if manpage symlinks should be used" >&5
    1916621951 echo $ECHO_N "checking if manpage symlinks should be used... $ECHO_C" >&6
    1916721952 
    1916821953 # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given.
    19169 @@ -9708,17 +10478,17 @@
     21954@@ -9708,17 +10366,17 @@
    1917021955 
    1917121956 if test "$$cf_use_symlinks" = no; then
    1917221957 if test "$MANPAGE_SYMLINKS" = yes ; then
    1917321958-       { echo "$as_me:9711: WARNING: cannot make symlinks" >&5
    19174 +       { echo "$as_me:10481: WARNING: cannot make symlinks" >&5
     21959+       { echo "$as_me:10369: WARNING: cannot make symlinks" >&5
    1917521960 echo "$as_me: WARNING: cannot make symlinks" >&2;}
    1917621961        MANPAGE_SYMLINKS=no
     
    1917921964 
    1918021965-echo "$as_me:9717: result: $MANPAGE_SYMLINKS" >&5
    19181 +echo "$as_me:10487: result: $MANPAGE_SYMLINKS" >&5
     21966+echo "$as_me:10375: result: $MANPAGE_SYMLINKS" >&5
    1918221967 echo "${ECHO_T}$MANPAGE_SYMLINKS" >&6
    1918321968 fi
    1918421969 
    1918521970-echo "$as_me:9721: checking for manpage tbl" >&5
    19186 +echo "$as_me:10491: checking for manpage tbl" >&5
     21971+echo "$as_me:10379: checking for manpage tbl" >&5
    1918721972 echo $ECHO_N "checking for manpage tbl... $ECHO_C" >&6
    1918821973 
    1918921974 # Check whether --with-manpage-tbl or --without-manpage-tbl was given.
    19190 @@ -9729,7 +10499,7 @@
     21975@@ -9729,7 +10387,7 @@
    1919121976   MANPAGE_TBL=no
    1919221977 fi;
    1919321978 
    1919421979-echo "$as_me:9732: result: $MANPAGE_TBL" >&5
    19195 +echo "$as_me:10502: result: $MANPAGE_TBL" >&5
     21980+echo "$as_me:10390: result: $MANPAGE_TBL" >&5
    1919621981 echo "${ECHO_T}$MANPAGE_TBL" >&6
    1919721982 
    1919821983   if test "$prefix" = "NONE" ; then
    19199 @@ -9869,7 +10639,9 @@
     21984@@ -9776,6 +10434,7 @@
     21985 # this script is generated by the configure-script CF_MAN_PAGES macro.
     21986 
     21987 prefix="$cf_prefix"
     21988+datarootdir="$datarootdir"
     21989 datadir="$datadir"
     21990 
     21991 NCURSES_MAJOR="$NCURSES_MAJOR"
     21992@@ -9869,7 +10528,9 @@
    1920021993 
    1920121994 if test "$MANPAGE_ALIASES" != no ; then
     
    1920822001 fi
    1920922002 
    19210 @@ -9915,6 +10687,13 @@
     22003@@ -9915,6 +10576,13 @@
    1921122004 fi
    1921222005 CF_EOF
     
    1922222015 cat >>$cf_edit_man <<CF_EOF
    1922322016        sed -e "/\#[    ]*include/s,curses.h,ncurses.h," < \$TMP >\$TMP.out
    19224 @@ -10051,7 +10830,7 @@
     22017@@ -10051,7 +10719,7 @@
    1922522018 ###############################################################################
    1922622019 
    1922722020 ### Note that some functions (such as const) are normally disabled anyway.
    1922822021-echo "$as_me:10054: checking if you want to build with function extensions" >&5
    19229 +echo "$as_me:10833: checking if you want to build with function extensions" >&5
     22022+echo "$as_me:10722: checking if you want to build with function extensions" >&5
    1923022023 echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6
    1923122024 
    1923222025 # Check whether --enable-ext-funcs or --disable-ext-funcs was given.
    19233 @@ -10061,11 +10840,15 @@
     22026@@ -10061,11 +10729,15 @@
    1923422027 else
    1923522028   with_ext_funcs=yes
    1923622029 fi;
    1923722030-echo "$as_me:10064: result: $with_ext_funcs" >&5
    19238 +echo "$as_me:10843: result: $with_ext_funcs" >&5
     22031+echo "$as_me:10732: result: $with_ext_funcs" >&5
    1923922032 echo "${ECHO_T}$with_ext_funcs" >&6
    1924022033 if test "$with_ext_funcs" = yes ; then
     
    1924822041 EOF
    1924922042 
    19250 @@ -10090,6 +10873,14 @@
     22043@@ -10090,6 +10762,14 @@
    1925122044 EOF
    1925222045 
     
    1926322056 EOF
    1926422057 
    19265 @@ -10103,7 +10894,7 @@
     22058@@ -10103,7 +10783,7 @@
    1926622059        GENERATED_EXT_FUNCS=
    1926722060 fi
    1926822061 
    1926922062-echo "$as_me:10106: checking if you want to build with experimental SCREEN extensions" >&5
    19270 +echo "$as_me:10897: checking if you want to build with experimental SCREEN extensions" >&5
     22063+echo "$as_me:10786: checking if you want to build with experimental SCREEN extensions" >&5
    1927122064 echo $ECHO_N "checking if you want to build with experimental SCREEN extensions... $ECHO_C" >&6
    1927222065 
    1927322066 # Check whether --enable-sp-funcs or --disable-sp-funcs was given.
    19274 @@ -10113,7 +10904,7 @@
     22067@@ -10113,7 +10793,7 @@
    1927522068 else
    1927622069   with_sp_funcs=no
    1927722070 fi;
    1927822071-echo "$as_me:10116: result: $with_sp_funcs" >&5
    19279 +echo "$as_me:10907: result: $with_sp_funcs" >&5
     22072+echo "$as_me:10796: result: $with_sp_funcs" >&5
    1928022073 echo "${ECHO_T}$with_sp_funcs" >&6
    1928122074 if test "$with_sp_funcs" = yes ; then
    1928222075        NCURSES_SP_FUNCS=1
    19283 @@ -10127,7 +10918,7 @@
     22076@@ -10127,7 +10807,7 @@
    1928422077        GENERATED_SP_FUNCS=
    1928522078 fi
    1928622079 
    1928722080-echo "$as_me:10130: checking if you want to build with experimental terminal-driver" >&5
    19288 +echo "$as_me:10921: checking if you want to build with experimental terminal-driver" >&5
     22081+echo "$as_me:10810: checking if you want to build with experimental terminal-driver" >&5
    1928922082 echo $ECHO_N "checking if you want to build with experimental terminal-driver... $ECHO_C" >&6
    1929022083 
    1929122084 # Check whether --enable-term-driver or --disable-term-driver was given.
    19292 @@ -10137,7 +10928,7 @@
     22085@@ -10137,7 +10817,7 @@
    1929322086 else
    1929422087   with_term_driver=no
    1929522088 fi;
    1929622089-echo "$as_me:10140: result: $with_term_driver" >&5
    19297 +echo "$as_me:10931: result: $with_term_driver" >&5
     22090+echo "$as_me:10820: result: $with_term_driver" >&5
    1929822091 echo "${ECHO_T}$with_term_driver" >&6
    1929922092 if test "$with_term_driver" = yes ; then
    1930022093        cat >>confdefs.h <<\EOF
    19301 @@ -10145,14 +10936,14 @@
     22094@@ -10145,14 +10825,14 @@
    1930222095 EOF
    1930322096 
    1930422097        if test "$with_sp_funcs" != yes ; then
    1930522098-               { { echo "$as_me:10148: error: The term-driver option relies upon sp-funcs" >&5
    19306 +               { { echo "$as_me:10939: error: The term-driver option relies upon sp-funcs" >&5
     22099+               { { echo "$as_me:10828: error: The term-driver option relies upon sp-funcs" >&5
    1930722100 echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;}
    1930822101    { (exit 1); exit 1; }; }
     
    1931222105 ###   use option --enable-const to turn on use of const beyond that in XSI.
    1931322106-echo "$as_me:10155: checking for extended use of const keyword" >&5
    19314 +echo "$as_me:10946: checking for extended use of const keyword" >&5
     22107+echo "$as_me:10835: checking for extended use of const keyword" >&5
    1931522108 echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6
    1931622109 
    1931722110 # Check whether --enable-const or --disable-const was given.
    19318 @@ -10162,7 +10953,7 @@
     22111@@ -10162,7 +10842,7 @@
    1931922112 else
    1932022113   with_ext_const=no
    1932122114 fi;
    1932222115-echo "$as_me:10165: result: $with_ext_const" >&5
    19323 +echo "$as_me:10956: result: $with_ext_const" >&5
     22116+echo "$as_me:10845: result: $with_ext_const" >&5
    1932422117 echo "${ECHO_T}$with_ext_const" >&6
    1932522118 NCURSES_CONST='/*nothing*/'
    1932622119 if test "$with_ext_const" = yes ; then
    19327 @@ -10170,7 +10961,7 @@
     22120@@ -10170,7 +10850,7 @@
    1932822121 fi
    1932922122 
    1933022123 ###   use option --enable-ext-colors to turn on use of colors beyond 16.
    1933122124-echo "$as_me:10173: checking if you want to use extended colors" >&5
    19332 +echo "$as_me:10964: checking if you want to use extended colors" >&5
     22125+echo "$as_me:10853: checking if you want to use extended colors" >&5
    1933322126 echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6
    1933422127 
    1933522128 # Check whether --enable-ext-colors or --disable-ext-colors was given.
    19336 @@ -10180,12 +10971,12 @@
     22129@@ -10180,12 +10860,12 @@
    1933722130 else
    1933822131   with_ext_colors=no
    1933922132 fi;
    1934022133-echo "$as_me:10183: result: $with_ext_colors" >&5
    19341 +echo "$as_me:10974: result: $with_ext_colors" >&5
     22134+echo "$as_me:10863: result: $with_ext_colors" >&5
    1934222135 echo "${ECHO_T}$with_ext_colors" >&6
    1934322136 NCURSES_EXT_COLORS=0
     
    1934522138        if test "$with_widec" != yes ; then
    1934622139-               { { echo "$as_me:10188: error: This option applies only to wide-character library" >&5
    19347 +               { { echo "$as_me:10979: error: This option applies only to wide-character library" >&5
     22140+               { { echo "$as_me:10868: error: This option applies only to wide-character library" >&5
    1934822141 echo "$as_me: error: This option applies only to wide-character library" >&2;}
    1934922142    { (exit 1); exit 1; }; }
    1935022143        else
    19351 @@ -10196,7 +10987,7 @@
     22144@@ -10196,7 +10876,7 @@
    1935222145        5.*)
    1935322146                cf_cv_rel_version=6.0
    1935422147                cf_cv_abi_version=6
    1935522148-               { echo "$as_me:10199: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    19356 +               { echo "$as_me:10990: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
     22149+               { echo "$as_me:10879: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    1935722150 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;}
    1935822151                ;;
    1935922152        esac
    19360 @@ -10211,7 +11002,7 @@
     22153@@ -10211,7 +10891,7 @@
    1936122154 fi
    1936222155 
    1936322156 ###   use option --enable-ext-mouse to modify coding to support 5-button mice
    1936422157-echo "$as_me:10214: checking if you want to use extended mouse encoding" >&5
    19365 +echo "$as_me:11005: checking if you want to use extended mouse encoding" >&5
     22158+echo "$as_me:10894: checking if you want to use extended mouse encoding" >&5
    1936622159 echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6
    1936722160 
    1936822161 # Check whether --enable-ext-mouse or --disable-ext-mouse was given.
    19369 @@ -10221,7 +11012,7 @@
     22162@@ -10221,7 +10901,7 @@
    1937022163 else
    1937122164   with_ext_mouse=no
    1937222165 fi;
    1937322166-echo "$as_me:10224: result: $with_ext_mouse" >&5
    19374 +echo "$as_me:11015: result: $with_ext_mouse" >&5
     22167+echo "$as_me:10904: result: $with_ext_mouse" >&5
    1937522168 echo "${ECHO_T}$with_ext_mouse" >&6
    1937622169 NCURSES_MOUSE_VERSION=1
    1937722170 if test "$with_ext_mouse" = yes ; then
    19378 @@ -10232,7 +11023,7 @@
     22171@@ -10232,7 +10912,7 @@
    1937922172        5.*)
    1938022173                cf_cv_rel_version=6.0
    1938122174                cf_cv_abi_version=6
    1938222175-               { echo "$as_me:10235: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    19383 +               { echo "$as_me:11026: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
     22176+               { echo "$as_me:10915: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    1938422177 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;}
    1938522178                ;;
    1938622179        esac
    19387 @@ -10240,7 +11031,7 @@
     22180@@ -10240,7 +10920,7 @@
    1938822181 
    1938922182 fi
    1939022183 
    1939122184-echo "$as_me:10243: checking if you want \$NCURSES_NO_PADDING code" >&5
    19392 +echo "$as_me:11034: checking if you want \$NCURSES_NO_PADDING code" >&5
     22185+echo "$as_me:10923: checking if you want \$NCURSES_NO_PADDING code" >&5
    1939322186 echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6
    1939422187 
    1939522188 # Check whether --enable-no-padding or --disable-no-padding was given.
    19396 @@ -10250,19 +11041,19 @@
     22189@@ -10250,19 +10930,19 @@
    1939722190 else
    1939822191   with_no_padding=$with_ext_funcs
    1939922192 fi;
    1940022193-echo "$as_me:10253: result: $with_no_padding" >&5
    19401 +echo "$as_me:11044: result: $with_no_padding" >&5
     22194+echo "$as_me:10933: result: $with_no_padding" >&5
    1940222195 echo "${ECHO_T}$with_no_padding" >&6
    1940322196 test "$with_no_padding" = yes && cat >>confdefs.h <<\EOF
     
    1940622199 
    1940722200-echo "$as_me:10259: checking for ANSI C header files" >&5
    19408 +echo "$as_me:11050: checking for ANSI C header files" >&5
     22201+echo "$as_me:10939: checking for ANSI C header files" >&5
    1940922202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    1941022203 if test "${ac_cv_header_stdc+set}" = set; then
     
    1941322206   cat >conftest.$ac_ext <<_ACEOF
    1941422207-#line 10265 "configure"
    19415 +#line 11056 "configure"
     22208+#line 10945 "configure"
    1941622209 #include "confdefs.h"
    1941722210 #include <stdlib.h>
    1941822211 #include <stdarg.h>
    19419 @@ -10270,13 +11061,13 @@
     22212@@ -10270,13 +10950,13 @@
    1942022213 #include <float.h>
    1942122214 
    1942222215 _ACEOF
    1942322216-if { (eval echo "$as_me:10273: \"$ac_cpp conftest.$ac_ext\"") >&5
    19424 +if { (eval echo "$as_me:11064: \"$ac_cpp conftest.$ac_ext\"") >&5
     22217+if { (eval echo "$as_me:10953: \"$ac_cpp conftest.$ac_ext\"") >&5
    1942522218   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1942622219   ac_status=$?
     
    1942922222   cat conftest.err >&5
    1943022223-  echo "$as_me:10279: \$? = $ac_status" >&5
    19431 +  echo "$as_me:11070: \$? = $ac_status" >&5
     22224+  echo "$as_me:10959: \$? = $ac_status" >&5
    1943222225   (exit $ac_status); } >/dev/null; then
    1943322226   if test -s conftest.err; then
    1943422227     ac_cpp_err=$ac_c_preproc_warn_flag
    19435 @@ -10298,7 +11089,7 @@
     22228@@ -10298,7 +10978,7 @@
    1943622229 if test $ac_cv_header_stdc = yes; then
    1943722230   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    1943822231   cat >conftest.$ac_ext <<_ACEOF
    1943922232-#line 10301 "configure"
    19440 +#line 11092 "configure"
     22233+#line 10981 "configure"
    1944122234 #include "confdefs.h"
    1944222235 #include <string.h>
    1944322236 
    19444 @@ -10316,7 +11107,7 @@
     22237@@ -10316,7 +10996,7 @@
    1944522238 if test $ac_cv_header_stdc = yes; then
    1944622239   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    1944722240   cat >conftest.$ac_ext <<_ACEOF
    1944822241-#line 10319 "configure"
    19449 +#line 11110 "configure"
     22242+#line 10999 "configure"
    1945022243 #include "confdefs.h"
    1945122244 #include <stdlib.h>
    1945222245 
    19453 @@ -10337,7 +11128,7 @@
     22246@@ -10337,7 +11017,7 @@
    1945422247   :
    1945522248 else
    1945622249   cat >conftest.$ac_ext <<_ACEOF
    1945722250-#line 10340 "configure"
    19458 +#line 11131 "configure"
     22251+#line 11020 "configure"
    1945922252 #include "confdefs.h"
    1946022253 #include <ctype.h>
    1946122254 #if ((' ' & 0x0FF) == 0x020)
    19462 @@ -10363,15 +11154,15 @@
     22255@@ -10363,15 +11043,15 @@
    1946322256 }
    1946422257 _ACEOF
    1946522258 rm -f conftest$ac_exeext
    1946622259-if { (eval echo "$as_me:10366: \"$ac_link\"") >&5
    19467 +if { (eval echo "$as_me:11157: \"$ac_link\"") >&5
     22260+if { (eval echo "$as_me:11046: \"$ac_link\"") >&5
    1946822261   (eval $ac_link) 2>&5
    1946922262   ac_status=$?
    1947022263-  echo "$as_me:10369: \$? = $ac_status" >&5
    19471 +  echo "$as_me:11160: \$? = $ac_status" >&5
     22264+  echo "$as_me:11049: \$? = $ac_status" >&5
    1947222265   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    1947322266-  { (eval echo "$as_me:10371: \"$ac_try\"") >&5
    19474 +  { (eval echo "$as_me:11162: \"$ac_try\"") >&5
     22267+  { (eval echo "$as_me:11051: \"$ac_try\"") >&5
    1947522268   (eval $ac_try) 2>&5
    1947622269   ac_status=$?
    1947722270-  echo "$as_me:10374: \$? = $ac_status" >&5
    19478 +  echo "$as_me:11165: \$? = $ac_status" >&5
     22271+  echo "$as_me:11054: \$? = $ac_status" >&5
    1947922272   (exit $ac_status); }; }; then
    1948022273   :
    1948122274 else
    19482 @@ -10384,7 +11175,7 @@
     22275@@ -10384,7 +11064,7 @@
    1948322276 fi
    1948422277 fi
    1948522278 fi
    1948622279-echo "$as_me:10387: result: $ac_cv_header_stdc" >&5
    19487 +echo "$as_me:11178: result: $ac_cv_header_stdc" >&5
     22280+echo "$as_me:11067: result: $ac_cv_header_stdc" >&5
    1948822281 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    1948922282 if test $ac_cv_header_stdc = yes; then
    1949022283 
    19491 @@ -10400,28 +11191,28 @@
     22284@@ -10400,28 +11080,28 @@
    1949222285                   inttypes.h stdint.h unistd.h
    1949322286 do
    1949422287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    1949522288-echo "$as_me:10403: checking for $ac_header" >&5
    19496 +echo "$as_me:11194: checking for $ac_header" >&5
     22289+echo "$as_me:11083: checking for $ac_header" >&5
    1949722290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    1949822291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    1950122294   cat >conftest.$ac_ext <<_ACEOF
    1950222295-#line 10409 "configure"
    19503 +#line 11200 "configure"
     22296+#line 11089 "configure"
    1950422297 #include "confdefs.h"
    1950522298 $ac_includes_default
     
    1950822301 rm -f conftest.$ac_objext
    1950922302-if { (eval echo "$as_me:10415: \"$ac_compile\"") >&5
    19510 +if { (eval echo "$as_me:11206: \"$ac_compile\"") >&5
     22303+if { (eval echo "$as_me:11095: \"$ac_compile\"") >&5
    1951122304   (eval $ac_compile) 2>&5
    1951222305   ac_status=$?
    1951322306-  echo "$as_me:10418: \$? = $ac_status" >&5
    19514 +  echo "$as_me:11209: \$? = $ac_status" >&5
     22307+  echo "$as_me:11098: \$? = $ac_status" >&5
    1951522308   (exit $ac_status); } &&
    1951622309          { ac_try='test -s conftest.$ac_objext'
    1951722310-  { (eval echo "$as_me:10421: \"$ac_try\"") >&5
    19518 +  { (eval echo "$as_me:11212: \"$ac_try\"") >&5
     22311+  { (eval echo "$as_me:11101: \"$ac_try\"") >&5
    1951922312   (eval $ac_try) 2>&5
    1952022313   ac_status=$?
    1952122314-  echo "$as_me:10424: \$? = $ac_status" >&5
    19522 +  echo "$as_me:11215: \$? = $ac_status" >&5
     22315+  echo "$as_me:11104: \$? = $ac_status" >&5
    1952322316   (exit $ac_status); }; }; then
    1952422317   eval "$as_ac_Header=yes"
    1952522318 else
    19526 @@ -10431,7 +11222,7 @@
     22319@@ -10431,7 +11111,7 @@
    1952722320 fi
    1952822321 rm -f conftest.$ac_objext conftest.$ac_ext
    1952922322 fi
    1953022323-echo "$as_me:10434: result: `eval echo '${'$as_ac_Header'}'`" >&5
    19531 +echo "$as_me:11225: result: `eval echo '${'$as_ac_Header'}'`" >&5
     22324+echo "$as_me:11114: result: `eval echo '${'$as_ac_Header'}'`" >&5
    1953222325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    1953322326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    1953422327   cat >>confdefs.h <<EOF
    19535 @@ -10441,13 +11232,13 @@
     22328@@ -10441,13 +11121,13 @@
    1953622329 fi
    1953722330 done
    1953822331 
    1953922332-echo "$as_me:10444: checking for signed char" >&5
    19540 +echo "$as_me:11235: checking for signed char" >&5
     22333+echo "$as_me:11124: checking for signed char" >&5
    1954122334 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
    1954222335 if test "${ac_cv_type_signed_char+set}" = set; then
     
    1954522338   cat >conftest.$ac_ext <<_ACEOF
    1954622339-#line 10450 "configure"
    19547 +#line 11241 "configure"
     22340+#line 11130 "configure"
    1954822341 #include "confdefs.h"
    1954922342 $ac_includes_default
    1955022343 int
    19551 @@ -10462,16 +11253,16 @@
     22344@@ -10462,16 +11142,16 @@
    1955222345 }
    1955322346 _ACEOF
    1955422347 rm -f conftest.$ac_objext
    1955522348-if { (eval echo "$as_me:10465: \"$ac_compile\"") >&5
    19556 +if { (eval echo "$as_me:11256: \"$ac_compile\"") >&5
     22349+if { (eval echo "$as_me:11145: \"$ac_compile\"") >&5
    1955722350   (eval $ac_compile) 2>&5
    1955822351   ac_status=$?
    1955922352-  echo "$as_me:10468: \$? = $ac_status" >&5
    19560 +  echo "$as_me:11259: \$? = $ac_status" >&5
     22353+  echo "$as_me:11148: \$? = $ac_status" >&5
    1956122354   (exit $ac_status); } &&
    1956222355          { ac_try='test -s conftest.$ac_objext'
    1956322356-  { (eval echo "$as_me:10471: \"$ac_try\"") >&5
    19564 +  { (eval echo "$as_me:11262: \"$ac_try\"") >&5
     22357+  { (eval echo "$as_me:11151: \"$ac_try\"") >&5
    1956522358   (eval $ac_try) 2>&5
    1956622359   ac_status=$?
    1956722360-  echo "$as_me:10474: \$? = $ac_status" >&5
    19568 +  echo "$as_me:11265: \$? = $ac_status" >&5
     22361+  echo "$as_me:11154: \$? = $ac_status" >&5
    1956922362   (exit $ac_status); }; }; then
    1957022363   ac_cv_type_signed_char=yes
    1957122364 else
    19572 @@ -10481,10 +11272,10 @@
     22365@@ -10481,10 +11161,10 @@
    1957322366 fi
    1957422367 rm -f conftest.$ac_objext conftest.$ac_ext
    1957522368 fi
    1957622369-echo "$as_me:10484: result: $ac_cv_type_signed_char" >&5
    19577 +echo "$as_me:11275: result: $ac_cv_type_signed_char" >&5
     22370+echo "$as_me:11164: result: $ac_cv_type_signed_char" >&5
    1957822371 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
    1957922372 
    1958022373-echo "$as_me:10487: checking size of signed char" >&5
    19581 +echo "$as_me:11278: checking size of signed char" >&5
     22374+echo "$as_me:11167: checking size of signed char" >&5
    1958222375 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
    1958322376 if test "${ac_cv_sizeof_signed_char+set}" = set; then
    1958422377   echo $ECHO_N "(cached) $ECHO_C" >&6
    19585 @@ -10493,7 +11284,7 @@
     22378@@ -10493,7 +11173,7 @@
    1958622379   if test "$cross_compiling" = yes; then
    1958722380   # Depending upon the size, compute the lo and hi bounds.
    1958822381 cat >conftest.$ac_ext <<_ACEOF
    1958922382-#line 10496 "configure"
    19590 +#line 11287 "configure"
     22383+#line 11176 "configure"
    1959122384 #include "confdefs.h"
    1959222385 $ac_includes_default
    1959322386 int
    19594 @@ -10505,21 +11296,21 @@
     22387@@ -10505,21 +11185,21 @@
    1959522388 }
    1959622389 _ACEOF
    1959722390 rm -f conftest.$ac_objext
    1959822391-if { (eval echo "$as_me:10508: \"$ac_compile\"") >&5
    19599 +if { (eval echo "$as_me:11299: \"$ac_compile\"") >&5
     22392+if { (eval echo "$as_me:11188: \"$ac_compile\"") >&5
    1960022393   (eval $ac_compile) 2>&5
    1960122394   ac_status=$?
    1960222395-  echo "$as_me:10511: \$? = $ac_status" >&5
    19603 +  echo "$as_me:11302: \$? = $ac_status" >&5
     22396+  echo "$as_me:11191: \$? = $ac_status" >&5
    1960422397   (exit $ac_status); } &&
    1960522398          { ac_try='test -s conftest.$ac_objext'
    1960622399-  { (eval echo "$as_me:10514: \"$ac_try\"") >&5
    19607 +  { (eval echo "$as_me:11305: \"$ac_try\"") >&5
     22400+  { (eval echo "$as_me:11194: \"$ac_try\"") >&5
    1960822401   (eval $ac_try) 2>&5
    1960922402   ac_status=$?
    1961022403-  echo "$as_me:10517: \$? = $ac_status" >&5
    19611 +  echo "$as_me:11308: \$? = $ac_status" >&5
     22404+  echo "$as_me:11197: \$? = $ac_status" >&5
    1961222405   (exit $ac_status); }; }; then
    1961322406   ac_lo=0 ac_mid=0
     
    1961522408     cat >conftest.$ac_ext <<_ACEOF
    1961622409-#line 10522 "configure"
    19617 +#line 11313 "configure"
     22410+#line 11202 "configure"
    1961822411 #include "confdefs.h"
    1961922412 $ac_includes_default
    1962022413 int
    19621 @@ -10531,16 +11322,16 @@
     22414@@ -10531,16 +11211,16 @@
    1962222415 }
    1962322416 _ACEOF
    1962422417 rm -f conftest.$ac_objext
    1962522418-if { (eval echo "$as_me:10534: \"$ac_compile\"") >&5
    19626 +if { (eval echo "$as_me:11325: \"$ac_compile\"") >&5
     22419+if { (eval echo "$as_me:11214: \"$ac_compile\"") >&5
    1962722420   (eval $ac_compile) 2>&5
    1962822421   ac_status=$?
    1962922422-  echo "$as_me:10537: \$? = $ac_status" >&5
    19630 +  echo "$as_me:11328: \$? = $ac_status" >&5
     22423+  echo "$as_me:11217: \$? = $ac_status" >&5
    1963122424   (exit $ac_status); } &&
    1963222425          { ac_try='test -s conftest.$ac_objext'
    1963322426-  { (eval echo "$as_me:10540: \"$ac_try\"") >&5
    19634 +  { (eval echo "$as_me:11331: \"$ac_try\"") >&5
     22427+  { (eval echo "$as_me:11220: \"$ac_try\"") >&5
    1963522428   (eval $ac_try) 2>&5
    1963622429   ac_status=$?
    1963722430-  echo "$as_me:10543: \$? = $ac_status" >&5
    19638 +  echo "$as_me:11334: \$? = $ac_status" >&5
     22431+  echo "$as_me:11223: \$? = $ac_status" >&5
    1963922432   (exit $ac_status); }; }; then
    1964022433   ac_hi=$ac_mid; break
    1964122434 else
    19642 @@ -10556,7 +11347,7 @@
     22435@@ -10556,7 +11236,7 @@
    1964322436 ac_hi=-1 ac_mid=-1
    1964422437   while :; do
    1964522438     cat >conftest.$ac_ext <<_ACEOF
    1964622439-#line 10559 "configure"
    19647 +#line 11350 "configure"
     22440+#line 11239 "configure"
    1964822441 #include "confdefs.h"
    1964922442 $ac_includes_default
    1965022443 int
    19651 @@ -10568,16 +11359,16 @@
     22444@@ -10568,16 +11248,16 @@
    1965222445 }
    1965322446 _ACEOF
    1965422447 rm -f conftest.$ac_objext
    1965522448-if { (eval echo "$as_me:10571: \"$ac_compile\"") >&5
    19656 +if { (eval echo "$as_me:11362: \"$ac_compile\"") >&5
     22449+if { (eval echo "$as_me:11251: \"$ac_compile\"") >&5
    1965722450   (eval $ac_compile) 2>&5
    1965822451   ac_status=$?
    1965922452-  echo "$as_me:10574: \$? = $ac_status" >&5
    19660 +  echo "$as_me:11365: \$? = $ac_status" >&5
     22453+  echo "$as_me:11254: \$? = $ac_status" >&5
    1966122454   (exit $ac_status); } &&
    1966222455          { ac_try='test -s conftest.$ac_objext'
    1966322456-  { (eval echo "$as_me:10577: \"$ac_try\"") >&5
    19664 +  { (eval echo "$as_me:11368: \"$ac_try\"") >&5
     22457+  { (eval echo "$as_me:11257: \"$ac_try\"") >&5
    1966522458   (eval $ac_try) 2>&5
    1966622459   ac_status=$?
    1966722460-  echo "$as_me:10580: \$? = $ac_status" >&5
    19668 +  echo "$as_me:11371: \$? = $ac_status" >&5
     22461+  echo "$as_me:11260: \$? = $ac_status" >&5
    1966922462   (exit $ac_status); }; }; then
    1967022463   ac_lo=$ac_mid; break
    1967122464 else
    19672 @@ -10593,7 +11384,7 @@
     22465@@ -10593,7 +11273,7 @@
    1967322466 while test "x$ac_lo" != "x$ac_hi"; do
    1967422467   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    1967522468   cat >conftest.$ac_ext <<_ACEOF
    1967622469-#line 10596 "configure"
    19677 +#line 11387 "configure"
     22470+#line 11276 "configure"
    1967822471 #include "confdefs.h"
    1967922472 $ac_includes_default
    1968022473 int
    19681 @@ -10605,16 +11396,16 @@
     22474@@ -10605,16 +11285,16 @@
    1968222475 }
    1968322476 _ACEOF
    1968422477 rm -f conftest.$ac_objext
    1968522478-if { (eval echo "$as_me:10608: \"$ac_compile\"") >&5
    19686 +if { (eval echo "$as_me:11399: \"$ac_compile\"") >&5
     22479+if { (eval echo "$as_me:11288: \"$ac_compile\"") >&5
    1968722480   (eval $ac_compile) 2>&5
    1968822481   ac_status=$?
    1968922482-  echo "$as_me:10611: \$? = $ac_status" >&5
    19690 +  echo "$as_me:11402: \$? = $ac_status" >&5
     22483+  echo "$as_me:11291: \$? = $ac_status" >&5
    1969122484   (exit $ac_status); } &&
    1969222485          { ac_try='test -s conftest.$ac_objext'
    1969322486-  { (eval echo "$as_me:10614: \"$ac_try\"") >&5
    19694 +  { (eval echo "$as_me:11405: \"$ac_try\"") >&5
     22487+  { (eval echo "$as_me:11294: \"$ac_try\"") >&5
    1969522488   (eval $ac_try) 2>&5
    1969622489   ac_status=$?
    1969722490-  echo "$as_me:10617: \$? = $ac_status" >&5
    19698 +  echo "$as_me:11408: \$? = $ac_status" >&5
     22491+  echo "$as_me:11297: \$? = $ac_status" >&5
    1969922492   (exit $ac_status); }; }; then
    1970022493   ac_hi=$ac_mid
    1970122494 else
    19702 @@ -10627,12 +11418,12 @@
     22495@@ -10627,12 +11307,12 @@
    1970322496 ac_cv_sizeof_signed_char=$ac_lo
    1970422497 else
    1970522498   if test "$cross_compiling" = yes; then
    1970622499-  { { echo "$as_me:10630: error: cannot run test program while cross compiling" >&5
    19707 +  { { echo "$as_me:11421: error: cannot run test program while cross compiling" >&5
     22500+  { { echo "$as_me:11310: error: cannot run test program while cross compiling" >&5
    1970822501 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    1970922502    { (exit 1); exit 1; }; }
     
    1971122504   cat >conftest.$ac_ext <<_ACEOF
    1971222505-#line 10635 "configure"
    19713 +#line 11426 "configure"
     22506+#line 11315 "configure"
    1971422507 #include "confdefs.h"
    1971522508 $ac_includes_default
    1971622509 int
    19717 @@ -10648,15 +11439,15 @@
     22510@@ -10648,15 +11328,15 @@
    1971822511 }
    1971922512 _ACEOF
    1972022513 rm -f conftest$ac_exeext
    1972122514-if { (eval echo "$as_me:10651: \"$ac_link\"") >&5
    19722 +if { (eval echo "$as_me:11442: \"$ac_link\"") >&5
     22515+if { (eval echo "$as_me:11331: \"$ac_link\"") >&5
    1972322516   (eval $ac_link) 2>&5
    1972422517   ac_status=$?
    1972522518-  echo "$as_me:10654: \$? = $ac_status" >&5
    19726 +  echo "$as_me:11445: \$? = $ac_status" >&5
     22519+  echo "$as_me:11334: \$? = $ac_status" >&5
    1972722520   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    1972822521-  { (eval echo "$as_me:10656: \"$ac_try\"") >&5
    19729 +  { (eval echo "$as_me:11447: \"$ac_try\"") >&5
     22522+  { (eval echo "$as_me:11336: \"$ac_try\"") >&5
    1973022523   (eval $ac_try) 2>&5
    1973122524   ac_status=$?
    1973222525-  echo "$as_me:10659: \$? = $ac_status" >&5
    19733 +  echo "$as_me:11450: \$? = $ac_status" >&5
     22526+  echo "$as_me:11339: \$? = $ac_status" >&5
    1973422527   (exit $ac_status); }; }; then
    1973522528   ac_cv_sizeof_signed_char=`cat conftest.val`
    1973622529 else
    19737 @@ -10672,7 +11463,7 @@
     22530@@ -10672,7 +11352,7 @@
    1973822531   ac_cv_sizeof_signed_char=0
    1973922532 fi
    1974022533 fi
    1974122534-echo "$as_me:10675: result: $ac_cv_sizeof_signed_char" >&5
    19742 +echo "$as_me:11466: result: $ac_cv_sizeof_signed_char" >&5
     22535+echo "$as_me:11355: result: $ac_cv_sizeof_signed_char" >&5
    1974322536 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
    1974422537 cat >>confdefs.h <<EOF
    1974522538 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
    19746 @@ -10683,7 +11474,7 @@
     22539@@ -10683,7 +11363,7 @@
    1974722540 else
    1974822541        NCURSES_SBOOL="char"
    1974922542 fi
    1975022543-echo "$as_me:10686: checking if you want to use signed Boolean array in term.h" >&5
    19751 +echo "$as_me:11477: checking if you want to use signed Boolean array in term.h" >&5
     22544+echo "$as_me:11366: checking if you want to use signed Boolean array in term.h" >&5
    1975222545 echo $ECHO_N "checking if you want to use signed Boolean array in term.h... $ECHO_C" >&6
    1975322546 
    1975422547 # Check whether --enable-signed-char or --disable-signed-char was given.
    19755 @@ -10693,12 +11484,12 @@
     22548@@ -10693,12 +11373,12 @@
    1975622549 else
    1975722550   with_signed_char=no
    1975822551 fi;
    1975922552-echo "$as_me:10696: result: $with_signed_char" >&5
    19760 +echo "$as_me:11487: result: $with_signed_char" >&5
     22553+echo "$as_me:11376: result: $with_signed_char" >&5
    1976122554 echo "${ECHO_T}$with_signed_char" >&6
    1976222555 test "$with_signed_char" != yes && NCURSES_SBOOL="char"
     
    1976422557 ###   use option --enable-sigwinch to turn on use of SIGWINCH logic
    1976522558-echo "$as_me:10701: checking if you want SIGWINCH handler" >&5
    19766 +echo "$as_me:11492: checking if you want SIGWINCH handler" >&5
     22559+echo "$as_me:11381: checking if you want SIGWINCH handler" >&5
    1976722560 echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6
    1976822561 
    1976922562 # Check whether --enable-sigwinch or --disable-sigwinch was given.
    19770 @@ -10708,14 +11499,14 @@
     22563@@ -10708,14 +11388,14 @@
    1977122564 else
    1977222565   with_sigwinch=$with_ext_funcs
    1977322566 fi;
    1977422567-echo "$as_me:10711: result: $with_sigwinch" >&5
    19775 +echo "$as_me:11502: result: $with_sigwinch" >&5
     22568+echo "$as_me:11391: result: $with_sigwinch" >&5
    1977622569 echo "${ECHO_T}$with_sigwinch" >&6
    1977722570 test "$with_sigwinch" = yes && cat >>confdefs.h <<\EOF
     
    1978122574 ###   use option --enable-tcap-names to allow user to define new capabilities
    1978222575-echo "$as_me:10718: checking if you want user-definable terminal capabilities like termcap" >&5
    19783 +echo "$as_me:11509: checking if you want user-definable terminal capabilities like termcap" >&5
     22576+echo "$as_me:11398: checking if you want user-definable terminal capabilities like termcap" >&5
    1978422577 echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6
    1978522578 
    1978622579 # Check whether --enable-tcap-names or --disable-tcap-names was given.
    19787 @@ -10725,7 +11516,7 @@
     22580@@ -10725,7 +11405,7 @@
    1978822581 else
    1978922582   with_tcap_names=$with_ext_funcs
    1979022583 fi;
    1979122584-echo "$as_me:10728: result: $with_tcap_names" >&5
    19792 +echo "$as_me:11519: result: $with_tcap_names" >&5
     22585+echo "$as_me:11408: result: $with_tcap_names" >&5
    1979322586 echo "${ECHO_T}$with_tcap_names" >&6
    1979422587 NCURSES_XNAMES=0
    1979522588 test "$with_tcap_names" = yes && NCURSES_XNAMES=1
    19796 @@ -10733,7 +11524,7 @@
     22589@@ -10733,7 +11413,7 @@
    1979722590 ###############################################################################
    1979822591 # These options are relatively safe to experiment with.
    1979922592 
    1980022593-echo "$as_me:10736: checking if you want all development code" >&5
    19801 +echo "$as_me:11527: checking if you want all development code" >&5
     22594+echo "$as_me:11416: checking if you want all development code" >&5
    1980222595 echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6
    1980322596 
    1980422597 # Check whether --with-develop or --without-develop was given.
    19805 @@ -10743,11 +11534,11 @@
     22598@@ -10743,11 +11423,11 @@
    1980622599 else
    1980722600   with_develop=no
    1980822601 fi;
    1980922602-echo "$as_me:10746: result: $with_develop" >&5
    19810 +echo "$as_me:11537: result: $with_develop" >&5
     22603+echo "$as_me:11426: result: $with_develop" >&5
    1981122604 echo "${ECHO_T}$with_develop" >&6
    1981222605 
    1981322606 ###   use option --enable-hard-tabs to turn on use of hard-tabs optimize
    1981422607-echo "$as_me:10750: checking if you want hard-tabs code" >&5
    19815 +echo "$as_me:11541: checking if you want hard-tabs code" >&5
     22608+echo "$as_me:11430: checking if you want hard-tabs code" >&5
    1981622609 echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6
    1981722610 
    1981822611 # Check whether --enable-hard-tabs or --disable-hard-tabs was given.
    19819 @@ -10757,14 +11548,14 @@
     22612@@ -10757,14 +11437,14 @@
    1982022613 else
    1982122614   enable_hard_tabs=$with_develop
    1982222615 fi;
    1982322616-echo "$as_me:10760: result: $enable_hard_tabs" >&5
    19824 +echo "$as_me:11551: result: $enable_hard_tabs" >&5
     22617+echo "$as_me:11440: result: $enable_hard_tabs" >&5
    1982522618 echo "${ECHO_T}$enable_hard_tabs" >&6
    1982622619 test "$enable_hard_tabs" = yes && cat >>confdefs.h <<\EOF
     
    1983022623 ###   use option --enable-xmc-glitch to turn on use of magic-cookie optimize
    1983122624-echo "$as_me:10767: checking if you want limited support for xmc" >&5
    19832 +echo "$as_me:11558: checking if you want limited support for xmc" >&5
     22625+echo "$as_me:11447: checking if you want limited support for xmc" >&5
    1983322626 echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6
    1983422627 
    1983522628 # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given.
    19836 @@ -10774,7 +11565,7 @@
     22629@@ -10774,7 +11454,7 @@
    1983722630 else
    1983822631   enable_xmc_glitch=$with_develop
    1983922632 fi;
    1984022633-echo "$as_me:10777: result: $enable_xmc_glitch" >&5
    19841 +echo "$as_me:11568: result: $enable_xmc_glitch" >&5
     22634+echo "$as_me:11457: result: $enable_xmc_glitch" >&5
    1984222635 echo "${ECHO_T}$enable_xmc_glitch" >&6
    1984322636 test "$enable_xmc_glitch" = yes && cat >>confdefs.h <<\EOF
    1984422637 #define USE_XMC_SUPPORT 1
    19845 @@ -10783,7 +11574,7 @@
     22638@@ -10783,7 +11463,7 @@
    1984622639 ###############################################################################
    1984722640 # These are just experimental, probably should not be in a package:
    1984822641 
    1984922642-echo "$as_me:10786: checking if you do not want to assume colors are white-on-black" >&5
    19850 +echo "$as_me:11577: checking if you do not want to assume colors are white-on-black" >&5
     22643+echo "$as_me:11466: checking if you do not want to assume colors are white-on-black" >&5
    1985122644 echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6
    1985222645 
    1985322646 # Check whether --enable-assumed-color or --disable-assumed-color was given.
    19854 @@ -10793,14 +11584,14 @@
     22647@@ -10793,14 +11473,14 @@
    1985522648 else
    1985622649   with_assumed_color=yes
    1985722650 fi;
    1985822651-echo "$as_me:10796: result: $with_assumed_color" >&5
    19859 +echo "$as_me:11587: result: $with_assumed_color" >&5
     22652+echo "$as_me:11476: result: $with_assumed_color" >&5
    1986022653 echo "${ECHO_T}$with_assumed_color" >&6
    1986122654 test "$with_assumed_color" = yes && cat >>confdefs.h <<\EOF
     
    1986522658 ###   use option --enable-hashmap to turn on use of hashmap scrolling logic
    1986622659-echo "$as_me:10803: checking if you want hashmap scrolling-optimization code" >&5
    19867 +echo "$as_me:11594: checking if you want hashmap scrolling-optimization code" >&5
     22660+echo "$as_me:11483: checking if you want hashmap scrolling-optimization code" >&5
    1986822661 echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6
    1986922662 
    1987022663 # Check whether --enable-hashmap or --disable-hashmap was given.
    19871 @@ -10810,14 +11601,14 @@
     22664@@ -10810,14 +11490,14 @@
    1987222665 else
    1987322666   with_hashmap=yes
    1987422667 fi;
    1987522668-echo "$as_me:10813: result: $with_hashmap" >&5
    19876 +echo "$as_me:11604: result: $with_hashmap" >&5
     22669+echo "$as_me:11493: result: $with_hashmap" >&5
    1987722670 echo "${ECHO_T}$with_hashmap" >&6
    1987822671 test "$with_hashmap" = yes && cat >>confdefs.h <<\EOF
     
    1988222675 ###   use option --enable-colorfgbg to turn on use of $COLORFGBG environment
    1988322676-echo "$as_me:10820: checking if you want colorfgbg code" >&5
    19884 +echo "$as_me:11611: checking if you want colorfgbg code" >&5
     22677+echo "$as_me:11500: checking if you want colorfgbg code" >&5
    1988522678 echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6
    1988622679 
    1988722680 # Check whether --enable-colorfgbg or --disable-colorfgbg was given.
    19888 @@ -10827,14 +11618,14 @@
     22681@@ -10827,14 +11507,14 @@
    1988922682 else
    1989022683   with_colorfgbg=no
    1989122684 fi;
    1989222685-echo "$as_me:10830: result: $with_colorfgbg" >&5
    19893 +echo "$as_me:11621: result: $with_colorfgbg" >&5
     22686+echo "$as_me:11510: result: $with_colorfgbg" >&5
    1989422687 echo "${ECHO_T}$with_colorfgbg" >&6
    1989522688 test "$with_colorfgbg" = yes && cat >>confdefs.h <<\EOF
     
    1989922692 ###   use option --enable-interop to turn on use of bindings used for interop
    1990022693-echo "$as_me:10837: checking if you want interop bindings" >&5
    19901 +echo "$as_me:11628: checking if you want interop bindings" >&5
     22694+echo "$as_me:11517: checking if you want interop bindings" >&5
    1990222695 echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6
    1990322696 
    1990422697 # Check whether --enable-interop or --disable-interop was given.
    19905 @@ -10844,7 +11635,7 @@
     22698@@ -10844,7 +11524,7 @@
    1990622699 else
    1990722700   with_exp_interop=no
    1990822701 fi;
    1990922702-echo "$as_me:10847: result: $with_exp_interop" >&5
    19910 +echo "$as_me:11638: result: $with_exp_interop" >&5
     22703+echo "$as_me:11527: result: $with_exp_interop" >&5
    1991122704 echo "${ECHO_T}$with_exp_interop" >&6
    1991222705 
    1991322706 NCURSES_INTEROP_FUNCS=0
    19914 @@ -10853,7 +11644,7 @@
     22707@@ -10853,7 +11533,7 @@
    1991522708 # This is still experimental (20080329), but should ultimately be moved to
    1991622709 # the script-block --with-normal, etc.
    1991722710 
    1991822711-echo "$as_me:10856: checking if you want to link with the pthread library" >&5
    19919 +echo "$as_me:11647: checking if you want to link with the pthread library" >&5
     22712+echo "$as_me:11536: checking if you want to link with the pthread library" >&5
    1992022713 echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6
    1992122714 
    1992222715 # Check whether --with-pthread or --without-pthread was given.
    19923 @@ -10863,27 +11654,27 @@
     22716@@ -10863,27 +11543,27 @@
    1992422717 else
    1992522718   with_pthread=no
    1992622719 fi;
    1992722720-echo "$as_me:10866: result: $with_pthread" >&5
    19928 +echo "$as_me:11657: result: $with_pthread" >&5
     22721+echo "$as_me:11546: result: $with_pthread" >&5
    1992922722 echo "${ECHO_T}$with_pthread" >&6
    1993022723 
    1993122724 if test "$with_pthread" != no ; then
    1993222725-    echo "$as_me:10870: checking for pthread.h" >&5
    19933 +    echo "$as_me:11661: checking for pthread.h" >&5
     22726+    echo "$as_me:11550: checking for pthread.h" >&5
    1993422727 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
    1993522728 if test "${ac_cv_header_pthread_h+set}" = set; then
     
    1993822731   cat >conftest.$ac_ext <<_ACEOF
    1993922732-#line 10876 "configure"
    19940 +#line 11667 "configure"
     22733+#line 11556 "configure"
    1994122734 #include "confdefs.h"
    1994222735 #include <pthread.h>
    1994322736 _ACEOF
    1994422737-if { (eval echo "$as_me:10880: \"$ac_cpp conftest.$ac_ext\"") >&5
    19945 +if { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5
     22738+if { (eval echo "$as_me:11560: \"$ac_cpp conftest.$ac_ext\"") >&5
    1994622739   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    1994722740   ac_status=$?
     
    1995022743   cat conftest.err >&5
    1995122744-  echo "$as_me:10886: \$? = $ac_status" >&5
    19952 +  echo "$as_me:11677: \$? = $ac_status" >&5
     22745+  echo "$as_me:11566: \$? = $ac_status" >&5
    1995322746   (exit $ac_status); } >/dev/null; then
    1995422747   if test -s conftest.err; then
    1995522748     ac_cpp_err=$ac_c_preproc_warn_flag
    19956 @@ -10902,7 +11693,7 @@
     22749@@ -10902,7 +11582,7 @@
    1995722750 fi
    1995822751 rm -f conftest.err conftest.$ac_ext
    1995922752 fi
    1996022753-echo "$as_me:10905: result: $ac_cv_header_pthread_h" >&5
    19961 +echo "$as_me:11696: result: $ac_cv_header_pthread_h" >&5
     22754+echo "$as_me:11585: result: $ac_cv_header_pthread_h" >&5
    1996222755 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
    1996322756 if test $ac_cv_header_pthread_h = yes; then
    1996422757 
    19965 @@ -10910,12 +11701,14 @@
     22758@@ -10910,12 +11590,14 @@
    1996622759 #define HAVE_PTHREADS_H 1
    1996722760 EOF
     
    1997522768+       for cf_lib_pthread in pthread c_r
    1997622769+       do
    19977 +           echo "$as_me:11706: checking if we can link with the $cf_lib_pthread library" >&5
     22770+           echo "$as_me:11595: checking if we can link with the $cf_lib_pthread library" >&5
    1997822771+echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6
    1997922772+           cf_save_LIBS="$LIBS"
    1998022773+           LIBS="-l$cf_lib_pthread $LIBS"
    1998122774+           cat >conftest.$ac_ext <<_ACEOF
    19982 +#line 11711 "configure"
     22775+#line 11600 "configure"
    1998322776 #include "confdefs.h"
    1998422777 
    1998522778 #include <pthread.h>
    19986 @@ -10924,23 +11717,24 @@
     22779@@ -10924,23 +11606,24 @@
    1998722780 main ()
    1998822781 {
     
    1999822791 rm -f conftest.$ac_objext conftest$ac_exeext
    1999922792-if { (eval echo "$as_me:10934: \"$ac_link\"") >&5
    20000 +if { (eval echo "$as_me:11728: \"$ac_link\"") >&5
     22793+if { (eval echo "$as_me:11617: \"$ac_link\"") >&5
    2000122794   (eval $ac_link) 2>&5
    2000222795   ac_status=$?
    2000322796-  echo "$as_me:10937: \$? = $ac_status" >&5
    20004 +  echo "$as_me:11731: \$? = $ac_status" >&5
     22797+  echo "$as_me:11620: \$? = $ac_status" >&5
    2000522798   (exit $ac_status); } &&
    2000622799          { ac_try='test -s conftest$ac_exeext'
    2000722800-  { (eval echo "$as_me:10940: \"$ac_try\"") >&5
    20008 +  { (eval echo "$as_me:11734: \"$ac_try\"") >&5
     22801+  { (eval echo "$as_me:11623: \"$ac_try\"") >&5
    2000922802   (eval $ac_try) 2>&5
    2001022803   ac_status=$?
    2001122804-  echo "$as_me:10943: \$? = $ac_status" >&5
    20012 +  echo "$as_me:11737: \$? = $ac_status" >&5
     22805+  echo "$as_me:11626: \$? = $ac_status" >&5
    2001322806   (exit $ac_status); }; }; then
    2001422807   with_pthread=yes
    2001522808 else
    20016 @@ -10949,34 +11743,36 @@
     22809@@ -10949,34 +11632,36 @@
    2001722810 with_pthread=no
    2001822811 fi
     
    2002122814-        echo "$as_me:10953: result: $with_pthread" >&5
    2002222815+           LIBS="$cf_save_LIBS"
    20023 +           echo "$as_me:11747: result: $with_pthread" >&5
     22816+           echo "$as_me:11636: result: $with_pthread" >&5
    2002422817 echo "${ECHO_T}$with_pthread" >&6
    2002522818+           test "$with_pthread" = yes && break
     
    2003822831-            { { echo "$as_me:10963: error: Cannot link with pthread library" >&5
    2003922832+       else
    20040 +           { { echo "$as_me:11759: error: Cannot link with pthread library" >&5
     22833+           { { echo "$as_me:11648: error: Cannot link with pthread library" >&5
    2004122834 echo "$as_me: error: Cannot link with pthread library" >&2;}
    2004222835    { (exit 1); exit 1; }; }
     
    2005022843 if test "x$with_pthread" != xno; then
    2005122844-       echo "$as_me:10973: checking for pthread_kill" >&5
    20052 +       echo "$as_me:11769: checking for pthread_kill" >&5
     22845+       echo "$as_me:11658: checking for pthread_kill" >&5
    2005322846 echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6
    2005422847 if test "${ac_cv_func_pthread_kill+set}" = set; then
     
    2005722850   cat >conftest.$ac_ext <<_ACEOF
    2005822851-#line 10979 "configure"
    20059 +#line 11775 "configure"
     22852+#line 11664 "configure"
    2006022853 #include "confdefs.h"
    2006122854 /* System header to define __stub macros and hopefully few prototypes,
    2006222855     which can conflict with char pthread_kill (); below.  */
    20063 @@ -11007,16 +11803,16 @@
     22856@@ -10999,7 +11684,7 @@
     22857 #if defined (__stub_pthread_kill) || defined (__stub___pthread_kill)
     22858 choke me
     22859 #else
     22860-f = pthread_kill;
     22861+f = pthread_kill; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     22862 #endif
     22863 
     22864   ;
     22865@@ -11007,16 +11692,16 @@
    2006422866 }
    2006522867 _ACEOF
    2006622868 rm -f conftest.$ac_objext conftest$ac_exeext
    2006722869-if { (eval echo "$as_me:11010: \"$ac_link\"") >&5
    20068 +if { (eval echo "$as_me:11806: \"$ac_link\"") >&5
     22870+if { (eval echo "$as_me:11695: \"$ac_link\"") >&5
    2006922871   (eval $ac_link) 2>&5
    2007022872   ac_status=$?
    2007122873-  echo "$as_me:11013: \$? = $ac_status" >&5
    20072 +  echo "$as_me:11809: \$? = $ac_status" >&5
     22874+  echo "$as_me:11698: \$? = $ac_status" >&5
    2007322875   (exit $ac_status); } &&
    2007422876          { ac_try='test -s conftest$ac_exeext'
    2007522877-  { (eval echo "$as_me:11016: \"$ac_try\"") >&5
    20076 +  { (eval echo "$as_me:11812: \"$ac_try\"") >&5
     22878+  { (eval echo "$as_me:11701: \"$ac_try\"") >&5
    2007722879   (eval $ac_try) 2>&5
    2007822880   ac_status=$?
    2007922881-  echo "$as_me:11019: \$? = $ac_status" >&5
    20080 +  echo "$as_me:11815: \$? = $ac_status" >&5
     22882+  echo "$as_me:11704: \$? = $ac_status" >&5
    2008122883   (exit $ac_status); }; }; then
    2008222884   ac_cv_func_pthread_kill=yes
    2008322885 else
    20084 @@ -11026,11 +11822,11 @@
     22886@@ -11026,11 +11711,11 @@
    2008522887 fi
    2008622888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2008722889 fi
    2008822890-echo "$as_me:11029: result: $ac_cv_func_pthread_kill" >&5
    20089 +echo "$as_me:11825: result: $ac_cv_func_pthread_kill" >&5
     22891+echo "$as_me:11714: result: $ac_cv_func_pthread_kill" >&5
    2009022892 echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6
    2009122893 if test $ac_cv_func_pthread_kill = yes; then
    2009222894 
    2009322895-               echo "$as_me:11033: checking if you want to allow EINTR in wgetch with pthreads" >&5
    20094 +               echo "$as_me:11829: checking if you want to allow EINTR in wgetch with pthreads" >&5
     22896+               echo "$as_me:11718: checking if you want to allow EINTR in wgetch with pthreads" >&5
    2009522897 echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6
    2009622898 
    2009722899 # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given.
    20098 @@ -11040,7 +11836,7 @@
     22900@@ -11040,7 +11725,7 @@
    2009922901 else
    2010022902   use_pthreads_eintr=no
    2010122903 fi;
    2010222904-               echo "$as_me:11043: result: $use_pthreads_eintr" >&5
    20103 +               echo "$as_me:11839: result: $use_pthreads_eintr" >&5
     22905+               echo "$as_me:11728: result: $use_pthreads_eintr" >&5
    2010422906 echo "${ECHO_T}$use_pthreads_eintr" >&6
    2010522907                if test $use_pthreads_eintr = yes ; then
    2010622908                        cat >>confdefs.h <<\EOF
    20107 @@ -11050,7 +11846,7 @@
     22909@@ -11050,7 +11735,7 @@
    2010822910                fi
    2010922911 fi
    2011022912 
    2011122913-       echo "$as_me:11053: checking if you want to use weak-symbols for pthreads" >&5
    20112 +       echo "$as_me:11849: checking if you want to use weak-symbols for pthreads" >&5
     22914+       echo "$as_me:11738: checking if you want to use weak-symbols for pthreads" >&5
    2011322915 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6
    2011422916 
    2011522917 # Check whether --enable-weak-symbols or --disable-weak-symbols was given.
    20116 @@ -11060,18 +11856,18 @@
     22918@@ -11060,18 +11745,18 @@
    2011722919 else
    2011822920   use_weak_symbols=no
    2011922921 fi;
    2012022922-       echo "$as_me:11063: result: $use_weak_symbols" >&5
    20121 +       echo "$as_me:11859: result: $use_weak_symbols" >&5
     22923+       echo "$as_me:11748: result: $use_weak_symbols" >&5
    2012222924 echo "${ECHO_T}$use_weak_symbols" >&6
    2012322925        if test "$use_weak_symbols" = yes ; then
    2012422926 
    2012522927-echo "$as_me:11067: checking if $CC supports weak symbols" >&5
    20126 +echo "$as_me:11863: checking if $CC supports weak symbols" >&5
     22928+echo "$as_me:11752: checking if $CC supports weak symbols" >&5
    2012722929 echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6
    2012822930 if test "${cf_cv_weak_symbols+set}" = set; then
     
    2013222934 cat >conftest.$ac_ext <<_ACEOF
    2013322935-#line 11074 "configure"
    20134 +#line 11870 "configure"
     22936+#line 11759 "configure"
    2013522937 #include "confdefs.h"
    2013622938 
    2013722939 #include <stdio.h>
    20138 @@ -11097,16 +11893,16 @@
     22940@@ -11097,16 +11782,16 @@
    2013922941 }
    2014022942 _ACEOF
    2014122943 rm -f conftest.$ac_objext
    2014222944-if { (eval echo "$as_me:11100: \"$ac_compile\"") >&5
    20143 +if { (eval echo "$as_me:11896: \"$ac_compile\"") >&5
     22945+if { (eval echo "$as_me:11785: \"$ac_compile\"") >&5
    2014422946   (eval $ac_compile) 2>&5
    2014522947   ac_status=$?
    2014622948-  echo "$as_me:11103: \$? = $ac_status" >&5
    20147 +  echo "$as_me:11899: \$? = $ac_status" >&5
     22949+  echo "$as_me:11788: \$? = $ac_status" >&5
    2014822950   (exit $ac_status); } &&
    2014922951          { ac_try='test -s conftest.$ac_objext'
    2015022952-  { (eval echo "$as_me:11106: \"$ac_try\"") >&5
    20151 +  { (eval echo "$as_me:11902: \"$ac_try\"") >&5
     22953+  { (eval echo "$as_me:11791: \"$ac_try\"") >&5
    2015222954   (eval $ac_try) 2>&5
    2015322955   ac_status=$?
    2015422956-  echo "$as_me:11109: \$? = $ac_status" >&5
    20155 +  echo "$as_me:11905: \$? = $ac_status" >&5
     22957+  echo "$as_me:11794: \$? = $ac_status" >&5
    2015622958   (exit $ac_status); }; }; then
    2015722959   cf_cv_weak_symbols=yes
    2015822960 else
    20159 @@ -11117,7 +11913,7 @@
     22961@@ -11117,7 +11802,7 @@
    2016022962 rm -f conftest.$ac_objext conftest.$ac_ext
    2016122963 
    2016222964 fi
    2016322965-echo "$as_me:11120: result: $cf_cv_weak_symbols" >&5
    20164 +echo "$as_me:11916: result: $cf_cv_weak_symbols" >&5
     22966+echo "$as_me:11805: result: $cf_cv_weak_symbols" >&5
    2016522967 echo "${ECHO_T}$cf_cv_weak_symbols" >&6
    2016622968 
    2016722969        else
    20168 @@ -11148,7 +11944,7 @@
     22970@@ -11148,7 +11833,7 @@
    2016922971 # opaque outside of that, so there is no --enable-opaque option.  We can use
    2017022972 # this option without --with-pthreads, but this will be always set for
    2017122973 # pthreads.
    2017222974-echo "$as_me:11151: checking if you want experimental reentrant code" >&5
    20173 +echo "$as_me:11947: checking if you want experimental reentrant code" >&5
     22975+echo "$as_me:11836: checking if you want experimental reentrant code" >&5
    2017422976 echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6
    2017522977 
    2017622978 # Check whether --enable-reentrant or --disable-reentrant was given.
    20177 @@ -11158,7 +11954,7 @@
     22979@@ -11158,7 +11843,7 @@
    2017822980 else
    2017922981   with_reentrant=no
    2018022982 fi;
    2018122983-echo "$as_me:11161: result: $with_reentrant" >&5
    20182 +echo "$as_me:11957: result: $with_reentrant" >&5
     22984+echo "$as_me:11846: result: $with_reentrant" >&5
    2018322985 echo "${ECHO_T}$with_reentrant" >&6
    2018422986 if test "$with_reentrant" = yes ; then
    2018522987        cf_cv_enable_reentrant=1
    20186 @@ -11184,7 +11980,7 @@
     22988@@ -11184,7 +11869,7 @@
    2018722989        5.*)
    2018822990                cf_cv_rel_version=6.0
    2018922991                cf_cv_abi_version=6
    2019022992-               { echo "$as_me:11187: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    20191 +               { echo "$as_me:11983: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
     22993+               { echo "$as_me:11872: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5
    2019222994 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;}
    2019322995                ;;
    2019422996        esac
    20195 @@ -11199,7 +11995,7 @@
     22997@@ -11199,7 +11884,7 @@
    2019622998 
    2019722999 ### Allow using a different wrap-prefix
    2019823000 if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then
    2019923001-       echo "$as_me:11202: checking for prefix used to wrap public variables" >&5
    20200 +       echo "$as_me:11998: checking for prefix used to wrap public variables" >&5
     23002+       echo "$as_me:11887: checking for prefix used to wrap public variables" >&5
    2020123003 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6
    2020223004 
    2020323005 # Check whether --with-wrap-prefix or --without-wrap-prefix was given.
    20204 @@ -11209,7 +12005,7 @@
     23006@@ -11209,7 +11894,7 @@
    2020523007 else
    2020623008   NCURSES_WRAP_PREFIX=_nc_
    2020723009 fi;
    2020823010-       echo "$as_me:11212: result: $NCURSES_WRAP_PREFIX" >&5
    20209 +       echo "$as_me:12008: result: $NCURSES_WRAP_PREFIX" >&5
     23011+       echo "$as_me:11897: result: $NCURSES_WRAP_PREFIX" >&5
    2021023012 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6
    2021123013 else
    2021223014        NCURSES_WRAP_PREFIX=_nc_
    20213 @@ -11219,7 +12015,7 @@
     23015@@ -11219,7 +11904,7 @@
    2021423016 #define NCURSES_WRAP_PREFIX "$NCURSES_WRAP_PREFIX"
    2021523017 EOF
    2021623018 
    2021723019-echo "$as_me:11222: checking if you want experimental safe-sprintf code" >&5
    20218 +echo "$as_me:12018: checking if you want experimental safe-sprintf code" >&5
     23020+echo "$as_me:11907: checking if you want experimental safe-sprintf code" >&5
    2021923021 echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6
    2022023022 
    2022123023 # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given.
    20222 @@ -11229,7 +12025,7 @@
     23024@@ -11229,7 +11914,7 @@
    2022323025 else
    2022423026   with_safe_sprintf=no
    2022523027 fi;
    2022623028-echo "$as_me:11232: result: $with_safe_sprintf" >&5
    20227 +echo "$as_me:12028: result: $with_safe_sprintf" >&5
     23029+echo "$as_me:11917: result: $with_safe_sprintf" >&5
    2022823030 echo "${ECHO_T}$with_safe_sprintf" >&6
    2022923031 test "$with_safe_sprintf" = yes && cat >>confdefs.h <<\EOF
    2023023032 #define USE_SAFE_SPRINTF 1
    20231 @@ -11238,7 +12034,7 @@
     23033@@ -11238,7 +11923,7 @@
    2023223034 ###   use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic
    2023323035 # when hashmap is used scroll hints are useless
    2023423036 if test "$with_hashmap" = no ; then
    2023523037-echo "$as_me:11241: checking if you want to experiment without scrolling-hints code" >&5
    20236 +echo "$as_me:12037: checking if you want to experiment without scrolling-hints code" >&5
     23038+echo "$as_me:11926: checking if you want to experiment without scrolling-hints code" >&5
    2023723039 echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6
    2023823040 
    2023923041 # Check whether --enable-scroll-hints or --disable-scroll-hints was given.
    20240 @@ -11248,7 +12044,7 @@
     23042@@ -11248,7 +11933,7 @@
    2024123043 else
    2024223044   with_scroll_hints=yes
    2024323045 fi;
    2024423046-echo "$as_me:11251: result: $with_scroll_hints" >&5
    20245 +echo "$as_me:12047: result: $with_scroll_hints" >&5
     23047+echo "$as_me:11936: result: $with_scroll_hints" >&5
    2024623048 echo "${ECHO_T}$with_scroll_hints" >&6
    2024723049 test "$with_scroll_hints" = yes && cat >>confdefs.h <<\EOF
    2024823050 #define USE_SCROLL_HINTS 1
    20249 @@ -11256,7 +12052,7 @@
     23051@@ -11256,7 +11941,7 @@
    2025023052 
    2025123053 fi
    2025223054 
    2025323055-echo "$as_me:11259: checking if you want experimental wgetch-events code" >&5
    20254 +echo "$as_me:12055: checking if you want experimental wgetch-events code" >&5
     23056+echo "$as_me:11944: checking if you want experimental wgetch-events code" >&5
    2025523057 echo $ECHO_N "checking if you want experimental wgetch-events code... $ECHO_C" >&6
    2025623058 
    2025723059 # Check whether --enable-wgetch-events or --disable-wgetch-events was given.
    20258 @@ -11266,7 +12062,7 @@
     23060@@ -11266,7 +11951,7 @@
    2025923061 else
    2026023062   with_wgetch_events=no
    2026123063 fi;
    2026223064-echo "$as_me:11269: result: $with_wgetch_events" >&5
    20263 +echo "$as_me:12065: result: $with_wgetch_events" >&5
     23065+echo "$as_me:11954: result: $with_wgetch_events" >&5
    2026423066 echo "${ECHO_T}$with_wgetch_events" >&6
    2026523067 test "$with_wgetch_events" = yes && cat >>confdefs.h <<\EOF
    2026623068 #define NCURSES_WGETCH_EVENTS 1
    20267 @@ -11275,7 +12071,7 @@
     23069@@ -11275,28 +11960,54 @@
    2026823070 ###############################################################################
    2026923071 
    2027023072 ###    use option --disable-echo to suppress full display compiling commands
    2027123073-echo "$as_me:11278: checking if you want to display full commands during build" >&5
    20272 +echo "$as_me:12074: checking if you want to display full commands during build" >&5
    20273  echo $ECHO_N "checking if you want to display full commands during build... $ECHO_C" >&6
     23074-echo $ECHO_N "checking if you want to display full commands during build... $ECHO_C" >&6
     23075+
     23076+echo "$as_me:11964: checking if you want to see long compiling messages" >&5
     23077+echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
    2027423078 
    2027523079 # Check whether --enable-echo or --disable-echo was given.
    20276 @@ -11292,11 +12088,11 @@
     23080 if test "${enable_echo+set}" = set; then
     23081   enableval="$enable_echo"
     23082-  with_echo=$enableval
     23083+  test "$enableval" != no && enableval=yes
     23084+  if test "$enableval" != "yes" ; then
     23085+
     23086+    ECHO_LT='--silent'
     23087+    ECHO_LD='@echo linking $@;'
     23088+    RULE_CC='@echo compiling $<'
     23089+    SHOW_CC='@echo compiling $@'
     23090+    ECHO_CC='@'
     23091+
     23092+  else
     23093+
     23094+    ECHO_LT=''
     23095+    ECHO_LD=''
     23096+    RULE_CC=''
     23097+    SHOW_CC=''
     23098+    ECHO_CC=''
     23099+
     23100+  fi
     23101 else
     23102-  with_echo=yes
     23103+  enableval=yes
     23104+
     23105+    ECHO_LT=''
     23106+    ECHO_LD=''
     23107+    RULE_CC=''
     23108+    SHOW_CC=''
     23109+    ECHO_CC=''
     23110+
     23111 fi;
     23112-if test "$with_echo" = yes; then
     23113+echo "$as_me:11998: result: $enableval" >&5
     23114+echo "${ECHO_T}$enableval" >&6
     23115+
     23116+if test "$enable_echo" = yes; then
     23117        ECHO_LINK=
     23118 else
     23119        ECHO_LINK='@ echo linking $@ ... ;'
    2027723120        test -n "$LIBTOOL" && LIBTOOL="$LIBTOOL --silent"
    2027823121        test -n "$LIBTOOL_CXX" && LIBTOOL_CXX="$LIBTOOL_CXX --silent"
    2027923122 fi
    2028023123-echo "$as_me:11295: result: $with_echo" >&5
    20281 +echo "$as_me:12091: result: $with_echo" >&5
    20282  echo "${ECHO_T}$with_echo" >&6
     23124-echo "${ECHO_T}$with_echo" >&6
    2028323125 
    2028423126 ###    use option --enable-warnings to turn on all gcc warnings
    2028523127-echo "$as_me:11299: checking if you want to see compiler warnings" >&5
    20286 +echo "$as_me:12095: checking if you want to see compiler warnings" >&5
     23128+echo "$as_me:12010: checking if you want to see compiler warnings" >&5
    2028723129 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6
    2028823130 
    2028923131 # Check whether --enable-warnings or --disable-warnings was given.
    20290 @@ -11304,7 +12100,7 @@
     23132@@ -11304,7 +12015,7 @@
    2029123133   enableval="$enable_warnings"
    2029223134   with_warnings=$enableval
    2029323135 fi;
    2029423136-echo "$as_me:11307: result: $with_warnings" >&5
    20295 +echo "$as_me:12103: result: $with_warnings" >&5
     23137+echo "$as_me:12018: result: $with_warnings" >&5
    2029623138 echo "${ECHO_T}$with_warnings" >&6
    2029723139 
    2029823140 if test "x$with_warnings" = "xyes"; then
    20299 @@ -11316,12 +12112,12 @@
     23141@@ -11316,12 +12027,12 @@
    2030023142 if test "$GCC" = yes ; then
    2030123143        case $host_os in
    2030223144        linux*|gnu*)
    2030323145-               echo "$as_me:11319: checking if this is really Intel C compiler" >&5
    20304 +               echo "$as_me:12115: checking if this is really Intel C compiler" >&5
     23146+               echo "$as_me:12030: checking if this is really Intel C compiler" >&5
    2030523147 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
    2030623148                cf_save_CFLAGS="$CFLAGS"
     
    2030823150                cat >conftest.$ac_ext <<_ACEOF
    2030923151-#line 11324 "configure"
    20310 +#line 12120 "configure"
     23152+#line 12035 "configure"
    2031123153 #include "confdefs.h"
    2031223154 
    2031323155 int
    20314 @@ -11338,16 +12134,16 @@
     23156@@ -11338,16 +12049,16 @@
    2031523157 }
    2031623158 _ACEOF
    2031723159 rm -f conftest.$ac_objext
    2031823160-if { (eval echo "$as_me:11341: \"$ac_compile\"") >&5
    20319 +if { (eval echo "$as_me:12137: \"$ac_compile\"") >&5
     23161+if { (eval echo "$as_me:12052: \"$ac_compile\"") >&5
    2032023162   (eval $ac_compile) 2>&5
    2032123163   ac_status=$?
    2032223164-  echo "$as_me:11344: \$? = $ac_status" >&5
    20323 +  echo "$as_me:12140: \$? = $ac_status" >&5
     23165+  echo "$as_me:12055: \$? = $ac_status" >&5
    2032423166   (exit $ac_status); } &&
    2032523167          { ac_try='test -s conftest.$ac_objext'
    2032623168-  { (eval echo "$as_me:11347: \"$ac_try\"") >&5
    20327 +  { (eval echo "$as_me:12143: \"$ac_try\"") >&5
     23169+  { (eval echo "$as_me:12058: \"$ac_try\"") >&5
    2032823170   (eval $ac_try) 2>&5
    2032923171   ac_status=$?
    2033023172-  echo "$as_me:11350: \$? = $ac_status" >&5
    20331 +  echo "$as_me:12146: \$? = $ac_status" >&5
     23173+  echo "$as_me:12061: \$? = $ac_status" >&5
    2033223174   (exit $ac_status); }; }; then
    2033323175   INTEL_COMPILER=yes
    2033423176 cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
    20335 @@ -11358,14 +12154,14 @@
     23177@@ -11357,15 +12068,64 @@
     23178 cat conftest.$ac_ext >&5
    2033623179 fi
    2033723180 rm -f conftest.$ac_objext conftest.$ac_ext
    20338                 CFLAGS="$cf_save_CFLAGS"
     23181-               CFLAGS="$cf_save_CFLAGS"
    2033923182-               echo "$as_me:11361: result: $INTEL_COMPILER" >&5
    20340 +               echo "$as_me:12157: result: $INTEL_COMPILER" >&5
    20341  echo "${ECHO_T}$INTEL_COMPILER" >&6
    20342                 ;;
    20343         esac
     23183-echo "${ECHO_T}$INTEL_COMPILER" >&6
     23184-               ;;
     23185-       esac
     23186+               CFLAGS="$cf_save_CFLAGS"
     23187+               echo "$as_me:12072: result: $INTEL_COMPILER" >&5
     23188+echo "${ECHO_T}$INTEL_COMPILER" >&6
     23189+               ;;
     23190+       esac
     23191+fi
     23192+
     23193+CLANG_COMPILER=no
     23194+
     23195+if test "$GCC" = yes ; then
     23196+       echo "$as_me:12081: checking if this is really Clang C compiler" >&5
     23197+echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
     23198+       cf_save_CFLAGS="$CFLAGS"
     23199+       CFLAGS="$CFLAGS -Qunused-arguments"
     23200+       cat >conftest.$ac_ext <<_ACEOF
     23201+#line 12086 "configure"
     23202+#include "confdefs.h"
     23203+
     23204+int
     23205+main ()
     23206+{
     23207+
     23208+#ifdef __clang__
     23209+#else
     23210+make an error
     23211+#endif
     23212+
     23213+  ;
     23214+  return 0;
     23215+}
     23216+_ACEOF
     23217+rm -f conftest.$ac_objext
     23218+if { (eval echo "$as_me:12103: \"$ac_compile\"") >&5
     23219+  (eval $ac_compile) 2>&5
     23220+  ac_status=$?
     23221+  echo "$as_me:12106: \$? = $ac_status" >&5
     23222+  (exit $ac_status); } &&
     23223+         { ac_try='test -s conftest.$ac_objext'
     23224+  { (eval echo "$as_me:12109: \"$ac_try\"") >&5
     23225+  (eval $ac_try) 2>&5
     23226+  ac_status=$?
     23227+  echo "$as_me:12112: \$? = $ac_status" >&5
     23228+  (exit $ac_status); }; }; then
     23229+  CLANG_COMPILER=yes
     23230+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     23231+
     23232+else
     23233+  echo "$as_me: failed program was:" >&5
     23234+cat conftest.$ac_ext >&5
     23235+fi
     23236+rm -f conftest.$ac_objext conftest.$ac_ext
     23237+       CFLAGS="$cf_save_CFLAGS"
     23238+       echo "$as_me:12123: result: $CLANG_COMPILER" >&5
     23239+echo "${ECHO_T}$CLANG_COMPILER" >&6
    2034423240 fi
    2034523241 
    2034623242 cat > conftest.$ac_ext <<EOF
    2034723243-#line 11368 "${as_me:-configure}"
    20348 +#line 12164 "${as_me:-configure}"
     23244+#line 12128 "${as_me:-configure}"
    2034923245 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
    2035023246 EOF
    2035123247 
    20352 @@ -11382,7 +12178,7 @@
     23248@@ -11382,7 +12142,7 @@
    2035323249 # remark #981: operands are evaluated in unspecified order
    2035423250 # warning #279: controlling expression is constant
    2035523251 
    2035623252-       { echo "$as_me:11385: checking for $CC warning options..." >&5
    20357 +       { echo "$as_me:12181: checking for $CC warning options..." >&5
     23253+       { echo "$as_me:12145: checking for $CC warning options..." >&5
    2035823254 echo "$as_me: checking for $CC warning options..." >&6;}
    2035923255        cf_save_CFLAGS="$CFLAGS"
    2036023256        EXTRA_CFLAGS="-Wall"
    20361 @@ -11398,12 +12194,12 @@
     23257@@ -11398,12 +12158,12 @@
    2036223258                wd981
    2036323259        do
    2036423260                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    2036523261-               if { (eval echo "$as_me:11401: \"$ac_compile\"") >&5
    20366 +               if { (eval echo "$as_me:12197: \"$ac_compile\"") >&5
     23262+               if { (eval echo "$as_me:12161: \"$ac_compile\"") >&5
    2036723263   (eval $ac_compile) 2>&5
    2036823264   ac_status=$?
    2036923265-  echo "$as_me:11404: \$? = $ac_status" >&5
    20370 +  echo "$as_me:12200: \$? = $ac_status" >&5
     23266+  echo "$as_me:12164: \$? = $ac_status" >&5
    2037123267   (exit $ac_status); }; then
    2037223268-                       test -n "$verbose" && echo "$as_me:11406: result: ... -$cf_opt" >&5
    20373 +                       test -n "$verbose" && echo "$as_me:12202: result: ... -$cf_opt" >&5
     23269+                       test -n "$verbose" && echo "$as_me:12166: result: ... -$cf_opt" >&5
    2037423270 echo "${ECHO_T}... -$cf_opt" >&6
    2037523271                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
    2037623272                fi
    20377 @@ -11412,7 +12208,7 @@
     23273@@ -11412,7 +12172,7 @@
    2037823274 
    2037923275 elif test "$GCC" = yes
    2038023276 then
    2038123277-       { echo "$as_me:11415: checking for $CC warning options..." >&5
    20382 +       { echo "$as_me:12211: checking for $CC warning options..." >&5
     23278+       { echo "$as_me:12175: checking for $CC warning options..." >&5
    2038323279 echo "$as_me: checking for $CC warning options..." >&6;}
    2038423280        cf_save_CFLAGS="$CFLAGS"
    2038523281        EXTRA_CFLAGS=
    20386 @@ -11432,12 +12228,12 @@
     23282@@ -11432,12 +12192,12 @@
    2038723283                Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum
    2038823284        do
    2038923285                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    2039023286-               if { (eval echo "$as_me:11435: \"$ac_compile\"") >&5
    20391 +               if { (eval echo "$as_me:12231: \"$ac_compile\"") >&5
     23287+               if { (eval echo "$as_me:12195: \"$ac_compile\"") >&5
    2039223288   (eval $ac_compile) 2>&5
    2039323289   ac_status=$?
    2039423290-  echo "$as_me:11438: \$? = $ac_status" >&5
    20395 +  echo "$as_me:12234: \$? = $ac_status" >&5
     23291+  echo "$as_me:12198: \$? = $ac_status" >&5
    2039623292   (exit $ac_status); }; then
    2039723293-                       test -n "$verbose" && echo "$as_me:11440: result: ... -$cf_opt" >&5
    20398 +                       test -n "$verbose" && echo "$as_me:12236: result: ... -$cf_opt" >&5
     23294+                       test -n "$verbose" && echo "$as_me:12200: result: ... -$cf_opt" >&5
    2039923295 echo "${ECHO_T}... -$cf_opt" >&6
    2040023296                        case $cf_opt in #(vi
    2040123297                        Wcast-qual) #(vi
    20402 @@ -11448,7 +12244,7 @@
     23298@@ -11448,7 +12208,17 @@
    2040323299                                [34].*)
    2040423300                                        test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
    2040523301 
    2040623302-echo "${as_me:-configure}:11451: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    20407 +echo "${as_me:-configure}:12247: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     23303+echo "${as_me:-configure}:12211: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     23304+
     23305+                                       continue;;
     23306+                               esac
     23307+                               ;;
     23308+                       Wpointer-arith) #(vi
     23309+                               case $GCC_VERSION in
     23310+                               [12].*)
     23311+                                       test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
     23312+
     23313+echo "${as_me:-configure}:12221: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    2040823314 
    2040923315                                        continue;;
    2041023316                                esac
    20411 @@ -11468,12 +12264,12 @@
     23317@@ -11468,12 +12238,12 @@
    2041223318 if test "$GCC" = yes ; then
    2041323319        case $host_os in
    2041423320        linux*|gnu*)
    2041523321-               echo "$as_me:11471: checking if this is really Intel C++ compiler" >&5
    20416 +               echo "$as_me:12267: checking if this is really Intel C++ compiler" >&5
     23322+               echo "$as_me:12241: checking if this is really Intel C++ compiler" >&5
    2041723323 echo $ECHO_N "checking if this is really Intel C++ compiler... $ECHO_C" >&6
    2041823324                cf_save_CFLAGS="$CXXFLAGS"
     
    2042023326                cat >conftest.$ac_ext <<_ACEOF
    2042123327-#line 11476 "configure"
    20422 +#line 12272 "configure"
     23328+#line 12246 "configure"
    2042323329 #include "confdefs.h"
    2042423330 
    2042523331 int
    20426 @@ -11490,16 +12286,16 @@
     23332@@ -11490,16 +12260,16 @@
    2042723333 }
    2042823334 _ACEOF
    2042923335 rm -f conftest.$ac_objext
    2043023336-if { (eval echo "$as_me:11493: \"$ac_compile\"") >&5
    20431 +if { (eval echo "$as_me:12289: \"$ac_compile\"") >&5
     23337+if { (eval echo "$as_me:12263: \"$ac_compile\"") >&5
    2043223338   (eval $ac_compile) 2>&5
    2043323339   ac_status=$?
    2043423340-  echo "$as_me:11496: \$? = $ac_status" >&5
    20435 +  echo "$as_me:12292: \$? = $ac_status" >&5
     23341+  echo "$as_me:12266: \$? = $ac_status" >&5
    2043623342   (exit $ac_status); } &&
    2043723343          { ac_try='test -s conftest.$ac_objext'
    2043823344-  { (eval echo "$as_me:11499: \"$ac_try\"") >&5
    20439 +  { (eval echo "$as_me:12295: \"$ac_try\"") >&5
     23345+  { (eval echo "$as_me:12269: \"$ac_try\"") >&5
    2044023346   (eval $ac_try) 2>&5
    2044123347   ac_status=$?
    2044223348-  echo "$as_me:11502: \$? = $ac_status" >&5
    20443 +  echo "$as_me:12298: \$? = $ac_status" >&5
     23349+  echo "$as_me:12272: \$? = $ac_status" >&5
    2044423350   (exit $ac_status); }; }; then
    2044523351   INTEL_CPLUSPLUS=yes
    2044623352 cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
    20447 @@ -11510,7 +12306,7 @@
     23353@@ -11510,12 +12280,61 @@
    2044823354 fi
    2044923355 rm -f conftest.$ac_objext conftest.$ac_ext
    2045023356                CXXFLAGS="$cf_save_CFLAGS"
    2045123357-               echo "$as_me:11513: result: $INTEL_CPLUSPLUS" >&5
    20452 +               echo "$as_me:12309: result: $INTEL_CPLUSPLUS" >&5
     23358+               echo "$as_me:12283: result: $INTEL_CPLUSPLUS" >&5
    2045323359 echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6
    2045423360                ;;
    2045523361        esac
    20456 @@ -11524,7 +12320,7 @@
     23362 fi
     23363 
     23364+CLANG_CPLUSPLUS=no
     23365+
     23366+if test "$GCC" = yes ; then
     23367+       echo "$as_me:12292: checking if this is really Clang C++ compiler" >&5
     23368+echo $ECHO_N "checking if this is really Clang C++ compiler... $ECHO_C" >&6
     23369+       cf_save_CFLAGS="$CXXFLAGS"
     23370+       CXXFLAGS="$CXXFLAGS -Qunused-arguments"
     23371+       cat >conftest.$ac_ext <<_ACEOF
     23372+#line 12297 "configure"
     23373+#include "confdefs.h"
     23374+
     23375+int
     23376+main ()
     23377+{
     23378+
     23379+#ifdef __clang__
     23380+#else
     23381+make an error
     23382+#endif
     23383+
     23384+  ;
     23385+  return 0;
     23386+}
     23387+_ACEOF
     23388+rm -f conftest.$ac_objext
     23389+if { (eval echo "$as_me:12314: \"$ac_compile\"") >&5
     23390+  (eval $ac_compile) 2>&5
     23391+  ac_status=$?
     23392+  echo "$as_me:12317: \$? = $ac_status" >&5
     23393+  (exit $ac_status); } &&
     23394+         { ac_try='test -s conftest.$ac_objext'
     23395+  { (eval echo "$as_me:12320: \"$ac_try\"") >&5
     23396+  (eval $ac_try) 2>&5
     23397+  ac_status=$?
     23398+  echo "$as_me:12323: \$? = $ac_status" >&5
     23399+  (exit $ac_status); }; }; then
     23400+  CLANG_CPLUSPLUS=yes
     23401+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     23402+
     23403+else
     23404+  echo "$as_me: failed program was:" >&5
     23405+cat conftest.$ac_ext >&5
     23406+fi
     23407+rm -f conftest.$ac_objext conftest.$ac_ext
     23408+       CXXFLAGS="$cf_save_CFLAGS"
     23409+       echo "$as_me:12334: result: $CLANG_CPLUSPLUS" >&5
     23410+echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6
     23411+fi
     23412+
     23413 ac_ext=cc
     23414 ac_cpp='$CXXCPP $CPPFLAGS'
     23415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23416@@ -11524,7 +12343,7 @@
    2045723417 ac_main_return=return
    2045823418 
    2045923419 cat > conftest.$ac_ext <<EOF
    2046023420-#line 11527 "configure"
    20461 +#line 12323 "configure"
     23421+#line 12346 "configure"
    2046223422 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
    2046323423 EOF
    2046423424 
    20465 @@ -11542,7 +12338,7 @@
     23425@@ -11542,7 +12361,7 @@
    2046623426 # remark #981: operands are evaluated in unspecified order
    2046723427 # warning #269: invalid format string conversion
    2046823428 
    2046923429-       { echo "$as_me:11545: checking for $CC warning options..." >&5
    20470 +       { echo "$as_me:12341: checking for $CC warning options..." >&5
     23430+       { echo "$as_me:12364: checking for $CC warning options..." >&5
    2047123431 echo "$as_me: checking for $CC warning options..." >&6;}
    2047223432        cf_save_CXXFLAGS="$CXXFLAGS"
    2047323433        EXTRA_CXXFLAGS="-Wall"
    20474 @@ -11559,12 +12355,12 @@
     23434@@ -11559,12 +12378,12 @@
    2047523435                wd981
    2047623436        do
    2047723437                CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt"
    2047823438-               if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5
    20479 +               if { (eval echo "$as_me:12358: \"$ac_compile\"") >&5
     23439+               if { (eval echo "$as_me:12381: \"$ac_compile\"") >&5
    2048023440   (eval $ac_compile) 2>&5
    2048123441   ac_status=$?
    2048223442-  echo "$as_me:11565: \$? = $ac_status" >&5
    20483 +  echo "$as_me:12361: \$? = $ac_status" >&5
     23443+  echo "$as_me:12384: \$? = $ac_status" >&5
    2048423444   (exit $ac_status); }; then
    2048523445-                       test -n "$verbose" && echo "$as_me:11567: result: ... -$cf_opt" >&5
    20486 +                       test -n "$verbose" && echo "$as_me:12363: result: ... -$cf_opt" >&5
     23446+                       test -n "$verbose" && echo "$as_me:12386: result: ... -$cf_opt" >&5
    2048723447 echo "${ECHO_T}... -$cf_opt" >&6
    2048823448                        EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
    2048923449                fi
    20490 @@ -11573,7 +12369,7 @@
     23450@@ -11573,7 +12392,7 @@
    2049123451 
    2049223452 elif test "$GXX" = yes
    2049323453 then
    2049423454-       { echo "$as_me:11576: checking for $CXX warning options..." >&5
    20495 +       { echo "$as_me:12372: checking for $CXX warning options..." >&5
     23455+       { echo "$as_me:12395: checking for $CXX warning options..." >&5
    2049623456 echo "$as_me: checking for $CXX warning options..." >&6;}
    2049723457        cf_save_CXXFLAGS="$CXXFLAGS"
    2049823458        EXTRA_CXXFLAGS="-W -Wall"
    20499 @@ -11602,16 +12398,16 @@
     23459@@ -11602,16 +12421,16 @@
    2050023460                Wundef $cf_gxx_extra_warnings Wno-unused
    2050123461        do
    2050223462                CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt"
    2050323463-               if { (eval echo "$as_me:11605: \"$ac_compile\"") >&5
    20504 +               if { (eval echo "$as_me:12401: \"$ac_compile\"") >&5
     23464+               if { (eval echo "$as_me:12424: \"$ac_compile\"") >&5
    2050523465   (eval $ac_compile) 2>&5
    2050623466   ac_status=$?
    2050723467-  echo "$as_me:11608: \$? = $ac_status" >&5
    20508 +  echo "$as_me:12404: \$? = $ac_status" >&5
     23468+  echo "$as_me:12427: \$? = $ac_status" >&5
    2050923469   (exit $ac_status); }; then
    2051023470-                       test -n "$verbose" && echo "$as_me:11610: result: ... -$cf_opt" >&5
    20511 +                       test -n "$verbose" && echo "$as_me:12406: result: ... -$cf_opt" >&5
     23471+                       test -n "$verbose" && echo "$as_me:12429: result: ... -$cf_opt" >&5
    2051223472 echo "${ECHO_T}... -$cf_opt" >&6
    2051323473                        EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
    2051423474                else
    2051523475-                       test -n "$verbose" && echo "$as_me:11614: result: ... no -$cf_opt" >&5
    20516 +                       test -n "$verbose" && echo "$as_me:12410: result: ... no -$cf_opt" >&5
     23476+                       test -n "$verbose" && echo "$as_me:12433: result: ... no -$cf_opt" >&5
    2051723477 echo "${ECHO_T}... no -$cf_opt" >&6
    2051823478                fi
    2051923479        done
    20520 @@ -11647,10 +12443,10 @@
     23480@@ -11647,10 +12466,10 @@
    2052123481 EOF
    2052223482 if test "$GCC" = yes
    2052323483 then
    2052423484-       { echo "$as_me:11650: checking for $CC __attribute__ directives..." >&5
    20525 +       { echo "$as_me:12446: checking for $CC __attribute__ directives..." >&5
     23485+       { echo "$as_me:12469: checking for $CC __attribute__ directives..." >&5
    2052623486 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
    2052723487 cat > conftest.$ac_ext <<EOF
    2052823488-#line 11653 "${as_me:-configure}"
    20529 +#line 12449 "${as_me:-configure}"
     23489+#line 12472 "${as_me:-configure}"
    2053023490 #include "confdefs.h"
    2053123491 #include "conftest.h"
    2053223492 #include "conftest.i"
    20533 @@ -11699,12 +12495,12 @@
     23493@@ -11699,12 +12518,12 @@
    2053423494                        ;;
    2053523495                esac
    2053623496 
    2053723497-               if { (eval echo "$as_me:11702: \"$ac_compile\"") >&5
    20538 +               if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5
     23498+               if { (eval echo "$as_me:12521: \"$ac_compile\"") >&5
    2053923499   (eval $ac_compile) 2>&5
    2054023500   ac_status=$?
    2054123501-  echo "$as_me:11705: \$? = $ac_status" >&5
    20542 +  echo "$as_me:12501: \$? = $ac_status" >&5
     23502+  echo "$as_me:12524: \$? = $ac_status" >&5
    2054323503   (exit $ac_status); }; then
    2054423504-                       test -n "$verbose" && echo "$as_me:11707: result: ... $cf_attribute" >&5
    20545 +                       test -n "$verbose" && echo "$as_me:12503: result: ... $cf_attribute" >&5
     23505+                       test -n "$verbose" && echo "$as_me:12526: result: ... $cf_attribute" >&5
    2054623506 echo "${ECHO_T}... $cf_attribute" >&6
    2054723507                        cat conftest.h >>confdefs.h
    2054823508                        case $cf_attribute in #(vi
    20549 @@ -11740,7 +12536,7 @@
    20550  fi
    20551  
     23509@@ -11739,8 +12558,100 @@
     23510 rm -rf conftest*
     23511 fi
     23512 
     23513+echo "$as_me:12561: checking if you want to work around bogus compiler/loader warnings" >&5
     23514+echo $ECHO_N "checking if you want to work around bogus compiler/loader warnings... $ECHO_C" >&6
     23515+
     23516+# Check whether --enable-string-hacks or --disable-string-hacks was given.
     23517+if test "${enable_string_hacks+set}" = set; then
     23518+  enableval="$enable_string_hacks"
     23519+  with_string_hacks=$enableval
     23520+else
     23521+  with_string_hacks=no
     23522+fi;
     23523+echo "$as_me:12571: result: $with_string_hacks" >&5
     23524+echo "${ECHO_T}$with_string_hacks" >&6
     23525+
     23526+if test "x$with_string_hacks" = "xyes"; then
     23527+       cat >>confdefs.h <<\EOF
     23528+#define USE_STRING_HACKS 1
     23529+EOF
     23530+
     23531+       { echo "$as_me:12579: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5
     23532+echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;}
     23533+
     23534+for ac_func in strlcat strlcpy snprintf
     23535+do
     23536+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     23537+echo "$as_me:12585: checking for $ac_func" >&5
     23538+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     23539+if eval "test \"\${$as_ac_var+set}\" = set"; then
     23540+  echo $ECHO_N "(cached) $ECHO_C" >&6
     23541+else
     23542+  cat >conftest.$ac_ext <<_ACEOF
     23543+#line 12591 "configure"
     23544+#include "confdefs.h"
     23545+/* System header to define __stub macros and hopefully few prototypes,
     23546+    which can conflict with char $ac_func (); below.  */
     23547+#include <assert.h>
     23548+/* Override any gcc2 internal prototype to avoid an error.  */
     23549+#ifdef __cplusplus
     23550+extern "C"
     23551+#endif
     23552+/* We use char because int might match the return type of a gcc2
     23553+   builtin and then its argument prototype would still apply.  */
     23554+char $ac_func ();
     23555+char (*f) ();
     23556+
     23557+int
     23558+main ()
     23559+{
     23560+/* The GNU C library defines this for functions which it implements
     23561+    to always fail with ENOSYS.  Some functions are actually named
     23562+    something starting with __ and the normal name is an alias.  */
     23563+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     23564+choke me
     23565+#else
     23566+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     23567+#endif
     23568+
     23569+  ;
     23570+  return 0;
     23571+}
     23572+_ACEOF
     23573+rm -f conftest.$ac_objext conftest$ac_exeext
     23574+if { (eval echo "$as_me:12622: \"$ac_link\"") >&5
     23575+  (eval $ac_link) 2>&5
     23576+  ac_status=$?
     23577+  echo "$as_me:12625: \$? = $ac_status" >&5
     23578+  (exit $ac_status); } &&
     23579+         { ac_try='test -s conftest$ac_exeext'
     23580+  { (eval echo "$as_me:12628: \"$ac_try\"") >&5
     23581+  (eval $ac_try) 2>&5
     23582+  ac_status=$?
     23583+  echo "$as_me:12631: \$? = $ac_status" >&5
     23584+  (exit $ac_status); }; }; then
     23585+  eval "$as_ac_var=yes"
     23586+else
     23587+  echo "$as_me: failed program was:" >&5
     23588+cat conftest.$ac_ext >&5
     23589+eval "$as_ac_var=no"
     23590+fi
     23591+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     23592+fi
     23593+echo "$as_me:12641: result: `eval echo '${'$as_ac_var'}'`" >&5
     23594+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     23595+if test `eval echo '${'$as_ac_var'}'` = yes; then
     23596+  cat >>confdefs.h <<EOF
     23597+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     23598+EOF
     23599+
     23600+fi
     23601+done
     23602+
     23603+fi
     23604+
    2055223605 ###    use option --enable-assertions to turn on generation of assertion code
    2055323606-echo "$as_me:11743: checking if you want to enable runtime assertions" >&5
    20554 +echo "$as_me:12539: checking if you want to enable runtime assertions" >&5
     23607+echo "$as_me:12654: checking if you want to enable runtime assertions" >&5
    2055523608 echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6
    2055623609 
    2055723610 # Check whether --enable-assertions or --disable-assertions was given.
    20558 @@ -11750,7 +12546,7 @@
     23611@@ -11750,16 +12661,12 @@
    2055923612 else
    2056023613   with_assertions=no
    2056123614 fi;
    2056223615-echo "$as_me:11753: result: $with_assertions" >&5
    20563 +echo "$as_me:12549: result: $with_assertions" >&5
     23616+echo "$as_me:12664: result: $with_assertions" >&5
    2056423617 echo "${ECHO_T}$with_assertions" >&6
    2056523618 if test -n "$GCC"
    2056623619 then
    20567 @@ -11770,7 +12566,7 @@
     23620        if test "$with_assertions" = no
     23621        then
     23622-               cat >>confdefs.h <<\EOF
     23623-#define NDEBUG 1
     23624-EOF
     23625-
     23626                CPPFLAGS="$CPPFLAGS -DNDEBUG"
     23627        else
     23628 
     23629@@ -11770,7 +12677,7 @@
    2056823630 
    2056923631 ###    use option --disable-leaks to suppress "permanent" leaks, for testing
    2057023632 
    2057123633-echo "$as_me:11773: checking if you want to use dmalloc for testing" >&5
    20572 +echo "$as_me:12569: checking if you want to use dmalloc for testing" >&5
     23634+echo "$as_me:12680: checking if you want to use dmalloc for testing" >&5
    2057323635 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
    2057423636 
    2057523637 # Check whether --with-dmalloc or --without-dmalloc was given.
    20576 @@ -11786,7 +12582,7 @@
     23638@@ -11786,7 +12693,7 @@
    2057723639 else
    2057823640   with_dmalloc=
    2057923641 fi;
    2058023642-echo "$as_me:11789: result: ${with_dmalloc:-no}" >&5
    20581 +echo "$as_me:12585: result: ${with_dmalloc:-no}" >&5
     23643+echo "$as_me:12696: result: ${with_dmalloc:-no}" >&5
    2058223644 echo "${ECHO_T}${with_dmalloc:-no}" >&6
    2058323645 
    2058423646 case .$with_cflags in #(vi
    20585 @@ -11880,23 +12676,23 @@
     23647@@ -11880,23 +12787,23 @@
    2058623648 esac
    2058723649 
    2058823650 if test "$with_dmalloc" = yes ; then
    2058923651-       echo "$as_me:11883: checking for dmalloc.h" >&5
    20590 +       echo "$as_me:12679: checking for dmalloc.h" >&5
     23652+       echo "$as_me:12790: checking for dmalloc.h" >&5
    2059123653 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
    2059223654 if test "${ac_cv_header_dmalloc_h+set}" = set; then
     
    2059523657   cat >conftest.$ac_ext <<_ACEOF
    2059623658-#line 11889 "configure"
    20597 +#line 12685 "configure"
     23659+#line 12796 "configure"
    2059823660 #include "confdefs.h"
    2059923661 #include <dmalloc.h>
    2060023662 _ACEOF
    2060123663-if { (eval echo "$as_me:11893: \"$ac_cpp conftest.$ac_ext\"") >&5
    20602 +if { (eval echo "$as_me:12689: \"$ac_cpp conftest.$ac_ext\"") >&5
     23664+if { (eval echo "$as_me:12800: \"$ac_cpp conftest.$ac_ext\"") >&5
    2060323665   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2060423666   ac_status=$?
     
    2060723669   cat conftest.err >&5
    2060823670-  echo "$as_me:11899: \$? = $ac_status" >&5
    20609 +  echo "$as_me:12695: \$? = $ac_status" >&5
     23671+  echo "$as_me:12806: \$? = $ac_status" >&5
    2061023672   (exit $ac_status); } >/dev/null; then
    2061123673   if test -s conftest.err; then
    2061223674     ac_cpp_err=$ac_c_preproc_warn_flag
    20613 @@ -11915,11 +12711,11 @@
     23675@@ -11915,11 +12822,11 @@
    2061423676 fi
    2061523677 rm -f conftest.err conftest.$ac_ext
    2061623678 fi
    2061723679-echo "$as_me:11918: result: $ac_cv_header_dmalloc_h" >&5
    20618 +echo "$as_me:12714: result: $ac_cv_header_dmalloc_h" >&5
     23680+echo "$as_me:12825: result: $ac_cv_header_dmalloc_h" >&5
    2061923681 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
    2062023682 if test $ac_cv_header_dmalloc_h = yes; then
    2062123683 
    2062223684-echo "$as_me:11922: checking for dmalloc_debug in -ldmalloc" >&5
    20623 +echo "$as_me:12718: checking for dmalloc_debug in -ldmalloc" >&5
     23685+echo "$as_me:12829: checking for dmalloc_debug in -ldmalloc" >&5
    2062423686 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
    2062523687 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
    2062623688   echo $ECHO_N "(cached) $ECHO_C" >&6
    20627 @@ -11927,7 +12723,7 @@
     23689@@ -11927,7 +12834,7 @@
    2062823690   ac_check_lib_save_LIBS=$LIBS
    2062923691 LIBS="-ldmalloc  $LIBS"
    2063023692 cat >conftest.$ac_ext <<_ACEOF
    2063123693-#line 11930 "configure"
    20632 +#line 12726 "configure"
     23694+#line 12837 "configure"
    2063323695 #include "confdefs.h"
    2063423696 
    2063523697 /* Override any gcc2 internal prototype to avoid an error.  */
    20636 @@ -11946,16 +12742,16 @@
     23698@@ -11946,16 +12853,16 @@
    2063723699 }
    2063823700 _ACEOF
    2063923701 rm -f conftest.$ac_objext conftest$ac_exeext
    2064023702-if { (eval echo "$as_me:11949: \"$ac_link\"") >&5
    20641 +if { (eval echo "$as_me:12745: \"$ac_link\"") >&5
     23703+if { (eval echo "$as_me:12856: \"$ac_link\"") >&5
    2064223704   (eval $ac_link) 2>&5
    2064323705   ac_status=$?
    2064423706-  echo "$as_me:11952: \$? = $ac_status" >&5
    20645 +  echo "$as_me:12748: \$? = $ac_status" >&5
     23707+  echo "$as_me:12859: \$? = $ac_status" >&5
    2064623708   (exit $ac_status); } &&
    2064723709          { ac_try='test -s conftest$ac_exeext'
    2064823710-  { (eval echo "$as_me:11955: \"$ac_try\"") >&5
    20649 +  { (eval echo "$as_me:12751: \"$ac_try\"") >&5
     23711+  { (eval echo "$as_me:12862: \"$ac_try\"") >&5
    2065023712   (eval $ac_try) 2>&5
    2065123713   ac_status=$?
    2065223714-  echo "$as_me:11958: \$? = $ac_status" >&5
    20653 +  echo "$as_me:12754: \$? = $ac_status" >&5
     23715+  echo "$as_me:12865: \$? = $ac_status" >&5
    2065423716   (exit $ac_status); }; }; then
    2065523717   ac_cv_lib_dmalloc_dmalloc_debug=yes
    2065623718 else
    20657 @@ -11966,7 +12762,7 @@
     23719@@ -11966,7 +12873,7 @@
    2065823720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2065923721 LIBS=$ac_check_lib_save_LIBS
    2066023722 fi
    2066123723-echo "$as_me:11969: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
    20662 +echo "$as_me:12765: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
     23724+echo "$as_me:12876: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
    2066323725 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
    2066423726 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
    2066523727   cat >>confdefs.h <<EOF
    20666 @@ -11981,7 +12777,7 @@
     23728@@ -11981,7 +12888,7 @@
    2066723729 
    2066823730 fi
    2066923731 
    2067023732-echo "$as_me:11984: checking if you want to use dbmalloc for testing" >&5
    20671 +echo "$as_me:12780: checking if you want to use dbmalloc for testing" >&5
     23733+echo "$as_me:12891: checking if you want to use dbmalloc for testing" >&5
    2067223734 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
    2067323735 
    2067423736 # Check whether --with-dbmalloc or --without-dbmalloc was given.
    20675 @@ -11997,7 +12793,7 @@
     23737@@ -11997,7 +12904,7 @@
    2067623738 else
    2067723739   with_dbmalloc=
    2067823740 fi;
    2067923741-echo "$as_me:12000: result: ${with_dbmalloc:-no}" >&5
    20680 +echo "$as_me:12796: result: ${with_dbmalloc:-no}" >&5
     23742+echo "$as_me:12907: result: ${with_dbmalloc:-no}" >&5
    2068123743 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
    2068223744 
    2068323745 case .$with_cflags in #(vi
    20684 @@ -12091,23 +12887,23 @@
     23746@@ -12091,23 +12998,23 @@
    2068523747 esac
    2068623748 
    2068723749 if test "$with_dbmalloc" = yes ; then
    2068823750-       echo "$as_me:12094: checking for dbmalloc.h" >&5
    20689 +       echo "$as_me:12890: checking for dbmalloc.h" >&5
     23751+       echo "$as_me:13001: checking for dbmalloc.h" >&5
    2069023752 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
    2069123753 if test "${ac_cv_header_dbmalloc_h+set}" = set; then
     
    2069423756   cat >conftest.$ac_ext <<_ACEOF
    2069523757-#line 12100 "configure"
    20696 +#line 12896 "configure"
     23758+#line 13007 "configure"
    2069723759 #include "confdefs.h"
    2069823760 #include <dbmalloc.h>
    2069923761 _ACEOF
    2070023762-if { (eval echo "$as_me:12104: \"$ac_cpp conftest.$ac_ext\"") >&5
    20701 +if { (eval echo "$as_me:12900: \"$ac_cpp conftest.$ac_ext\"") >&5
     23763+if { (eval echo "$as_me:13011: \"$ac_cpp conftest.$ac_ext\"") >&5
    2070223764   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2070323765   ac_status=$?
     
    2070623768   cat conftest.err >&5
    2070723769-  echo "$as_me:12110: \$? = $ac_status" >&5
    20708 +  echo "$as_me:12906: \$? = $ac_status" >&5
     23770+  echo "$as_me:13017: \$? = $ac_status" >&5
    2070923771   (exit $ac_status); } >/dev/null; then
    2071023772   if test -s conftest.err; then
    2071123773     ac_cpp_err=$ac_c_preproc_warn_flag
    20712 @@ -12126,11 +12922,11 @@
     23774@@ -12126,11 +13033,11 @@
    2071323775 fi
    2071423776 rm -f conftest.err conftest.$ac_ext
    2071523777 fi
    2071623778-echo "$as_me:12129: result: $ac_cv_header_dbmalloc_h" >&5
    20717 +echo "$as_me:12925: result: $ac_cv_header_dbmalloc_h" >&5
     23779+echo "$as_me:13036: result: $ac_cv_header_dbmalloc_h" >&5
    2071823780 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
    2071923781 if test $ac_cv_header_dbmalloc_h = yes; then
    2072023782 
    2072123783-echo "$as_me:12133: checking for debug_malloc in -ldbmalloc" >&5
    20722 +echo "$as_me:12929: checking for debug_malloc in -ldbmalloc" >&5
     23784+echo "$as_me:13040: checking for debug_malloc in -ldbmalloc" >&5
    2072323785 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
    2072423786 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
    2072523787   echo $ECHO_N "(cached) $ECHO_C" >&6
    20726 @@ -12138,7 +12934,7 @@
     23788@@ -12138,7 +13045,7 @@
    2072723789   ac_check_lib_save_LIBS=$LIBS
    2072823790 LIBS="-ldbmalloc  $LIBS"
    2072923791 cat >conftest.$ac_ext <<_ACEOF
    2073023792-#line 12141 "configure"
    20731 +#line 12937 "configure"
     23793+#line 13048 "configure"
    2073223794 #include "confdefs.h"
    2073323795 
    2073423796 /* Override any gcc2 internal prototype to avoid an error.  */
    20735 @@ -12157,16 +12953,16 @@
     23797@@ -12157,16 +13064,16 @@
    2073623798 }
    2073723799 _ACEOF
    2073823800 rm -f conftest.$ac_objext conftest$ac_exeext
    2073923801-if { (eval echo "$as_me:12160: \"$ac_link\"") >&5
    20740 +if { (eval echo "$as_me:12956: \"$ac_link\"") >&5
     23802+if { (eval echo "$as_me:13067: \"$ac_link\"") >&5
    2074123803   (eval $ac_link) 2>&5
    2074223804   ac_status=$?
    2074323805-  echo "$as_me:12163: \$? = $ac_status" >&5
    20744 +  echo "$as_me:12959: \$? = $ac_status" >&5
     23806+  echo "$as_me:13070: \$? = $ac_status" >&5
    2074523807   (exit $ac_status); } &&
    2074623808          { ac_try='test -s conftest$ac_exeext'
    2074723809-  { (eval echo "$as_me:12166: \"$ac_try\"") >&5
    20748 +  { (eval echo "$as_me:12962: \"$ac_try\"") >&5
     23810+  { (eval echo "$as_me:13073: \"$ac_try\"") >&5
    2074923811   (eval $ac_try) 2>&5
    2075023812   ac_status=$?
    2075123813-  echo "$as_me:12169: \$? = $ac_status" >&5
    20752 +  echo "$as_me:12965: \$? = $ac_status" >&5
     23814+  echo "$as_me:13076: \$? = $ac_status" >&5
    2075323815   (exit $ac_status); }; }; then
    2075423816   ac_cv_lib_dbmalloc_debug_malloc=yes
    2075523817 else
    20756 @@ -12177,7 +12973,7 @@
     23818@@ -12177,7 +13084,7 @@
    2075723819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2075823820 LIBS=$ac_check_lib_save_LIBS
    2075923821 fi
    2076023822-echo "$as_me:12180: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
    20761 +echo "$as_me:12976: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
     23823+echo "$as_me:13087: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
    2076223824 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
    2076323825 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
    2076423826   cat >>confdefs.h <<EOF
    20765 @@ -12192,7 +12988,7 @@
     23827@@ -12192,7 +13099,7 @@
    2076623828 
    2076723829 fi
    2076823830 
    2076923831-echo "$as_me:12195: checking if you want to use valgrind for testing" >&5
    20770 +echo "$as_me:12991: checking if you want to use valgrind for testing" >&5
     23832+echo "$as_me:13102: checking if you want to use valgrind for testing" >&5
    2077123833 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
    2077223834 
    2077323835 # Check whether --with-valgrind or --without-valgrind was given.
    20774 @@ -12208,7 +13004,7 @@
     23836@@ -12208,7 +13115,7 @@
    2077523837 else
    2077623838   with_valgrind=
    2077723839 fi;
    2077823840-echo "$as_me:12211: result: ${with_valgrind:-no}" >&5
    20779 +echo "$as_me:13007: result: ${with_valgrind:-no}" >&5
     23841+echo "$as_me:13118: result: ${with_valgrind:-no}" >&5
    2078023842 echo "${ECHO_T}${with_valgrind:-no}" >&6
    2078123843 
    2078223844 case .$with_cflags in #(vi
    20783 @@ -12301,7 +13097,7 @@
     23845@@ -12301,7 +13208,7 @@
    2078423846        ;;
    2078523847 esac
    2078623848 
    2078723849-echo "$as_me:12304: checking if you want to perform memory-leak testing" >&5
    20788 +echo "$as_me:13100: checking if you want to perform memory-leak testing" >&5
     23850+echo "$as_me:13211: checking if you want to perform memory-leak testing" >&5
    2078923851 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
    2079023852 
    2079123853 # Check whether --enable-leaks or --disable-leaks was given.
    20792 @@ -12311,7 +13107,7 @@
     23854@@ -12311,7 +13218,7 @@
    2079323855 else
    2079423856   : ${with_no_leaks:=no}
    2079523857 fi;
    2079623858-echo "$as_me:12314: result: $with_no_leaks" >&5
    20797 +echo "$as_me:13110: result: $with_no_leaks" >&5
     23859+echo "$as_me:13221: result: $with_no_leaks" >&5
    2079823860 echo "${ECHO_T}$with_no_leaks" >&6
    2079923861 
    2080023862 if test "$with_no_leaks" = yes ; then
    20801 @@ -12360,7 +13156,7 @@
     23863@@ -12360,7 +13267,7 @@
    2080223864        ;;
    2080323865 esac
    2080423866 
    2080523867-echo "$as_me:12363: checking whether to add trace feature to all models" >&5
    20806 +echo "$as_me:13159: checking whether to add trace feature to all models" >&5
     23868+echo "$as_me:13270: checking whether to add trace feature to all models" >&5
    2080723869 echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6
    2080823870 
    2080923871 # Check whether --with-trace or --without-trace was given.
    20810 @@ -12370,7 +13166,7 @@
     23872@@ -12370,7 +13277,7 @@
    2081123873 else
    2081223874   cf_with_trace=$cf_all_traces
    2081323875 fi;
    2081423876-echo "$as_me:12373: result: $cf_with_trace" >&5
    20815 +echo "$as_me:13169: result: $cf_with_trace" >&5
     23877+echo "$as_me:13280: result: $cf_with_trace" >&5
    2081623878 echo "${ECHO_T}$cf_with_trace" >&6
    2081723879 
    2081823880 if test "$cf_with_trace" = yes ; then
    20819 @@ -12465,13 +13261,13 @@
     23881@@ -12465,13 +13372,13 @@
    2082023882 *mingw32*) #(vi
    2082123883        ;;
    2082223884 *)
    2082323885-echo "$as_me:12468: checking for gettimeofday" >&5
    20824 +echo "$as_me:13264: checking for gettimeofday" >&5
     23886+echo "$as_me:13375: checking for gettimeofday" >&5
    2082523887 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
    2082623888 if test "${ac_cv_func_gettimeofday+set}" = set; then
     
    2082923891   cat >conftest.$ac_ext <<_ACEOF
    2083023892-#line 12474 "configure"
    20831 +#line 13270 "configure"
     23893+#line 13381 "configure"
    2083223894 #include "confdefs.h"
    2083323895 /* System header to define __stub macros and hopefully few prototypes,
    2083423896     which can conflict with char gettimeofday (); below.  */
    20835 @@ -12502,16 +13298,16 @@
     23897@@ -12494,7 +13401,7 @@
     23898 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
     23899 choke me
     23900 #else
     23901-f = gettimeofday;
     23902+f = gettimeofday; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     23903 #endif
     23904 
     23905   ;
     23906@@ -12502,16 +13409,16 @@
    2083623907 }
    2083723908 _ACEOF
    2083823909 rm -f conftest.$ac_objext conftest$ac_exeext
    2083923910-if { (eval echo "$as_me:12505: \"$ac_link\"") >&5
    20840 +if { (eval echo "$as_me:13301: \"$ac_link\"") >&5
     23911+if { (eval echo "$as_me:13412: \"$ac_link\"") >&5
    2084123912   (eval $ac_link) 2>&5
    2084223913   ac_status=$?
    2084323914-  echo "$as_me:12508: \$? = $ac_status" >&5
    20844 +  echo "$as_me:13304: \$? = $ac_status" >&5
     23915+  echo "$as_me:13415: \$? = $ac_status" >&5
    2084523916   (exit $ac_status); } &&
    2084623917          { ac_try='test -s conftest$ac_exeext'
    2084723918-  { (eval echo "$as_me:12511: \"$ac_try\"") >&5
    20848 +  { (eval echo "$as_me:13307: \"$ac_try\"") >&5
     23919+  { (eval echo "$as_me:13418: \"$ac_try\"") >&5
    2084923920   (eval $ac_try) 2>&5
    2085023921   ac_status=$?
    2085123922-  echo "$as_me:12514: \$? = $ac_status" >&5
    20852 +  echo "$as_me:13310: \$? = $ac_status" >&5
     23923+  echo "$as_me:13421: \$? = $ac_status" >&5
    2085323924   (exit $ac_status); }; }; then
    2085423925   ac_cv_func_gettimeofday=yes
    2085523926 else
    20856 @@ -12521,7 +13317,7 @@
     23927@@ -12521,7 +13428,7 @@
    2085723928 fi
    2085823929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2085923930 fi
    2086023931-echo "$as_me:12524: result: $ac_cv_func_gettimeofday" >&5
    20861 +echo "$as_me:13320: result: $ac_cv_func_gettimeofday" >&5
     23932+echo "$as_me:13431: result: $ac_cv_func_gettimeofday" >&5
    2086223933 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
    2086323934 if test $ac_cv_func_gettimeofday = yes; then
    2086423935   cat >>confdefs.h <<\EOF
    20865 @@ -12530,7 +13326,7 @@
     23936@@ -12530,7 +13437,7 @@
    2086623937 
    2086723938 else
    2086823939 
    2086923940-echo "$as_me:12533: checking for gettimeofday in -lbsd" >&5
    20870 +echo "$as_me:13329: checking for gettimeofday in -lbsd" >&5
     23941+echo "$as_me:13440: checking for gettimeofday in -lbsd" >&5
    2087123942 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
    2087223943 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    2087323944   echo $ECHO_N "(cached) $ECHO_C" >&6
    20874 @@ -12538,7 +13334,7 @@
     23945@@ -12538,7 +13445,7 @@
    2087523946   ac_check_lib_save_LIBS=$LIBS
    2087623947 LIBS="-lbsd  $LIBS"
    2087723948 cat >conftest.$ac_ext <<_ACEOF
    2087823949-#line 12541 "configure"
    20879 +#line 13337 "configure"
     23950+#line 13448 "configure"
    2088023951 #include "confdefs.h"
    2088123952 
    2088223953 /* Override any gcc2 internal prototype to avoid an error.  */
    20883 @@ -12557,16 +13353,16 @@
     23954@@ -12557,16 +13464,16 @@
    2088423955 }
    2088523956 _ACEOF
    2088623957 rm -f conftest.$ac_objext conftest$ac_exeext
    2088723958-if { (eval echo "$as_me:12560: \"$ac_link\"") >&5
    20888 +if { (eval echo "$as_me:13356: \"$ac_link\"") >&5
     23959+if { (eval echo "$as_me:13467: \"$ac_link\"") >&5
    2088923960   (eval $ac_link) 2>&5
    2089023961   ac_status=$?
    2089123962-  echo "$as_me:12563: \$? = $ac_status" >&5
    20892 +  echo "$as_me:13359: \$? = $ac_status" >&5
     23963+  echo "$as_me:13470: \$? = $ac_status" >&5
    2089323964   (exit $ac_status); } &&
    2089423965          { ac_try='test -s conftest$ac_exeext'
    2089523966-  { (eval echo "$as_me:12566: \"$ac_try\"") >&5
    20896 +  { (eval echo "$as_me:13362: \"$ac_try\"") >&5
     23967+  { (eval echo "$as_me:13473: \"$ac_try\"") >&5
    2089723968   (eval $ac_try) 2>&5
    2089823969   ac_status=$?
    2089923970-  echo "$as_me:12569: \$? = $ac_status" >&5
    20900 +  echo "$as_me:13365: \$? = $ac_status" >&5
     23971+  echo "$as_me:13476: \$? = $ac_status" >&5
    2090123972   (exit $ac_status); }; }; then
    2090223973   ac_cv_lib_bsd_gettimeofday=yes
    2090323974 else
    20904 @@ -12577,7 +13373,7 @@
     23975@@ -12577,7 +13484,7 @@
    2090523976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2090623977 LIBS=$ac_check_lib_save_LIBS
    2090723978 fi
    2090823979-echo "$as_me:12580: result: $ac_cv_lib_bsd_gettimeofday" >&5
    20909 +echo "$as_me:13376: result: $ac_cv_lib_bsd_gettimeofday" >&5
     23980+echo "$as_me:13487: result: $ac_cv_lib_bsd_gettimeofday" >&5
    2091023981 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
    2091123982 if test $ac_cv_lib_bsd_gettimeofday = yes; then
    2091223983   cat >>confdefs.h <<\EOF
    20913 @@ -12591,14 +13387,14 @@
     23984@@ -12591,14 +13498,14 @@
    2091423985        ;;
    2091523986 esac
    2091623987 
    2091723988-echo "$as_me:12594: checking if -lm needed for math functions" >&5
    20918 +echo "$as_me:13390: checking if -lm needed for math functions" >&5
     23989+echo "$as_me:13501: checking if -lm needed for math functions" >&5
    2091923990 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6
    2092023991 if test "${cf_cv_need_libm+set}" = set; then
     
    2092423995        cat >conftest.$ac_ext <<_ACEOF
    2092523996-#line 12601 "configure"
    20926 +#line 13397 "configure"
     23997+#line 13508 "configure"
    2092723998 #include "confdefs.h"
    2092823999 
    2092924000        #include <stdio.h>
    20930 @@ -12613,16 +13409,16 @@
     24001@@ -12613,16 +13520,16 @@
    2093124002 }
    2093224003 _ACEOF
    2093324004 rm -f conftest.$ac_objext conftest$ac_exeext
    2093424005-if { (eval echo "$as_me:12616: \"$ac_link\"") >&5
    20935 +if { (eval echo "$as_me:13412: \"$ac_link\"") >&5
     24006+if { (eval echo "$as_me:13523: \"$ac_link\"") >&5
    2093624007   (eval $ac_link) 2>&5
    2093724008   ac_status=$?
    2093824009-  echo "$as_me:12619: \$? = $ac_status" >&5
    20939 +  echo "$as_me:13415: \$? = $ac_status" >&5
     24010+  echo "$as_me:13526: \$? = $ac_status" >&5
    2094024011   (exit $ac_status); } &&
    2094124012          { ac_try='test -s conftest$ac_exeext'
    2094224013-  { (eval echo "$as_me:12622: \"$ac_try\"") >&5
    20943 +  { (eval echo "$as_me:13418: \"$ac_try\"") >&5
     24014+  { (eval echo "$as_me:13529: \"$ac_try\"") >&5
    2094424015   (eval $ac_try) 2>&5
    2094524016   ac_status=$?
    2094624017-  echo "$as_me:12625: \$? = $ac_status" >&5
    20947 +  echo "$as_me:13421: \$? = $ac_status" >&5
     24018+  echo "$as_me:13532: \$? = $ac_status" >&5
    2094824019   (exit $ac_status); }; }; then
    2094924020   cf_cv_need_libm=no
    2095024021 else
    20951 @@ -12632,7 +13428,7 @@
     24022@@ -12632,7 +13539,7 @@
    2095224023 fi
    2095324024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2095424025 fi
    2095524026-echo "$as_me:12635: result: $cf_cv_need_libm" >&5
    20956 +echo "$as_me:13431: result: $cf_cv_need_libm" >&5
     24027+echo "$as_me:13542: result: $cf_cv_need_libm" >&5
    2095724028 echo "${ECHO_T}$cf_cv_need_libm" >&6
    2095824029 if test "$cf_cv_need_libm" = yes
    2095924030 then
    20960 @@ -12640,13 +13436,13 @@
     24031@@ -12640,13 +13547,13 @@
    2096124032 fi
    2096224033 
    2096324034 ###    Checks for header files.
    2096424035-echo "$as_me:12643: checking for ANSI C header files" >&5
    20965 +echo "$as_me:13439: checking for ANSI C header files" >&5
     24036+echo "$as_me:13550: checking for ANSI C header files" >&5
    2096624037 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    2096724038 if test "${ac_cv_header_stdc+set}" = set; then
     
    2097024041   cat >conftest.$ac_ext <<_ACEOF
    2097124042-#line 12649 "configure"
    20972 +#line 13445 "configure"
     24043+#line 13556 "configure"
    2097324044 #include "confdefs.h"
    2097424045 #include <stdlib.h>
    2097524046 #include <stdarg.h>
    20976 @@ -12654,13 +13450,13 @@
     24047@@ -12654,13 +13561,13 @@
    2097724048 #include <float.h>
    2097824049 
    2097924050 _ACEOF
    2098024051-if { (eval echo "$as_me:12657: \"$ac_cpp conftest.$ac_ext\"") >&5
    20981 +if { (eval echo "$as_me:13453: \"$ac_cpp conftest.$ac_ext\"") >&5
     24052+if { (eval echo "$as_me:13564: \"$ac_cpp conftest.$ac_ext\"") >&5
    2098224053   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2098324054   ac_status=$?
     
    2098624057   cat conftest.err >&5
    2098724058-  echo "$as_me:12663: \$? = $ac_status" >&5
    20988 +  echo "$as_me:13459: \$? = $ac_status" >&5
     24059+  echo "$as_me:13570: \$? = $ac_status" >&5
    2098924060   (exit $ac_status); } >/dev/null; then
    2099024061   if test -s conftest.err; then
    2099124062     ac_cpp_err=$ac_c_preproc_warn_flag
    20992 @@ -12682,7 +13478,7 @@
     24063@@ -12682,7 +13589,7 @@
    2099324064 if test $ac_cv_header_stdc = yes; then
    2099424065   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2099524066   cat >conftest.$ac_ext <<_ACEOF
    2099624067-#line 12685 "configure"
    20997 +#line 13481 "configure"
     24068+#line 13592 "configure"
    2099824069 #include "confdefs.h"
    2099924070 #include <string.h>
    2100024071 
    21001 @@ -12700,7 +13496,7 @@
     24072@@ -12700,7 +13607,7 @@
    2100224073 if test $ac_cv_header_stdc = yes; then
    2100324074   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2100424075   cat >conftest.$ac_ext <<_ACEOF
    2100524076-#line 12703 "configure"
    21006 +#line 13499 "configure"
     24077+#line 13610 "configure"
    2100724078 #include "confdefs.h"
    2100824079 #include <stdlib.h>
    2100924080 
    21010 @@ -12721,7 +13517,7 @@
     24081@@ -12721,7 +13628,7 @@
    2101124082   :
    2101224083 else
    2101324084   cat >conftest.$ac_ext <<_ACEOF
    2101424085-#line 12724 "configure"
    21015 +#line 13520 "configure"
     24086+#line 13631 "configure"
    2101624087 #include "confdefs.h"
    2101724088 #include <ctype.h>
    2101824089 #if ((' ' & 0x0FF) == 0x020)
    21019 @@ -12747,15 +13543,15 @@
     24090@@ -12747,15 +13654,15 @@
    2102024091 }
    2102124092 _ACEOF
    2102224093 rm -f conftest$ac_exeext
    2102324094-if { (eval echo "$as_me:12750: \"$ac_link\"") >&5
    21024 +if { (eval echo "$as_me:13546: \"$ac_link\"") >&5
     24095+if { (eval echo "$as_me:13657: \"$ac_link\"") >&5
    2102524096   (eval $ac_link) 2>&5
    2102624097   ac_status=$?
    2102724098-  echo "$as_me:12753: \$? = $ac_status" >&5
    21028 +  echo "$as_me:13549: \$? = $ac_status" >&5
     24099+  echo "$as_me:13660: \$? = $ac_status" >&5
    2102924100   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2103024101-  { (eval echo "$as_me:12755: \"$ac_try\"") >&5
    21031 +  { (eval echo "$as_me:13551: \"$ac_try\"") >&5
     24102+  { (eval echo "$as_me:13662: \"$ac_try\"") >&5
    2103224103   (eval $ac_try) 2>&5
    2103324104   ac_status=$?
    2103424105-  echo "$as_me:12758: \$? = $ac_status" >&5
    21035 +  echo "$as_me:13554: \$? = $ac_status" >&5
     24106+  echo "$as_me:13665: \$? = $ac_status" >&5
    2103624107   (exit $ac_status); }; }; then
    2103724108   :
    2103824109 else
    21039 @@ -12768,7 +13564,7 @@
     24110@@ -12768,7 +13675,7 @@
    2104024111 fi
    2104124112 fi
    2104224113 fi
    2104324114-echo "$as_me:12771: result: $ac_cv_header_stdc" >&5
    21044 +echo "$as_me:13567: result: $ac_cv_header_stdc" >&5
     24115+echo "$as_me:13678: result: $ac_cv_header_stdc" >&5
    2104524116 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    2104624117 if test $ac_cv_header_stdc = yes; then
    2104724118 
    21048 @@ -12781,13 +13577,13 @@
     24119@@ -12781,13 +13688,13 @@
    2104924120 ac_header_dirent=no
    2105024121 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    2105124122   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    2105224123-echo "$as_me:12784: checking for $ac_hdr that defines DIR" >&5
    21053 +echo "$as_me:13580: checking for $ac_hdr that defines DIR" >&5
     24124+echo "$as_me:13691: checking for $ac_hdr that defines DIR" >&5
    2105424125 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    2105524126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2105824129   cat >conftest.$ac_ext <<_ACEOF
    2105924130-#line 12790 "configure"
    21060 +#line 13586 "configure"
     24131+#line 13697 "configure"
    2106124132 #include "confdefs.h"
    2106224133 #include <sys/types.h>
    2106324134 #include <$ac_hdr>
    21064 @@ -12802,16 +13598,16 @@
     24135@@ -12802,16 +13709,16 @@
    2106524136 }
    2106624137 _ACEOF
    2106724138 rm -f conftest.$ac_objext
    2106824139-if { (eval echo "$as_me:12805: \"$ac_compile\"") >&5
    21069 +if { (eval echo "$as_me:13601: \"$ac_compile\"") >&5
     24140+if { (eval echo "$as_me:13712: \"$ac_compile\"") >&5
    2107024141   (eval $ac_compile) 2>&5
    2107124142   ac_status=$?
    2107224143-  echo "$as_me:12808: \$? = $ac_status" >&5
    21073 +  echo "$as_me:13604: \$? = $ac_status" >&5
     24144+  echo "$as_me:13715: \$? = $ac_status" >&5
    2107424145   (exit $ac_status); } &&
    2107524146          { ac_try='test -s conftest.$ac_objext'
    2107624147-  { (eval echo "$as_me:12811: \"$ac_try\"") >&5
    21077 +  { (eval echo "$as_me:13607: \"$ac_try\"") >&5
     24148+  { (eval echo "$as_me:13718: \"$ac_try\"") >&5
    2107824149   (eval $ac_try) 2>&5
    2107924150   ac_status=$?
    2108024151-  echo "$as_me:12814: \$? = $ac_status" >&5
    21081 +  echo "$as_me:13610: \$? = $ac_status" >&5
     24152+  echo "$as_me:13721: \$? = $ac_status" >&5
    2108224153   (exit $ac_status); }; }; then
    2108324154   eval "$as_ac_Header=yes"
    2108424155 else
    21085 @@ -12821,7 +13617,7 @@
     24156@@ -12821,7 +13728,7 @@
    2108624157 fi
    2108724158 rm -f conftest.$ac_objext conftest.$ac_ext
    2108824159 fi
    2108924160-echo "$as_me:12824: result: `eval echo '${'$as_ac_Header'}'`" >&5
    21090 +echo "$as_me:13620: result: `eval echo '${'$as_ac_Header'}'`" >&5
     24161+echo "$as_me:13731: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2109124162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2109224163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2109324164   cat >>confdefs.h <<EOF
    21094 @@ -12834,7 +13630,7 @@
     24165@@ -12834,7 +13741,7 @@
    2109524166 done
    2109624167 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    2109724168 if test $ac_header_dirent = dirent.h; then
    2109824169-  echo "$as_me:12837: checking for opendir in -ldir" >&5
    21099 +  echo "$as_me:13633: checking for opendir in -ldir" >&5
     24170+  echo "$as_me:13744: checking for opendir in -ldir" >&5
    2110024171 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
    2110124172 if test "${ac_cv_lib_dir_opendir+set}" = set; then
    2110224173   echo $ECHO_N "(cached) $ECHO_C" >&6
    21103 @@ -12842,7 +13638,7 @@
     24174@@ -12842,7 +13749,7 @@
    2110424175   ac_check_lib_save_LIBS=$LIBS
    2110524176 LIBS="-ldir  $LIBS"
    2110624177 cat >conftest.$ac_ext <<_ACEOF
    2110724178-#line 12845 "configure"
    21108 +#line 13641 "configure"
     24179+#line 13752 "configure"
    2110924180 #include "confdefs.h"
    2111024181 
    2111124182 /* Override any gcc2 internal prototype to avoid an error.  */
    21112 @@ -12861,16 +13657,16 @@
     24183@@ -12861,16 +13768,16 @@
    2111324184 }
    2111424185 _ACEOF
    2111524186 rm -f conftest.$ac_objext conftest$ac_exeext
    2111624187-if { (eval echo "$as_me:12864: \"$ac_link\"") >&5
    21117 +if { (eval echo "$as_me:13660: \"$ac_link\"") >&5
     24188+if { (eval echo "$as_me:13771: \"$ac_link\"") >&5
    2111824189   (eval $ac_link) 2>&5
    2111924190   ac_status=$?
    2112024191-  echo "$as_me:12867: \$? = $ac_status" >&5
    21121 +  echo "$as_me:13663: \$? = $ac_status" >&5
     24192+  echo "$as_me:13774: \$? = $ac_status" >&5
    2112224193   (exit $ac_status); } &&
    2112324194          { ac_try='test -s conftest$ac_exeext'
    2112424195-  { (eval echo "$as_me:12870: \"$ac_try\"") >&5
    21125 +  { (eval echo "$as_me:13666: \"$ac_try\"") >&5
     24196+  { (eval echo "$as_me:13777: \"$ac_try\"") >&5
    2112624197   (eval $ac_try) 2>&5
    2112724198   ac_status=$?
    2112824199-  echo "$as_me:12873: \$? = $ac_status" >&5
    21129 +  echo "$as_me:13669: \$? = $ac_status" >&5
     24200+  echo "$as_me:13780: \$? = $ac_status" >&5
    2113024201   (exit $ac_status); }; }; then
    2113124202   ac_cv_lib_dir_opendir=yes
    2113224203 else
    21133 @@ -12881,14 +13677,14 @@
     24204@@ -12881,14 +13788,14 @@
    2113424205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2113524206 LIBS=$ac_check_lib_save_LIBS
    2113624207 fi
    2113724208-echo "$as_me:12884: result: $ac_cv_lib_dir_opendir" >&5
    21138 +echo "$as_me:13680: result: $ac_cv_lib_dir_opendir" >&5
     24209+echo "$as_me:13791: result: $ac_cv_lib_dir_opendir" >&5
    2113924210 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
    2114024211 if test $ac_cv_lib_dir_opendir = yes; then
     
    2114424215 else
    2114524216-  echo "$as_me:12891: checking for opendir in -lx" >&5
    21146 +  echo "$as_me:13687: checking for opendir in -lx" >&5
     24217+  echo "$as_me:13798: checking for opendir in -lx" >&5
    2114724218 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
    2114824219 if test "${ac_cv_lib_x_opendir+set}" = set; then
    2114924220   echo $ECHO_N "(cached) $ECHO_C" >&6
    21150 @@ -12896,7 +13692,7 @@
     24221@@ -12896,7 +13803,7 @@
    2115124222   ac_check_lib_save_LIBS=$LIBS
    2115224223 LIBS="-lx  $LIBS"
    2115324224 cat >conftest.$ac_ext <<_ACEOF
    2115424225-#line 12899 "configure"
    21155 +#line 13695 "configure"
     24226+#line 13806 "configure"
    2115624227 #include "confdefs.h"
    2115724228 
    2115824229 /* Override any gcc2 internal prototype to avoid an error.  */
    21159 @@ -12915,16 +13711,16 @@
     24230@@ -12915,16 +13822,16 @@
    2116024231 }
    2116124232 _ACEOF
    2116224233 rm -f conftest.$ac_objext conftest$ac_exeext
    2116324234-if { (eval echo "$as_me:12918: \"$ac_link\"") >&5
    21164 +if { (eval echo "$as_me:13714: \"$ac_link\"") >&5
     24235+if { (eval echo "$as_me:13825: \"$ac_link\"") >&5
    2116524236   (eval $ac_link) 2>&5
    2116624237   ac_status=$?
    2116724238-  echo "$as_me:12921: \$? = $ac_status" >&5
    21168 +  echo "$as_me:13717: \$? = $ac_status" >&5
     24239+  echo "$as_me:13828: \$? = $ac_status" >&5
    2116924240   (exit $ac_status); } &&
    2117024241          { ac_try='test -s conftest$ac_exeext'
    2117124242-  { (eval echo "$as_me:12924: \"$ac_try\"") >&5
    21172 +  { (eval echo "$as_me:13720: \"$ac_try\"") >&5
     24243+  { (eval echo "$as_me:13831: \"$ac_try\"") >&5
    2117324244   (eval $ac_try) 2>&5
    2117424245   ac_status=$?
    2117524246-  echo "$as_me:12927: \$? = $ac_status" >&5
    21176 +  echo "$as_me:13723: \$? = $ac_status" >&5
     24247+  echo "$as_me:13834: \$? = $ac_status" >&5
    2117724248   (exit $ac_status); }; }; then
    2117824249   ac_cv_lib_x_opendir=yes
    2117924250 else
    21180 @@ -12935,7 +13731,7 @@
     24251@@ -12935,7 +13842,7 @@
    2118124252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2118224253 LIBS=$ac_check_lib_save_LIBS
    2118324254 fi
    2118424255-echo "$as_me:12938: result: $ac_cv_lib_x_opendir" >&5
    21185 +echo "$as_me:13734: result: $ac_cv_lib_x_opendir" >&5
     24256+echo "$as_me:13845: result: $ac_cv_lib_x_opendir" >&5
    2118624257 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
    2118724258 if test $ac_cv_lib_x_opendir = yes; then
    2118824259   LIBS="$LIBS -lx"
    21189 @@ -12943,13 +13739,13 @@
     24260@@ -12943,13 +13850,13 @@
    2119024261 
    2119124262 fi
    2119224263 
    2119324264-echo "$as_me:12946: checking whether time.h and sys/time.h may both be included" >&5
    21194 +echo "$as_me:13742: checking whether time.h and sys/time.h may both be included" >&5
     24265+echo "$as_me:13853: checking whether time.h and sys/time.h may both be included" >&5
    2119524266 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    2119624267 if test "${ac_cv_header_time+set}" = set; then
     
    2119924270   cat >conftest.$ac_ext <<_ACEOF
    2120024271-#line 12952 "configure"
    21201 +#line 13748 "configure"
     24272+#line 13859 "configure"
    2120224273 #include "confdefs.h"
    2120324274 #include <sys/types.h>
    2120424275 #include <sys/time.h>
    21205 @@ -12965,16 +13761,16 @@
     24276@@ -12965,16 +13872,16 @@
    2120624277 }
    2120724278 _ACEOF
    2120824279 rm -f conftest.$ac_objext
    2120924280-if { (eval echo "$as_me:12968: \"$ac_compile\"") >&5
    21210 +if { (eval echo "$as_me:13764: \"$ac_compile\"") >&5
     24281+if { (eval echo "$as_me:13875: \"$ac_compile\"") >&5
    2121124282   (eval $ac_compile) 2>&5
    2121224283   ac_status=$?
    2121324284-  echo "$as_me:12971: \$? = $ac_status" >&5
    21214 +  echo "$as_me:13767: \$? = $ac_status" >&5
     24285+  echo "$as_me:13878: \$? = $ac_status" >&5
    2121524286   (exit $ac_status); } &&
    2121624287          { ac_try='test -s conftest.$ac_objext'
    2121724288-  { (eval echo "$as_me:12974: \"$ac_try\"") >&5
    21218 +  { (eval echo "$as_me:13770: \"$ac_try\"") >&5
     24289+  { (eval echo "$as_me:13881: \"$ac_try\"") >&5
    2121924290   (eval $ac_try) 2>&5
    2122024291   ac_status=$?
    2122124292-  echo "$as_me:12977: \$? = $ac_status" >&5
    21222 +  echo "$as_me:13773: \$? = $ac_status" >&5
     24293+  echo "$as_me:13884: \$? = $ac_status" >&5
    2122324294   (exit $ac_status); }; }; then
    2122424295   ac_cv_header_time=yes
    2122524296 else
    21226 @@ -12984,7 +13780,7 @@
     24297@@ -12984,7 +13891,7 @@
    2122724298 fi
    2122824299 rm -f conftest.$ac_objext conftest.$ac_ext
    2122924300 fi
    2123024301-echo "$as_me:12987: result: $ac_cv_header_time" >&5
    21231 +echo "$as_me:13783: result: $ac_cv_header_time" >&5
     24302+echo "$as_me:13894: result: $ac_cv_header_time" >&5
    2123224303 echo "${ECHO_T}$ac_cv_header_time" >&6
    2123324304 if test $ac_cv_header_time = yes; then
    2123424305 
    21235 @@ -12999,17 +13795,17 @@
     24306@@ -12999,17 +13906,17 @@
    2123624307 cf_regex_libs="regex re"
    2123724308 case $host_os in #(vi
     
    2124324314 
    2124424315-echo "$as_me:13006: checking for regcomp" >&5
    21245 +echo "$as_me:13802: checking for regcomp" >&5
     24316+echo "$as_me:13913: checking for regcomp" >&5
    2124624317 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
    2124724318 if test "${ac_cv_func_regcomp+set}" = set; then
     
    2125024321   cat >conftest.$ac_ext <<_ACEOF
    2125124322-#line 13012 "configure"
    21252 +#line 13808 "configure"
     24323+#line 13919 "configure"
    2125324324 #include "confdefs.h"
    2125424325 /* System header to define __stub macros and hopefully few prototypes,
    2125524326     which can conflict with char regcomp (); below.  */
    21256 @@ -13040,16 +13836,16 @@
     24327@@ -13032,7 +13939,7 @@
     24328 #if defined (__stub_regcomp) || defined (__stub___regcomp)
     24329 choke me
     24330 #else
     24331-f = regcomp;
     24332+f = regcomp; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     24333 #endif
     24334 
     24335   ;
     24336@@ -13040,16 +13947,16 @@
    2125724337 }
    2125824338 _ACEOF
    2125924339 rm -f conftest.$ac_objext conftest$ac_exeext
    2126024340-if { (eval echo "$as_me:13043: \"$ac_link\"") >&5
    21261 +if { (eval echo "$as_me:13839: \"$ac_link\"") >&5
     24341+if { (eval echo "$as_me:13950: \"$ac_link\"") >&5
    2126224342   (eval $ac_link) 2>&5
    2126324343   ac_status=$?
    2126424344-  echo "$as_me:13046: \$? = $ac_status" >&5
    21265 +  echo "$as_me:13842: \$? = $ac_status" >&5
     24345+  echo "$as_me:13953: \$? = $ac_status" >&5
    2126624346   (exit $ac_status); } &&
    2126724347          { ac_try='test -s conftest$ac_exeext'
    2126824348-  { (eval echo "$as_me:13049: \"$ac_try\"") >&5
    21269 +  { (eval echo "$as_me:13845: \"$ac_try\"") >&5
     24349+  { (eval echo "$as_me:13956: \"$ac_try\"") >&5
    2127024350   (eval $ac_try) 2>&5
    2127124351   ac_status=$?
    2127224352-  echo "$as_me:13052: \$? = $ac_status" >&5
    21273 +  echo "$as_me:13848: \$? = $ac_status" >&5
     24353+  echo "$as_me:13959: \$? = $ac_status" >&5
    2127424354   (exit $ac_status); }; }; then
    2127524355   ac_cv_func_regcomp=yes
    2127624356 else
    21277 @@ -13059,7 +13855,7 @@
     24357@@ -13059,7 +13966,7 @@
    2127824358 fi
    2127924359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2128024360 fi
    2128124361-echo "$as_me:13062: result: $ac_cv_func_regcomp" >&5
    21282 +echo "$as_me:13858: result: $ac_cv_func_regcomp" >&5
     24362+echo "$as_me:13969: result: $ac_cv_func_regcomp" >&5
    2128324363 echo "${ECHO_T}$ac_cv_func_regcomp" >&6
    2128424364 if test $ac_cv_func_regcomp = yes; then
    2128524365   cf_regex_func=regcomp
    21286 @@ -13068,7 +13864,7 @@
     24366@@ -13068,7 +13975,7 @@
    2128724367        for cf_regex_lib in $cf_regex_libs
    2128824368        do
    2128924369                as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh`
    2129024370-echo "$as_me:13071: checking for regcomp in -l$cf_regex_lib" >&5
    21291 +echo "$as_me:13867: checking for regcomp in -l$cf_regex_lib" >&5
     24371+echo "$as_me:13978: checking for regcomp in -l$cf_regex_lib" >&5
    2129224372 echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6
    2129324373 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    2129424374   echo $ECHO_N "(cached) $ECHO_C" >&6
    21295 @@ -13076,7 +13872,7 @@
     24375@@ -13076,7 +13983,7 @@
    2129624376   ac_check_lib_save_LIBS=$LIBS
    2129724377 LIBS="-l$cf_regex_lib  $LIBS"
    2129824378 cat >conftest.$ac_ext <<_ACEOF
    2129924379-#line 13079 "configure"
    21300 +#line 13875 "configure"
     24380+#line 13986 "configure"
    2130124381 #include "confdefs.h"
    2130224382 
    2130324383 /* Override any gcc2 internal prototype to avoid an error.  */
    21304 @@ -13095,16 +13891,16 @@
     24384@@ -13095,16 +14002,16 @@
    2130524385 }
    2130624386 _ACEOF
    2130724387 rm -f conftest.$ac_objext conftest$ac_exeext
    2130824388-if { (eval echo "$as_me:13098: \"$ac_link\"") >&5
    21309 +if { (eval echo "$as_me:13894: \"$ac_link\"") >&5
     24389+if { (eval echo "$as_me:14005: \"$ac_link\"") >&5
    2131024390   (eval $ac_link) 2>&5
    2131124391   ac_status=$?
    2131224392-  echo "$as_me:13101: \$? = $ac_status" >&5
    21313 +  echo "$as_me:13897: \$? = $ac_status" >&5
     24393+  echo "$as_me:14008: \$? = $ac_status" >&5
    2131424394   (exit $ac_status); } &&
    2131524395          { ac_try='test -s conftest$ac_exeext'
    2131624396-  { (eval echo "$as_me:13104: \"$ac_try\"") >&5
    21317 +  { (eval echo "$as_me:13900: \"$ac_try\"") >&5
     24397+  { (eval echo "$as_me:14011: \"$ac_try\"") >&5
    2131824398   (eval $ac_try) 2>&5
    2131924399   ac_status=$?
    2132024400-  echo "$as_me:13107: \$? = $ac_status" >&5
    21321 +  echo "$as_me:13903: \$? = $ac_status" >&5
     24401+  echo "$as_me:14014: \$? = $ac_status" >&5
    2132224402   (exit $ac_status); }; }; then
    2132324403   eval "$as_ac_Lib=yes"
    2132424404 else
    21325 @@ -13115,7 +13911,7 @@
     24405@@ -13115,7 +14022,7 @@
    2132624406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2132724407 LIBS=$ac_check_lib_save_LIBS
    2132824408 fi
    2132924409-echo "$as_me:13118: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    21330 +echo "$as_me:13914: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     24410+echo "$as_me:14025: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    2133124411 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    2133224412 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    2133324413 
    21334 @@ -13129,13 +13925,13 @@
     24414@@ -13129,13 +14036,13 @@
    2133524415 fi
    2133624416 
    2133724417 if test "$cf_regex_func" = no ; then
    2133824418-       echo "$as_me:13132: checking for compile" >&5
    21339 +       echo "$as_me:13928: checking for compile" >&5
     24419+       echo "$as_me:14039: checking for compile" >&5
    2134024420 echo $ECHO_N "checking for compile... $ECHO_C" >&6
    2134124421 if test "${ac_cv_func_compile+set}" = set; then
     
    2134424424   cat >conftest.$ac_ext <<_ACEOF
    2134524425-#line 13138 "configure"
    21346 +#line 13934 "configure"
     24426+#line 14045 "configure"
    2134724427 #include "confdefs.h"
    2134824428 /* System header to define __stub macros and hopefully few prototypes,
    2134924429     which can conflict with char compile (); below.  */
    21350 @@ -13166,16 +13962,16 @@
     24430@@ -13158,7 +14065,7 @@
     24431 #if defined (__stub_compile) || defined (__stub___compile)
     24432 choke me
     24433 #else
     24434-f = compile;
     24435+f = compile; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     24436 #endif
     24437 
     24438   ;
     24439@@ -13166,16 +14073,16 @@
    2135124440 }
    2135224441 _ACEOF
    2135324442 rm -f conftest.$ac_objext conftest$ac_exeext
    2135424443-if { (eval echo "$as_me:13169: \"$ac_link\"") >&5
    21355 +if { (eval echo "$as_me:13965: \"$ac_link\"") >&5
     24444+if { (eval echo "$as_me:14076: \"$ac_link\"") >&5
    2135624445   (eval $ac_link) 2>&5
    2135724446   ac_status=$?
    2135824447-  echo "$as_me:13172: \$? = $ac_status" >&5
    21359 +  echo "$as_me:13968: \$? = $ac_status" >&5
     24448+  echo "$as_me:14079: \$? = $ac_status" >&5
    2136024449   (exit $ac_status); } &&
    2136124450          { ac_try='test -s conftest$ac_exeext'
    2136224451-  { (eval echo "$as_me:13175: \"$ac_try\"") >&5
    21363 +  { (eval echo "$as_me:13971: \"$ac_try\"") >&5
     24452+  { (eval echo "$as_me:14082: \"$ac_try\"") >&5
    2136424453   (eval $ac_try) 2>&5
    2136524454   ac_status=$?
    2136624455-  echo "$as_me:13178: \$? = $ac_status" >&5
    21367 +  echo "$as_me:13974: \$? = $ac_status" >&5
     24456+  echo "$as_me:14085: \$? = $ac_status" >&5
    2136824457   (exit $ac_status); }; }; then
    2136924458   ac_cv_func_compile=yes
    2137024459 else
    21371 @@ -13185,13 +13981,13 @@
     24460@@ -13185,13 +14092,13 @@
    2137224461 fi
    2137324462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2137424463 fi
    2137524464-echo "$as_me:13188: result: $ac_cv_func_compile" >&5
    21376 +echo "$as_me:13984: result: $ac_cv_func_compile" >&5
     24465+echo "$as_me:14095: result: $ac_cv_func_compile" >&5
    2137724466 echo "${ECHO_T}$ac_cv_func_compile" >&6
    2137824467 if test $ac_cv_func_compile = yes; then
     
    2138124470 
    2138224471-               echo "$as_me:13194: checking for compile in -lgen" >&5
    21383 +               echo "$as_me:13990: checking for compile in -lgen" >&5
     24472+               echo "$as_me:14101: checking for compile in -lgen" >&5
    2138424473 echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6
    2138524474 if test "${ac_cv_lib_gen_compile+set}" = set; then
    2138624475   echo $ECHO_N "(cached) $ECHO_C" >&6
    21387 @@ -13199,7 +13995,7 @@
     24476@@ -13199,7 +14106,7 @@
    2138824477   ac_check_lib_save_LIBS=$LIBS
    2138924478 LIBS="-lgen  $LIBS"
    2139024479 cat >conftest.$ac_ext <<_ACEOF
    2139124480-#line 13202 "configure"
    21392 +#line 13998 "configure"
     24481+#line 14109 "configure"
    2139324482 #include "confdefs.h"
    2139424483 
    2139524484 /* Override any gcc2 internal prototype to avoid an error.  */
    21396 @@ -13218,16 +14014,16 @@
     24485@@ -13218,16 +14125,16 @@
    2139724486 }
    2139824487 _ACEOF
    2139924488 rm -f conftest.$ac_objext conftest$ac_exeext
    2140024489-if { (eval echo "$as_me:13221: \"$ac_link\"") >&5
    21401 +if { (eval echo "$as_me:14017: \"$ac_link\"") >&5
     24490+if { (eval echo "$as_me:14128: \"$ac_link\"") >&5
    2140224491   (eval $ac_link) 2>&5
    2140324492   ac_status=$?
    2140424493-  echo "$as_me:13224: \$? = $ac_status" >&5
    21405 +  echo "$as_me:14020: \$? = $ac_status" >&5
     24494+  echo "$as_me:14131: \$? = $ac_status" >&5
    2140624495   (exit $ac_status); } &&
    2140724496          { ac_try='test -s conftest$ac_exeext'
    2140824497-  { (eval echo "$as_me:13227: \"$ac_try\"") >&5
    21409 +  { (eval echo "$as_me:14023: \"$ac_try\"") >&5
     24498+  { (eval echo "$as_me:14134: \"$ac_try\"") >&5
    2141024499   (eval $ac_try) 2>&5
    2141124500   ac_status=$?
    2141224501-  echo "$as_me:13230: \$? = $ac_status" >&5
    21413 +  echo "$as_me:14026: \$? = $ac_status" >&5
     24502+  echo "$as_me:14137: \$? = $ac_status" >&5
    2141424503   (exit $ac_status); }; }; then
    2141524504   ac_cv_lib_gen_compile=yes
    2141624505 else
    21417 @@ -13238,7 +14034,7 @@
     24506@@ -13238,7 +14145,7 @@
    2141824507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2141924508 LIBS=$ac_check_lib_save_LIBS
    2142024509 fi
    2142124510-echo "$as_me:13241: result: $ac_cv_lib_gen_compile" >&5
    21422 +echo "$as_me:14037: result: $ac_cv_lib_gen_compile" >&5
     24511+echo "$as_me:14148: result: $ac_cv_lib_gen_compile" >&5
    2142324512 echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6
    2142424513 if test $ac_cv_lib_gen_compile = yes; then
    2142524514 
    21426 @@ -13251,11 +14047,11 @@
     24515@@ -13251,11 +14158,11 @@
    2142724516 fi
    2142824517 
    2142924518 if test "$cf_regex_func" = no ; then
    2143024519-       { echo "$as_me:13254: WARNING: cannot find regular expression library" >&5
    21431 +       { echo "$as_me:14050: WARNING: cannot find regular expression library" >&5
     24520+       { echo "$as_me:14161: WARNING: cannot find regular expression library" >&5
    2143224521 echo "$as_me: WARNING: cannot find regular expression library" >&2;}
    2143324522 fi
    2143424523 
    2143524524-echo "$as_me:13258: checking for regular-expression headers" >&5
    21436 +echo "$as_me:14054: checking for regular-expression headers" >&5
     24525+echo "$as_me:14165: checking for regular-expression headers" >&5
    2143724526 echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6
    2143824527 if test "${cf_cv_regex_hdrs+set}" = set; then
    2143924528   echo $ECHO_N "(cached) $ECHO_C" >&6
    21440 @@ -13267,7 +14063,7 @@
     24529@@ -13267,7 +14174,7 @@
    2144124530        for cf_regex_hdr in regexp.h regexpr.h
    2144224531        do
    2144324532                cat >conftest.$ac_ext <<_ACEOF
    2144424533-#line 13270 "configure"
    21445 +#line 14066 "configure"
     24534+#line 14177 "configure"
    2144624535 #include "confdefs.h"
    2144724536 #include <$cf_regex_hdr>
    2144824537 int
    21449 @@ -13282,16 +14078,16 @@
     24538@@ -13282,16 +14189,16 @@
    2145024539 }
    2145124540 _ACEOF
    2145224541 rm -f conftest.$ac_objext conftest$ac_exeext
    2145324542-if { (eval echo "$as_me:13285: \"$ac_link\"") >&5
    21454 +if { (eval echo "$as_me:14081: \"$ac_link\"") >&5
     24543+if { (eval echo "$as_me:14192: \"$ac_link\"") >&5
    2145524544   (eval $ac_link) 2>&5
    2145624545   ac_status=$?
    2145724546-  echo "$as_me:13288: \$? = $ac_status" >&5
    21458 +  echo "$as_me:14084: \$? = $ac_status" >&5
     24547+  echo "$as_me:14195: \$? = $ac_status" >&5
    2145924548   (exit $ac_status); } &&
    2146024549          { ac_try='test -s conftest$ac_exeext'
    2146124550-  { (eval echo "$as_me:13291: \"$ac_try\"") >&5
    21462 +  { (eval echo "$as_me:14087: \"$ac_try\"") >&5
     24551+  { (eval echo "$as_me:14198: \"$ac_try\"") >&5
    2146324552   (eval $ac_try) 2>&5
    2146424553   ac_status=$?
    2146524554-  echo "$as_me:13294: \$? = $ac_status" >&5
    21466 +  echo "$as_me:14090: \$? = $ac_status" >&5
     24555+  echo "$as_me:14201: \$? = $ac_status" >&5
    2146724556   (exit $ac_status); }; }; then
    2146824557 
    2146924558                        cf_cv_regex_hdrs=$cf_regex_hdr
    21470 @@ -13308,7 +14104,7 @@
     24559@@ -13308,7 +14215,7 @@
    2147124560        for cf_regex_hdr in regex.h
    2147224561        do
    2147324562                cat >conftest.$ac_ext <<_ACEOF
    2147424563-#line 13311 "configure"
    21475 +#line 14107 "configure"
     24564+#line 14218 "configure"
    2147624565 #include "confdefs.h"
    2147724566 #include <sys/types.h>
    2147824567 #include <$cf_regex_hdr>
    21479 @@ -13326,16 +14122,16 @@
     24568@@ -13326,16 +14233,16 @@
    2148024569 }
    2148124570 _ACEOF
    2148224571 rm -f conftest.$ac_objext conftest$ac_exeext
    2148324572-if { (eval echo "$as_me:13329: \"$ac_link\"") >&5
    21484 +if { (eval echo "$as_me:14125: \"$ac_link\"") >&5
     24573+if { (eval echo "$as_me:14236: \"$ac_link\"") >&5
    2148524574   (eval $ac_link) 2>&5
    2148624575   ac_status=$?
    2148724576-  echo "$as_me:13332: \$? = $ac_status" >&5
    21488 +  echo "$as_me:14128: \$? = $ac_status" >&5
     24577+  echo "$as_me:14239: \$? = $ac_status" >&5
    2148924578   (exit $ac_status); } &&
    2149024579          { ac_try='test -s conftest$ac_exeext'
    2149124580-  { (eval echo "$as_me:13335: \"$ac_try\"") >&5
    21492 +  { (eval echo "$as_me:14131: \"$ac_try\"") >&5
     24581+  { (eval echo "$as_me:14242: \"$ac_try\"") >&5
    2149324582   (eval $ac_try) 2>&5
    2149424583   ac_status=$?
    2149524584-  echo "$as_me:13338: \$? = $ac_status" >&5
    21496 +  echo "$as_me:14134: \$? = $ac_status" >&5
     24585+  echo "$as_me:14245: \$? = $ac_status" >&5
    2149724586   (exit $ac_status); }; }; then
    2149824587 
    2149924588                        cf_cv_regex_hdrs=$cf_regex_hdr
    21500 @@ -13351,11 +14147,11 @@
     24589@@ -13351,11 +14258,11 @@
    2150124590 esac
    2150224591 
    2150324592 fi
    2150424593-echo "$as_me:13354: result: $cf_cv_regex_hdrs" >&5
    21505 +echo "$as_me:14150: result: $cf_cv_regex_hdrs" >&5
     24594+echo "$as_me:14261: result: $cf_cv_regex_hdrs" >&5
    2150624595 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6
    2150724596 
    2150824597 case $cf_cv_regex_hdrs in #(vi
    2150924598-    no)               { echo "$as_me:13358: WARNING: no regular expression header found" >&5
    21510 +    no)               { echo "$as_me:14154: WARNING: no regular expression header found" >&5
     24599+    no)               { echo "$as_me:14265: WARNING: no regular expression header found" >&5
    2151124600 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; #(vi
    2151224601     regex.h)   cat >>confdefs.h <<\EOF
    2151324602 #define HAVE_REGEX_H_FUNCS 1
    21514 @@ -13391,23 +14187,71 @@
     24603@@ -13391,23 +14298,71 @@
    2151524604 
    2151624605 do
    2151724606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2151824607-echo "$as_me:13394: checking for $ac_header" >&5
    21519 +echo "$as_me:14190: checking for $ac_header" >&5
     24608+echo "$as_me:14301: checking for $ac_header" >&5
    2152024609+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2152124610+if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2152324612+else
    2152424613+  cat >conftest.$ac_ext <<_ACEOF
    21525 +#line 14196 "configure"
     24614+#line 14307 "configure"
    2152624615+#include "confdefs.h"
    2152724616+#include <$ac_header>
    2152824617+_ACEOF
    21529 +if { (eval echo "$as_me:14200: \"$ac_cpp conftest.$ac_ext\"") >&5
     24618+if { (eval echo "$as_me:14311: \"$ac_cpp conftest.$ac_ext\"") >&5
    2153024619+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2153124620+  ac_status=$?
     
    2153324622+  rm -f conftest.er1
    2153424623+  cat conftest.err >&5
    21535 +  echo "$as_me:14206: \$? = $ac_status" >&5
     24624+  echo "$as_me:14317: \$? = $ac_status" >&5
    2153624625+  (exit $ac_status); } >/dev/null; then
    2153724626+  if test -s conftest.err; then
     
    2155224641+rm -f conftest.err conftest.$ac_ext
    2155324642+fi
    21554 +echo "$as_me:14225: result: `eval echo '${'$as_ac_Header'}'`" >&5
     24643+echo "$as_me:14336: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2155524644+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2155624645+if test `eval echo '${'$as_ac_Header'}'` = yes; then
     
    2156524654+do
    2156624655+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    21567 +echo "$as_me:14238: checking for $ac_header" >&5
     24656+echo "$as_me:14349: checking for $ac_header" >&5
    2156824657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2156924658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2157224661   cat >conftest.$ac_ext <<_ACEOF
    2157324662-#line 13400 "configure"
    21574 +#line 14244 "configure"
     24663+#line 14355 "configure"
    2157524664 #include "confdefs.h"
    2157624665 #include <$ac_header>
    2157724666 _ACEOF
    2157824667-if { (eval echo "$as_me:13404: \"$ac_cpp conftest.$ac_ext\"") >&5
    21579 +if { (eval echo "$as_me:14248: \"$ac_cpp conftest.$ac_ext\"") >&5
     24668+if { (eval echo "$as_me:14359: \"$ac_cpp conftest.$ac_ext\"") >&5
    2158024669   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2158124670   ac_status=$?
     
    2158424673   cat conftest.err >&5
    2158524674-  echo "$as_me:13410: \$? = $ac_status" >&5
    21586 +  echo "$as_me:14254: \$? = $ac_status" >&5
     24675+  echo "$as_me:14365: \$? = $ac_status" >&5
    2158724676   (exit $ac_status); } >/dev/null; then
    2158824677   if test -s conftest.err; then
    2158924678     ac_cpp_err=$ac_c_preproc_warn_flag
    21590 @@ -13426,7 +14270,7 @@
     24679@@ -13426,7 +14381,7 @@
    2159124680 fi
    2159224681 rm -f conftest.err conftest.$ac_ext
    2159324682 fi
    2159424683-echo "$as_me:13429: result: `eval echo '${'$as_ac_Header'}'`" >&5
    21595 +echo "$as_me:14273: result: `eval echo '${'$as_ac_Header'}'`" >&5
     24684+echo "$as_me:14384: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2159624685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2159724686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2159824687   cat >>confdefs.h <<EOF
    21599 @@ -13436,11 +14280,64 @@
     24688@@ -13436,11 +14391,64 @@
    2160024689 fi
    2160124690 done
    2160224691 
    21603 +echo "$as_me:14283: checking for header declaring getopt variables" >&5
     24692+echo "$as_me:14394: checking for header declaring getopt variables" >&5
    2160424693+echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6
    2160524694+if test "${cf_cv_getopt_header+set}" = set; then
     
    2161124700+do
    2161224701+cat >conftest.$ac_ext <<_ACEOF
    21613 +#line 14293 "configure"
     24702+#line 14404 "configure"
    2161424703+#include "confdefs.h"
    2161524704+
     
    2162424713+_ACEOF
    2162524714+rm -f conftest.$ac_objext
    21626 +if { (eval echo "$as_me:14306: \"$ac_compile\"") >&5
     24715+if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5
    2162724716+  (eval $ac_compile) 2>&5
    2162824717+  ac_status=$?
    21629 +  echo "$as_me:14309: \$? = $ac_status" >&5
     24718+  echo "$as_me:14420: \$? = $ac_status" >&5
    2163024719+  (exit $ac_status); } &&
    2163124720+         { ac_try='test -s conftest.$ac_objext'
    21632 +  { (eval echo "$as_me:14312: \"$ac_try\"") >&5
     24721+  { (eval echo "$as_me:14423: \"$ac_try\"") >&5
    2163324722+  (eval $ac_try) 2>&5
    2163424723+  ac_status=$?
    21635 +  echo "$as_me:14315: \$? = $ac_status" >&5
     24724+  echo "$as_me:14426: \$? = $ac_status" >&5
    2163624725+  (exit $ac_status); }; }; then
    2163724726+  cf_cv_getopt_header=$cf_header
     
    2164524734+
    2164624735+fi
    21647 +echo "$as_me:14327: result: $cf_cv_getopt_header" >&5
     24736+echo "$as_me:14438: result: $cf_cv_getopt_header" >&5
    2164824737+echo "${ECHO_T}$cf_cv_getopt_header" >&6
    2164924738+if test $cf_cv_getopt_header != none ; then
     
    2165924748 
    2166024749-echo "$as_me:13443: checking for main in -lcposix" >&5
    21661 +echo "$as_me:14340: checking for main in -lcposix" >&5
     24750+echo "$as_me:14451: checking for main in -lcposix" >&5
    2166224751 echo $ECHO_N "checking for main in -lcposix... $ECHO_C" >&6
    2166324752 if test "${ac_cv_lib_cposix_main+set}" = set; then
    2166424753   echo $ECHO_N "(cached) $ECHO_C" >&6
    21665 @@ -13448,7 +14345,7 @@
     24754@@ -13448,7 +14456,7 @@
    2166624755   ac_check_lib_save_LIBS=$LIBS
    2166724756 LIBS="-lcposix  $LIBS"
    2166824757 cat >conftest.$ac_ext <<_ACEOF
    2166924758-#line 13451 "configure"
    21670 +#line 14348 "configure"
     24759+#line 14459 "configure"
    2167124760 #include "confdefs.h"
    2167224761 
    2167324762 int
    21674 @@ -13460,16 +14357,16 @@
     24763@@ -13460,16 +14468,16 @@
    2167524764 }
    2167624765 _ACEOF
    2167724766 rm -f conftest.$ac_objext conftest$ac_exeext
    2167824767-if { (eval echo "$as_me:13463: \"$ac_link\"") >&5
    21679 +if { (eval echo "$as_me:14360: \"$ac_link\"") >&5
     24768+if { (eval echo "$as_me:14471: \"$ac_link\"") >&5
    2168024769   (eval $ac_link) 2>&5
    2168124770   ac_status=$?
    2168224771-  echo "$as_me:13466: \$? = $ac_status" >&5
    21683 +  echo "$as_me:14363: \$? = $ac_status" >&5
     24772+  echo "$as_me:14474: \$? = $ac_status" >&5
    2168424773   (exit $ac_status); } &&
    2168524774          { ac_try='test -s conftest$ac_exeext'
    2168624775-  { (eval echo "$as_me:13469: \"$ac_try\"") >&5
    21687 +  { (eval echo "$as_me:14366: \"$ac_try\"") >&5
     24776+  { (eval echo "$as_me:14477: \"$ac_try\"") >&5
    2168824777   (eval $ac_try) 2>&5
    2168924778   ac_status=$?
    2169024779-  echo "$as_me:13472: \$? = $ac_status" >&5
    21691 +  echo "$as_me:14369: \$? = $ac_status" >&5
     24780+  echo "$as_me:14480: \$? = $ac_status" >&5
    2169224781   (exit $ac_status); }; }; then
    2169324782   ac_cv_lib_cposix_main=yes
    2169424783 else
    21695 @@ -13480,7 +14377,7 @@
     24784@@ -13480,7 +14488,7 @@
    2169624785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2169724786 LIBS=$ac_check_lib_save_LIBS
    2169824787 fi
    2169924788-echo "$as_me:13483: result: $ac_cv_lib_cposix_main" >&5
    21700 +echo "$as_me:14380: result: $ac_cv_lib_cposix_main" >&5
     24789+echo "$as_me:14491: result: $ac_cv_lib_cposix_main" >&5
    2170124790 echo "${ECHO_T}$ac_cv_lib_cposix_main" >&6
    2170224791 if test $ac_cv_lib_cposix_main = yes; then
    2170324792   cat >>confdefs.h <<EOF
    21704 @@ -13491,7 +14388,7 @@
     24793@@ -13491,7 +14499,7 @@
    2170524794 
    2170624795 fi
    2170724796 
    2170824797-       echo "$as_me:13494: checking for bzero in -linet" >&5
    21709 +       echo "$as_me:14391: checking for bzero in -linet" >&5
     24798+       echo "$as_me:14502: checking for bzero in -linet" >&5
    2171024799 echo $ECHO_N "checking for bzero in -linet... $ECHO_C" >&6
    2171124800 if test "${ac_cv_lib_inet_bzero+set}" = set; then
    2171224801   echo $ECHO_N "(cached) $ECHO_C" >&6
    21713 @@ -13499,7 +14396,7 @@
     24802@@ -13499,7 +14507,7 @@
    2171424803   ac_check_lib_save_LIBS=$LIBS
    2171524804 LIBS="-linet  $LIBS"
    2171624805 cat >conftest.$ac_ext <<_ACEOF
    2171724806-#line 13502 "configure"
    21718 +#line 14399 "configure"
     24807+#line 14510 "configure"
    2171924808 #include "confdefs.h"
    2172024809 
    2172124810 /* Override any gcc2 internal prototype to avoid an error.  */
    21722 @@ -13518,16 +14415,16 @@
     24811@@ -13518,16 +14526,16 @@
    2172324812 }
    2172424813 _ACEOF
    2172524814 rm -f conftest.$ac_objext conftest$ac_exeext
    2172624815-if { (eval echo "$as_me:13521: \"$ac_link\"") >&5
    21727 +if { (eval echo "$as_me:14418: \"$ac_link\"") >&5
     24816+if { (eval echo "$as_me:14529: \"$ac_link\"") >&5
    2172824817   (eval $ac_link) 2>&5
    2172924818   ac_status=$?
    2173024819-  echo "$as_me:13524: \$? = $ac_status" >&5
    21731 +  echo "$as_me:14421: \$? = $ac_status" >&5
     24820+  echo "$as_me:14532: \$? = $ac_status" >&5
    2173224821   (exit $ac_status); } &&
    2173324822          { ac_try='test -s conftest$ac_exeext'
    2173424823-  { (eval echo "$as_me:13527: \"$ac_try\"") >&5
    21735 +  { (eval echo "$as_me:14424: \"$ac_try\"") >&5
     24824+  { (eval echo "$as_me:14535: \"$ac_try\"") >&5
    2173624825   (eval $ac_try) 2>&5
    2173724826   ac_status=$?
    2173824827-  echo "$as_me:13530: \$? = $ac_status" >&5
    21739 +  echo "$as_me:14427: \$? = $ac_status" >&5
     24828+  echo "$as_me:14538: \$? = $ac_status" >&5
    2174024829   (exit $ac_status); }; }; then
    2174124830   ac_cv_lib_inet_bzero=yes
    2174224831 else
    21743 @@ -13538,21 +14435,21 @@
     24832@@ -13538,21 +14546,21 @@
    2174424833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2174524834 LIBS=$ac_check_lib_save_LIBS
    2174624835 fi
    2174724836-echo "$as_me:13541: result: $ac_cv_lib_inet_bzero" >&5
    21748 +echo "$as_me:14438: result: $ac_cv_lib_inet_bzero" >&5
     24837+echo "$as_me:14549: result: $ac_cv_lib_inet_bzero" >&5
    2174924838 echo "${ECHO_T}$ac_cv_lib_inet_bzero" >&6
    2175024839 if test $ac_cv_lib_inet_bzero = yes; then
     
    2175424843 
    2175524844-echo "$as_me:13548: checking if sys/time.h works with sys/select.h" >&5
    21756 +echo "$as_me:14445: checking if sys/time.h works with sys/select.h" >&5
     24845+echo "$as_me:14556: checking if sys/time.h works with sys/select.h" >&5
    2175724846 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6
    2175824847 if test "${cf_cv_sys_time_select+set}" = set; then
     
    2176224851 cat >conftest.$ac_ext <<_ACEOF
    2176324852-#line 13555 "configure"
    21764 +#line 14452 "configure"
     24853+#line 14563 "configure"
    2176524854 #include "confdefs.h"
    2176624855 
    2176724856 #include <sys/types.h>
    21768 @@ -13572,16 +14469,16 @@
     24857@@ -13572,16 +14580,16 @@
    2176924858 }
    2177024859 _ACEOF
    2177124860 rm -f conftest.$ac_objext
    2177224861-if { (eval echo "$as_me:13575: \"$ac_compile\"") >&5
    21773 +if { (eval echo "$as_me:14472: \"$ac_compile\"") >&5
     24862+if { (eval echo "$as_me:14583: \"$ac_compile\"") >&5
    2177424863   (eval $ac_compile) 2>&5
    2177524864   ac_status=$?
    2177624865-  echo "$as_me:13578: \$? = $ac_status" >&5
    21777 +  echo "$as_me:14475: \$? = $ac_status" >&5
     24866+  echo "$as_me:14586: \$? = $ac_status" >&5
    2177824867   (exit $ac_status); } &&
    2177924868          { ac_try='test -s conftest.$ac_objext'
    2178024869-  { (eval echo "$as_me:13581: \"$ac_try\"") >&5
    21781 +  { (eval echo "$as_me:14478: \"$ac_try\"") >&5
     24870+  { (eval echo "$as_me:14589: \"$ac_try\"") >&5
    2178224871   (eval $ac_try) 2>&5
    2178324872   ac_status=$?
    2178424873-  echo "$as_me:13584: \$? = $ac_status" >&5
    21785 +  echo "$as_me:14481: \$? = $ac_status" >&5
     24874+  echo "$as_me:14592: \$? = $ac_status" >&5
    2178624875   (exit $ac_status); }; }; then
    2178724876   cf_cv_sys_time_select=yes
    2178824877 else
    21789 @@ -13593,7 +14490,7 @@
     24878@@ -13593,7 +14601,7 @@
    2179024879 
    2179124880 fi
    2179224881 
    2179324882-echo "$as_me:13596: result: $cf_cv_sys_time_select" >&5
    21794 +echo "$as_me:14493: result: $cf_cv_sys_time_select" >&5
     24883+echo "$as_me:14604: result: $cf_cv_sys_time_select" >&5
    2179524884 echo "${ECHO_T}$cf_cv_sys_time_select" >&6
    2179624885 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF
    2179724886 #define HAVE_SYS_TIME_SELECT 1
    21798 @@ -13607,7 +14504,7 @@
     24887@@ -13607,7 +14615,7 @@
    2179924888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2180024889 ac_main_return=return
    2180124890 
    2180224891-echo "$as_me:13610: checking for $CC option to accept ANSI C" >&5
    21803 +echo "$as_me:14507: checking for $CC option to accept ANSI C" >&5
     24892+echo "$as_me:14618: checking for $CC option to accept ANSI C" >&5
    2180424893 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2180524894 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2180624895   echo $ECHO_N "(cached) $ECHO_C" >&6
    21807 @@ -13615,7 +14512,7 @@
     24896@@ -13615,7 +14623,7 @@
    2180824897   ac_cv_prog_cc_stdc=no
    2180924898 ac_save_CC=$CC
    2181024899 cat >conftest.$ac_ext <<_ACEOF
    2181124900-#line 13618 "configure"
    21812 +#line 14515 "configure"
     24901+#line 14626 "configure"
    2181324902 #include "confdefs.h"
    2181424903 #include <stdarg.h>
    2181524904 #include <stdio.h>
    21816 @@ -13664,16 +14561,16 @@
     24905@@ -13664,16 +14672,16 @@
    2181724906 do
    2181824907   CC="$ac_save_CC $ac_arg"
    2181924908   rm -f conftest.$ac_objext
    2182024909-if { (eval echo "$as_me:13667: \"$ac_compile\"") >&5
    21821 +if { (eval echo "$as_me:14564: \"$ac_compile\"") >&5
     24910+if { (eval echo "$as_me:14675: \"$ac_compile\"") >&5
    2182224911   (eval $ac_compile) 2>&5
    2182324912   ac_status=$?
    2182424913-  echo "$as_me:13670: \$? = $ac_status" >&5
    21825 +  echo "$as_me:14567: \$? = $ac_status" >&5
     24914+  echo "$as_me:14678: \$? = $ac_status" >&5
    2182624915   (exit $ac_status); } &&
    2182724916          { ac_try='test -s conftest.$ac_objext'
    2182824917-  { (eval echo "$as_me:13673: \"$ac_try\"") >&5
    21829 +  { (eval echo "$as_me:14570: \"$ac_try\"") >&5
     24918+  { (eval echo "$as_me:14681: \"$ac_try\"") >&5
    2183024919   (eval $ac_try) 2>&5
    2183124920   ac_status=$?
    2183224921-  echo "$as_me:13676: \$? = $ac_status" >&5
    21833 +  echo "$as_me:14573: \$? = $ac_status" >&5
     24922+  echo "$as_me:14684: \$? = $ac_status" >&5
    2183424923   (exit $ac_status); }; }; then
    2183524924   ac_cv_prog_cc_stdc=$ac_arg
    2183624925 break
    21837 @@ -13690,21 +14587,21 @@
     24926@@ -13690,21 +14698,21 @@
    2183824927 
    2183924928 case "x$ac_cv_prog_cc_stdc" in
    2184024929   x|xno)
    2184124930-    echo "$as_me:13693: result: none needed" >&5
    21842 +    echo "$as_me:14590: result: none needed" >&5
     24931+    echo "$as_me:14701: result: none needed" >&5
    2184324932 echo "${ECHO_T}none needed" >&6 ;;
    2184424933   *)
    2184524934-    echo "$as_me:13696: result: $ac_cv_prog_cc_stdc" >&5
    21846 +    echo "$as_me:14593: result: $ac_cv_prog_cc_stdc" >&5
     24935+    echo "$as_me:14704: result: $ac_cv_prog_cc_stdc" >&5
    2184724936 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2184824937     CC="$CC $ac_cv_prog_cc_stdc" ;;
     
    2185024939 
    2185124940-echo "$as_me:13701: checking for an ANSI C-conforming const" >&5
    21852 +echo "$as_me:14598: checking for an ANSI C-conforming const" >&5
     24941+echo "$as_me:14709: checking for an ANSI C-conforming const" >&5
    2185324942 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    2185424943 if test "${ac_cv_c_const+set}" = set; then
     
    2185724946   cat >conftest.$ac_ext <<_ACEOF
    2185824947-#line 13707 "configure"
    21859 +#line 14604 "configure"
     24948+#line 14715 "configure"
    2186024949 #include "confdefs.h"
    2186124950 
    2186224951 int
    21863 @@ -13762,16 +14659,16 @@
     24952@@ -13762,16 +14770,16 @@
    2186424953 }
    2186524954 _ACEOF
    2186624955 rm -f conftest.$ac_objext
    2186724956-if { (eval echo "$as_me:13765: \"$ac_compile\"") >&5
    21868 +if { (eval echo "$as_me:14662: \"$ac_compile\"") >&5
     24957+if { (eval echo "$as_me:14773: \"$ac_compile\"") >&5
    2186924958   (eval $ac_compile) 2>&5
    2187024959   ac_status=$?
    2187124960-  echo "$as_me:13768: \$? = $ac_status" >&5
    21872 +  echo "$as_me:14665: \$? = $ac_status" >&5
     24961+  echo "$as_me:14776: \$? = $ac_status" >&5
    2187324962   (exit $ac_status); } &&
    2187424963          { ac_try='test -s conftest.$ac_objext'
    2187524964-  { (eval echo "$as_me:13771: \"$ac_try\"") >&5
    21876 +  { (eval echo "$as_me:14668: \"$ac_try\"") >&5
     24965+  { (eval echo "$as_me:14779: \"$ac_try\"") >&5
    2187724966   (eval $ac_try) 2>&5
    2187824967   ac_status=$?
    2187924968-  echo "$as_me:13774: \$? = $ac_status" >&5
    21880 +  echo "$as_me:14671: \$? = $ac_status" >&5
     24969+  echo "$as_me:14782: \$? = $ac_status" >&5
    2188124970   (exit $ac_status); }; }; then
    2188224971   ac_cv_c_const=yes
    2188324972 else
    21884 @@ -13781,7 +14678,7 @@
     24973@@ -13781,7 +14789,7 @@
    2188524974 fi
    2188624975 rm -f conftest.$ac_objext conftest.$ac_ext
    2188724976 fi
    2188824977-echo "$as_me:13784: result: $ac_cv_c_const" >&5
    21889 +echo "$as_me:14681: result: $ac_cv_c_const" >&5
     24978+echo "$as_me:14792: result: $ac_cv_c_const" >&5
    2189024979 echo "${ECHO_T}$ac_cv_c_const" >&6
    2189124980 if test $ac_cv_c_const = no; then
    2189224981 
    21893 @@ -13791,7 +14688,7 @@
     24982@@ -13791,7 +14799,7 @@
    2189424983 
    2189524984 fi
    2189624985 
    2189724986-echo "$as_me:13794: checking for inline" >&5
    21898 +echo "$as_me:14691: checking for inline" >&5
     24987+echo "$as_me:14802: checking for inline" >&5
    2189924988 echo $ECHO_N "checking for inline... $ECHO_C" >&6
    2190024989 if test "${ac_cv_c_inline+set}" = set; then
    2190124990   echo $ECHO_N "(cached) $ECHO_C" >&6
    21902 @@ -13799,7 +14696,7 @@
     24991@@ -13799,7 +14807,7 @@
    2190324992   ac_cv_c_inline=no
    2190424993 for ac_kw in inline __inline__ __inline; do
    2190524994   cat >conftest.$ac_ext <<_ACEOF
    2190624995-#line 13802 "configure"
    21907 +#line 14699 "configure"
     24996+#line 14810 "configure"
    2190824997 #include "confdefs.h"
    2190924998 #ifndef __cplusplus
    2191024999 static $ac_kw int static_foo () {return 0; }
    21911 @@ -13808,16 +14705,16 @@
     25000@@ -13808,16 +14816,16 @@
    2191225001 
    2191325002 _ACEOF
    2191425003 rm -f conftest.$ac_objext
    2191525004-if { (eval echo "$as_me:13811: \"$ac_compile\"") >&5
    21916 +if { (eval echo "$as_me:14708: \"$ac_compile\"") >&5
     25005+if { (eval echo "$as_me:14819: \"$ac_compile\"") >&5
    2191725006   (eval $ac_compile) 2>&5
    2191825007   ac_status=$?
    2191925008-  echo "$as_me:13814: \$? = $ac_status" >&5
    21920 +  echo "$as_me:14711: \$? = $ac_status" >&5
     25009+  echo "$as_me:14822: \$? = $ac_status" >&5
    2192125010   (exit $ac_status); } &&
    2192225011          { ac_try='test -s conftest.$ac_objext'
    2192325012-  { (eval echo "$as_me:13817: \"$ac_try\"") >&5
    21924 +  { (eval echo "$as_me:14714: \"$ac_try\"") >&5
     25013+  { (eval echo "$as_me:14825: \"$ac_try\"") >&5
    2192525014   (eval $ac_try) 2>&5
    2192625015   ac_status=$?
    2192725016-  echo "$as_me:13820: \$? = $ac_status" >&5
    21928 +  echo "$as_me:14717: \$? = $ac_status" >&5
     25017+  echo "$as_me:14828: \$? = $ac_status" >&5
    2192925018   (exit $ac_status); }; }; then
    2193025019   ac_cv_c_inline=$ac_kw; break
    2193125020 else
    21932 @@ -13828,7 +14725,7 @@
     25021@@ -13828,7 +14836,7 @@
    2193325022 done
    2193425023 
    2193525024 fi
    2193625025-echo "$as_me:13831: result: $ac_cv_c_inline" >&5
    21937 +echo "$as_me:14728: result: $ac_cv_c_inline" >&5
     25026+echo "$as_me:14839: result: $ac_cv_c_inline" >&5
    2193825027 echo "${ECHO_T}$ac_cv_c_inline" >&6
    2193925028 case $ac_cv_c_inline in
    2194025029   inline | yes) ;;
    21941 @@ -13851,7 +14748,7 @@
     25030@@ -13849,9 +14857,12 @@
     25031   if test "$INTEL_COMPILER" = yes
     25032   then
    2194225033     :
     25034+  elif test "$CLANG_COMPILER" = yes
     25035+  then
     25036+    :
    2194325037   elif test "$GCC" = yes
    2194425038   then
    2194525039-    echo "$as_me:13854: checking if $CC supports options to tune inlining" >&5
    21946 +    echo "$as_me:14751: checking if $CC supports options to tune inlining" >&5
     25040+    echo "$as_me:14865: checking if $CC supports options to tune inlining" >&5
    2194725041 echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6
    2194825042 if test "${cf_cv_gcc_inline+set}" = set; then
    2194925043   echo $ECHO_N "(cached) $ECHO_C" >&6
    21950 @@ -13860,7 +14757,7 @@
     25044@@ -13860,7 +14871,7 @@
    2195125045       cf_save_CFLAGS=$CFLAGS
    2195225046       CFLAGS="$CFLAGS --param max-inline-insns-single=1200"
    2195325047       cat >conftest.$ac_ext <<_ACEOF
    2195425048-#line 13863 "configure"
    21955 +#line 14760 "configure"
     25049+#line 14874 "configure"
    2195625050 #include "confdefs.h"
    2195725051 inline int foo(void) { return 1; }
    2195825052 int
    21959 @@ -13872,16 +14769,16 @@
     25053@@ -13872,16 +14883,16 @@
    2196025054 }
    2196125055 _ACEOF
    2196225056 rm -f conftest.$ac_objext
    2196325057-if { (eval echo "$as_me:13875: \"$ac_compile\"") >&5
    21964 +if { (eval echo "$as_me:14772: \"$ac_compile\"") >&5
     25058+if { (eval echo "$as_me:14886: \"$ac_compile\"") >&5
    2196525059   (eval $ac_compile) 2>&5
    2196625060   ac_status=$?
    2196725061-  echo "$as_me:13878: \$? = $ac_status" >&5
    21968 +  echo "$as_me:14775: \$? = $ac_status" >&5
     25062+  echo "$as_me:14889: \$? = $ac_status" >&5
    2196925063   (exit $ac_status); } &&
    2197025064          { ac_try='test -s conftest.$ac_objext'
    2197125065-  { (eval echo "$as_me:13881: \"$ac_try\"") >&5
    21972 +  { (eval echo "$as_me:14778: \"$ac_try\"") >&5
     25066+  { (eval echo "$as_me:14892: \"$ac_try\"") >&5
    2197325067   (eval $ac_try) 2>&5
    2197425068   ac_status=$?
    2197525069-  echo "$as_me:13884: \$? = $ac_status" >&5
    21976 +  echo "$as_me:14781: \$? = $ac_status" >&5
     25070+  echo "$as_me:14895: \$? = $ac_status" >&5
    2197725071   (exit $ac_status); }; }; then
    2197825072   cf_cv_gcc_inline=yes
    2197925073 else
    21980 @@ -13893,7 +14790,7 @@
     25074@@ -13893,7 +14904,7 @@
    2198125075       CFLAGS=$cf_save_CFLAGS
    2198225076 
    2198325077 fi
    2198425078-echo "$as_me:13896: result: $cf_cv_gcc_inline" >&5
    21985 +echo "$as_me:14793: result: $cf_cv_gcc_inline" >&5
     25079+echo "$as_me:14907: result: $cf_cv_gcc_inline" >&5
    2198625080 echo "${ECHO_T}$cf_cv_gcc_inline" >&6
    2198725081     if test "$cf_cv_gcc_inline" = yes ; then
    2198825082 
    21989 @@ -13979,7 +14876,7 @@
     25083@@ -13979,7 +14990,7 @@
    2199025084   fi
    2199125085 fi
    2199225086 
    2199325087-echo "$as_me:13982: checking for signal global datatype" >&5
    21994 +echo "$as_me:14879: checking for signal global datatype" >&5
     25088+echo "$as_me:14993: checking for signal global datatype" >&5
    2199525089 echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6
    2199625090 if test "${cf_cv_sig_atomic_t+set}" = set; then
    2199725091   echo $ECHO_N "(cached) $ECHO_C" >&6
    21998 @@ -13991,7 +14888,7 @@
     25092@@ -13991,7 +15002,7 @@
    2199925093                "int"
    2200025094        do
    2200125095        cat >conftest.$ac_ext <<_ACEOF
    2200225096-#line 13994 "configure"
    22003 +#line 14891 "configure"
     25097+#line 15005 "configure"
    2200425098 #include "confdefs.h"
    2200525099 
    2200625100 #include <sys/types.h>
    22007 @@ -14014,16 +14911,16 @@
     25101@@ -14014,16 +15025,16 @@
    2200825102 }
    2200925103 _ACEOF
    2201025104 rm -f conftest.$ac_objext
    2201125105-if { (eval echo "$as_me:14017: \"$ac_compile\"") >&5
    22012 +if { (eval echo "$as_me:14914: \"$ac_compile\"") >&5
     25106+if { (eval echo "$as_me:15028: \"$ac_compile\"") >&5
    2201325107   (eval $ac_compile) 2>&5
    2201425108   ac_status=$?
    2201525109-  echo "$as_me:14020: \$? = $ac_status" >&5
    22016 +  echo "$as_me:14917: \$? = $ac_status" >&5
     25110+  echo "$as_me:15031: \$? = $ac_status" >&5
    2201725111   (exit $ac_status); } &&
    2201825112          { ac_try='test -s conftest.$ac_objext'
    2201925113-  { (eval echo "$as_me:14023: \"$ac_try\"") >&5
    22020 +  { (eval echo "$as_me:14920: \"$ac_try\"") >&5
     25114+  { (eval echo "$as_me:15034: \"$ac_try\"") >&5
    2202125115   (eval $ac_try) 2>&5
    2202225116   ac_status=$?
    2202325117-  echo "$as_me:14026: \$? = $ac_status" >&5
    22024 +  echo "$as_me:14923: \$? = $ac_status" >&5
     25118+  echo "$as_me:15037: \$? = $ac_status" >&5
    2202525119   (exit $ac_status); }; }; then
    2202625120   cf_cv_sig_atomic_t=$cf_type
    2202725121 else
    22028 @@ -14037,7 +14934,7 @@
     25122@@ -14037,7 +15048,7 @@
    2202925123 
    2203025124 fi
    2203125125 
    2203225126-echo "$as_me:14040: result: $cf_cv_sig_atomic_t" >&5
    22033 +echo "$as_me:14937: result: $cf_cv_sig_atomic_t" >&5
     25127+echo "$as_me:15051: result: $cf_cv_sig_atomic_t" >&5
    2203425128 echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6
    2203525129 test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <<EOF
    2203625130 #define SIG_ATOMIC_T $cf_cv_sig_atomic_t
    22037 @@ -14045,7 +14942,7 @@
     25131@@ -14045,7 +15056,7 @@
    2203825132 
    2203925133 if test $NCURSES_CHTYPE = auto ; then
    2204025134 
    2204125135-echo "$as_me:14048: checking for type of chtype" >&5
    22042 +echo "$as_me:14945: checking for type of chtype" >&5
     25136+echo "$as_me:15059: checking for type of chtype" >&5
    2204325137 echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6
    2204425138 if test "${cf_cv_typeof_chtype+set}" = set; then
    2204525139   echo $ECHO_N "(cached) $ECHO_C" >&6
    22046 @@ -14055,7 +14952,7 @@
     25140@@ -14055,7 +15066,7 @@
    2204725141   cf_cv_typeof_chtype=long
    2204825142 else
    2204925143   cat >conftest.$ac_ext <<_ACEOF
    2205025144-#line 14058 "configure"
    22051 +#line 14955 "configure"
     25145+#line 15069 "configure"
    2205225146 #include "confdefs.h"
    2205325147 
    2205425148 #define WANT_BITS 31
    22055 @@ -14090,15 +14987,15 @@
     25149@@ -14090,15 +15101,15 @@
    2205625150 
    2205725151 _ACEOF
    2205825152 rm -f conftest$ac_exeext
    2205925153-if { (eval echo "$as_me:14093: \"$ac_link\"") >&5
    22060 +if { (eval echo "$as_me:14990: \"$ac_link\"") >&5
     25154+if { (eval echo "$as_me:15104: \"$ac_link\"") >&5
    2206125155   (eval $ac_link) 2>&5
    2206225156   ac_status=$?
    2206325157-  echo "$as_me:14096: \$? = $ac_status" >&5
    22064 +  echo "$as_me:14993: \$? = $ac_status" >&5
     25158+  echo "$as_me:15107: \$? = $ac_status" >&5
    2206525159   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2206625160-  { (eval echo "$as_me:14098: \"$ac_try\"") >&5
    22067 +  { (eval echo "$as_me:14995: \"$ac_try\"") >&5
     25161+  { (eval echo "$as_me:15109: \"$ac_try\"") >&5
    2206825162   (eval $ac_try) 2>&5
    2206925163   ac_status=$?
    2207025164-  echo "$as_me:14101: \$? = $ac_status" >&5
    22071 +  echo "$as_me:14998: \$? = $ac_status" >&5
     25165+  echo "$as_me:15112: \$? = $ac_status" >&5
    2207225166   (exit $ac_status); }; }; then
    2207325167   cf_cv_typeof_chtype=`cat cf_test.out`
    2207425168 else
    22075 @@ -14113,7 +15010,7 @@
     25169@@ -14113,7 +15124,7 @@
    2207625170 
    2207725171 fi
    2207825172 
    2207925173-echo "$as_me:14116: result: $cf_cv_typeof_chtype" >&5
    22080 +echo "$as_me:15013: result: $cf_cv_typeof_chtype" >&5
     25174+echo "$as_me:15127: result: $cf_cv_typeof_chtype" >&5
    2208125175 echo "${ECHO_T}$cf_cv_typeof_chtype" >&6
    2208225176 
    2208325177 cat >>confdefs.h <<EOF
    22084 @@ -14125,14 +15022,14 @@
     25178@@ -14125,14 +15136,14 @@
    2208525179 fi
    2208625180 test "$cf_cv_typeof_chtype" = unsigned && cf_cv_typeof_chtype=""
    2208725181 
    2208825182-echo "$as_me:14128: checking if unsigned literals are legal" >&5
    22089 +echo "$as_me:15025: checking if unsigned literals are legal" >&5
     25183+echo "$as_me:15139: checking if unsigned literals are legal" >&5
    2209025184 echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6
    2209125185 if test "${cf_cv_unsigned_literals+set}" = set; then
     
    2209525189        cat >conftest.$ac_ext <<_ACEOF
    2209625190-#line 14135 "configure"
    22097 +#line 15032 "configure"
     25191+#line 15146 "configure"
    2209825192 #include "confdefs.h"
    2209925193 
    2210025194 int
    22101 @@ -14144,16 +15041,16 @@
     25195@@ -14144,16 +15155,16 @@
    2210225196 }
    2210325197 _ACEOF
    2210425198 rm -f conftest.$ac_objext
    2210525199-if { (eval echo "$as_me:14147: \"$ac_compile\"") >&5
    22106 +if { (eval echo "$as_me:15044: \"$ac_compile\"") >&5
     25200+if { (eval echo "$as_me:15158: \"$ac_compile\"") >&5
    2210725201   (eval $ac_compile) 2>&5
    2210825202   ac_status=$?
    2210925203-  echo "$as_me:14150: \$? = $ac_status" >&5
    22110 +  echo "$as_me:15047: \$? = $ac_status" >&5
     25204+  echo "$as_me:15161: \$? = $ac_status" >&5
    2211125205   (exit $ac_status); } &&
    2211225206          { ac_try='test -s conftest.$ac_objext'
    2211325207-  { (eval echo "$as_me:14153: \"$ac_try\"") >&5
    22114 +  { (eval echo "$as_me:15050: \"$ac_try\"") >&5
     25208+  { (eval echo "$as_me:15164: \"$ac_try\"") >&5
    2211525209   (eval $ac_try) 2>&5
    2211625210   ac_status=$?
    2211725211-  echo "$as_me:14156: \$? = $ac_status" >&5
    22118 +  echo "$as_me:15053: \$? = $ac_status" >&5
     25212+  echo "$as_me:15167: \$? = $ac_status" >&5
    2211925213   (exit $ac_status); }; }; then
    2212025214   cf_cv_unsigned_literals=yes
    2212125215 else
    22122 @@ -14165,7 +15062,7 @@
     25216@@ -14165,7 +15176,7 @@
    2212325217 
    2212425218 fi
    2212525219 
    2212625220-echo "$as_me:14168: result: $cf_cv_unsigned_literals" >&5
    22127 +echo "$as_me:15065: result: $cf_cv_unsigned_literals" >&5
     25221+echo "$as_me:15179: result: $cf_cv_unsigned_literals" >&5
    2212825222 echo "${ECHO_T}$cf_cv_unsigned_literals" >&6
    2212925223 
    2213025224 cf_cv_1UL="1"
    22131 @@ -14181,14 +15078,14 @@
     25225@@ -14181,14 +15192,14 @@
    2213225226 
    2213325227 ###    Checks for external-data
    2213425228 
    2213525229-echo "$as_me:14184: checking if external errno is declared" >&5
    22136 +echo "$as_me:15081: checking if external errno is declared" >&5
     25230+echo "$as_me:15195: checking if external errno is declared" >&5
    2213725231 echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6
    2213825232 if test "${cf_cv_dcl_errno+set}" = set; then
     
    2214225236     cat >conftest.$ac_ext <<_ACEOF
    2214325237-#line 14191 "configure"
    22144 +#line 15088 "configure"
     25238+#line 15202 "configure"
    2214525239 #include "confdefs.h"
    2214625240 
    2214725241 #ifdef HAVE_STDLIB_H
    22148 @@ -14206,16 +15103,16 @@
     25242@@ -14206,16 +15217,16 @@
    2214925243 }
    2215025244 _ACEOF
    2215125245 rm -f conftest.$ac_objext
    2215225246-if { (eval echo "$as_me:14209: \"$ac_compile\"") >&5
    22153 +if { (eval echo "$as_me:15106: \"$ac_compile\"") >&5
     25247+if { (eval echo "$as_me:15220: \"$ac_compile\"") >&5
    2215425248   (eval $ac_compile) 2>&5
    2215525249   ac_status=$?
    2215625250-  echo "$as_me:14212: \$? = $ac_status" >&5
    22157 +  echo "$as_me:15109: \$? = $ac_status" >&5
     25251+  echo "$as_me:15223: \$? = $ac_status" >&5
    2215825252   (exit $ac_status); } &&
    2215925253          { ac_try='test -s conftest.$ac_objext'
    2216025254-  { (eval echo "$as_me:14215: \"$ac_try\"") >&5
    22161 +  { (eval echo "$as_me:15112: \"$ac_try\"") >&5
     25255+  { (eval echo "$as_me:15226: \"$ac_try\"") >&5
    2216225256   (eval $ac_try) 2>&5
    2216325257   ac_status=$?
    2216425258-  echo "$as_me:14218: \$? = $ac_status" >&5
    22165 +  echo "$as_me:15115: \$? = $ac_status" >&5
     25259+  echo "$as_me:15229: \$? = $ac_status" >&5
    2216625260   (exit $ac_status); }; }; then
    2216725261   cf_cv_dcl_errno=yes
    2216825262 else
    22169 @@ -14226,7 +15123,7 @@
     25263@@ -14226,7 +15237,7 @@
    2217025264 rm -f conftest.$ac_objext conftest.$ac_ext
    2217125265 
    2217225266 fi
    2217325267-echo "$as_me:14229: result: $cf_cv_dcl_errno" >&5
    22174 +echo "$as_me:15126: result: $cf_cv_dcl_errno" >&5
     25268+echo "$as_me:15240: result: $cf_cv_dcl_errno" >&5
    2217525269 echo "${ECHO_T}$cf_cv_dcl_errno" >&6
    2217625270 
    2217725271 if test "$cf_cv_dcl_errno" = no ; then
    22178 @@ -14241,14 +15138,14 @@
     25272@@ -14241,14 +15252,14 @@
    2217925273 
    2218025274 # It's possible (for near-UNIX clones) that the data doesn't exist
    2218125275 
    2218225276-echo "$as_me:14244: checking if external errno exists" >&5
    22183 +echo "$as_me:15141: checking if external errno exists" >&5
     25277+echo "$as_me:15255: checking if external errno exists" >&5
    2218425278 echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6
    2218525279 if test "${cf_cv_have_errno+set}" = set; then
     
    2218925283     cat >conftest.$ac_ext <<_ACEOF
    2219025284-#line 14251 "configure"
    22191 +#line 15148 "configure"
     25285+#line 15262 "configure"
    2219225286 #include "confdefs.h"
    2219325287 
    2219425288 #undef errno
    22195 @@ -14263,16 +15160,16 @@
     25289@@ -14263,16 +15274,16 @@
    2219625290 }
    2219725291 _ACEOF
    2219825292 rm -f conftest.$ac_objext conftest$ac_exeext
    2219925293-if { (eval echo "$as_me:14266: \"$ac_link\"") >&5
    22200 +if { (eval echo "$as_me:15163: \"$ac_link\"") >&5
     25294+if { (eval echo "$as_me:15277: \"$ac_link\"") >&5
    2220125295   (eval $ac_link) 2>&5
    2220225296   ac_status=$?
    2220325297-  echo "$as_me:14269: \$? = $ac_status" >&5
    22204 +  echo "$as_me:15166: \$? = $ac_status" >&5
     25298+  echo "$as_me:15280: \$? = $ac_status" >&5
    2220525299   (exit $ac_status); } &&
    2220625300          { ac_try='test -s conftest$ac_exeext'
    2220725301-  { (eval echo "$as_me:14272: \"$ac_try\"") >&5
    22208 +  { (eval echo "$as_me:15169: \"$ac_try\"") >&5
     25302+  { (eval echo "$as_me:15283: \"$ac_try\"") >&5
    2220925303   (eval $ac_try) 2>&5
    2221025304   ac_status=$?
    2221125305-  echo "$as_me:14275: \$? = $ac_status" >&5
    22212 +  echo "$as_me:15172: \$? = $ac_status" >&5
     25306+  echo "$as_me:15286: \$? = $ac_status" >&5
    2221325307   (exit $ac_status); }; }; then
    2221425308   cf_cv_have_errno=yes
    2221525309 else
    22216 @@ -14283,7 +15180,7 @@
     25310@@ -14283,7 +15294,7 @@
    2221725311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2221825312 
    2221925313 fi
    2222025314-echo "$as_me:14286: result: $cf_cv_have_errno" >&5
    22221 +echo "$as_me:15183: result: $cf_cv_have_errno" >&5
     25315+echo "$as_me:15297: result: $cf_cv_have_errno" >&5
    2222225316 echo "${ECHO_T}$cf_cv_have_errno" >&6
    2222325317 
    2222425318 if test "$cf_cv_have_errno" = yes ; then
    22225 @@ -14296,7 +15193,7 @@
     25319@@ -14296,7 +15307,7 @@
    2222625320 
    2222725321 fi
    2222825322 
    2222925323-echo "$as_me:14299: checking if data-only library module links" >&5
    22230 +echo "$as_me:15196: checking if data-only library module links" >&5
     25324+echo "$as_me:15310: checking if data-only library module links" >&5
    2223125325 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6
    2223225326 if test "${cf_cv_link_dataonly+set}" = set; then
    2223325327   echo $ECHO_N "(cached) $ECHO_C" >&6
    22234 @@ -14304,20 +15201,20 @@
     25328@@ -14304,20 +15315,20 @@
    2223525329 
    2223625330        rm -f conftest.a
    2223725331        cat >conftest.$ac_ext <<EOF
    2223825332-#line 14307 "configure"
    22239 +#line 15204 "configure"
     25333+#line 15318 "configure"
    2224025334 int    testdata[3] = { 123, 456, 789 };
    2224125335 EOF
    2224225336-       if { (eval echo "$as_me:14310: \"$ac_compile\"") >&5
    22243 +       if { (eval echo "$as_me:15207: \"$ac_compile\"") >&5
     25337+       if { (eval echo "$as_me:15321: \"$ac_compile\"") >&5
    2224425338   (eval $ac_compile) 2>&5
    2224525339   ac_status=$?
    2224625340-  echo "$as_me:14313: \$? = $ac_status" >&5
    22247 +  echo "$as_me:15210: \$? = $ac_status" >&5
     25341+  echo "$as_me:15324: \$? = $ac_status" >&5
    2224825342   (exit $ac_status); } ; then
    2224925343                mv conftest.o data.o && \
     
    2225325347        cat >conftest.$ac_ext <<EOF
    2225425348-#line 14320 "configure"
    22255 +#line 15217 "configure"
     25349+#line 15331 "configure"
    2225625350 int    testfunc()
    2225725351 {
    2225825352 #if defined(NeXT)
    22259 @@ -14330,10 +15227,10 @@
     25353@@ -14330,10 +15341,10 @@
    2226025354 #endif
    2226125355 }
    2226225356 EOF
    2226325357-       if { (eval echo "$as_me:14333: \"$ac_compile\"") >&5
    22264 +       if { (eval echo "$as_me:15230: \"$ac_compile\"") >&5
     25358+       if { (eval echo "$as_me:15344: \"$ac_compile\"") >&5
    2226525359   (eval $ac_compile) 2>&5
    2226625360   ac_status=$?
    2226725361-  echo "$as_me:14336: \$? = $ac_status" >&5
    22268 +  echo "$as_me:15233: \$? = $ac_status" >&5
     25362+  echo "$as_me:15347: \$? = $ac_status" >&5
    2226925363   (exit $ac_status); }; then
    2227025364                mv conftest.o func.o && \
    2227125365                ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null
    22272 @@ -14346,7 +15243,7 @@
     25366@@ -14346,7 +15357,7 @@
    2227325367   cf_cv_link_dataonly=unknown
    2227425368 else
    2227525369   cat >conftest.$ac_ext <<_ACEOF
    2227625370-#line 14349 "configure"
    22277 +#line 15246 "configure"
     25371+#line 15360 "configure"
    2227825372 #include "confdefs.h"
    2227925373 
    2228025374        int main()
    22281 @@ -14357,15 +15254,15 @@
     25375@@ -14357,15 +15368,15 @@
    2228225376 
    2228325377 _ACEOF
    2228425378 rm -f conftest$ac_exeext
    2228525379-if { (eval echo "$as_me:14360: \"$ac_link\"") >&5
    22286 +if { (eval echo "$as_me:15257: \"$ac_link\"") >&5
     25380+if { (eval echo "$as_me:15371: \"$ac_link\"") >&5
    2228725381   (eval $ac_link) 2>&5
    2228825382   ac_status=$?
    2228925383-  echo "$as_me:14363: \$? = $ac_status" >&5
    22290 +  echo "$as_me:15260: \$? = $ac_status" >&5
     25384+  echo "$as_me:15374: \$? = $ac_status" >&5
    2229125385   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2229225386-  { (eval echo "$as_me:14365: \"$ac_try\"") >&5
    22293 +  { (eval echo "$as_me:15262: \"$ac_try\"") >&5
     25387+  { (eval echo "$as_me:15376: \"$ac_try\"") >&5
    2229425388   (eval $ac_try) 2>&5
    2229525389   ac_status=$?
    2229625390-  echo "$as_me:14368: \$? = $ac_status" >&5
    22297 +  echo "$as_me:15265: \$? = $ac_status" >&5
     25391+  echo "$as_me:15379: \$? = $ac_status" >&5
    2229825392   (exit $ac_status); }; }; then
    2229925393   cf_cv_link_dataonly=yes
    2230025394 else
    22301 @@ -14380,7 +15277,7 @@
     25395@@ -14380,7 +15391,7 @@
    2230225396 
    2230325397 fi
    2230425398 
    2230525399-echo "$as_me:14383: result: $cf_cv_link_dataonly" >&5
    22306 +echo "$as_me:15280: result: $cf_cv_link_dataonly" >&5
     25400+echo "$as_me:15394: result: $cf_cv_link_dataonly" >&5
    2230725401 echo "${ECHO_T}$cf_cv_link_dataonly" >&6
    2230825402 
    2230925403 if test "$cf_cv_link_dataonly" = no ; then
    22310 @@ -14415,13 +15312,13 @@
     25404@@ -14400,10 +15411,12 @@
     25405 getttynam \
     25406 issetugid \
     25407 poll \
     25408+putenv \
     25409 remove \
     25410 select \
     25411 setbuf \
     25412 setbuffer \
     25413+setenv \
     25414 setvbuf \
     25415 sigaction \
     25416 sigvec \
     25417@@ -14415,13 +15428,13 @@
    2231125418 
    2231225419 do
    2231325420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    2231425421-echo "$as_me:14418: checking for $ac_func" >&5
    22315 +echo "$as_me:15315: checking for $ac_func" >&5
     25422+echo "$as_me:15431: checking for $ac_func" >&5
    2231625423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    2231725424 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    2232025427   cat >conftest.$ac_ext <<_ACEOF
    2232125428-#line 14424 "configure"
    22322 +#line 15321 "configure"
     25429+#line 15437 "configure"
    2232325430 #include "confdefs.h"
    2232425431 /* System header to define __stub macros and hopefully few prototypes,
    2232525432     which can conflict with char $ac_func (); below.  */
    22326 @@ -14452,16 +15349,16 @@
     25433@@ -14444,7 +15457,7 @@
     25434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     25435 choke me
     25436 #else
     25437-f = $ac_func;
     25438+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     25439 #endif
     25440 
     25441   ;
     25442@@ -14452,16 +15465,16 @@
    2232725443 }
    2232825444 _ACEOF
    2232925445 rm -f conftest.$ac_objext conftest$ac_exeext
    2233025446-if { (eval echo "$as_me:14455: \"$ac_link\"") >&5
    22331 +if { (eval echo "$as_me:15352: \"$ac_link\"") >&5
     25447+if { (eval echo "$as_me:15468: \"$ac_link\"") >&5
    2233225448   (eval $ac_link) 2>&5
    2233325449   ac_status=$?
    2233425450-  echo "$as_me:14458: \$? = $ac_status" >&5
    22335 +  echo "$as_me:15355: \$? = $ac_status" >&5
     25451+  echo "$as_me:15471: \$? = $ac_status" >&5
    2233625452   (exit $ac_status); } &&
    2233725453          { ac_try='test -s conftest$ac_exeext'
    2233825454-  { (eval echo "$as_me:14461: \"$ac_try\"") >&5
    22339 +  { (eval echo "$as_me:15358: \"$ac_try\"") >&5
     25455+  { (eval echo "$as_me:15474: \"$ac_try\"") >&5
    2234025456   (eval $ac_try) 2>&5
    2234125457   ac_status=$?
    2234225458-  echo "$as_me:14464: \$? = $ac_status" >&5
    22343 +  echo "$as_me:15361: \$? = $ac_status" >&5
     25459+  echo "$as_me:15477: \$? = $ac_status" >&5
    2234425460   (exit $ac_status); }; }; then
    2234525461   eval "$as_ac_var=yes"
    2234625462 else
    22347 @@ -14471,7 +15368,7 @@
     25463@@ -14471,7 +15484,7 @@
    2234825464 fi
    2234925465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2235025466 fi
    2235125467-echo "$as_me:14474: result: `eval echo '${'$as_ac_var'}'`" >&5
    22352 +echo "$as_me:15371: result: `eval echo '${'$as_ac_var'}'`" >&5
     25468+echo "$as_me:15487: result: `eval echo '${'$as_ac_var'}'`" >&5
    2235325469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    2235425470 if test `eval echo '${'$as_ac_var'}'` = yes; then
    2235525471   cat >>confdefs.h <<EOF
    22356 @@ -14483,14 +15380,14 @@
     25472@@ -14483,14 +15496,70 @@
    2235725473 
    2235825474 if test "$with_getcap" = "yes" ; then
    2235925475 
    2236025476-echo "$as_me:14486: checking for terminal-capability database functions" >&5
    22361 +echo "$as_me:15383: checking for terminal-capability database functions" >&5
     25477+echo "$as_me:15499: checking for terminal-capability database functions" >&5
    2236225478 echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6
    2236325479 if test "${cf_cv_cgetent+set}" = set; then
     
    2236725483 cat >conftest.$ac_ext <<_ACEOF
    2236825484-#line 14493 "configure"
    22369 +#line 15390 "configure"
    22370  #include "confdefs.h"
    22371  
    22372  #include <stdlib.h>
    22373 @@ -14501,7 +15398,7 @@
    22374         char temp[128];
    22375         char *buf = temp;
    22376         char *db_array = temp;
    22377 -       cgetent(&buf, /* int *, */ &db_array, "vt100");
    22378 +       cgetent(&buf, &db_array, "vt100");
    22379         cgetcap(buf, "tc", '=');
    22380         cgetmatch(buf, "tc");
    22381  
    22382 @@ -14510,16 +15407,16 @@
    22383  }
    22384  _ACEOF
    22385  rm -f conftest.$ac_objext conftest$ac_exeext
    22386 -if { (eval echo "$as_me:14513: \"$ac_link\"") >&5
    22387 +if { (eval echo "$as_me:15410: \"$ac_link\"") >&5
    22388    (eval $ac_link) 2>&5
    22389    ac_status=$?
    22390 -  echo "$as_me:14516: \$? = $ac_status" >&5
    22391 +  echo "$as_me:15413: \$? = $ac_status" >&5
    22392    (exit $ac_status); } &&
    22393           { ac_try='test -s conftest$ac_exeext'
    22394 -  { (eval echo "$as_me:14519: \"$ac_try\"") >&5
    22395 +  { (eval echo "$as_me:15416: \"$ac_try\"") >&5
    22396    (eval $ac_try) 2>&5
    22397    ac_status=$?
    22398 -  echo "$as_me:14522: \$? = $ac_status" >&5
    22399 +  echo "$as_me:15419: \$? = $ac_status" >&5
    22400    (exit $ac_status); }; }; then
    22401    cf_cv_cgetent=yes
    22402  else
    22403 @@ -14530,23 +15427,85 @@
    22404  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    22405  
    22406  fi
    22407 -
    22408 -echo "$as_me:14534: result: $cf_cv_cgetent" >&5
    22409 +echo "$as_me:15430: result: $cf_cv_cgetent" >&5
    22410  echo "${ECHO_T}$cf_cv_cgetent" >&6
    22411 -test "$cf_cv_cgetent" = yes && cat >>confdefs.h <<\EOF
    22412 +
    22413 +if test "$cf_cv_cgetent" = yes
    22414 +then
    22415 +       cat >>confdefs.h <<\EOF
    22416  #define HAVE_BSD_CGETENT 1
    22417  EOF
    22418  
    22419 +echo "$as_me:15439: checking if cgetent uses const parameter" >&5
    22420 +echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6
    22421 +if test "${cf_cv_cgetent_const+set}" = set; then
    22422 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    22423 +else
    22424 +
    22425 +cat >conftest.$ac_ext <<_ACEOF
    22426 +#line 15446 "configure"
     25485+#line 15506 "configure"
    2242725486+#include "confdefs.h"
    2242825487+
     
    2243425493+       char temp[128];
    2243525494+       char *buf = temp;
    22436 +#ifndef _NETBSD_SOURCE                 /* given, since April 2004 in stdlib.h */
    22437 +       const char *db_array = temp;
     25495+       char *db_array = temp;
    2243825496+       cgetent(&buf, &db_array, "vt100");
    22439 +#endif
    2244025497+       cgetcap(buf, "tc", '=');
    2244125498+       cgetmatch(buf, "tc");
     
    2244625503+_ACEOF
    2244725504+rm -f conftest.$ac_objext conftest$ac_exeext
    22448 +if { (eval echo "$as_me:15468: \"$ac_link\"") >&5
     25505+if { (eval echo "$as_me:15526: \"$ac_link\"") >&5
    2244925506+  (eval $ac_link) 2>&5
    2245025507+  ac_status=$?
    22451 +  echo "$as_me:15471: \$? = $ac_status" >&5
     25508+  echo "$as_me:15529: \$? = $ac_status" >&5
    2245225509+  (exit $ac_status); } &&
    2245325510+         { ac_try='test -s conftest$ac_exeext'
    22454 +  { (eval echo "$as_me:15474: \"$ac_try\"") >&5
     25511+  { (eval echo "$as_me:15532: \"$ac_try\"") >&5
    2245525512+  (eval $ac_try) 2>&5
    2245625513+  ac_status=$?
    22457 +  echo "$as_me:15477: \$? = $ac_status" >&5
     25514+  echo "$as_me:15535: \$? = $ac_status" >&5
    2245825515+  (exit $ac_status); }; }; then
    22459 +  cf_cv_cgetent_const=yes
     25516+  cf_cv_cgetent=yes
    2246025517+else
    2246125518+  echo "$as_me: failed program was:" >&5
    2246225519+cat conftest.$ac_ext >&5
    22463 +cf_cv_cgetent_const=no
     25520+cf_cv_cgetent=no
    2246425521+fi
    2246525522+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2246625523+
    2246725524+fi
    22468 +echo "$as_me:15488: result: $cf_cv_cgetent_const" >&5
     25525+echo "$as_me:15546: result: $cf_cv_cgetent" >&5
     25526+echo "${ECHO_T}$cf_cv_cgetent" >&6
     25527+
     25528+if test "$cf_cv_cgetent" = yes
     25529+then
     25530+       cat >>confdefs.h <<\EOF
     25531+#define HAVE_BSD_CGETENT 1
     25532+EOF
     25533+
     25534+echo "$as_me:15555: checking if cgetent uses const parameter" >&5
     25535+echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6
     25536+if test "${cf_cv_cgetent_const+set}" = set; then
     25537+  echo $ECHO_N "(cached) $ECHO_C" >&6
     25538+else
     25539+
     25540+cat >conftest.$ac_ext <<_ACEOF
     25541+#line 15562 "configure"
     25542 #include "confdefs.h"
     25543 
     25544 #include <stdlib.h>
     25545@@ -14500,8 +15569,10 @@
     25546 
     25547        char temp[128];
     25548        char *buf = temp;
     25549-       char *db_array = temp;
     25550-       cgetent(&buf, /* int *, */ &db_array, "vt100");
     25551+#ifndef _NETBSD_SOURCE                 /* given, since April 2004 in stdlib.h */
     25552+       const char *db_array = temp;
     25553+       cgetent(&buf, &db_array, "vt100");
     25554+#endif
     25555        cgetcap(buf, "tc", '=');
     25556        cgetmatch(buf, "tc");
     25557 
     25558@@ -14510,43 +15581,47 @@
     25559 }
     25560 _ACEOF
     25561 rm -f conftest.$ac_objext conftest$ac_exeext
     25562-if { (eval echo "$as_me:14513: \"$ac_link\"") >&5
     25563+if { (eval echo "$as_me:15584: \"$ac_link\"") >&5
     25564   (eval $ac_link) 2>&5
     25565   ac_status=$?
     25566-  echo "$as_me:14516: \$? = $ac_status" >&5
     25567+  echo "$as_me:15587: \$? = $ac_status" >&5
     25568   (exit $ac_status); } &&
     25569          { ac_try='test -s conftest$ac_exeext'
     25570-  { (eval echo "$as_me:14519: \"$ac_try\"") >&5
     25571+  { (eval echo "$as_me:15590: \"$ac_try\"") >&5
     25572   (eval $ac_try) 2>&5
     25573   ac_status=$?
     25574-  echo "$as_me:14522: \$? = $ac_status" >&5
     25575+  echo "$as_me:15593: \$? = $ac_status" >&5
     25576   (exit $ac_status); }; }; then
     25577-  cf_cv_cgetent=yes
     25578+  cf_cv_cgetent_const=yes
     25579 else
     25580   echo "$as_me: failed program was:" >&5
     25581 cat conftest.$ac_ext >&5
     25582-cf_cv_cgetent=no
     25583+cf_cv_cgetent_const=no
     25584 fi
     25585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     25586 
     25587 fi
     25588-
     25589-echo "$as_me:14534: result: $cf_cv_cgetent" >&5
     25590-echo "${ECHO_T}$cf_cv_cgetent" >&6
     25591-test "$cf_cv_cgetent" = yes && cat >>confdefs.h <<\EOF
     25592-#define HAVE_BSD_CGETENT 1
     25593+echo "$as_me:15604: result: $cf_cv_cgetent_const" >&5
    2246925594+echo "${ECHO_T}$cf_cv_cgetent_const" >&6
    2247025595+       if test "$cf_cv_cgetent_const" = yes
     
    2247225597+               cat >>confdefs.h <<EOF
    2247325598+#define CGETENT_CONST const
    22474 +EOF
    22475 +
     25599 EOF
     25600 
    2247625601+       fi
    2247725602+fi
     
    2248025605 
    2248125606-echo "$as_me:14542: checking for isascii" >&5
    22482 +echo "$as_me:15501: checking for isascii" >&5
     25607+echo "$as_me:15617: checking for isascii" >&5
    2248325608 echo $ECHO_N "checking for isascii... $ECHO_C" >&6
    2248425609 if test "${cf_cv_have_isascii+set}" = set; then
     
    2248825613        cat >conftest.$ac_ext <<_ACEOF
    2248925614-#line 14549 "configure"
    22490 +#line 15508 "configure"
     25615+#line 15624 "configure"
    2249125616 #include "confdefs.h"
    2249225617 #include <ctype.h>
    2249325618 int
    22494 @@ -14558,16 +15517,16 @@
     25619@@ -14558,16 +15633,16 @@
    2249525620 }
    2249625621 _ACEOF
    2249725622 rm -f conftest.$ac_objext conftest$ac_exeext
    2249825623-if { (eval echo "$as_me:14561: \"$ac_link\"") >&5
    22499 +if { (eval echo "$as_me:15520: \"$ac_link\"") >&5
     25624+if { (eval echo "$as_me:15636: \"$ac_link\"") >&5
    2250025625   (eval $ac_link) 2>&5
    2250125626   ac_status=$?
    2250225627-  echo "$as_me:14564: \$? = $ac_status" >&5
    22503 +  echo "$as_me:15523: \$? = $ac_status" >&5
     25628+  echo "$as_me:15639: \$? = $ac_status" >&5
    2250425629   (exit $ac_status); } &&
    2250525630          { ac_try='test -s conftest$ac_exeext'
    2250625631-  { (eval echo "$as_me:14567: \"$ac_try\"") >&5
    22507 +  { (eval echo "$as_me:15526: \"$ac_try\"") >&5
     25632+  { (eval echo "$as_me:15642: \"$ac_try\"") >&5
    2250825633   (eval $ac_try) 2>&5
    2250925634   ac_status=$?
    2251025635-  echo "$as_me:14570: \$? = $ac_status" >&5
    22511 +  echo "$as_me:15529: \$? = $ac_status" >&5
     25636+  echo "$as_me:15645: \$? = $ac_status" >&5
    2251225637   (exit $ac_status); }; }; then
    2251325638   cf_cv_have_isascii=yes
    2251425639 else
    22515 @@ -14578,17 +15537,17 @@
     25640@@ -14578,17 +15653,17 @@
    2251625641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2251725642 
    2251825643 fi
    2251925644-echo "$as_me:14581: result: $cf_cv_have_isascii" >&5
    22520 +echo "$as_me:15540: result: $cf_cv_have_isascii" >&5
     25645+echo "$as_me:15656: result: $cf_cv_have_isascii" >&5
    2252125646 echo "${ECHO_T}$cf_cv_have_isascii" >&6
    2252225647 test "$cf_cv_have_isascii" = yes && cat >>confdefs.h <<\EOF
     
    2252625651 if test "$ac_cv_func_sigaction" = yes; then
    2252725652-echo "$as_me:14588: checking whether sigaction needs _POSIX_SOURCE" >&5
    22528 +echo "$as_me:15547: checking whether sigaction needs _POSIX_SOURCE" >&5
     25653+echo "$as_me:15663: checking whether sigaction needs _POSIX_SOURCE" >&5
    2252925654 echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6
    2253025655 cat >conftest.$ac_ext <<_ACEOF
    2253125656-#line 14591 "configure"
    22532 +#line 15550 "configure"
     25657+#line 15666 "configure"
    2253325658 #include "confdefs.h"
    2253425659 
    2253525660 #include <sys/types.h>
    22536 @@ -14602,16 +15561,16 @@
     25661@@ -14602,16 +15677,16 @@
    2253725662 }
    2253825663 _ACEOF
    2253925664 rm -f conftest.$ac_objext
    2254025665-if { (eval echo "$as_me:14605: \"$ac_compile\"") >&5
    22541 +if { (eval echo "$as_me:15564: \"$ac_compile\"") >&5
     25666+if { (eval echo "$as_me:15680: \"$ac_compile\"") >&5
    2254225667   (eval $ac_compile) 2>&5
    2254325668   ac_status=$?
    2254425669-  echo "$as_me:14608: \$? = $ac_status" >&5
    22545 +  echo "$as_me:15567: \$? = $ac_status" >&5
     25670+  echo "$as_me:15683: \$? = $ac_status" >&5
    2254625671   (exit $ac_status); } &&
    2254725672          { ac_try='test -s conftest.$ac_objext'
    2254825673-  { (eval echo "$as_me:14611: \"$ac_try\"") >&5
    22549 +  { (eval echo "$as_me:15570: \"$ac_try\"") >&5
     25674+  { (eval echo "$as_me:15686: \"$ac_try\"") >&5
    2255025675   (eval $ac_try) 2>&5
    2255125676   ac_status=$?
    2255225677-  echo "$as_me:14614: \$? = $ac_status" >&5
    22553 +  echo "$as_me:15573: \$? = $ac_status" >&5
     25678+  echo "$as_me:15689: \$? = $ac_status" >&5
    2255425679   (exit $ac_status); }; }; then
    2255525680   sigact_bad=no
    2255625681 else
    22557 @@ -14619,7 +15578,7 @@
     25682@@ -14619,7 +15694,7 @@
    2255825683 cat conftest.$ac_ext >&5
    2255925684 
    2256025685 cat >conftest.$ac_ext <<_ACEOF
    2256125686-#line 14622 "configure"
    22562 +#line 15581 "configure"
     25687+#line 15697 "configure"
    2256325688 #include "confdefs.h"
    2256425689 
    2256525690 #define _POSIX_SOURCE
    22566 @@ -14634,20 +15593,20 @@
     25691@@ -14634,20 +15709,20 @@
    2256725692 }
    2256825693 _ACEOF
    2256925694 rm -f conftest.$ac_objext
    2257025695-if { (eval echo "$as_me:14637: \"$ac_compile\"") >&5
    22571 +if { (eval echo "$as_me:15596: \"$ac_compile\"") >&5
     25696+if { (eval echo "$as_me:15712: \"$ac_compile\"") >&5
    2257225697   (eval $ac_compile) 2>&5
    2257325698   ac_status=$?
    2257425699-  echo "$as_me:14640: \$? = $ac_status" >&5
    22575 +  echo "$as_me:15599: \$? = $ac_status" >&5
     25700+  echo "$as_me:15715: \$? = $ac_status" >&5
    2257625701   (exit $ac_status); } &&
    2257725702          { ac_try='test -s conftest.$ac_objext'
    2257825703-  { (eval echo "$as_me:14643: \"$ac_try\"") >&5
    22579 +  { (eval echo "$as_me:15602: \"$ac_try\"") >&5
     25704+  { (eval echo "$as_me:15718: \"$ac_try\"") >&5
    2258025705   (eval $ac_try) 2>&5
    2258125706   ac_status=$?
    2258225707-  echo "$as_me:14646: \$? = $ac_status" >&5
    22583 +  echo "$as_me:15605: \$? = $ac_status" >&5
     25708+  echo "$as_me:15721: \$? = $ac_status" >&5
    2258425709   (exit $ac_status); }; }; then
    2258525710   sigact_bad=yes
     
    2259025715 
    2259125716 else
    22592 @@ -14658,11 +15617,11 @@
     25717@@ -14658,11 +15733,11 @@
    2259325718 rm -f conftest.$ac_objext conftest.$ac_ext
    2259425719 fi
    2259525720 rm -f conftest.$ac_objext conftest.$ac_ext
    2259625721-echo "$as_me:14661: result: $sigact_bad" >&5
    22597 +echo "$as_me:15620: result: $sigact_bad" >&5
     25722+echo "$as_me:15736: result: $sigact_bad" >&5
    2259825723 echo "${ECHO_T}$sigact_bad" >&6
    2259925724 fi
    2260025725 
    2260125726-echo "$as_me:14665: checking if nanosleep really works" >&5
    22602 +echo "$as_me:15624: checking if nanosleep really works" >&5
     25727+echo "$as_me:15740: checking if nanosleep really works" >&5
    2260325728 echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6
    2260425729 if test "${cf_cv_func_nanosleep+set}" = set; then
    2260525730   echo $ECHO_N "(cached) $ECHO_C" >&6
    22606 @@ -14672,7 +15631,7 @@
     25731@@ -14672,7 +15747,7 @@
    2260725732   cf_cv_func_nanosleep=unknown
    2260825733 else
    2260925734   cat >conftest.$ac_ext <<_ACEOF
    2261025735-#line 14675 "configure"
    22611 +#line 15634 "configure"
     25736+#line 15750 "configure"
    2261225737 #include "confdefs.h"
    2261325738 
    2261425739 #include <stdio.h>
    22615 @@ -14697,15 +15656,15 @@
     25740@@ -14697,15 +15772,15 @@
    2261625741 
    2261725742 _ACEOF
    2261825743 rm -f conftest$ac_exeext
    2261925744-if { (eval echo "$as_me:14700: \"$ac_link\"") >&5
    22620 +if { (eval echo "$as_me:15659: \"$ac_link\"") >&5
     25745+if { (eval echo "$as_me:15775: \"$ac_link\"") >&5
    2262125746   (eval $ac_link) 2>&5
    2262225747   ac_status=$?
    2262325748-  echo "$as_me:14703: \$? = $ac_status" >&5
    22624 +  echo "$as_me:15662: \$? = $ac_status" >&5
     25749+  echo "$as_me:15778: \$? = $ac_status" >&5
    2262525750   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2262625751-  { (eval echo "$as_me:14705: \"$ac_try\"") >&5
    22627 +  { (eval echo "$as_me:15664: \"$ac_try\"") >&5
     25752+  { (eval echo "$as_me:15780: \"$ac_try\"") >&5
    2262825753   (eval $ac_try) 2>&5
    2262925754   ac_status=$?
    2263025755-  echo "$as_me:14708: \$? = $ac_status" >&5
    22631 +  echo "$as_me:15667: \$? = $ac_status" >&5
     25756+  echo "$as_me:15783: \$? = $ac_status" >&5
    2263225757   (exit $ac_status); }; }; then
    2263325758   cf_cv_func_nanosleep=yes
    2263425759 else
    22635 @@ -14717,7 +15676,7 @@
     25760@@ -14717,7 +15792,7 @@
    2263625761 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2263725762 fi
    2263825763 fi
    2263925764-echo "$as_me:14720: result: $cf_cv_func_nanosleep" >&5
    22640 +echo "$as_me:15679: result: $cf_cv_func_nanosleep" >&5
     25765+echo "$as_me:15795: result: $cf_cv_func_nanosleep" >&5
    2264125766 echo "${ECHO_T}$cf_cv_func_nanosleep" >&6
    2264225767 
    2264325768 test "$cf_cv_func_nanosleep" = "yes" && cat >>confdefs.h <<\EOF
    22644 @@ -14731,23 +15690,23 @@
     25769@@ -14731,23 +15806,23 @@
    2264525770 
    2264625771 do
    2264725772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2264825773-echo "$as_me:14734: checking for $ac_header" >&5
    22649 +echo "$as_me:15693: checking for $ac_header" >&5
     25774+echo "$as_me:15809: checking for $ac_header" >&5
    2265025775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2265125776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2265425779   cat >conftest.$ac_ext <<_ACEOF
    2265525780-#line 14740 "configure"
    22656 +#line 15699 "configure"
     25781+#line 15815 "configure"
    2265725782 #include "confdefs.h"
    2265825783 #include <$ac_header>
    2265925784 _ACEOF
    2266025785-if { (eval echo "$as_me:14744: \"$ac_cpp conftest.$ac_ext\"") >&5
    22661 +if { (eval echo "$as_me:15703: \"$ac_cpp conftest.$ac_ext\"") >&5
     25786+if { (eval echo "$as_me:15819: \"$ac_cpp conftest.$ac_ext\"") >&5
    2266225787   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2266325788   ac_status=$?
     
    2266625791   cat conftest.err >&5
    2266725792-  echo "$as_me:14750: \$? = $ac_status" >&5
    22668 +  echo "$as_me:15709: \$? = $ac_status" >&5
     25793+  echo "$as_me:15825: \$? = $ac_status" >&5
    2266925794   (exit $ac_status); } >/dev/null; then
    2267025795   if test -s conftest.err; then
    2267125796     ac_cpp_err=$ac_c_preproc_warn_flag
    22672 @@ -14766,7 +15725,7 @@
     25797@@ -14766,7 +15841,7 @@
    2267325798 fi
    2267425799 rm -f conftest.err conftest.$ac_ext
    2267525800 fi
    2267625801-echo "$as_me:14769: result: `eval echo '${'$as_ac_Header'}'`" >&5
    22677 +echo "$as_me:15728: result: `eval echo '${'$as_ac_Header'}'`" >&5
     25802+echo "$as_me:15844: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2267825803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2267925804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2268025805   cat >>confdefs.h <<EOF
    22681 @@ -14781,23 +15740,23 @@
     25806@@ -14781,23 +15856,23 @@
    2268225807 for ac_header in sys/termio.h
    2268325808 do
    2268425809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2268525810-echo "$as_me:14784: checking for $ac_header" >&5
    22686 +echo "$as_me:15743: checking for $ac_header" >&5
     25811+echo "$as_me:15859: checking for $ac_header" >&5
    2268725812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2268825813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2269125816   cat >conftest.$ac_ext <<_ACEOF
    2269225817-#line 14790 "configure"
    22693 +#line 15749 "configure"
     25818+#line 15865 "configure"
    2269425819 #include "confdefs.h"
    2269525820 #include <$ac_header>
    2269625821 _ACEOF
    2269725822-if { (eval echo "$as_me:14794: \"$ac_cpp conftest.$ac_ext\"") >&5
    22698 +if { (eval echo "$as_me:15753: \"$ac_cpp conftest.$ac_ext\"") >&5
     25823+if { (eval echo "$as_me:15869: \"$ac_cpp conftest.$ac_ext\"") >&5
    2269925824   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2270025825   ac_status=$?
     
    2270325828   cat conftest.err >&5
    2270425829-  echo "$as_me:14800: \$? = $ac_status" >&5
    22705 +  echo "$as_me:15759: \$? = $ac_status" >&5
     25830+  echo "$as_me:15875: \$? = $ac_status" >&5
    2270625831   (exit $ac_status); } >/dev/null; then
    2270725832   if test -s conftest.err; then
    2270825833     ac_cpp_err=$ac_c_preproc_warn_flag
    22709 @@ -14816,7 +15775,7 @@
     25834@@ -14816,7 +15891,7 @@
    2271025835 fi
    2271125836 rm -f conftest.err conftest.$ac_ext
    2271225837 fi
    2271325838-echo "$as_me:14819: result: `eval echo '${'$as_ac_Header'}'`" >&5
    22714 +echo "$as_me:15778: result: `eval echo '${'$as_ac_Header'}'`" >&5
     25839+echo "$as_me:15894: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2271525840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2271625841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2271725842   cat >>confdefs.h <<EOF
    22718 @@ -14834,10 +15793,10 @@
     25843@@ -14834,10 +15909,10 @@
    2271925844        *)      termios_bad=maybe ;;
    2272025845        esac
    2272125846        if test "$termios_bad" = maybe ; then
    2272225847-       echo "$as_me:14837: checking whether termios.h needs _POSIX_SOURCE" >&5
    22723 +       echo "$as_me:15796: checking whether termios.h needs _POSIX_SOURCE" >&5
     25848+       echo "$as_me:15912: checking whether termios.h needs _POSIX_SOURCE" >&5
    2272425849 echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6
    2272525850        cat >conftest.$ac_ext <<_ACEOF
    2272625851-#line 14840 "configure"
    22727 +#line 15799 "configure"
     25852+#line 15915 "configure"
    2272825853 #include "confdefs.h"
    2272925854 #include <termios.h>
    2273025855 int
    22731 @@ -14849,16 +15808,16 @@
     25856@@ -14849,16 +15924,16 @@
    2273225857 }
    2273325858 _ACEOF
    2273425859 rm -f conftest.$ac_objext
    2273525860-if { (eval echo "$as_me:14852: \"$ac_compile\"") >&5
    22736 +if { (eval echo "$as_me:15811: \"$ac_compile\"") >&5
     25861+if { (eval echo "$as_me:15927: \"$ac_compile\"") >&5
    2273725862   (eval $ac_compile) 2>&5
    2273825863   ac_status=$?
    2273925864-  echo "$as_me:14855: \$? = $ac_status" >&5
    22740 +  echo "$as_me:15814: \$? = $ac_status" >&5
     25865+  echo "$as_me:15930: \$? = $ac_status" >&5
    2274125866   (exit $ac_status); } &&
    2274225867          { ac_try='test -s conftest.$ac_objext'
    2274325868-  { (eval echo "$as_me:14858: \"$ac_try\"") >&5
    22744 +  { (eval echo "$as_me:15817: \"$ac_try\"") >&5
     25869+  { (eval echo "$as_me:15933: \"$ac_try\"") >&5
    2274525870   (eval $ac_try) 2>&5
    2274625871   ac_status=$?
    2274725872-  echo "$as_me:14861: \$? = $ac_status" >&5
    22748 +  echo "$as_me:15820: \$? = $ac_status" >&5
     25873+  echo "$as_me:15936: \$? = $ac_status" >&5
    2274925874   (exit $ac_status); }; }; then
    2275025875   termios_bad=no
    2275125876 else
    22752 @@ -14866,7 +15825,7 @@
     25877@@ -14866,7 +15941,7 @@
    2275325878 cat conftest.$ac_ext >&5
    2275425879 
    2275525880                cat >conftest.$ac_ext <<_ACEOF
    2275625881-#line 14869 "configure"
    22757 +#line 15828 "configure"
     25882+#line 15944 "configure"
    2275825883 #include "confdefs.h"
    2275925884 
    2276025885 #define _POSIX_SOURCE
    22761 @@ -14880,23 +15839,23 @@
     25886@@ -14880,23 +15955,23 @@
    2276225887 }
    2276325888 _ACEOF
    2276425889 rm -f conftest.$ac_objext
    2276525890-if { (eval echo "$as_me:14883: \"$ac_compile\"") >&5
    22766 +if { (eval echo "$as_me:15842: \"$ac_compile\"") >&5
     25891+if { (eval echo "$as_me:15958: \"$ac_compile\"") >&5
    2276725892   (eval $ac_compile) 2>&5
    2276825893   ac_status=$?
    2276925894-  echo "$as_me:14886: \$? = $ac_status" >&5
    22770 +  echo "$as_me:15845: \$? = $ac_status" >&5
     25895+  echo "$as_me:15961: \$? = $ac_status" >&5
    2277125896   (exit $ac_status); } &&
    2277225897          { ac_try='test -s conftest.$ac_objext'
    2277325898-  { (eval echo "$as_me:14889: \"$ac_try\"") >&5
    22774 +  { (eval echo "$as_me:15848: \"$ac_try\"") >&5
     25899+  { (eval echo "$as_me:15964: \"$ac_try\"") >&5
    2277525900   (eval $ac_try) 2>&5
    2277625901   ac_status=$?
    2277725902-  echo "$as_me:14892: \$? = $ac_status" >&5
    22778 +  echo "$as_me:15851: \$? = $ac_status" >&5
     25903+  echo "$as_me:15967: \$? = $ac_status" >&5
    2277925904   (exit $ac_status); }; }; then
    2278025905   termios_bad=unknown
     
    2278825913 
    2278925914 fi
    22790 @@ -14904,19 +15863,19 @@
     25915@@ -14904,19 +15979,19 @@
    2279125916 
    2279225917 fi
    2279325918 rm -f conftest.$ac_objext conftest.$ac_ext
    2279425919-       echo "$as_me:14907: result: $termios_bad" >&5
    22795 +       echo "$as_me:15866: result: $termios_bad" >&5
     25920+       echo "$as_me:15982: result: $termios_bad" >&5
    2279625921 echo "${ECHO_T}$termios_bad" >&6
    2279725922        fi
     
    2279925924 
    2280025925-echo "$as_me:14912: checking for tcgetattr" >&5
    22801 +echo "$as_me:15871: checking for tcgetattr" >&5
     25926+echo "$as_me:15987: checking for tcgetattr" >&5
    2280225927 echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6
    2280325928 if test "${cf_cv_have_tcgetattr+set}" = set; then
     
    2280725932 cat >conftest.$ac_ext <<_ACEOF
    2280825933-#line 14919 "configure"
    22809 +#line 15878 "configure"
     25934+#line 15994 "configure"
    2281025935 #include "confdefs.h"
    2281125936 
    2281225937 #include <sys/types.h>
    22813 @@ -14944,16 +15903,16 @@
     25938@@ -14944,16 +16019,16 @@
    2281425939 }
    2281525940 _ACEOF
    2281625941 rm -f conftest.$ac_objext conftest$ac_exeext
    2281725942-if { (eval echo "$as_me:14947: \"$ac_link\"") >&5
    22818 +if { (eval echo "$as_me:15906: \"$ac_link\"") >&5
     25943+if { (eval echo "$as_me:16022: \"$ac_link\"") >&5
    2281925944   (eval $ac_link) 2>&5
    2282025945   ac_status=$?
    2282125946-  echo "$as_me:14950: \$? = $ac_status" >&5
    22822 +  echo "$as_me:15909: \$? = $ac_status" >&5
     25947+  echo "$as_me:16025: \$? = $ac_status" >&5
    2282325948   (exit $ac_status); } &&
    2282425949          { ac_try='test -s conftest$ac_exeext'
    2282525950-  { (eval echo "$as_me:14953: \"$ac_try\"") >&5
    22826 +  { (eval echo "$as_me:15912: \"$ac_try\"") >&5
     25951+  { (eval echo "$as_me:16028: \"$ac_try\"") >&5
    2282725952   (eval $ac_try) 2>&5
    2282825953   ac_status=$?
    2282925954-  echo "$as_me:14956: \$? = $ac_status" >&5
    22830 +  echo "$as_me:15915: \$? = $ac_status" >&5
     25955+  echo "$as_me:16031: \$? = $ac_status" >&5
    2283125956   (exit $ac_status); }; }; then
    2283225957   cf_cv_have_tcgetattr=yes
    2283325958 else
    22834 @@ -14963,20 +15922,20 @@
     25959@@ -14963,20 +16038,20 @@
    2283525960 fi
    2283625961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2283725962 fi
    2283825963-echo "$as_me:14966: result: $cf_cv_have_tcgetattr" >&5
    22839 +echo "$as_me:15925: result: $cf_cv_have_tcgetattr" >&5
     25964+echo "$as_me:16041: result: $cf_cv_have_tcgetattr" >&5
    2284025965 echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6
    2284125966 test "$cf_cv_have_tcgetattr" = yes && cat >>confdefs.h <<\EOF
     
    2284425969 
    2284525970-echo "$as_me:14972: checking for vsscanf function or workaround" >&5
    22846 +echo "$as_me:15931: checking for vsscanf function or workaround" >&5
     25971+echo "$as_me:16047: checking for vsscanf function or workaround" >&5
    2284725972 echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6
    2284825973 if test "${cf_cv_func_vsscanf+set}" = set; then
     
    2285225977 cat >conftest.$ac_ext <<_ACEOF
    2285325978-#line 14979 "configure"
    22854 +#line 15938 "configure"
     25979+#line 16054 "configure"
    2285525980 #include "confdefs.h"
    2285625981 
    2285725982 #include <stdarg.h>
    22858 @@ -14992,16 +15951,16 @@
     25983@@ -14992,16 +16067,16 @@
    2285925984 }
    2286025985 _ACEOF
    2286125986 rm -f conftest.$ac_objext conftest$ac_exeext
    2286225987-if { (eval echo "$as_me:14995: \"$ac_link\"") >&5
    22863 +if { (eval echo "$as_me:15954: \"$ac_link\"") >&5
     25988+if { (eval echo "$as_me:16070: \"$ac_link\"") >&5
    2286425989   (eval $ac_link) 2>&5
    2286525990   ac_status=$?
    2286625991-  echo "$as_me:14998: \$? = $ac_status" >&5
    22867 +  echo "$as_me:15957: \$? = $ac_status" >&5
     25992+  echo "$as_me:16073: \$? = $ac_status" >&5
    2286825993   (exit $ac_status); } &&
    2286925994          { ac_try='test -s conftest$ac_exeext'
    2287025995-  { (eval echo "$as_me:15001: \"$ac_try\"") >&5
    22871 +  { (eval echo "$as_me:15960: \"$ac_try\"") >&5
     25996+  { (eval echo "$as_me:16076: \"$ac_try\"") >&5
    2287225997   (eval $ac_try) 2>&5
    2287325998   ac_status=$?
    2287425999-  echo "$as_me:15004: \$? = $ac_status" >&5
    22875 +  echo "$as_me:15963: \$? = $ac_status" >&5
     26000+  echo "$as_me:16079: \$? = $ac_status" >&5
    2287626001   (exit $ac_status); }; }; then
    2287726002   cf_cv_func_vsscanf=vsscanf
    2287826003 else
    22879 @@ -15009,7 +15968,7 @@
     26004@@ -15009,7 +16084,7 @@
    2288026005 cat conftest.$ac_ext >&5
    2288126006 
    2288226007 cat >conftest.$ac_ext <<_ACEOF
    2288326008-#line 15012 "configure"
    22884 +#line 15971 "configure"
     26009+#line 16087 "configure"
    2288526010 #include "confdefs.h"
    2288626011 
    2288726012 #include <stdarg.h>
    22888 @@ -15031,16 +15990,16 @@
     26013@@ -15031,16 +16106,16 @@
    2288926014 }
    2289026015 _ACEOF
    2289126016 rm -f conftest.$ac_objext conftest$ac_exeext
    2289226017-if { (eval echo "$as_me:15034: \"$ac_link\"") >&5
    22893 +if { (eval echo "$as_me:15993: \"$ac_link\"") >&5
     26018+if { (eval echo "$as_me:16109: \"$ac_link\"") >&5
    2289426019   (eval $ac_link) 2>&5
    2289526020   ac_status=$?
    2289626021-  echo "$as_me:15037: \$? = $ac_status" >&5
    22897 +  echo "$as_me:15996: \$? = $ac_status" >&5
     26022+  echo "$as_me:16112: \$? = $ac_status" >&5
    2289826023   (exit $ac_status); } &&
    2289926024          { ac_try='test -s conftest$ac_exeext'
    2290026025-  { (eval echo "$as_me:15040: \"$ac_try\"") >&5
    22901 +  { (eval echo "$as_me:15999: \"$ac_try\"") >&5
     26026+  { (eval echo "$as_me:16115: \"$ac_try\"") >&5
    2290226027   (eval $ac_try) 2>&5
    2290326028   ac_status=$?
    2290426029-  echo "$as_me:15043: \$? = $ac_status" >&5
    22905 +  echo "$as_me:16002: \$? = $ac_status" >&5
     26030+  echo "$as_me:16118: \$? = $ac_status" >&5
    2290626031   (exit $ac_status); }; }; then
    2290726032   cf_cv_func_vsscanf=vfscanf
    2290826033 else
    22909 @@ -15048,7 +16007,7 @@
     26034@@ -15048,7 +16123,7 @@
    2291026035 cat conftest.$ac_ext >&5
    2291126036 
    2291226037 cat >conftest.$ac_ext <<_ACEOF
    2291326038-#line 15051 "configure"
    22914 +#line 16010 "configure"
     26039+#line 16126 "configure"
    2291526040 #include "confdefs.h"
    2291626041 
    2291726042 #include <stdarg.h>
    22918 @@ -15070,16 +16029,16 @@
     26043@@ -15070,16 +16145,16 @@
    2291926044 }
    2292026045 _ACEOF
    2292126046 rm -f conftest.$ac_objext conftest$ac_exeext
    2292226047-if { (eval echo "$as_me:15073: \"$ac_link\"") >&5
    22923 +if { (eval echo "$as_me:16032: \"$ac_link\"") >&5
     26048+if { (eval echo "$as_me:16148: \"$ac_link\"") >&5
    2292426049   (eval $ac_link) 2>&5
    2292526050   ac_status=$?
    2292626051-  echo "$as_me:15076: \$? = $ac_status" >&5
    22927 +  echo "$as_me:16035: \$? = $ac_status" >&5
     26052+  echo "$as_me:16151: \$? = $ac_status" >&5
    2292826053   (exit $ac_status); } &&
    2292926054          { ac_try='test -s conftest$ac_exeext'
    2293026055-  { (eval echo "$as_me:15079: \"$ac_try\"") >&5
    22931 +  { (eval echo "$as_me:16038: \"$ac_try\"") >&5
     26056+  { (eval echo "$as_me:16154: \"$ac_try\"") >&5
    2293226057   (eval $ac_try) 2>&5
    2293326058   ac_status=$?
    2293426059-  echo "$as_me:15082: \$? = $ac_status" >&5
    22935 +  echo "$as_me:16041: \$? = $ac_status" >&5
     26060+  echo "$as_me:16157: \$? = $ac_status" >&5
    2293626061   (exit $ac_status); }; }; then
    2293726062   cf_cv_func_vsscanf=_doscan
    2293826063 else
    22939 @@ -15094,7 +16053,7 @@
     26064@@ -15094,7 +16169,7 @@
    2294026065 fi
    2294126066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2294226067 fi
    2294326068-echo "$as_me:15097: result: $cf_cv_func_vsscanf" >&5
    22944 +echo "$as_me:16056: result: $cf_cv_func_vsscanf" >&5
     26069+echo "$as_me:16172: result: $cf_cv_func_vsscanf" >&5
    2294526070 echo "${ECHO_T}$cf_cv_func_vsscanf" >&6
    2294626071 
    2294726072 case $cf_cv_func_vsscanf in #(vi
    22948 @@ -15112,7 +16071,7 @@
     26073@@ -15112,7 +16187,7 @@
    2294926074 ;;
    2295026075 esac
    2295126076 
    2295226077-echo "$as_me:15115: checking for working mkstemp" >&5
    22953 +echo "$as_me:16074: checking for working mkstemp" >&5
     26078+echo "$as_me:16190: checking for working mkstemp" >&5
    2295426079 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6
    2295526080 if test "${cf_cv_func_mkstemp+set}" = set; then
    2295626081   echo $ECHO_N "(cached) $ECHO_C" >&6
    22957 @@ -15120,13 +16079,13 @@
     26082@@ -15120,68 +16195,10 @@
    2295826083 
    2295926084 rm -rf conftest*
    2296026085 if test "$cross_compiling" = yes; then
    2296126086-  echo "$as_me:15123: checking for mkstemp" >&5
    22962 +  echo "$as_me:16082: checking for mkstemp" >&5
    22963  echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
    22964  if test "${ac_cv_func_mkstemp+set}" = set; then
    22965    echo $ECHO_N "(cached) $ECHO_C" >&6
    22966  else
    22967    cat >conftest.$ac_ext <<_ACEOF
     26087-echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
     26088-if test "${ac_cv_func_mkstemp+set}" = set; then
     26089-  echo $ECHO_N "(cached) $ECHO_C" >&6
     26090-else
     26091-  cat >conftest.$ac_ext <<_ACEOF
    2296826092-#line 15129 "configure"
    22969 +#line 16088 "configure"
    22970  #include "confdefs.h"
    22971  /* System header to define __stub macros and hopefully few prototypes,
    22972      which can conflict with char mkstemp (); below.  */
    22973 @@ -15157,16 +16116,16 @@
    22974  }
    22975  _ACEOF
    22976  rm -f conftest.$ac_objext conftest$ac_exeext
     26093-#include "confdefs.h"
     26094-/* System header to define __stub macros and hopefully few prototypes,
     26095-    which can conflict with char mkstemp (); below.  */
     26096-#include <assert.h>
     26097-/* Override any gcc2 internal prototype to avoid an error.  */
     26098-#ifdef __cplusplus
     26099-extern "C"
     26100-#endif
     26101-/* We use char because int might match the return type of a gcc2
     26102-   builtin and then its argument prototype would still apply.  */
     26103-char mkstemp ();
     26104-char (*f) ();
     26105-
     26106-int
     26107-main ()
     26108-{
     26109-/* The GNU C library defines this for functions which it implements
     26110-    to always fail with ENOSYS.  Some functions are actually named
     26111-    something starting with __ and the normal name is an alias.  */
     26112-#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
     26113-choke me
     26114-#else
     26115-f = mkstemp;
     26116-#endif
     26117-
     26118-  ;
     26119-  return 0;
     26120-}
     26121-_ACEOF
     26122-rm -f conftest.$ac_objext conftest$ac_exeext
    2297726123-if { (eval echo "$as_me:15160: \"$ac_link\"") >&5
    22978 +if { (eval echo "$as_me:16119: \"$ac_link\"") >&5
    22979    (eval $ac_link) 2>&5
    22980    ac_status=$?
     26124-  (eval $ac_link) 2>&5
     26125-  ac_status=$?
    2298126126-  echo "$as_me:15163: \$? = $ac_status" >&5
    22982 +  echo "$as_me:16122: \$? = $ac_status" >&5
    22983    (exit $ac_status); } &&
    22984           { ac_try='test -s conftest$ac_exeext'
     26127-  (exit $ac_status); } &&
     26128-         { ac_try='test -s conftest$ac_exeext'
    2298526129-  { (eval echo "$as_me:15166: \"$ac_try\"") >&5
    22986 +  { (eval echo "$as_me:16125: \"$ac_try\"") >&5
    22987    (eval $ac_try) 2>&5
    22988    ac_status=$?
     26130-  (eval $ac_try) 2>&5
     26131-  ac_status=$?
    2298926132-  echo "$as_me:15169: \$? = $ac_status" >&5
    22990 +  echo "$as_me:16128: \$? = $ac_status" >&5
    22991    (exit $ac_status); }; }; then
    22992    ac_cv_func_mkstemp=yes
    22993  else
    22994 @@ -15176,12 +16135,12 @@
    22995  fi
    22996  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    22997  fi
     26133-  (exit $ac_status); }; }; then
     26134-  ac_cv_func_mkstemp=yes
     26135-else
     26136-  echo "$as_me: failed program was:" >&5
     26137-cat conftest.$ac_ext >&5
     26138-ac_cv_func_mkstemp=no
     26139-fi
     26140-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     26141-fi
    2299826142-echo "$as_me:15179: result: $ac_cv_func_mkstemp" >&5
    22999 +echo "$as_me:16138: result: $ac_cv_func_mkstemp" >&5
    23000  echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
    23001  
     26143-echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
     26144-
     26145+  cf_cv_func_mkstemp=maybe
    2300226146 else
    2300326147   cat >conftest.$ac_ext <<_ACEOF
    2300426148-#line 15184 "configure"
    23005 +#line 16143 "configure"
     26149+#line 16201 "configure"
    2300626150 #include "confdefs.h"
    2300726151 
    2300826152 #include <sys/types.h>
    23009 @@ -15219,15 +16178,15 @@
     26153@@ -15219,15 +16236,15 @@
    2301026154 
    2301126155 _ACEOF
    2301226156 rm -f conftest$ac_exeext
    2301326157-if { (eval echo "$as_me:15222: \"$ac_link\"") >&5
    23014 +if { (eval echo "$as_me:16181: \"$ac_link\"") >&5
     26158+if { (eval echo "$as_me:16239: \"$ac_link\"") >&5
    2301526159   (eval $ac_link) 2>&5
    2301626160   ac_status=$?
    2301726161-  echo "$as_me:15225: \$? = $ac_status" >&5
    23018 +  echo "$as_me:16184: \$? = $ac_status" >&5
     26162+  echo "$as_me:16242: \$? = $ac_status" >&5
    2301926163   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2302026164-  { (eval echo "$as_me:15227: \"$ac_try\"") >&5
    23021 +  { (eval echo "$as_me:16186: \"$ac_try\"") >&5
     26165+  { (eval echo "$as_me:16244: \"$ac_try\"") >&5
    2302226166   (eval $ac_try) 2>&5
    2302326167   ac_status=$?
    2302426168-  echo "$as_me:15230: \$? = $ac_status" >&5
    23025 +  echo "$as_me:16189: \$? = $ac_status" >&5
     26169+  echo "$as_me:16247: \$? = $ac_status" >&5
    2302626170   (exit $ac_status); }; }; then
    2302726171   cf_cv_func_mkstemp=yes
    2302826172 
    23029 @@ -15242,7 +16201,7 @@
     26173@@ -15242,8 +16259,69 @@
    2303026174 fi
    2303126175 
    2303226176 fi
    2303326177-echo "$as_me:15245: result: $cf_cv_func_mkstemp" >&5
    23034 +echo "$as_me:16204: result: $cf_cv_func_mkstemp" >&5
     26178+echo "$as_me:16262: result: $cf_cv_func_mkstemp" >&5
    2303526179 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6
     26180+if test "x$cf_cv_func_mkstemp" = xmaybe ; then
     26181+       echo "$as_me:16265: checking for mkstemp" >&5
     26182+echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
     26183+if test "${ac_cv_func_mkstemp+set}" = set; then
     26184+  echo $ECHO_N "(cached) $ECHO_C" >&6
     26185+else
     26186+  cat >conftest.$ac_ext <<_ACEOF
     26187+#line 16271 "configure"
     26188+#include "confdefs.h"
     26189+/* System header to define __stub macros and hopefully few prototypes,
     26190+    which can conflict with char mkstemp (); below.  */
     26191+#include <assert.h>
     26192+/* Override any gcc2 internal prototype to avoid an error.  */
     26193+#ifdef __cplusplus
     26194+extern "C"
     26195+#endif
     26196+/* We use char because int might match the return type of a gcc2
     26197+   builtin and then its argument prototype would still apply.  */
     26198+char mkstemp ();
     26199+char (*f) ();
     26200+
     26201+int
     26202+main ()
     26203+{
     26204+/* The GNU C library defines this for functions which it implements
     26205+    to always fail with ENOSYS.  Some functions are actually named
     26206+    something starting with __ and the normal name is an alias.  */
     26207+#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
     26208+choke me
     26209+#else
     26210+f = mkstemp; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     26211+#endif
     26212+
     26213+  ;
     26214+  return 0;
     26215+}
     26216+_ACEOF
     26217+rm -f conftest.$ac_objext conftest$ac_exeext
     26218+if { (eval echo "$as_me:16302: \"$ac_link\"") >&5
     26219+  (eval $ac_link) 2>&5
     26220+  ac_status=$?
     26221+  echo "$as_me:16305: \$? = $ac_status" >&5
     26222+  (exit $ac_status); } &&
     26223+         { ac_try='test -s conftest$ac_exeext'
     26224+  { (eval echo "$as_me:16308: \"$ac_try\"") >&5
     26225+  (eval $ac_try) 2>&5
     26226+  ac_status=$?
     26227+  echo "$as_me:16311: \$? = $ac_status" >&5
     26228+  (exit $ac_status); }; }; then
     26229+  ac_cv_func_mkstemp=yes
     26230+else
     26231+  echo "$as_me: failed program was:" >&5
     26232+cat conftest.$ac_ext >&5
     26233+ac_cv_func_mkstemp=no
     26234+fi
     26235+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     26236+fi
     26237+echo "$as_me:16321: result: $ac_cv_func_mkstemp" >&5
     26238+echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
     26239+
     26240+fi
    2303626241 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then
    2303726242        cat >>confdefs.h <<\EOF
    23038 @@ -15260,21 +16219,21 @@
     26243 #define HAVE_MKSTEMP 1
     26244@@ -15260,21 +16338,21 @@
    2303926245 fi
    2304026246 
    2304126247 if test "$cross_compiling" = yes ; then
    2304226248-       { echo "$as_me:15263: WARNING: cross compiling: assume setvbuf params not reversed" >&5
    23043 +       { echo "$as_me:16222: WARNING: cross compiling: assume setvbuf params not reversed" >&5
     26249+       { echo "$as_me:16341: WARNING: cross compiling: assume setvbuf params not reversed" >&5
    2304426250 echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;}
    2304526251 else
    2304626252-       echo "$as_me:15266: checking whether setvbuf arguments are reversed" >&5
    23047 +       echo "$as_me:16225: checking whether setvbuf arguments are reversed" >&5
     26253+       echo "$as_me:16344: checking whether setvbuf arguments are reversed" >&5
    2304826254 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
    2304926255 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
     
    2305226258   if test "$cross_compiling" = yes; then
    2305326259-  { { echo "$as_me:15272: error: cannot run test program while cross compiling" >&5
    23054 +  { { echo "$as_me:16231: error: cannot run test program while cross compiling" >&5
     26260+  { { echo "$as_me:16350: error: cannot run test program while cross compiling" >&5
    2305526261 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    2305626262    { (exit 1); exit 1; }; }
     
    2305826264   cat >conftest.$ac_ext <<_ACEOF
    2305926265-#line 15277 "configure"
    23060 +#line 16236 "configure"
     26266+#line 16355 "configure"
    2306126267 #include "confdefs.h"
    2306226268 #include <stdio.h>
    2306326269 /* If setvbuf has the reversed format, exit 0. */
    23064 @@ -15291,15 +16250,15 @@
     26270@@ -15291,15 +16369,15 @@
    2306526271 }
    2306626272 _ACEOF
    2306726273 rm -f conftest$ac_exeext
    2306826274-if { (eval echo "$as_me:15294: \"$ac_link\"") >&5
    23069 +if { (eval echo "$as_me:16253: \"$ac_link\"") >&5
     26275+if { (eval echo "$as_me:16372: \"$ac_link\"") >&5
    2307026276   (eval $ac_link) 2>&5
    2307126277   ac_status=$?
    2307226278-  echo "$as_me:15297: \$? = $ac_status" >&5
    23073 +  echo "$as_me:16256: \$? = $ac_status" >&5
     26279+  echo "$as_me:16375: \$? = $ac_status" >&5
    2307426280   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2307526281-  { (eval echo "$as_me:15299: \"$ac_try\"") >&5
    23076 +  { (eval echo "$as_me:16258: \"$ac_try\"") >&5
     26282+  { (eval echo "$as_me:16377: \"$ac_try\"") >&5
    2307726283   (eval $ac_try) 2>&5
    2307826284   ac_status=$?
    2307926285-  echo "$as_me:15302: \$? = $ac_status" >&5
    23080 +  echo "$as_me:16261: \$? = $ac_status" >&5
     26286+  echo "$as_me:16380: \$? = $ac_status" >&5
    2308126287   (exit $ac_status); }; }; then
    2308226288   ac_cv_func_setvbuf_reversed=yes
    2308326289 else
    23084 @@ -15312,7 +16271,7 @@
     26290@@ -15312,7 +16390,7 @@
    2308526291 fi
    2308626292 rm -f core core.* *.core
    2308726293 fi
    2308826294-echo "$as_me:15315: result: $ac_cv_func_setvbuf_reversed" >&5
    23089 +echo "$as_me:16274: result: $ac_cv_func_setvbuf_reversed" >&5
     26295+echo "$as_me:16393: result: $ac_cv_func_setvbuf_reversed" >&5
    2309026296 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
    2309126297 if test $ac_cv_func_setvbuf_reversed = yes; then
    2309226298 
    23093 @@ -15323,13 +16282,13 @@
     26299@@ -15323,13 +16401,13 @@
    2309426300 fi
    2309526301 
    2309626302 fi
    2309726303-echo "$as_me:15326: checking return type of signal handlers" >&5
    23098 +echo "$as_me:16285: checking return type of signal handlers" >&5
     26304+echo "$as_me:16404: checking return type of signal handlers" >&5
    2309926305 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    2310026306 if test "${ac_cv_type_signal+set}" = set; then
     
    2310326309   cat >conftest.$ac_ext <<_ACEOF
    2310426310-#line 15332 "configure"
    23105 +#line 16291 "configure"
     26311+#line 16410 "configure"
    2310626312 #include "confdefs.h"
    2310726313 #include <sys/types.h>
    2310826314 #include <signal.h>
    23109 @@ -15351,16 +16310,16 @@
     26315@@ -15351,16 +16429,16 @@
    2311026316 }
    2311126317 _ACEOF
    2311226318 rm -f conftest.$ac_objext
    2311326319-if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5
    23114 +if { (eval echo "$as_me:16313: \"$ac_compile\"") >&5
     26320+if { (eval echo "$as_me:16432: \"$ac_compile\"") >&5
    2311526321   (eval $ac_compile) 2>&5
    2311626322   ac_status=$?
    2311726323-  echo "$as_me:15357: \$? = $ac_status" >&5
    23118 +  echo "$as_me:16316: \$? = $ac_status" >&5
     26324+  echo "$as_me:16435: \$? = $ac_status" >&5
    2311926325   (exit $ac_status); } &&
    2312026326          { ac_try='test -s conftest.$ac_objext'
    2312126327-  { (eval echo "$as_me:15360: \"$ac_try\"") >&5
    23122 +  { (eval echo "$as_me:16319: \"$ac_try\"") >&5
     26328+  { (eval echo "$as_me:16438: \"$ac_try\"") >&5
    2312326329   (eval $ac_try) 2>&5
    2312426330   ac_status=$?
    2312526331-  echo "$as_me:15363: \$? = $ac_status" >&5
    23126 +  echo "$as_me:16322: \$? = $ac_status" >&5
     26332+  echo "$as_me:16441: \$? = $ac_status" >&5
    2312726333   (exit $ac_status); }; }; then
    2312826334   ac_cv_type_signal=void
    2312926335 else
    23130 @@ -15370,21 +16329,73 @@
     26336@@ -15370,21 +16448,73 @@
    2313126337 fi
    2313226338 rm -f conftest.$ac_objext conftest.$ac_ext
    2313326339 fi
    2313426340-echo "$as_me:15373: result: $ac_cv_type_signal" >&5
    23135 +echo "$as_me:16332: result: $ac_cv_type_signal" >&5
     26341+echo "$as_me:16451: result: $ac_cv_type_signal" >&5
    2313626342 echo "${ECHO_T}$ac_cv_type_signal" >&6
    2313726343 
     
    2314126347 
    2314226348-echo "$as_me:15380: checking for type sigaction_t" >&5
    23143 +echo "$as_me:16339: checking for intptr_t" >&5
     26349+echo "$as_me:16458: checking for intptr_t" >&5
    2314426350+echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
    2314526351+if test "${ac_cv_type_intptr_t+set}" = set; then
     
    2314726353+else
    2314826354+  cat >conftest.$ac_ext <<_ACEOF
    23149 +#line 16345 "configure"
     26355+#line 16464 "configure"
    2315026356+#include "confdefs.h"
    2315126357+$ac_includes_default
     
    2316226368+_ACEOF
    2316326369+rm -f conftest.$ac_objext
    23164 +if { (eval echo "$as_me:16360: \"$ac_compile\"") >&5
     26370+if { (eval echo "$as_me:16479: \"$ac_compile\"") >&5
    2316526371+  (eval $ac_compile) 2>&5
    2316626372+  ac_status=$?
    23167 +  echo "$as_me:16363: \$? = $ac_status" >&5
     26373+  echo "$as_me:16482: \$? = $ac_status" >&5
    2316826374+  (exit $ac_status); } &&
    2316926375+         { ac_try='test -s conftest.$ac_objext'
    23170 +  { (eval echo "$as_me:16366: \"$ac_try\"") >&5
     26376+  { (eval echo "$as_me:16485: \"$ac_try\"") >&5
    2317126377+  (eval $ac_try) 2>&5
    2317226378+  ac_status=$?
    23173 +  echo "$as_me:16369: \$? = $ac_status" >&5
     26379+  echo "$as_me:16488: \$? = $ac_status" >&5
    2317426380+  (exit $ac_status); }; }; then
    2317526381+  ac_cv_type_intptr_t=yes
     
    2318126387+rm -f conftest.$ac_objext conftest.$ac_ext
    2318226388+fi
    23183 +echo "$as_me:16379: result: $ac_cv_type_intptr_t" >&5
     26389+echo "$as_me:16498: result: $ac_cv_type_intptr_t" >&5
    2318426390+echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
    2318526391+if test $ac_cv_type_intptr_t = yes; then
     
    2319326399+fi
    2319426400+
    23195 +echo "$as_me:16391: checking for type sigaction_t" >&5
     26401+echo "$as_me:16510: checking for type sigaction_t" >&5
    2319626402 echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6
    2319726403 if test "${cf_cv_type_sigaction+set}" = set; then
     
    2320126407        cat >conftest.$ac_ext <<_ACEOF
    2320226408-#line 15387 "configure"
    23203 +#line 16398 "configure"
     26409+#line 16517 "configure"
    2320426410 #include "confdefs.h"
    2320526411 
    2320626412 #include <signal.h>
    23207 @@ -15397,16 +16408,16 @@
     26413@@ -15397,16 +16527,16 @@
    2320826414 }
    2320926415 _ACEOF
    2321026416 rm -f conftest.$ac_objext
    2321126417-if { (eval echo "$as_me:15400: \"$ac_compile\"") >&5
    23212 +if { (eval echo "$as_me:16411: \"$ac_compile\"") >&5
     26418+if { (eval echo "$as_me:16530: \"$ac_compile\"") >&5
    2321326419   (eval $ac_compile) 2>&5
    2321426420   ac_status=$?
    2321526421-  echo "$as_me:15403: \$? = $ac_status" >&5
    23216 +  echo "$as_me:16414: \$? = $ac_status" >&5
     26422+  echo "$as_me:16533: \$? = $ac_status" >&5
    2321726423   (exit $ac_status); } &&
    2321826424          { ac_try='test -s conftest.$ac_objext'
    2321926425-  { (eval echo "$as_me:15406: \"$ac_try\"") >&5
    23220 +  { (eval echo "$as_me:16417: \"$ac_try\"") >&5
     26426+  { (eval echo "$as_me:16536: \"$ac_try\"") >&5
    2322126427   (eval $ac_try) 2>&5
    2322226428   ac_status=$?
    2322326429-  echo "$as_me:15409: \$? = $ac_status" >&5
    23224 +  echo "$as_me:16420: \$? = $ac_status" >&5
     26430+  echo "$as_me:16539: \$? = $ac_status" >&5
    2322526431   (exit $ac_status); }; }; then
    2322626432   cf_cv_type_sigaction=yes
    2322726433 else
    23228 @@ -15417,13 +16428,13 @@
     26434@@ -15417,13 +16547,13 @@
    2322926435 rm -f conftest.$ac_objext conftest.$ac_ext
    2323026436 fi
    2323126437 
    2323226438-echo "$as_me:15420: result: $cf_cv_type_sigaction" >&5
    23233 +echo "$as_me:16431: result: $cf_cv_type_sigaction" >&5
     26439+echo "$as_me:16550: result: $cf_cv_type_sigaction" >&5
    2323426440 echo "${ECHO_T}$cf_cv_type_sigaction" >&6
    2323526441 test "$cf_cv_type_sigaction" = yes && cat >>confdefs.h <<\EOF
     
    2323826444 
    2323926445-echo "$as_me:15426: checking declaration of size-change" >&5
    23240 +echo "$as_me:16437: checking declaration of size-change" >&5
     26446+echo "$as_me:16556: checking declaration of size-change" >&5
    2324126447 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6
    2324226448 if test "${cf_cv_sizechange+set}" = set; then
    2324326449   echo $ECHO_N "(cached) $ECHO_C" >&6
    23244 @@ -15438,7 +16449,7 @@
     26450@@ -15438,7 +16568,7 @@
    2324526451     CPPFLAGS="$cf_save_CPPFLAGS"
    2324626452     test -n "$cf_opts" && CPPFLAGS="$CPPFLAGS -D$cf_opts"
    2324726453     cat >conftest.$ac_ext <<_ACEOF
    2324826454-#line 15441 "configure"
    23249 +#line 16452 "configure"
     26455+#line 16571 "configure"
    2325026456 #include "confdefs.h"
    2325126457 #include <sys/types.h>
    2325226458 #ifdef HAVE_TERMIOS_H
    23253 @@ -15482,16 +16493,16 @@
     26459@@ -15482,16 +16612,16 @@
    2325426460 }
    2325526461 _ACEOF
    2325626462 rm -f conftest.$ac_objext
    2325726463-if { (eval echo "$as_me:15485: \"$ac_compile\"") >&5
    23258 +if { (eval echo "$as_me:16496: \"$ac_compile\"") >&5
     26464+if { (eval echo "$as_me:16615: \"$ac_compile\"") >&5
    2325926465   (eval $ac_compile) 2>&5
    2326026466   ac_status=$?
    2326126467-  echo "$as_me:15488: \$? = $ac_status" >&5
    23262 +  echo "$as_me:16499: \$? = $ac_status" >&5
     26468+  echo "$as_me:16618: \$? = $ac_status" >&5
    2326326469   (exit $ac_status); } &&
    2326426470          { ac_try='test -s conftest.$ac_objext'
    2326526471-  { (eval echo "$as_me:15491: \"$ac_try\"") >&5
    23266 +  { (eval echo "$as_me:16502: \"$ac_try\"") >&5
     26472+  { (eval echo "$as_me:16621: \"$ac_try\"") >&5
    2326726473   (eval $ac_try) 2>&5
    2326826474   ac_status=$?
    2326926475-  echo "$as_me:15494: \$? = $ac_status" >&5
    23270 +  echo "$as_me:16505: \$? = $ac_status" >&5
     26476+  echo "$as_me:16624: \$? = $ac_status" >&5
    2327126477   (exit $ac_status); }; }; then
    2327226478   cf_cv_sizechange=yes
    2327326479 else
    23274 @@ -15510,7 +16521,7 @@
     26480@@ -15510,7 +16640,7 @@
    2327526481 done
    2327626482 
    2327726483 fi
    2327826484-echo "$as_me:15513: result: $cf_cv_sizechange" >&5
    23279 +echo "$as_me:16524: result: $cf_cv_sizechange" >&5
     26485+echo "$as_me:16643: result: $cf_cv_sizechange" >&5
    2328026486 echo "${ECHO_T}$cf_cv_sizechange" >&6
    2328126487 if test "$cf_cv_sizechange" != no ; then
    2328226488        cat >>confdefs.h <<\EOF
    23283 @@ -15527,13 +16538,13 @@
     26489@@ -15527,13 +16657,13 @@
    2328426490        esac
    2328526491 fi
    2328626492 
    2328726493-echo "$as_me:15530: checking for memmove" >&5
    23288 +echo "$as_me:16541: checking for memmove" >&5
     26494+echo "$as_me:16660: checking for memmove" >&5
    2328926495 echo $ECHO_N "checking for memmove... $ECHO_C" >&6
    2329026496 if test "${ac_cv_func_memmove+set}" = set; then
     
    2329326499   cat >conftest.$ac_ext <<_ACEOF
    2329426500-#line 15536 "configure"
    23295 +#line 16547 "configure"
     26501+#line 16666 "configure"
    2329626502 #include "confdefs.h"
    2329726503 /* System header to define __stub macros and hopefully few prototypes,
    2329826504     which can conflict with char memmove (); below.  */
    23299 @@ -15564,16 +16575,16 @@
     26505@@ -15556,7 +16686,7 @@
     26506 #if defined (__stub_memmove) || defined (__stub___memmove)
     26507 choke me
     26508 #else
     26509-f = memmove;
     26510+f = memmove; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     26511 #endif
     26512 
     26513   ;
     26514@@ -15564,16 +16694,16 @@
    2330026515 }
    2330126516 _ACEOF
    2330226517 rm -f conftest.$ac_objext conftest$ac_exeext
    2330326518-if { (eval echo "$as_me:15567: \"$ac_link\"") >&5
    23304 +if { (eval echo "$as_me:16578: \"$ac_link\"") >&5
     26519+if { (eval echo "$as_me:16697: \"$ac_link\"") >&5
    2330526520   (eval $ac_link) 2>&5
    2330626521   ac_status=$?
    2330726522-  echo "$as_me:15570: \$? = $ac_status" >&5
    23308 +  echo "$as_me:16581: \$? = $ac_status" >&5
     26523+  echo "$as_me:16700: \$? = $ac_status" >&5
    2330926524   (exit $ac_status); } &&
    2331026525          { ac_try='test -s conftest$ac_exeext'
    2331126526-  { (eval echo "$as_me:15573: \"$ac_try\"") >&5
    23312 +  { (eval echo "$as_me:16584: \"$ac_try\"") >&5
     26527+  { (eval echo "$as_me:16703: \"$ac_try\"") >&5
    2331326528   (eval $ac_try) 2>&5
    2331426529   ac_status=$?
    2331526530-  echo "$as_me:15576: \$? = $ac_status" >&5
    23316 +  echo "$as_me:16587: \$? = $ac_status" >&5
     26531+  echo "$as_me:16706: \$? = $ac_status" >&5
    2331726532   (exit $ac_status); }; }; then
    2331826533   ac_cv_func_memmove=yes
    2331926534 else
    23320 @@ -15583,19 +16594,19 @@
     26535@@ -15583,19 +16713,19 @@
    2332126536 fi
    2332226537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2332326538 fi
    2332426539-echo "$as_me:15586: result: $ac_cv_func_memmove" >&5
    23325 +echo "$as_me:16597: result: $ac_cv_func_memmove" >&5
     26540+echo "$as_me:16716: result: $ac_cv_func_memmove" >&5
    2332626541 echo "${ECHO_T}$ac_cv_func_memmove" >&6
    2332726542 if test $ac_cv_func_memmove = yes; then
     
    2333026545 
    2333126546-echo "$as_me:15592: checking for bcopy" >&5
    23332 +echo "$as_me:16603: checking for bcopy" >&5
     26547+echo "$as_me:16722: checking for bcopy" >&5
    2333326548 echo $ECHO_N "checking for bcopy... $ECHO_C" >&6
    2333426549 if test "${ac_cv_func_bcopy+set}" = set; then
     
    2333726552   cat >conftest.$ac_ext <<_ACEOF
    2333826553-#line 15598 "configure"
    23339 +#line 16609 "configure"
     26554+#line 16728 "configure"
    2334026555 #include "confdefs.h"
    2334126556 /* System header to define __stub macros and hopefully few prototypes,
    2334226557     which can conflict with char bcopy (); below.  */
    23343 @@ -15626,16 +16637,16 @@
     26558@@ -15618,7 +16748,7 @@
     26559 #if defined (__stub_bcopy) || defined (__stub___bcopy)
     26560 choke me
     26561 #else
     26562-f = bcopy;
     26563+f = bcopy; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     26564 #endif
     26565 
     26566   ;
     26567@@ -15626,16 +16756,16 @@
    2334426568 }
    2334526569 _ACEOF
    2334626570 rm -f conftest.$ac_objext conftest$ac_exeext
    2334726571-if { (eval echo "$as_me:15629: \"$ac_link\"") >&5
    23348 +if { (eval echo "$as_me:16640: \"$ac_link\"") >&5
     26572+if { (eval echo "$as_me:16759: \"$ac_link\"") >&5
    2334926573   (eval $ac_link) 2>&5
    2335026574   ac_status=$?
    2335126575-  echo "$as_me:15632: \$? = $ac_status" >&5
    23352 +  echo "$as_me:16643: \$? = $ac_status" >&5
     26576+  echo "$as_me:16762: \$? = $ac_status" >&5
    2335326577   (exit $ac_status); } &&
    2335426578          { ac_try='test -s conftest$ac_exeext'
    2335526579-  { (eval echo "$as_me:15635: \"$ac_try\"") >&5
    23356 +  { (eval echo "$as_me:16646: \"$ac_try\"") >&5
     26580+  { (eval echo "$as_me:16765: \"$ac_try\"") >&5
    2335726581   (eval $ac_try) 2>&5
    2335826582   ac_status=$?
    2335926583-  echo "$as_me:15638: \$? = $ac_status" >&5
    23360 +  echo "$as_me:16649: \$? = $ac_status" >&5
     26584+  echo "$as_me:16768: \$? = $ac_status" >&5
    2336126585   (exit $ac_status); }; }; then
    2336226586   ac_cv_func_bcopy=yes
    2336326587 else
    23364 @@ -15645,11 +16656,11 @@
     26588@@ -15645,11 +16775,11 @@
    2336526589 fi
    2336626590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2336726591 fi
    2336826592-echo "$as_me:15648: result: $ac_cv_func_bcopy" >&5
    23369 +echo "$as_me:16659: result: $ac_cv_func_bcopy" >&5
     26593+echo "$as_me:16778: result: $ac_cv_func_bcopy" >&5
    2337026594 echo "${ECHO_T}$ac_cv_func_bcopy" >&6
    2337126595 if test $ac_cv_func_bcopy = yes; then
    2337226596 
    2337326597-       echo "$as_me:15652: checking if bcopy does overlapping moves" >&5
    23374 +       echo "$as_me:16663: checking if bcopy does overlapping moves" >&5
     26598+       echo "$as_me:16782: checking if bcopy does overlapping moves" >&5
    2337526599 echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6
    2337626600 if test "${cf_cv_good_bcopy+set}" = set; then
    2337726601   echo $ECHO_N "(cached) $ECHO_C" >&6
    23378 @@ -15659,7 +16670,7 @@
     26602@@ -15659,7 +16789,7 @@
    2337926603   cf_cv_good_bcopy=unknown
    2338026604 else
    2338126605   cat >conftest.$ac_ext <<_ACEOF
    2338226606-#line 15662 "configure"
    23383 +#line 16673 "configure"
     26607+#line 16792 "configure"
    2338426608 #include "confdefs.h"
    2338526609 
    2338626610 int main() {
    23387 @@ -15673,15 +16684,15 @@
     26611@@ -15673,15 +16803,15 @@
    2338826612 
    2338926613 _ACEOF
    2339026614 rm -f conftest$ac_exeext
    2339126615-if { (eval echo "$as_me:15676: \"$ac_link\"") >&5
    23392 +if { (eval echo "$as_me:16687: \"$ac_link\"") >&5
     26616+if { (eval echo "$as_me:16806: \"$ac_link\"") >&5
    2339326617   (eval $ac_link) 2>&5
    2339426618   ac_status=$?
    2339526619-  echo "$as_me:15679: \$? = $ac_status" >&5
    23396 +  echo "$as_me:16690: \$? = $ac_status" >&5
     26620+  echo "$as_me:16809: \$? = $ac_status" >&5
    2339726621   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2339826622-  { (eval echo "$as_me:15681: \"$ac_try\"") >&5
    23399 +  { (eval echo "$as_me:16692: \"$ac_try\"") >&5
     26623+  { (eval echo "$as_me:16811: \"$ac_try\"") >&5
    2340026624   (eval $ac_try) 2>&5
    2340126625   ac_status=$?
    2340226626-  echo "$as_me:15684: \$? = $ac_status" >&5
    23403 +  echo "$as_me:16695: \$? = $ac_status" >&5
     26627+  echo "$as_me:16814: \$? = $ac_status" >&5
    2340426628   (exit $ac_status); }; }; then
    2340526629   cf_cv_good_bcopy=yes
    2340626630 else
    23407 @@ -15694,7 +16705,7 @@
     26631@@ -15694,7 +16824,7 @@
    2340826632 fi
    2340926633 
    2341026634 fi
    2341126635-echo "$as_me:15697: result: $cf_cv_good_bcopy" >&5
    23412 +echo "$as_me:16708: result: $cf_cv_good_bcopy" >&5
     26636+echo "$as_me:16827: result: $cf_cv_good_bcopy" >&5
    2341326637 echo "${ECHO_T}$cf_cv_good_bcopy" >&6
    2341426638 
    2341526639 else
    23416 @@ -15715,7 +16726,7 @@
     26640@@ -15715,7 +16845,7 @@
    2341726641 
    2341826642 fi
    2341926643 
    2342026644-echo "$as_me:15718: checking if poll really works" >&5
    23421 +echo "$as_me:16729: checking if poll really works" >&5
     26645+echo "$as_me:16848: checking if poll really works" >&5
    2342226646 echo $ECHO_N "checking if poll really works... $ECHO_C" >&6
    2342326647 if test "${cf_cv_working_poll+set}" = set; then
    2342426648   echo $ECHO_N "(cached) $ECHO_C" >&6
    23425 @@ -15725,7 +16736,7 @@
     26649@@ -15725,10 +16855,13 @@
    2342626650   cf_cv_working_poll=unknown
    2342726651 else
    2342826652   cat >conftest.$ac_ext <<_ACEOF
    2342926653-#line 15728 "configure"
    23430 +#line 16739 "configure"
     26654+#line 16858 "configure"
    2343126655 #include "confdefs.h"
    2343226656 
     26657+#include <stdlib.h>
    2343326658 #include <stdio.h>
    23434 @@ -15746,15 +16757,15 @@
     26659+#include <unistd.h>
     26660+#include <fcntl.h>
     26661 #ifdef HAVE_POLL_H
     26662 #include <poll.h>
     26663 #else
     26664@@ -15738,23 +16871,46 @@
     26665        struct pollfd myfds;
     26666        int ret;
     26667 
     26668-       myfds.fd = 0;
     26669+       /* check for Darwin bug with respect to "devices" */
     26670+       myfds.fd = open("/dev/null", 1);        /* O_WRONLY */
     26671+       if (myfds.fd < 0)
     26672+               myfds.fd = 0;
     26673        myfds.events = POLLIN;
     26674+       myfds.revents = 0;
     26675 
     26676        ret = poll(&myfds, 1, 100);
     26677-       ${cf_cv_main_return:-return}(ret != 0);
     26678+
     26679+       if (ret < 0 || (myfds.revents & POLLNVAL)) {
     26680+               ret = -1;
     26681+       } else {
     26682+               int fd = 0;
     26683+               if (!isatty(fd)) {
     26684+                       fd = open("/dev/tty", 2);       /* O_RDWR */
     26685+               }
     26686+
     26687+               if (fd >= 0) {
     26688+                       /* also check with standard input */
     26689+                       myfds.fd = fd;
     26690+                       myfds.events = POLLIN;
     26691+                       myfds.revents = 0;
     26692+                       ret = poll(&myfds, 1, 100);
     26693+               } else {
     26694+                       ret = -1;
     26695+               }
     26696+       }
     26697+       ${cf_cv_main_return:-return}(ret < 0);
    2343526698 }
    2343626699 _ACEOF
    2343726700 rm -f conftest$ac_exeext
    2343826701-if { (eval echo "$as_me:15749: \"$ac_link\"") >&5
    23439 +if { (eval echo "$as_me:16760: \"$ac_link\"") >&5
     26702+if { (eval echo "$as_me:16905: \"$ac_link\"") >&5
    2344026703   (eval $ac_link) 2>&5
    2344126704   ac_status=$?
    2344226705-  echo "$as_me:15752: \$? = $ac_status" >&5
    23443 +  echo "$as_me:16763: \$? = $ac_status" >&5
     26706+  echo "$as_me:16908: \$? = $ac_status" >&5
    2344426707   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2344526708-  { (eval echo "$as_me:15754: \"$ac_try\"") >&5
    23446 +  { (eval echo "$as_me:16765: \"$ac_try\"") >&5
     26709+  { (eval echo "$as_me:16910: \"$ac_try\"") >&5
    2344726710   (eval $ac_try) 2>&5
    2344826711   ac_status=$?
    2344926712-  echo "$as_me:15757: \$? = $ac_status" >&5
    23450 +  echo "$as_me:16768: \$? = $ac_status" >&5
     26713+  echo "$as_me:16913: \$? = $ac_status" >&5
    2345126714   (exit $ac_status); }; }; then
    2345226715   cf_cv_working_poll=yes
    2345326716 else
    23454 @@ -15766,20 +16777,20 @@
     26717@@ -15766,20 +16922,20 @@
    2345526718 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2345626719 fi
    2345726720 fi
    2345826721-echo "$as_me:15769: result: $cf_cv_working_poll" >&5
    23459 +echo "$as_me:16780: result: $cf_cv_working_poll" >&5
     26722+echo "$as_me:16925: result: $cf_cv_working_poll" >&5
    2346026723 echo "${ECHO_T}$cf_cv_working_poll" >&6
    2346126724 test "$cf_cv_working_poll" = "yes" && cat >>confdefs.h <<\EOF
     
    2346426727 
    2346526728-echo "$as_me:15775: checking for va_copy" >&5
    23466 +echo "$as_me:16786: checking for va_copy" >&5
     26729+echo "$as_me:16931: checking for va_copy" >&5
    2346726730 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
    2346826731 if test "${cf_cv_have_va_copy+set}" = set; then
     
    2347226735 cat >conftest.$ac_ext <<_ACEOF
    2347326736-#line 15782 "configure"
    23474 +#line 16793 "configure"
     26737+#line 16938 "configure"
    2347526738 #include "confdefs.h"
    2347626739 
    2347726740 #include <stdarg.h>
    23478 @@ -15796,16 +16807,16 @@
     26741@@ -15796,16 +16952,16 @@
    2347926742 }
    2348026743 _ACEOF
    2348126744 rm -f conftest.$ac_objext conftest$ac_exeext
    2348226745-if { (eval echo "$as_me:15799: \"$ac_link\"") >&5
    23483 +if { (eval echo "$as_me:16810: \"$ac_link\"") >&5
     26746+if { (eval echo "$as_me:16955: \"$ac_link\"") >&5
    2348426747   (eval $ac_link) 2>&5
    2348526748   ac_status=$?
    2348626749-  echo "$as_me:15802: \$? = $ac_status" >&5
    23487 +  echo "$as_me:16813: \$? = $ac_status" >&5
     26750+  echo "$as_me:16958: \$? = $ac_status" >&5
    2348826751   (exit $ac_status); } &&
    2348926752          { ac_try='test -s conftest$ac_exeext'
    2349026753-  { (eval echo "$as_me:15805: \"$ac_try\"") >&5
    23491 +  { (eval echo "$as_me:16816: \"$ac_try\"") >&5
     26754+  { (eval echo "$as_me:16961: \"$ac_try\"") >&5
    2349226755   (eval $ac_try) 2>&5
    2349326756   ac_status=$?
    2349426757-  echo "$as_me:15808: \$? = $ac_status" >&5
    23495 +  echo "$as_me:16819: \$? = $ac_status" >&5
     26758+  echo "$as_me:16964: \$? = $ac_status" >&5
    2349626759   (exit $ac_status); }; }; then
    2349726760   cf_cv_have_va_copy=yes
    2349826761 else
    23499 @@ -15815,21 +16826,21 @@
     26762@@ -15815,21 +16971,21 @@
    2350026763 fi
    2350126764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2350226765 fi
    2350326766-echo "$as_me:15818: result: $cf_cv_have_va_copy" >&5
    23504 +echo "$as_me:16829: result: $cf_cv_have_va_copy" >&5
     26767+echo "$as_me:16974: result: $cf_cv_have_va_copy" >&5
    2350526768 echo "${ECHO_T}$cf_cv_have_va_copy" >&6
    2350626769 
     
    2351026773 
    2351126774-echo "$as_me:15825: checking for __va_copy" >&5
    23512 +echo "$as_me:16836: checking for __va_copy" >&5
     26775+echo "$as_me:16981: checking for __va_copy" >&5
    2351326776 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
    2351426777 if test "${cf_cv_have___va_copy+set}" = set; then
     
    2351826781 cat >conftest.$ac_ext <<_ACEOF
    2351926782-#line 15832 "configure"
    23520 +#line 16843 "configure"
     26783+#line 16988 "configure"
    2352126784 #include "confdefs.h"
    2352226785 
    2352326786 #include <stdarg.h>
    23524 @@ -15846,16 +16857,16 @@
     26787@@ -15846,16 +17002,16 @@
    2352526788 }
    2352626789 _ACEOF
    2352726790 rm -f conftest.$ac_objext conftest$ac_exeext
    2352826791-if { (eval echo "$as_me:15849: \"$ac_link\"") >&5
    23529 +if { (eval echo "$as_me:16860: \"$ac_link\"") >&5
     26792+if { (eval echo "$as_me:17005: \"$ac_link\"") >&5
    2353026793   (eval $ac_link) 2>&5
    2353126794   ac_status=$?
    2353226795-  echo "$as_me:15852: \$? = $ac_status" >&5
    23533 +  echo "$as_me:16863: \$? = $ac_status" >&5
     26796+  echo "$as_me:17008: \$? = $ac_status" >&5
    2353426797   (exit $ac_status); } &&
    2353526798          { ac_try='test -s conftest$ac_exeext'
    2353626799-  { (eval echo "$as_me:15855: \"$ac_try\"") >&5
    23537 +  { (eval echo "$as_me:16866: \"$ac_try\"") >&5
     26800+  { (eval echo "$as_me:17011: \"$ac_try\"") >&5
    2353826801   (eval $ac_try) 2>&5
    2353926802   ac_status=$?
    2354026803-  echo "$as_me:15858: \$? = $ac_status" >&5
    23541 +  echo "$as_me:16869: \$? = $ac_status" >&5
     26804+  echo "$as_me:17014: \$? = $ac_status" >&5
    2354226805   (exit $ac_status); }; }; then
    2354326806   cf_cv_have___va_copy=yes
    2354426807 else
    23545 @@ -15865,20 +16876,20 @@
     26808@@ -15865,20 +17021,20 @@
    2354626809 fi
    2354726810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2354826811 fi
    2354926812-echo "$as_me:15868: result: $cf_cv_have___va_copy" >&5
    23550 +echo "$as_me:16879: result: $cf_cv_have___va_copy" >&5
     26813+echo "$as_me:17024: result: $cf_cv_have___va_copy" >&5
    2355126814 echo "${ECHO_T}$cf_cv_have___va_copy" >&6
    2355226815 
     
    2355626819 
    2355726820-echo "$as_me:15875: checking for pid_t" >&5
    23558 +echo "$as_me:16886: checking for pid_t" >&5
     26821+echo "$as_me:17031: checking for pid_t" >&5
    2355926822 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
    2356026823 if test "${ac_cv_type_pid_t+set}" = set; then
     
    2356326826   cat >conftest.$ac_ext <<_ACEOF
    2356426827-#line 15881 "configure"
    23565 +#line 16892 "configure"
     26828+#line 17037 "configure"
    2356626829 #include "confdefs.h"
    2356726830 $ac_includes_default
    2356826831 int
    23569 @@ -15893,16 +16904,16 @@
     26832@@ -15893,16 +17049,16 @@
    2357026833 }
    2357126834 _ACEOF
    2357226835 rm -f conftest.$ac_objext
    2357326836-if { (eval echo "$as_me:15896: \"$ac_compile\"") >&5
    23574 +if { (eval echo "$as_me:16907: \"$ac_compile\"") >&5
     26837+if { (eval echo "$as_me:17052: \"$ac_compile\"") >&5
    2357526838   (eval $ac_compile) 2>&5
    2357626839   ac_status=$?
    2357726840-  echo "$as_me:15899: \$? = $ac_status" >&5
    23578 +  echo "$as_me:16910: \$? = $ac_status" >&5
     26841+  echo "$as_me:17055: \$? = $ac_status" >&5
    2357926842   (exit $ac_status); } &&
    2358026843          { ac_try='test -s conftest.$ac_objext'
    2358126844-  { (eval echo "$as_me:15902: \"$ac_try\"") >&5
    23582 +  { (eval echo "$as_me:16913: \"$ac_try\"") >&5
     26845+  { (eval echo "$as_me:17058: \"$ac_try\"") >&5
    2358326846   (eval $ac_try) 2>&5
    2358426847   ac_status=$?
    2358526848-  echo "$as_me:15905: \$? = $ac_status" >&5
    23586 +  echo "$as_me:16916: \$? = $ac_status" >&5
     26849+  echo "$as_me:17061: \$? = $ac_status" >&5
    2358726850   (exit $ac_status); }; }; then
    2358826851   ac_cv_type_pid_t=yes
    2358926852 else
    23590 @@ -15912,7 +16923,7 @@
     26853@@ -15912,7 +17068,7 @@
    2359126854 fi
    2359226855 rm -f conftest.$ac_objext conftest.$ac_ext
    2359326856 fi
    2359426857-echo "$as_me:15915: result: $ac_cv_type_pid_t" >&5
    23595 +echo "$as_me:16926: result: $ac_cv_type_pid_t" >&5
     26858+echo "$as_me:17071: result: $ac_cv_type_pid_t" >&5
    2359626859 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
    2359726860 if test $ac_cv_type_pid_t = yes; then
    2359826861   :
    23599 @@ -15927,23 +16938,23 @@
     26862@@ -15927,23 +17083,23 @@
    2360026863 for ac_header in unistd.h vfork.h
    2360126864 do
    2360226865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2360326866-echo "$as_me:15930: checking for $ac_header" >&5
    23604 +echo "$as_me:16941: checking for $ac_header" >&5
     26867+echo "$as_me:17086: checking for $ac_header" >&5
    2360526868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2360626869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2360926872   cat >conftest.$ac_ext <<_ACEOF
    2361026873-#line 15936 "configure"
    23611 +#line 16947 "configure"
     26874+#line 17092 "configure"
    2361226875 #include "confdefs.h"
    2361326876 #include <$ac_header>
    2361426877 _ACEOF
    2361526878-if { (eval echo "$as_me:15940: \"$ac_cpp conftest.$ac_ext\"") >&5
    23616 +if { (eval echo "$as_me:16951: \"$ac_cpp conftest.$ac_ext\"") >&5
     26879+if { (eval echo "$as_me:17096: \"$ac_cpp conftest.$ac_ext\"") >&5
    2361726880   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2361826881   ac_status=$?
     
    2362126884   cat conftest.err >&5
    2362226885-  echo "$as_me:15946: \$? = $ac_status" >&5
    23623 +  echo "$as_me:16957: \$? = $ac_status" >&5
     26886+  echo "$as_me:17102: \$? = $ac_status" >&5
    2362426887   (exit $ac_status); } >/dev/null; then
    2362526888   if test -s conftest.err; then
    2362626889     ac_cpp_err=$ac_c_preproc_warn_flag
    23627 @@ -15962,7 +16973,7 @@
     26890@@ -15962,7 +17118,7 @@
    2362826891 fi
    2362926892 rm -f conftest.err conftest.$ac_ext
    2363026893 fi
    2363126894-echo "$as_me:15965: result: `eval echo '${'$as_ac_Header'}'`" >&5
    23632 +echo "$as_me:16976: result: `eval echo '${'$as_ac_Header'}'`" >&5
     26895+echo "$as_me:17121: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2363326896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2363426897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2363526898   cat >>confdefs.h <<EOF
    23636 @@ -15975,13 +16986,13 @@
     26899@@ -15975,13 +17131,13 @@
    2363726900 for ac_func in fork vfork
    2363826901 do
    2363926902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    2364026903-echo "$as_me:15978: checking for $ac_func" >&5
    23641 +echo "$as_me:16989: checking for $ac_func" >&5
     26904+echo "$as_me:17134: checking for $ac_func" >&5
    2364226905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    2364326906 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    2364626909   cat >conftest.$ac_ext <<_ACEOF
    2364726910-#line 15984 "configure"
    23648 +#line 16995 "configure"
     26911+#line 17140 "configure"
    2364926912 #include "confdefs.h"
    2365026913 /* System header to define __stub macros and hopefully few prototypes,
    2365126914     which can conflict with char $ac_func (); below.  */
    23652 @@ -16012,16 +17023,16 @@
     26915@@ -16004,7 +17160,7 @@
     26916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     26917 choke me
     26918 #else
     26919-f = $ac_func;
     26920+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     26921 #endif
     26922 
     26923   ;
     26924@@ -16012,16 +17168,16 @@
    2365326925 }
    2365426926 _ACEOF
    2365526927 rm -f conftest.$ac_objext conftest$ac_exeext
    2365626928-if { (eval echo "$as_me:16015: \"$ac_link\"") >&5
    23657 +if { (eval echo "$as_me:17026: \"$ac_link\"") >&5
     26929+if { (eval echo "$as_me:17171: \"$ac_link\"") >&5
    2365826930   (eval $ac_link) 2>&5
    2365926931   ac_status=$?
    2366026932-  echo "$as_me:16018: \$? = $ac_status" >&5
    23661 +  echo "$as_me:17029: \$? = $ac_status" >&5
     26933+  echo "$as_me:17174: \$? = $ac_status" >&5
    2366226934   (exit $ac_status); } &&
    2366326935          { ac_try='test -s conftest$ac_exeext'
    2366426936-  { (eval echo "$as_me:16021: \"$ac_try\"") >&5
    23665 +  { (eval echo "$as_me:17032: \"$ac_try\"") >&5
     26937+  { (eval echo "$as_me:17177: \"$ac_try\"") >&5
    2366626938   (eval $ac_try) 2>&5
    2366726939   ac_status=$?
    2366826940-  echo "$as_me:16024: \$? = $ac_status" >&5
    23669 +  echo "$as_me:17035: \$? = $ac_status" >&5
     26941+  echo "$as_me:17180: \$? = $ac_status" >&5
    2367026942   (exit $ac_status); }; }; then
    2367126943   eval "$as_ac_var=yes"
    2367226944 else
    23673 @@ -16031,7 +17042,7 @@
     26945@@ -16031,7 +17187,7 @@
    2367426946 fi
    2367526947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2367626948 fi
    2367726949-echo "$as_me:16034: result: `eval echo '${'$as_ac_var'}'`" >&5
    23678 +echo "$as_me:17045: result: `eval echo '${'$as_ac_var'}'`" >&5
     26950+echo "$as_me:17190: result: `eval echo '${'$as_ac_var'}'`" >&5
    2367926951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    2368026952 if test `eval echo '${'$as_ac_var'}'` = yes; then
    2368126953   cat >>confdefs.h <<EOF
    23682 @@ -16043,7 +17054,7 @@
     26954@@ -16043,7 +17199,7 @@
    2368326955 
    2368426956 ac_cv_func_fork_works=$ac_cv_func_fork
    2368526957 if test "x$ac_cv_func_fork" = xyes; then
    2368626958-  echo "$as_me:16046: checking for working fork" >&5
    23687 +  echo "$as_me:17057: checking for working fork" >&5
     26959+  echo "$as_me:17202: checking for working fork" >&5
    2368826960 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
    2368926961 if test "${ac_cv_func_fork_works+set}" = set; then
    2369026962   echo $ECHO_N "(cached) $ECHO_C" >&6
    23691 @@ -16066,15 +17077,15 @@
     26963@@ -16066,15 +17222,15 @@
    2369226964       }
    2369326965 _ACEOF
    2369426966 rm -f conftest$ac_exeext
    2369526967-if { (eval echo "$as_me:16069: \"$ac_link\"") >&5
    23696 +if { (eval echo "$as_me:17080: \"$ac_link\"") >&5
     26968+if { (eval echo "$as_me:17225: \"$ac_link\"") >&5
    2369726969   (eval $ac_link) 2>&5
    2369826970   ac_status=$?
    2369926971-  echo "$as_me:16072: \$? = $ac_status" >&5
    23700 +  echo "$as_me:17083: \$? = $ac_status" >&5
     26972+  echo "$as_me:17228: \$? = $ac_status" >&5
    2370126973   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2370226974-  { (eval echo "$as_me:16074: \"$ac_try\"") >&5
    23703 +  { (eval echo "$as_me:17085: \"$ac_try\"") >&5
     26975+  { (eval echo "$as_me:17230: \"$ac_try\"") >&5
    2370426976   (eval $ac_try) 2>&5
    2370526977   ac_status=$?
    2370626978-  echo "$as_me:16077: \$? = $ac_status" >&5
    23707 +  echo "$as_me:17088: \$? = $ac_status" >&5
     26979+  echo "$as_me:17233: \$? = $ac_status" >&5
    2370826980   (exit $ac_status); }; }; then
    2370926981   ac_cv_func_fork_works=yes
    2371026982 else
    23711 @@ -16086,7 +17097,7 @@
     26983@@ -16086,7 +17242,7 @@
    2371226984 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2371326985 fi
    2371426986 fi
    2371526987-echo "$as_me:16089: result: $ac_cv_func_fork_works" >&5
    23716 +echo "$as_me:17100: result: $ac_cv_func_fork_works" >&5
     26988+echo "$as_me:17245: result: $ac_cv_func_fork_works" >&5
    2371726989 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
    2371826990 
    2371926991 fi
    23720 @@ -16100,12 +17111,12 @@
     26992@@ -16100,12 +17256,12 @@
    2372126993       ac_cv_func_fork_works=yes
    2372226994       ;;
    2372326995   esac
    2372426996-  { echo "$as_me:16103: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
    23725 +  { echo "$as_me:17114: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
     26997+  { echo "$as_me:17259: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
    2372626998 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
    2372726999 fi
     
    2372927001 if test "x$ac_cv_func_vfork" = xyes; then
    2373027002-  echo "$as_me:16108: checking for working vfork" >&5
    23731 +  echo "$as_me:17119: checking for working vfork" >&5
     27003+  echo "$as_me:17264: checking for working vfork" >&5
    2373227004 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
    2373327005 if test "${ac_cv_func_vfork_works+set}" = set; then
    2373427006   echo $ECHO_N "(cached) $ECHO_C" >&6
    23735 @@ -16114,7 +17125,7 @@
     27007@@ -16114,7 +17270,7 @@
    2373627008   ac_cv_func_vfork_works=cross
    2373727009 else
    2373827010   cat >conftest.$ac_ext <<_ACEOF
    2373927011-#line 16117 "configure"
    23740 +#line 17128 "configure"
     27012+#line 17273 "configure"
    2374127013 #include "confdefs.h"
    2374227014 /* Thanks to Paul Eggert for this test.  */
    2374327015 #include <stdio.h>
    23744 @@ -16211,15 +17222,15 @@
     27016@@ -16211,15 +17367,15 @@
    2374527017 }
    2374627018 _ACEOF
    2374727019 rm -f conftest$ac_exeext
    2374827020-if { (eval echo "$as_me:16214: \"$ac_link\"") >&5
    23749 +if { (eval echo "$as_me:17225: \"$ac_link\"") >&5
     27021+if { (eval echo "$as_me:17370: \"$ac_link\"") >&5
    2375027022   (eval $ac_link) 2>&5
    2375127023   ac_status=$?
    2375227024-  echo "$as_me:16217: \$? = $ac_status" >&5
    23753 +  echo "$as_me:17228: \$? = $ac_status" >&5
     27025+  echo "$as_me:17373: \$? = $ac_status" >&5
    2375427026   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2375527027-  { (eval echo "$as_me:16219: \"$ac_try\"") >&5
    23756 +  { (eval echo "$as_me:17230: \"$ac_try\"") >&5
     27028+  { (eval echo "$as_me:17375: \"$ac_try\"") >&5
    2375727029   (eval $ac_try) 2>&5
    2375827030   ac_status=$?
    2375927031-  echo "$as_me:16222: \$? = $ac_status" >&5
    23760 +  echo "$as_me:17233: \$? = $ac_status" >&5
     27032+  echo "$as_me:17378: \$? = $ac_status" >&5
    2376127033   (exit $ac_status); }; }; then
    2376227034   ac_cv_func_vfork_works=yes
    2376327035 else
    23764 @@ -16231,13 +17242,13 @@
     27036@@ -16231,13 +17387,13 @@
    2376527037 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2376627038 fi
    2376727039 fi
    2376827040-echo "$as_me:16234: result: $ac_cv_func_vfork_works" >&5
    23769 +echo "$as_me:17245: result: $ac_cv_func_vfork_works" >&5
     27041+echo "$as_me:17390: result: $ac_cv_func_vfork_works" >&5
    2377027042 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
    2377127043 
     
    2377427046   ac_cv_func_vfork_works=ac_cv_func_vfork
    2377527047-  { echo "$as_me:16240: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
    23776 +  { echo "$as_me:17251: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
     27048+  { echo "$as_me:17396: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
    2377727049 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
    2377827050 fi
    2377927051 
    23780 @@ -16264,7 +17275,7 @@
     27052@@ -16264,7 +17420,7 @@
    2378127053 
    2378227054 # special check for test/ditto.c
    2378327055 
    2378427056-echo "$as_me:16267: checking for openpty in -lutil" >&5
    23785 +echo "$as_me:17278: checking for openpty in -lutil" >&5
     27057+echo "$as_me:17423: checking for openpty in -lutil" >&5
    2378627058 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
    2378727059 if test "${ac_cv_lib_util_openpty+set}" = set; then
    2378827060   echo $ECHO_N "(cached) $ECHO_C" >&6
    23789 @@ -16272,7 +17283,7 @@
     27061@@ -16272,7 +17428,7 @@
    2379027062   ac_check_lib_save_LIBS=$LIBS
    2379127063 LIBS="-lutil  $LIBS"
    2379227064 cat >conftest.$ac_ext <<_ACEOF
    2379327065-#line 16275 "configure"
    23794 +#line 17286 "configure"
     27066+#line 17431 "configure"
    2379527067 #include "confdefs.h"
    2379627068 
    2379727069 /* Override any gcc2 internal prototype to avoid an error.  */
    23798 @@ -16291,16 +17302,16 @@
     27070@@ -16291,16 +17447,16 @@
    2379927071 }
    2380027072 _ACEOF
    2380127073 rm -f conftest.$ac_objext conftest$ac_exeext
    2380227074-if { (eval echo "$as_me:16294: \"$ac_link\"") >&5
    23803 +if { (eval echo "$as_me:17305: \"$ac_link\"") >&5
     27075+if { (eval echo "$as_me:17450: \"$ac_link\"") >&5
    2380427076   (eval $ac_link) 2>&5
    2380527077   ac_status=$?
    2380627078-  echo "$as_me:16297: \$? = $ac_status" >&5
    23807 +  echo "$as_me:17308: \$? = $ac_status" >&5
     27079+  echo "$as_me:17453: \$? = $ac_status" >&5
    2380827080   (exit $ac_status); } &&
    2380927081          { ac_try='test -s conftest$ac_exeext'
    2381027082-  { (eval echo "$as_me:16300: \"$ac_try\"") >&5
    23811 +  { (eval echo "$as_me:17311: \"$ac_try\"") >&5
     27083+  { (eval echo "$as_me:17456: \"$ac_try\"") >&5
    2381227084   (eval $ac_try) 2>&5
    2381327085   ac_status=$?
    2381427086-  echo "$as_me:16303: \$? = $ac_status" >&5
    23815 +  echo "$as_me:17314: \$? = $ac_status" >&5
     27087+  echo "$as_me:17459: \$? = $ac_status" >&5
    2381627088   (exit $ac_status); }; }; then
    2381727089   ac_cv_lib_util_openpty=yes
    2381827090 else
    23819 @@ -16311,7 +17322,7 @@
     27091@@ -16311,7 +17467,7 @@
    2382027092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2382127093 LIBS=$ac_check_lib_save_LIBS
    2382227094 fi
    2382327095-echo "$as_me:16314: result: $ac_cv_lib_util_openpty" >&5
    23824 +echo "$as_me:17325: result: $ac_cv_lib_util_openpty" >&5
     27096+echo "$as_me:17470: result: $ac_cv_lib_util_openpty" >&5
    2382527097 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
    2382627098 if test $ac_cv_lib_util_openpty = yes; then
    2382727099   cf_cv_lib_util=yes
    23828 @@ -16319,7 +17330,7 @@
     27100@@ -16319,7 +17475,7 @@
    2382927101   cf_cv_lib_util=no
    2383027102 fi
    2383127103 
    2383227104-echo "$as_me:16322: checking for openpty header" >&5
    23833 +echo "$as_me:17333: checking for openpty header" >&5
     27105+echo "$as_me:17478: checking for openpty header" >&5
    2383427106 echo $ECHO_N "checking for openpty header... $ECHO_C" >&6
    2383527107 if test "${cf_cv_func_openpty+set}" = set; then
    2383627108   echo $ECHO_N "(cached) $ECHO_C" >&6
    23837 @@ -16330,7 +17341,7 @@
     27109@@ -16330,7 +17486,7 @@
    2383827110     for cf_header in pty.h libutil.h util.h
    2383927111     do
    2384027112     cat >conftest.$ac_ext <<_ACEOF
    2384127113-#line 16333 "configure"
    23842 +#line 17344 "configure"
     27114+#line 17489 "configure"
    2384327115 #include "confdefs.h"
    2384427116 
    2384527117 #include <$cf_header>
    23846 @@ -16347,16 +17358,16 @@
     27118@@ -16347,16 +17503,16 @@
    2384727119 }
    2384827120 _ACEOF
    2384927121 rm -f conftest.$ac_objext conftest$ac_exeext
    2385027122-if { (eval echo "$as_me:16350: \"$ac_link\"") >&5
    23851 +if { (eval echo "$as_me:17361: \"$ac_link\"") >&5
     27123+if { (eval echo "$as_me:17506: \"$ac_link\"") >&5
    2385227124   (eval $ac_link) 2>&5
    2385327125   ac_status=$?
    2385427126-  echo "$as_me:16353: \$? = $ac_status" >&5
    23855 +  echo "$as_me:17364: \$? = $ac_status" >&5
     27127+  echo "$as_me:17509: \$? = $ac_status" >&5
    2385627128   (exit $ac_status); } &&
    2385727129          { ac_try='test -s conftest$ac_exeext'
    2385827130-  { (eval echo "$as_me:16356: \"$ac_try\"") >&5
    23859 +  { (eval echo "$as_me:17367: \"$ac_try\"") >&5
     27131+  { (eval echo "$as_me:17512: \"$ac_try\"") >&5
    2386027132   (eval $ac_try) 2>&5
    2386127133   ac_status=$?
    2386227134-  echo "$as_me:16359: \$? = $ac_status" >&5
    23863 +  echo "$as_me:17370: \$? = $ac_status" >&5
     27135+  echo "$as_me:17515: \$? = $ac_status" >&5
    2386427136   (exit $ac_status); }; }; then
    2386527137 
    2386627138         cf_cv_func_openpty=$cf_header
    23867 @@ -16374,7 +17385,7 @@
     27139@@ -16374,7 +17530,7 @@
    2386827140     LIBS="$cf_save_LIBS"
    2386927141 
    2387027142 fi
    2387127143-echo "$as_me:16377: result: $cf_cv_func_openpty" >&5
    23872 +echo "$as_me:17388: result: $cf_cv_func_openpty" >&5
     27144+echo "$as_me:17533: result: $cf_cv_func_openpty" >&5
    2387327145 echo "${ECHO_T}$cf_cv_func_openpty" >&6
    2387427146 
    2387527147 if test "$cf_cv_func_openpty" != no ; then
    23876 @@ -16426,7 +17437,7 @@
     27148@@ -16426,7 +17582,7 @@
    2387727149                          cf_save_CPPFLAGS=$CPPFLAGS
    2387827150                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    2387927151                          cat >conftest.$ac_ext <<_ACEOF
    2388027152-#line 16429 "configure"
    23881 +#line 17440 "configure"
     27153+#line 17585 "configure"
    2388227154 #include "confdefs.h"
    2388327155 #include <stdio.h>
    2388427156 int
    23885 @@ -16438,16 +17449,16 @@
     27157@@ -16438,16 +17594,16 @@
    2388627158 }
    2388727159 _ACEOF
    2388827160 rm -f conftest.$ac_objext
    2388927161-if { (eval echo "$as_me:16441: \"$ac_compile\"") >&5
    23890 +if { (eval echo "$as_me:17452: \"$ac_compile\"") >&5
     27162+if { (eval echo "$as_me:17597: \"$ac_compile\"") >&5
    2389127163   (eval $ac_compile) 2>&5
    2389227164   ac_status=$?
    2389327165-  echo "$as_me:16444: \$? = $ac_status" >&5
    23894 +  echo "$as_me:17455: \$? = $ac_status" >&5
     27166+  echo "$as_me:17600: \$? = $ac_status" >&5
    2389527167   (exit $ac_status); } &&
    2389627168          { ac_try='test -s conftest.$ac_objext'
    2389727169-  { (eval echo "$as_me:16447: \"$ac_try\"") >&5
    23898 +  { (eval echo "$as_me:17458: \"$ac_try\"") >&5
     27170+  { (eval echo "$as_me:17603: \"$ac_try\"") >&5
    2389927171   (eval $ac_try) 2>&5
    2390027172   ac_status=$?
    2390127173-  echo "$as_me:16450: \$? = $ac_status" >&5
    23902 +  echo "$as_me:17461: \$? = $ac_status" >&5
     27174+  echo "$as_me:17606: \$? = $ac_status" >&5
    2390327175   (exit $ac_status); }; }; then
    2390427176   :
    2390527177 else
    23906 @@ -16464,7 +17475,7 @@
     27178@@ -16464,7 +17620,7 @@
    2390727179                if test "$cf_have_incdir" = no ; then
    2390827180                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    2390927181 
    2391027182-echo "${as_me:-configure}:16467: testing adding $cf_add_incdir to include-path ..." 1>&5
    23911 +echo "${as_me:-configure}:17478: testing adding $cf_add_incdir to include-path ..." 1>&5
     27183+echo "${as_me:-configure}:17623: testing adding $cf_add_incdir to include-path ..." 1>&5
    2391227184 
    2391327185                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    2391427186 
    23915 @@ -16498,7 +17509,7 @@
     27187@@ -16498,7 +17654,7 @@
    2391627188       if test "$cf_have_libdir" = no ; then
    2391727189         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    2391827190 
    2391927191-echo "${as_me:-configure}:16501: testing adding $cf_add_libdir to library-path ..." 1>&5
    23920 +echo "${as_me:-configure}:17512: testing adding $cf_add_libdir to library-path ..." 1>&5
     27192+echo "${as_me:-configure}:17657: testing adding $cf_add_libdir to library-path ..." 1>&5
    2392127193 
    2392227194         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    2392327195       fi
    23924 @@ -16509,23 +17520,23 @@
     27196@@ -16509,23 +17665,23 @@
    2392527197     fi
    2392627198 esac
    2392727199 
    2392827200-echo "$as_me:16512: checking for db.h" >&5
    23929 +echo "$as_me:17523: checking for db.h" >&5
     27201+echo "$as_me:17668: checking for db.h" >&5
    2393027202 echo $ECHO_N "checking for db.h... $ECHO_C" >&6
    2393127203 if test "${ac_cv_header_db_h+set}" = set; then
     
    2393427206   cat >conftest.$ac_ext <<_ACEOF
    2393527207-#line 16518 "configure"
    23936 +#line 17529 "configure"
     27208+#line 17674 "configure"
    2393727209 #include "confdefs.h"
    2393827210 #include <db.h>
    2393927211 _ACEOF
    2394027212-if { (eval echo "$as_me:16522: \"$ac_cpp conftest.$ac_ext\"") >&5
    23941 +if { (eval echo "$as_me:17533: \"$ac_cpp conftest.$ac_ext\"") >&5
     27213+if { (eval echo "$as_me:17678: \"$ac_cpp conftest.$ac_ext\"") >&5
    2394227214   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2394327215   ac_status=$?
     
    2394627218   cat conftest.err >&5
    2394727219-  echo "$as_me:16528: \$? = $ac_status" >&5
    23948 +  echo "$as_me:17539: \$? = $ac_status" >&5
     27220+  echo "$as_me:17684: \$? = $ac_status" >&5
    2394927221   (exit $ac_status); } >/dev/null; then
    2395027222   if test -s conftest.err; then
    2395127223     ac_cpp_err=$ac_c_preproc_warn_flag
    23952 @@ -16544,11 +17555,11 @@
     27224@@ -16544,11 +17700,11 @@
    2395327225 fi
    2395427226 rm -f conftest.err conftest.$ac_ext
    2395527227 fi
    2395627228-echo "$as_me:16547: result: $ac_cv_header_db_h" >&5
    23957 +echo "$as_me:17558: result: $ac_cv_header_db_h" >&5
     27229+echo "$as_me:17703: result: $ac_cv_header_db_h" >&5
    2395827230 echo "${ECHO_T}$ac_cv_header_db_h" >&6
    2395927231 if test $ac_cv_header_db_h = yes; then
    2396027232 
    2396127233-echo "$as_me:16551: checking for version of db" >&5
    23962 +echo "$as_me:17562: checking for version of db" >&5
     27234+echo "$as_me:17707: checking for version of db" >&5
    2396327235 echo $ECHO_N "checking for version of db... $ECHO_C" >&6
    2396427236 if test "${cf_cv_hashed_db_version+set}" = set; then
    2396527237   echo $ECHO_N "(cached) $ECHO_C" >&6
    23966 @@ -16559,10 +17570,10 @@
     27238@@ -16559,10 +17715,10 @@
    2396727239 for cf_db_version in 1 2 3 4 5
    2396827240 do
    2396927241 
    2397027242-echo "${as_me:-configure}:16562: testing checking for db version $cf_db_version ..." 1>&5
    23971 +echo "${as_me:-configure}:17573: testing checking for db version $cf_db_version ..." 1>&5
     27243+echo "${as_me:-configure}:17718: testing checking for db version $cf_db_version ..." 1>&5
    2397227244 
    2397327245        cat >conftest.$ac_ext <<_ACEOF
    2397427246-#line 16565 "configure"
    23975 +#line 17576 "configure"
     27247+#line 17721 "configure"
    2397627248 #include "confdefs.h"
    2397727249 
    2397827250 $ac_includes_default
    23979 @@ -16592,16 +17603,16 @@
     27251@@ -16592,16 +17748,16 @@
    2398027252 }
    2398127253 _ACEOF
    2398227254 rm -f conftest.$ac_objext
    2398327255-if { (eval echo "$as_me:16595: \"$ac_compile\"") >&5
    23984 +if { (eval echo "$as_me:17606: \"$ac_compile\"") >&5
     27256+if { (eval echo "$as_me:17751: \"$ac_compile\"") >&5
    2398527257   (eval $ac_compile) 2>&5
    2398627258   ac_status=$?
    2398727259-  echo "$as_me:16598: \$? = $ac_status" >&5
    23988 +  echo "$as_me:17609: \$? = $ac_status" >&5
     27260+  echo "$as_me:17754: \$? = $ac_status" >&5
    2398927261   (exit $ac_status); } &&
    2399027262          { ac_try='test -s conftest.$ac_objext'
    2399127263-  { (eval echo "$as_me:16601: \"$ac_try\"") >&5
    23992 +  { (eval echo "$as_me:17612: \"$ac_try\"") >&5
     27264+  { (eval echo "$as_me:17757: \"$ac_try\"") >&5
    2399327265   (eval $ac_try) 2>&5
    2399427266   ac_status=$?
    2399527267-  echo "$as_me:16604: \$? = $ac_status" >&5
    23996 +  echo "$as_me:17615: \$? = $ac_status" >&5
     27268+  echo "$as_me:17760: \$? = $ac_status" >&5
    2399727269   (exit $ac_status); }; }; then
    2399827270 
    2399927271        cf_cv_hashed_db_version=$cf_db_version
    24000 @@ -16615,16 +17626,16 @@
     27272@@ -16615,16 +17771,16 @@
    2400127273 done
    2400227274 
    2400327275 fi
    2400427276-echo "$as_me:16618: result: $cf_cv_hashed_db_version" >&5
    24005 +echo "$as_me:17629: result: $cf_cv_hashed_db_version" >&5
     27277+echo "$as_me:17774: result: $cf_cv_hashed_db_version" >&5
    2400627278 echo "${ECHO_T}$cf_cv_hashed_db_version" >&6
    2400727279 
    2400827280 if test "$cf_cv_hashed_db_version" = unknown ; then
    2400927281-       { { echo "$as_me:16622: error: Cannot determine version of db" >&5
    24010 +       { { echo "$as_me:17633: error: Cannot determine version of db" >&5
     27282+       { { echo "$as_me:17778: error: Cannot determine version of db" >&5
    2401127283 echo "$as_me: error: Cannot determine version of db" >&2;}
    2401227284    { (exit 1); exit 1; }; }
     
    2401427286 
    2401527287-echo "$as_me:16627: checking for db libraries" >&5
    24016 +echo "$as_me:17638: checking for db libraries" >&5
     27288+echo "$as_me:17783: checking for db libraries" >&5
    2401727289 echo $ECHO_N "checking for db libraries... $ECHO_C" >&6
    2401827290 if test "${cf_cv_hashed_db_libs+set}" = set; then
    2401927291   echo $ECHO_N "(cached) $ECHO_C" >&6
    24020 @@ -16638,10 +17649,10 @@
     27292@@ -16638,10 +17794,10 @@
    2402127293                LIBS="-l$cf_db_libs $LIBS"
    2402227294        fi
    2402327295 
    2402427296-echo "${as_me:-configure}:16641: testing checking for library "$cf_db_libs" ..." 1>&5
    24025 +echo "${as_me:-configure}:17652: testing checking for library "$cf_db_libs" ..." 1>&5
     27297+echo "${as_me:-configure}:17797: testing checking for library "$cf_db_libs" ..." 1>&5
    2402627298 
    2402727299        cat >conftest.$ac_ext <<_ACEOF
    2402827300-#line 16644 "configure"
    24029 +#line 17655 "configure"
     27301+#line 17800 "configure"
    2403027302 #include "confdefs.h"
    2403127303 
    2403227304 $ac_includes_default
    24033 @@ -16696,16 +17707,16 @@
     27305@@ -16696,16 +17852,16 @@
    2403427306 }
    2403527307 _ACEOF
    2403627308 rm -f conftest.$ac_objext conftest$ac_exeext
    2403727309-if { (eval echo "$as_me:16699: \"$ac_link\"") >&5
    24038 +if { (eval echo "$as_me:17710: \"$ac_link\"") >&5
     27310+if { (eval echo "$as_me:17855: \"$ac_link\"") >&5
    2403927311   (eval $ac_link) 2>&5
    2404027312   ac_status=$?
    2404127313-  echo "$as_me:16702: \$? = $ac_status" >&5
    24042 +  echo "$as_me:17713: \$? = $ac_status" >&5
     27314+  echo "$as_me:17858: \$? = $ac_status" >&5
    2404327315   (exit $ac_status); } &&
    2404427316          { ac_try='test -s conftest$ac_exeext'
    2404527317-  { (eval echo "$as_me:16705: \"$ac_try\"") >&5
    24046 +  { (eval echo "$as_me:17716: \"$ac_try\"") >&5
     27318+  { (eval echo "$as_me:17861: \"$ac_try\"") >&5
    2404727319   (eval $ac_try) 2>&5
    2404827320   ac_status=$?
    2404927321-  echo "$as_me:16708: \$? = $ac_status" >&5
    24050 +  echo "$as_me:17719: \$? = $ac_status" >&5
     27322+  echo "$as_me:17864: \$? = $ac_status" >&5
    2405127323   (exit $ac_status); }; }; then
    2405227324 
    2405327325        if test -n "$cf_db_libs" ; then
    24054 @@ -16725,11 +17736,11 @@
     27326@@ -16725,11 +17881,11 @@
    2405527327 done
    2405627328 
    2405727329 fi
    2405827330-echo "$as_me:16728: result: $cf_cv_hashed_db_libs" >&5
    24059 +echo "$as_me:17739: result: $cf_cv_hashed_db_libs" >&5
     27331+echo "$as_me:17884: result: $cf_cv_hashed_db_libs" >&5
    2406027332 echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6
    2406127333 
    2406227334        if test "$cf_cv_hashed_db_libs" = unknown ; then
    2406327335-               { { echo "$as_me:16732: error: Cannot determine library for db" >&5
    24064 +               { { echo "$as_me:17743: error: Cannot determine library for db" >&5
     27336+               { { echo "$as_me:17888: error: Cannot determine library for db" >&5
    2406527337 echo "$as_me: error: Cannot determine library for db" >&2;}
    2406627338    { (exit 1); exit 1; }; }
    2406727339        elif test "$cf_cv_hashed_db_libs" != default ; then
    24068 @@ -16739,7 +17750,7 @@
     27340@@ -16739,7 +17895,7 @@
    2406927341 
    2407027342 else
    2407127343 
    2407227344-       { { echo "$as_me:16742: error: Cannot find db.h" >&5
    24073 +       { { echo "$as_me:17753: error: Cannot find db.h" >&5
     27345+       { { echo "$as_me:17898: error: Cannot find db.h" >&5
    2407427346 echo "$as_me: error: Cannot find db.h" >&2;}
    2407527347    { (exit 1); exit 1; }; }
    2407627348 
    24077 @@ -16754,7 +17765,7 @@
     27349@@ -16754,7 +17910,7 @@
    2407827350 
    2407927351 # Just in case, check if the C compiler has a bool type.
    2408027352 
    2408127353-echo "$as_me:16757: checking if we should include stdbool.h" >&5
    24082 +echo "$as_me:17768: checking if we should include stdbool.h" >&5
     27354+echo "$as_me:17913: checking if we should include stdbool.h" >&5
    2408327355 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6
    2408427356 
    2408527357 if test "${cf_cv_header_stdbool_h+set}" = set; then
    24086 @@ -16762,7 +17773,7 @@
     27358@@ -16762,7 +17918,7 @@
    2408727359 else
    2408827360 
    2408927361        cat >conftest.$ac_ext <<_ACEOF
    2409027362-#line 16765 "configure"
    24091 +#line 17776 "configure"
     27363+#line 17921 "configure"
    2409227364 #include "confdefs.h"
    2409327365 
    2409427366 int
    24095 @@ -16774,23 +17785,23 @@
     27367@@ -16774,23 +17930,23 @@
    2409627368 }
    2409727369 _ACEOF
    2409827370 rm -f conftest.$ac_objext
    2409927371-if { (eval echo "$as_me:16777: \"$ac_compile\"") >&5
    24100 +if { (eval echo "$as_me:17788: \"$ac_compile\"") >&5
     27372+if { (eval echo "$as_me:17933: \"$ac_compile\"") >&5
    2410127373   (eval $ac_compile) 2>&5
    2410227374   ac_status=$?
    2410327375-  echo "$as_me:16780: \$? = $ac_status" >&5
    24104 +  echo "$as_me:17791: \$? = $ac_status" >&5
     27376+  echo "$as_me:17936: \$? = $ac_status" >&5
    2410527377   (exit $ac_status); } &&
    2410627378          { ac_try='test -s conftest.$ac_objext'
    2410727379-  { (eval echo "$as_me:16783: \"$ac_try\"") >&5
    24108 +  { (eval echo "$as_me:17794: \"$ac_try\"") >&5
     27380+  { (eval echo "$as_me:17939: \"$ac_try\"") >&5
    2410927381   (eval $ac_try) 2>&5
    2411027382   ac_status=$?
    2411127383-  echo "$as_me:16786: \$? = $ac_status" >&5
    24112 +  echo "$as_me:17797: \$? = $ac_status" >&5
     27384+  echo "$as_me:17942: \$? = $ac_status" >&5
    2411327385   (exit $ac_status); }; }; then
    2411427386   cf_cv_header_stdbool_h=0
     
    2411827390 cat >conftest.$ac_ext <<_ACEOF
    2411927391-#line 16793 "configure"
    24120 +#line 17804 "configure"
     27392+#line 17949 "configure"
    2412127393 #include "confdefs.h"
    2412227394 
    2412327395 #ifndef __BEOS__
    24124 @@ -16806,16 +17817,16 @@
     27396@@ -16806,16 +17962,16 @@
    2412527397 }
    2412627398 _ACEOF
    2412727399 rm -f conftest.$ac_objext
    2412827400-if { (eval echo "$as_me:16809: \"$ac_compile\"") >&5
    24129 +if { (eval echo "$as_me:17820: \"$ac_compile\"") >&5
     27401+if { (eval echo "$as_me:17965: \"$ac_compile\"") >&5
    2413027402   (eval $ac_compile) 2>&5
    2413127403   ac_status=$?
    2413227404-  echo "$as_me:16812: \$? = $ac_status" >&5
    24133 +  echo "$as_me:17823: \$? = $ac_status" >&5
     27405+  echo "$as_me:17968: \$? = $ac_status" >&5
    2413427406   (exit $ac_status); } &&
    2413527407          { ac_try='test -s conftest.$ac_objext'
    2413627408-  { (eval echo "$as_me:16815: \"$ac_try\"") >&5
    24137 +  { (eval echo "$as_me:17826: \"$ac_try\"") >&5
     27409+  { (eval echo "$as_me:17971: \"$ac_try\"") >&5
    2413827410   (eval $ac_try) 2>&5
    2413927411   ac_status=$?
    2414027412-  echo "$as_me:16818: \$? = $ac_status" >&5
    24141 +  echo "$as_me:17829: \$? = $ac_status" >&5
     27413+  echo "$as_me:17974: \$? = $ac_status" >&5
    2414227414   (exit $ac_status); }; }; then
    2414327415   cf_cv_header_stdbool_h=1
    2414427416 else
    24145 @@ -16829,13 +17840,13 @@
     27417@@ -16829,13 +17985,13 @@
    2414627418 fi
    2414727419 
    2414827420 if test "$cf_cv_header_stdbool_h" = 1
    2414927421-then   echo "$as_me:16832: result: yes" >&5
    24150 +then   echo "$as_me:17843: result: yes" >&5
     27422+then   echo "$as_me:17988: result: yes" >&5
    2415127423 echo "${ECHO_T}yes" >&6
    2415227424-else   echo "$as_me:16834: result: no" >&5
    24153 +else   echo "$as_me:17845: result: no" >&5
     27425+else   echo "$as_me:17990: result: no" >&5
    2415427426 echo "${ECHO_T}no" >&6
    2415527427 fi
    2415627428 
    2415727429-echo "$as_me:16838: checking for builtin bool type" >&5
    24158 +echo "$as_me:17849: checking for builtin bool type" >&5
     27430+echo "$as_me:17994: checking for builtin bool type" >&5
    2415927431 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6
    2416027432 
    2416127433 if test "${cf_cv_cc_bool_type+set}" = set; then
    24162 @@ -16843,7 +17854,7 @@
     27434@@ -16843,7 +17999,7 @@
    2416327435 else
    2416427436 
    2416527437        cat >conftest.$ac_ext <<_ACEOF
    2416627438-#line 16846 "configure"
    24167 +#line 17857 "configure"
     27439+#line 18002 "configure"
    2416827440 #include "confdefs.h"
    2416927441 
    2417027442 #include <stdio.h>
    24171 @@ -16858,16 +17869,16 @@
     27443@@ -16858,16 +18014,16 @@
    2417227444 }
    2417327445 _ACEOF
    2417427446 rm -f conftest.$ac_objext
    2417527447-if { (eval echo "$as_me:16861: \"$ac_compile\"") >&5
    24176 +if { (eval echo "$as_me:17872: \"$ac_compile\"") >&5
     27448+if { (eval echo "$as_me:18017: \"$ac_compile\"") >&5
    2417727449   (eval $ac_compile) 2>&5
    2417827450   ac_status=$?
    2417927451-  echo "$as_me:16864: \$? = $ac_status" >&5
    24180 +  echo "$as_me:17875: \$? = $ac_status" >&5
     27452+  echo "$as_me:18020: \$? = $ac_status" >&5
    2418127453   (exit $ac_status); } &&
    2418227454          { ac_try='test -s conftest.$ac_objext'
    2418327455-  { (eval echo "$as_me:16867: \"$ac_try\"") >&5
    24184 +  { (eval echo "$as_me:17878: \"$ac_try\"") >&5
     27456+  { (eval echo "$as_me:18023: \"$ac_try\"") >&5
    2418527457   (eval $ac_try) 2>&5
    2418627458   ac_status=$?
    2418727459-  echo "$as_me:16870: \$? = $ac_status" >&5
    24188 +  echo "$as_me:17881: \$? = $ac_status" >&5
     27460+  echo "$as_me:18026: \$? = $ac_status" >&5
    2418927461   (exit $ac_status); }; }; then
    2419027462   cf_cv_cc_bool_type=1
    2419127463 else
    24192 @@ -16880,9 +17891,9 @@
     27464@@ -16880,9 +18036,9 @@
    2419327465 fi
    2419427466 
    2419527467 if test "$cf_cv_cc_bool_type" = 1
    2419627468-then   echo "$as_me:16883: result: yes" >&5
    24197 +then   echo "$as_me:17894: result: yes" >&5
     27469+then   echo "$as_me:18039: result: yes" >&5
    2419827470 echo "${ECHO_T}yes" >&6
    2419927471-else   echo "$as_me:16885: result: no" >&5
    24200 +else   echo "$as_me:17896: result: no" >&5
     27472+else   echo "$as_me:18041: result: no" >&5
    2420127473 echo "${ECHO_T}no" >&6
    2420227474 fi
    2420327475 
    24204 @@ -16904,7 +17915,7 @@
     27476@@ -16904,7 +18060,7 @@
    2420527477        cf_stdcpp_libname=stdc++
    2420627478        ;;
    2420727479 esac
    2420827480-echo "$as_me:16907: checking for library $cf_stdcpp_libname" >&5
    24209 +echo "$as_me:17918: checking for library $cf_stdcpp_libname" >&5
     27481+echo "$as_me:18063: checking for library $cf_stdcpp_libname" >&5
    2421027482 echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6
    2421127483 if test "${cf_cv_libstdcpp+set}" = set; then
    2421227484   echo $ECHO_N "(cached) $ECHO_C" >&6
    24213 @@ -16913,7 +17924,7 @@
     27485@@ -16913,7 +18069,7 @@
    2421427486        cf_save="$LIBS"
    2421527487        LIBS="-l$cf_stdcpp_libname $LIBS"
    2421627488 cat >conftest.$ac_ext <<_ACEOF
    2421727489-#line 16916 "configure"
    24218 +#line 17927 "configure"
     27490+#line 18072 "configure"
    2421927491 #include "confdefs.h"
    2422027492 
    2422127493 #include <strstream.h>
    24222 @@ -16929,16 +17940,16 @@
     27494@@ -16929,16 +18085,16 @@
    2422327495 }
    2422427496 _ACEOF
    2422527497 rm -f conftest.$ac_objext conftest$ac_exeext
    2422627498-if { (eval echo "$as_me:16932: \"$ac_link\"") >&5
    24227 +if { (eval echo "$as_me:17943: \"$ac_link\"") >&5
     27499+if { (eval echo "$as_me:18088: \"$ac_link\"") >&5
    2422827500   (eval $ac_link) 2>&5
    2422927501   ac_status=$?
    2423027502-  echo "$as_me:16935: \$? = $ac_status" >&5
    24231 +  echo "$as_me:17946: \$? = $ac_status" >&5
     27503+  echo "$as_me:18091: \$? = $ac_status" >&5
    2423227504   (exit $ac_status); } &&
    2423327505          { ac_try='test -s conftest$ac_exeext'
    2423427506-  { (eval echo "$as_me:16938: \"$ac_try\"") >&5
    24235 +  { (eval echo "$as_me:17949: \"$ac_try\"") >&5
     27507+  { (eval echo "$as_me:18094: \"$ac_try\"") >&5
    2423627508   (eval $ac_try) 2>&5
    2423727509   ac_status=$?
    2423827510-  echo "$as_me:16941: \$? = $ac_status" >&5
    24239 +  echo "$as_me:17952: \$? = $ac_status" >&5
     27511+  echo "$as_me:18097: \$? = $ac_status" >&5
    2424027512   (exit $ac_status); }; }; then
    2424127513   cf_cv_libstdcpp=yes
    2424227514 else
    24243 @@ -16950,12 +17961,12 @@
     27515@@ -16950,12 +18106,12 @@
    2424427516        LIBS="$cf_save"
    2424527517 
    2424627518 fi
    2424727519-echo "$as_me:16953: result: $cf_cv_libstdcpp" >&5
    24248 +echo "$as_me:17964: result: $cf_cv_libstdcpp" >&5
     27520+echo "$as_me:18109: result: $cf_cv_libstdcpp" >&5
    2424927521 echo "${ECHO_T}$cf_cv_libstdcpp" >&6
    2425027522 test "$cf_cv_libstdcpp" = yes && CXXLIBS="-l$cf_stdcpp_libname $CXXLIBS"
     
    2425227524 
    2425327525-       echo "$as_me:16958: checking whether $CXX understands -c and -o together" >&5
    24254 +       echo "$as_me:17969: checking whether $CXX understands -c and -o together" >&5
     27526+       echo "$as_me:18114: checking whether $CXX understands -c and -o together" >&5
    2425527527 echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6
    2425627528 if test "${cf_cv_prog_CXX_c_o+set}" = set; then
    2425727529   echo $ECHO_N "(cached) $ECHO_C" >&6
    24258 @@ -16971,15 +17982,15 @@
     27530@@ -16971,15 +18127,15 @@
    2425927531 # We do the test twice because some compilers refuse to overwrite an
    2426027532 # existing .o file with -o, though they will create one.
    2426127533 ac_try='$CXX -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    2426227534-if { (eval echo "$as_me:16974: \"$ac_try\"") >&5
    24263 +if { (eval echo "$as_me:17985: \"$ac_try\"") >&5
     27535+if { (eval echo "$as_me:18130: \"$ac_try\"") >&5
    2426427536   (eval $ac_try) 2>&5
    2426527537   ac_status=$?
    2426627538-  echo "$as_me:16977: \$? = $ac_status" >&5
    24267 +  echo "$as_me:17988: \$? = $ac_status" >&5
     27539+  echo "$as_me:18133: \$? = $ac_status" >&5
    2426827540   (exit $ac_status); } &&
    2426927541-  test -f conftest2.$ac_objext && { (eval echo "$as_me:16979: \"$ac_try\"") >&5
    24270 +  test -f conftest2.$ac_objext && { (eval echo "$as_me:17990: \"$ac_try\"") >&5
     27542+  test -f conftest2.$ac_objext && { (eval echo "$as_me:18135: \"$ac_try\"") >&5
    2427127543   (eval $ac_try) 2>&5
    2427227544   ac_status=$?
    2427327545-  echo "$as_me:16982: \$? = $ac_status" >&5
    24274 +  echo "$as_me:17993: \$? = $ac_status" >&5
     27546+  echo "$as_me:18138: \$? = $ac_status" >&5
    2427527547   (exit $ac_status); };
    2427627548 then
    2427727549   eval cf_cv_prog_CXX_c_o=yes
    24278 @@ -16990,10 +18001,10 @@
     27550@@ -16990,10 +18146,10 @@
    2427927551 
    2428027552 fi
    2428127553 if test $cf_cv_prog_CXX_c_o = yes; then
    2428227554-  echo "$as_me:16993: result: yes" >&5
    24283 +  echo "$as_me:18004: result: yes" >&5
     27555+  echo "$as_me:18149: result: yes" >&5
    2428427556 echo "${ECHO_T}yes" >&6
    2428527557 else
    2428627558-  echo "$as_me:16996: result: no" >&5
    24287 +  echo "$as_me:18007: result: no" >&5
     27559+  echo "$as_me:18152: result: no" >&5
    2428827560 echo "${ECHO_T}no" >&6
    2428927561 fi
    2429027562 
    24291 @@ -17013,12 +18024,12 @@
     27563@@ -17013,12 +18169,12 @@
    2429227564        ;;
    2429327565 esac
    2429427566 if test "$GXX" = yes; then
    2429527567-       echo "$as_me:17016: checking for lib$cf_gpp_libname" >&5
    24296 +       echo "$as_me:18027: checking for lib$cf_gpp_libname" >&5
     27568+       echo "$as_me:18172: checking for lib$cf_gpp_libname" >&5
    2429727569 echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6
    2429827570        cf_save="$LIBS"
     
    2430027572        cat >conftest.$ac_ext <<_ACEOF
    2430127573-#line 17021 "configure"
    24302 +#line 18032 "configure"
     27574+#line 18177 "configure"
    2430327575 #include "confdefs.h"
    2430427576 
    2430527577 #include <$cf_gpp_libname/builtin.h>
    24306 @@ -17032,16 +18043,16 @@
     27578@@ -17032,16 +18188,16 @@
    2430727579 }
    2430827580 _ACEOF
    2430927581 rm -f conftest.$ac_objext conftest$ac_exeext
    2431027582-if { (eval echo "$as_me:17035: \"$ac_link\"") >&5
    24311 +if { (eval echo "$as_me:18046: \"$ac_link\"") >&5
     27583+if { (eval echo "$as_me:18191: \"$ac_link\"") >&5
    2431227584   (eval $ac_link) 2>&5
    2431327585   ac_status=$?
    2431427586-  echo "$as_me:17038: \$? = $ac_status" >&5
    24315 +  echo "$as_me:18049: \$? = $ac_status" >&5
     27587+  echo "$as_me:18194: \$? = $ac_status" >&5
    2431627588   (exit $ac_status); } &&
    2431727589          { ac_try='test -s conftest$ac_exeext'
    2431827590-  { (eval echo "$as_me:17041: \"$ac_try\"") >&5
    24319 +  { (eval echo "$as_me:18052: \"$ac_try\"") >&5
     27591+  { (eval echo "$as_me:18197: \"$ac_try\"") >&5
    2432027592   (eval $ac_try) 2>&5
    2432127593   ac_status=$?
    2432227594-  echo "$as_me:17044: \$? = $ac_status" >&5
    24323 +  echo "$as_me:18055: \$? = $ac_status" >&5
     27595+  echo "$as_me:18200: \$? = $ac_status" >&5
    2432427596   (exit $ac_status); }; }; then
    2432527597   cf_cxx_library=yes
    2432627598         CXXLIBS="-l$cf_gpp_libname $CXXLIBS"
    24327 @@ -17060,7 +18071,7 @@
     27599@@ -17060,7 +18216,7 @@
    2432827600   echo "$as_me: failed program was:" >&5
    2432927601 cat conftest.$ac_ext >&5
    2433027602 cat >conftest.$ac_ext <<_ACEOF
    2433127603-#line 17063 "configure"
    24332 +#line 18074 "configure"
     27604+#line 18219 "configure"
    2433327605 #include "confdefs.h"
    2433427606 
    2433527607 #include <builtin.h>
    24336 @@ -17074,16 +18085,16 @@
     27608@@ -17074,16 +18230,16 @@
    2433727609 }
    2433827610 _ACEOF
    2433927611 rm -f conftest.$ac_objext conftest$ac_exeext
    2434027612-if { (eval echo "$as_me:17077: \"$ac_link\"") >&5
    24341 +if { (eval echo "$as_me:18088: \"$ac_link\"") >&5
     27613+if { (eval echo "$as_me:18233: \"$ac_link\"") >&5
    2434227614   (eval $ac_link) 2>&5
    2434327615   ac_status=$?
    2434427616-  echo "$as_me:17080: \$? = $ac_status" >&5
    24345 +  echo "$as_me:18091: \$? = $ac_status" >&5
     27617+  echo "$as_me:18236: \$? = $ac_status" >&5
    2434627618   (exit $ac_status); } &&
    2434727619          { ac_try='test -s conftest$ac_exeext'
    2434827620-  { (eval echo "$as_me:17083: \"$ac_try\"") >&5
    24349 +  { (eval echo "$as_me:18094: \"$ac_try\"") >&5
     27621+  { (eval echo "$as_me:18239: \"$ac_try\"") >&5
    2435027622   (eval $ac_try) 2>&5
    2435127623   ac_status=$?
    2435227624-  echo "$as_me:17086: \$? = $ac_status" >&5
    24353 +  echo "$as_me:18097: \$? = $ac_status" >&5
     27625+  echo "$as_me:18242: \$? = $ac_status" >&5
    2435427626   (exit $ac_status); }; }; then
    2435527627   cf_cxx_library=yes
    2435627628         CXXLIBS="-l$cf_gpp_libname $CXXLIBS"
    24357 @@ -17100,7 +18111,7 @@
     27629@@ -17100,7 +18256,7 @@
    2435827630 fi
    2435927631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    2436027632        LIBS="$cf_save"
    2436127633-       echo "$as_me:17103: result: $cf_cxx_library" >&5
    24362 +       echo "$as_me:18114: result: $cf_cxx_library" >&5
     27634+       echo "$as_me:18259: result: $cf_cxx_library" >&5
    2436327635 echo "${ECHO_T}$cf_cxx_library" >&6
    2436427636 fi
    2436527637 
    24366 @@ -17116,7 +18127,7 @@
     27638@@ -17116,7 +18272,7 @@
    2436727639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2436827640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2436927641 ac_main_return=return
    2437027642-echo "$as_me:17119: checking how to run the C++ preprocessor" >&5
    24371 +echo "$as_me:18130: checking how to run the C++ preprocessor" >&5
     27643+echo "$as_me:18275: checking how to run the C++ preprocessor" >&5
    2437227644 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    2437327645 if test -z "$CXXCPP"; then
    2437427646   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    24375 @@ -17133,18 +18144,18 @@
     27647@@ -17133,18 +18289,18 @@
    2437627648   # On the NeXT, cc -E runs the code through the compiler's parser,
    2437727649   # not just through cpp. "Syntax error" is here to catch this case.
    2437827650   cat >conftest.$ac_ext <<_ACEOF
    2437927651-#line 17136 "configure"
    24380 +#line 18147 "configure"
     27652+#line 18292 "configure"
    2438127653 #include "confdefs.h"
    2438227654 #include <assert.h>
     
    2438427656 _ACEOF
    2438527657-if { (eval echo "$as_me:17141: \"$ac_cpp conftest.$ac_ext\"") >&5
    24386 +if { (eval echo "$as_me:18152: \"$ac_cpp conftest.$ac_ext\"") >&5
     27658+if { (eval echo "$as_me:18297: \"$ac_cpp conftest.$ac_ext\"") >&5
    2438727659   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2438827660   ac_status=$?
     
    2439127663   cat conftest.err >&5
    2439227664-  echo "$as_me:17147: \$? = $ac_status" >&5
    24393 +  echo "$as_me:18158: \$? = $ac_status" >&5
     27665+  echo "$as_me:18303: \$? = $ac_status" >&5
    2439427666   (exit $ac_status); } >/dev/null; then
    2439527667   if test -s conftest.err; then
    2439627668     ac_cpp_err=$ac_cxx_preproc_warn_flag
    24397 @@ -17167,17 +18178,17 @@
     27669@@ -17167,17 +18323,17 @@
    2439827670   # OK, works on sane cases.  Now check whether non-existent headers
    2439927671   # can be detected and how.
    2440027672   cat >conftest.$ac_ext <<_ACEOF
    2440127673-#line 17170 "configure"
    24402 +#line 18181 "configure"
     27674+#line 18326 "configure"
    2440327675 #include "confdefs.h"
    2440427676 #include <ac_nonexistent.h>
    2440527677 _ACEOF
    2440627678-if { (eval echo "$as_me:17174: \"$ac_cpp conftest.$ac_ext\"") >&5
    24407 +if { (eval echo "$as_me:18185: \"$ac_cpp conftest.$ac_ext\"") >&5
     27679+if { (eval echo "$as_me:18330: \"$ac_cpp conftest.$ac_ext\"") >&5
    2440827680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2440927681   ac_status=$?
     
    2441227684   cat conftest.err >&5
    2441327685-  echo "$as_me:17180: \$? = $ac_status" >&5
    24414 +  echo "$as_me:18191: \$? = $ac_status" >&5
     27686+  echo "$as_me:18336: \$? = $ac_status" >&5
    2441527687   (exit $ac_status); } >/dev/null; then
    2441627688   if test -s conftest.err; then
    2441727689     ac_cpp_err=$ac_cxx_preproc_warn_flag
    24418 @@ -17214,7 +18225,7 @@
     27690@@ -17214,7 +18370,7 @@
    2441927691 else
    2442027692   ac_cv_prog_CXXCPP=$CXXCPP
    2442127693 fi
    2442227694-echo "$as_me:17217: result: $CXXCPP" >&5
    24423 +echo "$as_me:18228: result: $CXXCPP" >&5
     27695+echo "$as_me:18373: result: $CXXCPP" >&5
    2442427696 echo "${ECHO_T}$CXXCPP" >&6
    2442527697 ac_preproc_ok=false
    2442627698 for ac_cxx_preproc_warn_flag in '' yes
    24427 @@ -17224,18 +18235,18 @@
     27699@@ -17224,18 +18380,18 @@
    2442827700   # On the NeXT, cc -E runs the code through the compiler's parser,
    2442927701   # not just through cpp. "Syntax error" is here to catch this case.
    2443027702   cat >conftest.$ac_ext <<_ACEOF
    2443127703-#line 17227 "configure"
    24432 +#line 18238 "configure"
     27704+#line 18383 "configure"
    2443327705 #include "confdefs.h"
    2443427706 #include <assert.h>
     
    2443627708 _ACEOF
    2443727709-if { (eval echo "$as_me:17232: \"$ac_cpp conftest.$ac_ext\"") >&5
    24438 +if { (eval echo "$as_me:18243: \"$ac_cpp conftest.$ac_ext\"") >&5
     27710+if { (eval echo "$as_me:18388: \"$ac_cpp conftest.$ac_ext\"") >&5
    2443927711   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2444027712   ac_status=$?
     
    2444327715   cat conftest.err >&5
    2444427716-  echo "$as_me:17238: \$? = $ac_status" >&5
    24445 +  echo "$as_me:18249: \$? = $ac_status" >&5
     27717+  echo "$as_me:18394: \$? = $ac_status" >&5
    2444627718   (exit $ac_status); } >/dev/null; then
    2444727719   if test -s conftest.err; then
    2444827720     ac_cpp_err=$ac_cxx_preproc_warn_flag
    24449 @@ -17258,17 +18269,17 @@
     27721@@ -17258,17 +18414,17 @@
    2445027722   # OK, works on sane cases.  Now check whether non-existent headers
    2445127723   # can be detected and how.
    2445227724   cat >conftest.$ac_ext <<_ACEOF
    2445327725-#line 17261 "configure"
    24454 +#line 18272 "configure"
     27726+#line 18417 "configure"
    2445527727 #include "confdefs.h"
    2445627728 #include <ac_nonexistent.h>
    2445727729 _ACEOF
    2445827730-if { (eval echo "$as_me:17265: \"$ac_cpp conftest.$ac_ext\"") >&5
    24459 +if { (eval echo "$as_me:18276: \"$ac_cpp conftest.$ac_ext\"") >&5
     27731+if { (eval echo "$as_me:18421: \"$ac_cpp conftest.$ac_ext\"") >&5
    2446027732   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2446127733   ac_status=$?
     
    2446427736   cat conftest.err >&5
    2446527737-  echo "$as_me:17271: \$? = $ac_status" >&5
    24466 +  echo "$as_me:18282: \$? = $ac_status" >&5
     27738+  echo "$as_me:18427: \$? = $ac_status" >&5
    2446727739   (exit $ac_status); } >/dev/null; then
    2446827740   if test -s conftest.err; then
    2446927741     ac_cpp_err=$ac_cxx_preproc_warn_flag
    24470 @@ -17296,7 +18307,7 @@
     27742@@ -17296,7 +18452,7 @@
    2447127743 if $ac_preproc_ok; then
    2447227744   :
    2447327745 else
    2447427746-  { { echo "$as_me:17299: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
    24475 +  { { echo "$as_me:18310: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
     27747+  { { echo "$as_me:18455: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
    2447627748 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
    2447727749    { (exit 1); exit 1; }; }
    2447827750 fi
    24479 @@ -17308,26 +18319,74 @@
     27751@@ -17308,26 +18464,74 @@
    2448027752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2448127753 ac_main_return=return
     
    2448527757+do
    2448627758+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    24487 +echo "$as_me:18325: checking for $ac_header" >&5
     27759+echo "$as_me:18470: checking for $ac_header" >&5
    2448827760+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2448927761+if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2449127763+else
    2449227764+  cat >conftest.$ac_ext <<_ACEOF
    24493 +#line 18331 "configure"
     27765+#line 18476 "configure"
    2449427766+#include "confdefs.h"
    2449527767+#include <$ac_header>
    2449627768+_ACEOF
    24497 +if { (eval echo "$as_me:18335: \"$ac_cpp conftest.$ac_ext\"") >&5
     27769+if { (eval echo "$as_me:18480: \"$ac_cpp conftest.$ac_ext\"") >&5
    2449827770+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2449927771+  ac_status=$?
     
    2450127773+  rm -f conftest.er1
    2450227774+  cat conftest.err >&5
    24503 +  echo "$as_me:18341: \$? = $ac_status" >&5
     27775+  echo "$as_me:18486: \$? = $ac_status" >&5
    2450427776+  (exit $ac_status); } >/dev/null; then
    2450527777+  if test -s conftest.err; then
     
    2452027792+rm -f conftest.err conftest.$ac_ext
    2452127793+fi
    24522 +echo "$as_me:18360: result: `eval echo '${'$as_ac_Header'}'`" >&5
     27794+echo "$as_me:18505: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2452327795+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2452427796+if test `eval echo '${'$as_ac_Header'}'` = yes; then
     
    2453427806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2453527807-echo "$as_me:17314: checking for $ac_header" >&5
    24536 +echo "$as_me:18373: checking for $ac_header" >&5
     27808+echo "$as_me:18518: checking for $ac_header" >&5
    2453727809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2453827810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    2454127813   cat >conftest.$ac_ext <<_ACEOF
    2454227814-#line 17320 "configure"
    24543 +#line 18379 "configure"
     27815+#line 18524 "configure"
    2454427816 #include "confdefs.h"
    2454527817 #include <$ac_header>
    2454627818 _ACEOF
    2454727819-if { (eval echo "$as_me:17324: \"$ac_cpp conftest.$ac_ext\"") >&5
    24548 +if { (eval echo "$as_me:18383: \"$ac_cpp conftest.$ac_ext\"") >&5
     27820+if { (eval echo "$as_me:18528: \"$ac_cpp conftest.$ac_ext\"") >&5
    2454927821   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2455027822   ac_status=$?
     
    2455327825   cat conftest.err >&5
    2455427826-  echo "$as_me:17330: \$? = $ac_status" >&5
    24555 +  echo "$as_me:18389: \$? = $ac_status" >&5
     27827+  echo "$as_me:18534: \$? = $ac_status" >&5
    2455627828   (exit $ac_status); } >/dev/null; then
    2455727829   if test -s conftest.err; then
    2455827830     ac_cpp_err=$ac_cxx_preproc_warn_flag
    24559 @@ -17346,7 +18405,7 @@
     27831@@ -17346,7 +18550,7 @@
    2456027832 fi
    2456127833 rm -f conftest.err conftest.$ac_ext
    2456227834 fi
    2456327835-echo "$as_me:17349: result: `eval echo '${'$as_ac_Header'}'`" >&5
    24564 +echo "$as_me:18408: result: `eval echo '${'$as_ac_Header'}'`" >&5
     27836+echo "$as_me:18553: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2456527837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2456627838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2456727839   cat >>confdefs.h <<EOF
    24568 @@ -17356,11 +18415,11 @@
     27840@@ -17356,11 +18560,11 @@
    2456927841 fi
    2457027842 done
     
    2457327845-        echo "$as_me:17360: checking if iostream uses std-namespace" >&5
    2457427846+if test x"$ac_cv_header_iostream" = xyes ; then
    24575 +       echo "$as_me:18419: checking if iostream uses std-namespace" >&5
     27847+       echo "$as_me:18564: checking if iostream uses std-namespace" >&5
    2457627848 echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6
    2457727849-        cat >conftest.$ac_ext <<_ACEOF
    2457827850-#line 17363 "configure"
    2457927851+       cat >conftest.$ac_ext <<_ACEOF
    24580 +#line 18422 "configure"
     27852+#line 18567 "configure"
    2458127853 #include "confdefs.h"
    2458227854 
    2458327855 #include <iostream>
    24584 @@ -17377,16 +18436,16 @@
     27856@@ -17377,16 +18581,16 @@
    2458527857 }
    2458627858 _ACEOF
    2458727859 rm -f conftest.$ac_objext
    2458827860-if { (eval echo "$as_me:17380: \"$ac_compile\"") >&5
    24589 +if { (eval echo "$as_me:18439: \"$ac_compile\"") >&5
     27861+if { (eval echo "$as_me:18584: \"$ac_compile\"") >&5
    2459027862   (eval $ac_compile) 2>&5
    2459127863   ac_status=$?
    2459227864-  echo "$as_me:17383: \$? = $ac_status" >&5
    24593 +  echo "$as_me:18442: \$? = $ac_status" >&5
     27865+  echo "$as_me:18587: \$? = $ac_status" >&5
    2459427866   (exit $ac_status); } &&
    2459527867          { ac_try='test -s conftest.$ac_objext'
    2459627868-  { (eval echo "$as_me:17386: \"$ac_try\"") >&5
    24597 +  { (eval echo "$as_me:18445: \"$ac_try\"") >&5
     27869+  { (eval echo "$as_me:18590: \"$ac_try\"") >&5
    2459827870   (eval $ac_try) 2>&5
    2459927871   ac_status=$?
    2460027872-  echo "$as_me:17389: \$? = $ac_status" >&5
    24601 +  echo "$as_me:18448: \$? = $ac_status" >&5
     27873+  echo "$as_me:18593: \$? = $ac_status" >&5
    2460227874   (exit $ac_status); }; }; then
    2460327875   cf_iostream_namespace=yes
    2460427876 else
    24605 @@ -17395,17 +18454,17 @@
     27877@@ -17395,17 +18599,17 @@
    2460627878 cf_iostream_namespace=no
    2460727879 fi
    2460827880 rm -f conftest.$ac_objext conftest.$ac_ext
    2460927881-        echo "$as_me:17398: result: $cf_iostream_namespace" >&5
    24610 +       echo "$as_me:18457: result: $cf_iostream_namespace" >&5
     27882+       echo "$as_me:18602: result: $cf_iostream_namespace" >&5
    2461127883 echo "${ECHO_T}$cf_iostream_namespace" >&6
    2461227884-        if test "$cf_iostream_namespace" = yes ; then
     
    2462327895 
    2462427896-echo "$as_me:17408: checking if we should include stdbool.h" >&5
    24625 +echo "$as_me:18467: checking if we should include stdbool.h" >&5
     27897+echo "$as_me:18612: checking if we should include stdbool.h" >&5
    2462627898 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6
    2462727899 
    2462827900 if test "${cf_cv_header_stdbool_h+set}" = set; then
    24629 @@ -17413,7 +18472,7 @@
     27901@@ -17413,7 +18617,7 @@
    2463027902 else
    2463127903 
    2463227904        cat >conftest.$ac_ext <<_ACEOF
    2463327905-#line 17416 "configure"
    24634 +#line 18475 "configure"
     27906+#line 18620 "configure"
    2463527907 #include "confdefs.h"
    2463627908 
    2463727909 int
    24638 @@ -17425,23 +18484,23 @@
     27910@@ -17425,23 +18629,23 @@
    2463927911 }
    2464027912 _ACEOF
    2464127913 rm -f conftest.$ac_objext
    2464227914-if { (eval echo "$as_me:17428: \"$ac_compile\"") >&5
    24643 +if { (eval echo "$as_me:18487: \"$ac_compile\"") >&5
     27915+if { (eval echo "$as_me:18632: \"$ac_compile\"") >&5
    2464427916   (eval $ac_compile) 2>&5
    2464527917   ac_status=$?
    2464627918-  echo "$as_me:17431: \$? = $ac_status" >&5
    24647 +  echo "$as_me:18490: \$? = $ac_status" >&5
     27919+  echo "$as_me:18635: \$? = $ac_status" >&5
    2464827920   (exit $ac_status); } &&
    2464927921          { ac_try='test -s conftest.$ac_objext'
    2465027922-  { (eval echo "$as_me:17434: \"$ac_try\"") >&5
    24651 +  { (eval echo "$as_me:18493: \"$ac_try\"") >&5
     27923+  { (eval echo "$as_me:18638: \"$ac_try\"") >&5
    2465227924   (eval $ac_try) 2>&5
    2465327925   ac_status=$?
    2465427926-  echo "$as_me:17437: \$? = $ac_status" >&5
    24655 +  echo "$as_me:18496: \$? = $ac_status" >&5
     27927+  echo "$as_me:18641: \$? = $ac_status" >&5
    2465627928   (exit $ac_status); }; }; then
    2465727929   cf_cv_header_stdbool_h=0
     
    2466127933 cat >conftest.$ac_ext <<_ACEOF
    2466227934-#line 17444 "configure"
    24663 +#line 18503 "configure"
     27935+#line 18648 "configure"
    2466427936 #include "confdefs.h"
    2466527937 
    2466627938 #ifndef __BEOS__
    24667 @@ -17457,16 +18516,16 @@
     27939@@ -17457,16 +18661,16 @@
    2466827940 }
    2466927941 _ACEOF
    2467027942 rm -f conftest.$ac_objext
    2467127943-if { (eval echo "$as_me:17460: \"$ac_compile\"") >&5
    24672 +if { (eval echo "$as_me:18519: \"$ac_compile\"") >&5
     27944+if { (eval echo "$as_me:18664: \"$ac_compile\"") >&5
    2467327945   (eval $ac_compile) 2>&5
    2467427946   ac_status=$?
    2467527947-  echo "$as_me:17463: \$? = $ac_status" >&5
    24676 +  echo "$as_me:18522: \$? = $ac_status" >&5
     27948+  echo "$as_me:18667: \$? = $ac_status" >&5
    2467727949   (exit $ac_status); } &&
    2467827950          { ac_try='test -s conftest.$ac_objext'
    2467927951-  { (eval echo "$as_me:17466: \"$ac_try\"") >&5
    24680 +  { (eval echo "$as_me:18525: \"$ac_try\"") >&5
     27952+  { (eval echo "$as_me:18670: \"$ac_try\"") >&5
    2468127953   (eval $ac_try) 2>&5
    2468227954   ac_status=$?
    2468327955-  echo "$as_me:17469: \$? = $ac_status" >&5
    24684 +  echo "$as_me:18528: \$? = $ac_status" >&5
     27956+  echo "$as_me:18673: \$? = $ac_status" >&5
    2468527957   (exit $ac_status); }; }; then
    2468627958   cf_cv_header_stdbool_h=1
    2468727959 else
    24688 @@ -17480,13 +18539,13 @@
     27960@@ -17480,13 +18684,13 @@
    2468927961 fi
    2469027962 
    2469127963 if test "$cf_cv_header_stdbool_h" = 1
    2469227964-then   echo "$as_me:17483: result: yes" >&5
    24693 +then   echo "$as_me:18542: result: yes" >&5
     27965+then   echo "$as_me:18687: result: yes" >&5
    2469427966 echo "${ECHO_T}yes" >&6
    2469527967-else   echo "$as_me:17485: result: no" >&5
    24696 +else   echo "$as_me:18544: result: no" >&5
     27968+else   echo "$as_me:18689: result: no" >&5
    2469727969 echo "${ECHO_T}no" >&6
    2469827970 fi
    2469927971 
    2470027972-echo "$as_me:17489: checking for builtin bool type" >&5
    24701 +echo "$as_me:18548: checking for builtin bool type" >&5
     27973+echo "$as_me:18693: checking for builtin bool type" >&5
    2470227974 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6
    2470327975 
    2470427976 if test "${cf_cv_builtin_bool+set}" = set; then
    24705 @@ -17494,7 +18553,7 @@
     27977@@ -17494,7 +18698,7 @@
    2470627978 else
    2470727979 
    2470827980        cat >conftest.$ac_ext <<_ACEOF
    2470927981-#line 17497 "configure"
    24710 +#line 18556 "configure"
     27982+#line 18701 "configure"
    2471127983 #include "confdefs.h"
    2471227984 
    2471327985 #include <stdio.h>
    24714 @@ -17509,16 +18568,16 @@
     27986@@ -17509,16 +18713,16 @@
    2471527987 }
    2471627988 _ACEOF
    2471727989 rm -f conftest.$ac_objext
    2471827990-if { (eval echo "$as_me:17512: \"$ac_compile\"") >&5
    24719 +if { (eval echo "$as_me:18571: \"$ac_compile\"") >&5
     27991+if { (eval echo "$as_me:18716: \"$ac_compile\"") >&5
    2472027992   (eval $ac_compile) 2>&5
    2472127993   ac_status=$?
    2472227994-  echo "$as_me:17515: \$? = $ac_status" >&5
    24723 +  echo "$as_me:18574: \$? = $ac_status" >&5
     27995+  echo "$as_me:18719: \$? = $ac_status" >&5
    2472427996   (exit $ac_status); } &&
    2472527997          { ac_try='test -s conftest.$ac_objext'
    2472627998-  { (eval echo "$as_me:17518: \"$ac_try\"") >&5
    24727 +  { (eval echo "$as_me:18577: \"$ac_try\"") >&5
     27999+  { (eval echo "$as_me:18722: \"$ac_try\"") >&5
    2472828000   (eval $ac_try) 2>&5
    2472928001   ac_status=$?
    2473028002-  echo "$as_me:17521: \$? = $ac_status" >&5
    24731 +  echo "$as_me:18580: \$? = $ac_status" >&5
     28003+  echo "$as_me:18725: \$? = $ac_status" >&5
    2473228004   (exit $ac_status); }; }; then
    2473328005   cf_cv_builtin_bool=1
    2473428006 else
    24735 @@ -17531,13 +18590,13 @@
     28007@@ -17531,13 +18735,13 @@
    2473628008 fi
    2473728009 
    2473828010 if test "$cf_cv_builtin_bool" = 1
    2473928011-then   echo "$as_me:17534: result: yes" >&5
    24740 +then   echo "$as_me:18593: result: yes" >&5
     28012+then   echo "$as_me:18738: result: yes" >&5
    2474128013 echo "${ECHO_T}yes" >&6
    2474228014-else   echo "$as_me:17536: result: no" >&5
    24743 +else   echo "$as_me:18595: result: no" >&5
     28015+else   echo "$as_me:18740: result: no" >&5
    2474428016 echo "${ECHO_T}no" >&6
    2474528017 fi
    2474628018 
    2474728019-echo "$as_me:17540: checking for size of bool" >&5
    24748 +echo "$as_me:18599: checking for size of bool" >&5
     28020+echo "$as_me:18744: checking for size of bool" >&5
    2474928021 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6
    2475028022 if test "${cf_cv_type_of_bool+set}" = set; then
    2475128023   echo $ECHO_N "(cached) $ECHO_C" >&6
    24752 @@ -17548,7 +18607,7 @@
     28024@@ -17548,7 +18752,7 @@
    2475328025   cf_cv_type_of_bool=unknown
    2475428026 else
    2475528027   cat >conftest.$ac_ext <<_ACEOF
    2475628028-#line 17551 "configure"
    24757 +#line 18610 "configure"
     28029+#line 18755 "configure"
    2475828030 #include "confdefs.h"
    2475928031 
    2476028032 #include <stdlib.h>
    24761 @@ -17590,15 +18649,15 @@
     28033@@ -17590,15 +18794,15 @@
    2476228034 
    2476328035 _ACEOF
    2476428036 rm -f conftest$ac_exeext
    2476528037-if { (eval echo "$as_me:17593: \"$ac_link\"") >&5
    24766 +if { (eval echo "$as_me:18652: \"$ac_link\"") >&5
     28038+if { (eval echo "$as_me:18797: \"$ac_link\"") >&5
    2476728039   (eval $ac_link) 2>&5
    2476828040   ac_status=$?
    2476928041-  echo "$as_me:17596: \$? = $ac_status" >&5
    24770 +  echo "$as_me:18655: \$? = $ac_status" >&5
     28042+  echo "$as_me:18800: \$? = $ac_status" >&5
    2477128043   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2477228044-  { (eval echo "$as_me:17598: \"$ac_try\"") >&5
    24773 +  { (eval echo "$as_me:18657: \"$ac_try\"") >&5
     28045+  { (eval echo "$as_me:18802: \"$ac_try\"") >&5
    2477428046   (eval $ac_try) 2>&5
    2477528047   ac_status=$?
    2477628048-  echo "$as_me:17601: \$? = $ac_status" >&5
    24777 +  echo "$as_me:18660: \$? = $ac_status" >&5
     28049+  echo "$as_me:18805: \$? = $ac_status" >&5
    2477828050   (exit $ac_status); }; }; then
    2477928051   cf_cv_type_of_bool=`cat cf_test.out`
    2478028052                 if test -z "$cf_cv_type_of_bool"; then
    24781 @@ -17616,30 +18675,36 @@
     28053@@ -17616,30 +18820,36 @@
    2478228054 fi
    2478328055 
    2478428056        rm -f cf_test.out
    2478528057-echo "$as_me:17619: result: $cf_cv_type_of_bool" >&5
    24786 +echo "$as_me:18678: result: $cf_cv_type_of_bool" >&5
     28058+echo "$as_me:18823: result: $cf_cv_type_of_bool" >&5
    2478728059 echo "${ECHO_T}$cf_cv_type_of_bool" >&6
    2478828060 if test "$cf_cv_type_of_bool" = unknown ; then
     
    2479128063        esac
    2479228064-       { echo "$as_me:17625: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
    24793 +       { echo "$as_me:18684: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
     28065+       { echo "$as_me:18829: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
    2479428066 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;}
    2479528067        cf_cv_type_of_bool=$NCURSES_BOOL
     
    2479728069 
    2479828070-echo "$as_me:17630: checking for special defines needed for etip.h" >&5
    24799 +echo "$as_me:18689: checking for special defines needed for etip.h" >&5
     28071+echo "$as_me:18834: checking for special defines needed for etip.h" >&5
    2480028072 echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6
    2480128073 cf_save_CXXFLAGS="$CXXFLAGS"
     
    2481728089 cat >conftest.$ac_ext <<_ACEOF
    2481828090-#line 17642 "configure"
    24819 +#line 18707 "configure"
     28091+#line 18852 "configure"
    2482028092 #include "confdefs.h"
    2482128093 
    2482228094 #include <etip.h.in>
    24823 @@ -17653,16 +18718,16 @@
     28095@@ -17653,16 +18863,16 @@
    2482428096 }
    2482528097 _ACEOF
    2482628098 rm -f conftest.$ac_objext
    2482728099-if { (eval echo "$as_me:17656: \"$ac_compile\"") >&5
    24828 +if { (eval echo "$as_me:18721: \"$ac_compile\"") >&5
     28100+if { (eval echo "$as_me:18866: \"$ac_compile\"") >&5
    2482928101   (eval $ac_compile) 2>&5
    2483028102   ac_status=$?
    2483128103-  echo "$as_me:17659: \$? = $ac_status" >&5
    24832 +  echo "$as_me:18724: \$? = $ac_status" >&5
     28104+  echo "$as_me:18869: \$? = $ac_status" >&5
    2483328105   (exit $ac_status); } &&
    2483428106          { ac_try='test -s conftest.$ac_objext'
    2483528107-  { (eval echo "$as_me:17662: \"$ac_try\"") >&5
    24836 +  { (eval echo "$as_me:18727: \"$ac_try\"") >&5
     28108+  { (eval echo "$as_me:18872: \"$ac_try\"") >&5
    2483728109   (eval $ac_try) 2>&5
    2483828110   ac_status=$?
    2483928111-  echo "$as_me:17665: \$? = $ac_status" >&5
    24840 +  echo "$as_me:18730: \$? = $ac_status" >&5
     28112+  echo "$as_me:18875: \$? = $ac_status" >&5
    2484128113   (exit $ac_status); }; }; then
    2484228114 
    2484328115        test -n "$cf_math" && cat >>confdefs.h <<EOF
    24844 @@ -17683,12 +18748,12 @@
     28116@@ -17674,7 +18884,7 @@
     28117 EOF
     28118 
     28119        cf_result="$cf_math $cf_excp"
     28120-       break
     28121+       break 2
     28122 
     28123 else
     28124   echo "$as_me: failed program was:" >&5
     28125@@ -17683,12 +18893,12 @@
    2484528126 rm -f conftest.$ac_objext conftest.$ac_ext
    2484628127 done
    2484728128 done
    2484828129-echo "$as_me:17686: result: $cf_result" >&5
    24849 +echo "$as_me:18751: result: $cf_result" >&5
     28130+echo "$as_me:18896: result: $cf_result" >&5
    2485028131 echo "${ECHO_T}$cf_result" >&6
    2485128132 CXXFLAGS="$cf_save_CXXFLAGS"
     
    2485328134 if test -n "$CXX"; then
    2485428135-echo "$as_me:17691: checking if $CXX accepts parameter initialization" >&5
    24855 +echo "$as_me:18756: checking if $CXX accepts parameter initialization" >&5
     28136+echo "$as_me:18901: checking if $CXX accepts parameter initialization" >&5
    2485628137 echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6
    2485728138 if test "${cf_cv_cpp_param_init+set}" = set; then
    2485828139   echo $ECHO_N "(cached) $ECHO_C" >&6
    24859 @@ -17705,7 +18770,7 @@
     28140@@ -17705,7 +18915,7 @@
    2486028141   cf_cv_cpp_param_init=unknown
    2486128142 else
    2486228143   cat >conftest.$ac_ext <<_ACEOF
    2486328144-#line 17708 "configure"
    24864 +#line 18773 "configure"
     28145+#line 18918 "configure"
    2486528146 #include "confdefs.h"
    2486628147 
    2486728148 class TEST {
    24868 @@ -17720,19 +18785,19 @@
     28149@@ -17720,19 +18930,19 @@
    2486928150 {
    2487028151        value = x;
     
    2487628157 rm -f conftest$ac_exeext
    2487728158-if { (eval echo "$as_me:17727: \"$ac_link\"") >&5
    24878 +if { (eval echo "$as_me:18792: \"$ac_link\"") >&5
     28159+if { (eval echo "$as_me:18937: \"$ac_link\"") >&5
    2487928160   (eval $ac_link) 2>&5
    2488028161   ac_status=$?
    2488128162-  echo "$as_me:17730: \$? = $ac_status" >&5
    24882 +  echo "$as_me:18795: \$? = $ac_status" >&5
     28163+  echo "$as_me:18940: \$? = $ac_status" >&5
    2488328164   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2488428165-  { (eval echo "$as_me:17732: \"$ac_try\"") >&5
    24885 +  { (eval echo "$as_me:18797: \"$ac_try\"") >&5
     28166+  { (eval echo "$as_me:18942: \"$ac_try\"") >&5
    2488628167   (eval $ac_try) 2>&5
    2488728168   ac_status=$?
    2488828169-  echo "$as_me:17735: \$? = $ac_status" >&5
    24889 +  echo "$as_me:18800: \$? = $ac_status" >&5
     28170+  echo "$as_me:18945: \$? = $ac_status" >&5
    2489028171   (exit $ac_status); }; }; then
    2489128172   cf_cv_cpp_param_init=yes
    2489228173 else
    24893 @@ -17751,7 +18816,7 @@
     28174@@ -17751,7 +18961,7 @@
    2489428175 ac_main_return=return
    2489528176 
    2489628177 fi
    2489728178-echo "$as_me:17754: result: $cf_cv_cpp_param_init" >&5
    24898 +echo "$as_me:18819: result: $cf_cv_cpp_param_init" >&5
     28179+echo "$as_me:18964: result: $cf_cv_cpp_param_init" >&5
    2489928180 echo "${ECHO_T}$cf_cv_cpp_param_init" >&6
    2490028181 fi
    2490128182 test "$cf_cv_cpp_param_init" = yes && cat >>confdefs.h <<\EOF
    24902 @@ -17760,7 +18825,7 @@
     28183@@ -17760,7 +18970,7 @@
    2490328184 
    2490428185 if test -n "$CXX"; then
    2490528186 
    2490628187-echo "$as_me:17763: checking if $CXX accepts static_cast" >&5
    24907 +echo "$as_me:18828: checking if $CXX accepts static_cast" >&5
     28188+echo "$as_me:18973: checking if $CXX accepts static_cast" >&5
    2490828189 echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6
    2490928190 if test "${cf_cv_cpp_static_cast+set}" = set; then
    2491028191   echo $ECHO_N "(cached) $ECHO_C" >&6
    24911 @@ -17774,7 +18839,7 @@
     28192@@ -17774,7 +18984,7 @@
    2491228193 ac_main_return=return
    2491328194 
    2491428195        cat >conftest.$ac_ext <<_ACEOF
    2491528196-#line 17777 "configure"
    24916 +#line 18842 "configure"
     28197+#line 18987 "configure"
    2491728198 #include "confdefs.h"
    2491828199 
    2491928200 class NCursesPanel
    24920 @@ -17818,16 +18883,16 @@
     28201@@ -17818,16 +19028,16 @@
    2492128202 }
    2492228203 _ACEOF
    2492328204 rm -f conftest.$ac_objext
    2492428205-if { (eval echo "$as_me:17821: \"$ac_compile\"") >&5
    24925 +if { (eval echo "$as_me:18886: \"$ac_compile\"") >&5
     28206+if { (eval echo "$as_me:19031: \"$ac_compile\"") >&5
    2492628207   (eval $ac_compile) 2>&5
    2492728208   ac_status=$?
    2492828209-  echo "$as_me:17824: \$? = $ac_status" >&5
    24929 +  echo "$as_me:18889: \$? = $ac_status" >&5
     28210+  echo "$as_me:19034: \$? = $ac_status" >&5
    2493028211   (exit $ac_status); } &&
    2493128212          { ac_try='test -s conftest.$ac_objext'
    2493228213-  { (eval echo "$as_me:17827: \"$ac_try\"") >&5
    24933 +  { (eval echo "$as_me:18892: \"$ac_try\"") >&5
     28214+  { (eval echo "$as_me:19037: \"$ac_try\"") >&5
    2493428215   (eval $ac_try) 2>&5
    2493528216   ac_status=$?
    2493628217-  echo "$as_me:17830: \$? = $ac_status" >&5
    24937 +  echo "$as_me:18895: \$? = $ac_status" >&5
     28218+  echo "$as_me:19040: \$? = $ac_status" >&5
    2493828219   (exit $ac_status); }; }; then
    2493928220   cf_cv_cpp_static_cast=yes
    2494028221 else
    24941 @@ -17845,7 +18910,7 @@
     28222@@ -17845,7 +19055,7 @@
    2494228223 ac_main_return=return
    2494328224 
    2494428225 fi
    2494528226-echo "$as_me:17848: result: $cf_cv_cpp_static_cast" >&5
    24946 +echo "$as_me:18913: result: $cf_cv_cpp_static_cast" >&5
     28227+echo "$as_me:19058: result: $cf_cv_cpp_static_cast" >&5
    2494728228 echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6
    2494828229 
    2494928230 fi
    24950 @@ -17893,7 +18958,7 @@
     28231@@ -17893,7 +19103,7 @@
    2495128232        else
    2495228233                if test "$cf_cv_header_stdbool_h" = 1 ; then
    2495328234 
    2495428235-echo "$as_me:17896: checking for size of bool" >&5
    24955 +echo "$as_me:18961: checking for size of bool" >&5
     28236+echo "$as_me:19106: checking for size of bool" >&5
    2495628237 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6
    2495728238 if test "${cf_cv_type_of_bool+set}" = set; then
    2495828239   echo $ECHO_N "(cached) $ECHO_C" >&6
    24959 @@ -17904,7 +18969,7 @@
     28240@@ -17904,7 +19114,7 @@
    2496028241   cf_cv_type_of_bool=unknown
    2496128242 else
    2496228243   cat >conftest.$ac_ext <<_ACEOF
    2496328244-#line 17907 "configure"
    24964 +#line 18972 "configure"
     28245+#line 19117 "configure"
    2496528246 #include "confdefs.h"
    2496628247 
    2496728248 #include <stdlib.h>
    24968 @@ -17946,15 +19011,15 @@
     28249@@ -17946,15 +19156,15 @@
    2496928250 
    2497028251 _ACEOF
    2497128252 rm -f conftest$ac_exeext
    2497228253-if { (eval echo "$as_me:17949: \"$ac_link\"") >&5
    24973 +if { (eval echo "$as_me:19014: \"$ac_link\"") >&5
     28254+if { (eval echo "$as_me:19159: \"$ac_link\"") >&5
    2497428255   (eval $ac_link) 2>&5
    2497528256   ac_status=$?
    2497628257-  echo "$as_me:17952: \$? = $ac_status" >&5
    24977 +  echo "$as_me:19017: \$? = $ac_status" >&5
     28258+  echo "$as_me:19162: \$? = $ac_status" >&5
    2497828259   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2497928260-  { (eval echo "$as_me:17954: \"$ac_try\"") >&5
    24980 +  { (eval echo "$as_me:19019: \"$ac_try\"") >&5
     28261+  { (eval echo "$as_me:19164: \"$ac_try\"") >&5
    2498128262   (eval $ac_try) 2>&5
    2498228263   ac_status=$?
    2498328264-  echo "$as_me:17957: \$? = $ac_status" >&5
    24984 +  echo "$as_me:19022: \$? = $ac_status" >&5
     28265+  echo "$as_me:19167: \$? = $ac_status" >&5
    2498528266   (exit $ac_status); }; }; then
    2498628267   cf_cv_type_of_bool=`cat cf_test.out`
    2498728268                 if test -z "$cf_cv_type_of_bool"; then
    24988 @@ -17972,25 +19037,25 @@
     28269@@ -17972,25 +19182,25 @@
    2498928270 fi
    2499028271 
    2499128272        rm -f cf_test.out
    2499228273-echo "$as_me:17975: result: $cf_cv_type_of_bool" >&5
    24993 +echo "$as_me:19040: result: $cf_cv_type_of_bool" >&5
     28274+echo "$as_me:19185: result: $cf_cv_type_of_bool" >&5
    2499428275 echo "${ECHO_T}$cf_cv_type_of_bool" >&6
    2499528276 if test "$cf_cv_type_of_bool" = unknown ; then
     
    2499828279        esac
    2499928280-       { echo "$as_me:17981: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
    25000 +       { echo "$as_me:19046: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
     28281+       { echo "$as_me:19191: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
    2500128282 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;}
    2500228283        cf_cv_type_of_bool=$NCURSES_BOOL
     
    2500528286                else
    2500628287-                       echo "$as_me:17987: checking for fallback type of bool" >&5
    25007 +                       echo "$as_me:19052: checking for fallback type of bool" >&5
     28288+                       echo "$as_me:19197: checking for fallback type of bool" >&5
    2500828289 echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6
    2500928290                        case "$host_cpu" in #(vi
     
    2501228293                        esac
    2501328294-                       echo "$as_me:17993: result: $cf_cv_type_of_bool" >&5
    25014 +                       echo "$as_me:19058: result: $cf_cv_type_of_bool" >&5
     28295+                       echo "$as_me:19203: result: $cf_cv_type_of_bool" >&5
    2501528296 echo "${ECHO_T}$cf_cv_type_of_bool" >&6
    2501628297                fi
    2501728298        fi
    25018 @@ -18019,7 +19084,7 @@
     28299@@ -18019,7 +19229,7 @@
    2501928300 
    2502028301        if test "$cf_with_ada" != "no" ; then
    2502128302                if test "$with_libtool" != "no"; then
    2502228303-                       { echo "$as_me:18022: WARNING: libtool does not support Ada - disabling feature" >&5
    25023 +                       { echo "$as_me:19087: WARNING: libtool does not support Ada - disabling feature" >&5
     28304+                       { echo "$as_me:19232: WARNING: libtool does not support Ada - disabling feature" >&5
    2502428305 echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;}
    2502528306                        cf_with_ada=no
    2502628307                fi
    25027 @@ -18030,7 +19095,7 @@
     28308@@ -18030,7 +19240,7 @@
    2502828309 cf_ada_make=gnatmake
    2502928310 # Extract the first word of "$cf_ada_make", so it can be a program name with args.
    2503028311 set dummy $cf_ada_make; ac_word=$2
    2503128312-echo "$as_me:18033: checking for $ac_word" >&5
    25032 +echo "$as_me:19098: checking for $ac_word" >&5
     28313+echo "$as_me:19243: checking for $ac_word" >&5
    2503328314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2503428315 if test "${ac_cv_prog_gnat_exists+set}" = set; then
    2503528316   echo $ECHO_N "(cached) $ECHO_C" >&6
    25036 @@ -18045,7 +19110,7 @@
     28317@@ -18045,7 +19255,7 @@
    2503728318   test -z "$ac_dir" && ac_dir=.
    2503828319   $as_executable_p "$ac_dir/$ac_word" || continue
    2503928320 ac_cv_prog_gnat_exists="yes"
    2504028321-echo "$as_me:18048: found $ac_dir/$ac_word" >&5
    25041 +echo "$as_me:19113: found $ac_dir/$ac_word" >&5
     28322+echo "$as_me:19258: found $ac_dir/$ac_word" >&5
    2504228323 break
    2504328324 done
    2504428325 
    25045 @@ -18054,31 +19119,32 @@
     28326@@ -18054,31 +19264,32 @@
    2504628327 fi
    2504728328 gnat_exists=$ac_cv_prog_gnat_exists
    2504828329 if test -n "$gnat_exists"; then
    2504928330-  echo "$as_me:18057: result: $gnat_exists" >&5
    25050 +  echo "$as_me:19122: result: $gnat_exists" >&5
     28331+  echo "$as_me:19267: result: $gnat_exists" >&5
    2505128332 echo "${ECHO_T}$gnat_exists" >&6
    2505228333 else
    2505328334-  echo "$as_me:18060: result: no" >&5
    25054 +  echo "$as_me:19125: result: no" >&5
     28335+  echo "$as_me:19270: result: no" >&5
    2505528336 echo "${ECHO_T}no" >&6
    2505628337 fi
     
    2506228343 
    2506328344-echo "$as_me:18068: checking for gnat version" >&5
    25064 +echo "$as_me:19134: checking for gnat version" >&5
     28345+echo "$as_me:19279: checking for gnat version" >&5
    2506528346 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6
    2506628347 cf_gnat_version=`${cf_ada_make:-gnatmake} -v 2>&1 | \
     
    2506828349     sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'`
    2506928350-echo "$as_me:18073: result: $cf_gnat_version" >&5
    25070 +echo "$as_me:19139: result: $cf_gnat_version" >&5
     28351+echo "$as_me:19284: result: $cf_gnat_version" >&5
    2507128352 echo "${ECHO_T}$cf_gnat_version" >&6
    2507228353 
     
    2507828359 *)
    2507928360-       { echo "$as_me:18081: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
    25080 +       { echo "$as_me:19147: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
     28361+       { echo "$as_me:19292: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5
    2508128362 echo "$as_me: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;}
    2508228363        cf_cv_prog_gnat_correct=no
    2508328364        ;;
    25084 @@ -18086,7 +19152,7 @@
     28365@@ -18086,7 +19297,7 @@
    2508528366 
    2508628367    # Extract the first word of "m4", so it can be a program name with args.
    2508728368 set dummy m4; ac_word=$2
    2508828369-echo "$as_me:18089: checking for $ac_word" >&5
    25089 +echo "$as_me:19155: checking for $ac_word" >&5
     28370+echo "$as_me:19300: checking for $ac_word" >&5
    2509028371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2509128372 if test "${ac_cv_prog_M4_exists+set}" = set; then
    2509228373   echo $ECHO_N "(cached) $ECHO_C" >&6
    25093 @@ -18101,7 +19167,7 @@
     28374@@ -18101,7 +19312,7 @@
    2509428375   test -z "$ac_dir" && ac_dir=.
    2509528376   $as_executable_p "$ac_dir/$ac_word" || continue
    2509628377 ac_cv_prog_M4_exists="yes"
    2509728378-echo "$as_me:18104: found $ac_dir/$ac_word" >&5
    25098 +echo "$as_me:19170: found $ac_dir/$ac_word" >&5
     28379+echo "$as_me:19315: found $ac_dir/$ac_word" >&5
    2509928380 break
    2510028381 done
    2510128382 
    25102 @@ -18110,10 +19176,10 @@
     28383@@ -18110,10 +19321,10 @@
    2510328384 fi
    2510428385 M4_exists=$ac_cv_prog_M4_exists
    2510528386 if test -n "$M4_exists"; then
    2510628387-  echo "$as_me:18113: result: $M4_exists" >&5
    25107 +  echo "$as_me:19179: result: $M4_exists" >&5
     28388+  echo "$as_me:19324: result: $M4_exists" >&5
    2510828389 echo "${ECHO_T}$M4_exists" >&6
    2510928390 else
    2511028391-  echo "$as_me:18116: result: no" >&5
    25111 +  echo "$as_me:19182: result: no" >&5
     28392+  echo "$as_me:19327: result: no" >&5
    2511228393 echo "${ECHO_T}no" >&6
    2511328394 fi
    2511428395 
    25115 @@ -18122,7 +19188,7 @@
     28396@@ -18122,7 +19333,7 @@
    2511628397       echo Ada95 binding required program m4 not found. Ada95 binding disabled.
    2511728398    fi
    2511828399    if test "$cf_cv_prog_gnat_correct" = yes; then
    2511928400-      echo "$as_me:18125: checking if GNAT works" >&5
    25120 +      echo "$as_me:19191: checking if GNAT works" >&5
     28401+      echo "$as_me:19336: checking if GNAT works" >&5
    2512128402 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6
    2512228403 
    2512328404 rm -rf conftest* *~conftest*
    25124 @@ -18150,7 +19216,7 @@
     28405@@ -18150,7 +19361,7 @@
    2512528406 fi
    2512628407 rm -rf conftest* *~conftest*
    2512728408 
    2512828409-      echo "$as_me:18153: result: $cf_cv_prog_gnat_correct" >&5
    25129 +      echo "$as_me:19219: result: $cf_cv_prog_gnat_correct" >&5
     28410+      echo "$as_me:19364: result: $cf_cv_prog_gnat_correct" >&5
    2513028411 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6
    2513128412    fi
    2513228413 fi
    25133 @@ -18175,7 +19241,7 @@
    25134                                 ;;
    25135                         esac
     28414@@ -18159,23 +19370,27 @@
     28415 
     28416        ADAFLAGS="$ADAFLAGS -gnatpn"
     28417 
     28418-                       # make ADAFLAGS consistent with CFLAGS
     28419-                       case "$CFLAGS" in
     28420-                       *-g*)
     28421+       echo "$as_me:19373: checking optimization options for ADAFLAGS" >&5
     28422+echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6
     28423+       case "$CFLAGS" in
     28424+       *-g*)
     28425 
     28426        ADAFLAGS="$ADAFLAGS -g"
     28427 
     28428-                               ;;
     28429-                       esac
     28430-                       case "$CFLAGS" in
     28431-                       *-O*)
     28432+               ;;
     28433+       esac
     28434+       case "$CFLAGS" in
     28435+       *-O*)
     28436+               cf_O_flag=`echo "$CFLAGS" |sed -e 's/^.*-O/-O/' -e 's/[         ].*//'`
     28437 
     28438-       ADAFLAGS="$ADAFLAGS -O3"
     28439+       ADAFLAGS="$ADAFLAGS $cf_O_flag"
     28440 
     28441-                               ;;
     28442-                       esac
     28443+               ;;
     28444+       esac
     28445+       echo "$as_me:19390: result: $ADAFLAGS" >&5
     28446+echo "${ECHO_T}$ADAFLAGS" >&6
    2513628447 
    2513728448-echo "$as_me:18178: checking if GNAT supports generics" >&5
    25138 +echo "$as_me:19244: checking if GNAT supports generics" >&5
     28449+echo "$as_me:19393: checking if GNAT supports generics" >&5
    2513928450 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6
    2514028451 case $cf_gnat_version in #(vi
    2514128452 3.[1-9]*|[4-9].*) #(vi
    25142 @@ -18185,7 +19251,7 @@
     28453@@ -18185,7 +19400,7 @@
    2514328454        cf_gnat_generics=no
    2514428455        ;;
    2514528456 esac
    2514628457-echo "$as_me:18188: result: $cf_gnat_generics" >&5
    25147 +echo "$as_me:19254: result: $cf_gnat_generics" >&5
     28458+echo "$as_me:19403: result: $cf_gnat_generics" >&5
    2514828459 echo "${ECHO_T}$cf_gnat_generics" >&6
    2514928460 
    2515028461 if test "$cf_gnat_generics" = yes
    25151 @@ -18197,7 +19263,7 @@
     28462@@ -18197,7 +19412,7 @@
    2515228463        cf_generic_objects=
    2515328464 fi
    2515428465 
    2515528466-echo "$as_me:18200: checking if GNAT supports SIGINT" >&5
    25156 +echo "$as_me:19266: checking if GNAT supports SIGINT" >&5
     28467+echo "$as_me:19415: checking if GNAT supports SIGINT" >&5
    2515728468 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6
    2515828469 if test "${cf_cv_gnat_sigint+set}" = set; then
    2515928470   echo $ECHO_N "(cached) $ECHO_C" >&6
    25160 @@ -18245,7 +19311,7 @@
     28471@@ -18245,7 +19460,7 @@
    2516128472 rm -rf conftest* *~conftest*
    2516228473 
    2516328474 fi
    2516428475-echo "$as_me:18248: result: $cf_cv_gnat_sigint" >&5
    25165 +echo "$as_me:19314: result: $cf_cv_gnat_sigint" >&5
     28476+echo "$as_me:19463: result: $cf_cv_gnat_sigint" >&5
    2516628477 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6
    2516728478 
    2516828479 if test $cf_cv_gnat_sigint = yes ; then
    25169 @@ -18254,7 +19320,7 @@
     28480@@ -18254,7 +19469,7 @@
    2517028481        USE_GNAT_SIGINT="#"
    2517128482 fi
    2517228483 
    2517328484-echo "$as_me:18257: checking if GNAT pragma Unreferenced works" >&5
    25174 +echo "$as_me:19323: checking if GNAT pragma Unreferenced works" >&5
     28485+echo "$as_me:19472: checking if GNAT pragma Unreferenced works" >&5
    2517528486 echo $ECHO_N "checking if GNAT pragma Unreferenced works... $ECHO_C" >&6
    2517628487 if test "${cf_cv_pragma_unreferenced+set}" = set; then
    2517728488   echo $ECHO_N "(cached) $ECHO_C" >&6
    25178 @@ -18285,7 +19351,7 @@
     28489@@ -18285,7 +19500,7 @@
    2517928490 rm -rf conftest* *~conftest*
    2518028491 
    2518128492 fi
    2518228493-echo "$as_me:18288: result: $cf_cv_pragma_unreferenced" >&5
    25183 +echo "$as_me:19354: result: $cf_cv_pragma_unreferenced" >&5
     28494+echo "$as_me:19503: result: $cf_cv_pragma_unreferenced" >&5
    2518428495 echo "${ECHO_T}$cf_cv_pragma_unreferenced" >&6
    2518528496 
    2518628497 # if the pragma is supported, use it (needed in the Trace code).
    25187 @@ -18298,7 +19364,7 @@
     28498@@ -18298,7 +19513,7 @@
    2518828499 cf_gnat_libraries=no
    2518928500 cf_gnat_projects=no
    2519028501 
    2519128502-echo "$as_me:18301: checking if GNAT supports project files" >&5
    25192 +echo "$as_me:19367: checking if GNAT supports project files" >&5
     28503+echo "$as_me:19516: checking if GNAT supports project files" >&5
    2519328504 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6
    2519428505 case $cf_gnat_version in #(vi
    2519528506 3.[0-9]*) #(vi
    25196 @@ -18366,14 +19432,14 @@
     28507@@ -18366,14 +19581,14 @@
    2519728508        esac
    2519828509        ;;
    2519928510 esac
    2520028511-echo "$as_me:18369: result: $cf_gnat_projects" >&5
    25201 +echo "$as_me:19435: result: $cf_gnat_projects" >&5
     28512+echo "$as_me:19584: result: $cf_gnat_projects" >&5
    2520228513 echo "${ECHO_T}$cf_gnat_projects" >&6
    2520328514 
     
    2520528516 then
    2520628517-       echo "$as_me:18374: checking if GNAT supports libraries" >&5
    25207 +       echo "$as_me:19440: checking if GNAT supports libraries" >&5
     28518+       echo "$as_me:19589: checking if GNAT supports libraries" >&5
    2520828519 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6
    2520928520-       echo "$as_me:18376: result: $cf_gnat_libraries" >&5
    25210 +       echo "$as_me:19442: result: $cf_gnat_libraries" >&5
     28521+       echo "$as_me:19591: result: $cf_gnat_libraries" >&5
    2521128522 echo "${ECHO_T}$cf_gnat_libraries" >&6
    2521228523 fi
    2521328524 
    25214 @@ -18393,7 +19459,7 @@
     28525@@ -18393,7 +19608,7 @@
    2521528526        USE_GNAT_LIBRARIES="#"
    2521628527 fi
    2521728528 
    2521828529-echo "$as_me:18396: checking for ada-compiler" >&5
    25219 +echo "$as_me:19462: checking for ada-compiler" >&5
     28530+echo "$as_me:19611: checking for ada-compiler" >&5
    2522028531 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6
    2522128532 
    2522228533 # Check whether --with-ada-compiler or --without-ada-compiler was given.
    25223 @@ -18404,12 +19470,12 @@
     28534@@ -18404,12 +19619,12 @@
    2522428535   cf_ada_compiler=gnatmake
    2522528536 fi;
    2522628537 
    2522728538-echo "$as_me:18407: result: $cf_ada_compiler" >&5
    25228 +echo "$as_me:19473: result: $cf_ada_compiler" >&5
     28539+echo "$as_me:19622: result: $cf_ada_compiler" >&5
    2522928540 echo "${ECHO_T}$cf_ada_compiler" >&6
    2523028541 
     
    2523228543 
    2523328544-echo "$as_me:18412: checking for ada-include" >&5
    25234 +echo "$as_me:19478: checking for ada-include" >&5
     28545+echo "$as_me:19627: checking for ada-include" >&5
    2523528546 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6
    2523628547 
    2523728548 # Check whether --with-ada-include or --without-ada-include was given.
    25238 @@ -18445,7 +19511,7 @@
     28549@@ -18433,7 +19648,7 @@
     28550   ;;
     28551 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     28552   ;;
     28553-.\${*prefix}*) #(vi
     28554+.\${*prefix}*|.\${*dir}*) #(vi
     28555   eval withval="$withval"
     28556   case ".$withval" in #(vi
     28557   .NONE/*)
     28558@@ -18445,7 +19660,7 @@
    2523928559   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    2524028560   ;;
    2524128561 *)
    2524228562-  { { echo "$as_me:18448: error: expected a pathname, not \"$withval\"" >&5
    25243 +  { { echo "$as_me:19514: error: expected a pathname, not \"$withval\"" >&5
     28563+  { { echo "$as_me:19663: error: expected a pathname, not \"$withval\"" >&5
    2524428564 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    2524528565    { (exit 1); exit 1; }; }
    2524628566   ;;
    25247 @@ -18454,10 +19520,10 @@
     28567@@ -18454,10 +19669,10 @@
    2524828568 fi
    2524928569 ADA_INCLUDE="$withval"
    2525028570 
    2525128571-echo "$as_me:18457: result: $ADA_INCLUDE" >&5
    25252 +echo "$as_me:19523: result: $ADA_INCLUDE" >&5
     28572+echo "$as_me:19672: result: $ADA_INCLUDE" >&5
    2525328573 echo "${ECHO_T}$ADA_INCLUDE" >&6
    2525428574 
    2525528575-echo "$as_me:18460: checking for ada-objects" >&5
    25256 +echo "$as_me:19526: checking for ada-objects" >&5
     28576+echo "$as_me:19675: checking for ada-objects" >&5
    2525728577 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6
    2525828578 
    2525928579 # Check whether --with-ada-objects or --without-ada-objects was given.
    25260 @@ -18493,7 +19559,7 @@
     28580@@ -18481,7 +19696,7 @@
     28581   ;;
     28582 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     28583   ;;
     28584-.\${*prefix}*) #(vi
     28585+.\${*prefix}*|.\${*dir}*) #(vi
     28586   eval withval="$withval"
     28587   case ".$withval" in #(vi
     28588   .NONE/*)
     28589@@ -18493,7 +19708,7 @@
    2526128590   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    2526228591   ;;
    2526328592 *)
    2526428593-  { { echo "$as_me:18496: error: expected a pathname, not \"$withval\"" >&5
    25265 +  { { echo "$as_me:19562: error: expected a pathname, not \"$withval\"" >&5
     28594+  { { echo "$as_me:19711: error: expected a pathname, not \"$withval\"" >&5
    2526628595 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    2526728596    { (exit 1); exit 1; }; }
    2526828597   ;;
    25269 @@ -18502,10 +19568,10 @@
     28598@@ -18502,10 +19717,10 @@
    2527028599 fi
    2527128600 ADA_OBJECTS="$withval"
    2527228601 
    2527328602-echo "$as_me:18505: result: $ADA_OBJECTS" >&5
    25274 +echo "$as_me:19571: result: $ADA_OBJECTS" >&5
     28603+echo "$as_me:19720: result: $ADA_OBJECTS" >&5
    2527528604 echo "${ECHO_T}$ADA_OBJECTS" >&6
    2527628605 
    2527728606-echo "$as_me:18508: checking if an Ada95 shared-library should be built" >&5
    25278 +echo "$as_me:19574: checking if an Ada95 shared-library should be built" >&5
     28607+echo "$as_me:19723: checking if an Ada95 shared-library should be built" >&5
    2527928608 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6
    2528028609 
    2528128610 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given.
    25282 @@ -18515,7 +19581,7 @@
     28611@@ -18515,7 +19730,7 @@
    2528328612 else
    2528428613   with_ada_sharedlib=no
    2528528614 fi;
    2528628615-echo "$as_me:18518: result: $with_ada_sharedlib" >&5
    25287 +echo "$as_me:19584: result: $with_ada_sharedlib" >&5
     28616+echo "$as_me:19733: result: $with_ada_sharedlib" >&5
    2528828617 echo "${ECHO_T}$with_ada_sharedlib" >&6
    2528928618 
    2529028619 ADA_SHAREDLIB='lib$(LIB_NAME).so.1'
    25291 @@ -18546,7 +19612,7 @@
     28620@@ -18546,7 +19761,7 @@
    2529228621 ### chooses to split module lists into libraries.
    2529328622 ###
    2529428623 ### (see CF_LIB_RULES).
    2529528624-echo "$as_me:18549: checking for library subsets" >&5
    25296 +echo "$as_me:19615: checking for library subsets" >&5
     28625+echo "$as_me:19764: checking for library subsets" >&5
    2529728626 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6
    2529828627 LIB_SUBSETS=
    2529928628 
    25300 @@ -18587,7 +19653,7 @@
     28629@@ -18587,7 +19802,7 @@
    2530128630 test "$with_widec"     = yes && LIB_SUBSETS="${LIB_SUBSETS}+widechar"
    2530228631 test "$with_ext_funcs" = yes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs"
    2530328632 
    2530428633-echo "$as_me:18590: result: $LIB_SUBSETS" >&5
    25305 +echo "$as_me:19656: result: $LIB_SUBSETS" >&5
     28634+echo "$as_me:19805: result: $LIB_SUBSETS" >&5
    2530628635 echo "${ECHO_T}$LIB_SUBSETS" >&6
    2530728636 
    2530828637 ### Construct the list of include-directories to be generated
    25309 @@ -18625,7 +19691,7 @@
     28638@@ -18625,7 +19840,7 @@
    2531028639 fi
    2531128640 
    2531228641 ### Build up pieces for makefile rules
    2531328642-echo "$as_me:18628: checking default library suffix" >&5
    25314 +echo "$as_me:19694: checking default library suffix" >&5
     28643+echo "$as_me:19843: checking default library suffix" >&5
    2531528644 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6
    2531628645 
    2531728646        case $DFT_LWR_MODEL in
    25318 @@ -18636,10 +19702,10 @@
     28647@@ -18636,10 +19851,10 @@
    2531928648        shared)  DFT_ARG_SUFFIX=''   ;;
    2532028649        esac
    2532128650        test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}"
    2532228651-echo "$as_me:18639: result: $DFT_ARG_SUFFIX" >&5
    25323 +echo "$as_me:19705: result: $DFT_ARG_SUFFIX" >&5
     28652+echo "$as_me:19854: result: $DFT_ARG_SUFFIX" >&5
    2532428653 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6
    2532528654 
    2532628655-echo "$as_me:18642: checking default library-dependency suffix" >&5
    25327 +echo "$as_me:19708: checking default library-dependency suffix" >&5
     28656+echo "$as_me:19857: checking default library-dependency suffix" >&5
    2532828657 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6
    2532928658 
    2533028659        case $DFT_LWR_MODEL in #(vi
    25331 @@ -18661,7 +19727,7 @@
     28660@@ -18661,11 +19876,11 @@
    2533228661                ;;
    2533328662        shared) #(vi
     
    2533828667                        DFT_DEP_SUFFIX=$DFT_LIB_SUFFIX
    2533928668                        ;;
    25340 @@ -18692,10 +19758,10 @@
     28669-               cygwin*) #(vi
     28670+               cygwin*|mingw*) #(vi
     28671                        DFT_LIB_SUFFIX='.dll'
     28672                        DFT_DEP_SUFFIX='.dll.a'
     28673                        ;;
     28674@@ -18692,10 +19907,10 @@
    2534128675        esac
    2534228676        test -n "$LIB_SUFFIX" && DFT_LIB_SUFFIX="${LIB_SUFFIX}${DFT_LIB_SUFFIX}"
    2534328677        test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}"
    2534428678-echo "$as_me:18695: result: $DFT_DEP_SUFFIX" >&5
    25345 +echo "$as_me:19761: result: $DFT_DEP_SUFFIX" >&5
     28679+echo "$as_me:19910: result: $DFT_DEP_SUFFIX" >&5
    2534628680 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6
    2534728681 
    2534828682-echo "$as_me:18698: checking default object directory" >&5
    25349 +echo "$as_me:19764: checking default object directory" >&5
     28683+echo "$as_me:19913: checking default object directory" >&5
    2535028684 echo $ECHO_N "checking default object directory... $ECHO_C" >&6
    2535128685 
    2535228686        case $DFT_LWR_MODEL in
    25353 @@ -18711,12 +19777,12 @@
     28687@@ -18711,12 +19926,12 @@
    2535428688                        DFT_OBJ_SUBDIR='obj_s' ;;
    2535528689                esac
    2535628690        esac
    2535728691-echo "$as_me:18714: result: $DFT_OBJ_SUBDIR" >&5
    25358 +echo "$as_me:19780: result: $DFT_OBJ_SUBDIR" >&5
     28692+echo "$as_me:19929: result: $DFT_OBJ_SUBDIR" >&5
    2535928693 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6
    2536028694 
     
    2536228696 if test "$cf_with_cxx" = yes ; then
    2536328697-echo "$as_me:18719: checking c++ library-dependency suffix" >&5
    25364 +echo "$as_me:19785: checking c++ library-dependency suffix" >&5
     28698+echo "$as_me:19934: checking c++ library-dependency suffix" >&5
    2536528699 echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6
    2536628700 if test "$with_libtool" != "no"; then
    2536728701        CXX_LIB_SUFFIX=$DFT_DEP_SUFFIX
    25368 @@ -18741,7 +19807,7 @@
     28702@@ -18741,11 +19956,11 @@
    2536928703                ;;
    2537028704        shared) #(vi
     
    2537528709                        CXX_DEP_SUFFIX=$CXX_LIB_SUFFIX
    2537628710                        ;;
    25377 @@ -18773,7 +19839,7 @@
     28711-               cygwin*) #(vi
     28712+               cygwin*|mingw*) #(vi
     28713                        CXX_LIB_SUFFIX='.dll'
     28714                        CXX_DEP_SUFFIX='.dll.a'
     28715                        ;;
     28716@@ -18773,7 +19988,7 @@
    2537828717        test -n "$LIB_SUFFIX" && CXX_LIB_SUFFIX="${LIB_SUFFIX}${CXX_LIB_SUFFIX}"
    2537928718        test -n "$LIB_SUFFIX" && CXX_DEP_SUFFIX="${LIB_SUFFIX}${CXX_DEP_SUFFIX}"
    2538028719 fi
    2538128720-echo "$as_me:18776: result: $CXX_LIB_SUFFIX" >&5
    25382 +echo "$as_me:19842: result: $CXX_LIB_SUFFIX" >&5
     28721+echo "$as_me:19991: result: $CXX_LIB_SUFFIX" >&5
    2538328722 echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6
    2538428723 
    2538528724 fi
    25386 @@ -18812,9 +19878,11 @@
     28725@@ -18812,9 +20027,11 @@
    2538728726                TICS_DEP_SUFFIX="${TICS_NAME}${DFT_DEP_SUFFIX}"
    2538828727                TICS_LIB_SUFFIX="${TICS_NAME}${LIB_SUFFIX}"
     
    2539828737 
    2539928738 if test "$with_termlib" != no ; then
    25400 @@ -18837,14 +19905,22 @@
     28739@@ -18837,14 +20054,22 @@
    2540128740        if test "$DFT_LWR_MODEL" = "libtool"; then
    2540228741                TEST_ARGS="${TEST_DEPS}"
     
    2542428763        fi
    2542528764 else
    25426 @@ -18858,7 +19934,8 @@
     28765@@ -18858,7 +20083,8 @@
    2542728766                TICS_LIST="$SHLIB_LIST"
    2542828767        fi
     
    2543428773 
    2543528774 if test "$DFT_LWR_MODEL" = shared ; then
    25436 @@ -18882,7 +19959,7 @@
     28775@@ -18882,7 +20108,7 @@
    2543728776 fi
    2543828777 
     
    2544328782 case $DFT_LWR_MODEL in
    2544428783 normal|debug|profile)
    25445 @@ -18900,7 +19977,7 @@
     28784@@ -18900,7 +20126,7 @@
    2544628785     esac
    2544728786 else
     
    2545228791                LDFLAGS_SHARED=-bdynamic
    2545328792                ;;
    25454 @@ -18927,19 +20004,19 @@
     28793@@ -18927,19 +20153,19 @@
    2545528794 
    2545628795 if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED"
    2545728796 then
    2545828797-       echo "$as_me:18930: checking if linker supports switching between static/dynamic" >&5
    25459 +       echo "$as_me:20007: checking if linker supports switching between static/dynamic" >&5
     28798+       echo "$as_me:20156: checking if linker supports switching between static/dynamic" >&5
    2546028799 echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6
    2546128800 
     
    2546328802        cat >conftest.$ac_ext <<EOF
    2546428803-#line 18935 "configure"
    25465 +#line 20012 "configure"
     28804+#line 20161 "configure"
    2546628805 #include <stdio.h>
    2546728806 int cf_ldflags_static(FILE *fp) { return fflush(fp); }
    2546828807 EOF
    2546928808-       if { (eval echo "$as_me:18939: \"$ac_compile\"") >&5
    25470 +       if { (eval echo "$as_me:20016: \"$ac_compile\"") >&5
     28809+       if { (eval echo "$as_me:20165: \"$ac_compile\"") >&5
    2547128810   (eval $ac_compile) 2>&5
    2547228811   ac_status=$?
    2547328812-  echo "$as_me:18942: \$? = $ac_status" >&5
    25474 +  echo "$as_me:20019: \$? = $ac_status" >&5
     28813+  echo "$as_me:20168: \$? = $ac_status" >&5
    2547528814   (exit $ac_status); } ; then
    2547628815                ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null
    2547728816                ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null
    25478 @@ -18950,10 +20027,10 @@
     28817@@ -18950,10 +20176,10 @@
    2547928818 
    2548028819        LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS"
    2548128820        cat >conftest.$ac_ext <<_ACEOF
    2548228821-#line 18953 "configure"
    25483 +#line 20030 "configure"
     28822+#line 20179 "configure"
    2548428823 #include "confdefs.h"
    2548528824 
    2548628825-#line 18956 "configure"
    25487 +#line 20033 "configure"
     28826+#line 20182 "configure"
    2548828827 #include <stdio.h>
    2548928828 int cf_ldflags_static(FILE *fp);
    2549028829 
    25491 @@ -18968,18 +20045,28 @@
     28830@@ -18968,18 +20194,28 @@
    2549228831 }
    2549328832 _ACEOF
    2549428833 rm -f conftest.$ac_objext conftest$ac_exeext
    2549528834-if { (eval echo "$as_me:18971: \"$ac_link\"") >&5
    25496 +if { (eval echo "$as_me:20048: \"$ac_link\"") >&5
     28835+if { (eval echo "$as_me:20197: \"$ac_link\"") >&5
    2549728836   (eval $ac_link) 2>&5
    2549828837   ac_status=$?
    2549928838-  echo "$as_me:18974: \$? = $ac_status" >&5
    25500 +  echo "$as_me:20051: \$? = $ac_status" >&5
     28839+  echo "$as_me:20200: \$? = $ac_status" >&5
    2550128840   (exit $ac_status); } &&
    2550228841          { ac_try='test -s conftest$ac_exeext'
    2550328842-  { (eval echo "$as_me:18977: \"$ac_try\"") >&5
    25504 +  { (eval echo "$as_me:20054: \"$ac_try\"") >&5
     28843+  { (eval echo "$as_me:20203: \"$ac_try\"") >&5
    2550528844   (eval $ac_try) 2>&5
    2550628845   ac_status=$?
    2550728846-  echo "$as_me:18980: \$? = $ac_status" >&5
    25508 +  echo "$as_me:20057: \$? = $ac_status" >&5
     28847+  echo "$as_me:20206: \$? = $ac_status" >&5
    2550928848   (exit $ac_status); }; }; then
    2551028849-  cf_ldflags_static=yes
     
    2552328862   echo "$as_me: failed program was:" >&5
    2552428863 cat conftest.$ac_ext >&5
    25525 @@ -18990,7 +20077,7 @@
     28864@@ -18990,7 +20226,7 @@
    2552628865        rm -f libconftest.*
    2552728866        LIBS="$cf_save_LIBS"
    2552828867 
    2552928868-       echo "$as_me:18993: result: $cf_ldflags_static" >&5
    25530 +       echo "$as_me:20080: result: $cf_ldflags_static" >&5
     28869+       echo "$as_me:20229: result: $cf_ldflags_static" >&5
    2553128870 echo "${ECHO_T}$cf_ldflags_static" >&6
    2553228871 
    2553328872        if test $cf_ldflags_static != yes
    25534 @@ -19006,12 +20093,12 @@
     28873@@ -19006,12 +20242,12 @@
    2553528874        ;;
    2553628875 esac
    2553728876 
    2553828877-echo "$as_me:19009: checking where we will install curses.h" >&5
    25539 +echo "$as_me:20096: checking where we will install curses.h" >&5
     28878+echo "$as_me:20245: checking where we will install curses.h" >&5
    2554028879 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6
    2554128880 test "$with_overwrite" = no && \
     
    2554328882        includedir='${prefix}/include/ncurses'${LIB_SUFFIX}
    2554428883-echo "$as_me:19014: result: $includedir" >&5
    25545 +echo "$as_me:20101: result: $includedir" >&5
     28884+echo "$as_me:20250: result: $includedir" >&5
    2554628885 echo "${ECHO_T}$includedir" >&6
    2554728886 
    2554828887 ### Resolve a conflict between normal and wide-curses by forcing applications
    25549 @@ -19019,7 +20106,7 @@
     28888@@ -19019,7 +20255,7 @@
    2555028889 if test "$with_overwrite" != no ; then
    2555128890 if test "$NCURSES_LIBUTF8" = 1 ; then
    2555228891        NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)'
    2555328892-       { echo "$as_me:19022: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5
    25554 +       { echo "$as_me:20109: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5
     28893+       { echo "$as_me:20258: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5
    2555528894 echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;}
    2555628895 fi
    2555728896 fi
    25558 @@ -19036,7 +20123,7 @@
     28897@@ -19036,7 +20272,7 @@
    2555928898 ### Construct the list of subdirectories for which we'll customize makefiles
    2556028899 ### with the appropriate compile-rules.
    2556128900 
    2556228901-echo "$as_me:19039: checking for src modules" >&5
    25563 +echo "$as_me:20126: checking for src modules" >&5
     28902+echo "$as_me:20275: checking for src modules" >&5
    2556428903 echo $ECHO_N "checking for src modules... $ECHO_C" >&6
    2556528904 
    2556628905 # dependencies and linker-arguments for test-programs
    25567 @@ -19050,6 +20137,7 @@
     28906@@ -19050,6 +20286,7 @@
    2556828907        TEST_ARG2="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARG2"
    2556928908 fi
     
    2557328912 for cf_dir in $modules_to_build
    2557428913 do
    25575 @@ -19096,10 +20184,11 @@
     28914@@ -19096,10 +20333,11 @@
    2557628915                                TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS"
    2557728916                                TEST_ARG2="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARG2"
     
    2558228921 done
    2558328922-echo "$as_me:19102: result: $cf_cv_src_modules" >&5
    25584 +echo "$as_me:20191: result: $cf_cv_src_modules" >&5
     28923+echo "$as_me:20340: result: $cf_cv_src_modules" >&5
    2558528924 echo "${ECHO_T}$cf_cv_src_modules" >&6
    2558628925 
    2558728926 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS"
    25588 @@ -19118,10 +20207,16 @@
     28927@@ -19118,10 +20356,16 @@
    2558928928        SRC_SUBDIRS="$SRC_SUBDIRS test"
    2559028929 fi
     
    2560528944        ADA_SUBDIRS="gen src"
    2560628945        if test "x$cf_with_tests" != "xno" ; then
    25607 @@ -19143,7 +20238,7 @@
     28946@@ -19143,7 +20387,7 @@
    2560828947 
    2560928948 fi
     
    2561428953    SUB_MAKEFILES="$SUB_MAKEFILES man/adacurses${DFT_ARG_SUFFIX}-config.1:man/MKada_config.in"
    2561528954 fi
    25616 @@ -19305,7 +20400,7 @@
     28955@@ -19305,7 +20549,7 @@
    2561728956 
    2561828957 # Extract the first word of "tic", so it can be a program name with args.
    2561928958 set dummy tic; ac_word=$2
    2562028959-echo "$as_me:19308: checking for $ac_word" >&5
    25621 +echo "$as_me:20403: checking for $ac_word" >&5
     28960+echo "$as_me:20552: checking for $ac_word" >&5
    2562228961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2562328962 if test "${ac_cv_path_TIC_PATH+set}" = set; then
    2562428963   echo $ECHO_N "(cached) $ECHO_C" >&6
    25625 @@ -19322,7 +20417,7 @@
     28964@@ -19322,7 +20566,7 @@
    2562628965   test -z "$ac_dir" && ac_dir=.
    2562728966   if $as_executable_p "$ac_dir/$ac_word"; then
    2562828967    ac_cv_path_TIC_PATH="$ac_dir/$ac_word"
    2562928968-   echo "$as_me:19325: found $ac_dir/$ac_word" >&5
    25630 +   echo "$as_me:20420: found $ac_dir/$ac_word" >&5
     28969+   echo "$as_me:20569: found $ac_dir/$ac_word" >&5
    2563128970    break
    2563228971 fi
    2563328972 done
    25634 @@ -19334,10 +20429,10 @@
     28973@@ -19334,10 +20578,10 @@
    2563528974 TIC_PATH=$ac_cv_path_TIC_PATH
    2563628975 
    2563728976 if test -n "$TIC_PATH"; then
    2563828977-  echo "$as_me:19337: result: $TIC_PATH" >&5
    25639 +  echo "$as_me:20432: result: $TIC_PATH" >&5
     28978+  echo "$as_me:20581: result: $TIC_PATH" >&5
    2564028979 echo "${ECHO_T}$TIC_PATH" >&6
    2564128980 else
    2564228981-  echo "$as_me:19340: result: no" >&5
    25643 +  echo "$as_me:20435: result: no" >&5
     28982+  echo "$as_me:20584: result: no" >&5
    2564428983 echo "${ECHO_T}no" >&6
    2564528984 fi
    2564628985 
    25647 @@ -19345,7 +20440,7 @@
     28986@@ -19345,7 +20589,7 @@
    2564828987 then
    2564928988        if test "$TIC_PATH" = unknown
    2565028989        then
    2565128990-               { echo "$as_me:19348: WARNING: no tic program found for fallbacks" >&5
    25652 +               { echo "$as_me:20443: WARNING: no tic program found for fallbacks" >&5
     28991+               { echo "$as_me:20592: WARNING: no tic program found for fallbacks" >&5
    2565328992 echo "$as_me: WARNING: no tic program found for fallbacks" >&2;}
    2565428993        fi
    2565528994 fi
    25656 @@ -19359,11 +20454,6 @@
     28995@@ -19359,11 +20603,6 @@
    2565728996 ADAHTML_DIR=../../doc/html/ada
    2565828997 
     
    2566629005 ac_config_files="$ac_config_files include/MKterm.h.awk include/curses.head:include/curses.h.in include/ncurses_dll.h include/termcap.h include/unctrl.h $SUB_SCRIPTS $SUB_MAKEFILES Makefile"
    2566729006 ac_config_commands="$ac_config_commands default"
    25668 @@ -19446,7 +20536,7 @@
     29007@@ -19446,7 +20685,7 @@
    2566929008 : ${CONFIG_STATUS=./config.status}
    2567029009 ac_clean_files_save=$ac_clean_files
    2567129010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    2567229011-{ echo "$as_me:19449: creating $CONFIG_STATUS" >&5
    25673 +{ echo "$as_me:20539: creating $CONFIG_STATUS" >&5
     29012+{ echo "$as_me:20688: creating $CONFIG_STATUS" >&5
    2567429013 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    2567529014 cat >$CONFIG_STATUS <<_ACEOF
    2567629015 #! $SHELL
    25677 @@ -19622,7 +20712,7 @@
     29016@@ -19578,7 +20817,7 @@
     29017 cat >>$CONFIG_STATUS <<EOF
     29018 ac_cs_version="\\
     29019 config.status
     29020-configured by $0, generated by GNU Autoconf 2.52.20101002,
     29021+configured by $0, generated by GNU Autoconf 2.52.20120811,
     29022   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     29023 
     29024 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     29025@@ -19622,7 +20861,7 @@
    2567829026     echo "$ac_cs_version"; exit 0 ;;
    2567929027   --he | --h)
    2568029028     # Conflict between --help and --header
    2568129029-    { { echo "$as_me:19625: error: ambiguous option: $1
    25682 +    { { echo "$as_me:20715: error: ambiguous option: $1
     29030+    { { echo "$as_me:20864: error: ambiguous option: $1
    2568329031 Try \`$0 --help' for more information." >&5
    2568429032 echo "$as_me: error: ambiguous option: $1
    2568529033 Try \`$0 --help' for more information." >&2;}
    25686 @@ -19641,7 +20731,7 @@
     29034@@ -19641,7 +20880,7 @@
    2568729035     ac_need_defaults=false;;
    2568829036 
    2568929037   # This is an error.
    2569029038-  -*) { { echo "$as_me:19644: error: unrecognized option: $1
    25691 +  -*) { { echo "$as_me:20734: error: unrecognized option: $1
     29039+  -*) { { echo "$as_me:20883: error: unrecognized option: $1
    2569229040 Try \`$0 --help' for more information." >&5
    2569329041 echo "$as_me: error: unrecognized option: $1
    2569429042 Try \`$0 --help' for more information." >&2;}
    25695 @@ -19686,6 +20776,7 @@
     29043@@ -19660,7 +20899,7 @@
     29044 ## Running config.status.  ##
     29045 ## ----------------------- ##
     29046 
     29047-This file was extended by $as_me 2.52.20101002, executed with
     29048+This file was extended by $as_me 2.52.20120811, executed with
     29049   CONFIG_FILES    = $CONFIG_FILES
     29050   CONFIG_HEADERS  = $CONFIG_HEADERS
     29051   CONFIG_LINKS    = $CONFIG_LINKS
     29052@@ -19682,10 +20921,11 @@
     29053 AWK="$AWK"
     29054 DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
     29055 DFT_LWR_MODEL="$DFT_LWR_MODEL"
     29056-ECHO_LINK="$ECHO_LINK"
     29057+ECHO_LD="$ECHO_LD"
    2569629058 LDCONFIG="$LDCONFIG"
    2569729059 LIBTOOL_VERSION="$LIBTOOL_VERSION"
     
    2570129063 LIB_SUFFIX="$LIB_SUFFIX"
    2570229064 LIB_TRACING="$LIB_TRACING"
    25703 @@ -19717,12 +20808,14 @@
     29065@@ -19707,7 +20947,7 @@
     29066 TINFO_SUFFIX="$TINFO_SUFFIX"
     29067 USE_OLD_MAKERULES="$USE_OLD_MAKERULES"
     29068 WITH_CURSES_H="$with_curses_h"
     29069-WITH_ECHO="$with_echo"
     29070+WITH_ECHO="${enable_echo:=yes}"
     29071 WITH_OVERWRITE="$with_overwrite"
     29072 cf_LIST_MODELS="$cf_list_models"
     29073 cf_cv_abi_version="$cf_cv_abi_version"
     29074@@ -19717,12 +20957,14 @@
    2570429075 cf_cv_enable_opaque="$cf_cv_enable_opaque"
    2570529076 cf_cv_prog_CC_c_o=$cf_cv_prog_CC_c_o
     
    2571629087 cf_with_cxx_binding="$cf_with_cxx_binding"
    2571729088 cf_with_manpages="$cf_with_manpages"
    25718 @@ -19747,7 +20840,7 @@
     29089@@ -19747,7 +20989,7 @@
    2571929090   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    2572029091   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    2572129092   "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;;
    2572229093-  *) { { echo "$as_me:19750: error: invalid argument: $ac_config_target" >&5
    25723 +  *) { { echo "$as_me:20843: error: invalid argument: $ac_config_target" >&5
     29094+  *) { { echo "$as_me:20992: error: invalid argument: $ac_config_target" >&5
    2572429095 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    2572529096    { (exit 1); exit 1; }; };;
    2572629097   esac
    25727 @@ -19931,10 +21024,12 @@
     29098@@ -19806,6 +21048,7 @@
     29099 s,@bindir@,$bindir,;t t
     29100 s,@sbindir@,$sbindir,;t t
     29101 s,@libexecdir@,$libexecdir,;t t
     29102+s,@datarootdir@,$datarootdir,;t t
     29103 s,@datadir@,$datadir,;t t
     29104 s,@sysconfdir@,$sysconfdir,;t t
     29105 s,@sharedstatedir@,$sharedstatedir,;t t
     29106@@ -19931,10 +21174,12 @@
    2572829107 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
    2572929108 s,@LOCAL_LDFLAGS2@,$LOCAL_LDFLAGS2,;t t
     
    2573829117 s,@TERMINFO@,$TERMINFO,;t t
    2573929118 s,@MAKE_TERMINFO@,$MAKE_TERMINFO,;t t
    25740 @@ -20015,12 +21110,14 @@
     29119@@ -19955,6 +21200,7 @@
     29120 s,@TERMINFO_CAPS@,$TERMINFO_CAPS,;t t
     29121 s,@NCURSES_OSPEED@,$NCURSES_OSPEED,;t t
     29122 s,@NCURSES_CCHARW_MAX@,$NCURSES_CCHARW_MAX,;t t
     29123+s,@NCURSES_TPARM_ARG@,$NCURSES_TPARM_ARG,;t t
     29124 s,@MANPAGE_RENAMES@,$MANPAGE_RENAMES,;t t
     29125 s,@NCURSES_EXT_FUNCS@,$NCURSES_EXT_FUNCS,;t t
     29126 s,@GENERATED_EXT_FUNCS@,$GENERATED_EXT_FUNCS,;t t
     29127@@ -19972,6 +21218,11 @@
     29128 s,@NCURSES_OPAQUE@,$NCURSES_OPAQUE,;t t
     29129 s,@NCURSES_SIZE_T@,$NCURSES_SIZE_T,;t t
     29130 s,@NCURSES_WRAP_PREFIX@,$NCURSES_WRAP_PREFIX,;t t
     29131+s,@ECHO_LT@,$ECHO_LT,;t t
     29132+s,@ECHO_LD@,$ECHO_LD,;t t
     29133+s,@RULE_CC@,$RULE_CC,;t t
     29134+s,@SHOW_CC@,$SHOW_CC,;t t
     29135+s,@ECHO_CC@,$ECHO_CC,;t t
     29136 s,@ECHO_LINK@,$ECHO_LINK,;t t
     29137 s,@ADAFLAGS@,$ADAFLAGS,;t t
     29138 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
     29139@@ -20015,12 +21266,14 @@
    2574129140 s,@TICS_ARG_SUFFIX@,$TICS_ARG_SUFFIX,;t t
    2574229141 s,@TICS_DEP_SUFFIX@,$TICS_DEP_SUFFIX,;t t
     
    2575629155 s,@LDFLAGS_SHARED@,$LDFLAGS_SHARED,;t t
    2575729156 s,@WITH_OVERWRITE@,$WITH_OVERWRITE,;t t
    25758 @@ -20032,6 +21129,7 @@
     29157@@ -20032,6 +21285,7 @@
    2575929158 s,@TEST_DEPS@,$TEST_DEPS,;t t
    2576029159 s,@TEST_ARG2@,$TEST_ARG2,;t t
     
    2576429163 s,@DIRS_TO_MAKE@,$DIRS_TO_MAKE,;t t
    2576529164 s,@NCURSES_SHLIB2@,$NCURSES_SHLIB2,;t t
    25766 @@ -20157,7 +21255,7 @@
     29165@@ -20157,7 +21411,7 @@
    2576729166   esac
    2576829167 
    2576929168   if test x"$ac_file" != x-; then
    2577029169-    { echo "$as_me:20160: creating $ac_file" >&5
    25771 +    { echo "$as_me:21258: creating $ac_file" >&5
     29170+    { echo "$as_me:21414: creating $ac_file" >&5
    2577229171 echo "$as_me: creating $ac_file" >&6;}
    2577329172     rm -f "$ac_file"
    2577429173   fi
    25775 @@ -20175,7 +21273,7 @@
     29174@@ -20175,7 +21429,7 @@
    2577629175       -) echo $tmp/stdin ;;
    2577729176       [\\/$]*)
    2577829177          # Absolute (can't be DOS-style, as IFS=:)
    2577929178-         test -f "$f" || { { echo "$as_me:20178: error: cannot find input file: $f" >&5
    25780 +         test -f "$f" || { { echo "$as_me:21276: error: cannot find input file: $f" >&5
     29179+         test -f "$f" || { { echo "$as_me:21432: error: cannot find input file: $f" >&5
    2578129180 echo "$as_me: error: cannot find input file: $f" >&2;}
    2578229181    { (exit 1); exit 1; }; }
    2578329182          echo $f;;
    25784 @@ -20188,7 +21286,7 @@
     29183@@ -20188,7 +21442,7 @@
    2578529184            echo $srcdir/$f
    2578629185          else
    2578729186            # /dev/null tree
    2578829187-           { { echo "$as_me:20191: error: cannot find input file: $f" >&5
    25789 +           { { echo "$as_me:21289: error: cannot find input file: $f" >&5
     29188+           { { echo "$as_me:21445: error: cannot find input file: $f" >&5
    2579029189 echo "$as_me: error: cannot find input file: $f" >&2;}
    2579129190    { (exit 1); exit 1; }; }
    2579229191          fi;;
    25793 @@ -20254,7 +21352,7 @@
     29192@@ -20254,7 +21508,7 @@
    2579429193   * )   ac_file_in=$ac_file.in ;;
    2579529194   esac
    2579629195 
    2579729196-  test x"$ac_file" != x- && { echo "$as_me:20257: creating $ac_file" >&5
    25798 +  test x"$ac_file" != x- && { echo "$as_me:21355: creating $ac_file" >&5
     29197+  test x"$ac_file" != x- && { echo "$as_me:21511: creating $ac_file" >&5
    2579929198 echo "$as_me: creating $ac_file" >&6;}
    2580029199 
    2580129200   # First look for the input files in the build tree, otherwise in the
    25802 @@ -20265,7 +21363,7 @@
     29201@@ -20265,7 +21519,7 @@
    2580329202       -) echo $tmp/stdin ;;
    2580429203       [\\/$]*)
    2580529204          # Absolute (can't be DOS-style, as IFS=:)
    2580629205-         test -f "$f" || { { echo "$as_me:20268: error: cannot find input file: $f" >&5
    25807 +         test -f "$f" || { { echo "$as_me:21366: error: cannot find input file: $f" >&5
     29206+         test -f "$f" || { { echo "$as_me:21522: error: cannot find input file: $f" >&5
    2580829207 echo "$as_me: error: cannot find input file: $f" >&2;}
    2580929208    { (exit 1); exit 1; }; }
    2581029209          echo $f;;
    25811 @@ -20278,7 +21376,7 @@
     29210@@ -20278,7 +21532,7 @@
    2581229211            echo $srcdir/$f
    2581329212          else
    2581429213            # /dev/null tree
    2581529214-           { { echo "$as_me:20281: error: cannot find input file: $f" >&5
    25816 +           { { echo "$as_me:21379: error: cannot find input file: $f" >&5
     29215+           { { echo "$as_me:21535: error: cannot find input file: $f" >&5
    2581729216 echo "$as_me: error: cannot find input file: $f" >&2;}
    2581829217    { (exit 1); exit 1; }; }
    2581929218          fi;;
    25820 @@ -20336,7 +21434,7 @@
     29219@@ -20336,7 +21590,7 @@
    2582129220   rm -f $tmp/in
    2582229221   if test x"$ac_file" != x-; then
    2582329222     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    2582429223-      { echo "$as_me:20339: $ac_file is unchanged" >&5
    25825 +      { echo "$as_me:21437: $ac_file is unchanged" >&5
     29224+      { echo "$as_me:21593: $ac_file is unchanged" >&5
    2582629225 echo "$as_me: $ac_file is unchanged" >&6;}
    2582729226     else
    2582829227       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    25829 @@ -20400,13 +21498,6 @@
     29228@@ -20394,25 +21648,20 @@
     29229        if test ! -d $srcdir/$cf_dir; then
     29230                continue
     29231        elif test -f $srcdir/$cf_dir/programs; then
     29232-               $AWK -f $srcdir/test/mk-test.awk INSTALL=no ECHO_LINK="$ECHO_LINK" $srcdir/$cf_dir/programs >>$cf_dir/Makefile
     29233+               $AWK -f $srcdir/test/mk-test.awk INSTALL=no ECHO_LINK="$ECHO_LD" $srcdir/$cf_dir/programs >>$cf_dir/Makefile
     29234        fi
     29235 done
    2583029236 
    2583129237 fi
     
    2584029246 cf_prefix=$LIB_PREFIX
    2584129247 
    25842  if test $cf_cv_shlib_version = cygdll ; then
    25843 @@ -20461,7 +21552,7 @@
     29248-if test $cf_cv_shlib_version = cygdll ; then
     29249+case $cf_cv_shlib_version in #(vi
     29250+cygdll|mingw)
     29251        TINFO_NAME=$TINFO_ARG_SUFFIX
     29252        TINFO_SUFFIX=.dll
     29253-fi
     29254+       ;;
     29255+esac
     29256 
     29257 if test -n "$TINFO_SUFFIX" ; then
     29258        case $TINFO_SUFFIX in
     29259@@ -20461,11 +21710,11 @@
    2584429260                ;;
    2584529261        shared) #(vi
     
    2585029266                        cf_depsuf=$cf_suffix
    2585129267                        ;;
    25852 @@ -20628,7 +21719,7 @@
     29268-               cygwin*) #(vi
     29269+               cygwin*|mingw*) #(vi
     29270                        cf_suffix='.dll'
     29271                        cf_depsuf='.dll.a'
     29272                        ;;
     29273@@ -20549,11 +21798,18 @@
     29274                        # cygwin needs import library, and has unique naming convention
     29275                        # use autodetected ${cf_prefix} for import lib and static lib, but
     29276                        # use 'cyg' prefix for shared lib.
     29277-                       if test $cf_cv_shlib_version = cygdll ; then
     29278+                       case $cf_cv_shlib_version in #(vi
     29279+                       cygdll) #(vi
     29280                                cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
     29281                                LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/cyg${cf_dir}${cf_cygsuf}"
     29282                                continue
     29283-                       fi
     29284+                               ;;
     29285+                       mingw)
     29286+                               cf_cygsuf=`echo "$cf_suffix" | sed -e 's/\.dll/\${ABI_VERSION}.dll/'`
     29287+                               LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/lib${cf_dir}${cf_cygsuf}"
     29288+                               continue
     29289+                               ;;
     29290+                       esac
     29291                        fi
     29292                        LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/${cf_prefix}${cf_dir}${cf_suffix}"
     29293                done
     29294@@ -20597,7 +21853,7 @@
     29295                mv $cf_dir/Makefile.out $cf_dir/Makefile
     29296 
     29297                $AWK -f $srcdir/mk-0th.awk \
     29298-                       libname="${cf_dir}${LIB_SUFFIX}" subsets="$LIB_SUBSETS" \
     29299+                       libname="${cf_dir}${LIB_SUFFIX}" subsets="$LIB_SUBSETS" ticlib="$TICS_LIB_SUFFIX" termlib="$TINFO_LIB_SUFFIX" \
     29300                        $srcdir/$cf_dir/modules >>$cf_dir/Makefile
     29301 
     29302                for cf_subset in $cf_subsets
     29303@@ -20628,11 +21884,11 @@
    2585329304                ;;
    2585429305        shared) #(vi
     
    2585929310                        cf_depsuf=$cf_suffix
    2586029311                        ;;
    25861 @@ -20743,6 +21834,7 @@
     29312-               cygwin*) #(vi
     29313+               cygwin*|mingw*) #(vi
     29314                        cf_suffix='.dll'
     29315                        cf_depsuf='.dll.a'
     29316                        ;;
     29317@@ -20743,6 +21999,7 @@
    2586229318                                prefix=$cf_prefix \
    2586329319                                suffix=$cf_suffix \
     
    2586729323                                TermlibRoot=$TINFO_NAME \
    2586829324                                TermlibSuffix=$TINFO_SUFFIX \
    25869 @@ -20979,7 +22071,7 @@
     29325@@ -20979,7 +22236,7 @@
    2587029326        fi
    2587129327 done
     
    2587729333 fi
    2587829334diff -Naur ncurses-5.9.orig/configure.in ncurses-5.9/configure.in
    25879 --- ncurses-5.9.orig/configure.in       2012-02-16 18:25:12.639809512 +0000
    25880 +++ ncurses-5.9/configure.in    2012-02-16 18:25:13.287826611 +0000
     29335--- ncurses-5.9.orig/configure.in       2012-08-25 19:57:59.429900806 +0000
     29336+++ ncurses-5.9/configure.in    2012-08-25 19:58:02.196554389 +0000
    2588129337@@ -1,5 +1,5 @@
    2588229338 dnl***************************************************************************
     
    2589129347 dnl
    2589229348-dnl $Id: configure.in,v 1.520 2011/03/28 00:22:26 tom Exp $
    25893 +dnl $Id: configure.in,v 1.541 2012/02/11 20:24:11 tom Exp $
     29349+dnl $Id: configure.in,v 1.552 2012/08/04 14:52:27 tom Exp $
    2589429350 dnl Process this file with autoconf to produce a configure script.
    2589529351 dnl
     
    2589929355 AC_PREREQ(2.13.20020210)
    2590029356-AC_REVISION($Revision: 1.520 $)
    25901 +AC_REVISION($Revision: 1.541 $)
     29357+AC_REVISION($Revision: 1.552 $)
    2590229358 AC_INIT(ncurses/base/lib_initscr.c)
    2590329359 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
    2590429360 
    25905 @@ -168,28 +168,8 @@
     29361@@ -58,7 +58,18 @@
     29362 CF_CFG_DEFAULTS
     29363 
     29364 ###    Checks for programs.
     29365-AC_PROG_CC
     29366+AC_ARG_WITH(ada,
     29367+       [  --without-ada           suppress check for Ada95, don't build demo],
     29368+       [cf_with_ada=$withval],
     29369+       [cf_with_ada=yes])
     29370+if test x"$cf_with_ada" = xyes
     29371+then
     29372+       cf_PROG_CC="gnatgcc gcc cc"
     29373+else
     29374+       cf_PROG_CC="gcc cc"
     29375+fi
     29376+
     29377+AC_PROG_CC($cf_PROG_CC)
     29378 CF_GCC_VERSION
     29379 
     29380 AC_PROG_CPP
     29381@@ -89,14 +100,16 @@
     29382                cf_with_cxx=no; CXX=""; GXX="";])dnl
     29383        AC_PROG_CXX
     29384        popdef([AC_MSG_ERROR])dnl
     29385-       # autoconf 2.5x removed the error - by hardcoding it to g++.
     29386+       # autoconf 2.5x removed the error (hardcoding it to g++, or just blank)
     29387        if test "$CXX" = "g++" ; then
     29388                AC_PATH_PROG(CXX,g++)
     29389        fi
     29390-       if test "$CXX" = "g++" ; then
     29391-               AC_MSG_WARN(ignoring hardcoded g++)
     29392+       case "x$CXX" in #(vi
     29393+       x|xg++)
     29394+               AC_MSG_WARN([You don't have any C++ compiler, too bad])
     29395                cf_with_cxx=no; CXX=""; GXX="";
     29396-       fi
     29397+               ;;
     29398+       esac
     29399 fi
     29400 
     29401 CF_GXX_VERSION
     29402@@ -116,10 +129,6 @@
     29403 AC_MSG_RESULT($cf_with_cxx_binding)
     29404 
     29405 AC_MSG_CHECKING(if you want to build with Ada95)
     29406-AC_ARG_WITH(ada,
     29407-       [  --without-ada           suppress check for Ada95, don't build demo],
     29408-       [cf_with_ada=$withval],
     29409-       [cf_with_ada=yes])
     29410 AC_MSG_RESULT($cf_with_ada)
     29411 
     29412 AC_MSG_CHECKING(if you want to install manpages)
     29413@@ -168,28 +177,8 @@
    2590629414 
    2590729415 # if we find pkg-config, check if we should install the ".pc" files.
     
    2593429442 AC_MSG_CHECKING(if we should assume mixed-case filenames)
    2593529443 AC_ARG_ENABLE(mixed-case,
    25936 @@ -321,9 +301,7 @@
     29444@@ -321,9 +310,7 @@
    2593729445 LIB_DIR=../lib
    2593829446 LIB_2ND=../../lib
     
    2594529453 LIB_SUFFIX=
    2594629454 AC_SUBST(LIB_SUFFIX)
    25947 @@ -453,7 +431,6 @@
     29455@@ -453,7 +440,6 @@
    2594829456 esac
    2594929457 AC_SUBST(TERMINFO_SRC)
     
    2595329461        AC_DEFINE(USE_DATABASE)
    2595429462 
    25955 @@ -494,6 +471,26 @@
     29463@@ -494,6 +480,26 @@
    2595629464 WHICH_XTERM=$with_xterm_new
    2595729465 AC_SUBST(WHICH_XTERM)
     
    2598029488 if test "$use_database" = no ; then
    2598129489        TERMINFO="${datadir}/terminfo"
    25982 @@ -721,14 +718,9 @@
     29490@@ -721,14 +727,9 @@
    2598329491 if test "$with_widec" = yes ; then
    2598429492        LIB_SUFFIX="w${LIB_SUFFIX}"
     
    2599729505        # with_overwrite=no
    2599829506        NCURSES_CH_T=cchar_t
    25999 @@ -883,12 +875,15 @@
     29507@@ -859,6 +860,15 @@
     29508 AC_MSG_RESULT($NCURSES_CCHARW_MAX)
     29509 AC_SUBST(NCURSES_CCHARW_MAX)
     29510 
     29511+###   use option --with-tparm-arg to override tparm's argument type
     29512+AC_MSG_CHECKING(for type of tparm args)
     29513+AC_ARG_WITH(tparm-arg,
     29514+       [  --with-tparm-arg=TYPE   override parameter type of tparm],
     29515+       [NCURSES_TPARM_ARG="$withval"],
     29516+       [NCURSES_TPARM_ARG=long])
     29517+AC_MSG_RESULT($NCURSES_TPARM_ARG)
     29518+AC_SUBST(NCURSES_TPARM_ARG)
     29519+
     29520 ### Enable compiling-in rcs id's
     29521 AC_MSG_CHECKING(if RCS identifiers should be compiled-in)
     29522 AC_ARG_WITH(rcs-ids,
     29523@@ -883,12 +893,15 @@
    2600029524 AC_MSG_RESULT($with_ext_funcs)
    2600129525 if test "$with_ext_funcs" = yes ; then
     
    2601329537        AC_DEFINE(NCURSES_EXT_FUNCS)
    2601429538        GENERATED_EXT_FUNCS=generated
    26015 @@ -1344,6 +1339,8 @@
     29539@@ -1211,19 +1224,14 @@
     29540 CF_HELP_MESSAGE(Testing/development Options:)
     29541 
     29542 ###    use option --disable-echo to suppress full display compiling commands
     29543-AC_MSG_CHECKING(if you want to display full commands during build)
     29544-AC_ARG_ENABLE(echo,
     29545-       [  --enable-echo           build: display "compiling" commands (default)],
     29546-       [with_echo=$enableval],
     29547-       [with_echo=yes])
     29548-if test "$with_echo" = yes; then
     29549+CF_DISABLE_ECHO
     29550+if test "$enable_echo" = yes; then
     29551        ECHO_LINK=
     29552 else
     29553        ECHO_LINK='@ echo linking $@ ... ;'
     29554        test -n "$LIBTOOL" && LIBTOOL="$LIBTOOL --silent"
     29555        test -n "$LIBTOOL_CXX" && LIBTOOL_CXX="$LIBTOOL_CXX --silent"
     29556 fi
     29557-AC_MSG_RESULT($with_echo)
     29558 AC_SUBST(ECHO_LINK)
     29559 
     29560 ###    use option --enable-warnings to turn on all gcc warnings
     29561@@ -1241,6 +1249,7 @@
     29562        fi
     29563 fi
     29564 CF_GCC_ATTRIBUTES
     29565+CF_ENABLE_STRING_HACKS
     29566 
     29567 ###    use option --enable-assertions to turn on generation of assertion code
     29568 AC_MSG_CHECKING(if you want to enable runtime assertions)
     29569@@ -1253,7 +1262,6 @@
     29570 then
     29571        if test "$with_assertions" = no
     29572        then
     29573-               AC_DEFINE(NDEBUG)
     29574                CPPFLAGS="$CPPFLAGS -DNDEBUG"
     29575        else
     29576                CF_ADD_ADAFLAGS(-gnata)
     29577@@ -1344,6 +1352,8 @@
    2601629578 wctype.h \
    2601729579 )
     
    2602229584 # Note: even non-Posix ISC needs <sys/bsdtypes.h> to declare fd_set
    2602329585 if test "$ISC" = yes ; then
    26024 @@ -1427,6 +1424,7 @@
     29586@@ -1393,10 +1403,12 @@
     29587 getttynam \
     29588 issetugid \
     29589 poll \
     29590+putenv \
     29591 remove \
     29592 select \
     29593 setbuf \
     29594 setbuffer \
     29595+setenv \
     29596 setvbuf \
     29597 sigaction \
     29598 sigvec \
     29599@@ -1427,6 +1439,7 @@
    2602529600        AC_FUNC_SETVBUF_REVERSED
    2602629601 fi
     
    2603029605 CF_SIZECHANGE
    2603129606 CF_FUNC_MEMMOVE
    26032 @@ -1478,50 +1476,14 @@
     29607@@ -1478,50 +1491,14 @@
    2603329608                ;;
    2603429609        esac
     
    2608429659        cf_cxx_library=no
    2608529660        cf_cv_builtin_bool=1
    26086 @@ -1739,14 +1701,17 @@
     29661@@ -1595,18 +1572,7 @@
     29662                CF_PROG_GNAT
     29663                if test "$cf_cv_prog_gnat_correct" = yes; then
     29664                        CF_ADD_ADAFLAGS(-gnatpn)
     29665-
     29666-                       # make ADAFLAGS consistent with CFLAGS
     29667-                       case "$CFLAGS" in
     29668-                       *-g*)
     29669-                               CF_ADD_ADAFLAGS(-g)
     29670-                               ;;
     29671-                       esac
     29672-                       case "$CFLAGS" in
     29673-                       *-O*)
     29674-                               CF_ADD_ADAFLAGS(-O3)
     29675-                               ;;
     29676-                       esac
     29677+                       CF_FIXUP_ADAFLAGS
     29678 
     29679                        CF_GNAT_GENERICS
     29680                        CF_GNAT_SIGINT
     29681@@ -1739,14 +1705,17 @@
    2608729682                TICS_DEP_SUFFIX="${TICS_NAME}${DFT_DEP_SUFFIX}"
    2608829683                TICS_LIB_SUFFIX="${TICS_NAME}${LIB_SUFFIX}"
     
    2610529700 if test "$with_termlib" != no ; then
    2610629701 
    26107 @@ -1768,14 +1733,22 @@
     29702@@ -1768,14 +1737,22 @@
    2610829703        if test "$DFT_LWR_MODEL" = "libtool"; then
    2610929704                TEST_ARGS="${TEST_DEPS}"
     
    2613129726        fi
    2613229727 else
    26133 @@ -1789,7 +1762,8 @@
     29728@@ -1789,7 +1766,8 @@
    2613429729                TICS_LIST="$SHLIB_LIST"
    2613529730        fi
     
    2614129736 
    2614229737 if test "$DFT_LWR_MODEL" = shared ; then
    26143 @@ -1804,7 +1778,8 @@
     29738@@ -1804,7 +1782,8 @@
    2614429739 AC_SUBST(TINFO_ARG_SUFFIX)
    2614529740 AC_SUBST(TINFO_DEP_SUFFIX)
     
    2615129746 if test "$with_dlsym" = yes ; then
    2615229747        CF_REMOVE_LIB(TICS_LIST,$TICS_LIST,dl)
    26153 @@ -1815,8 +1790,8 @@
     29748@@ -1815,8 +1794,8 @@
    2615429749 fi
    2615529750 
     
    2616229757 case $DFT_LWR_MODEL in
    2616329758 normal|debug|profile)
    26164 @@ -1857,7 +1832,7 @@
     29759@@ -1857,7 +1836,7 @@
    2616529760 
    2616629761 CF_SRC_MODULES($modules_to_build)
     
    2617129766    SUB_MAKEFILES="$SUB_MAKEFILES man/adacurses${DFT_ARG_SUFFIX}-config.1:man/MKada_config.in"
    2617229767 fi
    26173 @@ -1918,11 +1893,6 @@
     29768@@ -1918,11 +1897,6 @@
    2617429769 AC_SUBST(ADAHTML_DIR)
    2617529770 
     
    2618329778 AC_OUTPUT( \
    2618429779        include/MKterm.h.awk \
    26185 @@ -1938,7 +1908,7 @@
     29780@@ -1934,11 +1908,11 @@
     29781        $SUB_MAKEFILES \
     29782        Makefile,[
     29783 if test "x$cf_with_tests" != xno ; then
     29784-       CF_PRG_RULES([$srcdir/test/mk-test.awk INSTALL=no ECHO_LINK="$ECHO_LINK"], test)
     29785+       CF_PRG_RULES([$srcdir/test/mk-test.awk INSTALL=no ECHO_LINK="$ECHO_LD"], test)
    2618629786 fi
    2618729787 CF_LIB_RULES($SRC_SUBDIRS)
     
    2619229792        $AWK -f $srcdir/Ada95/mk-1st.awk <$srcdir/Ada95/src/modules >>Ada95/src/Makefile
    2619329793 fi
    26194 @@ -1954,6 +1924,7 @@
     29794@@ -1950,10 +1924,11 @@
     29795 AWK="$AWK"
     29796 DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
     29797 DFT_LWR_MODEL="$DFT_LWR_MODEL"
     29798-ECHO_LINK="$ECHO_LINK"
     29799+ECHO_LD="$ECHO_LD"
    2619529800 LDCONFIG="$LDCONFIG"
    2619629801 LIBTOOL_VERSION="$LIBTOOL_VERSION"
     
    2620029805 LIB_SUFFIX="$LIB_SUFFIX"
    2620129806 LIB_TRACING="$LIB_TRACING"
    26202 @@ -1985,12 +1956,14 @@
     29807@@ -1975,7 +1950,7 @@
     29808 TINFO_SUFFIX="$TINFO_SUFFIX"
     29809 USE_OLD_MAKERULES="$USE_OLD_MAKERULES"
     29810 WITH_CURSES_H="$with_curses_h"
     29811-WITH_ECHO="$with_echo"
     29812+WITH_ECHO="${enable_echo:=yes}"
     29813 WITH_OVERWRITE="$with_overwrite"
     29814 cf_LIST_MODELS="$cf_list_models"
     29815 cf_cv_abi_version="$cf_cv_abi_version"
     29816@@ -1985,12 +1960,14 @@
    2620329817 cf_cv_enable_opaque="$cf_cv_enable_opaque"
    2620429818 cf_cv_prog_CC_c_o=$cf_cv_prog_CC_c_o
     
    2621629830 cf_with_manpages="$cf_with_manpages"
    2621729831diff -Naur ncurses-5.9.orig/dist.mk ncurses-5.9/dist.mk
    26218 --- ncurses-5.9.orig/dist.mk    2012-02-16 18:25:12.639809512 +0000
    26219 +++ ncurses-5.9/dist.mk 2012-02-16 18:25:13.287826611 +0000
     29832--- ncurses-5.9.orig/dist.mk    2012-08-25 19:57:59.409900901 +0000
     29833+++ ncurses-5.9/dist.mk 2012-08-25 19:58:02.359886951 +0000
    2622029834@@ -1,5 +1,5 @@
    2622129835 ##############################################################################
     
    2623029844 ##############################################################################
    2623129845-# $Id: dist.mk,v 1.810 2011/04/04 22:42:20 tom Exp $
    26232 +# $Id: dist.mk,v 1.857 2012/02/11 14:48:13 tom Exp $
     29846+# $Id: dist.mk,v 1.886 2012/08/11 15:55:23 tom Exp $
    2623329847 # Makefile for creating ncurses distributions.
    2623429848 #
     
    2623929853 NCURSES_MINOR = 9
    2624029854-NCURSES_PATCH = 20110404
    26241 +NCURSES_PATCH = 20120211
     29855+NCURSES_PATCH = 20120811
    2624229856 
    2624329857 # We don't append the patch to the version, since this only applies to releases
    2624429858 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
    2624529859diff -Naur ncurses-5.9.orig/doc/html/man/adacurses-config.1.html ncurses-5.9/doc/html/man/adacurses-config.1.html
    26246 --- ncurses-5.9.orig/doc/html/man/adacurses-config.1.html       2012-02-16 18:25:12.663810147 +0000
    26247 +++ ncurses-5.9/doc/html/man/adacurses-config.1.html    2012-02-16 18:25:13.127822391 +0000
     29860--- ncurses-5.9.orig/doc/html/man/adacurses-config.1.html       2012-08-25 19:57:59.356567819 +0000
     29861+++ ncurses-5.9/doc/html/man/adacurses-config.1.html    2012-08-25 19:58:00.273230151 +0000
    2624829862@@ -83,7 +83,7 @@
    2624929863 <H2>SEE ALSO</H2><PRE>
     
    2625629870 
    2625729871diff -Naur ncurses-5.9.orig/doc/html/man/captoinfo.1m.html ncurses-5.9/doc/html/man/captoinfo.1m.html
    26258 --- ncurses-5.9.orig/doc/html/man/captoinfo.1m.html     2012-02-16 18:25:12.663810147 +0000
    26259 +++ ncurses-5.9/doc/html/man/captoinfo.1m.html  2012-02-16 18:25:13.127822391 +0000
     29872--- ncurses-5.9.orig/doc/html/man/captoinfo.1m.html     2012-08-25 19:57:59.363234455 +0000
     29873+++ ncurses-5.9/doc/html/man/captoinfo.1m.html  2012-08-25 19:58:00.273230151 +0000
    2626029874@@ -208,7 +208,7 @@
    2626129875 <H2>SEE ALSO</H2><PRE>
     
    2626829882 </PRE>
    2626929883diff -Naur ncurses-5.9.orig/doc/html/man/clear.1.html ncurses-5.9/doc/html/man/clear.1.html
    26270 --- ncurses-5.9.orig/doc/html/man/clear.1.html  2012-02-16 18:25:12.659810041 +0000
    26271 +++ ncurses-5.9/doc/html/man/clear.1.html       2012-02-16 18:25:13.127822391 +0000
     29884--- ncurses-5.9.orig/doc/html/man/clear.1.html  2012-08-25 19:57:59.363234455 +0000
     29885+++ ncurses-5.9/doc/html/man/clear.1.html       2012-08-25 19:58:00.273230151 +0000
    2627229886@@ -69,7 +69,7 @@
    2627329887 <H2>SEE ALSO</H2><PRE>
     
    2628029894 
    2628129895diff -Naur ncurses-5.9.orig/doc/html/man/curs_termcap.3x.html ncurses-5.9/doc/html/man/curs_termcap.3x.html
    26282 --- ncurses-5.9.orig/doc/html/man/curs_termcap.3x.html  2012-02-16 18:25:12.663810147 +0000
    26283 +++ ncurses-5.9/doc/html/man/curs_termcap.3x.html       2012-02-16 18:25:13.127822391 +0000
     29896--- ncurses-5.9.orig/doc/html/man/curs_termcap.3x.html  2012-08-25 19:57:59.356567819 +0000
     29897+++ ncurses-5.9/doc/html/man/curs_termcap.3x.html       2012-08-25 19:58:00.276563468 +0000
    2628429898@@ -1,7 +1,7 @@
    2628529899 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2645630070 
    2645730071diff -Naur ncurses-5.9.orig/doc/html/man/curs_terminfo.3x.html ncurses-5.9/doc/html/man/curs_terminfo.3x.html
    26458 --- ncurses-5.9.orig/doc/html/man/curs_terminfo.3x.html 2012-02-16 18:25:12.663810147 +0000
    26459 +++ ncurses-5.9/doc/html/man/curs_terminfo.3x.html      2012-02-16 18:25:13.127822391 +0000
     30072--- ncurses-5.9.orig/doc/html/man/curs_terminfo.3x.html 2012-08-25 19:57:59.359901137 +0000
     30073+++ ncurses-5.9/doc/html/man/curs_terminfo.3x.html      2012-08-25 19:58:00.276563468 +0000
    2646030074@@ -1,7 +1,7 @@
    2646130075 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2660530219 
    2660630220diff -Naur ncurses-5.9.orig/doc/html/man/curs_util.3x.html ncurses-5.9/doc/html/man/curs_util.3x.html
    26607 --- ncurses-5.9.orig/doc/html/man/curs_util.3x.html     2012-02-16 18:25:12.663810147 +0000
    26608 +++ ncurses-5.9/doc/html/man/curs_util.3x.html  2012-02-16 18:25:13.127822391 +0000
     30221--- ncurses-5.9.orig/doc/html/man/curs_util.3x.html     2012-08-25 19:57:59.359901137 +0000
     30222+++ ncurses-5.9/doc/html/man/curs_util.3x.html  2012-08-25 19:58:00.276563468 +0000
    2660930223@@ -1,7 +1,7 @@
    2661030224 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2662630240 <HEAD>
    2662730241diff -Naur ncurses-5.9.orig/doc/html/man/form.3x.html ncurses-5.9/doc/html/man/form.3x.html
    26628 --- ncurses-5.9.orig/doc/html/man/form.3x.html  2012-02-16 18:25:12.663810147 +0000
    26629 +++ ncurses-5.9/doc/html/man/form.3x.html       2012-02-16 18:25:13.127822391 +0000
     30242--- ncurses-5.9.orig/doc/html/man/form.3x.html  2012-08-25 19:57:59.363234455 +0000
     30243+++ ncurses-5.9/doc/html/man/form.3x.html       2012-08-25 19:58:00.276563468 +0000
    2663030244@@ -243,7 +243,7 @@
    2663130245 
     
    2663830252 
    2663930253diff -Naur ncurses-5.9.orig/doc/html/man/infocmp.1m.html ncurses-5.9/doc/html/man/infocmp.1m.html
    26640 --- ncurses-5.9.orig/doc/html/man/infocmp.1m.html       2012-02-16 18:25:12.659810041 +0000
    26641 +++ ncurses-5.9/doc/html/man/infocmp.1m.html    2012-02-16 18:25:13.127822391 +0000
     30254--- ncurses-5.9.orig/doc/html/man/infocmp.1m.html       2012-08-25 19:57:59.363234455 +0000
     30255+++ ncurses-5.9/doc/html/man/infocmp.1m.html    2012-08-25 19:58:00.276563468 +0000
    2664230256@@ -2,7 +2,7 @@
    2664330257 <!--
     
    2678530399 </PRE>
    2678630400diff -Naur ncurses-5.9.orig/doc/html/man/infotocap.1m.html ncurses-5.9/doc/html/man/infotocap.1m.html
    26787 --- ncurses-5.9.orig/doc/html/man/infotocap.1m.html     2012-02-16 18:25:12.663810147 +0000
    26788 +++ ncurses-5.9/doc/html/man/infotocap.1m.html  2012-02-16 18:25:13.127822391 +0000
     30401--- ncurses-5.9.orig/doc/html/man/infotocap.1m.html     2012-08-25 19:57:59.363234455 +0000
     30402+++ ncurses-5.9/doc/html/man/infotocap.1m.html  2012-08-25 19:58:00.276563468 +0000
    2678930403@@ -94,7 +94,7 @@
    2679030404 <H2>SEE ALSO</H2><PRE>
     
    2679730411 </PRE>
    2679830412diff -Naur ncurses-5.9.orig/doc/html/man/menu.3x.html ncurses-5.9/doc/html/man/menu.3x.html
    26799 --- ncurses-5.9.orig/doc/html/man/menu.3x.html  2012-02-16 18:25:12.659810041 +0000
    26800 +++ ncurses-5.9/doc/html/man/menu.3x.html       2012-02-16 18:25:13.131822496 +0000
     30413--- ncurses-5.9.orig/doc/html/man/menu.3x.html  2012-08-25 19:57:59.356567819 +0000
     30414+++ ncurses-5.9/doc/html/man/menu.3x.html       2012-08-25 19:58:00.279896785 +0000
    2680130415@@ -226,7 +226,7 @@
    2680230416 
     
    2680930423 
    2681030424diff -Naur ncurses-5.9.orig/doc/html/man/ncurses.3x.html ncurses-5.9/doc/html/man/ncurses.3x.html
    26811 --- ncurses-5.9.orig/doc/html/man/ncurses.3x.html       2012-02-16 18:25:12.659810041 +0000
    26812 +++ ncurses-5.9/doc/html/man/ncurses.3x.html    2012-02-16 18:25:13.131822496 +0000
     30425--- ncurses-5.9.orig/doc/html/man/ncurses.3x.html       2012-08-25 19:57:59.359901137 +0000
     30426+++ ncurses-5.9/doc/html/man/ncurses.3x.html    2012-08-25 19:58:00.279896785 +0000
    2681330427@@ -28,7 +28,7 @@
    2681430428   * sale, use or other dealings in this Software without prior written       *
     
    2745631070        <STRONG>o</STRONG>   The routine <STRONG>has_key</STRONG> is not part of  XPG4,  nor  is  it
    2745731071diff -Naur ncurses-5.9.orig/doc/html/man/ncurses5-config.1.html ncurses-5.9/doc/html/man/ncurses5-config.1.html
    27458 --- ncurses-5.9.orig/doc/html/man/ncurses5-config.1.html        2012-02-16 18:25:12.659810041 +0000
    27459 +++ ncurses-5.9/doc/html/man/ncurses5-config.1.html     2012-02-16 18:25:13.131822496 +0000
     31072--- ncurses-5.9.orig/doc/html/man/ncurses5-config.1.html        2012-08-25 19:57:59.359901137 +0000
     31073+++ ncurses-5.9/doc/html/man/ncurses5-config.1.html     2012-08-25 19:58:00.279896785 +0000
    2746031074@@ -105,7 +105,8 @@
    2746131075 
     
    2747831092 
    2747931093diff -Naur ncurses-5.9.orig/doc/html/man/panel.3x.html ncurses-5.9/doc/html/man/panel.3x.html
    27480 --- ncurses-5.9.orig/doc/html/man/panel.3x.html 2012-02-16 18:25:12.659810041 +0000
    27481 +++ ncurses-5.9/doc/html/man/panel.3x.html      2012-02-16 18:25:13.131822496 +0000
     31094--- ncurses-5.9.orig/doc/html/man/panel.3x.html 2012-08-25 19:57:59.359901137 +0000
     31095+++ ncurses-5.9/doc/html/man/panel.3x.html      2012-08-25 19:58:00.283230103 +0000
    2748231096@@ -218,7 +218,7 @@
    2748331097 <H2>SEE ALSO</H2><PRE>
     
    2749031104 </PRE>
    2749131105diff -Naur ncurses-5.9.orig/doc/html/man/tabs.1.html ncurses-5.9/doc/html/man/tabs.1.html
    27492 --- ncurses-5.9.orig/doc/html/man/tabs.1.html   2012-02-16 18:25:12.659810041 +0000
    27493 +++ ncurses-5.9/doc/html/man/tabs.1.html        2012-02-16 18:25:13.131822496 +0000
     31106--- ncurses-5.9.orig/doc/html/man/tabs.1.html   2012-08-25 19:57:59.356567819 +0000
     31107+++ ncurses-5.9/doc/html/man/tabs.1.html        2012-08-25 19:58:00.283230103 +0000
    2749431108@@ -1,7 +1,7 @@
    2749531109 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2752031134 
    2752131135diff -Naur ncurses-5.9.orig/doc/html/man/term.7.html ncurses-5.9/doc/html/man/term.7.html
    27522 --- ncurses-5.9.orig/doc/html/man/term.7.html   2012-02-16 18:25:12.655809935 +0000
    27523 +++ ncurses-5.9/doc/html/man/term.7.html        2012-02-16 18:25:13.131822496 +0000
     31136--- ncurses-5.9.orig/doc/html/man/term.7.html   2012-08-25 19:57:59.356567819 +0000
     31137+++ ncurses-5.9/doc/html/man/term.7.html        2012-08-25 19:58:00.283230103 +0000
    2752431138@@ -1,7 +1,7 @@
    2752531139 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2754131155 <HEAD>
    2754231156diff -Naur ncurses-5.9.orig/doc/html/man/term_variables.3x.html ncurses-5.9/doc/html/man/term_variables.3x.html
    27543 --- ncurses-5.9.orig/doc/html/man/term_variables.3x.html        2012-02-16 18:25:12.659810041 +0000
    27544 +++ ncurses-5.9/doc/html/man/term_variables.3x.html     2012-02-16 18:25:13.131822496 +0000
     31157--- ncurses-5.9.orig/doc/html/man/term_variables.3x.html        2012-08-25 19:57:59.363234455 +0000
     31158+++ ncurses-5.9/doc/html/man/term_variables.3x.html     2012-08-25 19:58:00.283230103 +0000
    2754531159@@ -1,7 +1,7 @@
    2754631160 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2756231176 <HEAD>
    2756331177diff -Naur ncurses-5.9.orig/doc/html/man/terminfo.5.html ncurses-5.9/doc/html/man/terminfo.5.html
    27564 --- ncurses-5.9.orig/doc/html/man/terminfo.5.html       2012-02-16 18:25:12.655809935 +0000
    27565 +++ ncurses-5.9/doc/html/man/terminfo.5.html    2012-02-16 18:25:13.135822601 +0000
     31178--- ncurses-5.9.orig/doc/html/man/terminfo.5.html       2012-08-25 19:57:59.363234455 +0000
     31179+++ ncurses-5.9/doc/html/man/terminfo.5.html    2012-08-25 19:58:00.286563421 +0000
    2756631180@@ -34,7 +34,7 @@
    2756731181   ****************************************************************************
     
    2862632240        upper left corner          ACS_ULCORNER   +          l
    2862732241diff -Naur ncurses-5.9.orig/doc/html/man/tic.1m.html ncurses-5.9/doc/html/man/tic.1m.html
    28628 --- ncurses-5.9.orig/doc/html/man/tic.1m.html   2012-02-16 18:25:12.663810147 +0000
    28629 +++ ncurses-5.9/doc/html/man/tic.1m.html        2012-02-16 18:25:13.135822601 +0000
     32242--- ncurses-5.9.orig/doc/html/man/tic.1m.html   2012-08-25 19:57:59.356567819 +0000
     32243+++ ncurses-5.9/doc/html/man/tic.1m.html        2012-08-25 19:58:00.289896739 +0000
    2863032244@@ -1,7 +1,7 @@
    2863132245 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2905832672 </PRE>
    2905932673diff -Naur ncurses-5.9.orig/doc/html/man/toe.1m.html ncurses-5.9/doc/html/man/toe.1m.html
    29060 --- ncurses-5.9.orig/doc/html/man/toe.1m.html   2012-02-16 18:25:12.663810147 +0000
    29061 +++ ncurses-5.9/doc/html/man/toe.1m.html        2012-02-16 18:25:13.135822601 +0000
     32674--- ncurses-5.9.orig/doc/html/man/toe.1m.html   2012-08-25 19:57:59.363234455 +0000
     32675+++ ncurses-5.9/doc/html/man/toe.1m.html        2012-08-25 19:58:00.289896739 +0000
    2906232676@@ -1,7 +1,7 @@
    2906332677 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2911232726 
    2911332727diff -Naur ncurses-5.9.orig/doc/html/man/tput.1.html ncurses-5.9/doc/html/man/tput.1.html
    29114 --- ncurses-5.9.orig/doc/html/man/tput.1.html   2012-02-16 18:25:12.655809935 +0000
    29115 +++ ncurses-5.9/doc/html/man/tput.1.html        2012-02-16 18:25:13.135822601 +0000
     32728--- ncurses-5.9.orig/doc/html/man/tput.1.html   2012-08-25 19:57:59.363234455 +0000
     32729+++ ncurses-5.9/doc/html/man/tput.1.html        2012-08-25 19:58:00.289896739 +0000
    2911632730@@ -2,7 +2,7 @@
    2911732731 <!--
     
    2916732781 
    2916832782diff -Naur ncurses-5.9.orig/doc/html/man/tset.1.html ncurses-5.9/doc/html/man/tset.1.html
    29169 --- ncurses-5.9.orig/doc/html/man/tset.1.html   2012-02-16 18:25:12.663810147 +0000
    29170 +++ ncurses-5.9/doc/html/man/tset.1.html        2012-02-16 18:25:13.139822706 +0000
     32783--- ncurses-5.9.orig/doc/html/man/tset.1.html   2012-08-25 19:57:59.363234455 +0000
     32784+++ ncurses-5.9/doc/html/man/tset.1.html        2012-08-25 19:58:00.289896739 +0000
    2917132785@@ -1,7 +1,7 @@
    2917232786 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     
    2945733071 
    2945833072 
     33073diff -Naur ncurses-5.9.orig/doc/html/ncurses-intro.html ncurses-5.9/doc/html/ncurses-intro.html
     33074--- ncurses-5.9.orig/doc/html/ncurses-intro.html        2012-08-25 19:57:59.366567772 +0000
     33075+++ ncurses-5.9/doc/html/ncurses-intro.html     2012-08-25 19:58:01.293225327 +0000
     33076@@ -1,8 +1,8 @@
     33077 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     33078 <!--
     33079-  $Id: ncurses-intro.html,v 1.44 2010/12/04 16:46:22 tom Exp $
     33080+  $Id: ncurses-intro.html,v 1.45 2012/04/28 21:39:17 Paul.Waring Exp $
     33081   ****************************************************************************
     33082-  * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
     33083+  * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33084   *                                                                          *
     33085   * Permission is hereby granted, free of charge, to any person obtaining a  *
     33086   * copy of this software and associated documentation files (the            *
     33087@@ -431,6 +431,7 @@
     33088 Here is a sample program to motivate the discussion:
     33089 
     33090 <PRE>
     33091+#include &lt;stdlib.h&gt;
     33092 #include &lt;curses.h&gt;
     33093 #include &lt;signal.h&gt;
     33094 
     33095diff -Naur ncurses-5.9.orig/doc/ncurses-intro.doc ncurses-5.9/doc/ncurses-intro.doc
     33096--- ncurses-5.9.orig/doc/ncurses-intro.doc      2012-08-25 19:57:59.373234406 +0000
     33097+++ ncurses-5.9/doc/ncurses-intro.doc   2012-08-25 19:58:01.296558645 +0000
     33098@@ -333,6 +333,7 @@
     33099 
     33100    Here is a sample program to motivate the discussion:
     33101 #include <curses.h>
     33102+#include <curses.h>
     33103 #include <signal.h>
     33104 
     33105 static void finish(int sig);
    2945933106diff -Naur ncurses-5.9.orig/form/Makefile.in ncurses-5.9/form/Makefile.in
    29460 --- ncurses-5.9.orig/form/Makefile.in   2012-02-16 18:25:12.623809091 +0000
    29461 +++ ncurses-5.9/form/Makefile.in        2012-02-16 18:25:12.947817639 +0000
     33107--- ncurses-5.9.orig/form/Makefile.in   2012-08-25 19:57:59.399900947 +0000
     33108+++ ncurses-5.9/form/Makefile.in        2012-08-25 19:57:59.963231616 +0000
    2946233109@@ -1,6 +1,6 @@
    2946333110-# $Id: Makefile.in,v 1.53 2010/11/27 21:45:27 tom Exp $
     
    2947733124 
    2947833125 NCURSES_MAJOR  = @NCURSES_MAJOR@
    29479 diff -Naur ncurses-5.9.orig/form/fld_def.c ncurses-5.9/form/fld_def.c
    29480 --- ncurses-5.9.orig/form/fld_def.c     2012-02-16 18:25:12.623809091 +0000
    29481 +++ ncurses-5.9/form/fld_def.c  2012-02-16 18:25:12.947817639 +0000
     33126diff -Naur ncurses-5.9.orig/form/fld_arg.c ncurses-5.9/form/fld_arg.c
     33127--- ncurses-5.9.orig/form/fld_arg.c     2012-08-25 19:57:59.399900947 +0000
     33128+++ ncurses-5.9/form/fld_arg.c  2012-08-25 19:58:01.703223389 +0000
    2948233129@@ -1,5 +1,5 @@
    2948333130 /****************************************************************************
    29484 - * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
    29485 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     33131- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33132+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
    2948633133  *                                                                          *
    2948733134  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    2949133138 #include "form.priv.h"
    2949233139 
     33140-MODULE_ID("$Id: fld_arg.c,v 1.12 2010/01/23 21:14:35 tom Exp $")
     33141+MODULE_ID("$Id: fld_arg.c,v 1.13 2012/06/10 00:27:49 tom Exp $")
     33142 
     33143 /*---------------------------------------------------------------------------
     33144 |   Facility      :  libnform
     33145@@ -71,7 +71,7 @@
     33146 
     33147   if (typ != 0 && make_arg != (void *)0)
     33148     {
     33149-      typ->status |= _HAS_ARGS;
     33150+      SetStatus(typ, _HAS_ARGS);
     33151       typ->makearg = make_arg;
     33152       typ->copyarg = copy_arg;
     33153       typ->freearg = free_arg;
     33154diff -Naur ncurses-5.9.orig/form/fld_def.c ncurses-5.9/form/fld_def.c
     33155--- ncurses-5.9.orig/form/fld_def.c     2012-08-25 19:57:59.399900947 +0000
     33156+++ ncurses-5.9/form/fld_def.c  2012-08-25 19:58:00.973226841 +0000
     33157@@ -1,5 +1,5 @@
     33158 /****************************************************************************
     33159- * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
     33160+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     33161  *                                                                          *
     33162  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33163  * copy of this software and associated documentation files (the            *
     33164@@ -32,7 +32,7 @@
     33165 
     33166 #include "form.priv.h"
     33167 
    2949333168-MODULE_ID("$Id: fld_def.c,v 1.38 2010/01/23 21:14:35 tom Exp $")
    29494 +MODULE_ID("$Id: fld_def.c,v 1.39 2011/07/16 22:26:11 tom Exp $")
     33169+MODULE_ID("$Id: fld_def.c,v 1.40 2012/03/11 00:37:16 tom Exp $")
    2949533170 
    2949633171 /* this can't be readonly */
     
    2952333198       else
    2952433199        {
    29525 diff -Naur ncurses-5.9.orig/form/frm_driver.c ncurses-5.9/form/frm_driver.c
    29526 --- ncurses-5.9.orig/form/frm_driver.c  2012-02-16 18:25:12.623809091 +0000
    29527 +++ ncurses-5.9/form/frm_driver.c       2012-02-16 18:25:12.951817745 +0000
     33200@@ -293,14 +294,14 @@
     33201     {
     33202       T((T_CREATE("field %p"), (void *)New_Field));
     33203       *New_Field = default_field;
     33204-      New_Field->rows = rows;
     33205-      New_Field->cols = cols;
     33206+      New_Field->rows = (short) rows;
     33207+      New_Field->cols = (short) cols;
     33208       New_Field->drows = rows + nrow;
     33209       New_Field->dcols = cols;
     33210-      New_Field->frow = frow;
     33211-      New_Field->fcol = fcol;
     33212+      New_Field->frow = (short) frow;
     33213+      New_Field->fcol = (short) fcol;
     33214       New_Field->nrow = nrow;
     33215-      New_Field->nbuf = nbuf;
     33216+      New_Field->nbuf = (short) nbuf;
     33217       New_Field->link = New_Field;
     33218 
     33219 #if USE_WIDEC_SUPPORT
     33220diff -Naur ncurses-5.9.orig/form/fld_dup.c ncurses-5.9/form/fld_dup.c
     33221--- ncurses-5.9.orig/form/fld_dup.c     2012-08-25 19:57:59.399900947 +0000
     33222+++ ncurses-5.9/form/fld_dup.c  2012-08-25 19:58:00.973226841 +0000
    2952833223@@ -1,5 +1,5 @@
    2952933224 /****************************************************************************
    29530 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    29531 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     33225- * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
     33226+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
    2953233227  *                                                                          *
    2953333228  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    2953733232 #include "form.priv.h"
    2953833233 
     33234-MODULE_ID("$Id: fld_dup.c,v 1.13 2010/01/23 21:14:35 tom Exp $")
     33235+MODULE_ID("$Id: fld_dup.c,v 1.14 2012/03/11 00:37:16 tom Exp $")
     33236 
     33237 /*---------------------------------------------------------------------------
     33238 |   Facility      :  libnform
     33239@@ -60,8 +60,8 @@
     33240     {
     33241       T((T_CREATE("field %p"), (void *)New_Field));
     33242       *New_Field = *_nc_Default_Field;
     33243-      New_Field->frow = frow;
     33244-      New_Field->fcol = fcol;
     33245+      New_Field->frow = (short) frow;
     33246+      New_Field->fcol = (short) fcol;
     33247       New_Field->link = New_Field;
     33248       New_Field->rows = field->rows;
     33249       New_Field->cols = field->cols;
     33250diff -Naur ncurses-5.9.orig/form/fld_ftchoice.c ncurses-5.9/form/fld_ftchoice.c
     33251--- ncurses-5.9.orig/form/fld_ftchoice.c        2012-08-25 19:57:59.396567629 +0000
     33252+++ ncurses-5.9/form/fld_ftchoice.c     2012-08-25 19:58:01.703223389 +0000
     33253@@ -1,5 +1,5 @@
     33254 /****************************************************************************
     33255- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     33256+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33257  *                                                                          *
     33258  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33259  * copy of this software and associated documentation files (the            *
     33260@@ -32,7 +32,7 @@
     33261 
     33262 #include "form.priv.h"
     33263 
     33264-MODULE_ID("$Id: fld_ftchoice.c,v 1.12 2010/01/23 21:14:35 tom Exp $")
     33265+MODULE_ID("$Id: fld_ftchoice.c,v 1.13 2012/06/10 00:27:49 tom Exp $")
     33266 
     33267 /*---------------------------------------------------------------------------
     33268 |   Facility      :  libnform 
     33269@@ -56,7 +56,7 @@
     33270   if (!typ || !next_choice || !prev_choice)
     33271     RETURN(E_BAD_ARGUMENT);
     33272 
     33273-  typ->status |= _HAS_CHOICE;
     33274+  SetStatus(typ, _HAS_CHOICE);
     33275 #if NCURSES_INTEROP_FUNCS
     33276   typ->enum_next.onext = next_choice;
     33277   typ->enum_prev.oprev = prev_choice;
     33278diff -Naur ncurses-5.9.orig/form/fld_ftlink.c ncurses-5.9/form/fld_ftlink.c
     33279--- ncurses-5.9.orig/form/fld_ftlink.c  2012-08-25 19:57:59.399900947 +0000
     33280+++ ncurses-5.9/form/fld_ftlink.c       2012-08-25 19:58:01.703223389 +0000
     33281@@ -1,5 +1,5 @@
     33282 /****************************************************************************
     33283- * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
     33284+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33285  *                                                                          *
     33286  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33287  * copy of this software and associated documentation files (the            *
     33288@@ -32,7 +32,7 @@
     33289 
     33290 #include "form.priv.h"
     33291 
     33292-MODULE_ID("$Id: fld_ftlink.c,v 1.14 2010/01/23 21:14:35 tom Exp $")
     33293+MODULE_ID("$Id: fld_ftlink.c,v 1.15 2012/06/10 00:27:49 tom Exp $")
     33294 
     33295 /*---------------------------------------------------------------------------
     33296 |   Facility      :  libnform 
     33297@@ -62,11 +62,11 @@
     33298        {
     33299          T((T_CREATE("fieldtype %p"), (void *)nftyp));
     33300          *nftyp = *_nc_Default_FieldType;
     33301-         nftyp->status |= _LINKED_TYPE;
     33302+         SetStatus(nftyp, _LINKED_TYPE);
     33303          if ((type1->status & _HAS_ARGS) || (type2->status & _HAS_ARGS))
     33304-           nftyp->status |= _HAS_ARGS;
     33305+           SetStatus(nftyp, _HAS_ARGS);
     33306          if ((type1->status & _HAS_CHOICE) || (type2->status & _HAS_CHOICE))
     33307-           nftyp->status |= _HAS_CHOICE;
     33308+           SetStatus(nftyp, _HAS_CHOICE);
     33309          nftyp->left = type1;
     33310          nftyp->right = type2;
     33311          type1->ref++;
     33312diff -Naur ncurses-5.9.orig/form/fld_just.c ncurses-5.9/form/fld_just.c
     33313--- ncurses-5.9.orig/form/fld_just.c    2012-08-25 19:57:59.399900947 +0000
     33314+++ ncurses-5.9/form/fld_just.c 2012-08-25 19:58:00.973226841 +0000
     33315@@ -1,5 +1,5 @@
     33316 /****************************************************************************
     33317- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33318+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33319  *                                                                          *
     33320  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33321  * copy of this software and associated documentation files (the            *
     33322@@ -32,7 +32,7 @@
     33323 
     33324 #include "form.priv.h"
     33325 
     33326-MODULE_ID("$Id: fld_just.c,v 1.12 2010/01/23 21:14:35 tom Exp $")
     33327+MODULE_ID("$Id: fld_just.c,v 1.13 2012/03/11 00:37:16 tom Exp $")
     33328 
     33329 /*---------------------------------------------------------------------------
     33330 |   Facility      :  libnform 
     33331@@ -59,7 +59,7 @@
     33332       Normalize_Field(field);
     33333       if (field->just != just)
     33334        {
     33335-         field->just = just;
     33336+         field->just = (short) just;
     33337          res = _nc_Synchronize_Attributes(field);
     33338        }
     33339       else
     33340diff -Naur ncurses-5.9.orig/form/fld_link.c ncurses-5.9/form/fld_link.c
     33341--- ncurses-5.9.orig/form/fld_link.c    2012-08-25 19:57:59.399900947 +0000
     33342+++ ncurses-5.9/form/fld_link.c 2012-08-25 19:58:00.976560158 +0000
     33343@@ -1,5 +1,5 @@
     33344 /****************************************************************************
     33345- * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
     33346+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33347  *                                                                          *
     33348  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33349  * copy of this software and associated documentation files (the            *
     33350@@ -32,7 +32,7 @@
     33351 
     33352 #include "form.priv.h"
     33353 
     33354-MODULE_ID("$Id: fld_link.c,v 1.12 2010/01/23 21:14:35 tom Exp $")
     33355+MODULE_ID("$Id: fld_link.c,v 1.13 2012/03/11 00:37:16 tom Exp $")
     33356 
     33357 /*---------------------------------------------------------------------------
     33358 |   Facility      :  libnform 
     33359@@ -61,8 +61,8 @@
     33360     {
     33361       T((T_CREATE("field %p"), (void *)New_Field));
     33362       *New_Field = *_nc_Default_Field;
     33363-      New_Field->frow = frow;
     33364-      New_Field->fcol = fcol;
     33365+      New_Field->frow = (short) frow;
     33366+      New_Field->fcol = (short) fcol;
     33367 
     33368       New_Field->link = field->link;
     33369       field->link = New_Field;
     33370diff -Naur ncurses-5.9.orig/form/fld_max.c ncurses-5.9/form/fld_max.c
     33371--- ncurses-5.9.orig/form/fld_max.c     2012-08-25 19:57:59.399900947 +0000
     33372+++ ncurses-5.9/form/fld_max.c  2012-08-25 19:58:01.706556707 +0000
     33373@@ -1,5 +1,5 @@
     33374 /****************************************************************************
     33375- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33376+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33377  *                                                                          *
     33378  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33379  * copy of this software and associated documentation files (the            *
     33380@@ -32,7 +32,7 @@
     33381 
     33382 #include "form.priv.h"
     33383 
     33384-MODULE_ID("$Id: fld_max.c,v 1.10 2010/01/23 21:14:36 tom Exp $")
     33385+MODULE_ID("$Id: fld_max.c,v 1.12 2012/06/10 00:21:24 tom Exp $")
     33386 
     33387 /*---------------------------------------------------------------------------
     33388 |   Facility      :  libnform 
     33389@@ -62,13 +62,13 @@
     33390            RETURN(E_BAD_ARGUMENT);
     33391        }
     33392       field->maxgrow = maxgrow;
     33393-      field->status &= ~_MAY_GROW;
     33394+      ClrStatus(field, _MAY_GROW);
     33395       if (!(field->opts & O_STATIC))
     33396        {
     33397          if ((maxgrow == 0) ||
     33398              (single_line_field && (field->dcols < maxgrow)) ||
     33399              (!single_line_field && (field->drows < maxgrow)))
     33400-           field->status |= _MAY_GROW;
     33401+           SetStatus(field, _MAY_GROW);
     33402        }
     33403     }
     33404   RETURN(E_OK);
     33405diff -Naur ncurses-5.9.orig/form/fld_move.c ncurses-5.9/form/fld_move.c
     33406--- ncurses-5.9.orig/form/fld_move.c    2012-08-25 19:57:59.399900947 +0000
     33407+++ ncurses-5.9/form/fld_move.c 2012-08-25 19:58:00.976560158 +0000
     33408@@ -1,5 +1,5 @@
     33409 /****************************************************************************
     33410- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33411+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33412  *                                                                          *
     33413  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33414  * copy of this software and associated documentation files (the            *
     33415@@ -32,7 +32,7 @@
     33416 
     33417 #include "form.priv.h"
     33418 
     33419-MODULE_ID("$Id: fld_move.c,v 1.10 2010/01/23 21:14:36 tom Exp $")
     33420+MODULE_ID("$Id: fld_move.c,v 1.11 2012/03/11 00:37:16 tom Exp $")
     33421 
     33422 /*---------------------------------------------------------------------------
     33423 |   Facility      :  libnform 
     33424@@ -56,8 +56,8 @@
     33425   if (field->form)
     33426     RETURN(E_CONNECTED);
     33427 
     33428-  field->frow = frow;
     33429-  field->fcol = fcol;
     33430+  field->frow = (short) frow;
     33431+  field->fcol = (short) fcol;
     33432   RETURN(E_OK);
     33433 }
     33434 
     33435diff -Naur ncurses-5.9.orig/form/fld_page.c ncurses-5.9/form/fld_page.c
     33436--- ncurses-5.9.orig/form/fld_page.c    2012-08-25 19:57:59.399900947 +0000
     33437+++ ncurses-5.9/form/fld_page.c 2012-08-25 19:58:01.706556707 +0000
     33438@@ -1,5 +1,5 @@
     33439 /****************************************************************************
     33440- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33441+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33442  *                                                                          *
     33443  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33444  * copy of this software and associated documentation files (the            *
     33445@@ -32,7 +32,7 @@
     33446 
     33447 #include "form.priv.h"
     33448 
     33449-MODULE_ID("$Id: fld_page.c,v 1.10 2010/01/23 21:14:36 tom Exp $")
     33450+MODULE_ID("$Id: fld_page.c,v 1.12 2012/06/10 00:12:47 tom Exp $")
     33451 
     33452 /*---------------------------------------------------------------------------
     33453 |   Facility      :  libnform 
     33454@@ -54,9 +54,9 @@
     33455     RETURN(E_CONNECTED);
     33456 
     33457   if (new_page_flag)
     33458-    field->status |= _NEWPAGE;
     33459+    SetStatus(field, _NEWPAGE);
     33460   else
     33461-    field->status &= ~_NEWPAGE;
     33462+    ClrStatus(field, _NEWPAGE);
     33463 
     33464   RETURN(E_OK);
     33465 }
     33466diff -Naur ncurses-5.9.orig/form/fld_stat.c ncurses-5.9/form/fld_stat.c
     33467--- ncurses-5.9.orig/form/fld_stat.c    2012-08-25 19:57:59.399900947 +0000
     33468+++ ncurses-5.9/form/fld_stat.c 2012-08-25 19:58:01.706556707 +0000
     33469@@ -1,5 +1,5 @@
     33470 /****************************************************************************
     33471- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     33472+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33473  *                                                                          *
     33474  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33475  * copy of this software and associated documentation files (the            *
     33476@@ -32,7 +32,7 @@
     33477 
     33478 #include "form.priv.h"
     33479 
     33480-MODULE_ID("$Id: fld_stat.c,v 1.12 2010/01/23 21:14:36 tom Exp $")
     33481+MODULE_ID("$Id: fld_stat.c,v 1.14 2012/06/10 00:13:09 tom Exp $")
     33482 
     33483 /*---------------------------------------------------------------------------
     33484 |   Facility      :  libnform 
     33485@@ -51,9 +51,9 @@
     33486   Normalize_Field(field);
     33487 
     33488   if (status)
     33489-    field->status |= _CHANGED;
     33490+    SetStatus(field, _CHANGED);
     33491   else
     33492-    field->status &= ~_CHANGED;
     33493+    ClrStatus(field, _CHANGED);
     33494 
     33495   RETURN(E_OK);
     33496 }
     33497diff -Naur ncurses-5.9.orig/form/form.priv.h ncurses-5.9/form/form.priv.h
     33498--- ncurses-5.9.orig/form/form.priv.h   2012-08-25 19:57:59.399900947 +0000
     33499+++ ncurses-5.9/form/form.priv.h        2012-08-25 19:58:00.976560158 +0000
     33500@@ -1,5 +1,5 @@
     33501 /****************************************************************************
     33502- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
     33503+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     33504  *                                                                          *
     33505  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33506  * copy of this software and associated documentation files (the            *
     33507@@ -30,11 +30,11 @@
     33508  *   Author:  Juergen Pfeifer, 1995,1997                                    *
     33509  ****************************************************************************/
     33510 
     33511-/* $Id: form.priv.h,v 0.32 2009/11/07 21:26:43 tom Exp $ */
     33512+/* $Id: form.priv.h,v 0.33 2012/03/11 00:37:46 tom Exp $ */
     33513 
     33514 #ifndef FORM_PRIV_H
     33515 #define FORM_PRIV_H 1
     33516-
     33517+/* *INDENT-OFF*/
     33518 #include "curses.priv.h"
     33519 #include "mf_common.h"
     33520 
     33521@@ -119,7 +119,7 @@
     33522 
     33523 /* Calculate the total size of all buffers for this field */
     33524 #define Total_Buffer_Size(field) \
     33525-   ( (Buffer_Length(field) + 1) * (1+(field)->nbuf) * sizeof(FIELD_CELL) )
     33526+   ( (size_t)(Buffer_Length(field) + 1) * (size_t)(1+(field)->nbuf) * sizeof(FIELD_CELL) )
     33527 
     33528 /* Logic to determine whether or not a field is single lined */
     33529 #define Single_Line_Field(field) \
     33530@@ -293,5 +293,6 @@
     33531       result = ((*buffer || (l < width)) ? FALSE : TRUE); \
     33532     }
     33533 #endif
     33534+/* *INDENT-ON*/
     33535 
     33536 #endif /* FORM_PRIV_H */
     33537diff -Naur ncurses-5.9.orig/form/frm_def.c ncurses-5.9/form/frm_def.c
     33538--- ncurses-5.9.orig/form/frm_def.c     2012-08-25 19:57:59.399900947 +0000
     33539+++ ncurses-5.9/form/frm_def.c  2012-08-25 19:58:00.976560158 +0000
     33540@@ -1,5 +1,5 @@
     33541 /****************************************************************************
     33542- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     33543+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     33544  *                                                                          *
     33545  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33546  * copy of this software and associated documentation files (the            *
     33547@@ -32,7 +32,7 @@
     33548 
     33549 #include "form.priv.h"
     33550 
     33551-MODULE_ID("$Id: frm_def.c,v 1.25 2010/01/23 21:14:36 tom Exp $")
     33552+MODULE_ID("$Id: frm_def.c,v 1.26 2012/03/11 00:37:16 tom Exp $")
     33553 
     33554 /* this can't be readonly */
     33555 static FORM default_form =
     33556@@ -199,14 +199,14 @@
     33557   for (j = 0; j < field_cnt; j++)
     33558     {
     33559       if (j == 0)
     33560-       pg->pmin = j;
     33561+       pg->pmin = (short) j;
     33562       else
     33563        {
     33564          if (fields[j]->status & _NEWPAGE)
     33565            {
     33566-             pg->pmax = j - 1;
     33567+             pg->pmax = (short) (j - 1);
     33568              pg++;
     33569-             pg->pmin = j;
     33570+             pg->pmin = (short) j;
     33571            }
     33572        }
     33573 
     33574@@ -214,14 +214,14 @@
     33575       maximum_col_in_field = fields[j]->fcol + fields[j]->cols;
     33576 
     33577       if (form->rows < maximum_row_in_field)
     33578-       form->rows = maximum_row_in_field;
     33579+       form->rows = (short) maximum_row_in_field;
     33580       if (form->cols < maximum_col_in_field)
     33581-       form->cols = maximum_col_in_field;
     33582+       form->cols = (short) maximum_col_in_field;
     33583     }
     33584 
     33585-  pg->pmax = field_cnt - 1;
     33586-  form->maxfield = field_cnt;
     33587-  form->maxpage = page_nr;
     33588+  pg->pmax = (short) (field_cnt - 1);
     33589+  form->maxfield = (short) field_cnt;
     33590+  form->maxpage = (short) page_nr;
     33591 
     33592   /* Sort fields on form pages */
     33593   for (page_nr = 0; page_nr < form->maxpage; page_nr++)
     33594@@ -230,8 +230,8 @@
     33595 
     33596       for (j = form->page[page_nr].pmin; j <= form->page[page_nr].pmax; j++)
     33597        {
     33598-         fields[j]->index = j;
     33599-         fields[j]->page = page_nr;
     33600+         fields[j]->index = (short) j;
     33601+         fields[j]->page = (short) page_nr;
     33602          fld = Insert_Field_By_Position(fields[j], fld);
     33603        }
     33604       if (fld)
     33605diff -Naur ncurses-5.9.orig/form/frm_driver.c ncurses-5.9/form/frm_driver.c
     33606--- ncurses-5.9.orig/form/frm_driver.c  2012-08-25 19:57:59.399900947 +0000
     33607+++ ncurses-5.9/form/frm_driver.c       2012-08-25 19:58:02.019888557 +0000
     33608@@ -1,5 +1,5 @@
     33609 /****************************************************************************
     33610- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     33611+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     33612  *                                                                          *
     33613  * Permission is hereby granted, free of charge, to any person obtaining a  *
     33614  * copy of this software and associated documentation files (the            *
     33615@@ -32,7 +32,7 @@
     33616 
     33617 #include "form.priv.h"
     33618 
    2953933619-MODULE_ID("$Id: frm_driver.c,v 1.98 2010/05/01 21:11:43 tom Exp $")
    29540 +MODULE_ID("$Id: frm_driver.c,v 1.99 2011/09/17 22:12:10 tom Exp $")
     33620+MODULE_ID("$Id: frm_driver.c,v 1.102 2012/07/21 23:23:08 tom Exp $")
    2954133621 
    2954233622 /*----------------------------------------------------------------------------
    2954333623   This is the core module of the form library. It contains the majority
    29544 @@ -1326,7 +1326,7 @@
     33624@@ -172,7 +172,7 @@
     33625    instead of a derived window because it contains invisible parts.
     33626    This is true for non-public fields and for scrollable fields. */
     33627 #define Has_Invisible_Parts(field)     \
     33628-  (!((field)->opts & O_PUBLIC)      || \
     33629+  (!((unsigned)(field)->opts & O_PUBLIC) || \
     33630    Is_Scroll_Field(field))
     33631 
     33632 /* Logic to decide whether or not a field needs justification */
     33633@@ -180,7 +180,7 @@
     33634    (((field)->just != NO_JUSTIFICATION)  && \
     33635     (Single_Line_Field(field))           && \
     33636     (((field)->dcols == (field)->cols)   && \
     33637-    ((field)->opts & O_STATIC))             )
     33638+    ((unsigned)(field)->opts & O_STATIC)))
     33639 
     33640 /* Logic to determine whether or not a dynamic field may still grow */
     33641 #define Growable(field) ((field)->status & _MAY_GROW)
     33642@@ -188,13 +188,13 @@
     33643 /* Macro to set the attributes for a fields window */
     33644 #define Set_Field_Window_Attributes(field,win) \
     33645 (  wbkgdset((win),(chtype)((field)->pad | (field)->back)), \
     33646-   (void) wattrset((win),(field)->fore) )
     33647+   (void) wattrset((win), (int)(field)->fore) )
     33648 
     33649 /* Logic to decide whether or not a field really appears on the form */
     33650 #define Field_Really_Appears(field)         \
     33651   ((field->form)                          &&\
     33652    (field->form->status & _POSTED)        &&\
     33653-   (field->opts & O_VISIBLE)              &&\
     33654+   ((unsigned)field->opts & O_VISIBLE)    &&\
     33655    (field->page == field->form->curpage))
     33656 
     33657 /* Logic to determine whether or not we are on the first position in the
     33658@@ -601,8 +601,8 @@
     33659 {
     33660   if (form->status & _WINDOW_MODIFIED)
     33661     {
     33662-      form->status &= ~_WINDOW_MODIFIED;
     33663-      form->status |= _FCHECK_REQUIRED;
     33664+      ClrStatus(form, _WINDOW_MODIFIED);
     33665+      SetStatus(form, _FCHECK_REQUIRED);
     33666       Window_To_Buffer(form, form->current);
     33667       wmove(form->w, form->currow, form->curcol);
     33668     }
     33669@@ -653,7 +653,7 @@
     33670            growth = Minimum(field->maxgrow - field->dcols, growth);
     33671          field->dcols += growth;
     33672          if (field->dcols == field->maxgrow)
     33673-           field->status &= ~_MAY_GROW;
     33674+           ClrStatus(field, _MAY_GROW);
     33675        }
     33676       else
     33677        {
     33678@@ -662,7 +662,7 @@
     33679            growth = Minimum(field->maxgrow - field->drows, growth);
     33680          field->drows += growth;
     33681          if (field->drows == field->maxgrow)
     33682-           field->status &= ~_MAY_GROW;
     33683+           ClrStatus(field, _MAY_GROW);
     33684        }
     33685       /* drows, dcols changed, so we get really the new buffer length */
     33686       new_buflen = Buffer_Length(field);
     33687@@ -674,7 +674,7 @@
     33688          field->drows = old_drows;
     33689          if ((single_line_field && (field->dcols != field->maxgrow)) ||
     33690              (!single_line_field && (field->drows != field->maxgrow)))
     33691-           field->status |= _MAY_GROW;
     33692+           SetStatus(field, _MAY_GROW);
     33693        }
     33694       else
     33695        {
     33696@@ -753,7 +753,7 @@
     33697                   (field->dcols != field->maxgrow)) ||
     33698                  (!single_line_field &&
     33699                   (field->drows != field->maxgrow)))
     33700-               field->status |= _MAY_GROW;
     33701+               SetStatus(field, _MAY_GROW);
     33702              free(newbuf);
     33703            }
     33704        }
     33705@@ -860,7 +860,7 @@
     33706   field = form->current;
     33707   formwin = Get_Form_Window(form);
     33708 
     33709-  if (field->opts & O_PUBLIC)
     33710+  if ((unsigned)field->opts & O_PUBLIC)
     33711     {
     33712       if (Is_Scroll_Field(field))
     33713        {
     33714@@ -897,19 +897,19 @@
     33715                  if (form->currow < form->toprow)
     33716                    {
     33717                      form->toprow = form->currow;
     33718-                     field->status |= _NEWTOP;
     33719+                     SetStatus(field, _NEWTOP);
     33720                    }
     33721                  if (form->currow >= row_after_bottom)
     33722                    {
     33723                      form->toprow = form->currow - field->rows + 1;
     33724-                     field->status |= _NEWTOP;
     33725+                     SetStatus(field, _NEWTOP);
     33726                    }
     33727                  if (field->status & _NEWTOP)
     33728                    {
     33729                      /* means we have to copy whole range */
     33730                      first_modified_row = form->toprow;
     33731                      first_unmodified_row = first_modified_row + field->rows;
     33732-                     field->status &= ~_NEWTOP;
     33733+                     ClrStatus(field, _NEWTOP);
     33734                    }
     33735                  else
     33736                    {
     33737@@ -1111,27 +1111,27 @@
     33738     return E_SYSTEM_ERROR;
     33739   else
     33740     {
     33741-      if (field->opts & O_VISIBLE)
     33742+      if ((unsigned)field->opts & O_VISIBLE)
     33743        {
     33744          Set_Field_Window_Attributes(field, win);
     33745        }
     33746       else
     33747        {
     33748-         (void)wattrset(win, WINDOW_ATTRS(fwin));
     33749+         (void)wattrset(win, (int)WINDOW_ATTRS(fwin));
     33750        }
     33751       werase(win);
     33752     }
     33753 
     33754   if (!bEraseFlag)
     33755     {
     33756-      if (field->opts & O_PUBLIC)
     33757+      if ((unsigned)field->opts & O_PUBLIC)
     33758        {
     33759          if (Justification_Allowed(field))
     33760            Perform_Justification(field, win);
     33761          else
     33762            Buffer_To_Window(field, win);
     33763        }
     33764-      field->status &= ~_NEWTOP;
     33765+      ClrStatus(field, _NEWTOP);
     33766     }
     33767   wsyncup(win);
     33768   delwin(win);
     33769@@ -1170,18 +1170,18 @@
     33770          form->currow = form->curcol = form->toprow = form->begincol = 0;
     33771          werase(form->w);
     33772 
     33773-         if ((field->opts & O_PUBLIC) && Justification_Allowed(field))
     33774+         if (((unsigned)field->opts & O_PUBLIC) && Justification_Allowed(field))
     33775            Undo_Justification(field, form->w);
     33776          else
     33777            Buffer_To_Window(field, form->w);
     33778 
     33779-         field->status |= _NEWTOP;
     33780+         SetStatus(field, _NEWTOP);
     33781          res = _nc_Refresh_Current_Field(form);
     33782        }
     33783       else
     33784        res = Display_Field(field);
     33785     }
     33786-  field->status |= _CHANGED;
     33787+  SetStatus(field, _CHANGED);
     33788   return (res);
     33789 }
     33790 
     33791@@ -1256,7 +1256,7 @@
     33792          werase(form->w);
     33793          wmove(form->w, form->currow, form->curcol);
     33794 
     33795-         if (field->opts & O_PUBLIC)
     33796+         if ((unsigned)field->opts & O_PUBLIC)
     33797            {
     33798              if (Justification_Allowed(field))
     33799                Undo_Justification(field, form->w);
     33800@@ -1272,7 +1272,7 @@
     33801                      field->rows - 1, field->cols - 1, 0);
     33802              wsyncup(formwin);
     33803              Buffer_To_Window(field, form->w);
     33804-             field->status |= _NEWTOP;         /* fake refresh to paint all */
     33805+             SetStatus(field, _NEWTOP);        /* fake refresh to paint all */
     33806              _nc_Refresh_Current_Field(form);
     33807            }
     33808        }
     33809@@ -1326,34 +1326,34 @@
    2954533810              field->opts = oldopts;
    2954633811              returnCode(E_CURRENT);
     
    2954933814+         if (form->curpage == field->page)
    2955033815            {
    29551               if (changed_opts & O_VISIBLE)
     33816-             if (changed_opts & O_VISIBLE)
     33817+             if ((unsigned)changed_opts & O_VISIBLE)
    2955233818                {
     33819-                 if (newopts & O_VISIBLE)
     33820+                 if ((unsigned)newopts & O_VISIBLE)
     33821                    res = Display_Field(field);
     33822                  else
     33823                    res = Erase_Field(field);
     33824                }
     33825              else
     33826                {
     33827-                 if ((changed_opts & O_PUBLIC) &&
     33828-                     (newopts & O_VISIBLE))
     33829+                 if (((unsigned)changed_opts & O_PUBLIC) &&
     33830+                     ((unsigned)newopts & O_VISIBLE))
     33831                    res = Display_Field(field);
     33832                }
     33833            }
     33834        }
     33835     }
     33836 
     33837-  if (changed_opts & O_STATIC)
     33838+  if ((unsigned)changed_opts & O_STATIC)
     33839     {
     33840       bool single_line_field = Single_Line_Field(field);
     33841       int res2 = E_OK;
     33842 
     33843-      if (newopts & O_STATIC)
     33844+      if ((unsigned)newopts & O_STATIC)
     33845        {
     33846          /* the field becomes now static */
     33847-         field->status &= ~_MAY_GROW;
     33848+         ClrStatus(field, _MAY_GROW);
     33849          /* if actually we have no hidden columns, justification may
     33850             occur again */
     33851          if (single_line_field &&
     33852@@ -1371,7 +1371,7 @@
     33853              (single_line_field && (field->dcols < field->maxgrow)) ||
     33854              (!single_line_field && (field->drows < field->maxgrow)))
     33855            {
     33856-             field->status |= _MAY_GROW;
     33857+             SetStatus(field, _MAY_GROW);
     33858              /* a field with justification now changes its behavior,
     33859                 so we must redisplay it */
     33860              if (single_line_field &&
     33861@@ -1424,18 +1424,18 @@
     33862       !(form->status & _POSTED))
     33863     {
     33864       if ((form->w) &&
     33865-         (field->opts & O_VISIBLE) &&
     33866+         ((unsigned)field->opts & O_VISIBLE) &&
     33867          (field->form->curpage == field->page))
     33868        {
     33869          _nc_Refresh_Current_Field(form);
     33870-         if (field->opts & O_PUBLIC)
     33871+         if ((unsigned)field->opts & O_PUBLIC)
     33872            {
     33873              if (field->drows > field->rows)
     33874                {
     33875                  if (form->toprow == 0)
     33876-                   field->status &= ~_NEWTOP;
     33877+                   ClrStatus(field, _NEWTOP);
     33878                  else
     33879-                   field->status |= _NEWTOP;
     33880+                   SetStatus(field, _NEWTOP);
     33881                }
     33882              else
     33883                {
     33884@@ -1469,7 +1469,7 @@
     33885        delwin(form->w);
     33886       form->w = new_window;
     33887 
     33888-      form->status &= ~_WINDOW_MODIFIED;
     33889+      ClrStatus(form, _WINDOW_MODIFIED);
     33890       Set_Field_Window_Attributes(field, form->w);
     33891 
     33892       if (Has_Invisible_Parts(field))
     33893@@ -1998,7 +1998,7 @@
     33894     {
     33895       res = fct(form);
     33896       if (res == E_OK)
     33897-       form->current->status |= _NEWTOP;
     33898+       SetStatus(form, _NEWTOP);
     33899     }
     33900   return (res);
     33901 }
     33902@@ -2430,7 +2430,7 @@
     33903   int result = E_REQUEST_DENIED;
     33904   bool Last_Row = ((field->drows - 1) == form->currow);
     33905 
     33906-  if ((field->opts & O_WRAP) &&        /* wrapping wanted     */
     33907+  if (((unsigned)field->opts & O_WRAP) &&      /* wrapping wanted     */
     33908       (!Single_Line_Field(field)) &&   /* must be multi-line  */
     33909       (There_Is_No_Room_For_A_Char_In_Line(form)) &&   /* line is full        */
     33910       (!Last_Row || Growable(field)))  /* there are more lines */
     33911@@ -2513,7 +2513,7 @@
     33912      editable fields.
     33913    */
     33914   if ((fct == FE_Delete_Previous) &&
     33915-      (form->opts & O_BS_OVERLOAD) &&
     33916+      ((unsigned)form->opts & O_BS_OVERLOAD) &&
     33917       First_Position_In_Current_Field(form))
     33918     {
     33919       res = Inter_Field_Navigation(FN_Previous_Field, form);
     33920@@ -2522,7 +2522,7 @@
     33921     {
     33922       if (fct == FE_New_Line)
     33923        {
     33924-         if ((form->opts & O_NL_OVERLOAD) &&
     33925+         if (((unsigned)form->opts & O_NL_OVERLOAD) &&
     33926              First_Position_In_Current_Field(form))
     33927            {
     33928              res = Inter_Field_Navigation(FN_Next_Field, form);
     33929@@ -2534,11 +2534,11 @@
     33930       else
     33931        {
     33932          /* From now on, everything must be editable */
     33933-         if (form->current->opts & O_EDIT)
     33934+         if ((unsigned)form->current->opts & O_EDIT)
     33935            {
     33936              res = fct(form);
     33937              if (res == E_OK)
     33938-               form->status |= _WINDOW_MODIFIED;
     33939+               SetStatus(form, _WINDOW_MODIFIED);
     33940            }
     33941        }
     33942     }
     33943@@ -2571,7 +2571,7 @@
     33944       if (Last_Row &&
     33945          (!(Growable(field) && !Single_Line_Field(field))))
     33946        {
     33947-         if (!(form->opts & O_NL_OVERLOAD))
     33948+         if (!((unsigned)form->opts & O_NL_OVERLOAD))
     33949            returnCode(E_REQUEST_DENIED);
     33950          wmove(form->w, form->currow, form->curcol);
     33951          wclrtoeol(form->w);
     33952@@ -2579,7 +2579,7 @@
     33953             handled in the generic routine. The reason is,
     33954             that FN_Next_Field may fail, but the form is
     33955             definitively changed */
     33956-         form->status |= _WINDOW_MODIFIED;
     33957+         SetStatus(form, _WINDOW_MODIFIED);
     33958          returnCode(Inter_Field_Navigation(FN_Next_Field, form));
     33959        }
     33960       else
     33961@@ -2595,7 +2595,7 @@
     33962          wclrtoeol(form->w);
     33963          form->currow++;
     33964          form->curcol = 0;
     33965-         form->status |= _WINDOW_MODIFIED;
     33966+         SetStatus(form, _WINDOW_MODIFIED);
     33967          returnCode(E_OK);
     33968        }
     33969     }
     33970@@ -2605,7 +2605,7 @@
     33971       if (Last_Row &&
     33972          !(Growable(field) && !Single_Line_Field(field)))
     33973        {
     33974-         if (!(form->opts & O_NL_OVERLOAD))
     33975+         if (!((unsigned)form->opts & O_NL_OVERLOAD))
     33976            returnCode(E_REQUEST_DENIED);
     33977          returnCode(Inter_Field_Navigation(FN_Next_Field, form));
     33978        }
     33979@@ -2627,7 +2627,7 @@
     33980          wmove(form->w, form->currow, form->curcol);
     33981          winsertln(form->w);
     33982          myADDNSTR(form->w, bp, (int)(t - bp));
     33983-         form->status |= _WINDOW_MODIFIED;
     33984+         SetStatus(form, _WINDOW_MODIFIED);
     33985          returnCode(E_OK);
     33986        }
     33987     }
     33988@@ -2926,7 +2926,7 @@
     33989 EM_Overlay_Mode(FORM *form)
     33990 {
     33991   T((T_CALLED("EM_Overlay_Mode(%p)"), (void *)form));
     33992-  form->status |= _OVLMODE;
     33993+  SetStatus(form, _OVLMODE);
     33994   returnCode(E_OK);
     33995 }
     33996 
     33997@@ -2942,7 +2942,7 @@
     33998 EM_Insert_Mode(FORM *form)
     33999 {
     34000   T((T_CALLED("EM_Insert_Mode(%p)"), (void *)form));
     34001-  form->status &= ~_OVLMODE;
     34002+  ClrStatus(form, _OVLMODE);
     34003   returnCode(E_OK);
     34004 }
     34005 
     34006@@ -3111,7 +3111,7 @@
     34007 {
     34008   if (typ)
     34009     {
     34010-      if (field->opts & O_NULLOK)
     34011+      if ((unsigned)field->opts & O_NULLOK)
     34012        {
     34013          FIELD_CELL *bp = field->buf;
     34014 
     34015@@ -3168,12 +3168,12 @@
     34016 
     34017   Synchronize_Buffer(form);
     34018   if ((form->status & _FCHECK_REQUIRED) ||
     34019-      (!(field->opts & O_PASSOK)))
     34020+      (!((unsigned)field->opts & O_PASSOK)))
     34021     {
     34022       if (!Check_Field(form, field->type, field, (TypeArgument *)(field->arg)))
     34023        return FALSE;
     34024-      form->status &= ~_FCHECK_REQUIRED;
     34025-      field->status |= _CHANGED;
     34026+      ClrStatus(form, _FCHECK_REQUIRED);
     34027+      SetStatus(field, _CHANGED);
     34028       Synchronize_Linked_Fields(field);
     34029     }
     34030   return TRUE;
     34031@@ -3273,14 +3273,15 @@
     34032          do
     34033            {
     34034              field = (field == last_on_page) ? first : field + 1;
     34035-             if (((*field)->opts & O_VISIBLE))
     34036+             if (((unsigned)(*field)->opts & O_VISIBLE))
     34037                break;
     34038            }
     34039          while (proposed != (*field));
     34040 
     34041          proposed = *field;
     34042 
     34043-         if ((proposed == *last_on_page) && !(proposed->opts & O_VISIBLE))
     34044+         if ((proposed == *last_on_page) &&
     34045+             !((unsigned)proposed->opts & O_VISIBLE))
     34046            {
     34047              /* This means, there is also no visible field on the page.
     34048                 So we propose the first one and hope the very best...
     34049@@ -3816,11 +3817,11 @@
     34050       FIELD *last_field, *field_on_page;
     34051 
     34052       werase(Get_Form_Window(form));
     34053-      form->curpage = page;
     34054+      form->curpage = (short)page;
     34055       last_field = field_on_page = form->field[form->page[page].smin];
     34056       do
     34057        {
     34058-         if (field_on_page->opts & O_VISIBLE)
     34059+         if ((unsigned)field_on_page->opts & O_VISIBLE)
     34060            if ((res = Display_Field(field_on_page)) != E_OK)
     34061              return (res);
     34062          field_on_page = field_on_page->snext;
     34063@@ -3999,13 +4000,13 @@
     34064   int result = E_REQUEST_DENIED;
     34065 
     34066   T((T_CALLED("Data_Entry(%p,%s)"), (void *)form, _tracechtype((chtype)c)));
     34067-  if ((field->opts & O_EDIT)
     34068+  if (((unsigned)field->opts & O_EDIT)
     34069 #if FIX_FORM_INACTIVE_BUG
     34070-      && (field->opts & O_ACTIVE)
     34071+      && ((unsigned)field->opts & O_ACTIVE)
     34072 #endif
     34073     )
     34074     {
     34075-      if ((field->opts & O_BLANK) &&
     34076+      if (((unsigned)field->opts & O_BLANK) &&
     34077          First_Position_In_Current_Field(form) &&
     34078          !(form->status & _FCHECK_REQUIRED) &&
     34079          !(form->status & _WINDOW_MODIFIED))
     34080@@ -4035,8 +4036,8 @@
     34081          bool End_Of_Field = (((field->drows - 1) == form->currow) &&
     34082                               ((field->dcols - 1) == form->curcol));
     34083 
     34084-         form->status |= _WINDOW_MODIFIED;
     34085-         if (End_Of_Field && !Growable(field) && (field->opts & O_AUTOSKIP))
     34086+         SetStatus(form, _WINDOW_MODIFIED);
     34087+         if (End_Of_Field && !Growable(field) && ((unsigned)field->opts & O_AUTOSKIP))
     34088            result = Inter_Field_Navigation(FN_Next_Field, form);
     34089          else
     34090            {
     34091@@ -4228,7 +4229,10 @@
     34092 
     34093   if ((c >= MIN_FORM_COMMAND && c <= MAX_FORM_COMMAND) &&
     34094       ((bindings[c - MIN_FORM_COMMAND].keycode & Key_Mask) == c))
     34095-    BI = &(bindings[c - MIN_FORM_COMMAND]);
     34096+    {
     34097+      TR(TRACE_CALLS, ("form_request %s", form_request_name(c)));
     34098+      BI = &(bindings[c - MIN_FORM_COMMAND]);
     34099+    }
     34100 
     34101   if (BI)
     34102     {
     34103@@ -4246,7 +4250,7 @@
     34104        NULL                    /* Choice Request is generic           */
     34105       };
     34106       size_t nMethods = (sizeof(Generic_Methods) / sizeof(Generic_Methods[0]));
     34107-      size_t method = (BI->keycode >> ID_Shft) & 0xffff;       /* see ID_Mask */
     34108+      size_t method = (size_t) ((BI->keycode >> ID_Shft) & 0xffff);    /* see ID_Mask */
     34109 
     34110       if ((method >= nMethods) || !(BI->cmd))
     34111        res = E_SYSTEM_ERROR;
     34112@@ -4255,9 +4259,13 @@
     34113          Generic_Method fct = Generic_Methods[method];
     34114 
     34115          if (fct)
     34116-           res = fct(BI->cmd, form);
     34117+           {
     34118+             res = fct(BI->cmd, form);
     34119+           }
     34120          else
     34121-           res = (BI->cmd) (form);
     34122+           {
     34123+             res = (BI->cmd) (form);
     34124+           }
     34125        }
     34126     }
     34127 #ifdef NCURSES_MOUSE_VERSION
     34128@@ -4401,14 +4409,14 @@
     34129   if (!field || !value || ((buffer < 0) || (buffer > field->nbuf)))
     34130     RETURN(E_BAD_ARGUMENT);
     34131 
     34132-  len = Buffer_Length(field);
     34133+  len = (unsigned)Buffer_Length(field);
     34134 
     34135   if (Growable(field))
     34136     {
     34137       /* for a growable field we must assume zero terminated strings, because
     34138          somehow we have to detect the length of what should be copied.
     34139        */
     34140-      unsigned int vlen = strlen(value);
     34141+      unsigned vlen = (unsigned)strlen(value);
     34142 
     34143       if (vlen > len)
     34144        {
     34145@@ -4438,7 +4446,7 @@
     34146       delwin(field->working);
     34147       field->working = newpad(1, Buffer_Length(field) + 1);
     34148     }
     34149-  len = Buffer_Length(field);
     34150+  len = (unsigned)Buffer_Length(field);
     34151   wclear(field->working);
     34152   (void)mvwaddstr(field->working, 0, 0, value);
     34153 
     34154@@ -4450,8 +4458,8 @@
     34155     {
     34156       for (i = 0; i < (unsigned)field->drows; ++i)
     34157        {
     34158-         (void)mvwin_wchnstr(field->working, 0, i * field->dcols,
     34159-                             widevalue + (i * field->dcols),
     34160+         (void)mvwin_wchnstr(field->working, 0, (int)i * field->dcols,
     34161+                             widevalue + ((int)i * field->dcols),
     34162                              field->dcols);
     34163        }
     34164       for (i = 0; i < len; ++i)
     34165@@ -4512,7 +4520,7 @@
     34166     {
     34167 #if USE_WIDEC_SUPPORT
     34168       FIELD_CELL *data = Address_Of_Nth_Buffer(field, buffer);
     34169-      unsigned need = 0;
     34170+      size_t need = 0;
     34171       int size = Buffer_Length(field);
     34172       int n;
     34173 
     34174@@ -4613,7 +4621,7 @@
     34175                {
     34176                  result[need] = wch;
     34177                }
     34178-             passed += status;
     34179+             passed += (size_t) status;
     34180              ++need;
     34181            }
     34182          else
     34183@@ -4633,7 +4641,7 @@
     34184            break;
     34185          result = typeCalloc(wchar_t, need);
     34186 
     34187-         *lengthp = need;
     34188+         *lengthp = (int)need;
     34189          if (result == 0)
     34190            break;
     34191        }
     34192diff -Naur ncurses-5.9.orig/form/frm_hook.c ncurses-5.9/form/frm_hook.c
     34193--- ncurses-5.9.orig/form/frm_hook.c    2012-08-25 19:57:59.399900947 +0000
     34194+++ ncurses-5.9/form/frm_hook.c 2012-08-25 19:58:00.979893475 +0000
     34195@@ -1,5 +1,5 @@
     34196 /****************************************************************************
     34197- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     34198+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34199  *                                                                          *
     34200  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34201  * copy of this software and associated documentation files (the            *
     34202@@ -32,13 +32,13 @@
     34203 
     34204 #include "form.priv.h"
     34205 
     34206-MODULE_ID("$Id: frm_hook.c,v 1.15 2010/01/23 21:12:08 tom Exp $")
     34207+MODULE_ID("$Id: frm_hook.c,v 1.16 2012/03/11 00:37:16 tom Exp $")
     34208 
     34209 /* "Template" macro to generate function to set application specific hook */
     34210 #define GEN_HOOK_SET_FUNCTION( typ, name ) \
     34211 NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (FORM *form, Form_Hook func)\
     34212 {\
     34213-   T((T_CALLED("set_" #typ"_"#name"(%p,%p)"), form, func));\
     34214+   T((T_CALLED("set_" #typ"_"#name"(%p,%p)"), (void *) form, func));\
     34215    (Normalize_Form( form ) -> typ ## name) = func ;\
     34216    RETURN(E_OK);\
     34217 }
     34218diff -Naur ncurses-5.9.orig/form/frm_opts.c ncurses-5.9/form/frm_opts.c
     34219--- ncurses-5.9.orig/form/frm_opts.c    2012-08-25 19:57:59.399900947 +0000
     34220+++ ncurses-5.9/form/frm_opts.c 2012-08-25 19:58:01.713223341 +0000
     34221@@ -1,5 +1,5 @@
     34222 /****************************************************************************
     34223- * Copyright (c) 1998-2005,2010 Free Software Foundation, Inc.              *
     34224+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34225  *                                                                          *
     34226  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34227  * copy of this software and associated documentation files (the            *
     34228@@ -32,7 +32,7 @@
     34229 
     34230 #include "form.priv.h"
     34231 
     34232-MODULE_ID("$Id: frm_opts.c,v 1.15 2010/01/23 21:14:36 tom Exp $")
     34233+MODULE_ID("$Id: frm_opts.c,v 1.16 2012/06/09 20:29:33 tom Exp $")
     34234 
     34235 /*---------------------------------------------------------------------------
     34236 |   Facility      :  libnform 
     34237@@ -49,7 +49,7 @@
     34238 {
     34239   T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts));
     34240 
     34241-  opts &= ALL_FORM_OPTS;
     34242+  opts &= (Form_Options) ALL_FORM_OPTS;
     34243   if (opts & ~ALL_FORM_OPTS)
     34244     RETURN(E_BAD_ARGUMENT);
     34245   else
     34246@@ -89,7 +89,7 @@
     34247 {
     34248   T((T_CALLED("form_opts_on(%p,%d)"), (void *)form, opts));
     34249 
     34250-  opts &= ALL_FORM_OPTS;
     34251+  opts &= (Form_Options) ALL_FORM_OPTS;
     34252   if (opts & ~ALL_FORM_OPTS)
     34253     RETURN(E_BAD_ARGUMENT);
     34254   else
     34255@@ -114,7 +114,7 @@
     34256 {
     34257   T((T_CALLED("form_opts_off(%p,%d)"), (void *)form, opts));
     34258 
     34259-  opts &= ALL_FORM_OPTS;
     34260+  opts &= (Form_Options) ALL_FORM_OPTS;
     34261   if (opts & ~ALL_FORM_OPTS)
     34262     RETURN(E_BAD_ARGUMENT);
     34263   else
     34264diff -Naur ncurses-5.9.orig/form/frm_page.c ncurses-5.9/form/frm_page.c
     34265--- ncurses-5.9.orig/form/frm_page.c    2012-08-25 19:57:59.396567629 +0000
     34266+++ ncurses-5.9/form/frm_page.c 2012-08-25 19:58:01.716556658 +0000
     34267@@ -1,5 +1,5 @@
     34268 /****************************************************************************
     34269- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     34270+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34271  *                                                                          *
     34272  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34273  * copy of this software and associated documentation files (the            *
     34274@@ -32,7 +32,7 @@
     34275 
     34276 #include "form.priv.h"
     34277 
     34278-MODULE_ID("$Id: frm_page.c,v 1.11 2010/01/23 21:14:36 tom Exp $")
     34279+MODULE_ID("$Id: frm_page.c,v 1.12 2012/06/10 00:28:04 tom Exp $")
     34280 
     34281 /*---------------------------------------------------------------------------
     34282 |   Facility      :  libnform 
     34283@@ -58,7 +58,7 @@
     34284 
     34285   if (!(form->status & _POSTED))
     34286     {
     34287-      form->curpage = page;
     34288+      form->curpage = (short)page;
     34289       form->current = _nc_First_Active_Field(form);
     34290     }
     34291   else
     34292diff -Naur ncurses-5.9.orig/form/frm_post.c ncurses-5.9/form/frm_post.c
     34293--- ncurses-5.9.orig/form/frm_post.c    2012-08-25 19:57:59.399900947 +0000
     34294+++ ncurses-5.9/form/frm_post.c 2012-08-25 19:58:01.716556658 +0000
     34295@@ -1,5 +1,5 @@
     34296 /****************************************************************************
     34297- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     34298+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34299  *                                                                          *
     34300  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34301  * copy of this software and associated documentation files (the            *
     34302@@ -32,7 +32,7 @@
     34303 
     34304 #include "form.priv.h"
     34305 
     34306-MODULE_ID("$Id: frm_post.c,v 1.10 2010/01/23 21:14:36 tom Exp $")
     34307+MODULE_ID("$Id: frm_post.c,v 1.11 2012/06/10 00:27:49 tom Exp $")
     34308 
     34309 /*---------------------------------------------------------------------------
     34310 |   Facility      :  libnform 
     34311@@ -77,7 +77,7 @@
     34312   if ((err = _nc_Set_Form_Page(form, page, form->current)) != E_OK)
     34313     RETURN(err);
     34314 
     34315-  form->status |= _POSTED;
     34316+  SetStatus(form, _POSTED);
     34317 
     34318   Call_Hook(form, forminit);
     34319   Call_Hook(form, fieldinit);
     34320@@ -117,7 +117,7 @@
     34321   werase(Get_Form_Window(form));
     34322   delwin(form->w);
     34323   form->w = (WINDOW *)0;
     34324-  form->status &= ~_POSTED;
     34325+  ClrStatus(form, _POSTED);
     34326   RETURN(E_OK);
     34327 }
     34328 
     34329diff -Naur ncurses-5.9.orig/form/frm_req_name.c ncurses-5.9/form/frm_req_name.c
     34330--- ncurses-5.9.orig/form/frm_req_name.c        2012-08-25 19:57:59.396567629 +0000
     34331+++ ncurses-5.9/form/frm_req_name.c     2012-08-25 19:58:02.023221875 +0000
     34332@@ -1,5 +1,5 @@
     34333 /****************************************************************************
     34334- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
     34335+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     34336  *                                                                          *
     34337  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34338  * copy of this software and associated documentation files (the            *
     34339@@ -37,7 +37,7 @@
     34340 
     34341 #include "form.priv.h"
     34342 
     34343-MODULE_ID("$Id: frm_req_name.c,v 1.17 2009/10/10 16:17:01 tom Exp $")
     34344+MODULE_ID("$Id: frm_req_name.c,v 1.18 2012/07/21 23:17:23 tom Exp $")
     34345 
     34346 static const char *request_names[MAX_FORM_COMMAND - MIN_FORM_COMMAND + 1] =
     34347 {
     34348@@ -144,23 +144,26 @@
     34349   /* because the table is so small, it doesn't really hurt
     34350      to run sequentially through it.
     34351    */
     34352-  unsigned int i = 0;
     34353-  char buf[16];
     34354+  size_t i = 0;
     34355+  char buf[16];                        /* longest name is 10 chars */
     34356 
     34357   T((T_CALLED("form_request_by_name(%s)"), _nc_visbuf(str)));
     34358 
     34359-  if (str)
     34360+  if (str != 0 && (i = strlen(str)) != 0)
     34361     {
     34362-      strncpy(buf, str, sizeof(buf));
     34363-      while ((i < sizeof(buf)) && (buf[i] != '\0'))
     34364+      if (i > sizeof(buf) - 2)
     34365+       i = sizeof(buf) - 2;
     34366+      memcpy(buf, str, i);
     34367+      buf[i] = '\0';
     34368+
     34369+      for (i = 0; buf[i] != '\0'; ++i)
     34370        {
     34371          buf[i] = (char)toupper(UChar(buf[i]));
     34372-         i++;
     34373        }
     34374 
     34375       for (i = 0; i < A_SIZE; i++)
     34376        {
     34377-         if (strncmp(request_names[i], buf, sizeof(buf)) == 0)
     34378+         if (strcmp(request_names[i], buf) == 0)
     34379            returnCode(MIN_FORM_COMMAND + (int)i);
     34380        }
     34381     }
     34382diff -Naur ncurses-5.9.orig/form/fty_generic.c ncurses-5.9/form/fty_generic.c
     34383--- ncurses-5.9.orig/form/fty_generic.c 2012-08-25 19:57:59.399900947 +0000
     34384+++ ncurses-5.9/form/fty_generic.c      2012-08-25 19:58:01.716556658 +0000
     34385@@ -1,5 +1,5 @@
     34386 /****************************************************************************
     34387- * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc.              *
     34388+ * Copyright (c) 2008-2010,2012 Free Software Foundation, Inc.              *
     34389  *                                                                          *
     34390  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34391  * copy of this software and associated documentation files (the            *
     34392@@ -34,7 +34,7 @@
     34393 
     34394 #include "form.priv.h"
     34395 
     34396-MODULE_ID("$Id: fty_generic.c,v 1.5 2010/01/23 21:14:36 tom Exp $")
     34397+MODULE_ID("$Id: fty_generic.c,v 1.6 2012/06/10 00:27:49 tom Exp $")
     34398 
     34399 /*
     34400  * This is not a full implementation of a field type, but adds some
     34401@@ -119,7 +119,7 @@
     34402       if (res)
     34403        {
     34404          *res = *_nc_Default_FieldType;
     34405-         res->status |= (_HAS_ARGS | _GENERIC);
     34406+         SetStatus(res, (_HAS_ARGS | _GENERIC));
     34407          res->fieldcheck.gfcheck = field_check;
     34408          res->charcheck.gccheck = char_check;
     34409          res->genericarg = Generic_This_Type;
     34410diff -Naur ncurses-5.9.orig/form/fty_int.c ncurses-5.9/form/fty_int.c
     34411--- ncurses-5.9.orig/form/fty_int.c     2012-08-25 19:57:59.399900947 +0000
     34412+++ ncurses-5.9/form/fty_int.c  2012-08-25 19:58:00.906560490 +0000
     34413@@ -1,5 +1,5 @@
     34414 /****************************************************************************
     34415- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     34416+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34417  *                                                                          *
     34418  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34419  * copy of this software and associated documentation files (the            *
     34420@@ -34,7 +34,7 @@
     34421 
     34422 #include "form.priv.h"
     34423 
     34424-MODULE_ID("$Id: fty_int.c,v 1.25 2010/01/23 21:14:36 tom Exp $")
     34425+MODULE_ID("$Id: fty_int.c,v 1.26 2012/02/23 10:02:15 tom Exp $")
     34426 
     34427 #if USE_WIDEC_SUPPORT
     34428 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c)))
     34429@@ -233,7 +233,8 @@
     34430            }
     34431          if (result)
     34432            {
     34433-             sprintf(buf, "%.*ld", (prec > 0 ? prec : 0), val);
     34434+             _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     34435+                         "%.*ld", (prec > 0 ? prec : 0), val);
     34436              set_field_buffer(field, 0, buf);
     34437            }
     34438        }
     34439diff -Naur ncurses-5.9.orig/form/fty_num.c ncurses-5.9/form/fty_num.c
     34440--- ncurses-5.9.orig/form/fty_num.c     2012-08-25 19:57:59.396567629 +0000
     34441+++ ncurses-5.9/form/fty_num.c  2012-08-25 19:58:00.906560490 +0000
     34442@@ -1,5 +1,5 @@
     34443 /****************************************************************************
     34444- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     34445+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     34446  *                                                                          *
     34447  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34448  * copy of this software and associated documentation files (the            *
     34449@@ -34,7 +34,7 @@
     34450 
     34451 #include "form.priv.h"
     34452 
     34453-MODULE_ID("$Id: fty_num.c,v 1.28 2010/01/23 21:14:36 tom Exp $")
     34454+MODULE_ID("$Id: fty_num.c,v 1.29 2012/02/23 10:02:15 tom Exp $")
     34455 
     34456 #if HAVE_LOCALE_H
     34457 #include <locale.h>
     34458@@ -271,7 +271,8 @@
     34459            }
     34460          if (result)
     34461            {
     34462-             sprintf(buf, "%.*f", (prec > 0 ? prec : 0), val);
     34463+             _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     34464+                         "%.*f", (prec > 0 ? prec : 0), val);
     34465              set_field_buffer(field, 0, buf);
     34466            }
     34467        }
    2955334468diff -Naur ncurses-5.9.orig/include/Caps ncurses-5.9/include/Caps
    29554 --- ncurses-5.9.orig/include/Caps       2012-02-16 18:25:12.643809617 +0000
    29555 +++ ncurses-5.9/include/Caps    2012-02-16 18:25:12.951817745 +0000
     34469--- ncurses-5.9.orig/include/Caps       2012-08-25 19:57:59.423234170 +0000
     34470+++ ncurses-5.9/include/Caps    2012-08-25 19:57:59.973231570 +0000
    2955634471@@ -1,5 +1,5 @@
    2955734472 ##############################################################################
     
    2959934514 #
    2960034515diff -Naur ncurses-5.9.orig/include/Caps.aix4 ncurses-5.9/include/Caps.aix4
    29601 --- ncurses-5.9.orig/include/Caps.aix4  2012-02-16 18:25:12.643809617 +0000
    29602 +++ ncurses-5.9/include/Caps.aix4       2012-02-16 18:25:12.951817745 +0000
     34516--- ncurses-5.9.orig/include/Caps.aix4  2012-08-25 19:57:59.423234170 +0000
     34517+++ ncurses-5.9/include/Caps.aix4       2012-08-25 19:57:59.973231570 +0000
    2960334518@@ -1,5 +1,5 @@
    2960434519 ##############################################################################
     
    2964634561 #
    2964734562diff -Naur ncurses-5.9.orig/include/Caps.hpux11 ncurses-5.9/include/Caps.hpux11
    29648 --- ncurses-5.9.orig/include/Caps.hpux11        2012-02-16 18:25:12.643809617 +0000
    29649 +++ ncurses-5.9/include/Caps.hpux11     2012-02-16 18:25:12.951817745 +0000
     34563--- ncurses-5.9.orig/include/Caps.hpux11        2012-08-25 19:57:59.423234170 +0000
     34564+++ ncurses-5.9/include/Caps.hpux11     2012-08-25 19:57:59.976564888 +0000
    2965034565@@ -1,5 +1,5 @@
    2965134566 ##############################################################################
     
    2969334608 enter_low_hl_mode              elohlm  str     Xo      -               -       -----   Enter low highlight mode
    2969434609diff -Naur ncurses-5.9.orig/include/Caps.keys ncurses-5.9/include/Caps.keys
    29695 --- ncurses-5.9.orig/include/Caps.keys  2012-02-16 18:25:12.643809617 +0000
    29696 +++ ncurses-5.9/include/Caps.keys       2012-02-16 18:25:12.951817745 +0000
     34610--- ncurses-5.9.orig/include/Caps.keys  2012-08-25 19:57:59.423234170 +0000
     34611+++ ncurses-5.9/include/Caps.keys       2012-08-25 19:57:59.979898205 +0000
    2969734612@@ -1,5 +1,5 @@
    2969834613 ##############################################################################
     
    2974034655 #
    2974134656diff -Naur ncurses-5.9.orig/include/Caps.osf1r5 ncurses-5.9/include/Caps.osf1r5
    29742 --- ncurses-5.9.orig/include/Caps.osf1r5        2012-02-16 18:25:12.643809617 +0000
    29743 +++ ncurses-5.9/include/Caps.osf1r5     2012-02-16 18:25:12.955817851 +0000
     34657--- ncurses-5.9.orig/include/Caps.osf1r5        2012-08-25 19:57:59.423234170 +0000
     34658+++ ncurses-5.9/include/Caps.osf1r5     2012-08-25 19:57:59.983231522 +0000
    2974434659@@ -1,5 +1,5 @@
    2974534660 ##############################################################################
     
    2976834683 enter_low_hl_mode              elohlm  str     Xo      -               -       -----   Enter low highlight mode
    2976934684diff -Naur ncurses-5.9.orig/include/MKterm.h.awk.in ncurses-5.9/include/MKterm.h.awk.in
    29770 --- ncurses-5.9.orig/include/MKterm.h.awk.in    2012-02-16 18:25:12.643809617 +0000
    29771 +++ ncurses-5.9/include/MKterm.h.awk.in 2012-02-16 18:25:12.955817851 +0000
     34685--- ncurses-5.9.orig/include/MKterm.h.awk.in    2012-08-25 19:57:59.423234170 +0000
     34686+++ ncurses-5.9/include/MKterm.h.awk.in 2012-08-25 19:57:59.983231522 +0000
    2977234687@@ -1,7 +1,7 @@
    2977334688 # vile:awkmode
     
    2983134746                    print  "#if __MINGW32__"
    2983234747diff -Naur ncurses-5.9.orig/include/curses.h.in ncurses-5.9/include/curses.h.in
    29833 --- ncurses-5.9.orig/include/curses.h.in        2012-02-16 18:25:12.643809617 +0000
    29834 +++ ncurses-5.9/include/curses.h.in     2012-02-16 18:25:12.955817851 +0000
     34748--- ncurses-5.9.orig/include/curses.h.in        2012-08-25 19:57:59.423234170 +0000
     34749+++ ncurses-5.9/include/curses.h.in     2012-08-25 19:58:02.046555098 +0000
     34750@@ -1,5 +1,5 @@
     34751 /****************************************************************************
     34752- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     34753+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     34754  *                                                                          *
     34755  * Permission is hereby granted, free of charge, to any person obtaining a  *
     34756  * copy of this software and associated documentation files (the            *
    2983534757@@ -32,7 +32,7 @@
    2983634758  *     and: Thomas E. Dickey                        1996-on                 *
     
    2983834760 
    2983934761-/* $Id: curses.h.in,v 1.220 2011/01/22 19:47:20 tom Exp $ */
    29840 +/* $Id: curses.h.in,v 1.227 2011/10/29 20:01:35 tom Exp $ */
     34762+/* $Id: curses.h.in,v 1.232 2012/07/28 18:17:43 tom Exp $ */
    2984134763 
    2984234764 #ifndef __NCURSES_H
    2984334765 #define __NCURSES_H
    29844 @@ -151,15 +151,21 @@
     34766@@ -129,6 +129,13 @@
     34767 #define NCURSES_TPARM_VARARGS @NCURSES_TPARM_VARARGS@
     34768 
     34769 /*
     34770+ * Control type used for tparm's arguments.  While X/Open equates long and
     34771+ * char* values, this is not always workable for 64-bit platforms.
     34772+ */
     34773+#undef NCURSES_TPARM_ARG
     34774+#define NCURSES_TPARM_ARG @NCURSES_TPARM_ARG@
     34775+
     34776+/*
     34777  * NCURSES_CH_T is used in building the library, but not used otherwise in
     34778  * this header file, since that would make the normal/wide-character versions
     34779  * of the header incompatible.
     34780@@ -151,15 +158,21 @@
    2984534781 
    2984634782 /*
     
    2986934805 #endif
    2987034806 
    29871 @@ -342,7 +348,7 @@
     34807@@ -250,7 +263,7 @@
     34808 extern NCURSES_EXPORT_VAR(chtype) acs_map[];
     34809 #endif
     34810 
     34811-#define NCURSES_ACS(c) (acs_map[NCURSES_CAST(unsigned char,c)])
     34812+#define NCURSES_ACS(c) (acs_map[NCURSES_CAST(unsigned char,(c))])
     34813 
     34814 /* VT100 symbols begin here */
     34815 #define ACS_ULCORNER   NCURSES_ACS('l') /* upper left corner */
     34816@@ -342,7 +355,7 @@
    2987234817 
    2987334818 typedef        chtype  attr_t;         /* ...must be at least as wide as chtype */
     
    2987834823 #if @NCURSES_LIBUTF8@
    2987934824 #ifdef mblen                   /* libutf8.h defines it w/o undefining first */
    29880 @@ -366,7 +372,7 @@
     34825@@ -366,7 +379,7 @@
    2988134826 /*
    2988234827  * cchar_t stores an array of CCHARW_MAX wide characters.  The first is
     
    2988734832  */
    2988834833 #define CCHARW_MAX     @NCURSES_CCHARW_MAX@
    29889 @@ -434,7 +440,7 @@
     34834@@ -434,7 +447,7 @@
    2989034835 
    2989134836        NCURSES_SIZE_T _yoffset; /* real begy is _begy + _yoffset */
     
    2989634841 #if @NCURSES_EXT_COLORS@
    2989734842        int     _color;         /* current color-pair for non-space character */
    29898 @@ -854,7 +860,7 @@
     34843@@ -757,6 +770,7 @@
     34844 extern NCURSES_EXPORT(int) ungetch (int);                              /* implemented */
     34845 extern NCURSES_EXPORT(int) untouchwin (WINDOW *);                      /* generated */
     34846 extern NCURSES_EXPORT(void) use_env (bool);                            /* implemented */
     34847+extern NCURSES_EXPORT(void) use_tioctl (bool);                         /* implemented */
     34848 extern NCURSES_EXPORT(int) vidattr (chtype);                           /* implemented */
     34849 extern NCURSES_EXPORT(int) vidputs (chtype, NCURSES_OUTC);             /* implemented */
     34850 extern NCURSES_EXPORT(int) vline (chtype, int);                                /* generated */
     34851@@ -832,7 +846,7 @@
     34852 #if NCURSES_TPARM_VARARGS
     34853 extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, ...);       /* special */
     34854 #else
     34855-extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, long,long,long,long,long,long,long,long,long);      /* special */
     34856+extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG,NCURSES_TPARM_ARG); /* special */
     34857 extern NCURSES_EXPORT(char *) tparm_varargs (NCURSES_CONST char *, ...);       /* special */
     34858 #endif
     34859 
     34860@@ -854,7 +868,7 @@
    2989934861 /*
    2990034862  * vid_attr() was implemented originally based on a draft of X/Open curses.
     
    2990534867 #endif
    2990634868 
    29907 @@ -1115,7 +1121,7 @@
     34869@@ -994,6 +1008,7 @@
     34870 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(typeahead) (SCREEN*, int); /* implemented:SP_FUNC */
     34871 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(ungetch) (SCREEN*, int); /* implemented:SP_FUNC */
     34872 extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_env) (SCREEN*, bool); /* implemented:SP_FUNC */
     34873+extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_tioctl) (SCREEN*, bool); /* implemented:SP_FUNC */
     34874 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vidattr) (SCREEN*, chtype); /* implemented:SP_FUNC */
     34875 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vidputs) (SCREEN*, chtype, NCURSES_SP_OUTC); /* implemented:SP_FUNC */
     34876 #if @NCURSES_EXT_FUNCS@
     34877@@ -1084,7 +1099,7 @@
     34878  */
     34879 
     34880 #define wgetstr(w, s)          wgetnstr(w, s, -1)
     34881-#define getnstr(s, n)          wgetnstr(stdscr, s, n)
     34882+#define getnstr(s, n)          wgetnstr(stdscr, s, (n))
     34883 
     34884 #define setterm(term)          setupterm(term, 1, (int *)0)
     34885 
     34886@@ -1115,7 +1130,7 @@
    2990834887 #define wattroff(win,at)       wattr_off(win, NCURSES_CAST(attr_t, at), NULL)
    2990934888 
     
    2991434893                                  ? ((win)->_color = PAIR_NUMBER(at), \
    2991534894                                      (win)->_attrs = NCURSES_CAST(attr_t, at), \
    29916 @@ -1145,7 +1151,7 @@
     34895@@ -1137,15 +1152,15 @@
     34896 
     34897 #define box(win, v, h)         wborder(win, v, v, h, h, 0, 0, 0, 0)
     34898 #define border(ls, rs, ts, bs, tl, tr, bl, br) wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
     34899-#define hline(ch, n)           whline(stdscr, ch, n)
     34900-#define vline(ch, n)           wvline(stdscr, ch, n)
     34901+#define hline(ch, n)           whline(stdscr, ch, (n))
     34902+#define vline(ch, n)           wvline(stdscr, ch, (n))
     34903 
     34904 #define winstr(w, s)           winnstr(w, s, -1)
     34905 #define winchstr(w, s)         winchnstr(w, s, -1)
    2991734906 #define winsstr(w, s)          winsnstr(w, s, -1)
    2991834907 
     
    2992334912 
    2992434913 #define waddstr(win,str)       waddnstr(win,str,-1)
    29925 @@ -1256,24 +1262,29 @@
     34914@@ -1154,55 +1169,55 @@
     34915 /*
     34916  * These apply to the first 256 color pairs.
     34917  */
     34918-#define COLOR_PAIR(n)  NCURSES_BITS(n, 0)
     34919-#define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,a) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
     34920+#define COLOR_PAIR(n)  NCURSES_BITS((n), 0)
     34921+#define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
     34922 
     34923 /*
     34924  * pseudo functions for standard screen
     34925  */
     34926 
     34927-#define addch(ch)              waddch(stdscr,ch)
     34928-#define addchnstr(str,n)       waddchnstr(stdscr,str,n)
     34929-#define addchstr(str)          waddchstr(stdscr,str)
     34930-#define addnstr(str,n)         waddnstr(stdscr,str,n)
     34931-#define addstr(str)            waddnstr(stdscr,str,-1)
     34932-#define attroff(at)            wattroff(stdscr,at)
     34933-#define attron(at)             wattron(stdscr,at)
     34934-#define attrset(at)            wattrset(stdscr,at)
     34935-#define attr_get(ap,cp,o)      wattr_get(stdscr,ap,cp,o)
     34936-#define attr_off(a,o)          wattr_off(stdscr,a,o)
     34937-#define attr_on(a,o)           wattr_on(stdscr,a,o)
     34938-#define attr_set(a,c,o)                wattr_set(stdscr,a,c,o)
     34939-#define bkgd(ch)               wbkgd(stdscr,ch)
     34940-#define bkgdset(ch)            wbkgdset(stdscr,ch)
     34941-#define chgat(n,a,c,o)         wchgat(stdscr,n,a,c,o)
     34942+#define addch(ch)              waddch(stdscr,(ch))
     34943+#define addchnstr(str,n)       waddchnstr(stdscr,(str),(n))
     34944+#define addchstr(str)          waddchstr(stdscr,(str))
     34945+#define addnstr(str,n)         waddnstr(stdscr,(str),(n))
     34946+#define addstr(str)            waddnstr(stdscr,(str),-1)
     34947+#define attroff(at)            wattroff(stdscr,(at))
     34948+#define attron(at)             wattron(stdscr,(at))
     34949+#define attrset(at)            wattrset(stdscr,(at))
     34950+#define attr_get(ap,cp,o)      wattr_get(stdscr,(ap),(cp),(o))
     34951+#define attr_off(a,o)          wattr_off(stdscr,(a),(o))
     34952+#define attr_on(a,o)           wattr_on(stdscr,(a),(o))
     34953+#define attr_set(a,c,o)                wattr_set(stdscr,(a),(c),(o))
     34954+#define bkgd(ch)               wbkgd(stdscr,(ch))
     34955+#define bkgdset(ch)            wbkgdset(stdscr,(ch))
     34956+#define chgat(n,a,c,o)         wchgat(stdscr,(n),(a),(c),(o))
     34957 #define clear()                        wclear(stdscr)
     34958 #define clrtobot()             wclrtobot(stdscr)
     34959 #define clrtoeol()             wclrtoeol(stdscr)
     34960-#define color_set(c,o)         wcolor_set(stdscr,c,o)
     34961+#define color_set(c,o)         wcolor_set(stdscr,(c),(o))
     34962 #define delch()                        wdelch(stdscr)
     34963 #define deleteln()             winsdelln(stdscr,-1)
     34964-#define echochar(c)            wechochar(stdscr,c)
     34965+#define echochar(c)            wechochar(stdscr,(c))
     34966 #define erase()                        werase(stdscr)
     34967 #define getch()                        wgetch(stdscr)
     34968-#define getstr(str)            wgetstr(stdscr,str)
     34969+#define getstr(str)            wgetstr(stdscr,(str))
     34970 #define inch()                 winch(stdscr)
     34971-#define inchnstr(s,n)          winchnstr(stdscr,s,n)
     34972-#define inchstr(s)             winchstr(stdscr,s)
     34973-#define innstr(s,n)            winnstr(stdscr,s,n)
     34974-#define insch(c)               winsch(stdscr,c)
     34975-#define insdelln(n)            winsdelln(stdscr,n)
     34976+#define inchnstr(s,n)          winchnstr(stdscr,(s),(n))
     34977+#define inchstr(s)             winchstr(stdscr,(s))
     34978+#define innstr(s,n)            winnstr(stdscr,(s),(n))
     34979+#define insch(c)               winsch(stdscr,(c))
     34980+#define insdelln(n)            winsdelln(stdscr,(n))
     34981 #define insertln()             winsdelln(stdscr,1)
     34982-#define insnstr(s,n)           winsnstr(stdscr,s,n)
     34983-#define insstr(s)              winsstr(stdscr,s)
     34984-#define instr(s)               winstr(stdscr,s)
     34985-#define move(y,x)              wmove(stdscr,y,x)
     34986+#define insnstr(s,n)           winsnstr(stdscr,(s),(n))
     34987+#define insstr(s)              winsstr(stdscr,(s))
     34988+#define instr(s)               winstr(stdscr,(s))
     34989+#define move(y,x)              wmove(stdscr,(y),(x))
     34990 #define refresh()              wrefresh(stdscr)
     34991-#define scrl(n)                        wscrl(stdscr,n)
     34992-#define setscrreg(t,b)         wsetscrreg(stdscr,t,b)
     34993+#define scrl(n)                        wscrl(stdscr,(n))
     34994+#define setscrreg(t,b)         wsetscrreg(stdscr,(t),(b))
     34995 #define standend()             wstandend(stdscr)
     34996 #define standout()             wstandout(stdscr)
     34997-#define timeout(delay)         wtimeout(stdscr,delay)
     34998+#define timeout(delay)         wtimeout(stdscr,(delay))
     34999 #define wdeleteln(win)         winsdelln(win,-1)
     35000 #define winsertln(win)         winsdelln(win,1)
     35001 
     35002@@ -1210,70 +1225,75 @@
     35003  * mv functions
     35004  */
     35005 
     35006-#define mvwaddch(win,y,x,ch)           (wmove(win,y,x) == ERR ? ERR : waddch(win,ch))
     35007-#define mvwaddchnstr(win,y,x,str,n)    (wmove(win,y,x) == ERR ? ERR : waddchnstr(win,str,n))
     35008-#define mvwaddchstr(win,y,x,str)       (wmove(win,y,x) == ERR ? ERR : waddchnstr(win,str,-1))
     35009-#define mvwaddnstr(win,y,x,str,n)      (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,n))
     35010-#define mvwaddstr(win,y,x,str)         (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1))
     35011-#define mvwdelch(win,y,x)              (wmove(win,y,x) == ERR ? ERR : wdelch(win))
     35012-#define mvwchgat(win,y,x,n,a,c,o)      (wmove(win,y,x) == ERR ? ERR : wchgat(win,n,a,c,o))
     35013-#define mvwgetch(win,y,x)              (wmove(win,y,x) == ERR ? ERR : wgetch(win))
     35014-#define mvwgetnstr(win,y,x,str,n)      (wmove(win,y,x) == ERR ? ERR : wgetnstr(win,str,n))
     35015-#define mvwgetstr(win,y,x,str)         (wmove(win,y,x) == ERR ? ERR : wgetstr(win,str))
     35016-#define mvwhline(win,y,x,c,n)          (wmove(win,y,x) == ERR ? ERR : whline(win,c,n))
     35017-#define mvwinch(win,y,x)               (wmove(win,y,x) == ERR ? NCURSES_CAST(chtype, ERR) : winch(win))
     35018-#define mvwinchnstr(win,y,x,s,n)       (wmove(win,y,x) == ERR ? ERR : winchnstr(win,s,n))
     35019-#define mvwinchstr(win,y,x,s)          (wmove(win,y,x) == ERR ? ERR : winchstr(win,s))
     35020-#define mvwinnstr(win,y,x,s,n)         (wmove(win,y,x) == ERR ? ERR : winnstr(win,s,n))
     35021-#define mvwinsch(win,y,x,c)            (wmove(win,y,x) == ERR ? ERR : winsch(win,c))
     35022-#define mvwinsnstr(win,y,x,s,n)                (wmove(win,y,x) == ERR ? ERR : winsnstr(win,s,n))
     35023-#define mvwinsstr(win,y,x,s)           (wmove(win,y,x) == ERR ? ERR : winsstr(win,s))
     35024-#define mvwinstr(win,y,x,s)            (wmove(win,y,x) == ERR ? ERR : winstr(win,s))
     35025-#define mvwvline(win,y,x,c,n)          (wmove(win,y,x) == ERR ? ERR : wvline(win,c,n))
     35026-
     35027-#define mvaddch(y,x,ch)                        mvwaddch(stdscr,y,x,ch)
     35028-#define mvaddchnstr(y,x,str,n)         mvwaddchnstr(stdscr,y,x,str,n)
     35029-#define mvaddchstr(y,x,str)            mvwaddchstr(stdscr,y,x,str)
     35030-#define mvaddnstr(y,x,str,n)           mvwaddnstr(stdscr,y,x,str,n)
     35031-#define mvaddstr(y,x,str)              mvwaddstr(stdscr,y,x,str)
     35032-#define mvchgat(y,x,n,a,c,o)           mvwchgat(stdscr,y,x,n,a,c,o)
     35033-#define mvdelch(y,x)                   mvwdelch(stdscr,y,x)
     35034-#define mvgetch(y,x)                   mvwgetch(stdscr,y,x)
     35035-#define mvgetnstr(y,x,str,n)           mvwgetnstr(stdscr,y,x,str,n)
     35036-#define mvgetstr(y,x,str)              mvwgetstr(stdscr,y,x,str)
     35037-#define mvhline(y,x,c,n)               mvwhline(stdscr,y,x,c,n)
     35038-#define mvinch(y,x)                    mvwinch(stdscr,y,x)
     35039-#define mvinchnstr(y,x,s,n)            mvwinchnstr(stdscr,y,x,s,n)
     35040-#define mvinchstr(y,x,s)               mvwinchstr(stdscr,y,x,s)
     35041-#define mvinnstr(y,x,s,n)              mvwinnstr(stdscr,y,x,s,n)
     35042-#define mvinsch(y,x,c)                 mvwinsch(stdscr,y,x,c)
     35043-#define mvinsnstr(y,x,s,n)             mvwinsnstr(stdscr,y,x,s,n)
     35044-#define mvinsstr(y,x,s)                        mvwinsstr(stdscr,y,x,s)
     35045-#define mvinstr(y,x,s)                 mvwinstr(stdscr,y,x,s)
     35046-#define mvvline(y,x,c,n)               mvwvline(stdscr,y,x,c,n)
     35047+#define mvwaddch(win,y,x,ch)           (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch)))
     35048+#define mvwaddchnstr(win,y,x,str,n)    (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),(n)))
     35049+#define mvwaddchstr(win,y,x,str)       (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),-1))
     35050+#define mvwaddnstr(win,y,x,str,n)      (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n)))
     35051+#define mvwaddstr(win,y,x,str)         (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1))
     35052+#define mvwdelch(win,y,x)              (wmove((win),(y),(x)) == ERR ? ERR : wdelch(win))
     35053+#define mvwchgat(win,y,x,n,a,c,o)      (wmove((win),(y),(x)) == ERR ? ERR : wchgat((win),(n),(a),(c),(o)))
     35054+#define mvwgetch(win,y,x)              (wmove((win),(y),(x)) == ERR ? ERR : wgetch(win))
     35055+#define mvwgetnstr(win,y,x,str,n)      (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n)))
     35056+#define mvwgetstr(win,y,x,str)         (wmove((win),(y),(x)) == ERR ? ERR : wgetstr((win),(str)))
     35057+#define mvwhline(win,y,x,c,n)          (wmove((win),(y),(x)) == ERR ? ERR : whline((win),(c),(n)))
     35058+#define mvwinch(win,y,x)               (wmove((win),(y),(x)) == ERR ? NCURSES_CAST(chtype, ERR) : winch(win))
     35059+#define mvwinchnstr(win,y,x,s,n)       (wmove((win),(y),(x)) == ERR ? ERR : winchnstr((win),(s),(n)))
     35060+#define mvwinchstr(win,y,x,s)          (wmove((win),(y),(x)) == ERR ? ERR : winchstr((win),(s)))
     35061+#define mvwinnstr(win,y,x,s,n)         (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n)))
     35062+#define mvwinsch(win,y,x,c)            (wmove((win),(y),(x)) == ERR ? ERR : winsch((win),(c)))
     35063+#define mvwinsnstr(win,y,x,s,n)                (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n)))
     35064+#define mvwinsstr(win,y,x,s)           (wmove((win),(y),(x)) == ERR ? ERR : winsstr((win),(s)))
     35065+#define mvwinstr(win,y,x,s)            (wmove((win),(y),(x)) == ERR ? ERR : winstr((win),(s)))
     35066+#define mvwvline(win,y,x,c,n)          (wmove((win),(y),(x)) == ERR ? ERR : wvline((win),(c),(n)))
     35067+
     35068+#define mvaddch(y,x,ch)                        mvwaddch(stdscr,(y),(x),(ch))
     35069+#define mvaddchnstr(y,x,str,n)         mvwaddchnstr(stdscr,(y),(x),(str),(n))
     35070+#define mvaddchstr(y,x,str)            mvwaddchstr(stdscr,(y),(x),(str))
     35071+#define mvaddnstr(y,x,str,n)           mvwaddnstr(stdscr,(y),(x),(str),(n))
     35072+#define mvaddstr(y,x,str)              mvwaddstr(stdscr,(y),(x),(str))
     35073+#define mvchgat(y,x,n,a,c,o)           mvwchgat(stdscr,(y),(x),(n),(a),(c),(o))
     35074+#define mvdelch(y,x)                   mvwdelch(stdscr,(y),(x))
     35075+#define mvgetch(y,x)                   mvwgetch(stdscr,(y),(x))
     35076+#define mvgetnstr(y,x,str,n)           mvwgetnstr(stdscr,(y),(x),(str),(n))
     35077+#define mvgetstr(y,x,str)              mvwgetstr(stdscr,(y),(x),(str))
     35078+#define mvhline(y,x,c,n)               mvwhline(stdscr,(y),(x),(c),(n))
     35079+#define mvinch(y,x)                    mvwinch(stdscr,(y),(x))
     35080+#define mvinchnstr(y,x,s,n)            mvwinchnstr(stdscr,(y),(x),(s),(n))
     35081+#define mvinchstr(y,x,s)               mvwinchstr(stdscr,(y),(x),(s))
     35082+#define mvinnstr(y,x,s,n)              mvwinnstr(stdscr,(y),(x),(s),(n))
     35083+#define mvinsch(y,x,c)                 mvwinsch(stdscr,(y),(x),(c))
     35084+#define mvinsnstr(y,x,s,n)             mvwinsnstr(stdscr,(y),(x),(s),(n))
     35085+#define mvinsstr(y,x,s)                        mvwinsstr(stdscr,(y),(x),(s))
     35086+#define mvinstr(y,x,s)                 mvwinstr(stdscr,(y),(x),(s))
     35087+#define mvvline(y,x,c,n)               mvwvline(stdscr,(y),(x),(c),(n))
     35088 
     35089 /*
    2992635090  * Some wide-character functions can be implemented without the extensions.
    2992735091  */
     
    2996235126 #endif
    2996335127 #endif /* NCURSES_OPAQUE */
     35128@@ -1291,7 +1311,7 @@
     35129  * Export fallback function for use in C++ binding.
     35130  */
     35131 #if !@HAVE_VSSCANF@
     35132-#define vsscanf(a,b,c) _nc_vsscanf(a,b,c)
     35133+#define vsscanf(a,b,c) _nc_vsscanf((a),(b),(c))
     35134 NCURSES_EXPORT(int) vsscanf(const char *, const char *, va_list);
     35135 #endif
     35136 
    2996435137diff -Naur ncurses-5.9.orig/include/curses.tail ncurses-5.9/include/curses.tail
    29965 --- ncurses-5.9.orig/include/curses.tail        2012-02-16 18:25:12.643809617 +0000
    29966 +++ ncurses-5.9/include/curses.tail     2012-02-16 18:25:12.955817851 +0000
     35138--- ncurses-5.9.orig/include/curses.tail        2012-08-25 19:57:59.423234170 +0000
     35139+++ ncurses-5.9/include/curses.tail     2012-08-25 19:57:59.986564839 +0000
    2996735140@@ -1,4 +1,4 @@
    2996835141-/* $Id: curses.tail,v 1.20 2010/03/28 19:10:55 tom Exp $ */
     
    2998135154 #define _tracech_t2            _tracecchar_t2
    2998235155diff -Naur ncurses-5.9.orig/include/curses.wide ncurses-5.9/include/curses.wide
    29983 --- ncurses-5.9.orig/include/curses.wide        2012-02-16 18:25:12.643809617 +0000
    29984 +++ ncurses-5.9/include/curses.wide     2012-02-16 18:25:12.955817851 +0000
     35156--- ncurses-5.9.orig/include/curses.wide        2012-08-25 19:57:59.423234170 +0000
     35157+++ ncurses-5.9/include/curses.wide     2012-08-25 19:58:02.046555098 +0000
    2998535158@@ -1,4 +1,4 @@
    2998635159-/* $Id: curses.wide,v 1.42 2010/03/30 00:39:41 tom Exp $ */
    29987 +/* $Id: curses.wide,v 1.44 2011/10/29 20:08:19 tom Exp $ */
     35160+/* $Id: curses.wide,v 1.45 2012/07/28 18:10:02 tom Exp $ */
    2998835161 /*
    2998935162  * vile:cmode:
    2999035163  * This file is part of ncurses, designed to be appended after curses.h.in
    29991 @@ -6,7 +6,7 @@
     35164@@ -6,11 +6,11 @@
    2999235165  */
    2999335166 #define _XOPEN_CURSES 1
     
    2999835171 extern NCURSES_EXPORT_VAR(cchar_t *) _nc_wacs;
    2999935172 
    30000 @@ -261,7 +261,7 @@
    30001  #define wins_wstr(w,t)                 wins_nwstr(w,t,-1)
     35173-#define NCURSES_WACS(c)        (&_nc_wacs[(unsigned char)c])
     35174+#define NCURSES_WACS(c)        (&_nc_wacs[NCURSES_CAST(unsigned char,(c))])
     35175 
     35176 #define WACS_BSSB      NCURSES_WACS('l')
     35177 #define WACS_SSBB      NCURSES_WACS('m')
     35178@@ -230,77 +230,77 @@
     35179 /*
     35180  * XSI curses macros for XPG4 conformance.
     35181  */
     35182-#define add_wch(c)                     wadd_wch(stdscr,c)
     35183-#define add_wchnstr(str,n)             wadd_wchnstr(stdscr,str,n)
     35184-#define add_wchstr(str)                        wadd_wchstr(stdscr,str)
     35185-#define addnwstr(wstr,n)               waddnwstr(stdscr,wstr,n)
     35186-#define addwstr(wstr)                  waddwstr(stdscr,wstr)
     35187-#define bkgrnd(c)                      wbkgrnd(stdscr,c)
     35188-#define bkgrndset(c)                   wbkgrndset(stdscr,c)
     35189-#define border_set(l,r,t,b,tl,tr,bl,br) wborder_set(stdscr,l,r,t,b,tl,tr,bl,br)
     35190-#define box_set(w,v,h)                 wborder_set(w,v,v,h,h,0,0,0,0)
     35191-#define echo_wchar(c)                  wecho_wchar(stdscr,c)
     35192-#define get_wch(c)                     wget_wch(stdscr,c)
     35193-#define get_wstr(t)                    wget_wstr(stdscr,t)
     35194-#define getbkgrnd(wch)                 wgetbkgrnd(stdscr,wch)
     35195-#define getn_wstr(t,n)                 wgetn_wstr(stdscr,t,n)
     35196-#define hline_set(c,n)                 whline_set(stdscr,c,n)
     35197-#define in_wch(c)                      win_wch(stdscr,c)
     35198-#define in_wchnstr(c,n)                        win_wchnstr(stdscr,c,n)
     35199-#define in_wchstr(c)                   win_wchstr(stdscr,c)
     35200-#define innwstr(c,n)                   winnwstr(stdscr,c,n)
     35201-#define ins_nwstr(t,n)                 wins_nwstr(stdscr,t,n)
     35202-#define ins_wch(c)                     wins_wch(stdscr,c)
     35203-#define ins_wstr(t)                    wins_wstr(stdscr,t)
     35204-#define inwstr(c)                      winwstr(stdscr,c)
     35205-#define vline_set(c,n)                 wvline_set(stdscr,c,n)
     35206-#define wadd_wchstr(win,str)           wadd_wchnstr(win,str,-1)
     35207-#define waddwstr(win,wstr)             waddnwstr(win,wstr,-1)
     35208-#define wget_wstr(w,t)                 wgetn_wstr(w,t,-1)
     35209-#define win_wchstr(w,c)                        win_wchnstr(w,c,-1)
     35210-#define wins_wstr(w,t)                 wins_nwstr(w,t,-1)
     35211+#define add_wch(c)                     wadd_wch(stdscr,(c))
     35212+#define add_wchnstr(str,n)             wadd_wchnstr(stdscr,(str),(n))
     35213+#define add_wchstr(str)                        wadd_wchstr(stdscr,(str))
     35214+#define addnwstr(wstr,n)               waddnwstr(stdscr,(wstr),(n))
     35215+#define addwstr(wstr)                  waddwstr(stdscr,(wstr))
     35216+#define bkgrnd(c)                      wbkgrnd(stdscr,(c))
     35217+#define bkgrndset(c)                   wbkgrndset(stdscr,(c))
     35218+#define border_set(l,r,t,b,tl,tr,bl,br) wborder_set(stdscr,(l),(r),(t),(b),tl,tr,bl,br)
     35219+#define box_set(w,v,h)                 wborder_set((w),(v),(v),(h),(h),0,0,0,0)
     35220+#define echo_wchar(c)                  wecho_wchar(stdscr,(c))
     35221+#define get_wch(c)                     wget_wch(stdscr,(c))
     35222+#define get_wstr(t)                    wget_wstr(stdscr,(t))
     35223+#define getbkgrnd(wch)                 wgetbkgrnd(stdscr,(wch))
     35224+#define getn_wstr(t,n)                 wgetn_wstr(stdscr,(t),(n))
     35225+#define hline_set(c,n)                 whline_set(stdscr,(c),(n))
     35226+#define in_wch(c)                      win_wch(stdscr,(c))
     35227+#define in_wchnstr(c,n)                        win_wchnstr(stdscr,(c),(n))
     35228+#define in_wchstr(c)                   win_wchstr(stdscr,(c))
     35229+#define innwstr(c,n)                   winnwstr(stdscr,(c),(n))
     35230+#define ins_nwstr(t,n)                 wins_nwstr(stdscr,(t),(n))
     35231+#define ins_wch(c)                     wins_wch(stdscr,(c))
     35232+#define ins_wstr(t)                    wins_wstr(stdscr,(t))
     35233+#define inwstr(c)                      winwstr(stdscr,(c))
     35234+#define vline_set(c,n)                 wvline_set(stdscr,(c),(n))
     35235+#define wadd_wchstr(win,str)           wadd_wchnstr((win),(str),-1)
     35236+#define waddwstr(win,wstr)             waddnwstr((win),(wstr),-1)
     35237+#define wget_wstr(w,t)                 wgetn_wstr((w),(t),-1)
     35238+#define win_wchstr(w,c)                        win_wchnstr((w),(c),-1)
     35239+#define wins_wstr(w,t)                 wins_nwstr((w),(t),-1)
    3000235240 
    3000335241 #if !NCURSES_OPAQUE
     
    3000635244 #endif
    3000735245 
    30008  #define mvadd_wch(y,x,c)               mvwadd_wch(stdscr,y,x,c)
     35246-#define mvadd_wch(y,x,c)               mvwadd_wch(stdscr,y,x,c)
     35247-#define mvadd_wchnstr(y,x,s,n)         mvwadd_wchnstr(stdscr,y,x,s,n)
     35248-#define mvadd_wchstr(y,x,s)            mvwadd_wchstr(stdscr,y,x,s)
     35249-#define mvaddnwstr(y,x,wstr,n)         mvwaddnwstr(stdscr,y,x,wstr,n)
     35250-#define mvaddwstr(y,x,wstr)            mvwaddwstr(stdscr,y,x,wstr)
     35251-#define mvget_wch(y,x,c)               mvwget_wch(stdscr,y,x,c)
     35252-#define mvget_wstr(y,x,t)              mvwget_wstr(stdscr,y,x,t)
     35253-#define mvgetn_wstr(y,x,t,n)           mvwgetn_wstr(stdscr,y,x,t,n)
     35254-#define mvhline_set(y,x,c,n)           mvwhline_set(stdscr,y,x,c,n)
     35255-#define mvin_wch(y,x,c)                        mvwin_wch(stdscr,y,x,c)
     35256-#define mvin_wchnstr(y,x,c,n)          mvwin_wchnstr(stdscr,y,x,c,n)
     35257-#define mvin_wchstr(y,x,c)             mvwin_wchstr(stdscr,y,x,c)
     35258-#define mvinnwstr(y,x,c,n)             mvwinnwstr(stdscr,y,x,c,n)
     35259-#define mvins_nwstr(y,x,t,n)           mvwins_nwstr(stdscr,y,x,t,n)
     35260-#define mvins_wch(y,x,c)               mvwins_wch(stdscr,y,x,c)
     35261-#define mvins_wstr(y,x,t)              mvwins_wstr(stdscr,y,x,t)
     35262-#define mvinwstr(y,x,c)                        mvwinwstr(stdscr,y,x,c)
     35263-#define mvvline_set(y,x,c,n)           mvwvline_set(stdscr,y,x,c,n)
     35264-
     35265-#define mvwadd_wch(win,y,x,c)          (wmove(win,y,x) == ERR ? ERR : wadd_wch(win,c))
     35266-#define mvwadd_wchnstr(win,y,x,s,n)    (wmove(win,y,x) == ERR ? ERR : wadd_wchnstr(win,s,n))
     35267-#define mvwadd_wchstr(win,y,x,s)       (wmove(win,y,x) == ERR ? ERR : wadd_wchstr(win,s))
     35268-#define mvwaddnwstr(win,y,x,wstr,n)    (wmove(win,y,x) == ERR ? ERR : waddnwstr(win,wstr,n))
     35269-#define mvwaddwstr(win,y,x,wstr)       (wmove(win,y,x) == ERR ? ERR : waddwstr(win,wstr))
     35270-#define mvwget_wch(win,y,x,c)          (wmove(win,y,x) == ERR ? ERR : wget_wch(win,c))
     35271-#define mvwget_wstr(win,y,x,t)         (wmove(win,y,x) == ERR ? ERR : wget_wstr(win,t))
     35272-#define mvwgetn_wstr(win,y,x,t,n)      (wmove(win,y,x) == ERR ? ERR : wgetn_wstr(win,t,n))
     35273-#define mvwhline_set(win,y,x,c,n)      (wmove(win,y,x) == ERR ? ERR : whline_set(win,c,n))
     35274-#define mvwin_wch(win,y,x,c)           (wmove(win,y,x) == ERR ? ERR : win_wch(win,c))
     35275-#define mvwin_wchnstr(win,y,x,c,n)     (wmove(win,y,x) == ERR ? ERR : win_wchnstr(win,c,n))
     35276-#define mvwin_wchstr(win,y,x,c)                (wmove(win,y,x) == ERR ? ERR : win_wchstr(win,c))
     35277-#define mvwinnwstr(win,y,x,c,n)                (wmove(win,y,x) == ERR ? ERR : winnwstr(win,c,n))
     35278-#define mvwins_nwstr(win,y,x,t,n)      (wmove(win,y,x) == ERR ? ERR : wins_nwstr(win,t,n))
     35279-#define mvwins_wch(win,y,x,c)          (wmove(win,y,x) == ERR ? ERR : wins_wch(win,c))
     35280-#define mvwins_wstr(win,y,x,t)         (wmove(win,y,x) == ERR ? ERR : wins_wstr(win,t))
     35281-#define mvwinwstr(win,y,x,c)           (wmove(win,y,x) == ERR ? ERR : winwstr(win,c))
     35282-#define mvwvline_set(win,y,x,c,n)      (wmove(win,y,x) == ERR ? ERR : wvline_set(win,c,n))
     35283+#define mvadd_wch(y,x,c)               mvwadd_wch(stdscr,(y),(x),(c))
     35284+#define mvadd_wchnstr(y,x,s,n)         mvwadd_wchnstr(stdscr,(y),(x),(s),(n))
     35285+#define mvadd_wchstr(y,x,s)            mvwadd_wchstr(stdscr,(y),(x),(s))
     35286+#define mvaddnwstr(y,x,wstr,n)         mvwaddnwstr(stdscr,(y),(x),(wstr),(n))
     35287+#define mvaddwstr(y,x,wstr)            mvwaddwstr(stdscr,(y),(x),(wstr))
     35288+#define mvget_wch(y,x,c)               mvwget_wch(stdscr,(y),(x),(c))
     35289+#define mvget_wstr(y,x,t)              mvwget_wstr(stdscr,(y),(x),(t))
     35290+#define mvgetn_wstr(y,x,t,n)           mvwgetn_wstr(stdscr,(y),(x),(t),(n))
     35291+#define mvhline_set(y,x,c,n)           mvwhline_set(stdscr,(y),(x),(c),(n))
     35292+#define mvin_wch(y,x,c)                        mvwin_wch(stdscr,(y),(x),(c))
     35293+#define mvin_wchnstr(y,x,c,n)          mvwin_wchnstr(stdscr,(y),(x),(c),(n))
     35294+#define mvin_wchstr(y,x,c)             mvwin_wchstr(stdscr,(y),(x),(c))
     35295+#define mvinnwstr(y,x,c,n)             mvwinnwstr(stdscr,(y),(x),(c),(n))
     35296+#define mvins_nwstr(y,x,t,n)           mvwins_nwstr(stdscr,(y),(x),(t),(n))
     35297+#define mvins_wch(y,x,c)               mvwins_wch(stdscr,(y),(x),(c))
     35298+#define mvins_wstr(y,x,t)              mvwins_wstr(stdscr,(y),(x),(t))
     35299+#define mvinwstr(y,x,c)                        mvwinwstr(stdscr,(y),(x),(c))
     35300+#define mvvline_set(y,x,c,n)           mvwvline_set(stdscr,(y),(x),(c),(n))
     35301+
     35302+#define mvwadd_wch(win,y,x,c)          (wmove(win,(y),(x)) == ERR ? ERR : wadd_wch((win),(c)))
     35303+#define mvwadd_wchnstr(win,y,x,s,n)    (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchnstr((win),(s),(n)))
     35304+#define mvwadd_wchstr(win,y,x,s)       (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchstr((win),(s)))
     35305+#define mvwaddnwstr(win,y,x,wstr,n)    (wmove(win,(y),(x)) == ERR ? ERR : waddnwstr((win),(wstr),(n)))
     35306+#define mvwaddwstr(win,y,x,wstr)       (wmove(win,(y),(x)) == ERR ? ERR : waddwstr((win),(wstr)))
     35307+#define mvwget_wch(win,y,x,c)          (wmove(win,(y),(x)) == ERR ? ERR : wget_wch((win),(c)))
     35308+#define mvwget_wstr(win,y,x,t)         (wmove(win,(y),(x)) == ERR ? ERR : wget_wstr((win),(t)))
     35309+#define mvwgetn_wstr(win,y,x,t,n)      (wmove(win,(y),(x)) == ERR ? ERR : wgetn_wstr((win),(t),(n)))
     35310+#define mvwhline_set(win,y,x,c,n)      (wmove(win,(y),(x)) == ERR ? ERR : whline_set((win),(c),(n)))
     35311+#define mvwin_wch(win,y,x,c)           (wmove(win,(y),(x)) == ERR ? ERR : win_wch((win),(c)))
     35312+#define mvwin_wchnstr(win,y,x,c,n)     (wmove(win,(y),(x)) == ERR ? ERR : win_wchnstr((win),(c),(n)))
     35313+#define mvwin_wchstr(win,y,x,c)                (wmove(win,(y),(x)) == ERR ? ERR : win_wchstr((win),(c)))
     35314+#define mvwinnwstr(win,y,x,c,n)                (wmove(win,(y),(x)) == ERR ? ERR : winnwstr((win),(c),(n)))
     35315+#define mvwins_nwstr(win,y,x,t,n)      (wmove(win,(y),(x)) == ERR ? ERR : wins_nwstr((win),(t),(n)))
     35316+#define mvwins_wch(win,y,x,c)          (wmove(win,(y),(x)) == ERR ? ERR : wins_wch((win),(c)))
     35317+#define mvwins_wstr(win,y,x,t)         (wmove(win,(y),(x)) == ERR ? ERR : wins_wstr((win),(t)))
     35318+#define mvwinwstr(win,y,x,c)           (wmove(win,(y),(x)) == ERR ? ERR : winwstr((win),(c)))
     35319+#define mvwvline_set(win,y,x,c,n)      (wmove(win,(y),(x)) == ERR ? ERR : wvline_set((win),(c),(n)))
     35320 
     35321 #endif /* NCURSES_NOMACROS */
     35322 
     35323diff -Naur ncurses-5.9.orig/include/headers ncurses-5.9/include/headers
     35324--- ncurses-5.9.orig/include/headers    2012-08-25 19:57:59.423234170 +0000
     35325+++ ncurses-5.9/include/headers 2012-08-25 19:58:02.046555098 +0000
     35326@@ -1,6 +1,6 @@
     35327-# $Id: headers,v 1.10 2009/09/05 17:46:30 tom Exp $
     35328+# $Id: headers,v 1.12 2012/07/28 22:41:34 Roumen.Petrov Exp $
     35329 ##############################################################################
     35330-# Copyright (c) 1998-2007,2009 Free Software Foundation, Inc.                #
     35331+# Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.                #
     35332 #                                                                            #
     35333 # Permission is hereby granted, free of charge, to any person obtaining a    #
     35334 # copy of this software and associated documentation files (the "Software"), #
     35335@@ -29,14 +29,23 @@
     35336 #
     35337 # Author: Thomas E. Dickey     1996-on
     35338 #
     35339-term.h
     35340 curses.h
     35341 unctrl.h
     35342-termcap.h
     35343 ncurses_dll.h
     35344+
     35345+# Support for termcap (and tic, etc.), which can be a separate library
     35346+@ termlib
     35347+term.h
     35348+termcap.h
     35349+
     35350+# Headers used only for tic, other programs using internal interfaces
     35351 @ ticlib
     35352 $(srcdir)/tic.h
     35353 $(srcdir)/term_entry.h
     35354 $(srcdir)/nc_tparm.h
     35355 
     35356+# Porting
     35357+@ port_win32con
     35358+$(srcdir)/ncurses_mingw.h
     35359+
     35360 # vile:makemode
    3000935361diff -Naur ncurses-5.9.orig/include/nc_alloc.h ncurses-5.9/include/nc_alloc.h
    30010 --- ncurses-5.9.orig/include/nc_alloc.h 2012-02-16 18:25:12.643809617 +0000
    30011 +++ ncurses-5.9/include/nc_alloc.h      2012-02-16 18:25:12.955817851 +0000
     35362--- ncurses-5.9.orig/include/nc_alloc.h 2012-08-25 19:57:59.423234170 +0000
     35363+++ ncurses-5.9/include/nc_alloc.h      2012-08-25 19:57:59.989898157 +0000
    3001235364@@ -1,5 +1,5 @@
    3001335365 /****************************************************************************
     
    3004835400+
    3004935401 #endif /* NC_ALLOC_included */
     35402diff -Naur ncurses-5.9.orig/include/nc_string.h ncurses-5.9/include/nc_string.h
     35403--- ncurses-5.9.orig/include/nc_string.h        1970-01-01 00:00:00.000000000 +0000
     35404+++ ncurses-5.9/include/nc_string.h     2012-08-25 19:58:00.906560490 +0000
     35405@@ -0,0 +1,77 @@
     35406+/****************************************************************************
     35407+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     35408+ *                                                                          *
     35409+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     35410+ * copy of this software and associated documentation files (the            *
     35411+ * "Software"), to deal in the Software without restriction, including      *
     35412+ * without limitation the rights to use, copy, modify, merge, publish,      *
     35413+ * distribute, distribute with modifications, sublicense, and/or sell       *
     35414+ * copies of the Software, and to permit persons to whom the Software is    *
     35415+ * furnished to do so, subject to the following conditions:                 *
     35416+ *                                                                          *
     35417+ * The above copyright notice and this permission notice shall be included  *
     35418+ * in all copies or substantial portions of the Software.                   *
     35419+ *                                                                          *
     35420+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     35421+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     35422+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     35423+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     35424+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     35425+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     35426+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     35427+ *                                                                          *
     35428+ * Except as contained in this notice, the name(s) of the above copyright   *
     35429+ * holders shall not be used in advertising or otherwise to promote the     *
     35430+ * sale, use or other dealings in this Software without prior written       *
     35431+ * authorization.                                                           *
     35432+ ****************************************************************************/
     35433+
     35434+/****************************************************************************
     35435+ *  Author: Thomas E. Dickey                        2012                    *
     35436+ ****************************************************************************/
     35437+
     35438+#ifndef STRING_HACKS_H
     35439+#define STRING_HACKS_H 1
     35440+
     35441+#include <ncurses_cfg.h>
     35442+
     35443+/*
     35444+ * $Id: nc_string.h,v 1.3 2012/02/23 10:21:17 tom Exp $
     35445+ *
     35446+ * String-hacks.  Use these macros to stifle warnings on (presumably) correct
     35447+ * uses of strcat, strcpy and sprintf.
     35448+ *
     35449+ * By the way -
     35450+ * A fundamental limitation of the interfaces (and frequent issue in bug
     35451+ * reports using these functions) is that sizes are passed as unsigned values
     35452+ * (with associated sign-extension problems), limiting their effectiveness
     35453+ * when checking for buffer overflow.
     35454+ */
     35455+
     35456+#ifdef __cplusplus
     35457+#define NCURSES_VOID /* nothing */
     35458+#else
     35459+#define NCURSES_VOID (void)
     35460+#endif
     35461+
     35462+#if USE_STRING_HACKS && HAVE_STRLCAT
     35463+#define _nc_STRCAT(d,s,n)      NCURSES_VOID strlcat((d),(s),(n))
     35464+#else
     35465+#define _nc_STRCAT(d,s,n)      NCURSES_VOID strcat((d),(s))
     35466+#endif
     35467+
     35468+#if USE_STRING_HACKS && HAVE_STRLCPY
     35469+#define _nc_STRCPY(d,s,n)      NCURSES_VOID strlcpy((d),(s),(n))
     35470+#else
     35471+#define _nc_STRCPY(d,s,n)      NCURSES_VOID strcpy((d),(s))
     35472+#endif
     35473+
     35474+#if USE_STRING_HACKS && HAVE_SNPRINTF
     35475+#define _nc_SPRINTF             NCURSES_VOID snprintf
     35476+#define _nc_SLIMIT(n)           (n),
     35477+#else
     35478+#define _nc_SPRINTF             NCURSES_VOID sprintf
     35479+#define _nc_SLIMIT(n)          /* nothing */
     35480+#endif
     35481+
     35482+#endif /* STRING_HACKS_H */
    3005035483diff -Naur ncurses-5.9.orig/include/nc_termios.h ncurses-5.9/include/nc_termios.h
    3005135484--- ncurses-5.9.orig/include/nc_termios.h       1970-01-01 00:00:00.000000000 +0000
    30052 +++ ncurses-5.9/include/nc_termios.h    2012-02-16 18:25:12.955817851 +0000
     35485+++ ncurses-5.9/include/nc_termios.h    2012-08-25 19:57:59.989898157 +0000
    3005335486@@ -0,0 +1,171 @@
    3005435487+/****************************************************************************
     
    3022335656+
    3022435657+#endif /* NC_TERMIOS_included */
     35658diff -Naur ncurses-5.9.orig/include/nc_tparm.h ncurses-5.9/include/nc_tparm.h
     35659--- ncurses-5.9.orig/include/nc_tparm.h 2012-08-25 19:57:59.423234170 +0000
     35660+++ ncurses-5.9/include/nc_tparm.h      2012-08-25 19:58:00.829894185 +0000
     35661@@ -1,5 +1,5 @@
     35662 /****************************************************************************
     35663- * Copyright (c) 2006,2010 Free Software Foundation, Inc.                   *
     35664+ * Copyright (c) 2006-2010,2012 Free Software Foundation, Inc.              *
     35665  *                                                                          *
     35666  * Permission is hereby granted, free of charge, to any person obtaining a  *
     35667  * copy of this software and associated documentation files (the            *
     35668@@ -30,7 +30,7 @@
     35669  *  Author: Thomas E. Dickey                        2006                    *
     35670  ****************************************************************************/
     35671 
     35672-/* $Id: nc_tparm.h,v 1.5 2010/12/25 20:27:22 tom Exp $ */
     35673+/* $Id: nc_tparm.h,v 1.6 2012/02/18 21:34:42 tom Exp $ */
     35674 
     35675 #ifndef NC_TPARM_included
     35676 #define NC_TPARM_included 1
     35677@@ -40,8 +40,12 @@
     35678  * assumption of the varargs code.
     35679  */
     35680 #ifndef TPARM_ARG
     35681+#ifdef NCURSES_TPARM_ARG
     35682+#define TPARM_ARG NCURSES_TPARM_ARG
     35683+#else
     35684 #define TPARM_ARG long
     35685 #endif
     35686+#endif /* TPARAM_ARG */
     35687 
     35688 #define TPARM_N(n) (TPARM_ARG)(n)
     35689 
    3022535690diff -Naur ncurses-5.9.orig/include/ncurses_defs ncurses-5.9/include/ncurses_defs
    30226 --- ncurses-5.9.orig/include/ncurses_defs       2012-02-16 18:25:12.643809617 +0000
    30227 +++ ncurses-5.9/include/ncurses_defs    2012-02-16 18:25:12.955817851 +0000
    30228 @@ -1,4 +1,4 @@
     35691--- ncurses-5.9.orig/include/ncurses_defs       2012-08-25 19:57:59.423234170 +0000
     35692+++ ncurses-5.9/include/ncurses_defs    2012-08-25 19:58:01.933222301 +0000
     35693@@ -1,6 +1,6 @@
    3022935694-# $Id: ncurses_defs,v 1.46 2011/03/22 09:17:59 tom Exp $
    30230 +# $Id: ncurses_defs,v 1.52 2011/12/17 18:14:30 tom Exp $
     35695+# $Id: ncurses_defs,v 1.54 2012/07/14 21:03:29 tom Exp $
    3023135696 ##############################################################################
    30232  # Copyright (c) 2000-2010,2011 Free Software Foundation, Inc.                #
     35697-# Copyright (c) 2000-2010,2011 Free Software Foundation, Inc.                #
     35698+# Copyright (c) 2000-2011,2012 Free Software Foundation, Inc.                #
    3023335699 #                                                                            #
     35700 # Permission is hereby granted, free of charge, to any person obtaining a    #
     35701 # copy of this software and associated documentation files (the "Software"), #
    3023435702@@ -34,6 +34,7 @@
    3023535703 BROKEN_LINKER
     
    3024835716 HAVE_BSD_CGETENT
    3024935717 HAVE_BSD_SIGNAL_H
    30250 @@ -123,6 +125,7 @@
     35718@@ -102,6 +104,7 @@
     35719 HAVE_POLL
     35720 HAVE_POLL_H
     35721 HAVE_PURIFY
     35722+HAVE_PUTENV
     35723 HAVE_PUTWC
     35724 HAVE_PUTWIN    1
     35725 HAVE_REGEXPR_H_FUNCS
     35726@@ -115,6 +118,7 @@
     35727 HAVE_SELECT
     35728 HAVE_SETBUF
     35729 HAVE_SETBUFFER
     35730+HAVE_SETENV
     35731 HAVE_SETUPTERM 1
     35732 HAVE_SETVBUF
     35733 HAVE_SGTTY_H
     35734@@ -123,7 +127,11 @@
    3025135735 HAVE_SIZECHANGE
    3025235736 HAVE_SLK_COLOR
    3025335737 HAVE_SLK_INIT  1
     35738+HAVE_SNPRINTF
    3025435739+HAVE_STDINT_H
    3025535740 HAVE_STRDUP
     35741+HAVE_STRLCAT
     35742+HAVE_STRLCPY
    3025635743 HAVE_STRSTR
    3025735744 HAVE_SYMLINK
    30258 @@ -153,9 +156,12 @@
     35745 HAVE_SYS_BSDTYPES_H
     35746@@ -153,9 +161,12 @@
    3025935747 HAVE_TYPEINFO
    3026035748 HAVE_TYPE_ATTR_T
     
    3026935757 HAVE_VSNPRINTF
    3027035758 HAVE_VSSCANF
    30271 @@ -176,6 +182,7 @@
     35759@@ -176,6 +187,7 @@
    3027235760 NCURSES_EXT_FUNCS
    3027335761 NCURSES_NO_PADDING
     
    3027735765 NO_LEAKS
    3027835766 PURE_TERMINFO
     35767@@ -205,6 +217,7 @@
     35768 USE_SAFE_SPRINTF
     35769 USE_SCROLL_HINTS
     35770 USE_SIGWINCH
     35771+USE_STRING_HACKS
     35772 USE_SYMLINKS
     35773 USE_SYSMOUSE
     35774 USE_TERMCAP
    3027935775diff -Naur ncurses-5.9.orig/include/ncurses_mingw.h ncurses-5.9/include/ncurses_mingw.h
    30280 --- ncurses-5.9.orig/include/ncurses_mingw.h    2012-02-16 18:25:12.643809617 +0000
    30281 +++ ncurses-5.9/include/ncurses_mingw.h 2012-02-16 18:25:12.955817851 +0000
     35776--- ncurses-5.9.orig/include/ncurses_mingw.h    2012-08-25 19:57:59.423234170 +0000
     35777+++ ncurses-5.9/include/ncurses_mingw.h 2012-08-25 19:57:59.993231475 +0000
    3028235778@@ -1,5 +1,5 @@
    3028335779 /****************************************************************************
     
    3040235898+#endif /* __MINGW32__ */
    3040335899diff -Naur ncurses-5.9.orig/include/term_entry.h ncurses-5.9/include/term_entry.h
    30404 --- ncurses-5.9.orig/include/term_entry.h       2012-02-16 18:25:12.643809617 +0000
    30405 +++ ncurses-5.9/include/term_entry.h    2012-02-16 18:25:12.959817957 +0000
     35900--- ncurses-5.9.orig/include/term_entry.h       2012-08-25 19:57:59.423234170 +0000
     35901+++ ncurses-5.9/include/term_entry.h    2012-08-25 19:58:00.956560253 +0000
    3040635902@@ -1,5 +1,5 @@
    3040735903 /****************************************************************************
    3040835904- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
    30409 + * Copyright (c) 1998-2009,2011 Free Software Foundation, Inc.              *
     35905+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3041035906  *                                                                          *
    3041135907  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3041635912 
    3041735913-/* $Id: term_entry.h,v 1.37 2009/07/11 16:52:29 tom Exp $ */
    30418 +/* $Id: term_entry.h,v 1.40 2011/10/08 21:00:41 tom Exp $ */
     35914+/* $Id: term_entry.h,v 1.41 2012/02/29 11:57:03 tom Exp $ */
    3041935915 
    3042035916 /*
     
    3044535941 #define MAX_CROSSLINKS 16
    3044635942 
     35943@@ -132,7 +150,7 @@
     35944 
     35945 /* alloc_ttype.c: elementary allocation code */
     35946 extern NCURSES_EXPORT(void) _nc_align_termtype (TERMTYPE *, TERMTYPE *);
     35947-extern NCURSES_EXPORT(void) _nc_copy_termtype (TERMTYPE *, TERMTYPE *);
     35948+extern NCURSES_EXPORT(void) _nc_copy_termtype (TERMTYPE *, const TERMTYPE *);
     35949 
     35950 /* free_ttype.c: elementary allocation code */
     35951 extern NCURSES_EXPORT(void) _nc_free_termtype (TERMTYPE *);
    3044735952diff -Naur ncurses-5.9.orig/include/tic.h ncurses-5.9/include/tic.h
    30448 --- ncurses-5.9.orig/include/tic.h      2012-02-16 18:25:12.643809617 +0000
    30449 +++ ncurses-5.9/include/tic.h   2012-02-16 18:25:12.959817957 +0000
     35953--- ncurses-5.9.orig/include/tic.h      2012-08-25 19:57:59.423234170 +0000
     35954+++ ncurses-5.9/include/tic.h   2012-08-25 19:58:01.036559874 +0000
    3045035955@@ -1,5 +1,5 @@
    3045135956 /****************************************************************************
    3045235957- * Copyright (c) 1998-2007,2009 Free Software Foundation, Inc.              *
    30453 + * Copyright (c) 1998-2009,2011 Free Software Foundation, Inc.              *
     35958+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3045435959  *                                                                          *
    3045535960  * Permission is hereby granted, free of charge, to any person obtaining a  *
    3045635961  * copy of this software and associated documentation files (the            *
    30457 @@ -33,7 +33,7 @@
     35962@@ -33,14 +33,14 @@
    3045835963  ****************************************************************************/
    3045935964 
    3046035965 /*
    3046135966- * $Id: tic.h,v 1.65 2009/08/08 17:52:46 tom Exp $
    30462 + * $Id: tic.h,v 1.67 2011/10/08 21:00:50 tom Exp $
     35967+ * $Id: tic.h,v 1.69 2012/03/17 18:22:10 tom Exp $
    3046335968  *     tic.h - Global variables and structures for the terminfo
    3046435969  *                     compiler.
    3046535970  */
    30466 @@ -270,6 +270,7 @@
     35971 
     35972 #ifndef __TIC_H
     35973 #define __TIC_H
     35974-
     35975+/* *INDENT-OFF* */
     35976 #ifdef __cplusplus
     35977 extern "C" {
     35978 #endif
     35979@@ -224,6 +224,12 @@
     35980 
     35981 #define NOTFOUND       ((struct name_table_entry *) 0)
     35982 
     35983+/*
     35984+ * The casts are required for correct sign-propagation with systems such as
     35985+ * AIX, IRIX64, Solaris which default to unsigned characters.  The C standard
     35986+ * leaves this detail unspecified.
     35987+ */
     35988+
     35989 /* out-of-band values for representing absent capabilities */
     35990 #define ABSENT_BOOLEAN         ((signed char)-1)       /* 255 */
     35991 #define ABSENT_NUMERIC         (-1)
     35992@@ -248,6 +254,8 @@
     35993 #define TERMINFO "/usr/share/terminfo"
     35994 #endif
     35995 
     35996+#ifdef NCURSES_TERM_ENTRY_H_incl
     35997+
     35998 /* access.c */
     35999 extern NCURSES_EXPORT(unsigned) _nc_pathlast (const char *);
     36000 extern NCURSES_EXPORT(bool) _nc_is_abs_path (const char *);
     36001@@ -270,6 +278,7 @@
    3046736002 extern NCURSES_EXPORT_VAR(int) _nc_curr_col;
    3046836003 extern NCURSES_EXPORT_VAR(int) _nc_curr_line;
     
    3047236007 extern NCURSES_EXPORT_VAR(long) _nc_comment_start;
    3047336008 extern NCURSES_EXPORT_VAR(long) _nc_curr_file_pos;
    30474 @@ -314,23 +315,6 @@
     36009@@ -314,23 +323,6 @@
    3047536010 extern const char * _nc_progname;
    3047636011 
     
    3049636031 extern NCURSES_EXPORT(const char *) _nc_tic_dir (const char *);
    3049736032 extern NCURSES_EXPORT(void) _nc_first_db(DBDIRS *, int *);
     36033@@ -339,8 +331,11 @@
     36034 /* write_entry.c */
     36035 extern NCURSES_EXPORT(int) _nc_tic_written (void);
     36036 
     36037+#endif /* NCURSES_TERM_ENTRY_H_incl */
     36038+
     36039 #ifdef __cplusplus
     36040 }
     36041 #endif
     36042 
     36043+/* *INDENT-ON* */
     36044 #endif /* __TIC_H */
     36045diff -Naur ncurses-5.9.orig/man/Makefile.in ncurses-5.9/man/Makefile.in
     36046--- ncurses-5.9.orig/man/Makefile.in    2012-08-25 19:57:59.389900995 +0000
     36047+++ ncurses-5.9/man/Makefile.in 2012-08-25 19:58:02.359886951 +0000
     36048@@ -1,4 +1,4 @@
     36049-# $Id: Makefile.in,v 1.45 2010/11/27 21:45:27 tom Exp $
     36050+# $Id: Makefile.in,v 1.46 2012/08/11 21:31:56 tom Exp $
     36051 ##############################################################################
     36052 # Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.                #
     36053 #                                                                            #
     36054@@ -41,6 +41,7 @@
     36055 srcdir         = @srcdir@
     36056 prefix         = @prefix@
     36057 exec_prefix    = @exec_prefix@
     36058+datarootdir    = @datarootdir@
     36059 datadir                = @datadir@
     36060 mandir         = @mandir@
     36061 
     36062diff -Naur ncurses-5.9.orig/man/curs_getch.3x ncurses-5.9/man/curs_getch.3x
     36063--- ncurses-5.9.orig/man/curs_getch.3x  2012-08-25 19:57:59.389900995 +0000
     36064+++ ncurses-5.9/man/curs_getch.3x       2012-08-25 19:58:01.893222491 +0000
     36065@@ -1,6 +1,6 @@
     36066 '\" t
     36067 .\"***************************************************************************
     36068-.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     36069+.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     36070 .\"                                                                          *
     36071 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     36072 .\" copy of this software and associated documentation files (the            *
     36073@@ -27,7 +27,7 @@
     36074 .\" authorization.                                                           *
     36075 .\"***************************************************************************
     36076 .\"
     36077-.\" $Id: curs_getch.3x,v 1.36 2011/01/22 19:38:51 tom Exp $
     36078+.\" $Id: curs_getch.3x,v 1.37 2012/07/07 20:04:56 tom Exp $
     36079 .TH curs_getch 3X ""
     36080 .na
     36081 .hy 0
     36082@@ -237,14 +237,14 @@
     36083 All routines return the integer \fBERR\fR upon failure and an integer value
     36084 other than \fBERR\fR (\fBOK\fR in the case of ungetch()) upon successful
     36085 completion.
     36086-.RS
     36087+.RS 3
     36088 .TP 5
     36089 \fBungetch\fP
     36090-returns an error
     36091+returns ERR
     36092 if there is no more room in the FIFO.
     36093-.TP 5
     36094+.TP
     36095 \fBwgetch\fP
     36096-returns an error
     36097+returns ERR
     36098 if the window pointer is null, or
     36099 if its timeout expires without having any data.
     36100 .RE
     36101diff -Naur ncurses-5.9.orig/man/curs_inopts.3x ncurses-5.9/man/curs_inopts.3x
     36102--- ncurses-5.9.orig/man/curs_inopts.3x 2012-08-25 19:57:59.386567678 +0000
     36103+++ ncurses-5.9/man/curs_inopts.3x      2012-08-25 19:58:01.296558645 +0000
     36104@@ -1,5 +1,5 @@
     36105 .\"***************************************************************************
     36106-.\" Copyright (c) 1998-2005,2010 Free Software Foundation, Inc.              *
     36107+.\" Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     36108 .\"                                                                          *
     36109 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     36110 .\" copy of this software and associated documentation files (the            *
     36111@@ -26,7 +26,7 @@
     36112 .\" authorization.                                                           *
     36113 .\"***************************************************************************
     36114 .\"
     36115-.\" $Id: curs_inopts.3x,v 1.15 2010/12/04 18:40:45 tom Exp $
     36116+.\" $Id: curs_inopts.3x,v 1.17 2012/04/28 19:09:15 tom Exp $
     36117 .TH curs_inopts 3X ""
     36118 .na
     36119 .hy 0
     36120@@ -223,6 +223,42 @@
     36121 left the echo bit on at initialization, but the BSD \fBraw\fR call turned it
     36122 off as a side-effect.  For best portability, set echo or noecho explicitly
     36123 just after initialization, even if your program remains in cooked mode.
     36124+.PP
     36125+When \fBkeypad\fP is first enabled,
     36126+ncurses loads the key-definitions for the current terminal description.
     36127+If the terminal description includes extended string capabilities,
     36128+e.g., from using the \fB\-x\fP option of @TIC@,
     36129+then ncurses also defines keys for the capabilities whose names
     36130+begin with "k".
     36131+The corresponding keycodes are generated and (depending on previous
     36132+loads of terminal descriptions) may differ from one execution of a
     36133+program to the next.
     36134+The generated keycodes are recognized by the \fBkeyname\fP function
     36135+(which will then return a name beginning with "k" denoting the
     36136+terminfo capability name rather than "K", used for curses key-names).
     36137+On the other hand, an application can use \fBdefine_key\fP to establish
     36138+a specific keycode for a given string.
     36139+This makes it possible for an application to check for an extended
     36140+capability's presence with \fItigetstr\fP,
     36141+and reassign the keycode to match its own needs.
     36142+.PP
     36143+Low-level applications can use \fBtigetstr\fP to obtain the definition
     36144+of any particular string capability.
     36145+Higher-level applications which use the curses \fBwgetch\fP
     36146+and similar functions to return keycodes rely upon the order in which
     36147+the strings are loaded.
     36148+If more than one key definition has the same string value,
     36149+then \fBwgetch\fP can return only one keycode.
     36150+Most curses implementations (including ncurses)
     36151+load key definitions in the order
     36152+defined by the array of string capability names.
     36153+The last key to be loaded determines the keycode which will be returned.
     36154+In ncurses, you may also have extended capabilities interpreted as
     36155+key definitions.
     36156+These are loaded after the predefined keys,
     36157+and if a capability's value is the same as a previously-loaded
     36158+key definition,
     36159+the later definition is the one used.
     36160 .SH NOTES
     36161 Note that \fBecho\fR, \fBnoecho\fR, \fBhalfdelay\fR, \fBintrflush\fR,
     36162 \fBmeta\fR, \fBnodelay\fR, \fBnotimeout\fR, \fBnoqiflush\fR,
     36163@@ -233,4 +269,9 @@
     36164 respectively.  Mixing raw/noraw and cbreak/nocbreak calls leads to tty driver
     36165 control states that are hard to predict or understand; it is not recommended.
     36166 .SH SEE ALSO
     36167-\fBcurses\fR(3X), \fBcurs_getch\fR(3X), \fBcurs_initscr\fR(3X), \fBtermio\fR(7)
     36168+\fBcurses\fR(3X),
     36169+\fBcurs_getch\fR(3X),
     36170+\fBcurs_initscr\fR(3X),
     36171+\fBcurs_util\fR(3X),
     36172+\fBdefine_key\fR(3X),
     36173+\fBtermio\fR(7)
    3049836174diff -Naur ncurses-5.9.orig/man/curs_termcap.3x ncurses-5.9/man/curs_termcap.3x
    30499 --- ncurses-5.9.orig/man/curs_termcap.3x        2012-02-16 18:25:12.687810779 +0000
    30500 +++ ncurses-5.9/man/curs_termcap.3x     2012-02-16 18:25:12.959817957 +0000
     36175--- ncurses-5.9.orig/man/curs_termcap.3x        2012-08-25 19:57:59.389900995 +0000
     36176+++ ncurses-5.9/man/curs_termcap.3x     2012-08-25 19:57:59.993231475 +0000
    3050136177@@ -1,5 +1,5 @@
    3050236178 .\"***************************************************************************
     
    3055636232 or zero if it is not available.
    3055736233diff -Naur ncurses-5.9.orig/man/curs_terminfo.3x ncurses-5.9/man/curs_terminfo.3x
    30558 --- ncurses-5.9.orig/man/curs_terminfo.3x       2012-02-16 18:25:12.683810673 +0000
    30559 +++ ncurses-5.9/man/curs_terminfo.3x    2012-02-16 18:25:12.959817957 +0000
     36234--- ncurses-5.9.orig/man/curs_terminfo.3x       2012-08-25 19:57:59.393234312 +0000
     36235+++ ncurses-5.9/man/curs_terminfo.3x    2012-08-25 19:57:59.996564793 +0000
    3056036236@@ -1,5 +1,5 @@
    3056136237 .\"***************************************************************************
     
    3058336259 .SH SEE ALSO
    3058436260 \fBcurses\fR(3X),
    30585 diff -Naur ncurses-5.9.orig/man/curs_util.3x ncurses-5.9/man/curs_util.3x
    30586 --- ncurses-5.9.orig/man/curs_util.3x   2012-02-16 18:25:12.679810567 +0000
    30587 +++ ncurses-5.9/man/curs_util.3x        2012-02-16 18:25:12.959817957 +0000
     36261diff -Naur ncurses-5.9.orig/man/curs_threads.3x ncurses-5.9/man/curs_threads.3x
     36262--- ncurses-5.9.orig/man/curs_threads.3x        2012-08-25 19:57:59.389900995 +0000
     36263+++ ncurses-5.9/man/curs_threads.3x     2012-08-25 19:58:01.483224428 +0000
    3058836264@@ -1,5 +1,5 @@
    3058936265 .\"***************************************************************************
    30590 -.\" Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    30591 +.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     36266-.\" Copyright (c) 2008,2010 Free Software Foundation, Inc.                   *
     36267+.\" Copyright (c) 2008-2010,2012 Free Software Foundation, Inc.              *
    3059236268 .\"                                                                          *
    3059336269 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3059736273 .\"***************************************************************************
    3059836274 .\"
     36275-.\" $Id: curs_threads.3x,v 1.18 2010/12/04 18:38:55 tom Exp $
     36276+.\" $Id: curs_threads.3x,v 1.19 2012/05/26 17:03:26 tom Exp $
     36277 .TH curs_threads 3X ""
     36278 .de bP
     36279 .IP \(bu 4
     36280@@ -51,9 +51,9 @@
     36281 .br
     36282 \fBint set_tabsize(int size);\fR
     36283 .br
     36284-\fBint use_screen(SCREEN *scr, NCURSES_WINDOW_CB func, void *data);\fR
     36285+\fBint use_screen(SCREEN *scr, NCURSES_SCREEN_CB func, void *data);\fR
     36286 .br
     36287-\fBint use_window(WINDOW *win, NCURSES_SCREEN_CB func, void *data);\fR
     36288+\fBint use_window(WINDOW *win, NCURSES_WINDOW_CB func, void *data);\fR
     36289 .br
     36290 .SH DESCRIPTION
     36291 This implementation can be configured to provide rudimentary support
     36292diff -Naur ncurses-5.9.orig/man/curs_util.3x ncurses-5.9/man/curs_util.3x
     36293--- ncurses-5.9.orig/man/curs_util.3x   2012-08-25 19:57:59.386567678 +0000
     36294+++ ncurses-5.9/man/curs_util.3x        2012-08-25 19:58:02.023221875 +0000
     36295@@ -1,5 +1,6 @@
     36296+'\" t
     36297 .\"***************************************************************************
     36298-.\" Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
     36299+.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     36300 .\"                                                                          *
     36301 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     36302 .\" copy of this software and associated documentation files (the            *
     36303@@ -26,7 +27,7 @@
     36304 .\" authorization.                                                           *
     36305 .\"***************************************************************************
     36306 .\"
    3059936307-.\" $Id: curs_util.3x,v 1.32 2010/12/04 18:38:55 tom Exp $
    30600 +.\" $Id: curs_util.3x,v 1.33 2011/12/17 23:31:30 tom Exp $
     36308+.\" $Id: curs_util.3x,v 1.36 2012/07/21 18:51:10 tom Exp $
    3060136309 .TH curs_util 3X ""
    3060236310 .de bP
    3060336311 .IP \(bu 4
    30604 @@ -224,7 +224,7 @@
     36312@@ -44,6 +45,7 @@
     36313 \fBputwin\fR,
     36314 \fBunctrl\fR,
     36315 \fBuse_env\fR,
     36316+\fBuse_tioctl\fR,
     36317 \fBwunctrl\fR \- miscellaneous \fBcurses\fR utility routines
     36318 .ad
     36319 .hy
     36320@@ -64,6 +66,8 @@
     36321 .br
     36322 \fBvoid use_env(bool f);\fR
     36323 .br
     36324+\fBvoid use_tioctl(bool f);\fR
     36325+.br
     36326 \fBint putwin(WINDOW *win, FILE *filep);\fR
     36327 .br
     36328 \fBWINDOW *getwin(FILE *filep);\fR
     36329@@ -123,16 +127,70 @@
     36330 The limitation arises because the \fBfilter\fP routine modifies the
     36331 in-memory copy of the terminal information.
     36332 .PP
     36333-The \fBuse_env\fR routine, if used, is called before \fBinitscr\fR or
     36334-\fBnewterm\fR are called.  When called with \fBFALSE\fR as an
     36335-argument, the values of \fBlines\fR and \fBcolumns\fR specified in the
     36336-\fIterminfo\fR database will be used, even if environment variables
     36337-\fBLINES\fR and \fBCOLUMNS\fR (used by default) are set, or if
     36338-\fBcurses\fR is running in a window (in which case default behavior
     36339-would be to use the window size if \fBLINES\fR and \fBCOLUMNS\fR are
     36340-not set).
     36341-Note that setting \fBLINES\fR or \fBCOLUMNS\fR overrides the
     36342-corresponding size which may be obtained from the operating system.
     36343+The \fBuse_env\fR routine, if used,
     36344+should be called before \fBinitscr\fR or
     36345+\fBnewterm\fR are called
     36346+(because those compute the screen size).
     36347+It modifies the way \fBncurses\fP treats environment variables
     36348+when determining the screen size.
     36349+.bP
     36350+Normally ncurses looks first at the terminal database for the screen size.
     36351+.IP
     36352+If \fBuse_env\fP was called with \fBFALSE\fP for parameter,
     36353+it stops here unless
     36354+If \fBuse_tioctl\fP was also called with \fBTRUE\fP for parameter.
     36355+.bP
     36356+Then it asks for the screen size via operating system calls.
     36357+If successful,
     36358+it overrides the values from the terminal database.
     36359+.bP
     36360+Finally (unless \fBuse_env\fP was called with \fBFALSE\fP parameter),
     36361+ncurses examines the \fBLINES\fR or \fBCOLUMNS\fR environment variables,
     36362+using a value in those to override the results
     36363+from the operating system or terminal database.
     36364+.IP
     36365+Ncurses also updates the screen size in response to SIGWINCH,
     36366+unless overridden by the \fBLINES\fR or \fBCOLUMNS\fR environment variables,
     36367+.PP
     36368+The \fBuse_tioctl\fR routine, if used,
     36369+should be called before \fBinitscr\fR or \fBnewterm\fR are called
     36370+(because those compute the screen size).
     36371+After \fBuse_tioctl\fR is called with \fBTRUE\fR as an argument,
     36372+ncurses modifies the last step in its computation of screen size as follows:
     36373+.bP
     36374+checks if the \fBLINES\fR and \fBCOLUMNS\fR environment variables
     36375+are set to a number greater than zero.
     36376+.bP
     36377+for each, ncurses updates the corresponding environment variable
     36378+with the value that it has obtained via operating system call
     36379+or from the terminal database.
     36380+.bP
     36381+ncurses re-fetches the value of the environment variables so that
     36382+it is still the environment variables which set the screen size.
     36383+.PP
     36384+The \fBuse_env\fP and \fBuse_tioctl\fP routines combine as
     36385+summarized here:
     36386+.TS
     36387+center tab(/);
     36388+l l l
     36389+_ _ _
     36390+lw7 lw7 lw40.
     36391+\fIuse_env\fR/\fIuse_tioctl\fR/\fISummary\fR
     36392+TRUE/FALSE/T{
     36393+This is the default behavior.
     36394+ncurses uses operating system calls
     36395+unless overridden by $LINES or $COLUMNS environment variables.
     36396+T}
     36397+TRUE/TRUE/T{
     36398+ncurses updates $LINES and $COLUMNS based on operating system calls.
     36399+T}
     36400+FALSE/TRUE/T{
     36401+ncurses ignores $LINES and $COLUMNS, uses operating system calls to obtain size.
     36402+T}
     36403+FALSE/FALSE/T{
     36404+ncurses relies on the terminal database to determine size.
     36405+T}
     36406+.TE
     36407 .PP
     36408 The \fBputwin\fR routine writes all data associated with window \fIwin\fR into
     36409 the file to which \fIfilep\fR points.  This information can be later retrieved
     36410@@ -224,7 +282,7 @@
    3060536411 .PP
    3060636412 The \fBkeyname\fP function may return the names of user-defined
     
    3061136417 user-defined strings which begin with "k".
    3061236418 The keycodes start at KEY_MAX, but are not guaranteed to be
     36419@@ -233,8 +291,8 @@
     36420 The \fBuse_extended_names\fP function controls whether this data is
     36421 loaded when the terminal description is read by the library.
     36422 .PP
     36423-The \fBnofilter\fP routine is specific to ncurses.
     36424-It was not supported on Version 7, BSD or System V implementations.
     36425+The \fBnofilter\fP and \fBuse_tioctl\fP routines are specific to ncurses.
     36426+They were not supported on Version 7, BSD or System V implementations.
     36427 It is recommended that any code depending on ncurses extensions
     36428 be conditioned using NCURSES_VERSION.
     36429 .SH SEE ALSO
    3061336430diff -Naur ncurses-5.9.orig/man/infocmp.1m ncurses-5.9/man/infocmp.1m
    30614 --- ncurses-5.9.orig/man/infocmp.1m     2012-02-16 18:25:12.679810567 +0000
    30615 +++ ncurses-5.9/man/infocmp.1m  2012-02-16 18:25:12.959817957 +0000
     36431--- ncurses-5.9.orig/man/infocmp.1m     2012-08-25 19:57:59.386567678 +0000
     36432+++ ncurses-5.9/man/infocmp.1m  2012-08-25 19:58:01.486557746 +0000
    3061636433@@ -1,6 +1,6 @@
    3061736434 '\" t
    3061836435 .\"***************************************************************************
    3061936436-.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc.              *
    30620 +.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     36437+.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3062136438 .\"                                                                          *
    3062236439 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3062736444 .\"
    3062836445-.\" $Id: infocmp.1m,v 1.46 2010/12/04 18:40:45 tom Exp $
    30629 +.\" $Id: infocmp.1m,v 1.50 2011/12/17 23:15:19 tom Exp $
     36446+.\" $Id: infocmp.1m,v 1.51 2012/05/26 21:32:01 tom Exp $
    3063036447 .TH @INFOCMP@ 1M ""
    3063136448 .ds n 5
     
    3064436461 T\
    3064536462 U\
    30646 @@ -107,6 +109,7 @@
     36463@@ -69,32 +71,40 @@
     36464 \fB@INFOCMP@\fR can be used to compare a binary \fBterminfo\fR entry with other
     36465 terminfo entries, rewrite a \fBterminfo\fR description to take advantage of the
     36466 \fBuse=\fR terminfo field, or print out a \fBterminfo\fR description from the
     36467-binary file (\fBterm\fR) in a variety of formats.  In all cases, the boolean
     36468+binary file (\fBterm\fR) in a variety of formats.
     36469+In all cases, the boolean
     36470 fields will be printed first, followed by the numeric fields, followed by the
     36471 string fields.
     36472 .SS Default Options
     36473 If no options are specified and zero or one \fItermnames\fR are specified, the
     36474-\fB\-I\fR option will be assumed.  If more than one \fItermname\fR is specified,
     36475+\fB\-I\fR option will be assumed.
     36476+If more than one \fItermname\fR is specified,
     36477 the \fB\-d\fR option will be assumed.
     36478 .SS Comparison Options [\-d] [\-c] [\-n]
     36479 \fB@INFOCMP@\fR compares the \fBterminfo\fR description of the first terminal
     36480 \fItermname\fR with each of the descriptions given by the entries for the other
     36481-terminal's \fItermnames\fR.  If a capability is defined for only one of the
     36482+terminal's \fItermnames\fR.
     36483+If a capability is defined for only one of the
     36484 terminals, the value returned will depend on the type of the capability:
     36485 \fBF\fR for boolean variables, \fB\-1\fR for integer variables, and \fBNULL\fR
     36486 for string variables.
     36487 .PP
     36488 The \fB\-d\fR option produces a list of each capability that is different
     36489-between two entries.  This option is useful to show the difference between two
     36490+between two entries.
     36491+This option is useful to show the difference between two
     36492 entries, created by different people, for the same or similar terminals.
     36493 .PP
     36494 The \fB\-c\fR option produces a list of each capability that is common between
     36495-two entries.  Capabilities that are not set are ignored.  This option can be
     36496+two or more entries.
     36497+Capabilities that are not set are ignored.
     36498+This option can be
     36499 used as a quick check to see if the \fB\-u\fR option is worth using.
     36500 .PP
     36501-The \fB\-n\fR option produces a list of each capability that is in neither
     36502-entry.  If no \fItermnames\fR are given, the environment variable \fBTERM\fR
     36503-will be used for both of the \fItermnames\fR.  This can be used as a quick
     36504+The \fB\-n\fR option produces a list of each capability that is in none of
     36505+the given entries.
     36506+If no \fItermnames\fR are given, the environment variable \fBTERM\fR
     36507+will be used for both of the \fItermnames\fR.
     36508+This can be used as a quick
     36509 check to see if anything was left out of a description.
     36510 .SS Source Listing Options [\-I] [\-L] [\-C] [\-r]
     36511 The \fB\-I\fR, \fB\-L\fR, and \fB\-C\fR options will produce a source listing for
     36512@@ -107,6 +117,7 @@
    3064736513 \fB\-L\fR/use the long C variable name listed in <\fBterm.h\fR>
    3064836514 \fB\-C\fR/use the \fBtermcap\fR names
     
    3065236518 .PP
    3065336519 If no \fItermnames\fR are given, the environment variable \fBTERM\fR will be
    30654 @@ -128,6 +131,11 @@
    30655  part of \fBtermcap\fR will normally be output.  Specifying the \fB\-r\fR option
     36520@@ -114,26 +125,38 @@
     36521 .PP
     36522 The source produced by the \fB\-C\fR option may be used directly as a
     36523 \fBtermcap\fR entry, but not all parameterized strings can be changed to
     36524-the \fBtermcap\fR format.  \fB@INFOCMP@\fR will attempt to convert most of the
     36525+the \fBtermcap\fR format.
     36526+\fB@INFOCMP@\fR will attempt to convert most of the
     36527 parameterized information, and anything not converted will be plainly marked in
     36528-the output and commented out.  These should be edited by hand.
     36529+the output and commented out.
     36530+These should be edited by hand.
     36531 .PP
     36532 All padding information for strings will be collected together and placed
     36533-at the beginning of the string where \fBtermcap\fR expects it.  Mandatory
     36534+at the beginning of the string where \fBtermcap\fR expects it.
     36535+Mandatory
     36536 padding (padding information with a trailing '/') will become optional.
     36537 .PP
     36538 All \fBtermcap\fR variables no longer supported by \fBterminfo\fR, but which
     36539-are derivable from other \fBterminfo\fR variables, will be output.  Not all
     36540+are derivable from other \fBterminfo\fR variables, will be output.
     36541+Not all
     36542 \fBterminfo\fR capabilities will be translated; only those variables which were
     36543-part of \fBtermcap\fR will normally be output.  Specifying the \fB\-r\fR option
     36544+part of \fBtermcap\fR will normally be output.
     36545+Specifying the \fB\-r\fR option
    3065636546 will take off this restriction, allowing all capabilities to be output in
    3065736547 \fItermcap\fR form.
     
    3066336553 .PP
    3066436554 Note that because padding is collected to the beginning of the capability, not
    30665  all capabilities are output.  Mandatory padding is not supported.  Because
    30666 @@ -173,7 +181,7 @@
     36555-all capabilities are output.  Mandatory padding is not supported.  Because
     36556+all capabilities are output.
     36557+Mandatory padding is not supported.
     36558+Because
     36559 \fBtermcap\fR strings are not as flexible, it is not always possible to convert
     36560-a \fBterminfo\fR string capability into an equivalent \fBtermcap\fR format.  A
     36561-subsequent conversion of the \fBtermcap\fR file back into \fBterminfo\fR format
     36562+a \fBterminfo\fR string capability into an equivalent \fBtermcap\fR format.
     36563+A subsequent conversion of the \fBtermcap\fR file back into \fBterminfo\fR format
     36564 will not necessarily reproduce the original \fBterminfo\fR
     36565 source.
     36566 .PP
     36567@@ -156,27 +179,33 @@
     36568 .SS Use= Option [\-u]
     36569 The \fB\-u\fR option produces a \fBterminfo\fR source description of the first
     36570 terminal \fItermname\fR which is relative to the sum of the descriptions given
     36571-by the entries for the other terminals \fItermnames\fR.  It does this by
     36572+by the entries for the other terminals \fItermnames\fR.
     36573+It does this by
     36574 analyzing the differences between the first \fItermname\fR and the other
     36575 \fItermnames\fR and producing a description with \fBuse=\fR fields for the
     36576-other terminals.  In this manner, it is possible to retrofit generic terminfo
     36577-entries into a terminal's description.  Or, if two similar terminals exist, but
     36578+other terminals.
     36579+In this manner, it is possible to retrofit generic terminfo
     36580+entries into a terminal's description.
     36581+Or, if two similar terminals exist, but
     36582 were coded at different times or by different people so that each description
     36583 is a full description, using \fB@INFOCMP@\fR will show what can be done to change
     36584 one description to be relative to the other.
     36585 .PP
     36586 A capability will get printed with an at-sign (@) if it no longer exists in the
     36587 first \fItermname\fR, but one of the other \fItermname\fR entries contains a
     36588-value for it.  A capability's value gets printed if the value in the first
     36589+value for it.
     36590+A capability's value gets printed if the value in the first
     36591 \fItermname\fR is not found in any of the other \fItermname\fR entries, or if
     36592 the first of the other \fItermname\fR entries that has this capability gives a
    3066736593 different value for the capability than that in the first \fItermname\fR.
    3066836594 .PP
    30669  The order of the other \fItermname\fR entries is significant.  Since the
     36595-The order of the other \fItermname\fR entries is significant.  Since the
    3067036596-terminfo compiler \fBtic\fR does a left-to-right scan of the capabilities,
     36597+The order of the other \fItermname\fR entries is significant.
     36598+Since the
    3067136599+terminfo compiler \fB@TIC@\fR does a left-to-right scan of the capabilities,
    3067236600 specifying two \fBuse=\fR entries that contain differing entries for the same
    3067336601 capabilities will produce different results depending on the order that the
    30674  entries are given in.  \fB@INFOCMP@\fR will flag any such inconsistencies between
    30675 @@ -202,6 +210,9 @@
     36602-entries are given in.  \fB@INFOCMP@\fR will flag any such inconsistencies between
     36603+entries are given in.
     36604+\fB@INFOCMP@\fR will flag any such inconsistencies between
     36605 the other \fItermname\fR entries as they are found.
     36606 .PP
     36607 Alternatively, specifying a capability \fIafter\fR a \fBuse=\fR entry that
     36608@@ -187,29 +216,43 @@
     36609 .PP
     36610 Another error that does not cause incorrect compiled files, but will slow down
     36611 the compilation time, is specifying extra \fBuse=\fR fields that are
     36612-superfluous.  \fB@INFOCMP@\fR will flag any other \fItermname use=\fR fields that
     36613+superfluous.
     36614+\fB@INFOCMP@\fR will flag any other \fItermname use=\fR fields that
     36615 were not needed.
     36616 .SS Changing Databases [\-A \fIdirectory\fR] [\-B \fIdirectory\fR]
     36617 The location of the compiled \fBterminfo\fR database is taken from the
     36618-environment variable \fBTERMINFO\fR .  If the variable is not defined, or the
     36619+environment variable \fBTERMINFO\fR\ .
     36620+If the variable is not defined, or the
     36621 terminal is not found in that location, the system \fBterminfo\fR database,
     36622-in \fB@TERMINFO@\fR, will be used.  The options \fB\-A\fR
     36623-and \fB\-B\fR may be used to override this location.  The \fB\-A\fR option will
     36624+in \fB@TERMINFO@\fR, will be used.
     36625+The options \fB\-A\fR
     36626+and \fB\-B\fR may be used to override this location.
     36627+The \fB\-A\fR option will
     36628 set \fBTERMINFO\fR for the first \fItermname\fR and the \fB\-B\fR option will
     36629-set \fBTERMINFO\fR for the other \fItermnames\fR.  With this, it is possible to
     36630+set \fBTERMINFO\fR for the other \fItermnames\fR.
     36631+With this, it is possible to
     36632 compare descriptions for a terminal with the same name located in two different
     36633-databases.  This is useful for comparing descriptions for the same terminal
     36634+databases.
     36635+This is useful for comparing descriptions for the same terminal
    3067636636 created by different people.
    3067736637 .SS Other Options
     
    3068136641+.TP 5
    3068236642 \fB\-1\fR
    30683  causes the fields to be printed out one to a line.  Otherwise,
     36643-causes the fields to be printed out one to a line.  Otherwise,
     36644+causes the fields to be printed out one to a line.
     36645+Otherwise,
    3068436646 the fields will be printed several to a line to a maximum width
    30685 @@ -210,6 +221,9 @@
     36647 of 60 characters.
     36648 .TP
    3068636649 \fB\-a\fR
    3068736650 tells \fB@INFOCMP@\fP to retain commented-out capabilities rather than discarding
    30688  them.  Capabilities are commented by prefixing them with a period.
     36651-them.  Capabilities are commented by prefixing them with a period.
     36652+them.
     36653+Capabilities are commented by prefixing them with a period.
    3068936654+.TP
    3069036655+\fB\-D\fR
     
    3069336658 \fB\-E\fR
    3069436659 Dump the capabilities of the given terminal as tables, needed in
    30695 @@ -362,7 +376,7 @@
     36660@@ -231,12 +274,15 @@
     36661 for a given terminal type.
     36662 .TP 5
     36663 \fB\-F\fR
     36664-compare terminfo files.  This assumes that two following arguments are
     36665-filenames.  The files are searched for pairwise matches between
     36666+compare terminfo files.
     36667+This assumes that two following arguments are filenames.
     36668+The files are searched for pairwise matches between
     36669 entries, with two entries considered to match if any of their names do.
     36670 The report printed to standard output lists entries with no matches in
     36671-the other file, and entries with more than one match.  For entries
     36672-with exactly one match it includes a difference report.  Normally,
     36673+the other file, and entries with more than one match.
     36674+For entries
     36675+with exactly one match it includes a difference report.
     36676+Normally,
     36677 to reduce the volume of the report, use references are
     36678 not resolved before looking for differences, but resolution can be forced
     36679 by also specifying \fB\-r\fR.
     36680@@ -255,14 +301,17 @@
     36681 .TP 5
     36682 \fB\-i\fR
     36683 Analyze the initialization (\fBis1\fR, \fBis2\fR, \fBis3\fR), and reset
     36684-(\fBrs1\fR, \fBrs2\fR, \fBrs3\fR), strings in the entry.  For each string, the
     36685+(\fBrs1\fR, \fBrs2\fR, \fBrs3\fR), strings in the entry.
     36686+For each string, the
     36687 code tries to analyze it into actions in terms of the other capabilities in the
     36688 entry, certain X3.64/ISO 6429/ECMA\-48 capabilities, and certain DEC VT-series
     36689 private modes (the set of recognized special sequences has been selected for
     36690-completeness over the existing terminfo database).  Each report line consists
     36691+completeness over the existing terminfo database).
     36692+Each report line consists
     36693 of the capability name, followed by a colon and space, followed by a printable
     36694 expansion of the capability string with sections matching recognized actions
     36695-translated into {}-bracketed descriptions.  Here is a list of the DEC/ANSI
     36696+translated into {}-bracketed descriptions.
     36697+Here is a list of the DEC/ANSI
     36698 special sequences recognized:
     36699 i.
     36700 .TS
     36701@@ -308,7 +357,8 @@
     36702 .sp
     36703 It also recognizes a SGR action corresponding to ANSI/ISO 6429/ECMA Set
     36704 Graphics Rendition, with the values NORMAL, BOLD, UNDERLINE, BLINK, and
     36705-REVERSE.  All but NORMAL may be prefixed with `+' (turn on) or `\-' (turn off).
     36706+REVERSE.
     36707+All but NORMAL may be prefixed with `+' (turn on) or `\-' (turn off).
     36708 .PP
     36709 An SGR0 designates an empty highlight sequence (equivalent to {SGR:NORMAL}).
     36710 .TP 5
     36711@@ -323,12 +373,15 @@
     36712 "\-" for absent capabilities, "@" for canceled rather than "NULL".
     36713 .TP 5
     36714 \fB\-R\fR\fIsubset\fR
     36715-Restrict output to a given subset.  This option is for use with archaic
     36716+Restrict output to a given subset.
     36717+This option is for use with archaic
     36718 versions of terminfo like those on SVr1, Ultrix, or HP/UX that do not support
     36719 the full set of SVR4/XSI Curses terminfo; and variants such as AIX
     36720-that have their own extensions incompatible with SVr4/XSI.  Available terminfo
     36721+that have their own extensions incompatible with SVr4/XSI.
     36722+Available terminfo
     36723 subsets are "SVr1", "Ultrix", "HP", and "AIX"; see \fBterminfo\fR(\*n) for
     36724-details.  You can also choose the subset "BSD" which selects only capabilities
     36725+details.
     36726+You can also choose the subset "BSD" which selects only capabilities
     36727 with termcap equivalents recognized by 4.4BSD.
     36728 .TP
     36729 \fB\-s \fR\fI[d|i|l|c]\fR
     36730@@ -362,7 +415,7 @@
    3069636731 descriptions are limited (e.g., 1023 for termcap, 4096 for terminfo).
    3069736732 .TP
     
    3070236737 untranslatable capabilities are commented-out.
    3070336738 .TP 5
    30704 @@ -385,13 +399,15 @@
     36739@@ -385,13 +438,15 @@
    3070536740 \fB\-x\fR
    3070636741 print information for user-defined capabilities.
     
    3071936754 \fB\-F\fR,
    3072036755 \fB\-G\fR,
     36756@@ -410,7 +465,8 @@
     36757 options are not supported in SVr4 curses.
     36758 .PP
     36759 The \fB\-r\fR option's notion of `termcap' capabilities is System V Release 4's.
     36760-Actual BSD curses versions will have a more restricted set.  To see only the
     36761+Actual BSD curses versions will have a more restricted set.
     36762+To see only the
     36763 4.4BSD set, use \fB\-r\fR \fB\-RBSD\fR.
     36764 .SH BUGS
     36765 The \fB\-F\fR option of \fB@INFOCMP@\fR(1M) should be a \fB@TOE@\fR(1M) mode.
    3072136766diff -Naur ncurses-5.9.orig/man/ncurses.3x ncurses-5.9/man/ncurses.3x
    30722 --- ncurses-5.9.orig/man/ncurses.3x     2012-02-16 18:25:12.679810567 +0000
    30723 +++ ncurses-5.9/man/ncurses.3x  2012-02-16 18:25:12.959817957 +0000
     36767--- ncurses-5.9.orig/man/ncurses.3x     2012-08-25 19:57:59.389900995 +0000
     36768+++ ncurses-5.9/man/ncurses.3x  2012-08-25 19:58:01.936555619 +0000
     36769@@ -1,6 +1,6 @@
     36770 '\" t
     36771 .\"***************************************************************************
     36772-.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     36773+.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     36774 .\"                                                                          *
     36775 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     36776 .\" copy of this software and associated documentation files (the            *
    3072436777@@ -27,7 +27,7 @@
    3072536778 .\" authorization.                                                           *
     
    3072736780 .\"
    3072836781-.\" $Id: ncurses.3x,v 1.103 2011/02/05 23:21:29 tom Exp $
    30729 +.\" $Id: ncurses.3x,v 1.106 2011/12/17 23:19:59 tom Exp $
     36782+.\" $Id: ncurses.3x,v 1.107 2012/07/14 21:13:06 tom Exp $
    3073036783 .hy 0
    3073136784 .TH ncurses 3X ""
     
    3074336796 .PP
    3074436797 The \fBncurses\fR library permits manipulation of data structures,
    30745 @@ -734,6 +734,9 @@
     36798@@ -637,6 +637,7 @@
     36799 use_env/\fBcurs_util\fR(3X)
     36800 use_extended_names/\fBcurs_extend\fR(3X)*
     36801 use_legacy_coding/\fBlegacy_coding\fR(3X)*
     36802+use_tioctl/\fBcurs_util\fR(3X)
     36803 vid_attr/\fBcurs_terminfo\fR(3X)
     36804 vid_puts/\fBcurs_terminfo\fR(3X)
     36805 vidattr/\fBcurs_terminfo\fR(3X)
     36806@@ -734,6 +735,9 @@
    3074636807 integer value other than \fBERR\fR upon successful completion, unless
    3074736808 otherwise noted in the routine descriptions.
     
    3075336814 \fBwsetscrreg\fR, \fBgetyx\fR, \fBgetbegyx\fR, and \fBgetmaxyx\fR.
    3075436815 The return values of \fBsetscrreg\fR, \fBwsetscrreg\fR, \fBgetyx\fR, \fBgetbegyx\fR, and
    30755 @@ -933,7 +936,7 @@
     36816@@ -786,7 +790,9 @@
     36817 a terminal description for terminals which are run as emulations.
     36818 .IP
     36819 Use the \fBuse_env\fR function to disable all use of external environment
     36820-(including system calls) to determine the screen size.
     36821+(but not including system calls) to determine the screen size.
     36822+Use the \fBuse_tioctl\fR function to update \fBCOLUMNS\fP or \fBLINES\fP
     36823+to match the screen size obtained from system calls or the terminal database.
     36824 .TP 5
     36825 ESCDELAY
     36826 Specifies the total time, in milliseconds, for which ncurses will
     36827@@ -933,7 +939,7 @@
    3075636828 .IP
    3075736829 As an alternative to the environment variable,
     
    3076236834 .RS 5
    3076336835 .sp
    30764 @@ -1004,6 +1007,13 @@
     36836@@ -1004,6 +1010,13 @@
    3076536837 The list is separated by colons (i.e., ":") on Unix, semicolons on OS/2 EMX.
    3076636838 All of the terminal descriptions are in terminfo form, which makes
     
    3077636848 TERMPATH
    3077736849 If TERMCAP does not hold a file name then \fBncurses\fR checks
    30778 @@ -1144,6 +1154,15 @@
     36850@@ -1144,6 +1157,15 @@
    3077936851 the XSI Curses and \fBncurses\fR calls) are described in \fBPORTABILITY\fR
    3078036852 sections of the library man pages.
     
    3079236864 .bP
    3079336865 The routine \fBhas_key\fR is not part of XPG4, nor is it present in SVr4.
     36866diff -Naur ncurses-5.9.orig/man/resizeterm.3x ncurses-5.9/man/resizeterm.3x
     36867--- ncurses-5.9.orig/man/resizeterm.3x  2012-08-25 19:57:59.389900995 +0000
     36868+++ ncurses-5.9/man/resizeterm.3x       2012-08-25 19:58:01.893222491 +0000
     36869@@ -1,5 +1,5 @@
     36870 .\"***************************************************************************
     36871-.\" Copyright (c) 1998-2005,2010 Free Software Foundation, Inc.              *
     36872+.\" Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     36873 .\"                                                                          *
     36874 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     36875 .\" copy of this software and associated documentation files (the            *
     36876@@ -28,7 +28,7 @@
     36877 .\"
     36878 .\" Author: Thomas E. Dickey 1996-2005
     36879 .\"
     36880-.\" $Id: resizeterm.3x,v 1.14 2010/12/04 18:38:55 tom Exp $
     36881+.\" $Id: resizeterm.3x,v 1.15 2012/07/07 18:38:21 tom Exp $
     36882 .TH resizeterm 3X ""
     36883 .SH NAME
     36884 \fBis_term_resized\fR,
     36885@@ -86,8 +86,6 @@
     36886 the operating system.
     36887 Thus, even if a SIGWINCH is received,
     36888 no screen size change may be recorded.
     36889-In that case, no \fBKEY_RESIZE\fP is queued for the next call to \fBgetch\fP;
     36890-an \fBERR\fP will be returned instead.
     36891 .SH SEE ALSO
     36892 \fBcurs_variables\fR(3X),
     36893 \fBwresize\fR(3X).
    3079436894diff -Naur ncurses-5.9.orig/man/tabs.1 ncurses-5.9/man/tabs.1
    30795 --- ncurses-5.9.orig/man/tabs.1 2012-02-16 18:25:12.679810567 +0000
    30796 +++ ncurses-5.9/man/tabs.1      2012-02-16 18:25:12.959817957 +0000
     36895--- ncurses-5.9.orig/man/tabs.1 2012-08-25 19:57:59.386567678 +0000
     36896+++ ncurses-5.9/man/tabs.1      2012-08-25 19:57:59.999898111 +0000
    3079736897@@ -1,5 +1,5 @@
    3079836898 .\"***************************************************************************
     
    3085236952 .SS Implicit Lists
    3085336953diff -Naur ncurses-5.9.orig/man/term.7 ncurses-5.9/man/term.7
    30854 --- ncurses-5.9.orig/man/term.7 2012-02-16 18:25:12.683810673 +0000
    30855 +++ ncurses-5.9/man/term.7      2012-02-16 18:25:12.959817957 +0000
     36954--- ncurses-5.9.orig/man/term.7 2012-08-25 19:57:59.393234312 +0000
     36955+++ ncurses-5.9/man/term.7      2012-08-25 19:57:59.999898111 +0000
    3085636956@@ -1,5 +1,5 @@
    3085736957 .\"***************************************************************************
     
    3088036980 .PP
    3088136981diff -Naur ncurses-5.9.orig/man/term_variables.3x ncurses-5.9/man/term_variables.3x
    30882 --- ncurses-5.9.orig/man/term_variables.3x      2012-02-16 18:25:12.679810567 +0000
    30883 +++ ncurses-5.9/man/term_variables.3x   2012-02-16 18:25:12.959817957 +0000
     36982--- ncurses-5.9.orig/man/term_variables.3x      2012-08-25 19:57:59.389900995 +0000
     36983+++ ncurses-5.9/man/term_variables.3x   2012-08-25 19:57:59.999898111 +0000
    3088436984@@ -1,5 +1,5 @@
    3088536985 .\"***************************************************************************
     
    3090737007 as well as the corresponding names for termcap capabilities.
    3090837008 These are available to other applications,
     37009diff -Naur ncurses-5.9.orig/man/terminfo.head ncurses-5.9/man/terminfo.head
     37010--- ncurses-5.9.orig/man/terminfo.head  2012-08-25 19:57:59.389900995 +0000
     37011+++ ncurses-5.9/man/terminfo.head       2012-08-25 19:58:00.956560253 +0000
     37012@@ -1,5 +1,5 @@
     37013 .\"***************************************************************************
     37014-.\" Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     37015+.\" Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     37016 .\"                                                                          *
     37017 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     37018 .\" copy of this software and associated documentation files (the            *
     37019@@ -26,10 +26,13 @@
     37020 .\" authorization.                                                           *
     37021 .\"***************************************************************************
     37022 .\"
     37023-.\" $Id: terminfo.head,v 1.18 2010/07/31 16:08:48 tom Exp $
     37024+.\" $Id: terminfo.head,v 1.19 2012/03/01 09:51:23 tom Exp $
     37025 .TH terminfo 5 "" "" "File Formats"
     37026 .ds n 5
     37027 .ds d @TERMINFO@
     37028+.de bP
     37029+.IP \(bu 4
     37030+..
     37031 .SH NAME
     37032 terminfo \- terminal capability data base
     37033 .SH SYNOPSIS
    3090937034diff -Naur ncurses-5.9.orig/man/terminfo.tail ncurses-5.9/man/terminfo.tail
    30910 --- ncurses-5.9.orig/man/terminfo.tail  2012-02-16 18:25:12.679810567 +0000
    30911 +++ ncurses-5.9/man/terminfo.tail       2012-02-16 18:25:12.963818063 +0000
     37035--- ncurses-5.9.orig/man/terminfo.tail  2012-08-25 19:57:59.386567678 +0000
     37036+++ ncurses-5.9/man/terminfo.tail       2012-08-25 19:58:00.956560253 +0000
    3091237037@@ -1,4 +1,4 @@
    3091337038-.\" $Id: terminfo.tail,v 1.53 2010/12/04 18:38:55 tom Exp $
    30914 +.\" $Id: terminfo.tail,v 1.55 2011/12/17 23:19:59 tom Exp $
     37039+.\" $Id: terminfo.tail,v 1.57 2012/03/01 12:02:54 tom Exp $
    3091537040 .\" Beginning of terminfo.tail file
    3091637041 .\" This file is part of ncurses.
    3091737042 .\" See "terminfo.head" for copyright.
    30918 @@ -125,8 +125,8 @@
     37043@@ -75,14 +75,29 @@
     37044 \fB^x\fR maps to a control-x for any appropriate x, and the sequences
     37045 \fB\en \el \er \et \eb \ef \es\fR give
     37046 a newline, line-feed, return, tab, backspace, form-feed, and space.
     37047-Other escapes include \fB\e^\fR for \fB^\fR,
     37048+Other escapes include
     37049+.bP
     37050+\fB\e^\fR for \fB^\fR,
     37051+.bP
     37052 \fB\e\e\fR for \fB\e\fR,
     37053+.bP
     37054 \fB\e\fR, for comma,
     37055+.bP
     37056 \fB\e:\fR for \fB:\fR,
     37057+.bP
     37058 and \fB\e0\fR for null.
     37059-(\fB\e0\fR will produce \e200, which does not terminate a string but behaves
     37060+.IP
     37061+\fB\e0\fR will produce \e200, which does not terminate a string but behaves
     37062 as a null character on most terminals, providing CS7 is specified.
     37063-See stty(1).)
     37064+See stty(1).
     37065+.IP
     37066+The reason for this quirk is to maintain binary compatibility of the
     37067+compiled terminfo files with other implementations,
     37068+e.g., the SVr4 systems, which document this.
     37069+Compiled terminfo files use null-terminated strings, with no lengths.
     37070+Modifying this would require a new binary format,
     37071+which would not work with other implementations.
     37072+.PP
     37073 Finally, characters may be given as three octal digits after a \fB\e\fR.
     37074 .PP
     37075 A delay in milliseconds may appear anywhere in a string capability, enclosed in
     37076@@ -125,8 +140,8 @@
    3091937077 for a compiled description.
    3092037078 If it fails to find one there, and the environment variable TERMINFO_DIRS is
     
    3092737085 TERMINFO_DIRS directories, the fetch fails.
    3092837086 .PP
    30929 @@ -397,7 +397,7 @@
     37087@@ -397,7 +412,7 @@
    3093037088 .IP
    3093137089 where c\di\u are conditions, b\di\u are bodies.
     
    3093637094 Some strings, e.g., \fBsgr\fP can be very complicated when written
    3093737095 on one line.
    30938 @@ -974,7 +974,7 @@
     37096@@ -593,6 +608,7 @@
     37097 a distinction between typed and untyped blanks on the screen, shifting
     37098 upon an insert or delete only to an untyped blank on the screen which is
     37099 either eliminated, or expanded to two untyped blanks.
     37100+.PP
     37101 You can determine the
     37102 kind of terminal you have by clearing the screen and then typing
     37103 text separated by cursor motions.
     37104@@ -608,6 +624,7 @@
     37105 current line and onto the next as you insert, you have the second type of
     37106 terminal, and should give the capability \fBin\fR, which stands for
     37107 \*(lqinsert null\*(rq.
     37108+.PP
     37109 While these are two logically separate attributes (one line versus multi-line
     37110 insert mode, and special treatment of untyped spaces) we have seen no
     37111 terminals whose insert mode cannot be described with the single attribute.
     37112@@ -974,7 +991,7 @@
    3093937113 .B it
    3094037114 is given, showing the number of spaces the tabs are set to.
     
    3094537119 and whether to set the tab stops.
    3094637120 If the terminal has tab stops that can be saved in non-volatile memory,
     37121@@ -1570,19 +1587,15 @@
     37122 backslash-newline pairs, which \fBtgetent()\fP strips out while reading it.
     37123 Some termcap libraries strip off the final newline, too (GNU termcap does not).
     37124 Now suppose:
     37125-.TP 5
     37126-*
     37127+.bP
     37128 a termcap entry before expansion is more than 1023 bytes long,
     37129-.TP 5
     37130-*
     37131+.bP
     37132 and the application has only allocated a 1k buffer,
     37133-.TP 5
     37134-*
     37135+.bP
     37136 and the termcap library (like the one in BSD/OS 1.1 and GNU) reads
     37137 the whole entry into the buffer, no matter what its length, to see
     37138 if it is the entry it wants,
     37139-.TP 5
     37140-*
     37141+.bP
     37142 and \fBtgetent()\fP is searching for a terminal type that either is the
     37143 long entry, appears in the termcap file after the long entry, or
     37144 does not appear in the file at all (so that \fBtgetent()\fP has to search
    3094737145diff -Naur ncurses-5.9.orig/man/tic.1m ncurses-5.9/man/tic.1m
    30948 --- ncurses-5.9.orig/man/tic.1m 2012-02-16 18:25:12.683810673 +0000
    30949 +++ ncurses-5.9/man/tic.1m      2012-02-16 18:25:13.239825345 +0000
     37146--- ncurses-5.9.orig/man/tic.1m 2012-08-25 19:57:59.389900995 +0000
     37147+++ ncurses-5.9/man/tic.1m      2012-08-25 19:58:01.059893097 +0000
    3095037148@@ -1,5 +1,5 @@
    3095137149 .\"***************************************************************************
     
    3096037158 .\"
    3096137159-.\" $Id: tic.1m,v 1.47 2010/12/04 18:38:55 tom Exp $
    30962 +.\" $Id: tic.1m,v 1.54 2012/02/04 23:09:43 tom Exp $
     37160+.\" $Id: tic.1m,v 1.55 2012/03/24 21:21:05 tom Exp $
    3096337161 .TH @TIC@ 1M ""
    3096437162 .ds n 5
     
    3115037348 or in termcaps.
    3115137349 .TP
    31152 @@ -200,7 +259,7 @@
     37350@@ -200,31 +259,13 @@
    3115337351 .TP
    3115437352 \fB\-v\fR\fIn\fR
     
    3115937357 indicating the desired level of detail of information.
    3116037358 If \fIn\fR is omitted, the default level is 1.
    31161 @@ -214,11 +273,12 @@
     37359 If \fIn\fR is specified and greater than 1, the level of
     37360 detail is increased.
     37361-.TP
     37362-\fB\-w\fR\fIn\fR
     37363-specifies the width of the output.
     37364-The parameter is optional.
     37365-If it is omitted, it defaults to 60.
     37366-.TP
     37367-\fB\-x\fR
     37368-Treat unknown capabilities as user-defined.
     37369-That is, if you supply a capability name which \fBtic\fP does not recognize,
     37370-it will infer its type (boolean, number or string) from the syntax and
     37371-make an extended table entry for that.
     37372-User-defined capability strings
     37373-whose name begins with ``k'' are treated as function keys.
     37374-.TP
     37375-\fIfile\fR
     37376-contains one or more \fBterminfo\fR terminal descriptions in source
     37377-format [see \fBterminfo\fR(\*n)].
     37378-Each description in the file
     37379-describes the capabilities of a particular terminal.
     37380+.RS
     37381 .PP
     37382 The debug flag levels are as follows:
    3116237383 .TP
    31163  \fB\-x\fR
    31164  Treat unknown capabilities as user-defined.
    31165 -That is, if you supply a capability name which \fBtic\fP does not recognize,
    31166 +That is, if you supply a capability name which \fB@TIC@\fP does not recognize,
    31167  it will infer its type (boolean, number or string) from the syntax and
    31168  make an extended table entry for that.
    31169  User-defined capability strings
    31170  whose name begins with ``k'' are treated as function keys.
    31171 +.SS PARAMETERS
    31172  .TP
    31173  \fIfile\fR
    31174  contains one or more \fBterminfo\fR terminal descriptions in source
    31175 @@ -250,19 +310,20 @@
     37384@@ -250,19 +291,44 @@
    3117637385 All values computed in construction of the hash table
    3117737386 .LP
    3117837387 If the debug level \fIn\fR is not given, it is taken to be one.
     37388+.RE
     37389+.TP
     37390+\fB\-w\fR\fIn\fR
     37391+specifies the width of the output.
     37392+The parameter is optional.
     37393+If it is omitted, it defaults to 60.
     37394+.TP
     37395+\fB\-x\fR
     37396+Treat unknown capabilities as user-defined.
     37397+That is, if you supply a capability name which \fB@TIC@\fP does not recognize,
     37398+it will infer its type (boolean, number or string) from the syntax and
     37399+make an extended table entry for that.
     37400+User-defined capability strings
     37401+whose name begins with ``k'' are treated as function keys.
     37402+.SS PARAMETERS
     37403+.TP
     37404+\fIfile\fR
     37405+contains one or more \fBterminfo\fR terminal descriptions in source
     37406+format [see \fBterminfo\fR(\*n)].
     37407+Each description in the file
     37408+describes the capabilities of a particular terminal.
     37409+.IP
     37410+If \fIfile\fR is ``-'', then the data is read from the standard input.
     37411+The \fIfile\fR parameter may also be the path of a character-device.
    3117937412+.SS PROCESSING
    3118037413 .PP
     
    3119837431 those capabilities that explicitly are defined in the current entry.
    3119937432 .PP
    31200 @@ -272,9 +333,6 @@
     37433@@ -272,9 +338,6 @@
    3120137434 \fBentry_name_1\fR before \fBuse=\fR for these capabilities to be
    3120237435 canceled in \fBentry_name_1\fR.
     
    3120837441 The name field cannot
    3120937442 exceed 512 bytes.
    31210 @@ -282,14 +340,14 @@
     37443@@ -282,14 +345,14 @@
    3121137444 (32 characters on systems with long filenames, 14 characters otherwise)
    3121237445 will be truncated to the maximum alias length and a warning message will be printed.
     
    3122637459 In fact, entries in terminfo and termcap syntax can
    3122737460 be mixed in a single source file.
    31228 @@ -298,16 +356,20 @@
     37461@@ -298,16 +361,20 @@
    3122937462 .PP
    3123037463 The SVr4 manual pages are not clear on the resolution rules for \fBuse\fR
     
    3125137484 \fB\-G\fR,
    3125237485 \fB\-I\fR,
    31253 @@ -329,7 +391,7 @@
     37486@@ -329,7 +396,7 @@
    3125437487 The SVr4 \fB\-c\fR mode does not report bad use links.
    3125537488 .PP
     
    3126037493 .TP 5
    3126137494 \fB\*d/?/*\fR
    31262 @@ -340,6 +402,7 @@
     37495@@ -340,6 +407,7 @@
    3126337496 \fB@INFOTOCAP@\fR(1M),
    3126437497 \fB@TOE@\fR(1M),
     
    3126937502 This describes \fBncurses\fR
    3127037503diff -Naur ncurses-5.9.orig/man/toe.1m ncurses-5.9/man/toe.1m
    31271 --- ncurses-5.9.orig/man/toe.1m 2012-02-16 18:25:12.679810567 +0000
    31272 +++ ncurses-5.9/man/toe.1m      2012-02-16 18:25:13.059820594 +0000
     37504--- ncurses-5.9.orig/man/toe.1m 2012-08-25 19:57:59.393234312 +0000
     37505+++ ncurses-5.9/man/toe.1m      2012-08-25 19:58:00.176563939 +0000
    3127337506@@ -1,5 +1,5 @@
    3127437507 .\"***************************************************************************
     
    3132837561 .TP
    3132937562diff -Naur ncurses-5.9.orig/man/tput.1 ncurses-5.9/man/tput.1
    31330 --- ncurses-5.9.orig/man/tput.1 2012-02-16 18:25:12.683810673 +0000
    31331 +++ ncurses-5.9/man/tput.1      2012-02-16 18:25:12.963818063 +0000
     37563--- ncurses-5.9.orig/man/tput.1 2012-08-25 19:57:59.389900995 +0000
     37564+++ ncurses-5.9/man/tput.1      2012-08-25 19:58:01.936555619 +0000
    3133237565@@ -1,6 +1,6 @@
    3133337566 '\" t
    3133437567 .\"***************************************************************************
    3133537568-.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc.              *
    31336 +.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     37569+.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3133737570 .\"                                                                          *
    3133837571 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3134337576 .\"
    3134437577-.\" $Id: tput.1,v 1.29 2010/12/04 18:41:07 tom Exp $
    31345 +.\" $Id: tput.1,v 1.31 2011/12/25 01:37:53 tom Exp $
     37578+.\" $Id: tput.1,v 1.32 2012/07/14 21:06:45 tom Exp $
    3134637579 .TH @TPUT@ 1 ""
    3134737580 .ds d @TERMINFO@
    3134837581 .ds n 1
    31349 @@ -159,7 +159,7 @@
     37582@@ -77,11 +77,12 @@
     37583 and the \fIcapname\fR associated with each, see \fBterminfo\fR(5).
     37584 .TP
     37585 \fB\-T\fR\fItype\fR
     37586-indicates the \fItype\fR of terminal.  Normally this option is
     37587+indicates the \fItype\fR of terminal.
     37588+Normally this option is
     37589 unnecessary, because the default is taken from the environment
     37590-variable \fBTERM\fR.  If \fB\-T\fR is specified, then the shell
     37591-variables \fBLINES\fR and \fBCOLUMNS\fR will be ignored,and the
     37592-operating system will not be queried for the actual screen size.
     37593+variable \fBTERM\fR.
     37594+If \fB\-T\fR is specified, then the shell
     37595+variables \fBLINES\fR and \fBCOLUMNS\fR will also be ignored.
     37596 .TP
     37597 \fIcapname\fR
     37598 indicates the capability from the \fBterminfo\fR database.  When
     37599@@ -159,7 +160,7 @@
    3135037600 .PP
    3135137601 If \fB@TPUT@\fR is invoked by a link named \fBreset\fR, this has the
     
    3135637606 .TP 5
    3135737607 \fB@TPUT@ init\fR
    31358 @@ -275,7 +275,7 @@
     37608@@ -275,7 +276,7 @@
    3135937609 .PP
    3136037610 Any other exit code indicates an error; see the DIAGNOSTICS section.
     
    3136537615 .PP
    3136637616 .ne 15
    31367 @@ -303,17 +303,29 @@
     37617@@ -303,17 +304,29 @@
    3136837618 .PP
    3136937619 X/Open documents only the operands for \fBclear\fP, \fBinit\fP and \fBreset\fP.
     
    3139937649 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
    3140037650diff -Naur ncurses-5.9.orig/man/tset.1 ncurses-5.9/man/tset.1
    31401 --- ncurses-5.9.orig/man/tset.1 2012-02-16 18:25:12.683810673 +0000
    31402 +++ ncurses-5.9/man/tset.1      2012-02-16 18:25:12.963818063 +0000
     37651--- ncurses-5.9.orig/man/tset.1 2012-08-25 19:57:59.389900995 +0000
     37652+++ ncurses-5.9/man/tset.1      2012-08-25 19:58:00.003231428 +0000
    3140337653@@ -1,5 +1,5 @@
    3140437654 .\"***************************************************************************
     
    3153637786 .TP 5
    3153737787diff -Naur ncurses-5.9.orig/menu/Makefile.in ncurses-5.9/menu/Makefile.in
    31538 --- ncurses-5.9.orig/menu/Makefile.in   2012-02-16 18:25:12.627809197 +0000
    31539 +++ ncurses-5.9/menu/Makefile.in        2012-02-16 18:25:12.963818063 +0000
     37788--- ncurses-5.9.orig/menu/Makefile.in   2012-08-25 19:57:59.396567629 +0000
     37789+++ ncurses-5.9/menu/Makefile.in        2012-08-25 19:58:00.003231428 +0000
    3154037790@@ -1,6 +1,6 @@
    3154137791-# $Id: Makefile.in,v 1.54 2010/11/27 21:45:27 tom Exp $
     
    3155537805 
    3155637806 NCURSES_MAJOR  = @NCURSES_MAJOR@
    31557 diff -Naur ncurses-5.9.orig/menu/m_driver.c ncurses-5.9/menu/m_driver.c
    31558 --- ncurses-5.9.orig/menu/m_driver.c    2012-02-16 18:25:12.627809197 +0000
    31559 +++ ncurses-5.9/menu/m_driver.c 2012-02-16 18:25:12.963818063 +0000
     37807diff -Naur ncurses-5.9.orig/menu/m_attribs.c ncurses-5.9/menu/m_attribs.c
     37808--- ncurses-5.9.orig/menu/m_attribs.c   2012-08-25 19:57:59.396567629 +0000
     37809+++ ncurses-5.9/menu/m_attribs.c        2012-08-25 19:58:00.979893475 +0000
    3156037810@@ -1,5 +1,5 @@
    3156137811 /****************************************************************************
    31562 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    31563 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     37812- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     37813+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
    3156437814  *                                                                          *
    3156537815  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3156937819 #include "menu.priv.h"
    3157037820 
     37821-MODULE_ID("$Id: m_attribs.c,v 1.16 2010/01/23 21:16:54 tom Exp $")
     37822+MODULE_ID("$Id: m_attribs.c,v 1.17 2012/03/10 23:43:41 tom Exp $")
     37823 
     37824 /* Macro to redraw menu if it is posted and changed */
     37825 #define Refresh_Menu(menu) \
     37826@@ -51,7 +51,7 @@
     37827 #define GEN_MENU_ATTR_SET_FCT( name ) \
     37828 NCURSES_IMPEXP int NCURSES_API set_menu_ ## name (MENU* menu, chtype attr) \
     37829 {\
     37830-  T((T_CALLED("set_menu_" #name "(%p,%s)"), menu, _traceattr(attr))); \
     37831+  T((T_CALLED("set_menu_" #name "(%p,%s)"), (void *) menu, _traceattr(attr))); \
     37832    if (!(attr==A_NORMAL || (attr & A_ATTRIBUTES)==attr))\
     37833       RETURN(E_BAD_ARGUMENT);\
     37834    if (menu && ( menu -> name != attr))\
     37835diff -Naur ncurses-5.9.orig/menu/m_driver.c ncurses-5.9/menu/m_driver.c
     37836--- ncurses-5.9.orig/menu/m_driver.c    2012-08-25 19:57:59.396567629 +0000
     37837+++ ncurses-5.9/menu/m_driver.c 2012-08-25 19:58:00.983226792 +0000
     37838@@ -1,5 +1,5 @@
     37839 /****************************************************************************
     37840- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     37841+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     37842  *                                                                          *
     37843  * Permission is hereby granted, free of charge, to any person obtaining a  *
     37844  * copy of this software and associated documentation files (the            *
     37845@@ -37,7 +37,7 @@
     37846 
     37847 #include "menu.priv.h"
     37848 
    3157137849-MODULE_ID("$Id: m_driver.c,v 1.29 2010/01/23 21:20:10 tom Exp $")
    31572 +MODULE_ID("$Id: m_driver.c,v 1.30 2011/05/21 18:56:41 tom Exp $")
     37850+MODULE_ID("$Id: m_driver.c,v 1.31 2012/03/10 23:43:41 tom Exp $")
    3157337851 
    3157437852 /* Macros */
    3157537853 
     37854@@ -47,7 +47,7 @@
     37855 
     37856 /* Add a new character to the match pattern buffer */
     37857 #define Add_Character_To_Pattern(menu,ch) \
     37858-  { (menu)->pattern[((menu)->pindex)++] = (ch);\
     37859+  { (menu)->pattern[((menu)->pindex)++] = (char) (ch);\
     37860     (menu)->pattern[(menu)->pindex] = '\0'; }
     37861 
     37862 /*---------------------------------------------------------------------------
    3157637863@@ -537,7 +537,11 @@
    3157737864        result = E_UNKNOWN_COMMAND;
     
    3158737874       /* Adjust the top row if it turns out that the current item unfortunately
    3158837875          doesn't appear in the menu window */
     37876diff -Naur ncurses-5.9.orig/menu/m_format.c ncurses-5.9/menu/m_format.c
     37877--- ncurses-5.9.orig/menu/m_format.c    2012-08-25 19:57:59.396567629 +0000
     37878+++ ncurses-5.9/menu/m_format.c 2012-08-25 19:58:01.719889976 +0000
     37879@@ -1,5 +1,5 @@
     37880 /****************************************************************************
     37881- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     37882+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     37883  *                                                                          *
     37884  * Permission is hereby granted, free of charge, to any person obtaining a  *
     37885  * copy of this software and associated documentation files (the            *
     37886@@ -37,7 +37,7 @@
     37887 
     37888 #include "menu.priv.h"
     37889 
     37890-MODULE_ID("$Id: m_format.c,v 1.16 2010/01/23 21:20:10 tom Exp $")
     37891+MODULE_ID("$Id: m_format.c,v 1.18 2012/06/09 23:54:02 tom Exp $")
     37892 
     37893 #define minimum(a,b) ((a)<(b) ? (a): (b))
     37894 
     37895@@ -81,8 +81,8 @@
     37896       if (menu->pattern)
     37897        Reset_Pattern(menu);
     37898 
     37899-      menu->frows = rows;
     37900-      menu->fcols = cols;
     37901+      menu->frows = (short)rows;
     37902+      menu->fcols = (short)cols;
     37903 
     37904       assert(rows > 0 && cols > 0);
     37905       total_rows = (menu->nitems - 1) / cols + 1;
     37906@@ -90,21 +90,21 @@
     37907        minimum(menu->nitems, cols) :
     37908        (menu->nitems - 1) / total_rows + 1;
     37909 
     37910-      menu->rows = total_rows;
     37911-      menu->cols = total_cols;
     37912-      menu->arows = minimum(total_rows, rows);
     37913+      menu->rows = (short)total_rows;
     37914+      menu->cols = (short)total_cols;
     37915+      menu->arows = (short)minimum(total_rows, rows);
     37916       menu->toprow = 0;
     37917       menu->curitem = *(menu->items);
     37918       assert(menu->curitem);
     37919-      menu->status |= _LINK_NEEDED;
     37920+      SetStatus(menu, _LINK_NEEDED);
     37921       _nc_Calculate_Item_Length_and_Width(menu);
     37922     }
     37923   else
     37924     {
     37925       if (rows > 0)
     37926-       _nc_Default_Menu.frows = rows;
     37927+       _nc_Default_Menu.frows = (short)rows;
     37928       if (cols > 0)
     37929-       _nc_Default_Menu.fcols = cols;
     37930+       _nc_Default_Menu.fcols = (short)cols;
     37931     }
     37932 
     37933   RETURN(E_OK);
     37934diff -Naur ncurses-5.9.orig/menu/m_global.c ncurses-5.9/menu/m_global.c
     37935--- ncurses-5.9.orig/menu/m_global.c    2012-08-25 19:57:59.396567629 +0000
     37936+++ ncurses-5.9/menu/m_global.c 2012-08-25 19:58:01.719889976 +0000
     37937@@ -1,5 +1,5 @@
     37938 /****************************************************************************
     37939- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     37940+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     37941  *                                                                          *
     37942  * Permission is hereby granted, free of charge, to any person obtaining a  *
     37943  * copy of this software and associated documentation files (the            *
     37944@@ -37,7 +37,7 @@
     37945 
     37946 #include "menu.priv.h"
     37947 
     37948-MODULE_ID("$Id: m_global.c,v 1.25 2010/01/23 21:20:10 tom Exp $")
     37949+MODULE_ID("$Id: m_global.c,v 1.27 2012/06/10 00:09:15 tom Exp $")
     37950 
     37951 static char mark[] = "-";
     37952 /* *INDENT-OFF* */
     37953@@ -117,17 +117,17 @@
     37954   assert(menu && menu->items);
     37955   for (items = menu->items; *items; items++)
     37956     {
     37957-      check = _nc_Calculate_Text_Width(&((*items)->name));
     37958+      check = (unsigned)_nc_Calculate_Text_Width(&((*items)->name));
     37959       if (check > MaximumNameLength)
     37960        MaximumNameLength = check;
     37961 
     37962-      check = _nc_Calculate_Text_Width(&((*items)->description));
     37963+      check = (unsigned)_nc_Calculate_Text_Width(&((*items)->description));
     37964       if (check > MaximumDescriptionLength)
     37965        MaximumDescriptionLength = check;
     37966     }
     37967 
     37968-  menu->namelen = MaximumNameLength;
     37969-  menu->desclen = MaximumDescriptionLength;
     37970+  menu->namelen = (short)MaximumNameLength;
     37971+  menu->desclen = (short)MaximumDescriptionLength;
     37972   T(("ComputeMaximum_NameDesc_Lengths %d,%d", menu->namelen, menu->desclen));
     37973 }
     37974 
     37975@@ -195,7 +195,7 @@
     37976                {
     37977                  (*item)->value = FALSE;
     37978                }
     37979-             (*item)->index = ItemCount++;
     37980+             (*item)->index = (short)ItemCount++;
     37981              (*item)->imenu = menu;
     37982            }
     37983        }
     37984@@ -206,7 +206,7 @@
     37985   if (ItemCount != 0)
     37986     {
     37987       menu->items = items;
     37988-      menu->nitems = ItemCount;
     37989+      menu->nitems = (short)ItemCount;
     37990       ComputeMaximum_NameDesc_Lengths(menu);
     37991       if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen))))
     37992        {
     37993@@ -256,7 +256,7 @@
     37994   T((T_CALLED("_nc_menu_text_width(%p)"), (const void *)item));
     37995   if (result != 0 && item->str != 0)
     37996     {
     37997-      int count = mbstowcs(0, item->str, 0);
     37998+      int count = (int)mbstowcs(0, item->str, 0);
     37999       wchar_t *temp = 0;
     38000 
     38001       if (count > 0
     38002@@ -343,7 +343,7 @@
     38003 
     38004   assert(menu);
     38005 
     38006-  menu->height = 1 + menu->spc_rows * (menu->arows - 1);
     38007+  menu->height = (short)(1 + menu->spc_rows * (menu->arows - 1));
     38008 
     38009   l = calculate_actual_width(menu, TRUE);
     38010   l += menu->marklen;
     38011@@ -354,10 +354,10 @@
     38012       l += menu->spc_desc;
     38013     }
     38014 
     38015-  menu->itemlen = l;
     38016+  menu->itemlen = (short)l;
     38017   l *= menu->cols;
     38018   l += (menu->cols - 1) * menu->spc_cols;      /* for the padding between the columns */
     38019-  menu->width = l;
     38020+  menu->width = (short)l;
     38021 
     38022   T(("_nc_CalculateItem_Length_and_Width columns %d, item %d, width %d",
     38023      menu->cols,
     38024@@ -388,7 +388,7 @@
     38025       int Last_in_Column;
     38026       bool cycle = (menu->opt & O_NONCYCLIC) ? FALSE : TRUE;
     38027 
     38028-      menu->status &= ~_LINK_NEEDED;
     38029+      ClrStatus(menu, _LINK_NEEDED);
     38030 
     38031       if (menu->opt & O_ROWMAJOR)
     38032        {
     38033@@ -431,8 +431,8 @@
     38034                (cycle ? menu->items[(row + 1) < menu->rows ?
     38035                                     Number_Of_Items - 1 : col] :
     38036                 (ITEM *) 0);
     38037-             item->x = col;
     38038-             item->y = row;
     38039+             item->x = (short)col;
     38040+             item->y = (short)row;
     38041              if (++col == Number_Of_Columns)
     38042                {
     38043                  row++;
     38044@@ -482,8 +482,8 @@
     38045                 (ITEM *) 0
     38046                );
     38047 
     38048-             item->x = col;
     38049-             item->y = row;
     38050+             item->x = (short)col;
     38051+             item->y = (short)row;
     38052              if ((++row) == Number_Of_Rows)
     38053                {
     38054                  col++;
     38055@@ -568,7 +568,7 @@
     38056 
     38057       cur_item = menu->curitem;
     38058       assert(cur_item);
     38059-      menu->toprow = new_toprow;
     38060+      menu->toprow = (short)new_toprow;
     38061       menu->curitem = new_current_item;
     38062 
     38063       if (mterm_called)
     38064@@ -590,7 +590,7 @@
     38065     }
     38066   else
     38067     {                          /* if we are not posted, this is quite simple */
     38068-      menu->toprow = new_toprow;
     38069+      menu->toprow = (short)new_toprow;
     38070       menu->curitem = new_current_item;
     38071     }
     38072 }
     38073diff -Naur ncurses-5.9.orig/menu/m_hook.c ncurses-5.9/menu/m_hook.c
     38074--- ncurses-5.9.orig/menu/m_hook.c      2012-08-25 19:57:59.396567629 +0000
     38075+++ ncurses-5.9/menu/m_hook.c   2012-08-25 19:58:00.983226792 +0000
     38076@@ -1,5 +1,5 @@
     38077 /****************************************************************************
     38078- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     38079+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     38080  *                                                                          *
     38081  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38082  * copy of this software and associated documentation files (the            *
     38083@@ -37,13 +37,13 @@
     38084 
     38085 #include "menu.priv.h"
     38086 
     38087-MODULE_ID("$Id: m_hook.c,v 1.15 2010/01/23 21:16:54 tom Exp $")
     38088+MODULE_ID("$Id: m_hook.c,v 1.16 2012/03/10 23:43:41 tom Exp $")
     38089 
     38090 /* "Template" macro to generate function to set application specific hook */
     38091 #define GEN_HOOK_SET_FUNCTION( typ, name ) \
     38092 NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (MENU *menu, Menu_Hook func )\
     38093 {\
     38094-   T((T_CALLED("set_" #typ "_" #name "(%p,%p)"), menu, func));\
     38095+   T((T_CALLED("set_" #typ "_" #name "(%p,%p)"), (void *) menu, func));\
     38096    (Normalize_Menu(menu) -> typ ## name = func );\
     38097    RETURN(E_OK);\
     38098 }
     38099diff -Naur ncurses-5.9.orig/menu/m_item_new.c ncurses-5.9/menu/m_item_new.c
     38100--- ncurses-5.9.orig/menu/m_item_new.c  2012-08-25 19:57:59.396567629 +0000
     38101+++ ncurses-5.9/menu/m_item_new.c       2012-08-25 19:58:01.719889976 +0000
     38102@@ -1,5 +1,5 @@
     38103 /****************************************************************************
     38104- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     38105+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     38106  *                                                                          *
     38107  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38108  * copy of this software and associated documentation files (the            *
     38109@@ -44,7 +44,7 @@
     38110 #endif
     38111 #endif
     38112 
     38113-MODULE_ID("$Id: m_item_new.c,v 1.30 2010/01/23 21:20:11 tom Exp $")
     38114+MODULE_ID("$Id: m_item_new.c,v 1.33 2012/06/09 23:55:15 tom Exp $")
     38115 
     38116 /*---------------------------------------------------------------------------
     38117 |   Facility      :  libnmenu 
     38118@@ -62,7 +62,7 @@
     38119   int result = TRUE;
     38120 
     38121 #if USE_WIDEC_SUPPORT
     38122-  int count = mbstowcs(0, s, 0);
     38123+  int count = (int)mbstowcs(0, s, 0);
     38124   wchar_t *temp = 0;
     38125 
     38126   assert(s);
     38127@@ -127,13 +127,13 @@
     38128        {
     38129          *item = _nc_Default_Item;     /* hope we have struct assignment */
     38130 
     38131-         item->name.length = strlen(name);
     38132+         item->name.length = (unsigned short)strlen(name);
     38133          item->name.str = name;
     38134 
     38135          if (description && (*description != '\0') &&
     38136              Is_Printable_String(description))
     38137            {
     38138-             item->description.length = strlen(description);
     38139+             item->description.length = (unsigned short)strlen(description);
     38140              item->description.str = description;
     38141            }
     38142          else
     38143@@ -195,12 +195,12 @@
     38144 NCURSES_EXPORT(int)
     38145 set_menu_mark(MENU * menu, const char *mark)
     38146 {
     38147-  unsigned l;
     38148+  short l;
     38149 
     38150   T((T_CALLED("set_menu_mark(%p,%s)"), (void *)menu, _nc_visbuf(mark)));
     38151 
     38152   if (mark && (*mark != '\0') && Is_Printable_String(mark))
     38153-    l = strlen(mark);
     38154+    l = (short)strlen(mark);
     38155   else
     38156     l = 0;
     38157 
     38158@@ -213,7 +213,7 @@
     38159        {
     38160          /* If the menu is already posted, the geometry is fixed. Then
     38161             we can only accept a mark with exactly the same length */
     38162-         if (menu->marklen != (int)l)
     38163+         if (menu->marklen != l)
     38164            RETURN(E_BAD_ARGUMENT);
     38165        }
     38166       menu->marklen = l;
     38167@@ -222,14 +222,13 @@
     38168          menu->mark = strdup(mark);
     38169          if (menu->mark)
     38170            {
     38171-             strcpy(menu->mark, mark);
     38172              if (menu != &_nc_Default_Menu)
     38173-               menu->status |= _MARK_ALLOCATED;
     38174+               SetStatus(menu, _MARK_ALLOCATED);
     38175            }
     38176          else
     38177            {
     38178              menu->mark = old_mark;
     38179-             menu->marklen = (old_mark != 0) ? strlen(old_mark) : 0;
     38180+             menu->marklen = (short)((old_mark != 0) ? strlen(old_mark) : 0);
     38181              RETURN(E_SYSTEM_ERROR);
     38182            }
     38183        }
     38184diff -Naur ncurses-5.9.orig/menu/m_pad.c ncurses-5.9/menu/m_pad.c
     38185--- ncurses-5.9.orig/menu/m_pad.c       2012-08-25 19:57:59.396567629 +0000
     38186+++ ncurses-5.9/menu/m_pad.c    2012-08-25 19:58:00.983226792 +0000
     38187@@ -1,5 +1,5 @@
     38188 /****************************************************************************
     38189- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     38190+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     38191  *                                                                          *
     38192  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38193  * copy of this software and associated documentation files (the            *
     38194@@ -37,7 +37,7 @@
     38195 
     38196 #include "menu.priv.h"
     38197 
     38198-MODULE_ID("$Id: m_pad.c,v 1.12 2010/01/23 21:20:10 tom Exp $")
     38199+MODULE_ID("$Id: m_pad.c,v 1.13 2012/03/10 23:43:41 tom Exp $")
     38200 
     38201 /* Macro to redraw menu if it is posted and changed */
     38202 #define Refresh_Menu(menu) \
     38203@@ -69,7 +69,7 @@
     38204     RETURN(E_BAD_ARGUMENT);
     38205 
     38206   Normalize_Menu(menu);
     38207-  menu->pad = pad;
     38208+  menu->pad = (unsigned char)pad;
     38209 
     38210   if (do_refresh)
     38211     Refresh_Menu(menu);
     38212diff -Naur ncurses-5.9.orig/menu/m_post.c ncurses-5.9/menu/m_post.c
     38213--- ncurses-5.9.orig/menu/m_post.c      2012-08-25 19:57:59.396567629 +0000
     38214+++ ncurses-5.9/menu/m_post.c   2012-08-25 19:58:01.723223294 +0000
     38215@@ -1,5 +1,5 @@
     38216 /****************************************************************************
     38217- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     38218+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     38219  *                                                                          *
     38220  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38221  * copy of this software and associated documentation files (the            *
     38222@@ -37,7 +37,7 @@
     38223 
     38224 #include "menu.priv.h"
     38225 
     38226-MODULE_ID("$Id: m_post.c,v 1.29 2010/05/01 19:18:27 tom Exp $")
     38227+MODULE_ID("$Id: m_post.c,v 1.31 2012/06/09 23:54:35 tom Exp $")
     38228 
     38229 /*---------------------------------------------------------------------------
     38230 |   Facility      :  libnmenu
     38231@@ -67,7 +67,7 @@
     38232      - it is a onevalued menu and it is the current item
     38233      - or it has a selection value
     38234    */
     38235-  wattron(menu->win, menu->back);
     38236+  wattron(menu->win, (int)menu->back);
     38237   if (item->value || (item == menu->curitem))
     38238     {
     38239       if (menu->marklen)
     38240@@ -79,13 +79,13 @@
     38241             item. */
     38242          if (!(menu->opt & O_ONEVALUE) && item->value && item != menu->curitem)
     38243            {
     38244-             wattron(menu->win, menu->fore);
     38245+             wattron(menu->win, (int)menu->fore);
     38246              isfore = TRUE;
     38247            }
     38248          waddstr(menu->win, menu->mark);
     38249          if (isfore)
     38250            {
     38251-             wattron(menu->win, menu->fore);
     38252+             wattron(menu->win, (int)menu->fore);
     38253              isfore = FALSE;
     38254            }
     38255        }
     38256@@ -93,7 +93,7 @@
     38257   else                         /* otherwise we have to wipe out the marker area */
     38258     for (ch = ' ', i = menu->marklen; i > 0; i--)
     38259       waddch(menu->win, ch);
     38260-  wattroff(menu->win, menu->back);
     38261+  wattroff(menu->win, (int)menu->back);
     38262   count += menu->marklen;
     38263 
     38264   /* First we have to calculate the attribute depending on selectability
     38265@@ -101,19 +101,19 @@
     38266    */
     38267   if (!(item->opt & O_SELECTABLE))
     38268     {
     38269-      wattron(menu->win, menu->grey);
     38270+      wattron(menu->win, (int)menu->grey);
     38271       isgrey = TRUE;
     38272     }
     38273   else
     38274     {
     38275       if (item->value || item == menu->curitem)
     38276        {
     38277-         wattron(menu->win, menu->fore);
     38278+         wattron(menu->win, (int)menu->fore);
     38279          isfore = TRUE;
     38280        }
     38281       else
     38282        {
     38283-         wattron(menu->win, menu->back);
     38284+         wattron(menu->win, (int)menu->back);
     38285          isback = TRUE;
     38286        }
     38287     }
     38288@@ -158,10 +158,10 @@
     38289          assert(cx >= 0 && cy >= 0);
     38290          getyx(menu->win, ncy, ncx);
     38291          if (isgrey)
     38292-           wattroff(menu->win, menu->grey);
     38293+           wattroff(menu->win, (int)menu->grey);
     38294          else if (isfore)
     38295-           wattroff(menu->win, menu->fore);
     38296-         wattron(menu->win, menu->back);
     38297+           wattroff(menu->win, (int)menu->fore);
     38298+         wattron(menu->win, (int)menu->back);
     38299          for (j = 1; j < menu->spc_rows; j++)
     38300            {
     38301              if ((item_y + j) < getmaxy(menu->win))
     38302@@ -175,17 +175,17 @@
     38303            }
     38304          wmove(menu->win, ncy, ncx);
     38305          if (!isback)
     38306-           wattroff(menu->win, menu->back);
     38307+           wattroff(menu->win, (int)menu->back);
     38308        }
     38309     }
     38310 
     38311   /* Remove attributes */
     38312   if (isfore)
     38313-    wattroff(menu->win, menu->fore);
     38314+    wattroff(menu->win, (int)menu->fore);
     38315   if (isback)
     38316-    wattroff(menu->win, menu->back);
     38317+    wattroff(menu->win, (int)menu->back);
     38318   if (isgrey)
     38319-    wattroff(menu->win, menu->grey);
     38320+    wattroff(menu->win, (int)menu->grey);
     38321 }
     38322 
     38323 /*---------------------------------------------------------------------------
     38324@@ -225,7 +225,7 @@
     38325        {
     38326          _nc_Post_Item(menu, hitem);
     38327 
     38328-         wattron(menu->win, menu->back);
     38329+         wattron(menu->win, (int)menu->back);
     38330          if (((hitem = hitem->right) != lasthor) && hitem)
     38331            {
     38332              int i, j, cy, cx;
     38333@@ -244,7 +244,7 @@
     38334            }
     38335        }
     38336       while (hitem && (hitem != lasthor));
     38337-      wattroff(menu->win, menu->back);
     38338+      wattroff(menu->win, (int)menu->back);
     38339 
     38340       item = item->down;
     38341       y += menu->spc_rows;
     38342@@ -305,7 +305,7 @@
     38343   else
     38344     RETURN(E_NOT_CONNECTED);
     38345 
     38346-  menu->status |= _POSTED;
     38347+  SetStatus(menu, _POSTED);
     38348 
     38349   if (!(menu->opt & O_ONEVALUE))
     38350     {
     38351@@ -369,7 +369,7 @@
     38352   delwin(menu->win);
     38353   menu->win = (WINDOW *)0;
     38354 
     38355-  menu->status &= ~_POSTED;
     38356+  ClrStatus(menu, _POSTED);
     38357 
     38358   RETURN(E_OK);
     38359 }
     38360diff -Naur ncurses-5.9.orig/menu/m_req_name.c ncurses-5.9/menu/m_req_name.c
     38361--- ncurses-5.9.orig/menu/m_req_name.c  2012-08-25 19:57:59.396567629 +0000
     38362+++ ncurses-5.9/menu/m_req_name.c       2012-08-25 19:58:02.023221875 +0000
     38363@@ -1,5 +1,5 @@
     38364 /****************************************************************************
     38365- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
     38366+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     38367  *                                                                          *
     38368  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38369  * copy of this software and associated documentation files (the            *
     38370@@ -37,7 +37,7 @@
     38371 
     38372 #include "menu.priv.h"
     38373 
     38374-MODULE_ID("$Id: m_req_name.c,v 1.21 2009/10/10 16:17:23 tom Exp $")
     38375+MODULE_ID("$Id: m_req_name.c,v 1.22 2012/07/21 23:27:32 tom Exp $")
     38376 
     38377 static const char *request_names[MAX_MENU_COMMAND - MIN_MENU_COMMAND + 1] =
     38378 {
     38379@@ -99,23 +99,26 @@
     38380   /* because the table is so small, it doesn't really hurt
     38381      to run sequentially through it.
     38382    */
     38383-  unsigned int i = 0;
     38384+  size_t i = 0;
     38385   char buf[16];
     38386 
     38387   T((T_CALLED("menu_request_by_name(%s)"), _nc_visbuf(str)));
     38388 
     38389-  if (str)
     38390+  if (str != 0 && (i = strlen(str)) != 0)
     38391     {
     38392-      strncpy(buf, str, sizeof(buf));
     38393-      while ((i < sizeof(buf)) && (buf[i] != '\0'))
     38394+      if (i > sizeof(buf) - 2)
     38395+       i = sizeof(buf) - 2;
     38396+      memcpy(buf, str, i);
     38397+      buf[i] = '\0';
     38398+
     38399+      for (i = 0; buf[i] != '\0'; ++i)
     38400        {
     38401          buf[i] = (char)toupper(UChar(buf[i]));
     38402-         i++;
     38403        }
     38404 
     38405       for (i = 0; i < A_SIZE; i++)
     38406        {
     38407-         if (strncmp(request_names[i], buf, sizeof(buf)) == 0)
     38408+         if (strcmp(request_names[i], buf) == 0)
     38409            returnCode(MIN_MENU_COMMAND + (int)i);
     38410        }
     38411     }
     38412diff -Naur ncurses-5.9.orig/menu/m_spacing.c ncurses-5.9/menu/m_spacing.c
     38413--- ncurses-5.9.orig/menu/m_spacing.c   2012-08-25 19:57:59.396567629 +0000
     38414+++ ncurses-5.9/menu/m_spacing.c        2012-08-25 19:58:00.986560110 +0000
     38415@@ -1,5 +1,5 @@
     38416 /****************************************************************************
     38417- * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
     38418+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     38419  *                                                                          *
     38420  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38421  * copy of this software and associated documentation files (the            *
     38422@@ -37,7 +37,7 @@
     38423 
     38424 #include "menu.priv.h"
     38425 
     38426-MODULE_ID("$Id: m_spacing.c,v 1.18 2010/01/23 21:20:10 tom Exp $")
     38427+MODULE_ID("$Id: m_spacing.c,v 1.19 2012/03/10 23:43:41 tom Exp $")
     38428 
     38429 #define MAX_SPC_DESC ((TABSIZE) ? (TABSIZE) : 8)
     38430 #define MAX_SPC_COLS ((TABSIZE) ? (TABSIZE) : 8)
     38431@@ -70,9 +70,9 @@
     38432       ((s_col < 0) || (s_col > MAX_SPC_COLS)))
     38433     RETURN(E_BAD_ARGUMENT);
     38434 
     38435-  m->spc_desc = s_desc ? s_desc : 1;
     38436-  m->spc_rows = s_row ? s_row : 1;
     38437-  m->spc_cols = s_col ? s_col : 1;
     38438+  m->spc_desc = (short)(s_desc ? s_desc : 1);
     38439+  m->spc_rows = (short)(s_row ? s_row : 1);
     38440+  m->spc_cols = (short)(s_col ? s_col : 1);
     38441   _nc_Calculate_Item_Length_and_Width(m);
     38442 
     38443   RETURN(E_OK);
     38444diff -Naur ncurses-5.9.orig/menu/menu.priv.h ncurses-5.9/menu/menu.priv.h
     38445--- ncurses-5.9.orig/menu/menu.priv.h   2012-08-25 19:57:59.396567629 +0000
     38446+++ ncurses-5.9/menu/menu.priv.h        2012-08-25 19:58:00.986560110 +0000
     38447@@ -1,5 +1,5 @@
     38448 /****************************************************************************
     38449- * Copyright (c) 1998-2005,2009 Free Software Foundation, Inc.              *
     38450+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     38451  *                                                                          *
     38452  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38453  * copy of this software and associated documentation files (the            *
     38454@@ -30,7 +30,7 @@
     38455  *   Author:  Juergen Pfeifer, 1995,1997                                    *
     38456  ****************************************************************************/
     38457 
     38458-/* $Id: menu.priv.h,v 1.23 2009/02/28 21:02:57 juergen Exp $ */
     38459+/* $Id: menu.priv.h,v 1.24 2012/03/10 23:43:41 tom Exp $ */
     38460 
     38461 /***************************************************************************
     38462 * Module menu.priv.h                                                       *
     38463@@ -39,6 +39,7 @@
     38464 
     38465 #ifndef MENU_PRIV_H_incl
     38466 #define MENU_PRIV_H_incl 1
     38467+/* *INDENT-OFF* */
     38468 
     38469 #include "curses.priv.h"
     38470 #include "mf_common.h"
     38471@@ -99,10 +100,11 @@
     38472 */
     38473 #define Adjust_Current_Item(menu,row,item) \
     38474   { if ((item)->y < row) \
     38475-      row = (item)->y;\
     38476-    if ( (item)->y >= (row + (menu)->arows) )\
     38477-      row = ( (item)->y < ((menu)->rows - row) ) ? \
     38478-            (item)->y : (menu)->rows - (menu)->arows;\
     38479+      row = (short) (item)->y; \
     38480+    if ( (item)->y >= (row + (menu)->arows) ) \
     38481+      row = (short) (( (item)->y < ((menu)->rows - row) ) \
     38482+                     ? (item)->y \
     38483+                    : (menu)->rows - (menu)->arows); \
     38484     _nc_New_TopRow_and_CurrentItem(menu,row,item); }
     38485 
     38486 /* Reset the match pattern buffer */
     38487@@ -152,5 +154,6 @@
     38488 #define returnMenuOpts(code)   return code
     38489 
     38490 #endif /* TRACE/!TRACE */
     38491+/* *INDENT-ON* */
     38492 
     38493 #endif /* MENU_PRIV_H_incl */
     38494diff -Naur ncurses-5.9.orig/menu/mf_common.h ncurses-5.9/menu/mf_common.h
     38495--- ncurses-5.9.orig/menu/mf_common.h   2012-08-25 19:57:59.396567629 +0000
     38496+++ ncurses-5.9/menu/mf_common.h        2012-08-25 19:58:01.723223294 +0000
     38497@@ -1,5 +1,5 @@
     38498 /****************************************************************************
     38499- * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc.              *
     38500+ * Copyright (c) 1998-2004,2012 Free Software Foundation, Inc.              *
     38501  *                                                                          *
     38502  * Permission is hereby granted, free of charge, to any person obtaining a  *
     38503  * copy of this software and associated documentation files (the            *
     38504@@ -30,7 +30,7 @@
     38505  *   Author:  Juergen Pfeifer, 1995,1997                                    *
     38506  ****************************************************************************/
     38507 
     38508-/* $Id: mf_common.h,v 0.22 2005/11/26 15:26:52 tom Exp $ */
     38509+/* $Id: mf_common.h,v 0.24 2012/06/10 00:06:54 tom Exp $ */
     38510 
     38511 /* Common internal header for menu and form library */
     38512 
     38513@@ -63,10 +63,9 @@
     38514 #if USE_RCS_IDS
     38515 #define MODULE_ID(id) static const char Ident[] = id;
     38516 #else
     38517-#define MODULE_ID(id) /*nothing*/
     38518+#define MODULE_ID(id)          /*nothing */
     38519 #endif
     38520 
     38521-
     38522 /* Maximum regular 8-bit character code */
     38523 #define MAX_REGULAR_CHARACTER (0xff)
     38524 
     38525@@ -80,16 +79,19 @@
     38526 #endif
     38527 
     38528 /* The few common values in the status fields for menus and forms */
     38529-#define _POSTED         (0x01U)  /* menu or form is posted                  */
     38530-#define _IN_DRIVER      (0x02U)  /* menu or form is processing hook routine */
     38531+#define _POSTED         (0x01U)        /* menu or form is posted                  */
     38532+#define _IN_DRIVER      (0x02U)        /* menu or form is processing hook routine */
     38533+
     38534+#define SetStatus(target,mask) (target)->status |= (unsigned short) (mask)
     38535+#define ClrStatus(target,mask) (target)->status = (unsigned short) (target->status & (~mask))
     38536 
     38537 /* Call object hook */
     38538 #define Call_Hook( object, handler ) \
     38539    if ( (object) != 0 && ((object)->handler) != (void *) 0 )\
     38540    {\
     38541-       (object)->status |= _IN_DRIVER;\
     38542+       SetStatus(object, _IN_DRIVER);\
     38543        (object)->handler(object);\
     38544-       (object)->status &= ~_IN_DRIVER;\
     38545+       ClrStatus(object, _IN_DRIVER);\
     38546    }
     38547 
     38548 #endif /* MF_COMMON_H_incl */
    3158938549diff -Naur ncurses-5.9.orig/misc/Makefile.in ncurses-5.9/misc/Makefile.in
    31590 --- ncurses-5.9.orig/misc/Makefile.in   2012-02-16 18:25:12.611808773 +0000
    31591 +++ ncurses-5.9/misc/Makefile.in        2012-02-16 18:25:13.287826611 +0000
     38550--- ncurses-5.9.orig/misc/Makefile.in   2012-08-25 19:57:59.429900806 +0000
     38551+++ ncurses-5.9/misc/Makefile.in        2012-08-25 19:58:02.359886951 +0000
    3159238552@@ -1,6 +1,6 @@
    3159338553-# $Id: Makefile.in,v 1.56 2011/02/21 01:09:31 tom Exp $
    31594 +# $Id: Makefile.in,v 1.59 2012/02/11 16:22:49 tom Exp $
     38554+# $Id: Makefile.in,v 1.60 2012/08/11 21:31:56 tom Exp $
    3159538555 ##############################################################################
    3159638556-# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     
    3159938559 # Permission is hereby granted, free of charge, to any person obtaining a    #
    3160038560 # copy of this software and associated documentation files (the "Software"), #
    31601 @@ -120,7 +120,8 @@
     38561@@ -56,6 +56,7 @@
     38562 exec_prefix    = @exec_prefix@
     38563 bindir         = @bindir@
     38564 libdir         = @libdir@
     38565+datarootdir    = @datarootdir@
     38566 datadir                = @datadir@
     38567 
     38568 tabsetdir      = $(datadir)/tabset
     38569@@ -120,7 +121,8 @@
    3160238570 
    3160338571 run_tic.sed :
     
    3160938577 
    3161038578 $(DESTDIR)$(bindir) \
    31611 @@ -139,7 +140,7 @@
     38579@@ -139,7 +141,7 @@
    3161238580 
    3161338581 uninstall.libs :
     
    3161938587 
    3162038588diff -Naur ncurses-5.9.orig/misc/gen-pkgconfig.in ncurses-5.9/misc/gen-pkgconfig.in
    31621 --- ncurses-5.9.orig/misc/gen-pkgconfig.in      2012-02-16 18:25:12.607808668 +0000
    31622 +++ ncurses-5.9/misc/gen-pkgconfig.in   2012-02-16 18:25:13.059820594 +0000
     38589--- ncurses-5.9.orig/misc/gen-pkgconfig.in      2012-08-25 19:57:59.429900806 +0000
     38590+++ ncurses-5.9/misc/gen-pkgconfig.in   2012-08-25 19:58:00.176563939 +0000
    3162338591@@ -1,7 +1,7 @@
    3162438592 #!@SHELL@
     
    3174638714 # vile:shmode
    3174738715diff -Naur ncurses-5.9.orig/misc/gen_edit.sh ncurses-5.9/misc/gen_edit.sh
    31748 --- ncurses-5.9.orig/misc/gen_edit.sh   2012-02-16 18:25:12.607808668 +0000
    31749 +++ ncurses-5.9/misc/gen_edit.sh        2012-02-16 18:25:13.287826611 +0000
     38716--- ncurses-5.9.orig/misc/gen_edit.sh   2012-08-25 19:57:59.429900806 +0000
     38717+++ ncurses-5.9/misc/gen_edit.sh        2012-08-25 19:58:01.183225848 +0000
    3175038718@@ -1,6 +1,6 @@
    3175138719 #!/bin/sh
     
    3176138729 #
    3176238730-# $Id: gen_edit.sh,v 1.1 2004/07/11 15:01:29 tom Exp $
    31763 +# $Id: gen_edit.sh,v 1.4 2012/02/11 16:30:03 tom Exp $
     38731+# $Id: gen_edit.sh,v 1.5 2012/04/01 15:04:37 tom Exp $
    3176438732 # Generate a sed-script for converting the terminfo.src to the form which will
    3176538733 # be installed.
    3176638734 #
    31767 @@ -37,12 +37,13 @@
     38735@@ -37,22 +37,82 @@
    3176838736 #      The leaf directory names (lib, tabset, terminfo)
    3176938737 #
    3177038738 
    3177138739-: ${ticdir=@TERMINFO@}
    31772 +: ${datadir=@datadir@}
    31773  : ${xterm_new=@WHICH_XTERM@}
    31774 +: ${xterm_kbs=@XTERM_KBS@}
     38740-: ${xterm_new=@WHICH_XTERM@}
     38741+linux_dft=linux2.2
     38742+
     38743+: ${datadir=/usr/share}
     38744+: ${WHICH_LINUX=$linux_dft}
     38745+: ${WHICH_XTERM=xterm-new}
     38746+: ${XTERM_KBS=BS}
    3177538747 
    3177638748 # If we're not installing into /usr/share/, we'll have to adjust the location
     
    3178138753 cat <<EOF
    3178238754 s%/usr/share/tabset%$TABSET%g
    31783 @@ -56,3 +57,35 @@
     38755 EOF
     38756 fi
     38757 
     38758-if test "$xterm_new" != "xterm-new" ; then
     38759+if test "$WHICH_XTERM" != "xterm-new" ; then
     38760+echo "** using $WHICH_XTERM terminal description for XTerm entry" >&2
     38761 cat <<EOF
     38762 /^# This is xterm for ncurses/,/^$/{
     38763        s/use=xterm-new,/use=$WHICH_XTERM,/
    3178438764 }
    3178538765 EOF
    3178638766 fi
    3178738767+
    31788 +if test "$xterm_kbs" != "BS" ; then
     38768+if test "$XTERM_KBS" != "BS" ; then
     38769+echo "** using DEL for XTerm backspace-key" >&2
    3178938770+cat <<EOF
    3179038771+/^xterm+kbs|fragment for backspace key/,/^#/{
     
    3179638777+# Work around incompatibities built into Linux console.  The 2.6 series added
    3179738778+# a patch to fixup the SI/SO behavior, which is closer to vt100, but the older
    31798 +# kernels do not recognize those controls.
    31799 +system=`uname -s 2>/dev/null`
    31800 +if test "x$system" = xLinux
     38779+# kernels do not recognize those controls.  All of the kernels recognize the
     38780+# older flavor of rmacs/smacs, but beginning in the late 1990s, changes made
     38781+# as part of implementing UTF-8 prevent using those for line-drawing when the
     38782+# console is in UTF-8 mode.  Taking into account the fact that it took about
     38783+# ten years to provide (and distribute) the 2.6 series' change for SI/SO, the
     38784+# default remains "linux2.2".
     38785+case x$WHICH_LINUX in #(vi
     38786+xauto)
     38787+       system=`uname -s 2>/dev/null`
     38788+       if test "x$system" = xLinux
     38789+       then
     38790+               case x`uname -r` in
     38791+               x1.*)
     38792+                       WHICH_LINUX=linux-c
     38793+                       ;;
     38794+               x2.[0-4]*)
     38795+                       WHICH_LINUX=linux2.2
     38796+                       ;;
     38797+               *)
     38798+                       WHICH_LINUX=linux3.0
     38799+                       ;;
     38800+               esac
     38801+       else
     38802+               WHICH_LINUX=$linux_dft
     38803+       fi
     38804+       ;;
     38805+xlinux*)
     38806+       # allow specific setting
     38807+       ;;
     38808+*)
     38809+       WHICH_LINUX=$linux_dft
     38810+       ;;
     38811+esac
     38812+
     38813+if test $WHICH_LINUX != $linux_dft
    3180138814+then
    31802 +       case x`uname -r` in
    31803 +       x1.*)
     38815+echo "** using $WHICH_LINUX terminal description for Linux console" >&2
    3180438816+cat <<EOF
    3180538817+/^# This is Linux console for ncurses/,/^$/{
    31806 +       s/use=linux3.0,/use=linux-c,/
     38818+       s/use=$linux_dft,/use=$WHICH_LINUX,/
    3180738819+}
    3180838820+EOF
    31809 +               ;;
    31810 +       x2.[0-4]*)
    31811 +cat <<EOF
    31812 +/^# This is Linux console for ncurses/,/^$/{
    31813 +       s/use=linux3.0,/use=linux2.2,/
    31814 +}
    31815 +EOF
    31816 +               ;;
    31817 +       esac
    3181838821+fi
    3181938822diff -Naur ncurses-5.9.orig/misc/ncurses-config.in ncurses-5.9/misc/ncurses-config.in
    31820 --- ncurses-5.9.orig/misc/ncurses-config.in     2012-02-16 18:25:12.607808668 +0000
    31821 +++ ncurses-5.9/misc/ncurses-config.in  2012-02-16 18:25:12.967818168 +0000
     38823--- ncurses-5.9.orig/misc/ncurses-config.in     2012-08-25 19:57:59.429900806 +0000
     38824+++ ncurses-5.9/misc/ncurses-config.in  2012-08-25 19:58:02.363220268 +0000
    3182238825@@ -1,5 +1,5 @@
    3182338826 #!@SHELL@
    3182438827-# $Id: ncurses-config.in,v 1.25 2011/03/19 22:43:38 tom Exp $
    31825 +# $Id: ncurses-config.in,v 1.27 2011/08/13 22:11:20 tom Exp $
     38828+# $Id: ncurses-config.in,v 1.28 2012/08/11 21:45:20 tom Exp $
    3182638829 ##############################################################################
    3182738830 # Copyright (c) 2006-2010,2011 Free Software Foundation, Inc.                #
    3182838831 #                                                                            #
    31829 @@ -41,6 +41,7 @@
     38832@@ -36,11 +36,13 @@
     38833 bindir="@bindir@"
     38834 includedir="@includedir@"
     38835 libdir="@libdir@"
     38836+datarootdir="@datarootdir@"
     38837 datadir="@datadir@"
     38838 mandir="@mandir@"
    3183038839 
    3183138840 THIS="@LIB_NAME@@DFT_ARG_SUFFIX@"
     
    3183538844 LANG=C;                export LANG
    3183638845 LANGUAGE=C;    export LANGUAGE
    31837 @@ -83,13 +84,19 @@
     38846@@ -83,13 +85,19 @@
    3183838847 ENDECHO
    3183938848                ;;
     
    3185738866                fi
    3185838867                ;;
    31859 @@ -163,4 +170,5 @@
     38868@@ -163,4 +171,5 @@
    3186038869        esac
    3186138870        shift
     
    3186338872+# vi:ts=4 sw=4
    3186438873 # vile:shmode
     38874diff -Naur ncurses-5.9.orig/misc/run_tic.in ncurses-5.9/misc/run_tic.in
     38875--- ncurses-5.9.orig/misc/run_tic.in    2012-08-25 19:57:59.429900806 +0000
     38876+++ ncurses-5.9/misc/run_tic.in 2012-08-25 19:58:02.363220268 +0000
     38877@@ -1,5 +1,5 @@
     38878 #!@SHELL@
     38879-# $Id: run_tic.in,v 1.32 2011/02/23 23:30:15 tom Exp $
     38880+# $Id: run_tic.in,v 1.33 2012/08/11 21:45:47 tom Exp $
     38881 ##############################################################################
     38882 # Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     38883 #                                                                            #
     38884@@ -48,6 +48,7 @@
     38885 : ${bindir:=@bindir@}
     38886 : ${top_srcdir:=@top_srcdir@}
     38887 : ${srcdir:=@srcdir@}
     38888+: ${datarootdir:=@datarootdir@}
     38889 : ${datadir:=@datadir@}
     38890 : ${TIC_PATH:=@TIC_PATH@}
     38891 : ${ticdir:=@TERMINFO@}
    3186538892diff -Naur ncurses-5.9.orig/misc/terminfo.src ncurses-5.9/misc/terminfo.src
    31866 --- ncurses-5.9.orig/misc/terminfo.src  2012-02-16 18:25:12.607808668 +0000
    31867 +++ ncurses-5.9/misc/terminfo.src       2012-02-16 18:25:13.299826928 +0000
     38893--- ncurses-5.9.orig/misc/terminfo.src  2012-08-25 19:57:59.426567488 +0000
     38894+++ ncurses-5.9/misc/terminfo.src       2012-08-25 19:58:02.389886808 +0000
    3186838895@@ -6,8 +6,8 @@
    3186938896 # Report bugs and new terminal descriptions to
     
    3187238899-#      $Revision: 1.383 $
    3187338900-#      $Date: 2011/02/20 20:46:53 $
    31874 +#      $Revision: 1.426 $
    31875 +#      $Date: 2012/02/11 23:38:27 $
     38901+#      $Revision: 1.466 $
     38902+#      $Date: 2012/08/11 15:27:54 $
    3187638903 #
    3187738904 # The original header is preserved below for reference.  It is noted that there
    3187838905 # is a "newer" version which differs in some cosmetic details (but actually
    31879 @@ -690,9 +690,7 @@
     38906@@ -321,7 +321,7 @@
     38907 # DEL and ^C are hardcoded to act as kill characters.
     38908 # ^D acts as a line break (just like newline).
     38909 # It also interprets
     38910-#      \033];xxx\007
     38911+#      \033];xxx\007
     38912 # for compatibility with xterm -TD
     38913 9term|Plan9 terminal emulator for X,
     38914        am,
     38915@@ -376,11 +376,19 @@
     38916        dim=\E[2m,
     38917        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m,
     38918        use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
     38919-ansi+pp|ansi printer port,
     38920-       mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
     38921 ansi+csr|ansi scroll-region plus cursor save & restore,
     38922        csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7,
     38923 
     38924+# The normal (ANSI) flavor of "media copy" building block asserts that
     38925+# characters sent to the printer do not echo on the screen. DEC terminals
     38926+# can also be put into autoprinter mode, where each line is sent to the
     38927+# printer as you move off that line, e.g., by a carriage return.
     38928+ansi+pp|ansi printer port,
     38929+       mc5i,
     38930+       mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
     38931+dec+pp|DEC autoprinter mode,
     38932+       mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
     38933+
     38934 # The IBM PC alternate character set.  Plug this into any Intel console entry.
     38935 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
     38936 # ROM graphics for control characters such as the diamond, up- and down-arrow.
     38937@@ -456,9 +464,10 @@
     38938        cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
     38939        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
     38940        dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
     38941-       hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
     38942-       indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
     38943-       smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
     38944+       hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
     38945+       il=\E[%p1%dL, indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT,
     38946+       rmam=\E[?7l, sc=\E7, smam=\E[?7h, tbc=\E[g,
     38947+       vpa=\E[%i%p1%dd,
     38948 
     38949 #### ANSI/ECMA-48 terminals and terminal emulators
     38950 #
     38951@@ -488,7 +497,7 @@
     38952 # ansi-mtabs adds relative addressing and minimal tab support
     38953 ansi-mtabs|any ansi terminal with pessimistic assumptions,
     38954        it#8,
     38955-       ht=^I, use=ansi+local1, use=ansi-mini,
     38956+       ht=^I, use=ansi-mini, use=ansi+local1,
     38957 
     38958 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
     38959 #
     38960@@ -690,9 +699,7 @@
    3188038961        use=ansi.sysk,
    3188138962 
     
    3188738968 # Atari ST terminals.
    3188838969 # From Guido Flohr <gufl0000@stud.uni-sb.de>.
    31889 @@ -909,7 +907,7 @@
     38970@@ -909,7 +916,7 @@
    3189038971        khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
    3189138972        kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
     
    3189638977        vpa=\E[%i%p1%dd, use=vt102+enq, use=klone+sgr,
    3189738978        use=ecma+color,
    31898 @@ -936,10 +934,27 @@
     38979@@ -936,10 +943,30 @@
    3189938980 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
    3190038981 # get a block cursor for cvvis.
     
    3190938990+# Using SI/SO has the drawback that it confuses screen.  SCS would work.
    3191038991+# However, SCS is buggy (see comment in Debian #515609) -TD
     38992+# Further, this breaks longstanding workarounds for Linux console's line
     38993+# drawing (see Debian 665959) -TD
    3191138994+linux2.6|linux 2.6.x console,
    3191238995+       rmacs=^O,
     
    3191538998+
    3191638999+# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
     39000+# It is the same as xterm's erase-saved-lines feature.
    3191739001+linux3.0|linux 3.0 kernels,
    3191839002+       E3=\E[3;J, use=linux2.6,
     
    3192039004+# This is Linux console for ncurses.
    3192139005+linux|linux console,
    31922 +       use=linux3.0,
     39006+       use=linux2.2,
    3192339007+
    3192439008 # Subject: linux 2.6.26 vt back_color_erase
    3192539009 # Changes to the Linux console driver broke bce model as reported in
    3192639010 #      https://bugzilla.novell.com/show_bug.cgi?id=418613
    31927 @@ -947,7 +962,7 @@
     39011@@ -947,7 +974,7 @@
    3192839012 #      http://lkml.org/lkml/2008/4/26/305
    3192939013 #      http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e
     
    3193439018 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
    3193539019 linux-nic|linux with ich/ich1 suppressed for non-curses programs,
    31936 @@ -1053,6 +1068,24 @@
     39020@@ -1024,7 +1051,7 @@
     39021        kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
     39022        kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
     39023        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J,
     39024-       op=\E49;39m, rev=\E[7m, ri=\EM, rmacs=^O, rmso=\E[27m,
     39025+       op=\E[49m\E[39m, rev=\E[7m, ri=\EM, rmacs=^O, rmso=\E[27m,
     39026        rmul=\E[24m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
     39027        sgr0=\E[0m, smacs=^N, smso=\E[7m, smul=\E[4m,
     39028 
     39029@@ -1053,6 +1080,24 @@
    3193739030        dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
    3193839031        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
     
    3195939052 # http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
    3196039053 #
    31961 @@ -1649,6 +1682,56 @@
     39054@@ -1183,7 +1228,7 @@
     39055        civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr,
     39056        cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m,
     39057        rep=\E[%p1%d;%p2%db, rmm=\E[=11L,
     39058-       sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
     39059+       sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%e;10%;m,
     39060        smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm,
     39061        smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m,
     39062        smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m,
     39063@@ -1649,6 +1694,56 @@
    3196239064 qansi-w|QNX ansi for windows,
    3196339065        xvpa, use=qansi-m,
     
    3201639118 #
    3201739119 # pcvt termcap database entries (corresponding to release 3.31)
    32018 @@ -1786,7 +1869,7 @@
     39120@@ -1786,7 +1881,7 @@
    3201939121 ofcons|DNARD OpenFirmware console,
    3202039122        bw,
     
    3202539127        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
    3202639128        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
    32027 @@ -1798,8 +1881,8 @@
     39129@@ -1798,8 +1893,8 @@
    3202839130        kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
    3202939131        kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
     
    3203639138 # NetBSD "wscons" emulator in vt220 mode.
    3203739139 # This entry is based on the NetBSD termcap entry, correcting the ncv value.
    32038 @@ -2937,6 +3020,28 @@
     39140@@ -1816,7 +1911,8 @@
     39141 wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
     39142        bce, msgr,
     39143        colors#8, cols#80, it#8, lines#25, ncv#2, pairs#64,
     39144-       is2=\E[r\E[25;1H, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
     39145+       civis=\E[?25l, cnorm=\E[?25h, is2=\E[r\E[25;1H,
     39146+       kdch1=\E[3~, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
     39147        kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
     39148        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
     39149        kf9=\E[20~, khome=\E[7~, op=\E[m, rs1=\Ec,
     39150@@ -2377,8 +2473,9 @@
     39151 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
     39152 # PF1--PF4 are used as F1--F4.
     39153 #
     39154+# added msgr -TD
     39155 vt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
     39156-       OTbs, OTpt, am, mir, xenl, xon,
     39157+       OTbs, OTpt, am, mir, msgr, xenl, xon,
     39158        cols#80, lines#24, vt#3,
     39159        OTnl=^J,
     39160        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39161@@ -2404,8 +2501,15 @@
     39162 # A much better description of the VT200/220; used to be vt220-8
     39163 # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
     39164 # designation to accommodate bug in pcvt -TD
     39165+#
     39166+# Here's a picture of the VT220 editing keypad:
     39167+#      +--------+--------+--------+
     39168+#      | Find   | Insert | Remove |
     39169+#      +--------+--------+--------+
     39170+#      | Select | Prev   | Next   |
     39171+#      +--------+--------+--------+
     39172 vt220|vt200|dec vt220,
     39173-       OTbs, am, mc5i, mir, msgr, xenl, xon,
     39174+       OTbs, am, mir, msgr, xenl, xon,
     39175        cols#80, it#8, lines#24, vt#3,
     39176        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39177        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
     39178@@ -2418,19 +2522,20 @@
     39179        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
     39180        il=\E[%p1%dL, il1=\E[L, ind=\ED,
     39181        is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
     39182-       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
     39183-       kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
     39184-       kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
     39185-       kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
     39186-       kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
     39187-       kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
     39188-       lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, mc4=\E[4i,
     39189-       mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
     39190-       rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
     39191-       rmul=\E[24m, rs1=\E[?3l, sc=\E7,
     39192+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
     39193+       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
     39194+       kf14=\E[26~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
     39195+       kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
     39196+       kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
     39197+       khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
     39198+       krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
     39199+       nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B$<4>,
     39200+       rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
     39201+       rs1=\E[?3l, sc=\E7,
     39202        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39203        sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
     39204-       smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     39205+       smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=ansi+pp,
     39206+       use=ansi+enq,
     39207 vt220-w|vt200-w|DEC vt220 in wide mode,
     39208        cols#132,
     39209        rs3=\E[?3h, use=vt220,
     39210@@ -2449,16 +2554,16 @@
     39211        il=\233%p1%dL, il1=\233L, ind=\ED,
     39212        is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H,
     39213        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
     39214-       kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
     39215-       kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,
     39216-       kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS,
     39217-       kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~,
     39218-       kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,
     39219-       knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,
     39220-       lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,
     39221-       nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=\E(B,
     39222-       rmam=\233?7l, rmir=\2334l, rmso=\23327m, rmul=\23324m,
     39223-       rs1=\233?3l, sc=\E7,
     39224+       kdch1=\2333~, kf1=\EOP, kf10=\23321~, kf11=\23323~,
     39225+       kf12=\23324~, kf13=\23325~, kf14=\23326~, kf17=\23331~,
     39226+       kf18=\23332~, kf19=\23333~, kf2=\EOQ, kf20=\23334~,
     39227+       kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~, kf8=\23319~,
     39228+       kf9=\23320~, kfnd=\2331~, khlp=\23328~, khome=\233H,
     39229+       kich1=\2332~, knp=\2336~, kpp=\2335~, krdo=\23329~,
     39230+       kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i,
     39231+       mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8, rev=\2337m, ri=\EM,
     39232+       rmacs=\E(B, rmam=\233?7l, rmir=\2334l, rmso=\23327m,
     39233+       rmul=\23324m, rs1=\233?3l, sc=\E7,
     39234        sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39235        sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h, smir=\2334h,
     39236        smso=\2337m, smul=\2334m, tbc=\2333g,
     39237@@ -2495,8 +2600,9 @@
     39238 #
     39239 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
     39240 # (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
     39241+# added msgr -TD
     39242 vt200-js|vt220-js|dec vt200 series with jump scroll,
     39243-       am,
     39244+       am, msgr,
     39245        cols#80,
     39246        bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
     39247        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
     39248@@ -2534,7 +2640,7 @@
     39249 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
     39250 # (vt320: uncommented <fsl> --esr)
     39251 vt320|vt300|dec vt320 7 bit terminal,
     39252-       am, eslok, hs, mir, msgr, xenl,
     39253+       am, hs, mir, msgr, xenl,
     39254        cols#80, lines#24, wsl#80,
     39255        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39256        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
     39257@@ -2543,9 +2649,8 @@
     39258        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
     39259        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
     39260        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
     39261-       ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
     39262-       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
     39263-       il1=\E[L, ind=\ED,
     39264+       ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I,
     39265+       hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
     39266        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
     39267        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
     39268        kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~,
     39269@@ -2553,8 +2658,7 @@
     39270        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
     39271        kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
     39272        kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I,
     39273-       kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i,
     39274-       mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m,
     39275+       kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m,
     39276        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
     39277        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
     39278        rmul=\E[m,
     39279@@ -2563,7 +2667,7 @@
     39280        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39281        sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
     39282        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     39283-       tsl=\E[1$}\E[H\E[K, use=vt220+keypad,
     39284+       use=dec+pp, use=vt220+keypad, use=dec+sl, use=ansi+enq,
     39285 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
     39286        am@,
     39287        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
     39288@@ -2673,33 +2777,38 @@
     39289        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39290        sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
     39291        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     39292-       tsl=\E[2$~\E[1$}\E[1;%dH,
     39293+       tsl=\E[2$~\E[1$}\E[1;%dH, use=dec+sl,
     39294 
     39295 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
     39296 # a missing <sc> -- esr)
     39297+# add msgr and other capabilities from vt220 -TD
     39298 vt420|DEC VT420,
     39299-       am, mir, xenl, xon,
     39300-       cols#80, lines#24, vt#3,
     39301+       am, mir, msgr, xenl, xon,
     39302+       cols#80, it#8, lines#24, vt#3,
     39303        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39304-       bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
     39305-       clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
     39306-       cub1=^H, cud1=\E[B, cuf1=\E[C,
     39307-       cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
     39308-       dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
     39309-       if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
     39310-       is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
     39311-       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
     39312-       kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
     39313-       kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
     39314-       kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
     39315-       kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
     39316-       rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
     39317-       rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
     39318+       bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
     39319+       clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
     39320+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
     39321+       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
     39322+       cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA, cuu1=\E[A,
     39323+       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
     39324+       ech=\E[%p1%dX, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K,
     39325+       enacs=\E)0, flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I,
     39326+       hts=\EH, ich=\E[%p1%d@, if=/usr/share/tabset/vt300,
     39327+       il=\E[%p1%dL, il1=\E[L, ind=\ED, is2=\E[1;24r\E[24;1H,
     39328+       is3=\E[?67h\E[64;1"p, kbs=^H, kcub1=\E[D, kcud1=\E[B,
     39329+       kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[29~,
     39330+       kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~,
     39331+       kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~,
     39332+       kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, nel=\EE,
     39333+       rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
     39334+       ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
     39335        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
     39336-       rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
     39337+       rmso=\E[27m, rmul=\E[24m, rs3=\E[?67h\E[64;1"p, sc=\E7,
     39338        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39339-       sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
     39340-       smkx=\E=, smso=\E[7m, smul=\E[4m,
     39341+       sgr0=\E[m\E(B$<2>, smacs=\E(0$<2>, smam=\E[?7h,
     39342+       smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     39343+       use=ansi+pp, use=dec+sl, use=ansi+enq,
     39344 
     39345 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
     39346 # takes two parameters, the key and the string.  Translating the key is
     39347@@ -2772,58 +2881,11 @@
     39348 # terminal mode is being used.  If Set-Up has been disabled or
     39349 # assigned to an unknown key, Set-Up may be entered by pressing
     39350 # [F3] as the first key after power up, regardless of keyboard type.
     39351-# (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
     39352 vt520|DEC VT520,
     39353-       am, mir, xenl, xon,
     39354-       cols#80, lines#24, vt#3,
     39355-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39356-       bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
     39357-       clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
     39358-       cub1=^H, cud1=\E[B, cuf1=\E[C,
     39359-       cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
     39360-       dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
     39361-       if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
     39362-       is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
     39363-       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
     39364-       kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
     39365-       kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
     39366-       kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
     39367-       kslt=\E[4~,
     39368-       pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\,
     39369-       rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
     39370-       ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
     39371-       rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
     39372-       rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
     39373-       sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39374-       sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
     39375-       smso=\E[7m, smul=\E[4m,
     39376+       use=ansi+rca, use=vt420, use=ansi+tabs,
     39377 
     39378-# (vt525: I added <rmam>/<smam> based on the init string;
     39379-# removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
     39380 vt525|DEC VT525,
     39381-       am, mir, xenl, xon,
     39382-       cols#80, lines#24, vt#3,
     39383-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39384-       bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
     39385-       clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
     39386-       cub1=^H, cud1=\E[B, cuf1=\E[C,
     39387-       cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
     39388-       dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
     39389-       if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
     39390-       is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
     39391-       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
     39392-       kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
     39393-       kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
     39394-       kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
     39395-       kslt=\E[4~,
     39396-       pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\,
     39397-       rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
     39398-       ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
     39399-       rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
     39400-       rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
     39401-       sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
     39402-       sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
     39403-       smso=\E[7m, smul=\E[4m,
     39404+       use=vt520,
     39405 
     39406 #### VT100 emulations
     39407 #
     39408@@ -2887,7 +2949,7 @@
     39409 # the default behavior -TD
     39410 
     39411 putty|PuTTY terminal emulator,
     39412-       am, bce, bw, ccc, hs, mir, msgr, xenl, xon, XT,
     39413+       am, bce, bw, ccc, mir, msgr, xenl, xon, XT,
     39414        colors#8, it#8, ncv#22, pairs#64, U8#1,
     39415        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39416        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
     39417@@ -2897,11 +2959,10 @@
     39418        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
     39419        dch=\E[%p1%dP, dch1=\E[P,
     39420        dispc=%?%p1%{8}%=%t\E%%G\342\227\230\E%%@%e%p1%{10}%=%t\E%%G\342\227\231\E%%@%e%p1%{12}%=%t\E%%G\342\231\0\E%%@%e%p1%{13}%=%t\E%%G\342\231\252\E%%@%e%p1%{14}%=%t\E%%G\342\231\253\E%%@%e%p1%{15}%=%t\E%%G\342\230\274\E%%@%e%p1%{27}%=%t\E%%G\342\206\220\E%%@%e%p1%{155}%=%t\E%%G\340\202\242\E%%@%e%p1%c%;,
     39421-       dl=\E[%p1%dM, dl1=\E[M, dsl=\E]0;\007, ech=\E[%p1%dX,
     39422-       ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
     39423-       flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, hpa=\E[%i%p1%dG,
     39424-       ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
     39425-       indn=\E[%p1%dS,
     39426+       dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
     39427+       el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
     39428+       hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
     39429+       ind=^J, indn=\E[%p1%dS,
     39430        initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
     39431        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
     39432        kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
     39433@@ -2922,7 +2983,8 @@
     39434        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
     39435        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?47h,
     39436        smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
     39437-       tbc=\E[3g, tsl=\E]0;, vpa=\E[%i%p1%dd, use=vt102+enq,
     39438+       tbc=\E[3g, vpa=\E[%i%p1%dd, E3=\E[3;J, use=vt102+enq,
     39439+       use=xterm+sl,
     39440 vt100-putty|Reset PuTTY to pure vt100,
     39441        rs2=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p,
     39442        use=vt100,
     39443@@ -2937,6 +2999,28 @@
    3203939444        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
    3204039445        kf9=\EOX, use=putty,
     
    3206539470 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
    3206639471 # (communication program) which supports:
    32067 @@ -3091,7 +3196,8 @@
     39472@@ -3091,7 +3175,8 @@
    3206839473        kf9=\EOX, rmkx=\E[?1l\E>, rmso=\E[m, smkx=\E[?1h\E,
    3206939474        smso=\E[7m,
     
    3207539480 # You can add the following line to your .Xdefaults to change the terminal type
    3207639481 # set by the xterms you start up to my-xterm:
    32077 @@ -3274,12 +3380,14 @@
     39482@@ -3154,7 +3239,7 @@
     39483 # added khome/kend, hts based on the R6 xterm code - TD
     39484 # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
     39485 # for compatibility with other emulators).
     39486-xterm-r6|xterm-old|xterm X11R6 version,
     39487+xterm-r6|xterm X11R6 version,
     39488        OTbs, am, km, mir, msgr, xenl,
     39489        cols#80, it#8, lines#24,
     39490        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39491@@ -3180,10 +3265,12 @@
     39492        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
     39493        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     39494        use=vt100+enq,
     39495+xterm-old|antique xterm version,
     39496+       use=xterm-r6,
     39497 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
     39498 # The name has been changed and some aliases have been removed.
     39499 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
     39500-       OTbs, am, bce, km, mir, msgr, xenl,
     39501+       OTbs, am, bce, km, mir, msgr, xenl, XT,
     39502        cols#80, it#8, lines#24, ncv@,
     39503        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39504        bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
     39505@@ -3227,13 +3314,13 @@
     39506 # xterm to use terminfo-based descriptions with the titeInhibit resource.
     39507 # -- the distribution contained incorrect khome/kend values -TD
     39508 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
     39509-       mc5i,
     39510        blink=\E[5m, ich1@, invis=\E[8m,
     39511        is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
     39512-       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
     39513-       rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
     39514+       rmcup=\E[?1047l\E[?1048l, rs1=\Ec,
     39515+       rs2=\E[!p\E[?3;4l\E[4l\E>,
     39516        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
     39517-       smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33,
     39518+       smcup=\E[?1048h\E[?1047h, use=ansi+pp,
     39519+       use=xterm-xf86-v33,
     39520 
     39521 # This version was released in XFree86 4.0.
     39522 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
     39523@@ -3274,12 +3361,14 @@
    3207839524 # This version reflects the current xterm features.
    3207939525 xterm-new|modern xterm terminal emulator,
     
    3209539541 # This fragment describes as much of XFree86 xterm's "pc-style" function
    3209639542 # keys as will fit into terminfo's 60 function keys.
    32097 @@ -3457,7 +3565,7 @@
     39543@@ -3445,7 +3534,7 @@
     39544 #
     39545 # This chunk is used for building the VT220/Sun/PC keyboard variants.
     39546 xterm-basic|modern xterm terminal emulator - common,
     39547-       OTbs, am, bce, km, mc5i, mir, msgr, xenl, AX,
     39548+       OTbs, am, bce, km, mir, msgr, xenl, AX, XT,
     39549        colors#8, cols#80, it#8, lines#24, pairs#64,
     39550        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     39551        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
     39552@@ -3457,19 +3546,20 @@
    3209839553        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
    3209939554        flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
    3210039555        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
    3210139556-       ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H,
     39557-       kmous=\E[M, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
     39558-       memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
     39559-       rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l,
     39560-       rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m,
     39561-       rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
     39562-       setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
    3210239563+       ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>,
    32103         kmous=\E[M, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
    32104         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
    32105         rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l,
    32106 @@ -3469,7 +3577,8 @@
     39564+       kmous=\E[M, meml=\El, memu=\Em, op=\E[39;49m, rc=\E8,
     39565+       rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l,
     39566+       rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>,
     39567+       rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec,
     39568+       rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm,
     39569+       setaf=\E[3%p1%dm,
     39570        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
     39571        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
    3210739572        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
    3210839573        sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
    3210939574        smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
    3211039575-       smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
    32111 +       smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=xterm+kbs,
    32112 +       use=vt100+enq,
     39576+       smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, E3=\E[3;J,
     39577+       use=ansi+pp, use=xterm+kbs, use=vt100+enq,
    3211339578 
    3211439579 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
    3211539580 # In retrospect, something like xterm-r6 was intended here -TD
    32116 @@ -3527,6 +3636,28 @@
     39581@@ -3527,6 +3617,28 @@
    3211739582 xterm-1003|testing xterm-mouse,
    3211839583        XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
     
    3213039595+#      p1 = the storage unit (clipboard, selection or cut buffer)
    3213139596+#      p2 = the base64-encoded clipboard content.
    32132 +# 
     39597+#
    3213339598+# Ss is used to set the cursor style as described by the DECSCUSR
    3213439599+#      function to a block or underline.
    3213539600+# Se resets the cursor style to the terminal power-on default.
    32136 +# 
    32137 +# Cs and Ce set and reset the cursor colour.
     39601+#
     39602+# Cs and Cr set and reset the cursor colour.
    3213839603+xterm+tmux|advanced xterm features used in tmux,
    3213939604+       Cr=\E]112\007, Cs=\E]12;%p1%s\007,
     
    3214339608 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
    3214439609 # To use it, your decTerminalID resource must be set to 200 or above.
    32145 @@ -3552,8 +3683,8 @@
     39610@@ -3552,8 +3664,8 @@
    3214639611        hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@,
    3214739612        il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m,
     
    3215439619        kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
    3215539620        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
    32156 @@ -3575,6 +3706,7 @@
     39621@@ -3575,6 +3687,7 @@
    3215739622        smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=,
    3215839623        smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR,
     
    3216239627 xterm-hp|xterm with hpterm function keys,
    3216339628        kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
    32164 @@ -3621,8 +3753,9 @@
     39629@@ -3621,8 +3734,9 @@
    3216539630        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
    3216639631        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
     
    3217439639 xterm-noapp|xterm with cursor keys in normal mode,
    3217539640        rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp,
    32176 @@ -3659,6 +3792,15 @@
     39641@@ -3640,25 +3754,68 @@
     39642 xterm-utf8|xterm with no VT100 line-drawing in UTF-8 mode,
     39643        U8#1, use=xterm,
     39644 
     39645-# These entries allow access to the X titlebar and icon name as a status line.
     39646-# Note that twm (and possibly window managers descended from it such as tvtwm,
     39647-# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
     39648-# with it.
     39649+# These building-blocks allow access to the X titlebar and icon name as a
     39650+# status line.  There are a few problems in using them in entries:
     39651+#
     39652+# a) tsl should have a parameter to denote the column on which to transfer to
     39653+#    the status line.
     39654+# b) the "0" code for xterm updates both icon-title and window title.  Some
     39655+#    window managers such as twm (and possibly window managers descended from
     39656+#    it such as tvtwm, ctwm, and vtwm) track windows by icon-name. Thus, you
     39657+#    don't want to mess with icon-name when using those window managers.
     39658 xterm+sl|access X title line and icon name,
     39659        hs,
     39660-       wsl#40,
     39661-       dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
     39662+       dsl=\E]0;\007, fsl=^G, tsl=\E]0;,
     39663 xterm+sl-twm|access X title line (pacify twm-descended window managers),
     39664        hs,
     39665-       wsl#40,
     39666-       dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
     39667+       dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
     39668+
     39669+# In contrast, this block can be used for a DEC vt320 and up.  There are two
     39670+# controls used.
     39671+#
     39672+# DECSASD (select active status display)
     39673+#      \E[0$}  Main display
     39674+#      \E[1$}  Status line
     39675+#
     39676+# DECSSDT (select status line type)
     39677+#      \E[0$~  No status line
     39678+#      \E[1$~  Indicator status line
     39679+#      \E[2$~  Host-writable status line
     39680+#
     39681+# The building block assumes that the terminal always shows something at the
     39682+# status line (either the indicator, or status line).  That is because if no
     39683+# status line is used, then the terminal makes that line part of the user
     39684+# window, changing its size without notice.
     39685+#
     39686+# Because there is no "esl" (enable status line) capability, the "tsl"
     39687+# capability ensures that the status line is host-writable.  A DEC terminal
     39688+# will clear the status line when changing from indicator to host-writable
     39689+# mode.
     39690+#
     39691+# Once on the status line, the row part of cursor addressing is ignored.  Since
     39692+# tsl expects a parameter (to specify the column), the shortest addressing that
     39693+# can be used for this purpose is HPA, e.g., \E[5d to go to column 5.
     39694+#
     39695+dec+sl|DEC VTxx status line,
     39696+       eslok, hs,
     39697+       dsl=\E[1$~, fsl=\E[0$}, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
     39698 
     39699 #
     39700 # The following xterm variants don't depend on your base version
     39701 #
    3217739702 # xterm with bold instead of underline
    3217839703 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
     39704+       sgr=%?%p9%t\016%e\017%;B\E[0%?%p6%t;1%;%?%p2%t;1%;%?%p1%p3%|%t;7%;m,
    3217939705        smso=\E[7m, smul=\E[1m, use=xterm-old,
    3218039706+
     
    3219039716 # (kterm should not invoke DEC Graphics as the alternate character set
    3219139717 #  -- Kenji Rikitake)
    32192 @@ -3676,12 +3818,50 @@
     39718@@ -3676,12 +3833,51 @@
    3219339719        tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color,
    3219439720 kterm-color|kterm-co|kterm with ANSI colors,
     
    3224139767+# title bar. [I have translated it to terminfo -- ESR]
    3224239768+xterm-pcolor|xterm with color used for highlights and status line,
     39769+       wsl#40,
    3224339770+       bold=\E[1;43m, rev=\E[7;34m,
    3224439771+       sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1;43%;%?%p2%t;4;42%;%?%p1%t;7;31%;%?%p3%t;7;34%;%?%p4%t;5%;%?%p7%t;8%;m,
     
    3224739774 # This describes the capabilities of color_xterm, an xterm variant from
    3224839775 # before ECMA-64 color support was folded into the main-line xterm release.
    32249 @@ -3729,6 +3909,32 @@
     39776@@ -3729,6 +3925,32 @@
    3225039777        ncv@,
    3225139778        op=\E[m, use=xterm-r6, use=klone+color,
     
    3228039807 gnome-rh62|Gnome terminal,
    3228139808        bce,
    32282 @@ -3867,6 +4073,7 @@
     39809@@ -3782,7 +4004,7 @@
     39810 #
     39811 # bce and msgr are repaired.
     39812 gnome-rh90|GNOME Terminal,
     39813-       bce, msgr,
     39814+       bce, msgr, XT,
     39815        hpa=\E[%i%p1%dG, kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C,
     39816        kb2=\E[E, kcbt=\E[Z, kend=\EOF, khome=\EOH, tbc=\E[3g,
     39817        vpa=\E[%i%p1%dd, use=xterm+pcf0, use=xterm+pcfkeys,
     39818@@ -3867,6 +4089,7 @@
    3228339819 xfce|Xfce Terminal,
    3228439820        use=vte,
     
    3228839824 #
    3228939825 # This does not use VTE, and does have different behavior (compare xfce and
    32290 @@ -3874,6 +4081,7 @@
     39826@@ -3874,6 +4097,7 @@
    3229139827 mgt|Multi GNOME Terminal,
    3229239828        indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333,
     
    3229639832 # or not is debatable).
    3229739833 kvt|KDE terminal,
    32298 @@ -3972,6 +4180,7 @@
     39834@@ -3922,7 +4146,7 @@
     39835        ncv@,
     39836        bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h,
     39837        ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l,
     39838-       hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1@,
     39839+       hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1=\E[3~,
     39840        kend=\E[4~, kf1@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@,
     39841        kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
     39842        kf9@, kfnd@, khome=\E[1~, kslt@, rin=\E[%p1%dT, rmam=\E[?7l,
     39843@@ -3932,11 +4156,10 @@
     39844        sgr0=\E[0m\017, smam=\E[?7h, vpa=\E[%i%p1%dd,
     39845        use=ecma+color, use=xterm-r6,
     39846 konsole-linux|KDE console window with linux keyboard,
     39847-       kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
     39848-       kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@,
     39849-       kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
     39850-       kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
     39851-       use=konsole-base,
     39852+       kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13@,
     39853+       kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E[[B, kf20@,
     39854+       kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
     39855+       kf8=\E[19~, kf9=\E[20~, use=konsole-base,
     39856 konsole-solaris|KDE console window with Solaris keyboard,
     39857        kbs=^H, kend=\E[4~, khome=\E[1~, use=konsole-vt100,
     39858 # KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
     39859@@ -3972,6 +4195,7 @@
    3229939860 konsole-256color|KDE console window with xterm 256-colors,
    3230039861        initc@, use=xterm+256color, use=konsole,
     
    3230439865 #
    3230539866 # It is nominally a vt102 emulator, with features borrowed from rxvt and
    32306 @@ -4037,6 +4246,7 @@
     39867@@ -4037,6 +4261,7 @@
    3230739868 mlterm-256color|mlterm 3.0 with xterm 256-colors,
    3230839869        use=xterm+256color, use=rxvt,
     
    3231239873 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
    3231339874 # Notes:
    32314 @@ -4208,6 +4418,7 @@
     39875@@ -4208,6 +4433,7 @@
    3231539876 rxvt-16color|xterm with 16 colors like aixterm,
    3231639877        ncv#32, use=ibm+16color, use=rxvt,
     
    3232039881 #
    3232139882 # mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
    32322 @@ -4225,6 +4436,7 @@
     39883@@ -4225,6 +4451,7 @@
    3232339884 mrxvt-256color|multitabbed rxvt with 256 colors,
    3232439885        use=xterm+256color, use=mrxvt,
     
    3232839889 #
    3232939890 # Eterm 0.9.3
    32330 @@ -4270,11 +4482,13 @@
     39891@@ -4270,11 +4497,13 @@
    3233139892 Eterm-88color|Eterm with 88 colors,
    3233239893        use=xterm+88color, use=Eterm,
     
    3234239903 # This is not based on xterm's source...
    3234339904 # vttest shows several problems with keyboard, cursor-movements.
    32344 @@ -4283,48 +4497,8 @@
     39905@@ -4283,48 +4512,8 @@
    3234539906        km@,
    3234639907        kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6,
     
    3239239953 # from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
    3239339954 # chars look like --esr)
    32394 @@ -4357,31 +4531,7 @@
     39955@@ -4357,31 +4546,7 @@
    3239539956        initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI,
    3239639957        op=\E&v0S, scp=\E&v%p1%dS, use=hpterm,
     
    3242539986 # It corresponds to emu's internal emulation:
    3242639987 #      emu -term emu
    32427 @@ -4443,6 +4593,8 @@
     39988@@ -4443,6 +4608,8 @@
    3242839989        sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
    3242939990        sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=,
     
    3243439995 # print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
    3243539996 # indicate that it emulates more than one terminal, but incompletely.
    32436 @@ -4477,7 +4629,7 @@
     39997@@ -4477,7 +4644,7 @@
    3243739998        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
    3243839999        tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys,
     
    3244340004 # This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
    3244440005 #
    32445 @@ -4598,6 +4750,123 @@
     40006@@ -4598,6 +4765,123 @@
    3244640007        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
    3244740008        khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr,
     
    3247540036+       cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
    3247640037+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
    32477 +       dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
    32478 +       hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
    32479 +       il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=\177, kcub1=\E[D,
    32480 +       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
    32481 +       kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
    32482 +       kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
    32483 +       kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
     40038+       dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
     40039+       home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
     40040+       il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=\177,
     40041+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
     40042+       kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
     40043+       kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
     40044+       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
    3248440045+       khome=\E[1~, knp=\E[6~, kpp=\E[5~, op=\E[37;40m, rc=\E8,
    3248540046+       rev=\E[7m, rmacs=\E(B, rmso=\E[m, rmul=\E[m, sc=\E7,
     
    3249340054+st-256color|simpleterm with 256 colors,
    3249440055+       ccc@,
    32495 +       initc@, use=simpleterm, use=xterm+256color,
     40056+       initc@, use=xterm+256color, use=simpleterm,
    3249640057+
    3249740058+### TERMINATOR
     
    3256740128 #
    3256840129 
    32569 @@ -5064,10 +5333,10 @@
     40130@@ -4780,7 +5064,7 @@
     40131        bce@, bw,
     40132        invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
     40133        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
     40134-       use=screen+fkeys, use=xterm-new,
     40135+       E3@, use=screen+fkeys, use=xterm-new,
     40136 # xterm-r6 does not really support khome/kend unless it is propped up by
     40137 # the translations resource.
     40138 screen.xterm-r6|screen customized for X11R6 xterm,
     40139@@ -4920,18 +5204,18 @@
     40140 # sequences for setting the window-title.  So you must use tsl and fsl in
     40141 # pairs, since the latter ends the string that is loaded to the window-title.
     40142 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
     40143-       am, hs, km, mir, msgr, xenl,
     40144+       am, km, mir, msgr, xenl,
     40145        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     40146        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
     40147        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
     40148        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
     40149        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
     40150        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
     40151-       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
     40152-       dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
     40153-       flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
     40154-       ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
     40155-       il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
     40156+       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
     40157+       el=\E[K, el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l,
     40158+       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
     40159+       if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
     40160+       ind=\n$<150*>,
     40161        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
     40162        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
     40163        kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
     40164@@ -4945,8 +5229,8 @@
     40165        rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
     40166        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
     40167        sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
     40168-       smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
     40169-       u8=\E[?62;1;6c, use=ansi+enq,
     40170+       smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
     40171+       u8=\E[?62;1;6c, use=xterm+sl, use=ansi+enq,
     40172 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
     40173        use=ncsa-m, use=klone+color,
     40174 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
     40175@@ -5064,10 +5348,10 @@
    3257040176        kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
    3257140177        kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
     
    3258240188 # flake out on the last line.  Unfortunately, without them the terminal has no
    3258340189 # way to scroll.
    32584 @@ -5131,10 +5400,11 @@
     40190@@ -5077,6 +5361,10 @@
     40191 sun|sun1|sun2|Sun Microsystems Inc. workstation console,
     40192        use=sun-il,
     40193 
     40194+sun+sl|Sun Workstation window status line,
     40195+       hs,
     40196+       dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l,
     40197+
     40198 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
     40199 sun-s|Sun Microsystems Workstation window with status line,
     40200        hs,
     40201@@ -5131,10 +5419,11 @@
    3258540202 sun-color|Sun Microsystems Workstation console with color support (IA systems),
    3258640203        colors#8, ncv#3, pairs#64,
     
    3259640213 
    3259740214 #### Iris consoles
    32598 @@ -5405,7 +5675,7 @@
     40215@@ -5405,7 +5694,7 @@
    3259940216 #### Non-Unix Consoles
    3260040217 #
     
    3260540222 # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
    3260640223 # no_color_video to inform the application that standout(1), underline(2)
    32607 @@ -5544,7 +5814,7 @@
     40224@@ -5544,7 +5833,7 @@
    3260840225        rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
    3260940226        rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
     
    3261440231        smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
    3261540232        vpa=\E[%i%p1%dd, use=vt102+enq,
    32616 @@ -5579,7 +5849,7 @@
     40233@@ -5579,7 +5868,7 @@
    3261740234        rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
    3261840235        rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
     
    3262340240        smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt102+enq,
    3262440241 
    32625 @@ -5825,7 +6095,7 @@
     40242@@ -5825,7 +6114,7 @@
    3262640243        ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
    3262740244        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
     
    3263240249        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
    3263340250        sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
    32634 @@ -5968,7 +6238,7 @@
     40251@@ -5968,7 +6257,7 @@
    3263540252 #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
    3263640253 #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
     
    3264140258        blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
    3264240259 altos4|alt4|altos-4|altos IV,
    32643 @@ -8212,8 +8482,8 @@
     40260@@ -6183,7 +6472,7 @@
     40261        da, db,
     40262        lm#0, pb#19200,
     40263        ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
     40264-       is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,
     40265+       is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk-cr,
     40266        use=hp+labels, use=scrhp,
     40267 
     40268 # This entry is for sysline. It allocates a 23 line window with
     40269@@ -6384,7 +6673,7 @@
     40270 hp2622|hp2622a|hp 2622,
     40271        da, db,
     40272        lm#0, pb#19200,
     40273-       is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
     40274+       is2=\E&dj@\r, use=hp+pfk-cr, use=hp+labels, use=scrhp,
     40275 
     40276 # The 2623 is a 2622 with extra graphics hardware.
     40277 hp2623|hp2623a|hp 2623,
     40278@@ -7088,6 +7377,9 @@
     40279 # What seems to be going on here is that this entry was designed so that
     40280 # the normal highlight is bold and standout is dim plus something else
     40281 # (reverse-video maybe?  But then, are there two <rev> sequences?)
     40282+#
     40283+# Added kdch1, kil1, kdl1 based on screenshot -TD:
     40284+#      http://www.vintagecomputer.net/qume/qvt-108/qume_qvt-108_keyboard.jpg
     40285 qvt101+|qvt101p|qume qvt 101 PLUS product,
     40286        am, bw, hs, ul,
     40287        cols#80, lines#24, xmc#0,
     40288@@ -7096,11 +7388,11 @@
     40289        dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
     40290        flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
     40291        ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
     40292-       kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
     40293-       kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
     40294-       kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
     40295-       khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
     40296-       smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
     40297+       kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
     40298+       kel=\ET, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r,
     40299+       kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
     40300+       kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@,
     40301+       rmso=\E(, smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
     40302 qvt102|qume qvt 102,
     40303        cnorm=\E., use=qvt101,
     40304 # (qvt103: added <rmam>/<smam> based on init string -- esr)
     40305@@ -8212,8 +8504,8 @@
    3264440306        rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
    3264540307        rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1,
     
    3265240314        tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
    3265340315 
    32654 @@ -9980,7 +10250,7 @@
     40316@@ -9980,7 +10272,7 @@
    3265540317        pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
    3265640318        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
     
    3266140323        tsl=\E7\E[25;%p1%{1}%+%dH,
    3266240324 
    32663 @@ -10078,7 +10348,7 @@
     40325@@ -10078,7 +10370,7 @@
    3266440326        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
    3266540327        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
     
    3267040332        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
    3267140333        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
    32672 @@ -10284,7 +10554,7 @@
     40334@@ -10284,7 +10576,7 @@
    3267340335        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
    3267440336        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
     
    3267940341        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
    3268040342        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
    32681 @@ -10681,7 +10951,7 @@
     40343@@ -10681,7 +10973,7 @@
    3268240344        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
    3268340345        rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
     
    3268840350        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
    3268940351        tsl=\E7\E[25;%i%p1%dx,
    32690 @@ -10741,7 +11011,7 @@
     40352@@ -10741,7 +11033,7 @@
    3269140353        mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
    3269240354        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
     
    3269740359 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
    3269840360        lines#24, use=att630,
    32699 @@ -11391,7 +11661,7 @@
     40361@@ -11391,7 +11683,7 @@
    3270040362        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
    3270140363        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
     
    3270640368        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
    3270740369        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
    32708 @@ -11401,13 +11671,13 @@
     40370@@ -11401,13 +11693,13 @@
    3270940371        blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
    3271040372        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
     
    3272240384 aaa-18|ann arbor ambassador/18 lines,
    3272340385        lines#18,
    32724 @@ -11574,7 +11844,7 @@
     40386@@ -11574,7 +11866,7 @@
    3272540387        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
    3272640388        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
     
    3273140393 
    3273240394 #### Applied Digital Data Systems (adds)
    32733 @@ -12478,10 +12748,11 @@
     40395@@ -12416,7 +12708,7 @@
     40396 #       and mc5= should use the \E[?4i and \E[?5i strings instead).
     40397 
     40398 hds200|Human Designed Systems HDS200,
     40399-       am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
     40400+       am, bw, eslok, hs, km, mir, msgr, xenl, xon,
     40401        cols#80, it#8, lines#24, lm#0,
     40402        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
     40403        blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
     40404@@ -12445,13 +12737,12 @@
     40405        kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
     40406        kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
     40407        kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
     40408-       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
     40409-       rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
     40410-       rmul=\E[m\017, sc=\E7,
     40411+       nel=\E[E, rc=\E8, rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l,
     40412+       rmso=\E[m\017, rmul=\E[m\017, sc=\E7,
     40413        sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
     40414        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
     40415        smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
     40416-       vpa=\E[%i%p1%dd,
     40417+       vpa=\E[%i%p1%dd, use=ansi+pp,
     40418 
     40419 # <ht> through <el> included to specify padding needed in raw mode.
     40420 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
     40421@@ -12478,10 +12769,11 @@
    3273440422        ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
    3273540423        rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
     
    3274740435        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
    3274840436        use=avt-ns,
    32749 @@ -12763,7 +13034,6 @@
     40437@@ -12763,7 +13055,6 @@
    3275040438 # backspace on all terminals.  This is not so in DG mode.
    3275140439 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
     
    3275540443        OTbs, am, msgr, ul,
    3275640444        cols#80, it#8, lines#24,
    32757 @@ -12774,10 +13044,12 @@
     40445@@ -12774,10 +13065,12 @@
    3275840446        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
    3275940447        kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
     
    3277240460 # Data General 605x
    3277340461 # Ought to work for a Model 6242, Type D210 as well as a 605x.
    32774 @@ -13757,7 +14029,7 @@
     40462@@ -12824,7 +13117,7 @@
     40463        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
     40464        el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
     40465        ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
     40466-       sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
     40467+       sgr=\E[%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;%?%p1%p3%|%p6%|%t7;%;m,
     40468        sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
     40469 
     40470 # DASHER D210 series terminals in DG mode.
     40471@@ -13026,7 +13319,7 @@
     40472        is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
     40473        ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
     40474        rs2=\E[4;0;2;1;1;1v\E(B\E)4,
     40475-       sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
     40476+       sgr=\E[%?%p1%t2;7%;%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p1%p5%|%t2;%;%?%p6%t4;7;%;m\E)%?%p9%t6\016%e4\017%;,
     40477        sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
     40478 
     40479 # Initialization string 2 sets:
     40480@@ -13196,12 +13489,12 @@
     40481 #
     40482 d470c|d470|Data General DASHER D470C,
     40483        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
     40484-       sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
     40485+       sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t2;7;%;%?%p5%t2;%;m\E)%?%p9%t6\016%e4\017%;,
     40486        use=dg+color, use=d460,
     40487 
     40488 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
     40489        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
     40490-       sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;,
     40491+       sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t2;7;%;%?%p5%t2;%;m%?%p9%t\016%e\017%;,
     40492        use=dg+color, use=d460-7b,
     40493 
     40494 # Initialization string 2 sets:
     40495@@ -13757,7 +14050,7 @@
    3277540496 sb2|sb3|fixed superbee,
    3277640497        xsb@, use=superbee,
     
    3278140502 # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
    3278240503 # Regarding your question though; Beehive terminals weren't made by Harris.
    32783 @@ -14578,7 +14850,7 @@
     40504@@ -14224,6 +14517,8 @@
     40505        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
     40506        sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
     40507        tbc=\E[3g,
     40508+# "Megapel" refers to the display adapter, which was used with the IBM RT
     40509+# aka IBM 6150.
     40510 ibm5081|hft|IBM Megapel Color display,
     40511        acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
     40512        s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
     40513@@ -14578,7 +14873,7 @@
    3278440514        is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
    3278540515        rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
     
    3279040520 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
    3279140521        rs2=\Eo1, use=icl6404,
    32792 @@ -14916,7 +15188,7 @@
    32793         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
     40522@@ -14895,7 +15190,7 @@
     40523 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
     40524 #
     40525 prism9|p9|P9|MDC Prism-9 in ANSII mode,
     40526-       am, bw, hs, mc5i, msgr, xenl, xon,
     40527+       am, bw, hs, msgr, xenl, xon,
     40528        cols#80, it#8, lines#24, vt#3, wsl#72,
     40529        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
     40530        clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
     40531@@ -14911,14 +15206,15 @@
     40532        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
     40533        kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
     40534        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
     40535-       khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
     40536-       prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
     40537-       ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
     40538+       khome=\E[H, nel=^M^J, prot=\E[32%{, rc=\E[%z,
     40539+       rep=\E[%p2%db%p1%c, rev=\E[7m, ri=\E[L, rmir=\E[4l,
     40540+       rmso=\E[27m, rmul=\E[24m,
    3279440541        rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
    3279540542        sc=\E[%y,
     
    3279840545        sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
    3279940546        tbc=\E[3g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
    32800  
    32801 @@ -15282,7 +15554,7 @@
     40547+       use=ansi+pp,
     40548 
     40549 # p9-w: Prism-9 in 132 column mode
     40550 # --------------------------------
     40551@@ -15282,7 +15578,7 @@
    3280240552        rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
    3280340553        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
     
    3280840558        smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
    3280940559        tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
    32810 @@ -15339,7 +15611,7 @@
     40560@@ -15339,7 +15635,7 @@
    3281140561        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
    3281240562        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
     
    3281740567        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
    3281840568        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
    32819 @@ -15395,7 +15667,7 @@
     40569@@ -15395,7 +15691,7 @@
    3282040570        rmul=\E[24m,
    3282140571        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
     
    3282640576        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
    3282740577        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
    32828 @@ -17752,6 +18024,23 @@
     40578@@ -15785,7 +16081,7 @@
     40579 # Manufactured in the early/mid eighties, behaves almost the same as a
     40580 # Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
     40581 # keep the same keyboard layout), add an optional 25-line mode, replace the DIP
     40582-# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
     40583+# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
     40584 # 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
     40585 # recognized:  if you type in "ESC !", the next (third) character is not
     40586 # echoed, showing that the terminal was actually waiting for a parameter!
     40587@@ -15809,7 +16105,7 @@
     40588        pfloc=\E|%{48}%p1%+%c2%p2\031,
     40589        pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
     40590        rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
     40591-       sgr=\E%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
     40592+       sgr=\EG0\E%%%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
     40593        sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
     40594        tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
     40595 
     40596@@ -16279,7 +16575,7 @@
     40597        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
     40598        rev=\E%!1\E[7m$<2>\E%!0, ri=\EI,
     40599        rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
     40600-       sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0,
     40601+       sgr=\E%%!1\E[%?%p1%t;7;5%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t<0%;%?%p6%t;1%;m$<2>\E%%!0,
     40602        sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
     40603        smul=\E%!1\E[4m$<2>\E%!0,
     40604 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
     40605@@ -16466,9 +16762,10 @@
     40606        clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
     40607        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
     40608        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
     40609-       dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
     40610-       ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
     40611-       ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
     40612+       dch1=\E[1P, dim=\E[=1;<6m, dl=\E[%p1%dM, dl1=\E[1M,
     40613+       ech=\E%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
     40614+       home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L,
     40615+       ind=\ED,
     40616        initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1,
     40617        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
     40618        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
     40619@@ -16639,7 +16936,7 @@
     40620        kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
     40621        ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
     40622        rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
     40623-       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
     40624+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t30;40%;m,
     40625        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
     40626 
     40627 #### Apple II
     40628@@ -16885,6 +17182,8 @@
     40629 #
     40630 #     echo "$TERM_PROGRAM" "$TERM_PROGRAM_VERSION"
     40631 #
     40632+# For Apple_Terminal v309+, use "nsterm-256color" (or "nsterm-bce")
     40633+#
     40634 # For Apple_Terminal v200+, use "nsterm-16color" (a.k.a. "nsterm")
     40635 #
     40636 # For Apple_Terminal v71+/v100+, use "nsterm-bce".
     40637@@ -17101,6 +17400,7 @@
     40638        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
     40639        sgr0=\E[m\017, smacs=^N, use=nsterm+7,
     40640 
     40641+# compare with xterm+sl-twm
     40642 nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
     40643        hs,
     40644        wsl#50,
     40645@@ -17186,6 +17486,10 @@
     40646 # and it is still not settable from the preferences dialog. This is
     40647 # tracked under rdar://problem/7365108 and rdar://problem/7365134
     40648 # in Apple's bug reporter.
     40649+#
     40650+# In OS X 10.7 (Leopard) the TERM which can be set in the preferences dialog
     40651+# defaults to xterm-color.  Alternative selections are ansi, dtterm, rxvt,
     40652+# vt52, vt100, vt102 and xterm.
     40653 nsterm-16color|AppKit Terminal.app v240.2+ with Mac OS X version 10.5,
     40654        bw@, mir, npc,
     40655        civis=\E[?25l, cnorm=\E[?25h, dch=\E[%p1%dP, dch1=\E[P,
     40656@@ -17197,10 +17501,10 @@
     40657        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
     40658        knp=\E[6~, kpp=\E[5~, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
     40659        smcup=\E7\E[?47h, smir=\E[4h, vpa=\E[%i%p1%dd,
     40660-       use=nsterm-c-s-acs,
     40661+       kLFT5=\E[5D, kRIT5=\E[5C, use=nsterm-c-s-acs,
     40662 
     40663 # The versions of Terminal.app in Mac OS X version 10.3.x seem to have
     40664-# the background color erase bug. The newer version 240.2 in Mac OS X
     40665+# the background color erase feature. The newer version 240.2 in Mac OS X
     40666 # version 10.5 does not.
     40667 #
     40668 # This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
     40669@@ -17212,12 +17516,40 @@
     40670 #      defaults write com.apple.Terminal TermCapString nsterm-bce
     40671 #
     40672 # and that it is not set in Terminal's preferences dialog.
     40673+#
     40674+# Modified for OS X 10.8, omitting bw based on testing with tack -TD
     40675+#
     40676+# Notes:
     40677+# * The terminal description matches the default settings.
     40678+# * The keyboard is configurable via a dialog.
     40679+# * By default khome, kend, knext and kprev are honored only with a
     40680+#   shift-modifier.
     40681+# * There are bindings for control left/right arrow (but not up/down).
     40682+#   Added those to nsterm-16color, which is the version used for OS X 10.6
     40683+# * "Allow VT100 application keypage mode" is by default disabled.
     40684+#   There is no way to press keypad-comma unless application mode is enabled
     40685+#   and used.
     40686+# * 132-column mode stopped working during vttest's tests.  Consider it broken.
     40687+# * CHT, REP, SU, SD are buggy.
     40688+# * ECH works (also in Leopard), but is not used here for compatibility.
     40689+# * The terminal preferences dialog replaces xterm-color by xterm-16color and
     40690+#   xterm-256color.  However, it adds "nsterm", so it is possible to use the
     40691+#   nsterm entry from this file to override the MacPorts (20110404) or
     40692+#   system (20081102) copy of this file.
     40693 nsterm-bce|AppKit Terminal.app v71+/v100.1.8+ with Mac OS X version 10.3/10.4 (bce),
     40694-       bce, bw, use=nsterm-16color,
     40695+       bce, use=nsterm-16color,
     40696+
     40697+# This is tested with OS X 10.8 (Mountain Lion), 2012/08/11
     40698+#      TERM_PROGRAM_VERSION=309
     40699+# Earlier reports state that these differences also apply to OS X 10.7 (Lion),
     40700+#      TERM_PROGRAM_VERSION=303
     40701+nsterm-256color|Terminal.app in OS X 10.8,
     40702+       ccc@,
     40703+       initc@, use=xterm+256color, use=nsterm-bce,
     40704 
     40705 # This is an alias which should always point to the "current" version
     40706 nsterm|Apple_Terminal|AppKit Terminal.app,
     40707-       use=nsterm-16color,
     40708+       use=nsterm-256color,
     40709 
     40710 # iTerm.app from http://iterm.sourceforge.net/ is an alternative (and
     40711 # more featureful) terminal emulator for Mac OS X. It is similar
     40712@@ -17752,6 +18084,23 @@
    3282940713 # See
    3283040714 #      http://www.minix3.org/manpages/man4/console.4.html
     
    3285040734 
    3285140735 # See
    32852 @@ -17792,7 +18081,7 @@
     40736@@ -17792,7 +18141,7 @@
    3285340737        am, use=minix-old,
    3285440738 
     
    3285940743 # According to the Coherent 2.3 manual, the PC console is similar
    3286040744 # to a z19. The differences seem to be (1) 25 lines, (2) no status
    32861 @@ -21014,8 +21303,8 @@
     40745@@ -18195,6 +18544,7 @@
     40746        use=tws-generic,
     40747 dku7202|BULL Questar 200 DKU7202 (colour/character attributes),
     40748        blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
     40749+       sgr=\E[0%?%p1%t;2;4;5;7%;%?%p3%t;7%;%?%p2%t;2%;%?%p4%t;2;4%;%?%p5%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
     40750        smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
     40751 
     40752 #=========================================================#
     40753@@ -18274,7 +18624,7 @@
     40754 
     40755 # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
     40756 bq300|Bull vt320 ISO Latin 1 80 columns terminal,
     40757-       am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
     40758+       am, eo, eslok, hs, km, mir, msgr, xenl, xon,
     40759        cols#80, it#8, lines#24, vt#3, wsl#80,
     40760        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
     40761        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
     40762@@ -18298,14 +18648,14 @@
     40763        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
     40764        khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
     40765        krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
     40766-       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
     40767-       ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
     40768-       rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
     40769-       rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
     40770+       nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l,
     40771+       rmcup=\E[?7h, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
     40772+       rmul=\E[24m, rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0,
     40773+       sc=\E7,
     40774        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
     40775        sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
     40776        smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
     40777-       smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
     40778+       smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~, use=ansi+pp,
     40779 bq300-rv|Bull vt320 reverse 80 columns,
     40780        flash=\E[?5l$<50>\E[?5h,
     40781        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
     40782@@ -18383,12 +18733,12 @@
     40783        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=\2331D,
     40784        cud=\233%p1%dB, cud1=\2331B, cuf=\233%p1%dC, cuf1=\2331C,
     40785        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\2331A,
     40786-       dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM,
     40787+       dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
     40788        dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
     40789        el=\233K, el1=\2331K, enacs=\E(B\E)0,
     40790        flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
     40791-       ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, ind=\ED,
     40792-       is1=\E[63;2"p\E[2h,
     40793+       ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L,
     40794+       ind=\ED, is1=\E[63;2"p\E[2h,
     40795        is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
     40796        is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
     40797        ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
     40798@@ -18401,11 +18751,12 @@
     40799        khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
     40800        krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
     40801        lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
     40802-       rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h,
     40803-       rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
     40804-       rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
     40805+       rev=\2337m, ri=\EM, rmacs=\E(B, rmam=\233?7l,
     40806+       rmcup=\233?7h, rmir=\2334l, rmkx=\233?1l\E>,
     40807+       rmso=\23327m, rmul=\23324m, rs1=\E[!p, rs2=\E[?3l,
     40808+       s0ds=\E(B, s1ds=\E(0, sc=\E7,
     40809        sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
     40810-       sgr0=\2330m\E(B, smacs=^N, smam=\233?7h,
     40811+       sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
     40812        smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
     40813        smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
     40814 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
     40815@@ -19010,14 +19361,14 @@
     40816        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
     40817        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
     40818        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
     40819-       dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
     40820-       ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
     40821-       ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
     40822-       kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
     40823-       kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
     40824-       kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
     40825-       nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
     40826-       rmso=\E[m, rmul=\E[m,
     40827+       dl1=\E[M, dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l,
     40828+       home=\E[H, ht=^I, hts=\EH, if=/usr/share/tabset/vt100,
     40829+       il=\E[%p1%dL, il1=\E[L, ind=\ED, kbs=^H, kclr=\E[J,
     40830+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, ked=\E[J,
     40831+       kf0=\E[~, kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW,
     40832+       kf6=\EOP, kf7=\EOQ, kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help,
     40833+       mc0=\E#7, nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM,
     40834+       rmcup=\E[?7h, rmso=\E[m, rmul=\E[m,
     40835        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m,
     40836        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
     40837        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
     40838@@ -20217,9 +20568,9 @@
     40839        sgr0=\EX, smacs=\EF, smso=\ET,
     40840 env230|envision230|envision 230 graphics terminal,
     40841        xenl@,
     40842-       mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
     40843-       sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
     40844-       use=vt100,
     40845+       enacs@, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rmacs@,
     40846+       sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
     40847+       sgr0=\E[0m$<2>, smacs@, use=vt100,
     40848 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
     40849 # coupler attached, the whole rig fitting in a suitcase and more or less
     40850 # portable.  Hot stuff for c.1977 :-) -- esr
     40851@@ -20274,7 +20625,7 @@
     40852        rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
     40853        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
     40854        rs3=\EwG\Ee($<150>,
     40855-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
     40856+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
     40857        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
     40858        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
     40859        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
     40860@@ -21011,11 +21362,108 @@
     40861 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
     40862 # that flags color terminals.
     40863 #
     40864+# Extensions added after ncurses 5.0 generally use the "-x" option of tic and
     40865+# infocmp to manipulate user-definable capabilities.  Those that are intended
     40866+# for use in either terminfo or termcap use 2-character names.  Extended
     40867+# function keys do not use 2-character names, and are available only with
     40868+# terminfo.
     40869+#
     40870+# As of mid-2012, no other terminfo/termcap implementation than ncurses
     40871+# supports this extension; termcap libraries can as noted above make limited
     40872+# use of the feature.
     40873+#
     40874+# ncurses makes explicit checks for a few user-definable capabilities:  AX, U8,
     40875+# XM.
     40876+#
     40877+# SCREEN Extensions:
     40878+#
     40879+# The screen program uses the termcap interface.  It recognizes a few useful
     40880+# nonstandard capabilities.  Those are used in this file.
     40881+#
     40882+#       AX   (bool)  Does  understand  ANSI  set  default fg/bg color (\E[39m /
     40883+#                    \E[49m).
     40884+#       G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
     40885+#       E0   (str)   Switch charset 'G0' back to standard charset.
     40886+#       S0   (str)   Switch charset 'G0' to the specified charset.
     40887+#       XT   (bool)  Terminal understands special xterm sequences  (OSC,  mouse
     40888+#                    tracking).
     40889+#
     40890+# AX is relatively straightforward; it is interpreted by ncurses to say that
     40891+# SGR 39/49 reset the terminal's foreground and background colors to their
     40892+# "default".
     40893+#
     40894+# XT is harder, since screen's manpage does not give more details.  For that,
     40895+# we must read screen's source-code.  When XT is set, screen assumes
     40896+#
     40897+# a) OSC 1 sets the title string, e.g., for the icon.  Recent versions of
     40898+#    screen may also set the terminal's name, which is (for xterm) distinct
     40899+#    from the icon name.
     40900+# b) OSC 20 sets the background pixmap.  This is an rxvt feature.
     40901+# c) OSC 39 and OSC 49 set the default foreground/background colors.  Again
     40902+#    this is an rxvt feature.
     40903+# d) certain mode settings enable the mouse: 9, 1000, 1001, 1002, 1003.
     40904+#    These are from xterm, although xterm accepts mouse codes that may not be
     40905+#    recognized by screen, e.g., 1005, 1006.
     40906+# e) colors beyond 0..7 are implemented by xterm's aixterm-like 16-color
     40907+#    sequence.  However, because screen uses only termcap, the values returned
     40908+#    by Af/Ab are not usable because they rely on expressions that termcap
     40909+#    does not support.  Therefore, screen uses a hardcoded string to work
     40910+#    around the limitation.
     40911+# f) all entries named "*xterm*" or "*rxvt*" have the bce flag set.
     40912+#
     40913+# The other ISO-2022 features are rarely used, but provided here to make
     40914+# screen's termcap features available.
     40915+#
     40916+# XTERM Extensions:
     40917+#
     40918+# Most of the xterm extensions are for function-keys.  Since patch #94 (in
     40919+# 1999), xterm has supported shift/control/alt/meta modifiers which produce
     40920+# additional function-key strings.  Some other developers copied the feature,
     40921+# though they did not follow xterm's lead in patch #167 (in 2002), to make
     40922+# these key definitions less ambiguous.
     40923+#
     40924+# A few terminals provide similar functionality (sending distinct keys when
     40925+# a modifier is used), including rxvt.
     40926+#
     40927+# These are the extended keys defined in this file:
     40928+#
     40929+# kDC3 kDC4 kDC5 kDC6 kDC7 kDN kDN3 kDN4 kDN5 kDN6 kDN7 kEND3 kEND4 kEND5 kEND6
     40930+# kEND7 kHOM3 kHOM4 kHOM5 kHOM6 kHOM7 kIC3 kIC4 kIC5 kIC6 kIC7 kLFT3 kLFT4
     40931+# kLFT5 kLFT6 kLFT7 kNXT3 kNXT4 kNXT5 kNXT6 kNXT7 kPRV3 kPRV4 kPRV5 kPRV6 kPRV7
     40932+# kRIT3 kRIT4 kRIT5 kRIT6 kRIT7 kUP kUP3 kUP4 kUP5 kUP6 kUP7 ka2 kb1 kb3 kc2
     40933+#
     40934+# Here are the other xterm-related extensions which are used in this file:
     40935+#
     40936+# Cr is a string capability which resets the cursor color
     40937+# Cs is a string capability which sets the cursor color to a given value.
     40938+#    The single string parameter is the color name/number, according to the
     40939+#    implementation.
     40940+# Ms modifies the selection/clipboard.  Its parameters are
     40941+#      p1 = the storage unit (clipboard, selection or cut buffer)
     40942+#      p2 = the base64-encoded clipboard content.
     40943+# Se resets the cursor style to the terminal power-on default.
     40944+# Ss is a string capability with one numeric parameter.  It is used to set the
     40945+#    cursor style as described by the DECSCUSR function to a block or
     40946+#    underline.
     40947+# XM is a string capability which overrides ncurses's built-in string which
     40948+#    enables xterm mouse mode.
     40949+#
     40950+# Miscellaneous extensions:
     40951+#
     40952+# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
     40953+#    This was implemented for the Hurd.
     40954+# E3 clears the terminal's scrollback buffer.  This was implemented in the
     40955+#    Linux 3.0 kernel as a security feature.  It matches a feature which was
     40956+#    added in xterm patch #107.
     40957+# U8 is a numeric capability which denotes a terminal emulator which does not
     40958+#    support VT100 SI/SO when processing UTF-8 encoding.  Set this to a nonzero
     40959+#    value to enable it.
     40960+#
    3286240961 ######## CHANGE HISTORY
    3286340962 #
     
    3287040969 # This file contains all the capability information present in John Kunze's
    3287140970 # last version of the termcap master file, except as noted in the change
    32872 @@ -21115,7 +21404,7 @@
     40971@@ -21115,7 +21563,7 @@
    3287340972 #      * Replaced HP entries up to hpsub with purpose-built ones.
    3287440973 #      * Blank rmir/smir/rmdc/smdc capabilities removed.
     
    3287940978 #        more efficient (but the entries otherwise identical).
    3288040979 #      * Added dg211 from Shuford archive.
    32881 @@ -22224,7 +22513,7 @@
     40980@@ -22224,7 +22672,7 @@
    3288240981 #      * add screen.rxvt -TD
    3288340982 #
     
    3288840987 # 2008-06-28
    3288940988 #      * add screen.mlterm -TD
    32890 @@ -22354,6 +22643,68 @@
     40989@@ -22354,6 +22802,139 @@
    3289140990 #      * add xterm-utf8 as a demo of the U8 feature -TD
    3289240991 #
     
    3295641055+#      * make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
    3295741056+#      * make sgr for cygwin, cygwinDBG agree with other caps -TD
     41057+#
     41058+# 2012-03-31
     41059+#      * correct order of use-clauses in st-256color -TD
     41060+#
     41061+# 2012-04-01
     41062+#      * revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
     41063+#
     41064+# 2012-04-14
     41065+#      * document all of the user-defined capabilities in one place -TD
     41066+#      * add XT to some places to improve usefulness for other applications
     41067+#        than screen, which would like to pretend that xterm's title is
     41068+#        a status-line. -TD
     41069+#      * change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
     41070+#        of ordering and overrides -TD
     41071+#
     41072+# 2012-04-21
     41073+#      * add msgr to vt420, similar DEC vtXXX entries -TD
     41074+#      * add several missing vt420 capabilities from vt220 -TD
     41075+#      * factor out ansi+pp from several entries -TD
     41076+#      * change xterm+sl and xterm+sl-twm to include only the status-line
     41077+#        capabilities and not "use=xterm", making them more generally useful
     41078+#        as building-blocks -TD
     41079+#      * add dec+sl building block, as example -TD
     41080+#
     41081+# 2012-04-28
     41082+#      * fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
     41083+#      * add eslok flag to dec+sl -TD
     41084+#      * dec+sl applies to vt320 and up -TD
     41085+#      * drop wsl width from xterm+sl -TD
     41086+#      * reuse xterm+sl in putty and nsca-m -TD
     41087+#      * add ansi+tabs to vt520 -TD
     41088+#      * add ansi+enq to vt220-vt520 -TD
     41089+#
     41090+# 2012-05-05
     41091+#      * remove p6 (bold) from opus3n1+ for consistency -TD
     41092+#      * remove acs stuff from env230 per clues in Ingres termcap -TD
     41093+#      * modify env230 sgr/sgr0 to match other capabilities -TD
     41094+#      * modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
     41095+#      * make sgr for dku7202 agree with other caps -TD
     41096+#      * make sgr for ibmpc agree with other caps -TD
     41097+#      * make sgr for tek4107 agree with other caps -TD
     41098+#      * make sgr for ndr9500 agree with other caps -TD
     41099+#      * make sgr for sco-ansi agree with other caps -TD
     41100+#      * make sgr for d410 agree with other caps -TD
     41101+#      * make sgr for d210 agree with other caps -TD
     41102+#      * make sgr for d470c, d470c-7b agree with other caps -TD
     41103+#
     41104+# 2012-05-12
     41105+#      * rewrite vt520 entry based on vt420 -TD
     41106+#      * corrected 'op' for bterm (report by Samuel Thibault) -TD
     41107+#
     41108+# 2012-06-02
     41109+#      * add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
     41110+#        analysis by Martin Husemann).
     41111+#      * add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
     41112+#        Onno van der Linden).
     41113+#      * add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
     41114+#      * add kdch1, etc., to qvt108 -TD
     41115+#      * add dl1/il1 to some entries based on dl/il values -TD
     41116+#      * add dl to simpleterm -TD
     41117+#
     41118+# 2012-06-10
     41119+#      * modify some older xterm entries to align with xterm source -TD
     41120+#      * separate "xterm-old" alias from "xterm-r6" -TD
     41121+#
     41122+# 2012-07-28
     41123+#      * add E3 to xterm-basic and putty -TD
     41124+#
     41125+# 2012-08-11
     41126+#      * add nsterm-256color, make this the default nsterm -TD
     41127+#      * remove bw from nsterm-bce, per testing with tack -TD
    3295841128 #
    3295941129 ######## SHANTIH!  SHANTIH!  SHANTIH!
     41130diff -Naur ncurses-5.9.orig/mk-0th.awk ncurses-5.9/mk-0th.awk
     41131--- ncurses-5.9.orig/mk-0th.awk 2012-08-25 19:57:59.399900947 +0000
     41132+++ ncurses-5.9/mk-0th.awk      2012-08-25 19:58:01.856555996 +0000
     41133@@ -1,6 +1,6 @@
     41134-# $Id: mk-0th.awk,v 1.18 2010/01/09 21:45:41 tom Exp $
     41135+# $Id: mk-0th.awk,v 1.22 2012/06/30 20:56:11 tom Exp $
     41136 ##############################################################################
     41137-# Copyright (c) 1998-2005,2010 Free Software Foundation, Inc.                #
     41138+# Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.                #
     41139 #                                                                            #
     41140 # Permission is hereby granted, free of charge, to any person obtaining a    #
     41141 # copy of this software and associated documentation files (the "Software"), #
     41142@@ -34,14 +34,62 @@
     41143 # Variables:
     41144 #      libname (library name, e.g., "ncurses", "panel", "forms", "menus")
     41145 #      subsets (is used here to decide if wide-character code is used)
     41146+#      ticlib (library name for libtic, e.g., "tic")
     41147+#      termlib (library name for libtinfo, e.g., "tinfo")
     41148 #
     41149+function make_lintlib(name,sources) {
     41150+       print  ""
     41151+       print  "clean ::"
     41152+       printf "\trm -f llib-l%s.*\n", name
     41153+       print  ""
     41154+       print  "realclean ::"
     41155+       printf "\trm -f llib-l%s\n", name
     41156+       print  ""
     41157+       printf "llib-l%s : %s\n", name, sources
     41158+       printf "\tcproto -a -l -DNCURSES_ENABLE_STDBOOL_H=0 -DLINT $(CPPFLAGS) %s >$@\n", sources
     41159+       print  ""
     41160+       print  "lintlib ::"
     41161+       printf "\tsh $(srcdir)/../misc/makellib %s $(CPPFLAGS)\n", name
     41162+       print ""
     41163+       print "lint ::"
     41164+       printf "\t$(LINT) $(LINT_OPTS) $(CPPFLAGS) %s $(LINT_LIBS)\n", sources
     41165+}
     41166+
     41167+# A blank in "subsets" indicates a split-off of the library into a separate
     41168+# file, e.g., for libtic or libtinfo.  They are all logical parts of the same
     41169+# library.
     41170+function which_library() {
     41171+       if ( ( which == "ticlib" ) && ( subsets ~ /ticlib / ) ) {
     41172+               return ticlib;
     41173+       } else if ( ( which == "termlib" || which == "ext_tinfo" ) && ( subsets ~ /[[:space:]]base/ ) ) {
     41174+               return termlib;
     41175+       } else {
     41176+               return libname;
     41177+       }
     41178+}
     41179+
     41180+function show_list(name, len, list) {
     41181+       if ( len > 0 ) {
     41182+               printf "\n%s_SRC =", toupper(name);
     41183+               for (n = 0; n < len; ++n)
     41184+                       printf " \\\n\t%s", list[n];
     41185+               print "";
     41186+               make_lintlib(name, sprintf("$(%s_SRC)", toupper(name)));
     41187+       }
     41188+}
     41189+
     41190 BEGIN  {
     41191                which = libname;
     41192                using = 0;
     41193                found = 0;
     41194+               count_ticlib = 0;
     41195+               count_termlib = 0;
     41196+               count_library = 0;
     41197        }
     41198        /^@/ {
     41199                which = $0;
     41200+               sub(/^@[[:blank:]]+/, "", which);
     41201+               sub(/[[:blank:]]+$/, "", which);
     41202        }
     41203        !/^[@#]/ {
     41204                if (using == 0)
     41205@@ -50,6 +98,10 @@
     41206                        print  "# generated by mk-0th.awk"
     41207                        printf "#   libname:    %s\n", libname
     41208                        printf "#   subsets:    %s\n", subsets
     41209+                       if ( libname ~ /ncurses/ ) {
     41210+                               printf "#   ticlib:     %s\n", ticlib
     41211+                               printf "#   termlib:    %s\n", termlib
     41212+                       }
     41213                        print  ""
     41214                        print  ".SUFFIXES: .c .cc .h .i .ii"
     41215                        print  ".c.i :"
     41216@@ -80,9 +132,18 @@
     41217                                        found = 2
     41218                        }
     41219                        if ( libname == "c++" || libname == "c++w" ) {
     41220-                               printf " \\\n\t%s/%s.cc", $3, $1
     41221+                               srcname = sprintf("%s/%s.cc", $3, $1);
     41222+                               printf " \\\n\t%s", srcname;
     41223                        } else if ( widechar == 1 || $3 != "$(wide)" ) {
     41224-                               printf " \\\n\t%s/%s.c", $3, $1
     41225+                               srcname = sprintf("%s/%s.c", $3, $1);
     41226+                               printf " \\\n\t%s", srcname;
     41227+                               if ( which_library() == libname ) {
     41228+                                       list_library[count_library++] = srcname;
     41229+                               } else if ( which_library() == ticlib ) {
     41230+                                       list_ticlib[count_ticlib++] = srcname;
     41231+                               } else {
     41232+                                       list_termlib[count_termlib++] = srcname;
     41233+                               }
     41234                        }
     41235                }
     41236        }
     41237@@ -91,22 +152,11 @@
     41238                if ( found == 1 )
     41239                {
     41240                        print  ""
     41241-                       printf "# Producing llib-l%s is time-consuming, so there's no direct-dependency for\n", libname
     41242-                       print  "# it in the lintlib rule.  We'll only remove in the cleanest setup."
     41243-                       print  "clean ::"
     41244-                       printf "\trm -f llib-l%s.*\n", libname
     41245-                       print  ""
     41246-                       print  "realclean ::"
     41247-                       printf "\trm -f llib-l%s\n", libname
     41248-                       print  ""
     41249-                       printf "llib-l%s : $(C_SRC)\n", libname
     41250-                       printf "\tcproto -a -l -DNCURSES_ENABLE_STDBOOL_H=0 -DLINT $(CPPFLAGS) $(C_SRC) >$@\n"
     41251-                       print  ""
     41252-                       print  "lintlib :"
     41253-                       printf "\tsh $(srcdir)/../misc/makellib %s $(CPPFLAGS)", libname
     41254-                       print ""
     41255-                       print "lint :"
     41256-                       print "\t$(LINT) $(LINT_OPTS) $(CPPFLAGS) $(C_SRC) $(LINT_LIBS)"
     41257+                       printf "# Producing llib-l%s is time-consuming, so there's no direct-dependency for\n", libname;
     41258+                       print  "# it in the lintlib rule.  We'll only remove in the cleanest setup.";
     41259+                       show_list(libname, count_library, list_library);
     41260+                       show_list(ticlib, count_ticlib, list_ticlib);
     41261+                       show_list(termlib, count_termlib, list_termlib);
     41262                }
     41263                else
     41264                {
     41265@@ -115,3 +165,4 @@
     41266                        print  "\t@echo no action needed"
     41267                }
     41268        }
     41269+# vile:ts=4 sw=4
    3296041270diff -Naur ncurses-5.9.orig/mk-1st.awk ncurses-5.9/mk-1st.awk
    32961 --- ncurses-5.9.orig/mk-1st.awk 2012-02-16 18:25:12.639809512 +0000
    32962 +++ ncurses-5.9/mk-1st.awk      2012-02-16 18:25:12.975818378 +0000
     41271--- ncurses-5.9.orig/mk-1st.awk 2012-08-25 19:57:59.396567629 +0000
     41272+++ ncurses-5.9/mk-1st.awk      2012-08-25 19:58:00.906560490 +0000
    3296341273@@ -1,6 +1,6 @@
    3296441274-# $Id: mk-1st.awk,v 1.85 2010/08/07 20:42:30 Gabriele.Balducci Exp $
    32965 +# $Id: mk-1st.awk,v 1.87 2011/12/17 20:27:27 tom Exp $
     41275+# $Id: mk-1st.awk,v 1.88 2012/02/25 20:22:09 tom Exp $
    3296641276 ##############################################################################
    3296741277-# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
    32968 +# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     41278+# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
    3296941279 #                                                                            #
    3297041280 # Permission is hereby granted, free of charge, to any person obtaining a    #
     
    3297841288 #      ShlibVerInfix ("yes" or "no", determines location of version #)
    3297941289 #      SymLink           ("ln -s", etc)
    32980 @@ -181,6 +182,11 @@
     41290@@ -69,7 +70,7 @@
     41291        }
     41292 # see imp_name
     41293 function imp_name_of(a_name) {
     41294-               if (ShlibVerInfix == "cygdll") {
     41295+               if (ShlibVerInfix == "cygdll" || ShlibVerInfix == "mingw") {
     41296                        result = sprintf("%s%s%s.a", prefix, a_name, suffix);
     41297                } else {
     41298                        result = "";
     41299@@ -80,6 +81,8 @@
     41300 function abi_name_of(a_name) {
     41301                if (ShlibVerInfix == "cygdll") {
     41302                        result = sprintf("%s%s$(ABI_VERSION)%s", "cyg", a_name, suffix);
     41303+               } else if (ShlibVerInfix == "mingw") {
     41304+                       result = sprintf("%s%s$(ABI_VERSION)%s", prefix, a_name, suffix);
     41305                } else if (ShlibVerInfix == "yes") {
     41306                        result = sprintf("%s%s.$(ABI_VERSION)%s", prefix, a_name, suffix);
     41307                } else {
     41308@@ -91,6 +94,8 @@
     41309 function rel_name_of(a_name) {
     41310                if (ShlibVerInfix == "cygdll") {
     41311                        result = sprintf("%s%s$(REL_VERSION)%s", "cyg", a_name, suffix);
     41312+               } else if (ShlibVerInfix == "mingw") {
     41313+                       result = sprintf("%s%s$(REL_VERSION)%s", prefix, a_name, suffix);
     41314                } else if (ShlibVerInfix == "yes") {
     41315                        result = sprintf("%s%s.$(REL_VERSION)%s", prefix, a_name, suffix);
     41316                } else {
     41317@@ -107,7 +112,7 @@
     41318                } else {
     41319                        if ( ShlibVer == "rel" ) {
     41320                                result = rel_name_of(a_name);
     41321-                       } else if ( ShlibVer == "abi" || ShlibVer == "cygdll" ) {
     41322+                       } else if ( ShlibVer == "abi" || ShlibVer == "cygdll" || ShlibVer == "mingw" ) {
     41323                                result = abi_name_of(a_name);
     41324                        } else {
     41325                                result = lib_name_of(a_name);
     41326@@ -148,7 +153,7 @@
     41327                printf "\t$(MK_SHARED_LIB) $(%s_OBJS) $(%s) $(LDFLAGS)\n", objs, shlib_list
     41328        }
     41329 function sharedlinks(directory) {
     41330-               if ( ShlibVer != "auto" && ShlibVer != "cygdll" ) {
     41331+               if ( ShlibVer != "auto" && ShlibVer != "cygdll" && ShlibVer != "mingw" ) {
     41332                        printf "\tcd %s && (", directory
     41333                        if ( DoLinks == "reverse" ) {
     41334                                if ( ShlibVer == "rel" ) {
     41335@@ -181,6 +186,11 @@
    3298141336                dst_libs = sprintf("%s/%s", directory, end_name);
    3298241337                printf "%s : \\\n", dst_libs
     
    3299041345                        save_suffix = suffix
    3299141346                        sub(/^[^.]\./,".",suffix)
    32992 @@ -242,6 +248,7 @@
     41347@@ -242,6 +252,7 @@
    3299341348                                        printf "#  prefix:        %s\n", prefix
    3299441349                                        printf "#  suffix:        %s\n", suffix
     
    3299841353                                        printf "#  ShlibVerInfix: %s\n", ShlibVerInfix
    3299941354                                        printf "#  SymLink:       %s\n", SymLink
     41355@@ -316,7 +327,7 @@
     41356                                print  "install \\"
     41357                                print  "install.libs \\"
     41358 
     41359-                               if ( ShlibVer == "cygdll" ) {
     41360+                               if ( ShlibVer == "cygdll" || ShlibVer == "mingw") {
     41361 
     41362                                        dst_dirs = "$(DESTDIR)$(bindir) $(DESTDIR)$(libdir)";
     41363                                        printf "install.%s :: %s $(LIBRARIES)\n", name, dst_dirs
     41364@@ -337,7 +348,7 @@
     41365 
     41366                                if ( overwrite == "yes" && name == "ncurses" )
     41367                                {
     41368-                                       if ( ShlibVer == "cygdll" ) {
     41369+                                       if ( ShlibVer == "cygdll" || ShlibVer == "mingw") {
     41370                                                ovr_name = sprintf("libcurses%s.a", suffix)
     41371                                                printf "\t@echo linking %s to %s\n", imp_name, ovr_name
     41372                                                printf "\tcd $(DESTDIR)$(libdir) && ("
     41373@@ -358,7 +369,7 @@
     41374                                print  "uninstall \\"
     41375                                print  "uninstall.libs \\"
     41376                                printf "uninstall.%s ::\n", name
     41377-                               if ( ShlibVer == "cygdll" ) {
     41378+                               if ( ShlibVer == "cygdll" || ShlibVer == "mingw") {
     41379 
     41380                                        printf "\t@echo uninstalling $(DESTDIR)$(bindir)/%s\n", end_name
     41381                                        printf "\t-@rm -f $(DESTDIR)$(bindir)/%s\n", end_name
     41382@@ -371,11 +382,7 @@
     41383                                        removelinks("$(DESTDIR)$(libdir)")
     41384                                        if ( overwrite == "yes" && name == "ncurses" )
     41385                                        {
     41386-                                               if ( ShlibVer == "cygdll" ) {
     41387-                                                       ovr_name = sprintf("libcurses%s.a", suffix)
     41388-                                               } else {
     41389-                                                       ovr_name = sprintf("libcurses%s", suffix)
     41390-                                               }
     41391+                                               ovr_name = sprintf("libcurses%s", suffix)
     41392                                                printf "\t-@rm -f $(DESTDIR)$(libdir)/%s\n", ovr_name
     41393                                        }
     41394                                }
    3300041395@@ -396,12 +403,13 @@
    3300141396                                end_name = lib_name;
     
    3301641411                                print  "install.libs \\"
    3301741412diff -Naur ncurses-5.9.orig/ncurses/Makefile.in ncurses-5.9/ncurses/Makefile.in
    33018 --- ncurses-5.9.orig/ncurses/Makefile.in        2012-02-16 18:25:12.679810567 +0000
    33019 +++ ncurses-5.9/ncurses/Makefile.in     2012-02-16 18:25:12.975818378 +0000
     41413--- ncurses-5.9.orig/ncurses/Makefile.in        2012-08-25 19:57:59.419900852 +0000
     41414+++ ncurses-5.9/ncurses/Makefile.in     2012-08-25 19:58:02.389886808 +0000
    3302041415@@ -1,6 +1,6 @@
    3302141416-# $Id: Makefile.in,v 1.130 2010/11/27 21:45:27 tom Exp $
    33022 +# $Id: Makefile.in,v 1.131 2011/08/07 15:46:50 tom Exp $
     41417+# $Id: Makefile.in,v 1.133 2012/08/11 21:31:56 tom Exp $
    3302341418 ##############################################################################
    3302441419-# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
    33025 +# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     41420+# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
    3302641421 #                                                                            #
    3302741422 # Permission is hereby granted, free of charge, to any person obtaining a    #
    3302841423 # copy of this software and associated documentation files (the "Software"), #
    33029 @@ -125,6 +125,7 @@
     41424@@ -64,6 +64,7 @@
     41425 bindir         = @bindir@
     41426 libdir         = @libdir@
     41427 includedir     = @includedir@
     41428+datarootdir    = @datarootdir@
     41429 datadir                = @datadir@
     41430 
     41431 LIBTOOL                = @LIBTOOL@
     41432@@ -125,6 +126,7 @@
    3303041433 TINFO_LIST     = $(SHLIB_DIRS) @TINFO_LIST@
    3303141434 TICS_LIST      = $(SHLIB_DIRS) @TICS_LIST@
     
    3303541438 
    3303641439 NCURSES_MAJOR  = @NCURSES_MAJOR@
     41440@@ -282,21 +284,21 @@
     41441        sh -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" implemented <../include/curses.h >$@
     41442 
     41443 captoinfo$x : $(tinfo)/captoinfo.c $(TEST_DEPS)
     41444-       @ECHO_LINK@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DMAIN $(tinfo)/captoinfo.c $(TEST_LDFLAGS)
     41445+       @ECHO_LD@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DMAIN $(tinfo)/captoinfo.c $(TEST_LDFLAGS)
     41446 
     41447 hardscroll$x : $(serial)/hardscroll.c $(TEST_DEPS)
     41448-       @ECHO_LINK@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DSCROLLDEBUG $(serial)/hardscroll.c $(TEST_LDFLAGS)
     41449+       @ECHO_LD@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DSCROLLDEBUG $(serial)/hardscroll.c $(TEST_LDFLAGS)
     41450 
     41451 hashmap$x : $(serial)/hashmap.c $(serial)/hardscroll.c $(TEST_DEPS)
     41452-       @ECHO_LINK@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DHASHDEBUG $(serial)/hashmap.c $(serial)/hardscroll.c $(TEST_LDFLAGS)
     41453+       @ECHO_LD@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DHASHDEBUG $(serial)/hashmap.c $(serial)/hardscroll.c $(TEST_LDFLAGS)
     41454 
     41455 lib_mvcur$x : $(serial)/lib_mvcur.c $(TEST_DEPS) \
     41456                ../@DFT_OBJ_SUBDIR@/dump_entry$o
     41457-       @ECHO_LINK@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DNCURSES_TEST -I$(serial)/../../progs $(serial)/lib_mvcur.c ../@DFT_OBJ_SUBDIR@/dump_entry$o $(TEST_LDFLAGS)
     41458+       @ECHO_LD@ $(LIBTOOL_LINK) -o $@ $(CFLAGS_DEFAULT) -DNCURSES_TEST -I$(serial)/../../progs $(serial)/lib_mvcur.c ../@DFT_OBJ_SUBDIR@/dump_entry$o $(TEST_LDFLAGS)
     41459 
     41460 link_test$x : ./link_test.c $(TEST_DEPS) \
     41461                ../@DFT_OBJ_SUBDIR@/link_test$o
     41462-       @ECHO_LINK@ $(CC) -o $@ $(CFLAGS_DEFAULT) ../@DFT_OBJ_SUBDIR@/link_test$o $(TEST_LDFLAGS)
     41463+       @ECHO_LD@ $(CC) -o $@ $(CFLAGS_DEFAULT) ../@DFT_OBJ_SUBDIR@/link_test$o $(TEST_LDFLAGS)
     41464 
     41465 ../@DFT_OBJ_SUBDIR@/dump_entry$o:
     41466        cd ../progs && $(MAKE) ../@DFT_OBJ_SUBDIR@/dump_entry$o
     41467diff -Naur ncurses-5.9.orig/ncurses/base/MKkeyname.awk ncurses-5.9/ncurses/base/MKkeyname.awk
     41468--- ncurses-5.9.orig/ncurses/base/MKkeyname.awk 2012-08-25 19:57:59.413234218 +0000
     41469+++ ncurses-5.9/ncurses/base/MKkeyname.awk      2012-08-25 19:58:00.906560490 +0000
     41470@@ -1,6 +1,6 @@
     41471-# $Id: MKkeyname.awk,v 1.45 2010/12/19 01:36:14 tom Exp $
     41472+# $Id: MKkeyname.awk,v 1.47 2012/02/22 22:35:41 tom Exp $
     41473 ##############################################################################
     41474-# Copyright (c) 1999-2009,2010 Free Software Foundation, Inc.                #
     41475+# Copyright (c) 1999-2010,2012 Free Software Foundation, Inc.                #
     41476 #                                                                            #
     41477 # Permission is hereby granted, free of charge, to any person obtaining a    #
     41478 # copy of this software and associated documentation files (the "Software"), #
     41479@@ -100,17 +100,18 @@
     41480        print "                         if (MyTable[c] == 0) {"
     41481        print "                                 int cc = c;"
     41482        print "                                 p = name;"
     41483+       print "#define P_LIMIT (sizeof(name) - (size_t) (p - name))"
     41484        print "                                 if (cc >= 128 && (sp == 0 || sp->_use_meta)) {"
     41485-       print "                                         strcpy(p, \"M-\");"
     41486+       print "                                         _nc_STRCPY(p, \"M-\", P_LIMIT);"
     41487        print "                                         p += 2;"
     41488        print "                                         cc -= 128;"
     41489        print "                                 }"
     41490        print "                                 if (cc < 32)"
     41491-       print "                                         sprintf(p, \"^%c\", cc + '@');"
     41492+       print "                                         _nc_SPRINTF(p, _nc_SLIMIT(P_LIMIT) \"^%c\", cc + '@');"
     41493        print "                                 else if (cc == 127)"
     41494-       print "                                         strcpy(p, \"^?\");"
     41495+       print "                                         _nc_STRCPY(p, \"^?\", P_LIMIT);"
     41496        print "                                 else"
     41497-       print "                                         sprintf(p, \"%c\", cc);"
     41498+       print "                                         _nc_SPRINTF(p, _nc_SLIMIT(P_LIMIT) \"%c\", cc);"
     41499        print "                                 MyTable[c] = strdup(name);"
     41500        print "                         }"
     41501        print "                         result = MyTable[c];"
    3303741502diff -Naur ncurses-5.9.orig/ncurses/base/MKlib_gen.sh ncurses-5.9/ncurses/base/MKlib_gen.sh
    33038 --- ncurses-5.9.orig/ncurses/base/MKlib_gen.sh  2012-02-16 18:25:12.671810357 +0000
    33039 +++ ncurses-5.9/ncurses/base/MKlib_gen.sh       2012-02-16 18:25:12.975818378 +0000
     41503--- ncurses-5.9.orig/ncurses/base/MKlib_gen.sh  2012-08-25 19:57:59.413234218 +0000
     41504+++ ncurses-5.9/ncurses/base/MKlib_gen.sh       2012-08-25 19:58:00.019898016 +0000
    3304041505@@ -2,7 +2,7 @@
    3304141506 #
     
    3310441569 DECLARATIONS
    3310541570 
     41571diff -Naur ncurses-5.9.orig/ncurses/base/MKunctrl.awk ncurses-5.9/ncurses/base/MKunctrl.awk
     41572--- ncurses-5.9.orig/ncurses/base/MKunctrl.awk  2012-08-25 19:57:59.413234218 +0000
     41573+++ ncurses-5.9/ncurses/base/MKunctrl.awk       2012-08-25 19:58:01.723223294 +0000
     41574@@ -1,6 +1,6 @@
     41575-# $Id: MKunctrl.awk,v 1.26 2009/07/04 22:05:15 Clemens.Ladisch Exp $
     41576+# $Id: MKunctrl.awk,v 1.27 2012/06/09 20:29:33 tom Exp $
     41577 ##############################################################################
     41578-# Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.                #
     41579+# Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.                #
     41580 #                                                                            #
     41581 # Permission is hereby granted, free of charge, to any person obtaining a    #
     41582 # copy of this software and associated documentation files (the "Software"), #
     41583@@ -140,7 +140,7 @@
     41584                } else {
     41585                        stringname = "unctrl"
     41586                }
     41587-               print  "\tint check = ChCharOf(ch);"
     41588+               print  "\tint check = (int) ChCharOf(ch);"
     41589                print  "\tconst char *result;"
     41590                print  ""
     41591                print  "\tif (check >= 0 && check < (int)SIZEOF(unctrl_table)) {"
    3310641592diff -Naur ncurses-5.9.orig/ncurses/base/keybound.c ncurses-5.9/ncurses/base/keybound.c
    33107 --- ncurses-5.9.orig/ncurses/base/keybound.c    2012-02-16 18:25:12.667810252 +0000
    33108 +++ ncurses-5.9/ncurses/base/keybound.c 2012-02-16 18:25:12.975818378 +0000
     41593--- ncurses-5.9.orig/ncurses/base/keybound.c    2012-08-25 19:57:59.409900901 +0000
     41594+++ ncurses-5.9/ncurses/base/keybound.c 2012-08-25 19:58:00.019898016 +0000
    3310941595@@ -1,5 +1,5 @@
    3311041596 /****************************************************************************
     
    3313641622 }
    3313741623diff -Naur ncurses-5.9.orig/ncurses/base/keyok.c ncurses-5.9/ncurses/base/keyok.c
    33138 --- ncurses-5.9.orig/ncurses/base/keyok.c       2012-02-16 18:25:12.667810252 +0000
    33139 +++ ncurses-5.9/ncurses/base/keyok.c    2012-02-16 18:25:12.975818378 +0000
     41624--- ncurses-5.9.orig/ncurses/base/keyok.c       2012-08-25 19:57:59.413234218 +0000
     41625+++ ncurses-5.9/ncurses/base/keyok.c    2012-08-25 19:58:00.019898016 +0000
    3314041626@@ -1,5 +1,5 @@
    3314141627 /****************************************************************************
     
    3322341709 
    3322441710diff -Naur ncurses-5.9.orig/ncurses/base/lib_addch.c ncurses-5.9/ncurses/base/lib_addch.c
    33225 --- ncurses-5.9.orig/ncurses/base/lib_addch.c   2012-02-16 18:25:12.667810252 +0000
    33226 +++ ncurses-5.9/ncurses/base/lib_addch.c        2012-02-16 18:25:12.975818378 +0000
     41711--- ncurses-5.9.orig/ncurses/base/lib_addch.c   2012-08-25 19:57:59.409900901 +0000
     41712+++ ncurses-5.9/ncurses/base/lib_addch.c        2012-08-25 19:58:00.023231334 +0000
    3322741713@@ -1,5 +1,5 @@
    3322841714 /****************************************************************************
     
    3325241738        SetChar(CHDEREF(ch), result, attrs);
    3325341739diff -Naur ncurses-5.9.orig/ncurses/base/lib_addstr.c ncurses-5.9/ncurses/base/lib_addstr.c
    33254 --- ncurses-5.9.orig/ncurses/base/lib_addstr.c  2012-02-16 18:25:12.667810252 +0000
    33255 +++ ncurses-5.9/ncurses/base/lib_addstr.c       2012-02-16 18:25:12.979818483 +0000
     41740--- ncurses-5.9.orig/ncurses/base/lib_addstr.c  2012-08-25 19:57:59.409900901 +0000
     41741+++ ncurses-5.9/ncurses/base/lib_addstr.c       2012-08-25 19:58:00.023231334 +0000
    3325641742@@ -1,5 +1,5 @@
    3325741743 /****************************************************************************
     
    3328441770 }
    3328541771diff -Naur ncurses-5.9.orig/ncurses/base/lib_bkgd.c ncurses-5.9/ncurses/base/lib_bkgd.c
    33286 --- ncurses-5.9.orig/ncurses/base/lib_bkgd.c    2012-02-16 18:25:12.667810252 +0000
    33287 +++ ncurses-5.9/ncurses/base/lib_bkgd.c 2012-02-16 18:25:12.979818483 +0000
     41772--- ncurses-5.9.orig/ncurses/base/lib_bkgd.c    2012-08-25 19:57:59.413234218 +0000
     41773+++ ncurses-5.9/ncurses/base/lib_bkgd.c 2012-08-25 19:58:00.986560110 +0000
     41774@@ -1,5 +1,5 @@
     41775 /****************************************************************************
     41776- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     41777+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     41778  *                                                                          *
     41779  * Permission is hereby granted, free of charge, to any person obtaining a  *
     41780  * copy of this software and associated documentation files (the            *
    3328841781@@ -36,7 +36,7 @@
    3328941782 
     
    3329141784 
    3329241785-MODULE_ID("$Id: lib_bkgd.c,v 1.43 2011/01/22 19:47:37 tom Exp $")
    33293 +MODULE_ID("$Id: lib_bkgd.c,v 1.44 2011/05/28 20:44:22 tom Exp $")
     41786+MODULE_ID("$Id: lib_bkgd.c,v 1.45 2012/03/10 21:20:18 tom Exp $")
    3329441787 
    3329541788 /*
    3329641789  * Set the window's background information.
    33297 @@ -118,11 +118,11 @@
     41790@@ -118,16 +118,16 @@
    3329841791 {
    3329941792     int code = ERR;
     
    3330841801        wgetbkgrnd(win, &old_bkgrnd);
    3330941802 
     41803        (void) wbkgrndset(win, CHREF(new_bkgd));
     41804-       (void) wattrset(win, AttrOf(win->_nc_bkgd));
     41805+       (void) wattrset(win, (int) AttrOf(win->_nc_bkgd));
     41806 
     41807        for (y = 0; y <= win->_maxy; y++) {
     41808            for (x = 0; x <= win->_maxx; x++) {
    3331041809diff -Naur ncurses-5.9.orig/ncurses/base/lib_color.c ncurses-5.9/ncurses/base/lib_color.c
    33311 --- ncurses-5.9.orig/ncurses/base/lib_color.c   2012-02-16 18:25:12.671810357 +0000
    33312 +++ ncurses-5.9/ncurses/base/lib_color.c        2012-02-16 18:25:12.979818483 +0000
     41810--- ncurses-5.9.orig/ncurses/base/lib_color.c   2012-08-25 19:57:59.413234218 +0000
     41811+++ ncurses-5.9/ncurses/base/lib_color.c        2012-08-25 19:58:01.726556612 +0000
    3331341812@@ -1,5 +1,5 @@
    3331441813 /****************************************************************************
    3331541814- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    33316 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     41815+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3331741816  *                                                                          *
    3331841817  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3332341822 
    3332441823-MODULE_ID("$Id: lib_color.c,v 1.98 2010/04/24 22:57:53 tom Exp $")
    33325 +MODULE_ID("$Id: lib_color.c,v 1.104 2011/10/22 15:53:42 tom Exp $")
     41824+MODULE_ID("$Id: lib_color.c,v 1.105 2012/06/09 20:34:11 tom Exp $")
    3332641825 
    3332741826 #ifdef USE_TERM_DRIVER
     
    3343141930 }
    3343241931 
     41932@@ -731,8 +748,8 @@
     41933     if (!ValidPair(pair)) {
     41934        result = ERR;
     41935     } else {
     41936-       NCURSES_COLOR_T fg = FORE_OF(SP_PARM->_color_pairs[pair]);
     41937-       NCURSES_COLOR_T bg = BACK_OF(SP_PARM->_color_pairs[pair]);
     41938+       NCURSES_COLOR_T fg = (NCURSES_COLOR_T) FORE_OF(SP_PARM->_color_pairs[pair]);
     41939+       NCURSES_COLOR_T bg = (NCURSES_COLOR_T) BACK_OF(SP_PARM->_color_pairs[pair]);
     41940 
     41941 #if NCURSES_EXT_FUNCS
     41942        if (fg == COLOR_DEFAULT)
    3343341943@@ -765,9 +782,9 @@
    3343441944 
     
    3344441954 {
    3344541955 #ifdef USE_TERM_DRIVER
     41956@@ -793,7 +810,7 @@
     41957 
     41958     if (old_pair >= 0
     41959        && SP_PARM != 0
     41960-       && pair_content(old_pair, &old_fg, &old_bg) != ERR) {
     41961+       && pair_content((short) old_pair, &old_fg, &old_bg) != ERR) {
     41962        if ((isDefaultColor(fg) && !isDefaultColor(old_fg))
     41963            || (isDefaultColor(bg) && !isDefaultColor(old_bg))) {
     41964 #if NCURSES_EXT_FUNCS
    3344641965@@ -847,7 +864,7 @@
    3344741966 
     
    3345441973     NCURSES_SP_NAME(_nc_do_color) (CURRENT_SCREEN,
    3345541974diff -Naur ncurses-5.9.orig/ncurses/base/lib_dft_fgbg.c ncurses-5.9/ncurses/base/lib_dft_fgbg.c
    33456 --- ncurses-5.9.orig/ncurses/base/lib_dft_fgbg.c        2012-02-16 18:25:12.671810357 +0000
    33457 +++ ncurses-5.9/ncurses/base/lib_dft_fgbg.c     2012-02-16 18:25:12.979818483 +0000
     41975--- ncurses-5.9.orig/ncurses/base/lib_dft_fgbg.c        2012-08-25 19:57:59.409900901 +0000
     41976+++ ncurses-5.9/ncurses/base/lib_dft_fgbg.c     2012-08-25 19:58:00.023231334 +0000
    3345841977@@ -1,5 +1,5 @@
    3345941978 /****************************************************************************
     
    3348142000            SP_PARM->_default_color = save;
    3348242001diff -Naur ncurses-5.9.orig/ncurses/base/lib_flash.c ncurses-5.9/ncurses/base/lib_flash.c
    33483 --- ncurses-5.9.orig/ncurses/base/lib_flash.c   2012-02-16 18:25:12.667810252 +0000
    33484 +++ ncurses-5.9/ncurses/base/lib_flash.c        2012-02-16 18:25:12.979818483 +0000
     42002--- ncurses-5.9.orig/ncurses/base/lib_flash.c   2012-08-25 19:57:59.413234218 +0000
     42003+++ ncurses-5.9/ncurses/base/lib_flash.c        2012-08-25 19:58:00.023231334 +0000
    3348542004@@ -1,5 +1,5 @@
    3348642005 /****************************************************************************
     
    3352742046     returnCode(res);
    3352842047diff -Naur ncurses-5.9.orig/ncurses/base/lib_freeall.c ncurses-5.9/ncurses/base/lib_freeall.c
    33529 --- ncurses-5.9.orig/ncurses/base/lib_freeall.c 2012-02-16 18:25:12.667810252 +0000
    33530 +++ ncurses-5.9/ncurses/base/lib_freeall.c      2012-02-16 18:25:12.979818483 +0000
     42048--- ncurses-5.9.orig/ncurses/base/lib_freeall.c 2012-08-25 19:57:59.413234218 +0000
     42049+++ ncurses-5.9/ncurses/base/lib_freeall.c      2012-08-25 19:58:00.023231334 +0000
    3353142050@@ -1,5 +1,5 @@
    3353242051 /****************************************************************************
     
    3355542074     FreeIfNeeded(_nc_wacs);
    3355642075diff -Naur ncurses-5.9.orig/ncurses/base/lib_getch.c ncurses-5.9/ncurses/base/lib_getch.c
    33557 --- ncurses-5.9.orig/ncurses/base/lib_getch.c   2012-02-16 18:25:12.671810357 +0000
    33558 +++ ncurses-5.9/ncurses/base/lib_getch.c        2012-02-16 18:25:13.211824607 +0000
     42076--- ncurses-5.9.orig/ncurses/base/lib_getch.c   2012-08-25 19:57:59.409900901 +0000
     42077+++ ncurses-5.9/ncurses/base/lib_getch.c        2012-08-25 19:58:02.199887706 +0000
    3355942078@@ -1,5 +1,5 @@
    3356042079 /****************************************************************************
     
    3356942088 
    3357042089-MODULE_ID("$Id: lib_getch.c,v 1.121 2010/12/25 23:24:04 tom Exp $")
    33571 +MODULE_ID("$Id: lib_getch.c,v 1.124 2012/01/21 19:21:29 KO.Myung-Hun Exp $")
     42090+MODULE_ID("$Id: lib_getch.c,v 1.125 2012/08/04 17:11:37 tom Exp $")
    3357242091 
    3357342092 #include <fifo_defs.h>
     
    3358242101 #if USE_SYSMOUSE
    3358342102     if ((sp->_mouse_type == M_SYSMOUSE)
    33584 @@ -257,6 +257,13 @@
     42103@@ -163,7 +163,7 @@
     42104 static NCURSES_INLINE int
     42105 fifo_peek(SCREEN *sp)
     42106 {
     42107-    int ch = sp->_fifo[peek];
     42108+    int ch = (peek >= 0) ? sp->_fifo[peek] : ERR;
     42109     TR(TRACE_IEVENT, ("peeking at %d", peek));
     42110 
     42111     p_inc();
     42112@@ -173,15 +173,16 @@
     42113 static NCURSES_INLINE int
     42114 fifo_pull(SCREEN *sp)
     42115 {
     42116-    int ch;
     42117-    ch = sp->_fifo[head];
     42118+    int ch = (head >= 0) ? sp->_fifo[head] : ERR;
     42119+
     42120     TR(TRACE_IEVENT, ("pulling %s from %d", _nc_tracechar(sp, ch), head));
     42121 
     42122     if (peek == head) {
     42123        h_inc();
     42124        peek = head;
     42125-    } else
     42126+    } else {
     42127        h_inc();
     42128+    }
     42129 
     42130 #ifdef TRACE
     42131     if (USE_TRACEF(TRACE_IEVENT)) {
     42132@@ -200,7 +201,7 @@
     42133     int mask = 0;
     42134 
     42135     (void) mask;
     42136-    if (tail == -1)
     42137+    if (tail < 0)
     42138        return ERR;
     42139 
     42140 #ifdef HIDE_EINTR
     42141@@ -257,6 +258,13 @@
    3358542142        n = 1;
    3358642143     } else
     
    3359642153 #ifdef USE_TERM_DRIVER
    3359742154        int buf;
    33598 @@ -270,7 +277,7 @@
     42155@@ -270,7 +278,7 @@
    3359942156 #  endif
    3360042157            _nc_globals.read_thread = pthread_self();
     
    3360542162        _nc_globals.read_thread = 0;
    3360642163 #endif
    33607 @@ -569,7 +576,7 @@
     42164@@ -569,7 +577,7 @@
    3360842165      *
    3360942166      * If carriage return is defined as a function key in the
     
    3361442171      * since the visual result simply moves the cursor to column 0.
    3361542172      *
     42173@@ -709,10 +717,11 @@
     42174 
     42175        if (ptr->value != 0) {  /* sequence terminated */
     42176            TR(TRACE_IEVENT, ("end of sequence"));
     42177-           if (peek == tail)
     42178+           if (peek == tail) {
     42179                fifo_clear(sp);
     42180-           else
     42181+           } else {
     42182                head = peek;
     42183+           }
     42184            return (ptr->value);
     42185        }
     42186 
    3361642187diff -Naur ncurses-5.9.orig/ncurses/base/lib_getstr.c ncurses-5.9/ncurses/base/lib_getstr.c
    33617 --- ncurses-5.9.orig/ncurses/base/lib_getstr.c  2012-02-16 18:25:12.667810252 +0000
    33618 +++ ncurses-5.9/ncurses/base/lib_getstr.c       2012-02-16 18:25:12.979818483 +0000
     42188--- ncurses-5.9.orig/ncurses/base/lib_getstr.c  2012-08-25 19:57:59.413234218 +0000
     42189+++ ncurses-5.9/ncurses/base/lib_getstr.c       2012-08-25 19:58:00.026564651 +0000
    3361942190@@ -1,5 +1,5 @@
    3362042191 /****************************************************************************
     
    3364242213        *--last = '\0';
    3364342214diff -Naur ncurses-5.9.orig/ncurses/base/lib_instr.c ncurses-5.9/ncurses/base/lib_instr.c
    33644 --- ncurses-5.9.orig/ncurses/base/lib_instr.c   2012-02-16 18:25:12.671810357 +0000
    33645 +++ ncurses-5.9/ncurses/base/lib_instr.c        2012-02-16 18:25:12.979818483 +0000
     42215--- ncurses-5.9.orig/ncurses/base/lib_instr.c   2012-08-25 19:57:59.413234218 +0000
     42216+++ ncurses-5.9/ncurses/base/lib_instr.c        2012-08-25 19:58:00.026564651 +0000
    3364642217@@ -1,5 +1,5 @@
    3364742218 /****************************************************************************
     
    3367042241                                done = TRUE;
    3367142242diff -Naur ncurses-5.9.orig/ncurses/base/lib_mouse.c ncurses-5.9/ncurses/base/lib_mouse.c
    33672 --- ncurses-5.9.orig/ncurses/base/lib_mouse.c   2012-02-16 18:25:12.667810252 +0000
    33673 +++ ncurses-5.9/ncurses/base/lib_mouse.c        2012-02-16 18:25:13.211824607 +0000
     42243--- ncurses-5.9.orig/ncurses/base/lib_mouse.c   2012-08-25 19:57:59.413234218 +0000
     42244+++ ncurses-5.9/ncurses/base/lib_mouse.c        2012-08-25 19:58:02.023221875 +0000
    3367442245@@ -1,5 +1,5 @@
    3367542246 /****************************************************************************
     
    3368442255 
    3368542256-MODULE_ID("$Id: lib_mouse.c,v 1.121 2011/01/22 19:47:47 tom Exp $")
    33686 +MODULE_ID("$Id: lib_mouse.c,v 1.134 2012/01/21 19:21:29 KO.Myung-Hun Exp $")
     42257+MODULE_ID("$Id: lib_mouse.c,v 1.139 2012/07/21 23:30:50 tom Exp $")
    3368742258 
    3368842259 #include <tic.h>
     
    3371642287 
    3371742288 #ifndef LIBGPM_SONAME
     42289@@ -211,7 +225,7 @@
     42290     char buf[6];
     42291     unsigned long ignore;
     42292 
     42293-    strncpy(buf, key_mouse, 3);        /* should be "\033[M" */
     42294+    strcpy(buf, "\033[M");     /* should be the same as key_mouse */
     42295     buf[3] = ' ' + (button - 1) + (down ? 0 : 0x40);
     42296     buf[4] = ' ' + x - LEFT_COL + 1;
     42297     buf[5] = ' ' + y - TOP_ROW + 1;
    3371842298@@ -219,7 +233,11 @@
    3371942299 }
     
    3372842308     SCREEN *sp = (SCREEN *) param;
    3372942309     unsigned short fWait = MOU_WAIT;
    33730 @@ -673,7 +691,7 @@
     42310@@ -245,7 +263,8 @@
     42311                /* sit and wait on the event queue */
     42312                rc = MouReadEventQue(&mouev, &fWait, hmou);
     42313                if (rc) {
     42314-                   sprintf(err, "Error reading mouse queue, rc=%lu.\r\n", rc);
     42315+                   _nc_SPRINTF(err, _nc_SLIMIT(sizeof(err))
     42316+                               "Error reading mouse queue, rc=%lu.\r\n", rc);
     42317                    break;
     42318                }
     42319                if (!sp->_emxmouse_activated)
     42320@@ -271,9 +290,11 @@
     42321              finish:
     42322                oldstate = mouev.fs;
     42323            }
     42324-       } else
     42325-           sprintf(err, "Error setting event mask, buttons=%d, rc=%lu.\r\n",
     42326-                   nbuttons, rc);
     42327+       } else {
     42328+           _nc_SPRINTF(err, _nc_SLIMIT(sizeof(err))
     42329+                       "Error setting event mask, buttons=%d, rc=%lu.\r\n",
     42330+                       nbuttons, rc);
     42331+       }
     42332 
     42333        DosWrite(2, err, strlen(err), &rc);
     42334        MouClose(hmou);
     42335@@ -376,11 +397,19 @@
     42336 
     42337 #if USE_GPM_SUPPORT
     42338 static bool
     42339-allow_gpm_mouse(void)
     42340+allow_gpm_mouse(SCREEN *sp)
     42341 {
     42342     bool result = FALSE;
     42343 
     42344-    /* GPM does printf's without checking if stdout is a terminal */
     42345+#if USE_WEAK_SYMBOLS
     42346+    /* Danger Robinson: do not use dlopen for libgpm if already loaded */
     42347+    if ((Gpm_Wgetch)) {
     42348+       if (!sp->_mouse_gpm_loaded) {
     42349+           T(("GPM library was already dlopen'd, not by us"));
     42350+       }
     42351+    } else
     42352+#endif
     42353+       /* GPM does printf's without checking if stdout is a terminal */
     42354     if (isatty(fileno(stdout))) {
     42355        char *list = getenv("NCURSES_GPM_TERMS");
     42356        char *env = getenv("TERM");
     42357@@ -506,7 +535,7 @@
     42358 
     42359     /* Try gpm first, because gpm may be configured to run in xterm */
     42360 #if USE_GPM_SUPPORT
     42361-    if (allow_gpm_mouse()) {
     42362+    if (allow_gpm_mouse(sp)) {
     42363        if (!sp->_mouse_gpm_loaded) {
     42364 #ifdef HAVE_LIBDL
     42365            load_gpm_library(sp);
     42366@@ -673,7 +702,7 @@
    3373142367 
    3373242368            sp->_mouse_eventp = FirstEV(sp);
     
    3373742373            initialize_mousetype(sp);
    3373842374 
    33739 @@ -750,6 +768,7 @@
     42375@@ -750,6 +779,7 @@
    3374042376                        eventp->bstate |= BUTTON3_RELEASED;
    3374142377                    break;
     
    3374542381                }
    3374642382 
    33747 @@ -830,7 +849,6 @@
     42383@@ -830,7 +860,6 @@
    3374842384 
    3374942385     if (sp->_mouse_type == M_XTERM) {
     
    3375342389        int res;
    3375442390 
    33755 @@ -896,35 +914,51 @@
     42391@@ -896,35 +925,51 @@
    3375642392 
    3375742393        /* processing code goes here */
     
    3381642452 
    3381742453        case 0x2:
    33818 @@ -939,12 +973,13 @@
     42454@@ -939,12 +984,13 @@
    3381942455             * release, we can infer the button actually released by looking at
    3382042456             * the previous event.
     
    3383242468                /*
    3383342469                 * XFree86 xterm will return a stream of release-events to
    33834 @@ -985,7 +1020,7 @@
     42470@@ -985,7 +1031,7 @@
    3383542471 }
    3383642472 
     
    3384142477     if (!on && !sp->_mouse_initialized)
    3384242478        return;
    33843 @@ -994,7 +1029,7 @@
     42479@@ -994,7 +1040,7 @@
    3384442480        return;
    3384542481 
     
    3385042486        case M_XTERM:
    3385142487 #if NCURSES_EXT_FUNCS
    33852 @@ -1074,10 +1109,13 @@
     42488@@ -1074,10 +1120,13 @@
    3385342489 /* parse a run of atomic mouse events into a gesture */
    3385442490 {
     
    3386542501     TR(MY_TRACE, ("_nc_mouse_parse(%d) called", runcount));
    3386642502 
    33867 @@ -1094,7 +1132,8 @@
     42503@@ -1094,7 +1143,8 @@
    3386842504      *
    3386942505      * It's possible that the run may not resolve to a single event (for
     
    3387542511      * Note that this routine is independent of the format of the specific
    3387642512      * format of the pointing-device's reports.  We can use it to parse
    33877 @@ -1102,79 +1141,110 @@
     42513@@ -1102,79 +1152,110 @@
    3387842514      * button basis, as long as the device-dependent mouse code puts stuff
    3387942515      * on the queue in MEVENT format.
     
    3395642592+                       changed = FALSE;
    3395742593+                       break;
    33958                     }
    33959                 }
    33960 -               if (merge)
    33961 -                   next->id = INVALID_EVENT;
     42594+                   }
     42595+               }
    3396242596+
    3396342597+               if (changed) {
     
    3397342607+                   if (merge) {
    3397442608+                       Invalidate(ep);
    33975 +                   }
    33976 +               }
    33977 +           }
    33978 +       }
    33979 +
     42609                    }
     42610                }
     42611-               if (merge)
     42612-                   next->id = INVALID_EVENT;
     42613            }
     42614        }
     42615-    } while
     42616-       (merge);
     42617 
    3398042618+       /* Compact valid events */
    3398142619+       if (!ValidEvent(ep)) {
     
    3399042628+               Invalidate(ep);
    3399142629+               first_invalid = NEXT(first_invalid);
    33992             }
    33993         }
    33994 -    } while
    33995 -       (merge);
    33996  
     42630+           }
     42631+       }
     42632+
    3399742633+       ep = next;
    3399842634+    }
     
    3402842664      * NOTE: There is a problem with this design!  If the application
    3402942665      * allows enough click events to pile up in the circular queue so
    34030 @@ -1187,87 +1257,102 @@
     42666@@ -1187,87 +1268,102 @@
    3403142667      * but the timer element would have to have sub-second resolution,
    3403242668      * which would get us into portability trouble.
     
    3419842834 
    3419942835 static void
    34200 @@ -1359,7 +1444,16 @@
     42836@@ -1359,7 +1455,16 @@
    3420142837        /* compute the current-event pointer */
    3420242838        MEVENT *prev = PREV(eventp);
     
    3421642852            *aevent = *prev;
    3421742853 
    34218 @@ -1367,9 +1461,16 @@
     42854@@ -1367,9 +1472,16 @@
    3421942855                              _nc_tracemouse(SP_PARM, prev),
    3422042856                              (long) IndexEV(SP_PARM, prev)));
     
    3423542871     }
    3423642872     returnCode(result);
    34237 @@ -1420,6 +1521,7 @@
     42873@@ -1420,6 +1532,7 @@
    3423842874 /* set the mouse event mask */
    3423942875 {
     
    3424342879     T((T_CALLED("mousemask(%p,%#lx,%p)"),
    3424442880        (void *) SP_PARM,
    34245 @@ -1447,6 +1549,22 @@
     42881@@ -1447,6 +1560,22 @@
    3424642882                mouse_activate(SP_PARM, (bool) (result != 0));
    3424742883 
     
    3426742903     }
    3426842904diff -Naur ncurses-5.9.orig/ncurses/base/lib_newterm.c ncurses-5.9/ncurses/base/lib_newterm.c
    34269 --- ncurses-5.9.orig/ncurses/base/lib_newterm.c 2012-02-16 18:25:12.671810357 +0000
    34270 +++ ncurses-5.9/ncurses/base/lib_newterm.c      2012-02-16 18:25:13.211824607 +0000
     42905--- ncurses-5.9.orig/ncurses/base/lib_newterm.c 2012-08-25 19:57:59.409900901 +0000
     42906+++ ncurses-5.9/ncurses/base/lib_newterm.c      2012-08-25 19:58:00.393229583 +0000
    3427142907@@ -1,5 +1,5 @@
    3427242908 /****************************************************************************
     
    3430642942 #endif
    3430742943diff -Naur ncurses-5.9.orig/ncurses/base/lib_newwin.c ncurses-5.9/ncurses/base/lib_newwin.c
    34308 --- ncurses-5.9.orig/ncurses/base/lib_newwin.c  2012-02-16 18:25:12.667810252 +0000
    34309 +++ ncurses-5.9/ncurses/base/lib_newwin.c       2012-02-16 18:25:12.983818589 +0000
     42944--- ncurses-5.9.orig/ncurses/base/lib_newwin.c  2012-08-25 19:57:59.413234218 +0000
     42945+++ ncurses-5.9/ncurses/base/lib_newwin.c       2012-08-25 19:58:00.026564651 +0000
    3431042946@@ -43,7 +43,7 @@
    3431142947 #include <curses.priv.h>
     
    3434842984 
    3434942985 static bool
     42986diff -Naur ncurses-5.9.orig/ncurses/base/lib_printw.c ncurses-5.9/ncurses/base/lib_printw.c
     42987--- ncurses-5.9.orig/ncurses/base/lib_printw.c  2012-08-25 19:57:59.409900901 +0000
     42988+++ ncurses-5.9/ncurses/base/lib_printw.c       2012-08-25 19:58:00.986560110 +0000
     42989@@ -1,5 +1,5 @@
     42990 /****************************************************************************
     42991- * Copyright (c) 1998-2005,2009 Free Software Foundation, Inc.              *
     42992+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     42993  *                                                                          *
     42994  * Permission is hereby granted, free of charge, to any person obtaining a  *
     42995  * copy of this software and associated documentation files (the            *
     42996@@ -39,7 +39,7 @@
     42997 
     42998 #include <curses.priv.h>
     42999 
     43000-MODULE_ID("$Id: lib_printw.c,v 1.20 2009/10/24 22:07:03 tom Exp $")
     43001+MODULE_ID("$Id: lib_printw.c,v 1.22 2012/03/10 20:47:33 tom Exp $")
     43002 
     43003 NCURSES_EXPORT(int)
     43004 printw(const char *fmt,...)
     43005@@ -48,10 +48,12 @@
     43006     int code;
     43007 
     43008 #ifdef TRACE
     43009-    va_start(argp, fmt);
     43010+    va_list argq;
     43011+    begin_va_copy(argq, argp);
     43012+    va_start(argq, fmt);
     43013     T((T_CALLED("printw(%s%s)"),
     43014-       _nc_visbuf(fmt), _nc_varargs(fmt, argp)));
     43015-    va_end(argp);
     43016+       _nc_visbuf(fmt), _nc_varargs(fmt, argq)));
     43017+    end_va_copy(argq);
     43018 #endif
     43019 
     43020     va_start(argp, fmt);
     43021@@ -68,10 +70,12 @@
     43022     int code;
     43023 
     43024 #ifdef TRACE
     43025-    va_start(argp, fmt);
     43026+    va_list argq;
     43027+    begin_va_copy(argq, argp);
     43028+    va_start(argq, fmt);
     43029     T((T_CALLED("wprintw(%p,%s%s)"),
     43030-       (void *) win, _nc_visbuf(fmt), _nc_varargs(fmt, argp)));
     43031-    va_end(argp);
     43032+       (void *) win, _nc_visbuf(fmt), _nc_varargs(fmt, argq)));
     43033+    end_va_copy(argq);
     43034 #endif
     43035 
     43036     va_start(argp, fmt);
     43037@@ -88,10 +92,12 @@
     43038     int code;
     43039 
     43040 #ifdef TRACE
     43041-    va_start(argp, fmt);
     43042+    va_list argq;
     43043+    begin_va_copy(argq, argp);
     43044+    va_start(argq, fmt);
     43045     T((T_CALLED("mvprintw(%d,%d,%s%s)"),
     43046-       y, x, _nc_visbuf(fmt), _nc_varargs(fmt, argp)));
     43047-    va_end(argp);
     43048+       y, x, _nc_visbuf(fmt), _nc_varargs(fmt, argq)));
     43049+    end_va_copy(argq);
     43050 #endif
     43051 
     43052     if ((code = move(y, x)) != ERR) {
     43053@@ -109,10 +115,12 @@
     43054     int code;
     43055 
     43056 #ifdef TRACE
     43057-    va_start(argp, fmt);
     43058+    va_list argq;
     43059+    begin_va_copy(argq, argp);
     43060+    va_start(argq, fmt);
     43061     T((T_CALLED("mvwprintw(%d,%d,%p,%s%s)"),
     43062-       y, x, (void *) win, _nc_visbuf(fmt), _nc_varargs(fmt, argp)));
     43063-    va_end(argp);
     43064+       y, x, (void *) win, _nc_visbuf(fmt), _nc_varargs(fmt, argq)));
     43065+    end_va_copy(argq);
     43066 #endif
     43067 
     43068     if ((code = wmove(win, y, x)) != ERR) {
    3435043069diff -Naur ncurses-5.9.orig/ncurses/base/lib_refresh.c ncurses-5.9/ncurses/base/lib_refresh.c
    34351 --- ncurses-5.9.orig/ncurses/base/lib_refresh.c 2012-02-16 18:25:12.667810252 +0000
    34352 +++ ncurses-5.9/ncurses/base/lib_refresh.c      2012-02-16 18:25:12.983818589 +0000
     43070--- ncurses-5.9.orig/ncurses/base/lib_refresh.c 2012-08-25 19:57:59.409900901 +0000
     43071+++ ncurses-5.9/ncurses/base/lib_refresh.c      2012-08-25 19:58:00.026564651 +0000
    3435343072@@ -1,5 +1,5 @@
    3435443073 /****************************************************************************
     
    3439543114     begy = win->_begy;
    3439643115diff -Naur ncurses-5.9.orig/ncurses/base/lib_restart.c ncurses-5.9/ncurses/base/lib_restart.c
    34397 --- ncurses-5.9.orig/ncurses/base/lib_restart.c 2012-02-16 18:25:12.671810357 +0000
    34398 +++ ncurses-5.9/ncurses/base/lib_restart.c      2012-02-16 18:25:12.983818589 +0000
     43116--- ncurses-5.9.orig/ncurses/base/lib_restart.c 2012-08-25 19:57:59.409900901 +0000
     43117+++ ncurses-5.9/ncurses/base/lib_restart.c      2012-08-25 19:58:00.026564651 +0000
    3439943118@@ -1,5 +1,5 @@
    3440043119 /****************************************************************************
     
    3441843137 NCURSES_SP_NAME(restartterm) (NCURSES_SP_DCLx
    3441943138diff -Naur ncurses-5.9.orig/ncurses/base/lib_scanw.c ncurses-5.9/ncurses/base/lib_scanw.c
    34420 --- ncurses-5.9.orig/ncurses/base/lib_scanw.c   2012-02-16 18:25:12.667810252 +0000
    34421 +++ ncurses-5.9/ncurses/base/lib_scanw.c        2012-02-16 18:25:12.983818589 +0000
     43139--- ncurses-5.9.orig/ncurses/base/lib_scanw.c   2012-08-25 19:57:59.409900901 +0000
     43140+++ ncurses-5.9/ncurses/base/lib_scanw.c        2012-08-25 19:58:00.029897968 +0000
    3442243141@@ -1,5 +1,5 @@
    3442343142 /****************************************************************************
     
    3444543164     return (vsscanf(buf, fmt, argp));
    3444643165diff -Naur ncurses-5.9.orig/ncurses/base/lib_screen.c ncurses-5.9/ncurses/base/lib_screen.c
    34447 --- ncurses-5.9.orig/ncurses/base/lib_screen.c  2012-02-16 18:25:12.667810252 +0000
    34448 +++ ncurses-5.9/ncurses/base/lib_screen.c       2012-02-16 18:25:12.983818589 +0000
     43166--- ncurses-5.9.orig/ncurses/base/lib_screen.c  2012-08-25 19:57:59.413234218 +0000
     43167+++ ncurses-5.9/ncurses/base/lib_screen.c       2012-08-25 19:58:00.029897968 +0000
    3444943168@@ -1,5 +1,5 @@
    3445043169 /****************************************************************************
     
    3451843237 NCURSES_EXPORT(int)
    3451943238diff -Naur ncurses-5.9.orig/ncurses/base/lib_scroll.c ncurses-5.9/ncurses/base/lib_scroll.c
    34520 --- ncurses-5.9.orig/ncurses/base/lib_scroll.c  2012-02-16 18:25:12.667810252 +0000
    34521 +++ ncurses-5.9/ncurses/base/lib_scroll.c       2012-02-16 18:25:12.983818589 +0000
     43239--- ncurses-5.9.orig/ncurses/base/lib_scroll.c  2012-08-25 19:57:59.409900901 +0000
     43240+++ ncurses-5.9/ncurses/base/lib_scroll.c       2012-08-25 19:58:00.029897968 +0000
    3452243241@@ -1,5 +1,5 @@
    3452343242 /****************************************************************************
     
    3454543264     int limit;
    3454643265diff -Naur ncurses-5.9.orig/ncurses/base/lib_set_term.c ncurses-5.9/ncurses/base/lib_set_term.c
    34547 --- ncurses-5.9.orig/ncurses/base/lib_set_term.c        2012-02-16 18:25:12.667810252 +0000
    34548 +++ ncurses-5.9/ncurses/base/lib_set_term.c     2012-02-16 18:25:12.983818589 +0000
     43266--- ncurses-5.9.orig/ncurses/base/lib_set_term.c        2012-08-25 19:57:59.413234218 +0000
     43267+++ ncurses-5.9/ncurses/base/lib_set_term.c     2012-08-25 19:58:01.893222491 +0000
    3454943268@@ -1,5 +1,5 @@
    3455043269 /****************************************************************************
    3455143270- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    34552 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     43271+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3455343272  *                                                                          *
    3455443273  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3455943278 
    3456043279-MODULE_ID("$Id: lib_set_term.c,v 1.138 2010/12/20 00:42:20 tom Exp $")
    34561 +MODULE_ID("$Id: lib_set_term.c,v 1.140 2011/10/22 16:10:43 tom Exp $")
     43280+MODULE_ID("$Id: lib_set_term.c,v 1.141 2012/07/07 20:37:40 tom Exp $")
    3456243281 
    3456343282 #ifdef USE_TERM_DRIVER
     
    3457243291 {
    3457343292     char *env;
    34574 @@ -695,7 +695,7 @@
     43293@@ -619,6 +619,7 @@
     43294 #endif
     43295 #if USE_SIZECHANGE
     43296     sp->_resize = NCURSES_SP_NAME(resizeterm);
     43297+    sp->_ungetch = safe_ungetch;
     43298 #endif
     43299 
     43300     NewScreen(sp)->_clear = TRUE;
     43301@@ -695,7 +696,7 @@
    3457543302 _nc_setupscreen(int slines GCC_UNUSED,
    3457643303                int scolumns GCC_UNUSED,
     
    3458143308 {
    3458243309     SCREEN *sp = 0;
    34583 @@ -759,6 +759,7 @@
     43310@@ -759,6 +760,7 @@
    3458443311                             int line,
    3458543312                             int (*init) (WINDOW *, int))
     
    3458943316                                            (line < 0) ? -1 : 1,
    3459043317                                            init);
     43318diff -Naur ncurses-5.9.orig/ncurses/base/lib_slkrefr.c ncurses-5.9/ncurses/base/lib_slkrefr.c
     43319--- ncurses-5.9.orig/ncurses/base/lib_slkrefr.c 2012-08-25 19:57:59.413234218 +0000
     43320+++ ncurses-5.9/ncurses/base/lib_slkrefr.c      2012-08-25 19:58:01.726556612 +0000
     43321@@ -1,5 +1,5 @@
     43322 /****************************************************************************
     43323- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     43324+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     43325  *                                                                          *
     43326  * Permission is hereby granted, free of charge, to any person obtaining a  *
     43327  * copy of this software and associated documentation files (the            *
     43328@@ -43,7 +43,7 @@
     43329 #define CUR SP_TERMTYPE
     43330 #endif
     43331 
     43332-MODULE_ID("$Id: lib_slkrefr.c,v 1.26 2010/05/01 19:17:28 tom Exp $")
     43333+MODULE_ID("$Id: lib_slkrefr.c,v 1.27 2012/06/09 20:29:33 tom Exp $")
     43334 
     43335 #ifdef USE_TERM_DRIVER
     43336 #define NumLabels    InfoOf(SP_PARM).numlabels
     43337@@ -109,13 +109,13 @@
     43338                        slk_paint_info(slk->win);
     43339                    wmove(slk->win, SLK_LINES(fmt) - 1, slk->ent[i].ent_x);
     43340                    if (sp->_slk) {
     43341-                       (void) wattrset(slk->win, AttrOf(sp->_slk->attr));
     43342+                       (void) wattrset(slk->win, (int) AttrOf(sp->_slk->attr));
     43343                    }
     43344                    waddstr(slk->win, slk->ent[i].form_text);
     43345                    /* if we simulate SLK's, it's looking much more
     43346                       natural to use the current ATTRIBUTE also
     43347                       for the label window */
     43348-                   (void) wattrset(slk->win, WINDOW_ATTRS(StdScreen(sp)));
     43349+                   (void) wattrset(slk->win, (int) WINDOW_ATTRS(StdScreen(sp)));
     43350                }
     43351            }
     43352            slk->ent[i].dirty = FALSE;
    3459143353diff -Naur ncurses-5.9.orig/ncurses/base/lib_slkset.c ncurses-5.9/ncurses/base/lib_slkset.c
    34592 --- ncurses-5.9.orig/ncurses/base/lib_slkset.c  2012-02-16 18:25:12.667810252 +0000
    34593 +++ ncurses-5.9/ncurses/base/lib_slkset.c       2012-02-16 18:25:12.983818589 +0000
     43354--- ncurses-5.9.orig/ncurses/base/lib_slkset.c  2012-08-25 19:57:59.413234218 +0000
     43355+++ ncurses-5.9/ncurses/base/lib_slkset.c       2012-08-25 19:58:00.029897968 +0000
    3459443356@@ -1,5 +1,5 @@
    3459543357 /****************************************************************************
     
    3463943401 
    3464043402     slk->ent[i].form_text[numchrs - numcols + limit] = 0;
     43403diff -Naur ncurses-5.9.orig/ncurses/base/lib_touch.c ncurses-5.9/ncurses/base/lib_touch.c
     43404--- ncurses-5.9.orig/ncurses/base/lib_touch.c   2012-08-25 19:57:59.409900901 +0000
     43405+++ ncurses-5.9/ncurses/base/lib_touch.c        2012-08-25 19:58:01.726556612 +0000
     43406@@ -1,5 +1,5 @@
     43407 /****************************************************************************
     43408- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     43409+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     43410  *                                                                          *
     43411  * Permission is hereby granted, free of charge, to any person obtaining a  *
     43412  * copy of this software and associated documentation files (the            *
     43413@@ -43,7 +43,7 @@
     43414 
     43415 #include <curses.priv.h>
     43416 
     43417-MODULE_ID("$Id: lib_touch.c,v 1.11 2010/12/19 01:22:58 tom Exp $")
     43418+MODULE_ID("$Id: lib_touch.c,v 1.12 2012/06/09 20:29:33 tom Exp $")
     43419 
     43420 NCURSES_EXPORT(bool)
     43421 is_linetouched(WINDOW *win, int line)
     43422@@ -84,7 +84,7 @@
     43423     for (i = y; i < y + n; i++) {
     43424        if (i > win->_maxy)
     43425            break;
     43426-       win->_line[i].firstchar = changed ? 0 : _NOCHANGE;
     43427+       win->_line[i].firstchar = (NCURSES_SIZE_T) (changed ? 0 : _NOCHANGE);
     43428        win->_line[i].lastchar = (NCURSES_SIZE_T) (changed
     43429                                                   ? win->_maxx
     43430                                                   : _NOCHANGE);
    3464143431diff -Naur ncurses-5.9.orig/ncurses/base/lib_ungetch.c ncurses-5.9/ncurses/base/lib_ungetch.c
    34642 --- ncurses-5.9.orig/ncurses/base/lib_ungetch.c 2012-02-16 18:25:12.667810252 +0000
    34643 +++ ncurses-5.9/ncurses/base/lib_ungetch.c      2012-02-16 18:25:12.983818589 +0000
     43432--- ncurses-5.9.orig/ncurses/base/lib_ungetch.c 2012-08-25 19:57:59.409900901 +0000
     43433+++ ncurses-5.9/ncurses/base/lib_ungetch.c      2012-08-25 19:58:02.199887706 +0000
    3464443434@@ -1,5 +1,5 @@
    3464543435 /****************************************************************************
    3464643436- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
    34647 + * Copyright (c) 1998-2009,2011 Free Software Foundation, Inc.              *
     43437+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3464843438  *                                                                          *
    3464943439  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3465443444 
    3465543445-MODULE_ID("$Id: lib_ungetch.c,v 1.14 2009/10/24 22:12:21 tom Exp $")
    34656 +MODULE_ID("$Id: lib_ungetch.c,v 1.15 2011/05/28 22:52:06 tom Exp $")
     43446+MODULE_ID("$Id: lib_ungetch.c,v 1.16 2012/08/04 17:38:53 tom Exp $")
    3465743447 
    3465843448 #include <fifo_defs.h>
    3465943449 
    34660 @@ -64,7 +64,7 @@
     43450@@ -64,13 +64,14 @@
    3466143451 
    3466243452     T((T_CALLED("ungetch(%p,%s)"), (void *) sp, _nc_tracechar(sp, ch)));
    3466343453 
    3466443454-    if (tail != -1) {
    34665 +    if (sp != 0 && tail != -1) {
    34666         if (head == -1) {
     43455-       if (head == -1) {
     43456+    if (sp != 0 && tail >= 0) {
     43457+       if (head < 0) {
    3466743458            head = 0;
    3466843459            t_inc();
     43460            peek = tail;        /* no raw keys */
     43461-       } else
     43462+       } else {
     43463            h_dec();
     43464+       }
     43465 
     43466        sp->_fifo[head] = ch;
     43467        T(("ungetch %s ok", _nc_tracechar(sp, ch)));
    3466943468diff -Naur ncurses-5.9.orig/ncurses/base/resizeterm.c ncurses-5.9/ncurses/base/resizeterm.c
    34670 --- ncurses-5.9.orig/ncurses/base/resizeterm.c  2012-02-16 18:25:12.671810357 +0000
    34671 +++ ncurses-5.9/ncurses/base/resizeterm.c       2012-02-16 18:25:12.983818589 +0000
     43469--- ncurses-5.9.orig/ncurses/base/resizeterm.c  2012-08-25 19:57:59.413234218 +0000
     43470+++ ncurses-5.9/ncurses/base/resizeterm.c       2012-08-25 19:58:01.893222491 +0000
    3467243471@@ -45,7 +45,7 @@
    3467343472 #define CUR SP_TERMTYPE
     
    3467543474 
    3467643475-MODULE_ID("$Id: resizeterm.c,v 1.43 2011/01/10 01:34:49 tom Exp $")
    34677 +MODULE_ID("$Id: resizeterm.c,v 1.44 2011/09/03 18:29:11 tom Exp $")
     43476+MODULE_ID("$Id: resizeterm.c,v 1.45 2012/07/07 17:07:23 tom Exp $")
    3467843477 
    3467943478 /*
     
    3478343582     _nc_nonsp_unlock_global(curses);
    3478443583 
     43584@@ -471,7 +484,6 @@
     43585            result = NCURSES_SP_NAME(resize_term) (NCURSES_SP_ARGx ToLines, ToCols);
     43586 
     43587 #if USE_SIGWINCH
     43588-           safe_ungetch(SP_PARM, KEY_RESIZE);  /* so application can know this */
     43589            clearok(CurScreen(SP_PARM), TRUE);  /* screen contents are unknown */
     43590 
     43591            /* ripped-off lines are a special case: if we did not lengthen
     43592@@ -501,6 +513,9 @@
     43593            }
     43594 #endif
     43595        }
     43596+#if USE_SIGWINCH
     43597+       safe_ungetch(SP_PARM, KEY_RESIZE);      /* so application can know this */
     43598+#endif
     43599     }
     43600 
     43601     returnCode(result);
     43602diff -Naur ncurses-5.9.orig/ncurses/base/safe_sprintf.c ncurses-5.9/ncurses/base/safe_sprintf.c
     43603--- ncurses-5.9.orig/ncurses/base/safe_sprintf.c        2012-08-25 19:57:59.409900901 +0000
     43604+++ ncurses-5.9/ncurses/base/safe_sprintf.c     2012-08-25 19:58:00.909893807 +0000
     43605@@ -1,5 +1,5 @@
     43606 /****************************************************************************
     43607- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     43608+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     43609  *                                                                          *
     43610  * Permission is hereby granted, free of charge, to any person obtaining a  *
     43611  * copy of this software and associated documentation files (the            *
     43612@@ -33,7 +33,7 @@
     43613 #include <curses.priv.h>
     43614 #include <ctype.h>
     43615 
     43616-MODULE_ID("$Id: safe_sprintf.c,v 1.24 2010/06/05 22:22:27 tom Exp $")
     43617+MODULE_ID("$Id: safe_sprintf.c,v 1.26 2012/02/22 22:40:24 tom Exp $")
     43618 
     43619 #if USE_SAFE_SPRINTF
     43620 
     43621@@ -109,12 +109,15 @@
     43622                    } else if (state == Prec) {
     43623                        prec = ival;
     43624                    }
     43625-                   sprintf(fmt_arg, "%d", ival);
     43626+                   _nc_SPRINTF(fmt_arg,
     43627+                               _nc_SLIMIT(sizeof(fmt_arg))
     43628+                               "%d", ival);
     43629                    fmt_len += strlen(fmt_arg);
     43630                    if ((format = _nc_doalloc(format, fmt_len)) == 0) {
     43631                        return -1;
     43632                    }
     43633-                   strcpy(&format[--f], fmt_arg);
     43634+                   --f;
     43635+                   _nc_STRCPY(&format[f], fmt_arg, fmt_len - f);
     43636                    f = strlen(format);
     43637                } else if (isalpha(UChar(*fmt))) {
     43638                    done = TRUE;
     43639@@ -185,13 +188,13 @@
     43640            format[f] = '\0';
     43641            switch (used) {
     43642            case 'i':
     43643-               sprintf(buffer, format, ival);
     43644+               _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, ival);
     43645                break;
     43646            case 'f':
     43647-               sprintf(buffer, format, fval);
     43648+               _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, fval);
     43649                break;
     43650            default:
     43651-               sprintf(buffer, format, pval);
     43652+               _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, pval);
     43653                break;
     43654            }
     43655            len += (int) strlen(buffer);
     43656diff -Naur ncurses-5.9.orig/ncurses/base/vsscanf.c ncurses-5.9/ncurses/base/vsscanf.c
     43657--- ncurses-5.9.orig/ncurses/base/vsscanf.c     2012-08-25 19:57:59.409900901 +0000
     43658+++ ncurses-5.9/ncurses/base/vsscanf.c  2012-08-25 19:58:00.909893807 +0000
     43659@@ -1,5 +1,5 @@
     43660 /****************************************************************************
     43661- * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc.              *
     43662+ * Copyright (c) 1998-2004,2012 Free Software Foundation, Inc.              *
     43663  *                                                                          *
     43664  * Permission is hereby granted, free of charge, to any person obtaining a  *
     43665  * copy of this software and associated documentation files (the            *
     43666@@ -38,7 +38,7 @@
     43667 
     43668 #if !HAVE_VSSCANF
     43669 
     43670-MODULE_ID("$Id: vsscanf.c,v 1.18 2004/04/03 20:27:02 tom Exp $")
     43671+MODULE_ID("$Id: vsscanf.c,v 1.20 2012/02/22 22:26:58 tom Exp $")
     43672 
     43673 #if !(HAVE_VFSCANF || HAVE__DOSCAN)
     43674 
     43675@@ -293,12 +293,12 @@
     43676 
     43677                /* add %n, if the format was not that */
     43678                if (chunk != cAssigned) {
     43679-                   strcat(my_fmt, "%n");
     43680+                   _nc_STRCAT(my_fmt, "%n", len_fmt);
     43681                }
     43682 
     43683                switch (chunk) {
     43684                case cAssigned:
     43685-                   strcat(my_fmt, "%n");
     43686+                   _nc_STRCAT(my_fmt, "%n", len_fmt);
     43687                    pointer = &eaten;
     43688                    break;
     43689                case cInt:
    3478543690diff -Naur ncurses-5.9.orig/ncurses/base/wresize.c ncurses-5.9/ncurses/base/wresize.c
    34786 --- ncurses-5.9.orig/ncurses/base/wresize.c     2012-02-16 18:25:12.667810252 +0000
    34787 +++ ncurses-5.9/ncurses/base/wresize.c  2012-02-16 18:25:12.983818589 +0000
     43691--- ncurses-5.9.orig/ncurses/base/wresize.c     2012-08-25 19:57:59.413234218 +0000
     43692+++ ncurses-5.9/ncurses/base/wresize.c  2012-08-25 19:58:00.029897968 +0000
    3478843693@@ -1,5 +1,5 @@
    3478943694 /****************************************************************************
     
    3481543720 
    3481643721        if_USE_SCROLL_HINTS(new_lines[row].oldindex = row);
     43722diff -Naur ncurses-5.9.orig/ncurses/build.priv.h ncurses-5.9/ncurses/build.priv.h
     43723--- ncurses-5.9.orig/ncurses/build.priv.h       2012-08-25 19:57:59.413234218 +0000
     43724+++ ncurses-5.9/ncurses/build.priv.h    2012-08-25 19:58:00.909893807 +0000
     43725@@ -1,5 +1,5 @@
     43726 /****************************************************************************
     43727- * Copyright (c) 2010 Free Software Foundation, Inc.                        *
     43728+ * Copyright (c) 2010,2012 Free Software Foundation, Inc.                   *
     43729  *                                                                          *
     43730  * Permission is hereby granted, free of charge, to any person obtaining a  *
     43731  * copy of this software and associated documentation files (the            *
     43732@@ -30,9 +30,8 @@
     43733  *  Author: Thomas E. Dickey                        2010                    *
     43734  ****************************************************************************/
     43735 
     43736-
     43737 /*
     43738- * $Id: build.priv.h,v 1.6 2010/05/22 20:30:35 tom Exp $
     43739+ * $Id: build.priv.h,v 1.9 2012/02/22 22:17:02 tom Exp $
     43740  *
     43741  *     build.priv.h
     43742  *
     43743@@ -83,6 +82,7 @@
     43744 #define SIZEOF(v)        (sizeof(v) / sizeof(v[0]))
     43745 
     43746 #include <nc_alloc.h>
     43747+#include <nc_string.h>
     43748 
     43749 /* declare these, to avoid needing term.h */
     43750 #if BROKEN_LINKER || USE_REENTRANT
    3481743751diff -Naur ncurses-5.9.orig/ncurses/curses.priv.h ncurses-5.9/ncurses/curses.priv.h
    34818 --- ncurses-5.9.orig/ncurses/curses.priv.h      2012-02-16 18:25:12.675810462 +0000
    34819 +++ ncurses-5.9/ncurses/curses.priv.h   2012-02-16 18:25:13.211824607 +0000
     43752--- ncurses-5.9.orig/ncurses/curses.priv.h      2012-08-25 19:57:59.416567535 +0000
     43753+++ ncurses-5.9/ncurses/curses.priv.h   2012-08-25 19:58:01.936555619 +0000
    3482043754@@ -1,5 +1,5 @@
    3482143755 /****************************************************************************
     
    3483043764 /*
    3483143765- * $Id: curses.priv.h,v 1.475 2011/01/22 21:10:19 tom Exp $
    34832 + * $Id: curses.priv.h,v 1.492 2012/01/21 19:21:29 KO.Myung-Hun Exp $
     43766+ * $Id: curses.priv.h,v 1.502 2012/07/14 21:14:30 tom Exp $
    3483343767  *
    3483443768  *     curses.priv.h
     
    3484243776 #if HAVE_UNISTD_H
    3484343777 #include <unistd.h>
    34844 @@ -135,6 +136,15 @@
     43778@@ -111,6 +112,14 @@
     43779 #define USE_FUNC_POLL 0
     43780 #endif
     43781 
     43782+#if HAVE_INTTYPES_H
     43783+# include <inttypes.h>
     43784+#else
     43785+# if HAVE_STDINT_H
     43786+#  include <stdint.h>
     43787+# endif
     43788+#endif
     43789+
     43790 /* include signal.h before curses.h to work-around defect in glibc 2.1.3 */
     43791 #include <signal.h>
     43792 
     43793@@ -135,6 +144,15 @@
    3484543794 #define USE_EMX_MOUSE 0
    3484643795 #endif
     
    3485843807 #define EV_MAX         8       /* size of mouse circular event queue */
    3485943808 
    34860 @@ -192,6 +202,18 @@
     43809@@ -192,6 +210,18 @@
    3486143810 #endif
    3486243811 
     
    3487743826  */
    3487843827 #if !USE_SCROLL_HINTS
    34879 @@ -325,6 +347,7 @@
     43828@@ -208,6 +238,8 @@
     43829 #define if_USE_SCROLL_HINTS(stmt) /*nothing*/
     43830 #endif
     43831 
     43832+#include <nc_string.h>
     43833+
     43834 /*
     43835  * Options for terminal drivers, etc...
     43836  */
     43837@@ -325,6 +357,7 @@
    3488043838 #endif
    3488143839 
     
    3488543843 /*
    3488643844  * Reduce dependency on cur_term global by using terminfo data from SCREEN's
    34887 @@ -766,6 +789,11 @@
     43845@@ -365,7 +398,7 @@
     43846 #define if_EXT_COLORS(stmt)    stmt
     43847 #define SetPair(value,p)       SetPair2((value).ext_color, AttrOf(value), p)
     43848 #define SetPair2(c,a,p)                c = (p), \
     43849-                               a = (unColor2(a) | (A_COLOR & ColorPair(oldColor(c))))
     43850+                               a = (unColor2(a) | (A_COLOR & (unsigned) ColorPair(oldColor(c))))
     43851 #define GetPair(value)         GetPair2((value).ext_color, AttrOf(value))
     43852 #define GetPair2(c,a)          ((c) ? (c) : PairNumber(a))
     43853 #define oldColor(p)            (((p) > 255) ? 255 : (p))
     43854@@ -374,9 +407,9 @@
     43855 #define SameAttrOf(a,b)                (AttrOf(a) == AttrOf(b) && GetPair(a) == GetPair(b))
     43856 
     43857 #if NCURSES_SP_FUNCS
     43858-#define VIDATTR(sp,attr,pair)  NCURSES_SP_NAME(vid_attr)(sp, attr, pair, 0)
     43859+#define VIDATTR(sp,attr,pair)  NCURSES_SP_NAME(vid_attr)(sp, attr, (short) pair, 0)
     43860 #else
     43861-#define VIDATTR(sp,attr,pair)  vid_attr(attr, pair, 0)
     43862+#define VIDATTR(sp,attr,pair)  vid_attr(attr, (short) pair, 0)
     43863 #endif
     43864 
     43865 #else /* !NCURSES_EXT_COLORS */
     43866@@ -467,6 +500,9 @@
     43867 #  endif
     43868 #  define _declare(name)       __extension__ extern __typeof__(name) name
     43869 #  define weak_symbol(name)    _weak_pragma(name) _declare(name) __attribute__((weak))
     43870+#else
     43871+#  undef USE_WEAK_SYMBOLS
     43872+#  define USE_WEAK_SYMBOLS 0
     43873 #endif
     43874 #endif
     43875 
     43876@@ -665,6 +701,9 @@
     43877 #if USE_GPM_SUPPORT
     43878 #undef buttons                 /* term.h defines this, and gpm uses it! */
     43879 #include <gpm.h>
     43880+#if USE_WEAK_SYMBOLS
     43881+weak_symbol(Gpm_Wgetch);
     43882+#endif
     43883 
     43884 #ifdef HAVE_LIBDL
     43885 /* link dynamically to GPM */
     43886@@ -766,6 +805,11 @@
    3488843887 #define INIT_TERM_DRIVER()     /* nothing */
    3488943888 #endif
     
    3489743896  * Global data which is not specific to a screen.
    3489843897  */
    34899 @@ -776,7 +804,7 @@
     43898@@ -776,7 +820,7 @@
    3490043899        bool            init_signals;
    3490143900        bool            init_screen;
     
    3490643905 
    3490743906        bool            have_tic_directory;
    34908 @@ -798,6 +826,12 @@
     43907@@ -798,6 +842,12 @@
    3490943908        int             tgetent_index;
    3491043909        long            tgetent_sequence;
     
    3491943918        WINDOWLIST      *_nc_windowlist;
    3492043919 #define WindowList(sp) _nc_globals._nc_windowlist
    34921 @@ -1015,6 +1049,7 @@
     43920@@ -891,6 +941,7 @@
     43921        const char      *_tputs_trace;
     43922 #endif
     43923 #endif
     43924+       bool            use_tioctl;
     43925 } NCURSES_PRESCREEN;
     43926 
     43927 /*
     43928@@ -1015,6 +1066,7 @@
    3492243929        int             _pair_count;    /* count of color pairs              */
    3492343930        int             _pair_limit;    /* actual limit of color-pairs       */
     
    3492743934        bool            _has_sgr_39_49; /* has ECMA default color support    */
    3492843935        int             _default_fg;    /* assumed default foreground        */
    34929 @@ -1032,6 +1067,10 @@
     43936@@ -1032,6 +1084,10 @@
    3493043937        bool            _use_rmso;      /* true if we may use 'rmso'         */
    3493143938        bool            _use_rmul;      /* true if we may use 'rmul'         */
     
    3493843945         * These data correspond to the state of the idcok() and idlok()
    3493943946         * functions.  A caveat is in order here:  the XSI and SVr4
    34940 @@ -1055,7 +1094,9 @@
     43947@@ -1055,7 +1111,9 @@
    3494143948        void            (*_mouse_wrap)  (SCREEN *);
    3494243949        int             _mouse_fd;      /* file-descriptor, if any */
     
    3494943956        MEVENT          _mouse_events[EV_MAX];  /* hold the last mouse event seen */
    3495043957        MEVENT          *_mouse_eventp; /* next free slot in event queue */
    34951 @@ -1168,7 +1209,7 @@
     43958@@ -1102,6 +1160,7 @@
     43959         */
     43960 #if USE_SIZECHANGE
     43961        int             (*_resize)(NCURSES_SP_DCLx int y, int x);
     43962+       int             (*_ungetch)(SCREEN *, int);
     43963 #endif
     43964 
     43965        /*
     43966@@ -1159,6 +1218,8 @@
     43967         */
     43968        bool            _screen_acs_fix;
     43969 #endif
     43970+
     43971+       bool            _use_tioctl;
     43972 };
     43973 
     43974 extern NCURSES_EXPORT_VAR(SCREEN *) _nc_screen_chain;
     43975@@ -1168,7 +1229,7 @@
    3495243976        WINDOWLIST *next;
    3495343977        SCREEN *screen;         /* screen containing the window */
     
    3495843982        unsigned addch_used;    /* number of bytes in addch_work[] */
    3495943983        int addch_x;            /* x-position for addch_work[] */
    34960 @@ -1339,7 +1380,7 @@
     43984@@ -1339,7 +1400,7 @@
    3496143985                                        putc(PUTC_ch,b);                            \
    3496243986                                    break;                                          \
     
    3496743991                            COUNT_OUTCHARS(PUTC_i);                                 \
    3496843992                        } } } while (0)
    34969 @@ -1412,25 +1453,25 @@
     43993@@ -1412,25 +1473,25 @@
    3497043994 
    3497143995 #define CHANGED_CELL(line,col) \
     
    3500044024 #define SIZEOF(v) (sizeof(v)/sizeof(v[0]))
    3500144025 
    35002 @@ -1528,7 +1569,7 @@
     44026@@ -1528,7 +1589,7 @@
    3500344027 #define returnVoidPtr(code)    TRACE_RETURN(code,void_ptr)
    3500444028 #define returnWin(code)                TRACE_RETURN(code,win)
     
    3500944033 extern NCURSES_EXPORT(SCREEN *)         _nc_retrace_sp (SCREEN *);
    3501044034 extern NCURSES_EXPORT(WINDOW *)         _nc_retrace_win (WINDOW *);
    35011 @@ -1539,7 +1580,7 @@
     44035@@ -1539,7 +1600,7 @@
    3501244036 extern NCURSES_EXPORT(chtype)           _nc_retrace_chtype (chtype);
    3501344037 extern NCURSES_EXPORT(const char *)     _nc_altcharset_name(attr_t, chtype);
     
    3501844042 extern NCURSES_EXPORT(int)              _nc_retrace_int_attr_t (attr_t);
    3501944043 extern NCURSES_EXPORT(mmask_t)          _nc_retrace_mmask_t (SCREEN *, mmask_t);
    35020 @@ -1816,12 +1857,31 @@
     44044@@ -1816,12 +1877,31 @@
    3502144045 extern NCURSES_EXPORT(char *) _nc_get_locale(void);
    3502244046 extern NCURSES_EXPORT(int)    _nc_unicode_locale(void);
     
    3505244076 #if USE_SIGWINCH
    3505344077 extern NCURSES_EXPORT(int) _nc_handle_sigwinch(SCREEN *);
    35054 @@ -1875,16 +1935,16 @@
     44078@@ -1875,16 +1955,16 @@
    3505544079 extern NCURSES_EXPORT(int) _nc_baudrate (int);
    3505644080 extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *);
     
    3506444088 extern NCURSES_EXPORT(int) _nc_read_termcap_entry (const char *const, TERMTYPE *const);
    3506544089-extern NCURSES_EXPORT(int) _nc_setupscreen (int, int, FILE *, bool, int);
     44090 extern NCURSES_EXPORT(int) _nc_setup_tinfo(const char *, TERMTYPE *);
    3506644091+extern NCURSES_EXPORT(int) _nc_setupscreen (int, int, FILE *, int, int);
    35067  extern NCURSES_EXPORT(int) _nc_setup_tinfo(const char *, TERMTYPE *);
    3506844092 extern NCURSES_EXPORT(int) _nc_timed_wait (SCREEN *, int, int, int * EVENTLIST_2nd(_nc_eventlist *));
    3506944093-extern NCURSES_EXPORT(void) _nc_do_color (short, short, bool, NCURSES_OUTC);
     
    3507244096 extern NCURSES_EXPORT(void) _nc_free_and_exit (int) GCC_NORETURN;
    3507344097 extern NCURSES_EXPORT(void) _nc_free_entry (ENTRY *, TERMTYPE *);
    35074 @@ -1895,8 +1955,8 @@
     44098@@ -1895,8 +1975,9 @@
    3507544099 extern NCURSES_EXPORT(void) _nc_make_oldhash (int i);
    3507644100 extern NCURSES_EXPORT(void) _nc_scroll_oldhash (int n, int top, int bot);
     
    3507944103-extern NCURSES_EXPORT(void) _nc_signal_handler (bool);
    3508044104+extern NCURSES_EXPORT(void) _nc_set_buffer (FILE *, int);
     44105+extern NCURSES_EXPORT(void) _nc_setenv_num (const char *, int);
    3508144106+extern NCURSES_EXPORT(void) _nc_signal_handler (int);
    3508244107 extern NCURSES_EXPORT(void) _nc_synchook (WINDOW *);
    3508344108 extern NCURSES_EXPORT(void) _nc_trace_tries (TRIES *);
    3508444109 
    35085 @@ -1906,6 +1966,7 @@
     44110@@ -1905,7 +1986,9 @@
     44111 extern NCURSES_EXPORT(void) _nc_captoinfo_leaks(void);
    3508644112 extern NCURSES_EXPORT(void) _nc_codes_leaks(void);
    3508744113 extern NCURSES_EXPORT(void) _nc_comp_captab_leaks(void);
     44114+extern NCURSES_EXPORT(void) _nc_comp_error_leaks(void);
    3508844115 extern NCURSES_EXPORT(void) _nc_comp_scan_leaks(void);
    3508944116+extern NCURSES_EXPORT(void) _nc_db_iterator_leaks(void);
     
    3509144118 extern NCURSES_EXPORT(void) _nc_names_leaks(void);
    3509244119 extern NCURSES_EXPORT(void) _nc_tgetent_leaks(void);
    35093 @@ -1914,7 +1975,7 @@
     44120@@ -1914,7 +1997,7 @@
    3509444121 #if !(defined(USE_TERMLIB) || defined(USE_BUILD_CC))
    3509544122 extern NCURSES_EXPORT(NCURSES_CH_T) _nc_render (WINDOW *, NCURSES_CH_T);
     
    3510044127 
    3510144128 #if USE_WIDEC_SUPPORT
    35102 @@ -1947,7 +2008,7 @@
     44129@@ -1947,7 +2030,7 @@
    3510344130  */
    3510444131 #if USE_WIDEC_SUPPORT
     
    3510944136 #define check_mbytes(wch,buffer,length,state) \
    3511044137        (int) mbtowc(&wch, buffer, length)
    35111 @@ -2084,39 +2145,39 @@
     44138@@ -2084,39 +2167,39 @@
    3511244139 
    3511344140 typedef struct term_driver {
     
    3517044197 } TERM_DRIVER;
    3517144198 
    35172 @@ -2174,7 +2235,7 @@
     44199@@ -2174,7 +2257,7 @@
    3517344200  */
    3517444201 #ifdef USE_TERM_DRIVER
     
    3517944206        _nc_get_screensize(sp, tp, lp, cp)
    3518044207 #define TINFO_SET_CURTERM(sp, tp) \
    35181 @@ -2250,12 +2311,12 @@
     44208@@ -2250,12 +2333,12 @@
    3518244209 extern NCURSES_EXPORT(int)      NCURSES_SP_NAME(_nc_scr_restore)(SCREEN*, const char*);
    3518344210 extern NCURSES_EXPORT(int)      NCURSES_SP_NAME(_nc_scrolln)(SCREEN*, int, int, int, int);
     
    3519444221 extern NCURSES_EXPORT(void)     NCURSES_SP_NAME(_nc_flush)(SCREEN*);
    3519544222 extern NCURSES_EXPORT(void)     NCURSES_SP_NAME(_nc_free_and_exit)(SCREEN*, int) GCC_NORETURN;
    35196 @@ -2271,7 +2332,7 @@
     44223@@ -2271,7 +2354,7 @@
    3519744224 extern NCURSES_EXPORT(void)     NCURSES_SP_NAME(_nc_screen_wrap)(SCREEN*);
    3519844225 extern NCURSES_EXPORT(void)     NCURSES_SP_NAME(_nc_scroll_oldhash)(SCREEN*, int n, int top, int bot);
     
    3520344230 extern NCURSES_EXPORT(void)     _nc_cookie_init(SCREEN *sp);
    3520444231 
     44232diff -Naur ncurses-5.9.orig/ncurses/fifo_defs.h ncurses-5.9/ncurses/fifo_defs.h
     44233--- ncurses-5.9.orig/ncurses/fifo_defs.h        2012-08-25 19:57:59.416567535 +0000
     44234+++ ncurses-5.9/ncurses/fifo_defs.h     2012-08-25 19:58:02.199887706 +0000
     44235@@ -1,5 +1,5 @@
     44236 /****************************************************************************
     44237- * Copyright (c) 1998-2002,2008 Free Software Foundation, Inc.              *
     44238+ * Copyright (c) 1998-2008,2012 Free Software Foundation, Inc.              *
     44239  *                                                                          *
     44240  * Permission is hereby granted, free of charge, to any person obtaining a  *
     44241  * copy of this software and associated documentation files (the            *
     44242@@ -34,7 +34,7 @@
     44243 /*
     44244  * Common macros for lib_getch.c, lib_ungetch.c
     44245  *
     44246- * $Id: fifo_defs.h,v 1.6 2008/06/28 15:52:32 tom Exp $
     44247+ * $Id: fifo_defs.h,v 1.7 2012/08/04 15:59:17 tom Exp $
     44248  */
     44249 
     44250 #ifndef FIFO_DEFS_H
     44251@@ -45,14 +45,42 @@
     44252 /* peek points to next uninterpreted character */
     44253 #define peek   sp->_fifopeek
     44254 
     44255-#define h_inc() { head == FIFO_SIZE-1 ? head = 0 : head++; if (head == tail) head = -1, tail = 0;}
     44256-#define h_dec() { head == 0 ? head = FIFO_SIZE-1 : head--; if (head == tail) tail = -1;}
     44257-#define t_inc() { tail == FIFO_SIZE-1 ? tail = 0 : tail++; if (tail == head) tail = -1;}
     44258-#define t_dec() { tail == 0 ? tail = FIFO_SIZE-1 : tail--; if (head == tail) fifo_clear(sp);}
     44259-#define p_inc() { peek == FIFO_SIZE-1 ? peek = 0 : peek++;}
     44260+#define h_inc() { \
     44261+           (head >= FIFO_SIZE-1) \
     44262+               ? head = 0 \
     44263+               : head++; \
     44264+           if (head == tail) \
     44265+               head = -1, tail = 0; \
     44266+       }
     44267+#define h_dec() { \
     44268+           (head <= 0) \
     44269+               ? head = FIFO_SIZE-1 \
     44270+               : head--; \
     44271+           if (head == tail) \
     44272+               tail = -1; \
     44273+       }
     44274+#define t_inc() { \
     44275+           (tail >= FIFO_SIZE-1) \
     44276+               ? tail = 0 \
     44277+               : tail++; \
     44278+           if (tail == head) \
     44279+               tail = -1; \
     44280+           }
     44281+#define t_dec() { \
     44282+           (tail <= 0) \
     44283+               ? tail = FIFO_SIZE-1 \
     44284+               : tail--; \
     44285+           if (head == tail) \
     44286+               fifo_clear(sp); \
     44287+           }
     44288+#define p_inc() { \
     44289+           (peek >= FIFO_SIZE-1) \
     44290+               ? peek = 0 \
     44291+               : peek++; \
     44292+           }
     44293 
     44294-#define cooked_key_in_fifo()   ((head != -1) && (peek != head))
     44295-#define raw_key_in_fifo()      ((head != -1) && (peek != tail))
     44296+#define cooked_key_in_fifo()   ((head >= 0) && (peek != head))
     44297+#define raw_key_in_fifo()      ((head >= 0) && (peek != tail))
     44298 
     44299 #undef HIDE_EINTR
     44300 
     44301diff -Naur ncurses-5.9.orig/ncurses/llib-lncurses ncurses-5.9/ncurses/llib-lncurses
     44302--- ncurses-5.9.orig/ncurses/llib-lncurses      2012-08-25 19:57:59.416567535 +0000
     44303+++ ncurses-5.9/ncurses/llib-lncurses   2012-08-25 19:58:01.939888937 +0000
     44304@@ -3369,6 +3369,17 @@
     44305                NCURSES_BOOL f)
     44306                { /* void */ }
     44307 
     44308+#undef use_tioctl_sp
     44309+void   use_tioctl_sp(
     44310+               SCREEN  *sp,
     44311+               NCURSES_BOOL f)
     44312+               { /* void */ }
     44313+
     44314+#undef use_tioctl
     44315+void   use_tioctl(
     44316+               NCURSES_BOOL f)
     44317+               { /* void */ }
     44318+
     44319 #undef _nc_get_screensize
     44320 void   _nc_get_screensize(
     44321                SCREEN  *sp,
     44322diff -Naur ncurses-5.9.orig/ncurses/llib-lncursest ncurses-5.9/ncurses/llib-lncursest
     44323--- ncurses-5.9.orig/ncurses/llib-lncursest     2012-08-25 19:57:59.419900852 +0000
     44324+++ ncurses-5.9/ncurses/llib-lncursest  2012-08-25 19:58:01.939888937 +0000
     44325@@ -3449,6 +3449,17 @@
     44326                NCURSES_BOOL f)
     44327                { /* void */ }
     44328 
     44329+#undef use_tioctl_sp
     44330+void   use_tioctl_sp(
     44331+               SCREEN  *sp,
     44332+               NCURSES_BOOL f)
     44333+               { /* void */ }
     44334+
     44335+#undef use_tioctl
     44336+void   use_tioctl(
     44337+               NCURSES_BOOL f)
     44338+               { /* void */ }
     44339+
     44340 #undef _nc_get_screensize
     44341 void   _nc_get_screensize(
     44342                SCREEN  *sp,
     44343diff -Naur ncurses-5.9.orig/ncurses/llib-lncursestw ncurses-5.9/ncurses/llib-lncursestw
     44344--- ncurses-5.9.orig/ncurses/llib-lncursestw    2012-08-25 19:57:59.419900852 +0000
     44345+++ ncurses-5.9/ncurses/llib-lncursestw 2012-08-25 19:58:01.996555329 +0000
     44346@@ -4234,6 +4234,17 @@
     44347                NCURSES_BOOL f)
     44348                { /* void */ }
     44349 
     44350+#undef use_tioctl_sp
     44351+void   use_tioctl_sp(
     44352+               SCREEN  *sp,
     44353+               NCURSES_BOOL f)
     44354+               { /* void */ }
     44355+
     44356+#undef use_tioct
     44357+void   use_tioct(
     44358+               NCURSES_BOOL f)
     44359+               { /* void */ }
     44360+
     44361 #undef _nc_get_screensize
     44362 void   _nc_get_screensize(
     44363                SCREEN  *sp,
     44364diff -Naur ncurses-5.9.orig/ncurses/llib-lncursesw ncurses-5.9/ncurses/llib-lncursesw
     44365--- ncurses-5.9.orig/ncurses/llib-lncursesw     2012-08-25 19:57:59.416567535 +0000
     44366+++ ncurses-5.9/ncurses/llib-lncursesw  2012-08-25 19:58:01.996555329 +0000
     44367@@ -4154,6 +4154,17 @@
     44368                NCURSES_BOOL f)
     44369                { /* void */ }
     44370 
     44371+#undef use_tioctl_sp
     44372+void   use_tioctl_sp(
     44373+               SCREEN  *sp,
     44374+               NCURSES_BOOL f)
     44375+               { /* void */ }
     44376+
     44377+#undef use_tioctl
     44378+void   use_tioctl(
     44379+               NCURSES_BOOL f)
     44380+               { /* void */ }
     44381+
     44382 #undef _nc_get_screensize
     44383 void   _nc_get_screensize(
     44384                SCREEN  *sp,
     44385diff -Naur ncurses-5.9.orig/ncurses/llib-ltic ncurses-5.9/ncurses/llib-ltic
     44386--- ncurses-5.9.orig/ncurses/llib-ltic  1970-01-01 00:00:00.000000000 +0000
     44387+++ ncurses-5.9/ncurses/llib-ltic       2012-08-25 19:58:01.856555996 +0000
     44388@@ -0,0 +1,212 @@
     44389+/****************************************************************************
     44390+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     44391+ *                                                                          *
     44392+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     44393+ * copy of this software and associated documentation files (the            *
     44394+ * "Software"), to deal in the Software without restriction, including      *
     44395+ * without limitation the rights to use, copy, modify, merge, publish,      *
     44396+ * distribute, distribute with modifications, sublicense, and/or sell       *
     44397+ * copies of the Software, and to permit persons to whom the Software is    *
     44398+ * furnished to do so, subject to the following conditions:                 *
     44399+ *                                                                          *
     44400+ * The above copyright notice and this permission notice shall be included  *
     44401+ * in all copies or substantial portions of the Software.                   *
     44402+ *                                                                          *
     44403+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     44404+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     44405+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     44406+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     44407+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     44408+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     44409+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     44410+ *                                                                          *
     44411+ * Except as contained in this notice, the name(s) of the above copyright   *
     44412+ * holders shall not be used in advertising or otherwise to promote the     *
     44413+ * sale, use or other dealings in this Software without prior written       *
     44414+ * authorization.                                                           *
     44415+ ****************************************************************************/
     44416+
     44417+/****************************************************************************
     44418+ *  Author: Thomas E. Dickey 2012                                           *
     44419+ ****************************************************************************/
     44420+/* LINTLIBRARY */
     44421+
     44422+/* ./tinfo/alloc_entry.c */
     44423+
     44424+#include <curses.priv.h>
     44425+#include <tic.h>
     44426+
     44427+#undef _nc_init_entry
     44428+void   _nc_init_entry(
     44429+               TERMTYPE *const tp)
     44430+               { /* void */ }
     44431+
     44432+#undef _nc_copy_entry
     44433+ENTRY  *_nc_copy_entry(
     44434+               ENTRY   *oldp)
     44435+               { return(*(ENTRY **)0); }
     44436+
     44437+#undef _nc_save_str
     44438+char   *_nc_save_str(
     44439+               const char *const string)
     44440+               { return(*(char **)0); }
     44441+
     44442+#undef _nc_wrap_entry
     44443+void   _nc_wrap_entry(
     44444+               ENTRY   *const ep,
     44445+               NCURSES_BOOL copy_strings)
     44446+               { /* void */ }
     44447+
     44448+#undef _nc_merge_entry
     44449+void   _nc_merge_entry(
     44450+               TERMTYPE *const to,
     44451+               TERMTYPE *const from)
     44452+               { /* void */ }
     44453+
     44454+/* ./tinfo/captoinfo.c */
     44455+
     44456+#include <ctype.h>
     44457+
     44458+#undef _nc_captoinfo
     44459+char   *_nc_captoinfo(
     44460+               const char *cap,
     44461+               const char *s,
     44462+               int const parameterized)
     44463+               { return(*(char **)0); }
     44464+
     44465+#undef _nc_infotocap
     44466+char   *_nc_infotocap(
     44467+               const char *cap,
     44468+               const char *str,
     44469+               int const parameterized)
     44470+               { return(*(char **)0); }
     44471+
     44472+/* ./tinfo/comp_expand.c */
     44473+
     44474+#undef _nc_tic_expand
     44475+char   *_nc_tic_expand(
     44476+               const char *srcp,
     44477+               NCURSES_BOOL tic_format,
     44478+               int     numbers)
     44479+               { return(*(char **)0); }
     44480+
     44481+/* ./tinfo/comp_parse.c */
     44482+
     44483+#undef _nc_check_termtype2
     44484+void   (*_nc_check_termtype2)(
     44485+               TERMTYPE *p1,
     44486+               NCURSES_BOOL p2);
     44487+#undef _nc_check_termtype
     44488+void   (*_nc_check_termtype)(
     44489+               TERMTYPE *p1);
     44490+
     44491+#undef _nc_entry_match
     44492+NCURSES_BOOL _nc_entry_match(
     44493+               char    *n1,
     44494+               char    *n2)
     44495+               { return(*(NCURSES_BOOL *)0); }
     44496+
     44497+#undef _nc_read_entry_source
     44498+void   _nc_read_entry_source(
     44499+               FILE    *fp,
     44500+               char    *buf,
     44501+               int     literal,
     44502+               NCURSES_BOOL silent,
     44503+               NCURSES_BOOL (*hook)(
     44504+               ENTRY   *p1))
     44505+               { /* void */ }
     44506+
     44507+#undef _nc_resolve_uses2
     44508+int    _nc_resolve_uses2(
     44509+               NCURSES_BOOL fullresolve,
     44510+               NCURSES_BOOL literal)
     44511+               { return(*(int *)0); }
     44512+
     44513+#undef _nc_resolve_uses
     44514+int    _nc_resolve_uses(
     44515+               NCURSES_BOOL fullresolve)
     44516+               { return(*(int *)0); }
     44517+
     44518+/* ./tinfo/comp_scan.c */
     44519+
     44520+#undef _nc_syntax
     44521+int    _nc_syntax;
     44522+#undef _nc_strict_bsd
     44523+int    _nc_strict_bsd;
     44524+#undef _nc_curr_file_pos
     44525+long   _nc_curr_file_pos;
     44526+#undef _nc_comment_start
     44527+long   _nc_comment_start;
     44528+#undef _nc_comment_end
     44529+long   _nc_comment_end;
     44530+#undef _nc_start_line
     44531+long   _nc_start_line;
     44532+#undef _nc_curr_token
     44533+struct token _nc_curr_token;
     44534+#undef _nc_disable_period
     44535+NCURSES_BOOL _nc_disable_period;
     44536+
     44537+#undef _nc_reset_input
     44538+void   _nc_reset_input(
     44539+               FILE    *fp,
     44540+               char    *buf)
     44541+               { /* void */ }
     44542+
     44543+#undef _nc_get_token
     44544+int    _nc_get_token(
     44545+               NCURSES_BOOL silent)
     44546+               { return(*(int *)0); }
     44547+
     44548+#undef _nc_trans_string
     44549+int    _nc_trans_string(
     44550+               char    *ptr,
     44551+               char    *last)
     44552+               { return(*(int *)0); }
     44553+
     44554+#undef _nc_push_token
     44555+void   _nc_push_token(
     44556+               int     tokclass)
     44557+               { /* void */ }
     44558+
     44559+#undef _nc_panic_mode
     44560+void   _nc_panic_mode(
     44561+               char    ch)
     44562+               { /* void */ }
     44563+
     44564+/* ./tinfo/parse_entry.c */
     44565+
     44566+#undef _nc_parse_entry
     44567+int    _nc_parse_entry(
     44568+               struct entry *entryp,
     44569+               int     literal,
     44570+               NCURSES_BOOL silent)
     44571+               { return(*(int *)0); }
     44572+
     44573+#undef _nc_capcmp
     44574+int    _nc_capcmp(
     44575+               const char *s,
     44576+               const char *t)
     44577+               { return(*(int *)0); }
     44578+
     44579+typedef struct {
     44580+    const char *from;
     44581+    const char *to;
     44582+} assoc;
     44583+
     44584+/* ./tinfo/write_entry.c */
     44585+
     44586+#include <hashed_db.h>
     44587+
     44588+#undef _nc_set_writedir
     44589+void   _nc_set_writedir(
     44590+               char    *dir)
     44591+               { /* void */ }
     44592+
     44593+#undef _nc_write_entry
     44594+void   _nc_write_entry(
     44595+               TERMTYPE *const tp)
     44596+               { /* void */ }
     44597+
     44598+#undef _nc_tic_written
     44599+int    _nc_tic_written(void)
     44600+               { return(*(int *)0); }
     44601diff -Naur ncurses-5.9.orig/ncurses/llib-ltictw ncurses-5.9/ncurses/llib-ltictw
     44602--- ncurses-5.9.orig/ncurses/llib-ltictw        1970-01-01 00:00:00.000000000 +0000
     44603+++ ncurses-5.9/ncurses/llib-ltictw     2012-08-25 19:58:01.856555996 +0000
     44604@@ -0,0 +1,212 @@
     44605+/****************************************************************************
     44606+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     44607+ *                                                                          *
     44608+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     44609+ * copy of this software and associated documentation files (the            *
     44610+ * "Software"), to deal in the Software without restriction, including      *
     44611+ * without limitation the rights to use, copy, modify, merge, publish,      *
     44612+ * distribute, distribute with modifications, sublicense, and/or sell       *
     44613+ * copies of the Software, and to permit persons to whom the Software is    *
     44614+ * furnished to do so, subject to the following conditions:                 *
     44615+ *                                                                          *
     44616+ * The above copyright notice and this permission notice shall be included  *
     44617+ * in all copies or substantial portions of the Software.                   *
     44618+ *                                                                          *
     44619+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     44620+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     44621+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     44622+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     44623+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     44624+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     44625+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     44626+ *                                                                          *
     44627+ * Except as contained in this notice, the name(s) of the above copyright   *
     44628+ * holders shall not be used in advertising or otherwise to promote the     *
     44629+ * sale, use or other dealings in this Software without prior written       *
     44630+ * authorization.                                                           *
     44631+ ****************************************************************************/
     44632+
     44633+/****************************************************************************
     44634+ *  Author: Thomas E. Dickey 2012                                           *
     44635+ ****************************************************************************/
     44636+/* LINTLIBRARY */
     44637+
     44638+/* ./tinfo/alloc_entry.c */
     44639+
     44640+#include <curses.priv.h>
     44641+#include <tic.h>
     44642+
     44643+#undef _nc_init_entry
     44644+void   _nc_init_entry(
     44645+               TERMTYPE *const tp)
     44646+               { /* void */ }
     44647+
     44648+#undef _nc_copy_entry
     44649+ENTRY  *_nc_copy_entry(
     44650+               ENTRY   *oldp)
     44651+               { return(*(ENTRY **)0); }
     44652+
     44653+#undef _nc_save_str
     44654+char   *_nc_save_str(
     44655+               const char *const string)
     44656+               { return(*(char **)0); }
     44657+
     44658+#undef _nc_wrap_entry
     44659+void   _nc_wrap_entry(
     44660+               ENTRY   *const ep,
     44661+               NCURSES_BOOL copy_strings)
     44662+               { /* void */ }
     44663+
     44664+#undef _nc_merge_entry
     44665+void   _nc_merge_entry(
     44666+               TERMTYPE *const to,
     44667+               TERMTYPE *const from)
     44668+               { /* void */ }
     44669+
     44670+/* ./tinfo/captoinfo.c */
     44671+
     44672+#include <ctype.h>
     44673+
     44674+#undef _nc_captoinfo
     44675+char   *_nc_captoinfo(
     44676+               const char *cap,
     44677+               const char *s,
     44678+               int const parameterized)
     44679+               { return(*(char **)0); }
     44680+
     44681+#undef _nc_infotocap
     44682+char   *_nc_infotocap(
     44683+               const char *cap,
     44684+               const char *str,
     44685+               int const parameterized)
     44686+               { return(*(char **)0); }
     44687+
     44688+/* ./tinfo/comp_expand.c */
     44689+
     44690+#undef _nc_tic_expand
     44691+char   *_nc_tic_expand(
     44692+               const char *srcp,
     44693+               NCURSES_BOOL tic_format,
     44694+               int     numbers)
     44695+               { return(*(char **)0); }
     44696+
     44697+/* ./tinfo/comp_parse.c */
     44698+
     44699+#undef _nc_check_termtype2
     44700+void   (*_nc_check_termtype2)(
     44701+               TERMTYPE *p1,
     44702+               NCURSES_BOOL p2);
     44703+#undef _nc_check_termtype
     44704+void   (*_nc_check_termtype)(
     44705+               TERMTYPE *p1);
     44706+
     44707+#undef _nc_entry_match
     44708+NCURSES_BOOL _nc_entry_match(
     44709+               char    *n1,
     44710+               char    *n2)
     44711+               { return(*(NCURSES_BOOL *)0); }
     44712+
     44713+#undef _nc_read_entry_source
     44714+void   _nc_read_entry_source(
     44715+               FILE    *fp,
     44716+               char    *buf,
     44717+               int     literal,
     44718+               NCURSES_BOOL silent,
     44719+               NCURSES_BOOL (*hook)(
     44720+               ENTRY   *p1))
     44721+               { /* void */ }
     44722+
     44723+#undef _nc_resolve_uses2
     44724+int    _nc_resolve_uses2(
     44725+               NCURSES_BOOL fullresolve,
     44726+               NCURSES_BOOL literal)
     44727+               { return(*(int *)0); }
     44728+
     44729+#undef _nc_resolve_uses
     44730+int    _nc_resolve_uses(
     44731+               NCURSES_BOOL fullresolve)
     44732+               { return(*(int *)0); }
     44733+
     44734+/* ./tinfo/comp_scan.c */
     44735+
     44736+#undef _nc_syntax
     44737+int    _nc_syntax;
     44738+#undef _nc_strict_bsd
     44739+int    _nc_strict_bsd;
     44740+#undef _nc_curr_file_pos
     44741+long   _nc_curr_file_pos;
     44742+#undef _nc_comment_start
     44743+long   _nc_comment_start;
     44744+#undef _nc_comment_end
     44745+long   _nc_comment_end;
     44746+#undef _nc_start_line
     44747+long   _nc_start_line;
     44748+#undef _nc_curr_token
     44749+struct token _nc_curr_token;
     44750+#undef _nc_disable_period
     44751+NCURSES_BOOL _nc_disable_period;
     44752+
     44753+#undef _nc_reset_input
     44754+void   _nc_reset_input(
     44755+               FILE    *fp,
     44756+               char    *buf)
     44757+               { /* void */ }
     44758+
     44759+#undef _nc_get_token
     44760+int    _nc_get_token(
     44761+               NCURSES_BOOL silent)
     44762+               { return(*(int *)0); }
     44763+
     44764+#undef _nc_trans_string
     44765+int    _nc_trans_string(
     44766+               char    *ptr,
     44767+               char    *last)
     44768+               { return(*(int *)0); }
     44769+
     44770+#undef _nc_push_token
     44771+void   _nc_push_token(
     44772+               int     tokclass)
     44773+               { /* void */ }
     44774+
     44775+#undef _nc_panic_mode
     44776+void   _nc_panic_mode(
     44777+               char    ch)
     44778+               { /* void */ }
     44779+
     44780+/* ./tinfo/parse_entry.c */
     44781+
     44782+#undef _nc_parse_entry
     44783+int    _nc_parse_entry(
     44784+               struct entry *entryp,
     44785+               int     literal,
     44786+               NCURSES_BOOL silent)
     44787+               { return(*(int *)0); }
     44788+
     44789+#undef _nc_capcmp
     44790+int    _nc_capcmp(
     44791+               const char *s,
     44792+               const char *t)
     44793+               { return(*(int *)0); }
     44794+
     44795+typedef struct {
     44796+    const char *from;
     44797+    const char *to;
     44798+} assoc;
     44799+
     44800+/* ./tinfo/write_entry.c */
     44801+
     44802+#include <hashed_db.h>
     44803+
     44804+#undef _nc_set_writedir
     44805+void   _nc_set_writedir(
     44806+               char    *dir)
     44807+               { /* void */ }
     44808+
     44809+#undef _nc_write_entry
     44810+void   _nc_write_entry(
     44811+               TERMTYPE *const tp)
     44812+               { /* void */ }
     44813+
     44814+#undef _nc_tic_written
     44815+int    _nc_tic_written(void)
     44816+               { return(*(int *)0); }
     44817diff -Naur ncurses-5.9.orig/ncurses/llib-lticw ncurses-5.9/ncurses/llib-lticw
     44818--- ncurses-5.9.orig/ncurses/llib-lticw 1970-01-01 00:00:00.000000000 +0000
     44819+++ ncurses-5.9/ncurses/llib-lticw      2012-08-25 19:58:01.856555996 +0000
     44820@@ -0,0 +1,212 @@
     44821+/****************************************************************************
     44822+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     44823+ *                                                                          *
     44824+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     44825+ * copy of this software and associated documentation files (the            *
     44826+ * "Software"), to deal in the Software without restriction, including      *
     44827+ * without limitation the rights to use, copy, modify, merge, publish,      *
     44828+ * distribute, distribute with modifications, sublicense, and/or sell       *
     44829+ * copies of the Software, and to permit persons to whom the Software is    *
     44830+ * furnished to do so, subject to the following conditions:                 *
     44831+ *                                                                          *
     44832+ * The above copyright notice and this permission notice shall be included  *
     44833+ * in all copies or substantial portions of the Software.                   *
     44834+ *                                                                          *
     44835+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     44836+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     44837+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     44838+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     44839+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     44840+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     44841+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     44842+ *                                                                          *
     44843+ * Except as contained in this notice, the name(s) of the above copyright   *
     44844+ * holders shall not be used in advertising or otherwise to promote the     *
     44845+ * sale, use or other dealings in this Software without prior written       *
     44846+ * authorization.                                                           *
     44847+ ****************************************************************************/
     44848+
     44849+/****************************************************************************
     44850+ *  Author: Thomas E. Dickey 2012                                           *
     44851+ ****************************************************************************/
     44852+/* LINTLIBRARY */
     44853+
     44854+/* ./tinfo/alloc_entry.c */
     44855+
     44856+#include <curses.priv.h>
     44857+#include <tic.h>
     44858+
     44859+#undef _nc_init_entry
     44860+void   _nc_init_entry(
     44861+               TERMTYPE *const tp)
     44862+               { /* void */ }
     44863+
     44864+#undef _nc_copy_entry
     44865+ENTRY  *_nc_copy_entry(
     44866+               ENTRY   *oldp)
     44867+               { return(*(ENTRY **)0); }
     44868+
     44869+#undef _nc_save_str
     44870+char   *_nc_save_str(
     44871+               const char *const string)
     44872+               { return(*(char **)0); }
     44873+
     44874+#undef _nc_wrap_entry
     44875+void   _nc_wrap_entry(
     44876+               ENTRY   *const ep,
     44877+               NCURSES_BOOL copy_strings)
     44878+               { /* void */ }
     44879+
     44880+#undef _nc_merge_entry
     44881+void   _nc_merge_entry(
     44882+               TERMTYPE *const to,
     44883+               TERMTYPE *const from)
     44884+               { /* void */ }
     44885+
     44886+/* ./tinfo/captoinfo.c */
     44887+
     44888+#include <ctype.h>
     44889+
     44890+#undef _nc_captoinfo
     44891+char   *_nc_captoinfo(
     44892+               const char *cap,
     44893+               const char *s,
     44894+               int const parameterized)
     44895+               { return(*(char **)0); }
     44896+
     44897+#undef _nc_infotocap
     44898+char   *_nc_infotocap(
     44899+               const char *cap,
     44900+               const char *str,
     44901+               int const parameterized)
     44902+               { return(*(char **)0); }
     44903+
     44904+/* ./tinfo/comp_expand.c */
     44905+
     44906+#undef _nc_tic_expand
     44907+char   *_nc_tic_expand(
     44908+               const char *srcp,
     44909+               NCURSES_BOOL tic_format,
     44910+               int     numbers)
     44911+               { return(*(char **)0); }
     44912+
     44913+/* ./tinfo/comp_parse.c */
     44914+
     44915+#undef _nc_check_termtype2
     44916+void   (*_nc_check_termtype2)(
     44917+               TERMTYPE *p1,
     44918+               NCURSES_BOOL p2);
     44919+#undef _nc_check_termtype
     44920+void   (*_nc_check_termtype)(
     44921+               TERMTYPE *p1);
     44922+
     44923+#undef _nc_entry_match
     44924+NCURSES_BOOL _nc_entry_match(
     44925+               char    *n1,
     44926+               char    *n2)
     44927+               { return(*(NCURSES_BOOL *)0); }
     44928+
     44929+#undef _nc_read_entry_source
     44930+void   _nc_read_entry_source(
     44931+               FILE    *fp,
     44932+               char    *buf,
     44933+               int     literal,
     44934+               NCURSES_BOOL silent,
     44935+               NCURSES_BOOL (*hook)(
     44936+               ENTRY   *p1))
     44937+               { /* void */ }
     44938+
     44939+#undef _nc_resolve_uses2
     44940+int    _nc_resolve_uses2(
     44941+               NCURSES_BOOL fullresolve,
     44942+               NCURSES_BOOL literal)
     44943+               { return(*(int *)0); }
     44944+
     44945+#undef _nc_resolve_uses
     44946+int    _nc_resolve_uses(
     44947+               NCURSES_BOOL fullresolve)
     44948+               { return(*(int *)0); }
     44949+
     44950+/* ./tinfo/comp_scan.c */
     44951+
     44952+#undef _nc_syntax
     44953+int    _nc_syntax;
     44954+#undef _nc_strict_bsd
     44955+int    _nc_strict_bsd;
     44956+#undef _nc_curr_file_pos
     44957+long   _nc_curr_file_pos;
     44958+#undef _nc_comment_start
     44959+long   _nc_comment_start;
     44960+#undef _nc_comment_end
     44961+long   _nc_comment_end;
     44962+#undef _nc_start_line
     44963+long   _nc_start_line;
     44964+#undef _nc_curr_token
     44965+struct token _nc_curr_token;
     44966+#undef _nc_disable_period
     44967+NCURSES_BOOL _nc_disable_period;
     44968+
     44969+#undef _nc_reset_input
     44970+void   _nc_reset_input(
     44971+               FILE    *fp,
     44972+               char    *buf)
     44973+               { /* void */ }
     44974+
     44975+#undef _nc_get_token
     44976+int    _nc_get_token(
     44977+               NCURSES_BOOL silent)
     44978+               { return(*(int *)0); }
     44979+
     44980+#undef _nc_trans_string
     44981+int    _nc_trans_string(
     44982+               char    *ptr,
     44983+               char    *last)
     44984+               { return(*(int *)0); }
     44985+
     44986+#undef _nc_push_token
     44987+void   _nc_push_token(
     44988+               int     tokclass)
     44989+               { /* void */ }
     44990+
     44991+#undef _nc_panic_mode
     44992+void   _nc_panic_mode(
     44993+               char    ch)
     44994+               { /* void */ }
     44995+
     44996+/* ./tinfo/parse_entry.c */
     44997+
     44998+#undef _nc_parse_entry
     44999+int    _nc_parse_entry(
     45000+               struct entry *entryp,
     45001+               int     literal,
     45002+               NCURSES_BOOL silent)
     45003+               { return(*(int *)0); }
     45004+
     45005+#undef _nc_capcmp
     45006+int    _nc_capcmp(
     45007+               const char *s,
     45008+               const char *t)
     45009+               { return(*(int *)0); }
     45010+
     45011+typedef struct {
     45012+    const char *from;
     45013+    const char *to;
     45014+} assoc;
     45015+
     45016+/* ./tinfo/write_entry.c */
     45017+
     45018+#include <hashed_db.h>
     45019+
     45020+#undef _nc_set_writedir
     45021+void   _nc_set_writedir(
     45022+               char    *dir)
     45023+               { /* void */ }
     45024+
     45025+#undef _nc_write_entry
     45026+void   _nc_write_entry(
     45027+               TERMTYPE *const tp)
     45028+               { /* void */ }
     45029+
     45030+#undef _nc_tic_written
     45031+int    _nc_tic_written(void)
     45032+               { return(*(int *)0); }
     45033diff -Naur ncurses-5.9.orig/ncurses/llib-ltinfo ncurses-5.9/ncurses/llib-ltinfo
     45034--- ncurses-5.9.orig/ncurses/llib-ltinfo        1970-01-01 00:00:00.000000000 +0000
     45035+++ ncurses-5.9/ncurses/llib-ltinfo     2012-08-25 19:58:01.999888649 +0000
     45036@@ -0,0 +1,1504 @@
     45037+/****************************************************************************
     45038+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     45039+ *                                                                          *
     45040+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     45041+ * copy of this software and associated documentation files (the            *
     45042+ * "Software"), to deal in the Software without restriction, including      *
     45043+ * without limitation the rights to use, copy, modify, merge, publish,      *
     45044+ * distribute, distribute with modifications, sublicense, and/or sell       *
     45045+ * copies of the Software, and to permit persons to whom the Software is    *
     45046+ * furnished to do so, subject to the following conditions:                 *
     45047+ *                                                                          *
     45048+ * The above copyright notice and this permission notice shall be included  *
     45049+ * in all copies or substantial portions of the Software.                   *
     45050+ *                                                                          *
     45051+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     45052+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     45053+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     45054+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     45055+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     45056+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     45057+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     45058+ *                                                                          *
     45059+ * Except as contained in this notice, the name(s) of the above copyright   *
     45060+ * holders shall not be used in advertising or otherwise to promote the     *
     45061+ * sale, use or other dealings in this Software without prior written       *
     45062+ * authorization.                                                           *
     45063+ ****************************************************************************/
     45064+
     45065+/****************************************************************************
     45066+ *  Author: Thomas E. Dickey 2012                                           *
     45067+ ****************************************************************************/
     45068+/* LINTLIBRARY */
     45069+
     45070+/* ./tinfo/access.c */
     45071+
     45072+#include <curses.priv.h>
     45073+#include <ctype.h>
     45074+#include <tic.h>
     45075+
     45076+#undef _nc_rootname
     45077+char   *_nc_rootname(
     45078+               char    *path)
     45079+               { return(*(char **)0); }
     45080+
     45081+#undef _nc_is_abs_path
     45082+NCURSES_BOOL _nc_is_abs_path(
     45083+               const char *path)
     45084+               { return(*(NCURSES_BOOL *)0); }
     45085+
     45086+#undef _nc_pathlast
     45087+unsigned _nc_pathlast(
     45088+               const char *path)
     45089+               { return(*(unsigned *)0); }
     45090+
     45091+#undef _nc_basename
     45092+char   *_nc_basename(
     45093+               char    *path)
     45094+               { return(*(char **)0); }
     45095+
     45096+#undef _nc_access
     45097+int    _nc_access(
     45098+               const char *path,
     45099+               int     mode)
     45100+               { return(*(int *)0); }
     45101+
     45102+#undef _nc_is_dir_path
     45103+NCURSES_BOOL _nc_is_dir_path(
     45104+               const char *path)
     45105+               { return(*(NCURSES_BOOL *)0); }
     45106+
     45107+#undef _nc_is_file_path
     45108+NCURSES_BOOL _nc_is_file_path(
     45109+               const char *path)
     45110+               { return(*(NCURSES_BOOL *)0); }
     45111+
     45112+#undef _nc_env_access
     45113+int    _nc_env_access(void)
     45114+               { return(*(int *)0); }
     45115+
     45116+/* ./tinfo/add_tries.c */
     45117+
     45118+#undef _nc_add_to_try
     45119+int    _nc_add_to_try(
     45120+               TRIES   **tree,
     45121+               const char *str,
     45122+               unsigned code)
     45123+               { return(*(int *)0); }
     45124+
     45125+/* ./tinfo/alloc_ttype.c */
     45126+
     45127+#undef _nc_align_termtype
     45128+void   _nc_align_termtype(
     45129+               TERMTYPE *to,
     45130+               TERMTYPE *from)
     45131+               { /* void */ }
     45132+
     45133+#undef _nc_copy_termtype
     45134+void   _nc_copy_termtype(
     45135+               TERMTYPE *dst,
     45136+               const TERMTYPE *src)
     45137+               { /* void */ }
     45138+
     45139+/* ./codes.c */
     45140+
     45141+#undef boolcodes
     45142+char   *const boolcodes[] = {0};
     45143+#undef numcodes
     45144+char   *const numcodes[] = {0};
     45145+#undef strcodes
     45146+char   *const strcodes[] = {0};
     45147+
     45148+/* ./comp_captab.c */
     45149+
     45150+#include <hashsize.h>
     45151+
     45152+#undef _nc_get_table
     45153+const struct name_table_entry *_nc_get_table(
     45154+               NCURSES_BOOL termcap)
     45155+               { return(*(const struct name_table_entry **)0); }
     45156+
     45157+#undef _nc_get_hash_table
     45158+const HashValue *_nc_get_hash_table(
     45159+               NCURSES_BOOL termcap)
     45160+               { return(*(const HashValue **)0); }
     45161+
     45162+#undef _nc_get_alias_table
     45163+const struct alias *_nc_get_alias_table(
     45164+               NCURSES_BOOL termcap)
     45165+               { return(*(const struct alias **)0); }
     45166+
     45167+#undef _nc_get_hash_info
     45168+const HashData *_nc_get_hash_info(
     45169+               NCURSES_BOOL termcap)
     45170+               { return(*(const HashData **)0); }
     45171+
     45172+/* ./tinfo/comp_error.c */
     45173+
     45174+#undef _nc_suppress_warnings
     45175+NCURSES_BOOL _nc_suppress_warnings;
     45176+#undef _nc_curr_line
     45177+int    _nc_curr_line;
     45178+#undef _nc_curr_col
     45179+int    _nc_curr_col;
     45180+
     45181+#undef _nc_get_source
     45182+const char *_nc_get_source(void)
     45183+               { return(*(const char **)0); }
     45184+
     45185+#undef _nc_set_source
     45186+void   _nc_set_source(
     45187+               const char *const name)
     45188+               { /* void */ }
     45189+
     45190+#undef _nc_set_type
     45191+void   _nc_set_type(
     45192+               const char *const name)
     45193+               { /* void */ }
     45194+
     45195+#undef _nc_get_type
     45196+void   _nc_get_type(
     45197+               char    *name)
     45198+               { /* void */ }
     45199+
     45200+#undef _nc_warning
     45201+void   _nc_warning(
     45202+               const char *const fmt,
     45203+               ...)
     45204+               { /* void */ }
     45205+
     45206+#undef _nc_err_abort
     45207+void   _nc_err_abort(
     45208+               const char *const fmt,
     45209+               ...)
     45210+               { /* void */ }
     45211+
     45212+#undef _nc_syserr_abort
     45213+void   _nc_syserr_abort(
     45214+               const char *const fmt,
     45215+               ...)
     45216+               { /* void */ }
     45217+
     45218+/* ./tinfo/comp_hash.c */
     45219+
     45220+#undef _nc_find_entry
     45221+struct name_table_entry const *_nc_find_entry(
     45222+               const char *string,
     45223+               const HashValue *hash_table)
     45224+               { return(*(struct name_table_entry const **)0); }
     45225+
     45226+#undef _nc_find_type_entry
     45227+struct name_table_entry const *_nc_find_type_entry(
     45228+               const char *string,
     45229+               int     type,
     45230+               NCURSES_BOOL termcap)
     45231+               { return(*(struct name_table_entry const **)0); }
     45232+
     45233+/* ./tinfo/db_iterator.c */
     45234+
     45235+#include <time.h>
     45236+
     45237+#undef _nc_tic_dir
     45238+const char *_nc_tic_dir(
     45239+               const char *path)
     45240+               { return(*(const char **)0); }
     45241+
     45242+#undef _nc_keep_tic_dir
     45243+void   _nc_keep_tic_dir(
     45244+               const char *path)
     45245+               { /* void */ }
     45246+
     45247+#undef _nc_last_db
     45248+void   _nc_last_db(void)
     45249+               { /* void */ }
     45250+
     45251+#undef _nc_next_db
     45252+const char *_nc_next_db(
     45253+               DBDIRS  *state,
     45254+               int     *offset)
     45255+               { return(*(const char **)0); }
     45256+
     45257+#undef _nc_first_db
     45258+void   _nc_first_db(
     45259+               DBDIRS  *state,
     45260+               int     *offset)
     45261+               { /* void */ }
     45262+
     45263+/* ./tinfo/doalloc.c */
     45264+
     45265+#undef _nc_doalloc
     45266+void   *_nc_doalloc(
     45267+               void    *oldp,
     45268+               size_t  amount)
     45269+               { return(*(void **)0); }
     45270+
     45271+/* ./tinfo/entries.c */
     45272+
     45273+#undef _nc_head
     45274+ENTRY  *_nc_head;
     45275+#undef _nc_tail
     45276+ENTRY  *_nc_tail;
     45277+
     45278+#undef _nc_free_entry
     45279+void   _nc_free_entry(
     45280+               ENTRY   *headp,
     45281+               TERMTYPE *tterm)
     45282+               { /* void */ }
     45283+
     45284+#undef _nc_free_entries
     45285+void   _nc_free_entries(
     45286+               ENTRY   *headp)
     45287+               { /* void */ }
     45288+
     45289+#undef _nc_delink_entry
     45290+ENTRY  *_nc_delink_entry(
     45291+               ENTRY   *headp,
     45292+               TERMTYPE *tterm)
     45293+               { return(*(ENTRY **)0); }
     45294+
     45295+#undef _nc_leaks_tinfo
     45296+void   _nc_leaks_tinfo(void)
     45297+               { /* void */ }
     45298+
     45299+/* ./fallback.c */
     45300+
     45301+#undef _nc_fallback
     45302+const TERMTYPE *_nc_fallback(
     45303+               const char *name)
     45304+               { return(*(const TERMTYPE **)0); }
     45305+
     45306+/* ./tinfo/free_ttype.c */
     45307+
     45308+#undef _nc_free_termtype
     45309+void   _nc_free_termtype(
     45310+               TERMTYPE *ptr)
     45311+               { /* void */ }
     45312+
     45313+#undef _nc_user_definable
     45314+NCURSES_BOOL _nc_user_definable;
     45315+
     45316+#undef use_extended_names
     45317+int    use_extended_names(
     45318+               NCURSES_BOOL flag)
     45319+               { return(*(int *)0); }
     45320+
     45321+/* ./tinfo/getenv_num.c */
     45322+
     45323+#undef _nc_getenv_num
     45324+int    _nc_getenv_num(
     45325+               const char *name)
     45326+               { return(*(int *)0); }
     45327+
     45328+/* ./tinfo/home_terminfo.c */
     45329+
     45330+#undef _nc_home_terminfo
     45331+char   *_nc_home_terminfo(void)
     45332+               { return(*(char **)0); }
     45333+
     45334+/* ./tinfo/init_keytry.c */
     45335+
     45336+#if 0
     45337+
     45338+#include <init_keytry.h>
     45339+
     45340+#undef _nc_tinfo_fkeys
     45341+const struct tinfo_fkeys _nc_tinfo_fkeys[] = {0};
     45342+
     45343+#endif
     45344+
     45345+#undef _nc_init_keytry
     45346+void   _nc_init_keytry(
     45347+               SCREEN  *sp)
     45348+               { /* void */ }
     45349+
     45350+/* ./tinfo/lib_acs.c */
     45351+
     45352+#undef acs_map
     45353+chtype acs_map[128];
     45354+
     45355+#undef _nc_init_acs_sp
     45356+void   _nc_init_acs_sp(
     45357+               SCREEN  *sp)
     45358+               { /* void */ }
     45359+
     45360+#undef _nc_init_acs
     45361+void   _nc_init_acs(void)
     45362+               { /* void */ }
     45363+
     45364+/* ./tinfo/lib_baudrate.c */
     45365+
     45366+#include <termcap.h>
     45367+
     45368+struct speed {
     45369+    int s;
     45370+    int sp;
     45371+};
     45372+
     45373+#undef _nc_baudrate
     45374+int    _nc_baudrate(
     45375+               int     OSpeed)
     45376+               { return(*(int *)0); }
     45377+
     45378+#undef _nc_ospeed
     45379+int    _nc_ospeed(
     45380+               int     BaudRate)
     45381+               { return(*(int *)0); }
     45382+
     45383+#undef baudrate_sp
     45384+int    baudrate_sp(
     45385+               SCREEN  *sp)
     45386+               { return(*(int *)0); }
     45387+
     45388+#undef baudrate
     45389+int    baudrate(void)
     45390+               { return(*(int *)0); }
     45391+
     45392+/* ./tinfo/lib_cur_term.c */
     45393+
     45394+#undef cur_term
     45395+TERMINAL *cur_term;
     45396+
     45397+#undef set_curterm_sp
     45398+TERMINAL *set_curterm_sp(
     45399+               SCREEN  *sp,
     45400+               TERMINAL *termp)
     45401+               { return(*(TERMINAL **)0); }
     45402+
     45403+#undef set_curterm
     45404+TERMINAL *set_curterm(
     45405+               TERMINAL *termp)
     45406+               { return(*(TERMINAL **)0); }
     45407+
     45408+#undef del_curterm_sp
     45409+int    del_curterm_sp(
     45410+               SCREEN  *sp,
     45411+               TERMINAL *termp)
     45412+               { return(*(int *)0); }
     45413+
     45414+#undef del_curterm
     45415+int    del_curterm(
     45416+               TERMINAL *termp)
     45417+               { return(*(int *)0); }
     45418+
     45419+/* ./tinfo/lib_data.c */
     45420+
     45421+#undef stdscr
     45422+WINDOW *stdscr;
     45423+#undef curscr
     45424+WINDOW *curscr;
     45425+#undef newscr
     45426+WINDOW *newscr;
     45427+#undef _nc_screen_chain
     45428+SCREEN *_nc_screen_chain;
     45429+#undef SP
     45430+SCREEN *SP;
     45431+#undef _nc_globals
     45432+NCURSES_GLOBALS _nc_globals;
     45433+#undef _nc_prescreen
     45434+NCURSES_PRESCREEN _nc_prescreen;
     45435+
     45436+#undef _nc_screen_of
     45437+SCREEN *_nc_screen_of(
     45438+               WINDOW  *win)
     45439+               { return(*(SCREEN **)0); }
     45440+
     45441+/* ./tinfo/lib_has_cap.c */
     45442+
     45443+#undef has_ic_sp
     45444+NCURSES_BOOL has_ic_sp(
     45445+               SCREEN  *sp)
     45446+               { return(*(NCURSES_BOOL *)0); }
     45447+
     45448+#undef has_ic
     45449+NCURSES_BOOL has_ic(void)
     45450+               { return(*(NCURSES_BOOL *)0); }
     45451+
     45452+#undef has_il_sp
     45453+NCURSES_BOOL has_il_sp(
     45454+               SCREEN  *sp)
     45455+               { return(*(NCURSES_BOOL *)0); }
     45456+
     45457+#undef has_il
     45458+NCURSES_BOOL has_il(void)
     45459+               { return(*(NCURSES_BOOL *)0); }
     45460+
     45461+/* ./tinfo/lib_kernel.c */
     45462+
     45463+#undef erasechar_sp
     45464+char   erasechar_sp(
     45465+               SCREEN  *sp)
     45466+               { return(*(char *)0); }
     45467+
     45468+#undef erasechar
     45469+char   erasechar(void)
     45470+               { return(*(char *)0); }
     45471+
     45472+#undef killchar_sp
     45473+char   killchar_sp(
     45474+               SCREEN  *sp)
     45475+               { return(*(char *)0); }
     45476+
     45477+#undef killchar
     45478+char   killchar(void)
     45479+               { return(*(char *)0); }
     45480+
     45481+#undef flushinp_sp
     45482+int    flushinp_sp(
     45483+               SCREEN  *sp)
     45484+               { return(*(int *)0); }
     45485+
     45486+#undef flushinp
     45487+int    flushinp(void)
     45488+               { return(*(int *)0); }
     45489+
     45490+/* ./lib_keyname.c */
     45491+
     45492+struct kn { short offset; int code; };
     45493+
     45494+#undef keyname_sp
     45495+char   *keyname_sp(
     45496+               SCREEN  *sp,
     45497+               int     c)
     45498+               { return(*(char **)0); }
     45499+
     45500+#undef keyname
     45501+char   *keyname(
     45502+               int     c)
     45503+               { return(*(char **)0); }
     45504+
     45505+/* ./tinfo/lib_longname.c */
     45506+
     45507+#undef longname
     45508+char   *longname(void)
     45509+               { return(*(char **)0); }
     45510+
     45511+/* ./tinfo/lib_napms.c */
     45512+
     45513+#include <sys/time.h>
     45514+
     45515+#undef napms_sp
     45516+int    napms_sp(
     45517+               SCREEN  *sp,
     45518+               int     ms)
     45519+               { return(*(int *)0); }
     45520+
     45521+#undef napms
     45522+int    napms(
     45523+               int     ms)
     45524+               { return(*(int *)0); }
     45525+
     45526+/* ./tinfo/lib_options.c */
     45527+
     45528+#undef idlok
     45529+int    idlok(
     45530+               WINDOW  *win,
     45531+               NCURSES_BOOL flag)
     45532+               { return(*(int *)0); }
     45533+
     45534+#undef idcok
     45535+void   idcok(
     45536+               WINDOW  *win,
     45537+               NCURSES_BOOL flag)
     45538+               { /* void */ }
     45539+
     45540+#undef halfdelay_sp
     45541+int    halfdelay_sp(
     45542+               SCREEN  *sp,
     45543+               int     t)
     45544+               { return(*(int *)0); }
     45545+
     45546+#undef halfdelay
     45547+int    halfdelay(
     45548+               int     t)
     45549+               { return(*(int *)0); }
     45550+
     45551+#undef nodelay
     45552+int    nodelay(
     45553+               WINDOW  *win,
     45554+               NCURSES_BOOL flag)
     45555+               { return(*(int *)0); }
     45556+
     45557+#undef notimeout
     45558+int    notimeout(
     45559+               WINDOW  *win,
     45560+               NCURSES_BOOL f)
     45561+               { return(*(int *)0); }
     45562+
     45563+#undef wtimeout
     45564+void   wtimeout(
     45565+               WINDOW  *win,
     45566+               int     delay)
     45567+               { /* void */ }
     45568+
     45569+#undef keypad
     45570+int    keypad(
     45571+               WINDOW  *win,
     45572+               NCURSES_BOOL flag)
     45573+               { return(*(int *)0); }
     45574+
     45575+#undef meta
     45576+int    meta(
     45577+               WINDOW  *win,
     45578+               NCURSES_BOOL flag)
     45579+               { return(*(int *)0); }
     45580+
     45581+#undef curs_set_sp
     45582+int    curs_set_sp(
     45583+               SCREEN  *sp,
     45584+               int     vis)
     45585+               { return(*(int *)0); }
     45586+
     45587+#undef curs_set
     45588+int    curs_set(
     45589+               int     vis)
     45590+               { return(*(int *)0); }
     45591+
     45592+#undef typeahead_sp
     45593+int    typeahead_sp(
     45594+               SCREEN  *sp,
     45595+               int     fd)
     45596+               { return(*(int *)0); }
     45597+
     45598+#undef typeahead
     45599+int    typeahead(
     45600+               int     fd)
     45601+               { return(*(int *)0); }
     45602+
     45603+#undef has_key_sp
     45604+int    has_key_sp(
     45605+               SCREEN  *sp,
     45606+               int     keycode)
     45607+               { return(*(int *)0); }
     45608+
     45609+#undef has_key
     45610+int    has_key(
     45611+               int     keycode)
     45612+               { return(*(int *)0); }
     45613+
     45614+#undef _nc_putp_flush_sp
     45615+int    _nc_putp_flush_sp(
     45616+               SCREEN  *sp,
     45617+               const char *name,
     45618+               const char *value)
     45619+               { return(*(int *)0); }
     45620+
     45621+#undef _nc_keypad
     45622+int    _nc_keypad(
     45623+               SCREEN  *sp,
     45624+               int     flag)
     45625+               { return(*(int *)0); }
     45626+
     45627+/* ./tinfo/lib_raw.c */
     45628+
     45629+#undef raw_sp
     45630+int    raw_sp(
     45631+               SCREEN  *sp)
     45632+               { return(*(int *)0); }
     45633+
     45634+#undef raw
     45635+int    raw(void)
     45636+               { return(*(int *)0); }
     45637+
     45638+#undef cbreak_sp
     45639+int    cbreak_sp(
     45640+               SCREEN  *sp)
     45641+               { return(*(int *)0); }
     45642+
     45643+#undef cbreak
     45644+int    cbreak(void)
     45645+               { return(*(int *)0); }
     45646+
     45647+#undef qiflush_sp
     45648+void   qiflush_sp(
     45649+               SCREEN  *sp)
     45650+               { /* void */ }
     45651+
     45652+#undef qiflush
     45653+void   qiflush(void)
     45654+               { /* void */ }
     45655+
     45656+#undef noraw_sp
     45657+int    noraw_sp(
     45658+               SCREEN  *sp)
     45659+               { return(*(int *)0); }
     45660+
     45661+#undef noraw
     45662+int    noraw(void)
     45663+               { return(*(int *)0); }
     45664+
     45665+#undef nocbreak_sp
     45666+int    nocbreak_sp(
     45667+               SCREEN  *sp)
     45668+               { return(*(int *)0); }
     45669+
     45670+#undef nocbreak
     45671+int    nocbreak(void)
     45672+               { return(*(int *)0); }
     45673+
     45674+#undef noqiflush_sp
     45675+void   noqiflush_sp(
     45676+               SCREEN  *sp)
     45677+               { /* void */ }
     45678+
     45679+#undef noqiflush
     45680+void   noqiflush(void)
     45681+               { /* void */ }
     45682+
     45683+#undef intrflush_sp
     45684+int    intrflush_sp(
     45685+               SCREEN  *sp,
     45686+               WINDOW  *win,
     45687+               NCURSES_BOOL flag)
     45688+               { return(*(int *)0); }
     45689+
     45690+#undef intrflush
     45691+int    intrflush(
     45692+               WINDOW  *win,
     45693+               NCURSES_BOOL flag)
     45694+               { return(*(int *)0); }
     45695+
     45696+/* ./tinfo/lib_setup.c */
     45697+
     45698+#include <locale.h>
     45699+#include <sys/ioctl.h>
     45700+#include <langinfo.h>
     45701+
     45702+#undef ttytype
     45703+char   ttytype[256];
     45704+#undef LINES
     45705+int    LINES;
     45706+#undef COLS
     45707+int    COLS;
     45708+#undef TABSIZE
     45709+int    TABSIZE;
     45710+
     45711+#undef set_tabsize_sp
     45712+int    set_tabsize_sp(
     45713+               SCREEN  *sp,
     45714+               int     value)
     45715+               { return(*(int *)0); }
     45716+
     45717+#undef set_tabsize
     45718+int    set_tabsize(
     45719+               int     value)
     45720+               { return(*(int *)0); }
     45721+
     45722+#undef _nc_handle_sigwinch
     45723+int    _nc_handle_sigwinch(
     45724+               SCREEN  *sp)
     45725+               { return(*(int *)0); }
     45726+
     45727+#undef use_env_sp
     45728+void   use_env_sp(
     45729+               SCREEN  *sp,
     45730+               NCURSES_BOOL f)
     45731+               { /* void */ }
     45732+
     45733+#undef use_env
     45734+void   use_env(
     45735+               NCURSES_BOOL f)
     45736+               { /* void */ }
     45737+
     45738+#undef use_tioctl_sp
     45739+void   use_tioctl_sp(
     45740+               SCREEN  *sp,
     45741+               NCURSES_BOOL f)
     45742+               { /* void */ }
     45743+
     45744+#undef use_tioctl
     45745+void   use_tioctl(
     45746+               NCURSES_BOOL f)
     45747+               { /* void */ }
     45748+
     45749+#undef _nc_get_screensize
     45750+void   _nc_get_screensize(
     45751+               SCREEN  *sp,
     45752+               int     *linep,
     45753+               int     *colp)
     45754+               { /* void */ }
     45755+
     45756+#undef _nc_update_screensize
     45757+void   _nc_update_screensize(
     45758+               SCREEN  *sp)
     45759+               { /* void */ }
     45760+
     45761+#undef _nc_setup_tinfo
     45762+int    _nc_setup_tinfo(
     45763+               const char *const tn,
     45764+               TERMTYPE *const tp)
     45765+               { return(*(int *)0); }
     45766+
     45767+#undef _nc_tinfo_cmdch
     45768+void   _nc_tinfo_cmdch(
     45769+               TERMINAL *termp,
     45770+               int     proto)
     45771+               { /* void */ }
     45772+
     45773+#undef _nc_get_locale
     45774+char   *_nc_get_locale(void)
     45775+               { return(*(char **)0); }
     45776+
     45777+#undef _nc_unicode_locale
     45778+int    _nc_unicode_locale(void)
     45779+               { return(*(int *)0); }
     45780+
     45781+#undef _nc_locale_breaks_acs
     45782+int    _nc_locale_breaks_acs(
     45783+               TERMINAL *termp)
     45784+               { return(*(int *)0); }
     45785+
     45786+#undef _nc_setupterm
     45787+int    _nc_setupterm(
     45788+               char    *tname,
     45789+               int     Filedes,
     45790+               int     *errret,
     45791+               int     reuse)
     45792+               { return(*(int *)0); }
     45793+
     45794+#undef new_prescr
     45795+SCREEN *new_prescr(void)
     45796+               { return(*(SCREEN **)0); }
     45797+
     45798+#undef setupterm
     45799+int    setupterm(
     45800+               char    *tname,
     45801+               int     Filedes,
     45802+               int     *errret)
     45803+               { return(*(int *)0); }
     45804+
     45805+/* ./tinfo/lib_termcap.c */
     45806+
     45807+#undef UP
     45808+char   *UP;
     45809+#undef BC
     45810+char   *BC;
     45811+
     45812+#undef tgetent_sp
     45813+int    tgetent_sp(
     45814+               SCREEN  *sp,
     45815+               char    *bufp,
     45816+               const char *name)
     45817+               { return(*(int *)0); }
     45818+
     45819+#if 0
     45820+
     45821+#include <capdefaults.c>
     45822+
     45823+#endif
     45824+
     45825+#undef tgetent
     45826+int    tgetent(
     45827+               char    *bufp,
     45828+               const char *name)
     45829+               { return(*(int *)0); }
     45830+
     45831+#undef tgetflag_sp
     45832+int    tgetflag_sp(
     45833+               SCREEN  *sp,
     45834+               char    *id)
     45835+               { return(*(int *)0); }
     45836+
     45837+#undef tgetflag
     45838+int    tgetflag(
     45839+               char    *id)
     45840+               { return(*(int *)0); }
     45841+
     45842+#undef tgetnum_sp
     45843+int    tgetnum_sp(
     45844+               SCREEN  *sp,
     45845+               char    *id)
     45846+               { return(*(int *)0); }
     45847+
     45848+#undef tgetnum
     45849+int    tgetnum(
     45850+               char    *id)
     45851+               { return(*(int *)0); }
     45852+
     45853+#undef tgetstr_sp
     45854+char   *tgetstr_sp(
     45855+               SCREEN  *sp,
     45856+               char    *id,
     45857+               char    **area)
     45858+               { return(*(char **)0); }
     45859+
     45860+#undef tgetstr
     45861+char   *tgetstr(
     45862+               char    *id,
     45863+               char    **area)
     45864+               { return(*(char **)0); }
     45865+
     45866+/* ./tinfo/lib_termname.c */
     45867+
     45868+#undef termname_sp
     45869+char   *termname_sp(
     45870+               SCREEN  *sp)
     45871+               { return(*(char **)0); }
     45872+
     45873+#undef termname
     45874+char   *termname(void)
     45875+               { return(*(char **)0); }
     45876+
     45877+/* ./tinfo/lib_tgoto.c */
     45878+
     45879+#undef tgoto
     45880+char   *tgoto(
     45881+               const char *string,
     45882+               int     x,
     45883+               int     y)
     45884+               { return(*(char **)0); }
     45885+
     45886+/* ./tinfo/lib_ti.c */
     45887+
     45888+#undef tigetflag_sp
     45889+int    tigetflag_sp(
     45890+               SCREEN  *sp,
     45891+               char    *str)
     45892+               { return(*(int *)0); }
     45893+
     45894+#undef tigetflag
     45895+int    tigetflag(
     45896+               char    *str)
     45897+               { return(*(int *)0); }
     45898+
     45899+#undef tigetnum_sp
     45900+int    tigetnum_sp(
     45901+               SCREEN  *sp,
     45902+               char    *str)
     45903+               { return(*(int *)0); }
     45904+
     45905+#undef tigetnum
     45906+int    tigetnum(
     45907+               char    *str)
     45908+               { return(*(int *)0); }
     45909+
     45910+#undef tigetstr_sp
     45911+char   *tigetstr_sp(
     45912+               SCREEN  *sp,
     45913+               char    *str)
     45914+               { return(*(char **)0); }
     45915+
     45916+#undef tigetstr
     45917+char   *tigetstr(
     45918+               char    *str)
     45919+               { return(*(char **)0); }
     45920+
     45921+/* ./tinfo/lib_tparm.c */
     45922+
     45923+#undef _nc_tparm_err
     45924+int    _nc_tparm_err;
     45925+
     45926+#undef _nc_tparm_analyze
     45927+int    _nc_tparm_analyze(
     45928+               const char *string,
     45929+               char    *p_is_s[9],
     45930+               int     *popcount)
     45931+               { return(*(int *)0); }
     45932+
     45933+#undef tparm
     45934+char   *tparm(
     45935+               char    *string,
     45936+               ...)
     45937+               { return(*(char **)0); }
     45938+
     45939+#undef tiparm
     45940+char   *tiparm(
     45941+               const char *string,
     45942+               ...)
     45943+               { return(*(char **)0); }
     45944+
     45945+/* ./tinfo/lib_tputs.c */
     45946+
     45947+#undef PC
     45948+char   PC;
     45949+#undef ospeed
     45950+short  ospeed;
     45951+#undef _nc_nulls_sent
     45952+int    _nc_nulls_sent;
     45953+
     45954+#undef _nc_set_no_padding
     45955+void   _nc_set_no_padding(
     45956+               SCREEN  *sp)
     45957+               { /* void */ }
     45958+
     45959+#undef delay_output_sp
     45960+int    delay_output_sp(
     45961+               SCREEN  *sp,
     45962+               int     ms)
     45963+               { return(*(int *)0); }
     45964+
     45965+#undef delay_output
     45966+int    delay_output(
     45967+               int     ms)
     45968+               { return(*(int *)0); }
     45969+
     45970+#undef _nc_flush_sp
     45971+void   _nc_flush_sp(
     45972+               SCREEN  *sp)
     45973+               { /* void */ }
     45974+
     45975+#undef _nc_flush
     45976+void   _nc_flush(void)
     45977+               { /* void */ }
     45978+
     45979+#undef _nc_outch_sp
     45980+int    _nc_outch_sp(
     45981+               SCREEN  *sp,
     45982+               int     ch)
     45983+               { return(*(int *)0); }
     45984+
     45985+#undef _nc_outch
     45986+int    _nc_outch(
     45987+               int     ch)
     45988+               { return(*(int *)0); }
     45989+
     45990+#undef putp_sp
     45991+int    putp_sp(
     45992+               SCREEN  *sp,
     45993+               const char *string)
     45994+               { return(*(int *)0); }
     45995+
     45996+#undef _nc_putp_sp
     45997+int    _nc_putp_sp(
     45998+               SCREEN  *sp,
     45999+               const char *name,
     46000+               const char *string)
     46001+               { return(*(int *)0); }
     46002+
     46003+#undef putp
     46004+int    putp(
     46005+               const char *string)
     46006+               { return(*(int *)0); }
     46007+
     46008+#undef _nc_putp
     46009+int    _nc_putp(
     46010+               const char *name,
     46011+               const char *string)
     46012+               { return(*(int *)0); }
     46013+
     46014+#undef tputs_sp
     46015+int    tputs_sp(
     46016+               SCREEN  *sp,
     46017+               const char *string,
     46018+               int     affcnt,
     46019+               NCURSES_OUTC_sp outc)
     46020+               { return(*(int *)0); }
     46021+
     46022+#undef _nc_outc_wrapper
     46023+int    _nc_outc_wrapper(
     46024+               SCREEN  *sp,
     46025+               int     c)
     46026+               { return(*(int *)0); }
     46027+
     46028+#undef tputs
     46029+int    tputs(
     46030+               const char *string,
     46031+               int     affcnt,
     46032+               int     (*outc)(
     46033+               int     p1))
     46034+               { return(*(int *)0); }
     46035+
     46036+/* ./trace/lib_trace.c */
     46037+
     46038+#undef _nc_tracing
     46039+unsigned _nc_tracing;
     46040+#undef _nc_tputs_trace
     46041+const char *_nc_tputs_trace = {0};
     46042+#undef _nc_outchars
     46043+long   _nc_outchars;
     46044+
     46045+#undef trace
     46046+void   trace(
     46047+               const unsigned int tracelevel)
     46048+               { /* void */ }
     46049+
     46050+#undef _tracef
     46051+void   _tracef(
     46052+               const char *fmt,
     46053+               ...)
     46054+               { /* void */ }
     46055+
     46056+#undef _nc_retrace_bool
     46057+NCURSES_BOOL _nc_retrace_bool(
     46058+               int     code)
     46059+               { return(*(NCURSES_BOOL *)0); }
     46060+
     46061+#undef _nc_retrace_char
     46062+char   _nc_retrace_char(
     46063+               int     code)
     46064+               { return(*(char *)0); }
     46065+
     46066+#undef _nc_retrace_int
     46067+int    _nc_retrace_int(
     46068+               int     code)
     46069+               { return(*(int *)0); }
     46070+
     46071+#undef _nc_retrace_unsigned
     46072+unsigned _nc_retrace_unsigned(
     46073+               unsigned code)
     46074+               { return(*(unsigned *)0); }
     46075+
     46076+#undef _nc_retrace_ptr
     46077+char   *_nc_retrace_ptr(
     46078+               char    *code)
     46079+               { return(*(char **)0); }
     46080+
     46081+#undef _nc_retrace_cptr
     46082+const char *_nc_retrace_cptr(
     46083+               const char *code)
     46084+               { return(*(const char **)0); }
     46085+
     46086+#undef _nc_retrace_cvoid_ptr
     46087+void   *_nc_retrace_cvoid_ptr(
     46088+               void    *code)
     46089+               { return(*(void **)0); }
     46090+
     46091+#undef _nc_retrace_void_ptr
     46092+void   *_nc_retrace_void_ptr(
     46093+               void    *code)
     46094+               { return(*(void **)0); }
     46095+
     46096+#undef _nc_retrace_sp
     46097+SCREEN *_nc_retrace_sp(
     46098+               SCREEN  *code)
     46099+               { return(*(SCREEN **)0); }
     46100+
     46101+#undef _nc_retrace_win
     46102+WINDOW *_nc_retrace_win(
     46103+               WINDOW  *code)
     46104+               { return(*(WINDOW **)0); }
     46105+
     46106+/* ./trace/lib_traceatr.c */
     46107+
     46108+#undef _traceattr2
     46109+char   *_traceattr2(
     46110+               int     bufnum,
     46111+               chtype  newmode)
     46112+               { return(*(char **)0); }
     46113+
     46114+#undef _traceattr
     46115+char   *_traceattr(
     46116+               attr_t  newmode)
     46117+               { return(*(char **)0); }
     46118+
     46119+#undef _nc_retrace_int_attr_t
     46120+int    _nc_retrace_int_attr_t(
     46121+               attr_t  code)
     46122+               { return(*(int *)0); }
     46123+
     46124+#undef _nc_retrace_attr_t
     46125+attr_t _nc_retrace_attr_t(
     46126+               attr_t  code)
     46127+               { return(*(attr_t *)0); }
     46128+
     46129+#undef _nc_altcharset_name
     46130+const char *_nc_altcharset_name(
     46131+               attr_t  attr,
     46132+               chtype  ch)
     46133+               { return(*(const char **)0); }
     46134+
     46135+#undef _tracechtype2
     46136+char   *_tracechtype2(
     46137+               int     bufnum,
     46138+               chtype  ch)
     46139+               { return(*(char **)0); }
     46140+
     46141+#undef _tracechtype
     46142+char   *_tracechtype(
     46143+               chtype  ch)
     46144+               { return(*(char **)0); }
     46145+
     46146+#undef _nc_retrace_chtype
     46147+chtype _nc_retrace_chtype(
     46148+               chtype  code)
     46149+               { return(*(chtype *)0); }
     46150+
     46151+/* ./trace/lib_tracebits.c */
     46152+
     46153+typedef struct {
     46154+    unsigned int val;
     46155+    const char *name;
     46156+} BITNAMES;
     46157+
     46158+#undef _nc_trace_ttymode
     46159+char   *_nc_trace_ttymode(
     46160+               struct termios *tty)
     46161+               { return(*(char **)0); }
     46162+
     46163+#undef _nc_tracebits
     46164+char   *_nc_tracebits(void)
     46165+               { return(*(char **)0); }
     46166+
     46167+/* ./trace/lib_tracechr.c */
     46168+
     46169+#undef _nc_tracechar
     46170+char   *_nc_tracechar(
     46171+               SCREEN  *sp,
     46172+               int     ch)
     46173+               { return(*(char **)0); }
     46174+
     46175+#undef _tracechar
     46176+char   *_tracechar(
     46177+               int     ch)
     46178+               { return(*(char **)0); }
     46179+
     46180+/* ./tinfo/lib_ttyflags.c */
     46181+
     46182+#undef _nc_get_tty_mode_sp
     46183+int    _nc_get_tty_mode_sp(
     46184+               SCREEN  *sp,
     46185+               struct termios *buf)
     46186+               { return(*(int *)0); }
     46187+
     46188+#undef _nc_get_tty_mode
     46189+int    _nc_get_tty_mode(
     46190+               struct termios *buf)
     46191+               { return(*(int *)0); }
     46192+
     46193+#undef _nc_set_tty_mode_sp
     46194+int    _nc_set_tty_mode_sp(
     46195+               SCREEN  *sp,
     46196+               struct termios *buf)
     46197+               { return(*(int *)0); }
     46198+
     46199+#undef _nc_set_tty_mode
     46200+int    _nc_set_tty_mode(
     46201+               struct termios *buf)
     46202+               { return(*(int *)0); }
     46203+
     46204+#undef def_shell_mode_sp
     46205+int    def_shell_mode_sp(
     46206+               SCREEN  *sp)
     46207+               { return(*(int *)0); }
     46208+
     46209+#undef def_shell_mode
     46210+int    def_shell_mode(void)
     46211+               { return(*(int *)0); }
     46212+
     46213+#undef def_prog_mode_sp
     46214+int    def_prog_mode_sp(
     46215+               SCREEN  *sp)
     46216+               { return(*(int *)0); }
     46217+
     46218+#undef def_prog_mode
     46219+int    def_prog_mode(void)
     46220+               { return(*(int *)0); }
     46221+
     46222+#undef reset_prog_mode_sp
     46223+int    reset_prog_mode_sp(
     46224+               SCREEN  *sp)
     46225+               { return(*(int *)0); }
     46226+
     46227+#undef reset_prog_mode
     46228+int    reset_prog_mode(void)
     46229+               { return(*(int *)0); }
     46230+
     46231+#undef reset_shell_mode_sp
     46232+int    reset_shell_mode_sp(
     46233+               SCREEN  *sp)
     46234+               { return(*(int *)0); }
     46235+
     46236+#undef reset_shell_mode
     46237+int    reset_shell_mode(void)
     46238+               { return(*(int *)0); }
     46239+
     46240+#undef savetty_sp
     46241+int    savetty_sp(
     46242+               SCREEN  *sp)
     46243+               { return(*(int *)0); }
     46244+
     46245+#undef savetty
     46246+int    savetty(void)
     46247+               { return(*(int *)0); }
     46248+
     46249+#undef resetty_sp
     46250+int    resetty_sp(
     46251+               SCREEN  *sp)
     46252+               { return(*(int *)0); }
     46253+
     46254+#undef resetty
     46255+int    resetty(void)
     46256+               { return(*(int *)0); }
     46257+
     46258+/* ./tty/lib_twait.c */
     46259+
     46260+#undef _nc_timed_wait
     46261+int    _nc_timed_wait(
     46262+               SCREEN  *sp,
     46263+               int     mode,
     46264+               int     milliseconds,
     46265+               int     *timeleft)
     46266+               { return(*(int *)0); }
     46267+
     46268+/* ./tinfo/name_match.c */
     46269+
     46270+#undef _nc_first_name
     46271+char   *_nc_first_name(
     46272+               const char *const sp)
     46273+               { return(*(char **)0); }
     46274+
     46275+#undef _nc_name_match
     46276+int    _nc_name_match(
     46277+               const char *const namelst,
     46278+               const char *const name,
     46279+               const char *const delim)
     46280+               { return(*(int *)0); }
     46281+
     46282+/* ./names.c */
     46283+
     46284+#undef boolnames
     46285+char   *const boolnames[] = {0};
     46286+#undef boolfnames
     46287+char   *const boolfnames[] = {0};
     46288+#undef numnames
     46289+char   *const numnames[] = {0};
     46290+#undef numfnames
     46291+char   *const numfnames[] = {0};
     46292+#undef strnames
     46293+char   *const strnames[] = {0};
     46294+#undef strfnames
     46295+char   *const strfnames[] = {0};
     46296+
     46297+/* ./tinfo/read_entry.c */
     46298+
     46299+#include <hashed_db.h>
     46300+
     46301+#undef _nc_read_termtype
     46302+int    _nc_read_termtype(
     46303+               TERMTYPE *ptr,
     46304+               char    *buffer,
     46305+               int     limit)
     46306+               { return(*(int *)0); }
     46307+
     46308+#undef _nc_read_file_entry
     46309+int    _nc_read_file_entry(
     46310+               const char *const filename,
     46311+               TERMTYPE *ptr)
     46312+               { return(*(int *)0); }
     46313+
     46314+#undef _nc_read_entry
     46315+int    _nc_read_entry(
     46316+               const char *const name,
     46317+               char    *const filename,
     46318+               TERMTYPE *const tp)
     46319+               { return(*(int *)0); }
     46320+
     46321+/* ./tinfo/read_termcap.c */
     46322+
     46323+#include <sys/types.h>
     46324+
     46325+#undef _nc_read_termcap
     46326+void   _nc_read_termcap(void)
     46327+               { /* void */ }
     46328+
     46329+/* ./tinfo/setbuf.c */
     46330+
     46331+#undef _nc_set_buffer_sp
     46332+void   _nc_set_buffer_sp(
     46333+               SCREEN  *sp,
     46334+               FILE    *ofp,
     46335+               int     buffered)
     46336+               { /* void */ }
     46337+
     46338+#undef _nc_set_buffer
     46339+void   _nc_set_buffer(
     46340+               FILE    *ofp,
     46341+               int     buffered)
     46342+               { /* void */ }
     46343+
     46344+/* ./tinfo/strings.c */
     46345+
     46346+#undef _nc_str_init
     46347+string_desc *_nc_str_init(
     46348+               string_desc *dst,
     46349+               char    *src,
     46350+               size_t  len)
     46351+               { return(*(string_desc **)0); }
     46352+
     46353+#undef _nc_str_null
     46354+string_desc *_nc_str_null(
     46355+               string_desc *dst,
     46356+               size_t  len)
     46357+               { return(*(string_desc **)0); }
     46358+
     46359+#undef _nc_str_copy
     46360+string_desc *_nc_str_copy(
     46361+               string_desc *dst,
     46362+               string_desc *src)
     46363+               { return(*(string_desc **)0); }
     46364+
     46365+#undef _nc_safe_strcat
     46366+NCURSES_BOOL _nc_safe_strcat(
     46367+               string_desc *dst,
     46368+               const char *src)
     46369+               { return(*(NCURSES_BOOL *)0); }
     46370+
     46371+#undef _nc_safe_strcpy
     46372+NCURSES_BOOL _nc_safe_strcpy(
     46373+               string_desc *dst,
     46374+               const char *src)
     46375+               { return(*(NCURSES_BOOL *)0); }
     46376+
     46377+/* ./trace/trace_buf.c */
     46378+
     46379+#undef _nc_trace_buf
     46380+char   *_nc_trace_buf(
     46381+               int     bufnum,
     46382+               size_t  want)
     46383+               { return(*(char **)0); }
     46384+
     46385+#undef _nc_trace_bufcat
     46386+char   *_nc_trace_bufcat(
     46387+               int     bufnum,
     46388+               const char *value)
     46389+               { return(*(char **)0); }
     46390+
     46391+/* ./trace/trace_tries.c */
     46392+
     46393+#undef _nc_trace_tries
     46394+void   _nc_trace_tries(
     46395+               TRIES   *tree)
     46396+               { /* void */ }
     46397+
     46398+/* ./base/tries.c */
     46399+
     46400+#undef _nc_expand_try
     46401+char   *_nc_expand_try(
     46402+               TRIES   *tree,
     46403+               unsigned code,
     46404+               int     *count,
     46405+               size_t  len)
     46406+               { return(*(char **)0); }
     46407+
     46408+#undef _nc_remove_key
     46409+int    _nc_remove_key(
     46410+               TRIES   **tree,
     46411+               unsigned code)
     46412+               { return(*(int *)0); }
     46413+
     46414+#undef _nc_remove_string
     46415+int    _nc_remove_string(
     46416+               TRIES   **tree,
     46417+               const char *string)
     46418+               { return(*(int *)0); }
     46419+
     46420+/* ./tinfo/trim_sgr0.c */
     46421+
     46422+#undef _nc_trim_sgr0
     46423+char   *_nc_trim_sgr0(
     46424+               TERMTYPE *tp)
     46425+               { return(*(char **)0); }
     46426+
     46427+/* ./unctrl.c */
     46428+
     46429+#undef unctrl_sp
     46430+char   *unctrl_sp(
     46431+               SCREEN  *sp,
     46432+               chtype  ch)
     46433+               { return(*(char **)0); }
     46434+
     46435+#undef unctrl
     46436+char   *unctrl(
     46437+               chtype  ch)
     46438+               { return(*(char **)0); }
     46439+
     46440+/* ./trace/visbuf.c */
     46441+
     46442+#undef _nc_visbuf2
     46443+const char *_nc_visbuf2(
     46444+               int     bufnum,
     46445+               const char *buf)
     46446+               { return(*(const char **)0); }
     46447+
     46448+#undef _nc_visbuf
     46449+const char *_nc_visbuf(
     46450+               const char *buf)
     46451+               { return(*(const char **)0); }
     46452+
     46453+#undef _nc_visbufn
     46454+const char *_nc_visbufn(
     46455+               const char *buf,
     46456+               int     len)
     46457+               { return(*(const char **)0); }
     46458+
     46459+#undef _nc_viscbuf2
     46460+const char *_nc_viscbuf2(
     46461+               int     bufnum,
     46462+               const chtype *buf,
     46463+               int     len)
     46464+               { return(*(const char **)0); }
     46465+
     46466+#undef _nc_viscbuf
     46467+const char *_nc_viscbuf(
     46468+               const chtype *buf,
     46469+               int     len)
     46470+               { return(*(const char **)0); }
     46471+
     46472+/* ./base/define_key.c */
     46473+
     46474+#undef define_key_sp
     46475+int    define_key_sp(
     46476+               SCREEN  *sp,
     46477+               const char *str,
     46478+               int     keycode)
     46479+               { return(*(int *)0); }
     46480+
     46481+#undef define_key
     46482+int    define_key(
     46483+               const char *str,
     46484+               int     keycode)
     46485+               { return(*(int *)0); }
     46486+
     46487+/* ./tinfo/hashed_db.c */
     46488+
     46489+#undef _nc_hashed_db
     46490+void   _nc_hashed_db(void)
     46491+               { /* void */ }
     46492+
     46493+/* ./base/key_defined.c */
     46494+
     46495+#undef key_defined_sp
     46496+int    key_defined_sp(
     46497+               SCREEN  *sp,
     46498+               const char *str)
     46499+               { return(*(int *)0); }
     46500+
     46501+#undef key_defined
     46502+int    key_defined(
     46503+               const char *str)
     46504+               { return(*(int *)0); }
     46505+
     46506+/* ./base/keybound.c */
     46507+
     46508+#undef keybound_sp
     46509+char   *keybound_sp(
     46510+               SCREEN  *sp,
     46511+               int     code,
     46512+               int     count)
     46513+               { return(*(char **)0); }
     46514+
     46515+#undef keybound
     46516+char   *keybound(
     46517+               int     code,
     46518+               int     count)
     46519+               { return(*(char **)0); }
     46520+
     46521+/* ./base/keyok.c */
     46522+
     46523+#undef keyok_sp
     46524+int    keyok_sp(
     46525+               SCREEN  *sp,
     46526+               int     c,
     46527+               NCURSES_BOOL flag)
     46528+               { return(*(int *)0); }
     46529+
     46530+#undef keyok
     46531+int    keyok(
     46532+               int     c,
     46533+               NCURSES_BOOL flag)
     46534+               { return(*(int *)0); }
     46535+
     46536+/* ./base/version.c */
     46537+
     46538+#undef curses_version
     46539+const char *curses_version(void)
     46540+               { return(*(const char **)0); }
     46541diff -Naur ncurses-5.9.orig/ncurses/llib-ltinfotw ncurses-5.9/ncurses/llib-ltinfotw
     46542--- ncurses-5.9.orig/ncurses/llib-ltinfotw      1970-01-01 00:00:00.000000000 +0000
     46543+++ ncurses-5.9/ncurses/llib-ltinfotw   2012-08-25 19:58:01.999888649 +0000
     46544@@ -0,0 +1,1646 @@
     46545+/****************************************************************************
     46546+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     46547+ *                                                                          *
     46548+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     46549+ * copy of this software and associated documentation files (the            *
     46550+ * "Software"), to deal in the Software without restriction, including      *
     46551+ * without limitation the rights to use, copy, modify, merge, publish,      *
     46552+ * distribute, distribute with modifications, sublicense, and/or sell       *
     46553+ * copies of the Software, and to permit persons to whom the Software is    *
     46554+ * furnished to do so, subject to the following conditions:                 *
     46555+ *                                                                          *
     46556+ * The above copyright notice and this permission notice shall be included  *
     46557+ * in all copies or substantial portions of the Software.                   *
     46558+ *                                                                          *
     46559+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     46560+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     46561+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     46562+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     46563+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     46564+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     46565+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     46566+ *                                                                          *
     46567+ * Except as contained in this notice, the name(s) of the above copyright   *
     46568+ * holders shall not be used in advertising or otherwise to promote the     *
     46569+ * sale, use or other dealings in this Software without prior written       *
     46570+ * authorization.                                                           *
     46571+ ****************************************************************************/
     46572+
     46573+/****************************************************************************
     46574+ *  Author: Thomas E. Dickey 2012                                           *
     46575+ ****************************************************************************/
     46576+/* LINTLIBRARY */
     46577+
     46578+/* ./tinfo/access.c */
     46579+
     46580+#include <curses.priv.h>
     46581+#include <ctype.h>
     46582+#include <tic.h>
     46583+
     46584+#undef _nc_rootname
     46585+char   *_nc_rootname(
     46586+               char    *path)
     46587+               { return(*(char **)0); }
     46588+
     46589+#undef _nc_is_abs_path
     46590+NCURSES_BOOL _nc_is_abs_path(
     46591+               const char *path)
     46592+               { return(*(NCURSES_BOOL *)0); }
     46593+
     46594+#undef _nc_pathlast
     46595+unsigned _nc_pathlast(
     46596+               const char *path)
     46597+               { return(*(unsigned *)0); }
     46598+
     46599+#undef _nc_basename
     46600+char   *_nc_basename(
     46601+               char    *path)
     46602+               { return(*(char **)0); }
     46603+
     46604+#undef _nc_access
     46605+int    _nc_access(
     46606+               const char *path,
     46607+               int     mode)
     46608+               { return(*(int *)0); }
     46609+
     46610+#undef _nc_is_dir_path
     46611+NCURSES_BOOL _nc_is_dir_path(
     46612+               const char *path)
     46613+               { return(*(NCURSES_BOOL *)0); }
     46614+
     46615+#undef _nc_is_file_path
     46616+NCURSES_BOOL _nc_is_file_path(
     46617+               const char *path)
     46618+               { return(*(NCURSES_BOOL *)0); }
     46619+
     46620+#undef _nc_env_access
     46621+int    _nc_env_access(void)
     46622+               { return(*(int *)0); }
     46623+
     46624+/* ./tinfo/add_tries.c */
     46625+
     46626+#undef _nc_add_to_try
     46627+int    _nc_add_to_try(
     46628+               TRIES   **tree,
     46629+               const char *str,
     46630+               unsigned code)
     46631+               { return(*(int *)0); }
     46632+
     46633+/* ./tinfo/alloc_ttype.c */
     46634+
     46635+#undef _nc_align_termtype
     46636+void   _nc_align_termtype(
     46637+               TERMTYPE *to,
     46638+               TERMTYPE *from)
     46639+               { /* void */ }
     46640+
     46641+#undef _nc_copy_termtype
     46642+void   _nc_copy_termtype(
     46643+               TERMTYPE *dst,
     46644+               const TERMTYPE *src)
     46645+               { /* void */ }
     46646+
     46647+/* ./codes.c */
     46648+
     46649+#undef _nc_boolcodes
     46650+char   *const *_nc_boolcodes(void)
     46651+               { return(*(char **)0); }
     46652+
     46653+#undef _nc_numcodes
     46654+char   *const *_nc_numcodes(void)
     46655+               { return(*(char **)0); }
     46656+
     46657+#undef _nc_strcodes
     46658+char   *const *_nc_strcodes(void)
     46659+               { return(*(char **)0); }
     46660+
     46661+/* ./comp_captab.c */
     46662+
     46663+#include <hashsize.h>
     46664+
     46665+#undef _nc_get_table
     46666+const struct name_table_entry *_nc_get_table(
     46667+               NCURSES_BOOL termcap)
     46668+               { return(*(const struct name_table_entry **)0); }
     46669+
     46670+#undef _nc_get_hash_table
     46671+const HashValue *_nc_get_hash_table(
     46672+               NCURSES_BOOL termcap)
     46673+               { return(*(const HashValue **)0); }
     46674+
     46675+#undef _nc_get_alias_table
     46676+const struct alias *_nc_get_alias_table(
     46677+               NCURSES_BOOL termcap)
     46678+               { return(*(const struct alias **)0); }
     46679+
     46680+#undef _nc_get_hash_info
     46681+const HashData *_nc_get_hash_info(
     46682+               NCURSES_BOOL termcap)
     46683+               { return(*(const HashData **)0); }
     46684+
     46685+/* ./tinfo/comp_error.c */
     46686+
     46687+#undef _nc_suppress_warnings
     46688+NCURSES_BOOL _nc_suppress_warnings;
     46689+#undef _nc_curr_line
     46690+int    _nc_curr_line;
     46691+#undef _nc_curr_col
     46692+int    _nc_curr_col;
     46693+
     46694+#undef _nc_get_source
     46695+const char *_nc_get_source(void)
     46696+               { return(*(const char **)0); }
     46697+
     46698+#undef _nc_set_source
     46699+void   _nc_set_source(
     46700+               const char *const name)
     46701+               { /* void */ }
     46702+
     46703+#undef _nc_set_type
     46704+void   _nc_set_type(
     46705+               const char *const name)
     46706+               { /* void */ }
     46707+
     46708+#undef _nc_get_type
     46709+void   _nc_get_type(
     46710+               char    *name)
     46711+               { /* void */ }
     46712+
     46713+#undef _nc_warning
     46714+void   _nc_warning(
     46715+               const char *const fmt,
     46716+               ...)
     46717+               { /* void */ }
     46718+
     46719+#undef _nc_err_abort
     46720+void   _nc_err_abort(
     46721+               const char *const fmt,
     46722+               ...)
     46723+               { /* void */ }
     46724+
     46725+#undef _nc_syserr_abort
     46726+void   _nc_syserr_abort(
     46727+               const char *const fmt,
     46728+               ...)
     46729+               { /* void */ }
     46730+
     46731+/* ./tinfo/comp_hash.c */
     46732+
     46733+#undef _nc_find_entry
     46734+struct name_table_entry const *_nc_find_entry(
     46735+               const char *string,
     46736+               const HashValue *hash_table)
     46737+               { return(*(struct name_table_entry const **)0); }
     46738+
     46739+#undef _nc_find_type_entry
     46740+struct name_table_entry const *_nc_find_type_entry(
     46741+               const char *string,
     46742+               int     type,
     46743+               NCURSES_BOOL termcap)
     46744+               { return(*(struct name_table_entry const **)0); }
     46745+
     46746+/* ./tinfo/db_iterator.c */
     46747+
     46748+#include <time.h>
     46749+
     46750+#undef _nc_tic_dir
     46751+const char *_nc_tic_dir(
     46752+               const char *path)
     46753+               { return(*(const char **)0); }
     46754+
     46755+#undef _nc_keep_tic_dir
     46756+void   _nc_keep_tic_dir(
     46757+               const char *path)
     46758+               { /* void */ }
     46759+
     46760+#undef _nc_last_db
     46761+void   _nc_last_db(void)
     46762+               { /* void */ }
     46763+
     46764+#undef _nc_next_db
     46765+const char *_nc_next_db(
     46766+               DBDIRS  *state,
     46767+               int     *offset)
     46768+               { return(*(const char **)0); }
     46769+
     46770+#undef _nc_first_db
     46771+void   _nc_first_db(
     46772+               DBDIRS  *state,
     46773+               int     *offset)
     46774+               { /* void */ }
     46775+
     46776+/* ./tinfo/doalloc.c */
     46777+
     46778+#undef _nc_doalloc
     46779+void   *_nc_doalloc(
     46780+               void    *oldp,
     46781+               size_t  amount)
     46782+               { return(*(void **)0); }
     46783+
     46784+/* ./tinfo/entries.c */
     46785+
     46786+#undef _nc_head
     46787+ENTRY  *_nc_head;
     46788+#undef _nc_tail
     46789+ENTRY  *_nc_tail;
     46790+
     46791+#undef _nc_free_entry
     46792+void   _nc_free_entry(
     46793+               ENTRY   *headp,
     46794+               TERMTYPE *tterm)
     46795+               { /* void */ }
     46796+
     46797+#undef _nc_free_entries
     46798+void   _nc_free_entries(
     46799+               ENTRY   *headp)
     46800+               { /* void */ }
     46801+
     46802+#undef _nc_delink_entry
     46803+ENTRY  *_nc_delink_entry(
     46804+               ENTRY   *headp,
     46805+               TERMTYPE *tterm)
     46806+               { return(*(ENTRY **)0); }
     46807+
     46808+#undef _nc_leaks_tinfo
     46809+void   _nc_leaks_tinfo(void)
     46810+               { /* void */ }
     46811+
     46812+/* ./fallback.c */
     46813+
     46814+#undef _nc_fallback
     46815+const TERMTYPE *_nc_fallback(
     46816+               const char *name)
     46817+               { return(*(const TERMTYPE **)0); }
     46818+
     46819+/* ./tinfo/free_ttype.c */
     46820+
     46821+#undef _nc_free_termtype
     46822+void   _nc_free_termtype(
     46823+               TERMTYPE *ptr)
     46824+               { /* void */ }
     46825+
     46826+#undef _nc_user_definable
     46827+NCURSES_BOOL _nc_user_definable;
     46828+
     46829+#undef use_extended_names
     46830+int    use_extended_names(
     46831+               NCURSES_BOOL flag)
     46832+               { return(*(int *)0); }
     46833+
     46834+/* ./tinfo/getenv_num.c */
     46835+
     46836+#undef _nc_getenv_num
     46837+int    _nc_getenv_num(
     46838+               const char *name)
     46839+               { return(*(int *)0); }
     46840+
     46841+/* ./tinfo/home_terminfo.c */
     46842+
     46843+#undef _nc_home_terminfo
     46844+char   *_nc_home_terminfo(void)
     46845+               { return(*(char **)0); }
     46846+
     46847+/* ./tinfo/init_keytry.c */
     46848+
     46849+#if 0
     46850+
     46851+#include <init_keytry.h>
     46852+
     46853+#undef _nc_tinfo_fkeys
     46854+const struct tinfo_fkeys _nc_tinfo_fkeys[] = {0};
     46855+
     46856+#endif
     46857+
     46858+#undef _nc_init_keytry
     46859+void   _nc_init_keytry(
     46860+               SCREEN  *sp)
     46861+               { /* void */ }
     46862+
     46863+/* ./tinfo/lib_acs.c */
     46864+
     46865+#undef _nc_acs_map
     46866+chtype *_nc_acs_map(void)
     46867+               { return(*(chtype **)0); }
     46868+
     46869+#undef _nc_init_acs_sp
     46870+void   _nc_init_acs_sp(
     46871+               SCREEN  *sp)
     46872+               { /* void */ }
     46873+
     46874+#undef _nc_init_acs
     46875+void   _nc_init_acs(void)
     46876+               { /* void */ }
     46877+
     46878+/* ./tinfo/lib_baudrate.c */
     46879+
     46880+#include <termcap.h>
     46881+
     46882+struct speed {
     46883+    int s;
     46884+    int sp;
     46885+};
     46886+
     46887+#undef _nc_baudrate
     46888+int    _nc_baudrate(
     46889+               int     OSpeed)
     46890+               { return(*(int *)0); }
     46891+
     46892+#undef _nc_ospeed
     46893+int    _nc_ospeed(
     46894+               int     BaudRate)
     46895+               { return(*(int *)0); }
     46896+
     46897+#undef baudrate_sp
     46898+int    baudrate_sp(
     46899+               SCREEN  *sp)
     46900+               { return(*(int *)0); }
     46901+
     46902+#undef baudrate
     46903+int    baudrate(void)
     46904+               { return(*(int *)0); }
     46905+
     46906+/* ./tinfo/lib_cur_term.c */
     46907+
     46908+#undef _nc_get_cur_term_sp
     46909+TERMINAL *_nc_get_cur_term_sp(
     46910+               SCREEN  *sp)
     46911+               { return(*(TERMINAL **)0); }
     46912+
     46913+#undef _nc_get_cur_term
     46914+TERMINAL *_nc_get_cur_term(void)
     46915+               { return(*(TERMINAL **)0); }
     46916+
     46917+#undef _nc_cur_term
     46918+TERMINAL *_nc_cur_term(void)
     46919+               { return(*(TERMINAL **)0); }
     46920+
     46921+#undef set_curterm_sp
     46922+TERMINAL *set_curterm_sp(
     46923+               SCREEN  *sp,
     46924+               TERMINAL *termp)
     46925+               { return(*(TERMINAL **)0); }
     46926+
     46927+#undef set_curterm
     46928+TERMINAL *set_curterm(
     46929+               TERMINAL *termp)
     46930+               { return(*(TERMINAL **)0); }
     46931+
     46932+#undef del_curterm_sp
     46933+int    del_curterm_sp(
     46934+               SCREEN  *sp,
     46935+               TERMINAL *termp)
     46936+               { return(*(int *)0); }
     46937+
     46938+#undef del_curterm
     46939+int    del_curterm(
     46940+               TERMINAL *termp)
     46941+               { return(*(int *)0); }
     46942+
     46943+/* ./tinfo/lib_data.c */
     46944+
     46945+#undef _nc_stdscr
     46946+WINDOW *_nc_stdscr(void)
     46947+               { return(*(WINDOW **)0); }
     46948+
     46949+#undef _nc_curscr
     46950+WINDOW *_nc_curscr(void)
     46951+               { return(*(WINDOW **)0); }
     46952+
     46953+#undef _nc_newscr
     46954+WINDOW *_nc_newscr(void)
     46955+               { return(*(WINDOW **)0); }
     46956+
     46957+#undef _nc_screen_chain
     46958+SCREEN *_nc_screen_chain;
     46959+#undef SP
     46960+SCREEN *SP;
     46961+#undef _nc_globals
     46962+NCURSES_GLOBALS _nc_globals;
     46963+#undef _nc_prescreen
     46964+NCURSES_PRESCREEN _nc_prescreen;
     46965+
     46966+#undef _nc_screen_of
     46967+SCREEN *_nc_screen_of(
     46968+               WINDOW  *win)
     46969+               { return(*(SCREEN **)0); }
     46970+
     46971+#undef _nc_init_pthreads
     46972+void   _nc_init_pthreads(void)
     46973+               { /* void */ }
     46974+
     46975+#undef _nc_mutex_init
     46976+void   _nc_mutex_init(
     46977+               pthread_mutex_t *obj)
     46978+               { /* void */ }
     46979+
     46980+#undef _nc_mutex_lock
     46981+int    _nc_mutex_lock(
     46982+               pthread_mutex_t *obj)
     46983+               { return(*(int *)0); }
     46984+
     46985+#undef _nc_mutex_trylock
     46986+int    _nc_mutex_trylock(
     46987+               pthread_mutex_t *obj)
     46988+               { return(*(int *)0); }
     46989+
     46990+#undef _nc_mutex_unlock
     46991+int    _nc_mutex_unlock(
     46992+               pthread_mutex_t *obj)
     46993+               { return(*(int *)0); }
     46994+
     46995+/* ./tinfo/lib_has_cap.c */
     46996+
     46997+#undef has_ic_sp
     46998+NCURSES_BOOL has_ic_sp(
     46999+               SCREEN  *sp)
     47000+               { return(*(NCURSES_BOOL *)0); }
     47001+
     47002+#undef has_ic
     47003+NCURSES_BOOL has_ic(void)
     47004+               { return(*(NCURSES_BOOL *)0); }
     47005+
     47006+#undef has_il_sp
     47007+NCURSES_BOOL has_il_sp(
     47008+               SCREEN  *sp)
     47009+               { return(*(NCURSES_BOOL *)0); }
     47010+
     47011+#undef has_il
     47012+NCURSES_BOOL has_il(void)
     47013+               { return(*(NCURSES_BOOL *)0); }
     47014+
     47015+/* ./tinfo/lib_kernel.c */
     47016+
     47017+#undef erasechar_sp
     47018+char   erasechar_sp(
     47019+               SCREEN  *sp)
     47020+               { return(*(char *)0); }
     47021+
     47022+#undef erasechar
     47023+char   erasechar(void)
     47024+               { return(*(char *)0); }
     47025+
     47026+#undef killchar_sp
     47027+char   killchar_sp(
     47028+               SCREEN  *sp)
     47029+               { return(*(char *)0); }
     47030+
     47031+#undef killchar
     47032+char   killchar(void)
     47033+               { return(*(char *)0); }
     47034+
     47035+#undef flushinp_sp
     47036+int    flushinp_sp(
     47037+               SCREEN  *sp)
     47038+               { return(*(int *)0); }
     47039+
     47040+#undef flushinp
     47041+int    flushinp(void)
     47042+               { return(*(int *)0); }
     47043+
     47044+/* ./lib_keyname.c */
     47045+
     47046+struct kn { short offset; int code; };
     47047+
     47048+#undef keyname_sp
     47049+char   *keyname_sp(
     47050+               SCREEN  *sp,
     47051+               int     c)
     47052+               { return(*(char **)0); }
     47053+
     47054+#undef keyname
     47055+char   *keyname(
     47056+               int     c)
     47057+               { return(*(char **)0); }
     47058+
     47059+/* ./tinfo/lib_longname.c */
     47060+
     47061+#undef longname_sp
     47062+char   *longname_sp(
     47063+               SCREEN  *sp)
     47064+               { return(*(char **)0); }
     47065+
     47066+#undef longname
     47067+char   *longname(void)
     47068+               { return(*(char **)0); }
     47069+
     47070+/* ./tinfo/lib_napms.c */
     47071+
     47072+#undef napms_sp
     47073+int    napms_sp(
     47074+               SCREEN  *sp,
     47075+               int     ms)
     47076+               { return(*(int *)0); }
     47077+
     47078+#undef napms
     47079+int    napms(
     47080+               int     ms)
     47081+               { return(*(int *)0); }
     47082+
     47083+/* ./tinfo/lib_options.c */
     47084+
     47085+#undef idlok
     47086+int    idlok(
     47087+               WINDOW  *win,
     47088+               NCURSES_BOOL flag)
     47089+               { return(*(int *)0); }
     47090+
     47091+#undef idcok
     47092+void   idcok(
     47093+               WINDOW  *win,
     47094+               NCURSES_BOOL flag)
     47095+               { /* void */ }
     47096+
     47097+#undef halfdelay_sp
     47098+int    halfdelay_sp(
     47099+               SCREEN  *sp,
     47100+               int     t)
     47101+               { return(*(int *)0); }
     47102+
     47103+#undef halfdelay
     47104+int    halfdelay(
     47105+               int     t)
     47106+               { return(*(int *)0); }
     47107+
     47108+#undef nodelay
     47109+int    nodelay(
     47110+               WINDOW  *win,
     47111+               NCURSES_BOOL flag)
     47112+               { return(*(int *)0); }
     47113+
     47114+#undef notimeout
     47115+int    notimeout(
     47116+               WINDOW  *win,
     47117+               NCURSES_BOOL f)
     47118+               { return(*(int *)0); }
     47119+
     47120+#undef wtimeout
     47121+void   wtimeout(
     47122+               WINDOW  *win,
     47123+               int     delay)
     47124+               { /* void */ }
     47125+
     47126+#undef keypad
     47127+int    keypad(
     47128+               WINDOW  *win,
     47129+               NCURSES_BOOL flag)
     47130+               { return(*(int *)0); }
     47131+
     47132+#undef meta
     47133+int    meta(
     47134+               WINDOW  *win,
     47135+               NCURSES_BOOL flag)
     47136+               { return(*(int *)0); }
     47137+
     47138+#undef curs_set_sp
     47139+int    curs_set_sp(
     47140+               SCREEN  *sp,
     47141+               int     vis)
     47142+               { return(*(int *)0); }
     47143+
     47144+#undef curs_set
     47145+int    curs_set(
     47146+               int     vis)
     47147+               { return(*(int *)0); }
     47148+
     47149+#undef typeahead_sp
     47150+int    typeahead_sp(
     47151+               SCREEN  *sp,
     47152+               int     fd)
     47153+               { return(*(int *)0); }
     47154+
     47155+#undef typeahead
     47156+int    typeahead(
     47157+               int     fd)
     47158+               { return(*(int *)0); }
     47159+
     47160+#undef has_key_sp
     47161+int    has_key_sp(
     47162+               SCREEN  *sp,
     47163+               int     keycode)
     47164+               { return(*(int *)0); }
     47165+
     47166+#undef has_key
     47167+int    has_key(
     47168+               int     keycode)
     47169+               { return(*(int *)0); }
     47170+
     47171+#undef _nc_putp_flush_sp
     47172+int    _nc_putp_flush_sp(
     47173+               SCREEN  *sp,
     47174+               const char *name,
     47175+               const char *value)
     47176+               { return(*(int *)0); }
     47177+
     47178+#undef _nc_keypad
     47179+int    _nc_keypad(
     47180+               SCREEN  *sp,
     47181+               int     flag)
     47182+               { return(*(int *)0); }
     47183+
     47184+/* ./tinfo/lib_raw.c */
     47185+
     47186+#undef raw_sp
     47187+int    raw_sp(
     47188+               SCREEN  *sp)
     47189+               { return(*(int *)0); }
     47190+
     47191+#undef raw
     47192+int    raw(void)
     47193+               { return(*(int *)0); }
     47194+
     47195+#undef cbreak_sp
     47196+int    cbreak_sp(
     47197+               SCREEN  *sp)
     47198+               { return(*(int *)0); }
     47199+
     47200+#undef cbreak
     47201+int    cbreak(void)
     47202+               { return(*(int *)0); }
     47203+
     47204+#undef qiflush_sp
     47205+void   qiflush_sp(
     47206+               SCREEN  *sp)
     47207+               { /* void */ }
     47208+
     47209+#undef qiflush
     47210+void   qiflush(void)
     47211+               { /* void */ }
     47212+
     47213+#undef noraw_sp
     47214+int    noraw_sp(
     47215+               SCREEN  *sp)
     47216+               { return(*(int *)0); }
     47217+
     47218+#undef noraw
     47219+int    noraw(void)
     47220+               { return(*(int *)0); }
     47221+
     47222+#undef nocbreak_sp
     47223+int    nocbreak_sp(
     47224+               SCREEN  *sp)
     47225+               { return(*(int *)0); }
     47226+
     47227+#undef nocbreak
     47228+int    nocbreak(void)
     47229+               { return(*(int *)0); }
     47230+
     47231+#undef noqiflush_sp
     47232+void   noqiflush_sp(
     47233+               SCREEN  *sp)
     47234+               { /* void */ }
     47235+
     47236+#undef noqiflush
     47237+void   noqiflush(void)
     47238+               { /* void */ }
     47239+
     47240+#undef intrflush_sp
     47241+int    intrflush_sp(
     47242+               SCREEN  *sp,
     47243+               WINDOW  *win,
     47244+               NCURSES_BOOL flag)
     47245+               { return(*(int *)0); }
     47246+
     47247+#undef intrflush
     47248+int    intrflush(
     47249+               WINDOW  *win,
     47250+               NCURSES_BOOL flag)
     47251+               { return(*(int *)0); }
     47252+
     47253+/* ./tinfo/lib_setup.c */
     47254+
     47255+#include <locale.h>
     47256+#include <sys/ioctl.h>
     47257+#include <langinfo.h>
     47258+
     47259+#undef _nc_ttytype
     47260+char   *_nc_ttytype(void)
     47261+               { return(*(char **)0); }
     47262+
     47263+#undef _nc_ptr_Lines
     47264+int    *_nc_ptr_Lines(
     47265+               SCREEN  *sp)
     47266+               { return(*(int **)0); }
     47267+
     47268+#undef _nc_LINES
     47269+int    _nc_LINES(void)
     47270+               { return(*(int *)0); }
     47271+
     47272+#undef _nc_ptr_Cols
     47273+int    *_nc_ptr_Cols(
     47274+               SCREEN  *sp)
     47275+               { return(*(int **)0); }
     47276+
     47277+#undef _nc_COLS
     47278+int    _nc_COLS(void)
     47279+               { return(*(int *)0); }
     47280+
     47281+#undef _nc_ptr_Tabsize
     47282+int    *_nc_ptr_Tabsize(
     47283+               SCREEN  *sp)
     47284+               { return(*(int **)0); }
     47285+
     47286+#undef _nc_TABSIZE
     47287+int    _nc_TABSIZE(void)
     47288+               { return(*(int *)0); }
     47289+
     47290+#undef set_tabsize_sp
     47291+int    set_tabsize_sp(
     47292+               SCREEN  *sp,
     47293+               int     value)
     47294+               { return(*(int *)0); }
     47295+
     47296+#undef set_tabsize
     47297+int    set_tabsize(
     47298+               int     value)
     47299+               { return(*(int *)0); }
     47300+
     47301+#undef _nc_handle_sigwinch
     47302+int    _nc_handle_sigwinch(
     47303+               SCREEN  *sp)
     47304+               { return(*(int *)0); }
     47305+
     47306+#undef use_env_sp
     47307+void   use_env_sp(
     47308+               SCREEN  *sp,
     47309+               NCURSES_BOOL f)
     47310+               { /* void */ }
     47311+
     47312+#undef use_env
     47313+void   use_env(
     47314+               NCURSES_BOOL f)
     47315+               { /* void */ }
     47316+
     47317+#undef use_tioctl_sp
     47318+void   use_tioctl_sp(
     47319+               SCREEN  *sp,
     47320+               NCURSES_BOOL f)
     47321+               { /* void */ }
     47322+
     47323+#undef use_tioctl
     47324+void   use_tioctl(
     47325+               NCURSES_BOOL f)
     47326+               { /* void */ }
     47327+
     47328+#undef _nc_get_screensize
     47329+void   _nc_get_screensize(
     47330+               SCREEN  *sp,
     47331+               int     *linep,
     47332+               int     *colp)
     47333+               { /* void */ }
     47334+
     47335+#undef _nc_update_screensize
     47336+void   _nc_update_screensize(
     47337+               SCREEN  *sp)
     47338+               { /* void */ }
     47339+
     47340+#undef _nc_setup_tinfo
     47341+int    _nc_setup_tinfo(
     47342+               const char *const tn,
     47343+               TERMTYPE *const tp)
     47344+               { return(*(int *)0); }
     47345+
     47346+#undef _nc_tinfo_cmdch
     47347+void   _nc_tinfo_cmdch(
     47348+               TERMINAL *termp,
     47349+               int     proto)
     47350+               { /* void */ }
     47351+
     47352+#undef _nc_get_locale
     47353+char   *_nc_get_locale(void)
     47354+               { return(*(char **)0); }
     47355+
     47356+#undef _nc_unicode_locale
     47357+int    _nc_unicode_locale(void)
     47358+               { return(*(int *)0); }
     47359+
     47360+#undef _nc_locale_breaks_acs
     47361+int    _nc_locale_breaks_acs(
     47362+               TERMINAL *termp)
     47363+               { return(*(int *)0); }
     47364+
     47365+#undef _nc_setupterm
     47366+int    _nc_setupterm(
     47367+               char    *tname,
     47368+               int     Filedes,
     47369+               int     *errret,
     47370+               int     reuse)
     47371+               { return(*(int *)0); }
     47372+
     47373+#undef new_prescr
     47374+SCREEN *new_prescr(void)
     47375+               { return(*(SCREEN **)0); }
     47376+
     47377+#undef setupterm
     47378+int    setupterm(
     47379+               char    *tname,
     47380+               int     Filedes,
     47381+               int     *errret)
     47382+               { return(*(int *)0); }
     47383+
     47384+/* ./tinfo/lib_termcap.c */
     47385+
     47386+#undef UP
     47387+char   *UP;
     47388+#undef BC
     47389+char   *BC;
     47390+
     47391+#undef tgetent_sp
     47392+int    tgetent_sp(
     47393+               SCREEN  *sp,
     47394+               char    *bufp,
     47395+               const char *name)
     47396+               { return(*(int *)0); }
     47397+
     47398+#if 0
     47399+
     47400+#include <capdefaults.c>
     47401+
     47402+#endif
     47403+
     47404+#undef tgetent
     47405+int    tgetent(
     47406+               char    *bufp,
     47407+               const char *name)
     47408+               { return(*(int *)0); }
     47409+
     47410+#undef tgetflag_sp
     47411+int    tgetflag_sp(
     47412+               SCREEN  *sp,
     47413+               char    *id)
     47414+               { return(*(int *)0); }
     47415+
     47416+#undef tgetflag
     47417+int    tgetflag(
     47418+               char    *id)
     47419+               { return(*(int *)0); }
     47420+
     47421+#undef tgetnum_sp
     47422+int    tgetnum_sp(
     47423+               SCREEN  *sp,
     47424+               char    *id)
     47425+               { return(*(int *)0); }
     47426+
     47427+#undef tgetnum
     47428+int    tgetnum(
     47429+               char    *id)
     47430+               { return(*(int *)0); }
     47431+
     47432+#undef tgetstr_sp
     47433+char   *tgetstr_sp(
     47434+               SCREEN  *sp,
     47435+               char    *id,
     47436+               char    **area)
     47437+               { return(*(char **)0); }
     47438+
     47439+#undef tgetstr
     47440+char   *tgetstr(
     47441+               char    *id,
     47442+               char    **area)
     47443+               { return(*(char **)0); }
     47444+
     47445+/* ./tinfo/lib_termname.c */
     47446+
     47447+#undef termname_sp
     47448+char   *termname_sp(
     47449+               SCREEN  *sp)
     47450+               { return(*(char **)0); }
     47451+
     47452+#undef termname
     47453+char   *termname(void)
     47454+               { return(*(char **)0); }
     47455+
     47456+/* ./tinfo/lib_tgoto.c */
     47457+
     47458+#undef tgoto
     47459+char   *tgoto(
     47460+               const char *string,
     47461+               int     x,
     47462+               int     y)
     47463+               { return(*(char **)0); }
     47464+
     47465+/* ./tinfo/lib_ti.c */
     47466+
     47467+#undef tigetflag_sp
     47468+int    tigetflag_sp(
     47469+               SCREEN  *sp,
     47470+               char    *str)
     47471+               { return(*(int *)0); }
     47472+
     47473+#undef tigetflag
     47474+int    tigetflag(
     47475+               char    *str)
     47476+               { return(*(int *)0); }
     47477+
     47478+#undef tigetnum_sp
     47479+int    tigetnum_sp(
     47480+               SCREEN  *sp,
     47481+               char    *str)
     47482+               { return(*(int *)0); }
     47483+
     47484+#undef tigetnum
     47485+int    tigetnum(
     47486+               char    *str)
     47487+               { return(*(int *)0); }
     47488+
     47489+#undef tigetstr_sp
     47490+char   *tigetstr_sp(
     47491+               SCREEN  *sp,
     47492+               char    *str)
     47493+               { return(*(char **)0); }
     47494+
     47495+#undef tigetstr
     47496+char   *tigetstr(
     47497+               char    *str)
     47498+               { return(*(char **)0); }
     47499+
     47500+/* ./tinfo/lib_tparm.c */
     47501+
     47502+#undef _nc_tparm_err
     47503+int    _nc_tparm_err;
     47504+
     47505+#undef _nc_tparm_analyze
     47506+int    _nc_tparm_analyze(
     47507+               const char *string,
     47508+               char    *p_is_s[9],
     47509+               int     *popcount)
     47510+               { return(*(int *)0); }
     47511+
     47512+#undef tparm
     47513+char   *tparm(
     47514+               char    *string,
     47515+               ...)
     47516+               { return(*(char **)0); }
     47517+
     47518+#undef tiparm
     47519+char   *tiparm(
     47520+               const char *string,
     47521+               ...)
     47522+               { return(*(char **)0); }
     47523+
     47524+/* ./tinfo/lib_tputs.c */
     47525+
     47526+#undef PC
     47527+char   PC;
     47528+#undef ospeed
     47529+short  ospeed;
     47530+#undef _nc_nulls_sent
     47531+int    _nc_nulls_sent;
     47532+
     47533+#undef _nc_set_no_padding
     47534+void   _nc_set_no_padding(
     47535+               SCREEN  *sp)
     47536+               { /* void */ }
     47537+
     47538+#undef delay_output_sp
     47539+int    delay_output_sp(
     47540+               SCREEN  *sp,
     47541+               int     ms)
     47542+               { return(*(int *)0); }
     47543+
     47544+#undef delay_output
     47545+int    delay_output(
     47546+               int     ms)
     47547+               { return(*(int *)0); }
     47548+
     47549+#undef _nc_flush_sp
     47550+void   _nc_flush_sp(
     47551+               SCREEN  *sp)
     47552+               { /* void */ }
     47553+
     47554+#undef _nc_flush
     47555+void   _nc_flush(void)
     47556+               { /* void */ }
     47557+
     47558+#undef _nc_outch_sp
     47559+int    _nc_outch_sp(
     47560+               SCREEN  *sp,
     47561+               int     ch)
     47562+               { return(*(int *)0); }
     47563+
     47564+#undef _nc_outch
     47565+int    _nc_outch(
     47566+               int     ch)
     47567+               { return(*(int *)0); }
     47568+
     47569+#undef putp_sp
     47570+int    putp_sp(
     47571+               SCREEN  *sp,
     47572+               const char *string)
     47573+               { return(*(int *)0); }
     47574+
     47575+#undef _nc_putp_sp
     47576+int    _nc_putp_sp(
     47577+               SCREEN  *sp,
     47578+               const char *name,
     47579+               const char *string)
     47580+               { return(*(int *)0); }
     47581+
     47582+#undef putp
     47583+int    putp(
     47584+               const char *string)
     47585+               { return(*(int *)0); }
     47586+
     47587+#undef _nc_putp
     47588+int    _nc_putp(
     47589+               const char *name,
     47590+               const char *string)
     47591+               { return(*(int *)0); }
     47592+
     47593+#undef tputs_sp
     47594+int    tputs_sp(
     47595+               SCREEN  *sp,
     47596+               const char *string,
     47597+               int     affcnt,
     47598+               NCURSES_OUTC_sp outc)
     47599+               { return(*(int *)0); }
     47600+
     47601+#undef _nc_outc_wrapper
     47602+int    _nc_outc_wrapper(
     47603+               SCREEN  *sp,
     47604+               int     c)
     47605+               { return(*(int *)0); }
     47606+
     47607+#undef tputs
     47608+int    tputs(
     47609+               const char *string,
     47610+               int     affcnt,
     47611+               int     (*outc)(
     47612+               int     p1))
     47613+               { return(*(int *)0); }
     47614+
     47615+/* ./trace/lib_trace.c */
     47616+
     47617+#undef _nc_tracing
     47618+unsigned _nc_tracing;
     47619+
     47620+#undef _nc__nc_tputs_trace
     47621+const char *_nc__nc_tputs_trace(void)
     47622+               { return(*(const char **)0); }
     47623+
     47624+#undef _nc__nc_outchars
     47625+long   _nc__nc_outchars(void)
     47626+               { return(*(long *)0); }
     47627+
     47628+#undef _nc_set_tputs_trace
     47629+void   _nc_set_tputs_trace(
     47630+               const char *s)
     47631+               { /* void */ }
     47632+
     47633+#undef _nc_count_outchars
     47634+void   _nc_count_outchars(
     47635+               long    increment)
     47636+               { /* void */ }
     47637+
     47638+#undef trace
     47639+void   trace(
     47640+               const unsigned int tracelevel)
     47641+               { /* void */ }
     47642+
     47643+#undef _tracef
     47644+void   _tracef(
     47645+               const char *fmt,
     47646+               ...)
     47647+               { /* void */ }
     47648+
     47649+#undef _nc_retrace_bool
     47650+NCURSES_BOOL _nc_retrace_bool(
     47651+               int     code)
     47652+               { return(*(NCURSES_BOOL *)0); }
     47653+
     47654+#undef _nc_retrace_char
     47655+char   _nc_retrace_char(
     47656+               int     code)
     47657+               { return(*(char *)0); }
     47658+
     47659+#undef _nc_retrace_int
     47660+int    _nc_retrace_int(
     47661+               int     code)
     47662+               { return(*(int *)0); }
     47663+
     47664+#undef _nc_retrace_unsigned
     47665+unsigned _nc_retrace_unsigned(
     47666+               unsigned code)
     47667+               { return(*(unsigned *)0); }
     47668+
     47669+#undef _nc_retrace_ptr
     47670+char   *_nc_retrace_ptr(
     47671+               char    *code)
     47672+               { return(*(char **)0); }
     47673+
     47674+#undef _nc_retrace_cptr
     47675+const char *_nc_retrace_cptr(
     47676+               const char *code)
     47677+               { return(*(const char **)0); }
     47678+
     47679+#undef _nc_retrace_cvoid_ptr
     47680+void   *_nc_retrace_cvoid_ptr(
     47681+               void    *code)
     47682+               { return(*(void **)0); }
     47683+
     47684+#undef _nc_retrace_void_ptr
     47685+void   *_nc_retrace_void_ptr(
     47686+               void    *code)
     47687+               { return(*(void **)0); }
     47688+
     47689+#undef _nc_retrace_sp
     47690+SCREEN *_nc_retrace_sp(
     47691+               SCREEN  *code)
     47692+               { return(*(SCREEN **)0); }
     47693+
     47694+#undef _nc_retrace_win
     47695+WINDOW *_nc_retrace_win(
     47696+               WINDOW  *code)
     47697+               { return(*(WINDOW **)0); }
     47698+
     47699+#undef _nc_use_tracef
     47700+int    _nc_use_tracef(
     47701+               unsigned mask)
     47702+               { return(*(int *)0); }
     47703+
     47704+#undef _nc_locked_tracef
     47705+void   _nc_locked_tracef(
     47706+               const char *fmt,
     47707+               ...)
     47708+               { /* void */ }
     47709+
     47710+/* ./trace/lib_traceatr.c */
     47711+
     47712+#undef _traceattr2
     47713+char   *_traceattr2(
     47714+               int     bufnum,
     47715+               chtype  newmode)
     47716+               { return(*(char **)0); }
     47717+
     47718+#undef _traceattr
     47719+char   *_traceattr(
     47720+               attr_t  newmode)
     47721+               { return(*(char **)0); }
     47722+
     47723+#undef _nc_retrace_int_attr_t
     47724+int    _nc_retrace_int_attr_t(
     47725+               attr_t  code)
     47726+               { return(*(int *)0); }
     47727+
     47728+#undef _nc_retrace_attr_t
     47729+attr_t _nc_retrace_attr_t(
     47730+               attr_t  code)
     47731+               { return(*(attr_t *)0); }
     47732+
     47733+#undef _nc_altcharset_name
     47734+const char *_nc_altcharset_name(
     47735+               attr_t  attr,
     47736+               chtype  ch)
     47737+               { return(*(const char **)0); }
     47738+
     47739+#undef _tracechtype2
     47740+char   *_tracechtype2(
     47741+               int     bufnum,
     47742+               chtype  ch)
     47743+               { return(*(char **)0); }
     47744+
     47745+#undef _tracechtype
     47746+char   *_tracechtype(
     47747+               chtype  ch)
     47748+               { return(*(char **)0); }
     47749+
     47750+#undef _nc_retrace_chtype
     47751+chtype _nc_retrace_chtype(
     47752+               chtype  code)
     47753+               { return(*(chtype *)0); }
     47754+
     47755+#undef _tracecchar_t2
     47756+char   *_tracecchar_t2(
     47757+               int     bufnum,
     47758+               const cchar_t *ch)
     47759+               { return(*(char **)0); }
     47760+
     47761+#undef _tracecchar_t
     47762+char   *_tracecchar_t(
     47763+               const cchar_t *ch)
     47764+               { return(*(char **)0); }
     47765+
     47766+/* ./trace/lib_tracebits.c */
     47767+
     47768+typedef struct {
     47769+    unsigned int val;
     47770+    const char *name;
     47771+} BITNAMES;
     47772+
     47773+#undef _nc_trace_ttymode
     47774+char   *_nc_trace_ttymode(
     47775+               struct termios *tty)
     47776+               { return(*(char **)0); }
     47777+
     47778+#undef _nc_tracebits
     47779+char   *_nc_tracebits(void)
     47780+               { return(*(char **)0); }
     47781+
     47782+/* ./trace/lib_tracechr.c */
     47783+
     47784+#undef _nc_tracechar
     47785+char   *_nc_tracechar(
     47786+               SCREEN  *sp,
     47787+               int     ch)
     47788+               { return(*(char **)0); }
     47789+
     47790+#undef _tracechar
     47791+char   *_tracechar(
     47792+               int     ch)
     47793+               { return(*(char **)0); }
     47794+
     47795+/* ./tinfo/lib_ttyflags.c */
     47796+
     47797+#undef _nc_get_tty_mode_sp
     47798+int    _nc_get_tty_mode_sp(
     47799+               SCREEN  *sp,
     47800+               struct termios *buf)
     47801+               { return(*(int *)0); }
     47802+
     47803+#undef _nc_get_tty_mode
     47804+int    _nc_get_tty_mode(
     47805+               struct termios *buf)
     47806+               { return(*(int *)0); }
     47807+
     47808+#undef _nc_set_tty_mode_sp
     47809+int    _nc_set_tty_mode_sp(
     47810+               SCREEN  *sp,
     47811+               struct termios *buf)
     47812+               { return(*(int *)0); }
     47813+
     47814+#undef _nc_set_tty_mode
     47815+int    _nc_set_tty_mode(
     47816+               struct termios *buf)
     47817+               { return(*(int *)0); }
     47818+
     47819+#undef def_shell_mode_sp
     47820+int    def_shell_mode_sp(
     47821+               SCREEN  *sp)
     47822+               { return(*(int *)0); }
     47823+
     47824+#undef def_shell_mode
     47825+int    def_shell_mode(void)
     47826+               { return(*(int *)0); }
     47827+
     47828+#undef def_prog_mode_sp
     47829+int    def_prog_mode_sp(
     47830+               SCREEN  *sp)
     47831+               { return(*(int *)0); }
     47832+
     47833+#undef def_prog_mode
     47834+int    def_prog_mode(void)
     47835+               { return(*(int *)0); }
     47836+
     47837+#undef reset_prog_mode_sp
     47838+int    reset_prog_mode_sp(
     47839+               SCREEN  *sp)
     47840+               { return(*(int *)0); }
     47841+
     47842+#undef reset_prog_mode
     47843+int    reset_prog_mode(void)
     47844+               { return(*(int *)0); }
     47845+
     47846+#undef reset_shell_mode_sp
     47847+int    reset_shell_mode_sp(
     47848+               SCREEN  *sp)
     47849+               { return(*(int *)0); }
     47850+
     47851+#undef reset_shell_mode
     47852+int    reset_shell_mode(void)
     47853+               { return(*(int *)0); }
     47854+
     47855+#undef savetty_sp
     47856+int    savetty_sp(
     47857+               SCREEN  *sp)
     47858+               { return(*(int *)0); }
     47859+
     47860+#undef savetty
     47861+int    savetty(void)
     47862+               { return(*(int *)0); }
     47863+
     47864+#undef resetty_sp
     47865+int    resetty_sp(
     47866+               SCREEN  *sp)
     47867+               { return(*(int *)0); }
     47868+
     47869+#undef resetty
     47870+int    resetty(void)
     47871+               { return(*(int *)0); }
     47872+
     47873+/* ./tty/lib_twait.c */
     47874+
     47875+#include <sys/time.h>
     47876+
     47877+#undef _nc_timed_wait
     47878+int    _nc_timed_wait(
     47879+               SCREEN  *sp,
     47880+               int     mode,
     47881+               int     milliseconds,
     47882+               int     *timeleft)
     47883+               { return(*(int *)0); }
     47884+
     47885+/* ./tinfo/name_match.c */
     47886+
     47887+#undef _nc_first_name
     47888+char   *_nc_first_name(
     47889+               const char *const sp)
     47890+               { return(*(char **)0); }
     47891+
     47892+#undef _nc_name_match
     47893+int    _nc_name_match(
     47894+               const char *const namelst,
     47895+               const char *const name,
     47896+               const char *const delim)
     47897+               { return(*(int *)0); }
     47898+
     47899+/* ./names.c */
     47900+
     47901+#undef _nc_boolnames
     47902+char   *const *_nc_boolnames(void)
     47903+               { return(*(char **)0); }
     47904+
     47905+#undef _nc_boolfnames
     47906+char   *const *_nc_boolfnames(void)
     47907+               { return(*(char **)0); }
     47908+
     47909+#undef _nc_numnames
     47910+char   *const *_nc_numnames(void)
     47911+               { return(*(char **)0); }
     47912+
     47913+#undef _nc_numfnames
     47914+char   *const *_nc_numfnames(void)
     47915+               { return(*(char **)0); }
     47916+
     47917+#undef _nc_strnames
     47918+char   *const *_nc_strnames(void)
     47919+               { return(*(char **)0); }
     47920+
     47921+#undef _nc_strfnames
     47922+char   *const *_nc_strfnames(void)
     47923+               { return(*(char **)0); }
     47924+
     47925+/* ./tinfo/read_entry.c */
     47926+
     47927+#include <hashed_db.h>
     47928+
     47929+#undef _nc_read_termtype
     47930+int    _nc_read_termtype(
     47931+               TERMTYPE *ptr,
     47932+               char    *buffer,
     47933+               int     limit)
     47934+               { return(*(int *)0); }
     47935+
     47936+#undef _nc_read_file_entry
     47937+int    _nc_read_file_entry(
     47938+               const char *const filename,
     47939+               TERMTYPE *ptr)
     47940+               { return(*(int *)0); }
     47941+
     47942+#undef _nc_read_entry
     47943+int    _nc_read_entry(
     47944+               const char *const name,
     47945+               char    *const filename,
     47946+               TERMTYPE *const tp)
     47947+               { return(*(int *)0); }
     47948+
     47949+/* ./tinfo/read_termcap.c */
     47950+
     47951+#include <sys/types.h>
     47952+
     47953+#undef _nc_read_termcap
     47954+void   _nc_read_termcap(void)
     47955+               { /* void */ }
     47956+
     47957+/* ./tinfo/setbuf.c */
     47958+
     47959+#undef _nc_set_buffer_sp
     47960+void   _nc_set_buffer_sp(
     47961+               SCREEN  *sp,
     47962+               FILE    *ofp,
     47963+               int     buffered)
     47964+               { /* void */ }
     47965+
     47966+#undef _nc_set_buffer
     47967+void   _nc_set_buffer(
     47968+               FILE    *ofp,
     47969+               int     buffered)
     47970+               { /* void */ }
     47971+
     47972+/* ./tinfo/strings.c */
     47973+
     47974+#undef _nc_str_init
     47975+string_desc *_nc_str_init(
     47976+               string_desc *dst,
     47977+               char    *src,
     47978+               size_t  len)
     47979+               { return(*(string_desc **)0); }
     47980+
     47981+#undef _nc_str_null
     47982+string_desc *_nc_str_null(
     47983+               string_desc *dst,
     47984+               size_t  len)
     47985+               { return(*(string_desc **)0); }
     47986+
     47987+#undef _nc_str_copy
     47988+string_desc *_nc_str_copy(
     47989+               string_desc *dst,
     47990+               string_desc *src)
     47991+               { return(*(string_desc **)0); }
     47992+
     47993+#undef _nc_safe_strcat
     47994+NCURSES_BOOL _nc_safe_strcat(
     47995+               string_desc *dst,
     47996+               const char *src)
     47997+               { return(*(NCURSES_BOOL *)0); }
     47998+
     47999+#undef _nc_safe_strcpy
     48000+NCURSES_BOOL _nc_safe_strcpy(
     48001+               string_desc *dst,
     48002+               const char *src)
     48003+               { return(*(NCURSES_BOOL *)0); }
     48004+
     48005+/* ./trace/trace_buf.c */
     48006+
     48007+#undef _nc_trace_buf
     48008+char   *_nc_trace_buf(
     48009+               int     bufnum,
     48010+               size_t  want)
     48011+               { return(*(char **)0); }
     48012+
     48013+#undef _nc_trace_bufcat
     48014+char   *_nc_trace_bufcat(
     48015+               int     bufnum,
     48016+               const char *value)
     48017+               { return(*(char **)0); }
     48018+
     48019+/* ./trace/trace_tries.c */
     48020+
     48021+#undef _nc_trace_tries
     48022+void   _nc_trace_tries(
     48023+               TRIES   *tree)
     48024+               { /* void */ }
     48025+
     48026+/* ./base/tries.c */
     48027+
     48028+#undef _nc_expand_try
     48029+char   *_nc_expand_try(
     48030+               TRIES   *tree,
     48031+               unsigned code,
     48032+               int     *count,
     48033+               size_t  len)
     48034+               { return(*(char **)0); }
     48035+
     48036+#undef _nc_remove_key
     48037+int    _nc_remove_key(
     48038+               TRIES   **tree,
     48039+               unsigned code)
     48040+               { return(*(int *)0); }
     48041+
     48042+#undef _nc_remove_string
     48043+int    _nc_remove_string(
     48044+               TRIES   **tree,
     48045+               const char *string)
     48046+               { return(*(int *)0); }
     48047+
     48048+/* ./tinfo/trim_sgr0.c */
     48049+
     48050+#undef _nc_trim_sgr0
     48051+char   *_nc_trim_sgr0(
     48052+               TERMTYPE *tp)
     48053+               { return(*(char **)0); }
     48054+
     48055+/* ./unctrl.c */
     48056+
     48057+#undef unctrl_sp
     48058+char   *unctrl_sp(
     48059+               SCREEN  *sp,
     48060+               chtype  ch)
     48061+               { return(*(char **)0); }
     48062+
     48063+#undef unctrl
     48064+char   *unctrl(
     48065+               chtype  ch)
     48066+               { return(*(char **)0); }
     48067+
     48068+/* ./trace/visbuf.c */
     48069+
     48070+#undef _nc_visbuf2
     48071+const char *_nc_visbuf2(
     48072+               int     bufnum,
     48073+               const char *buf)
     48074+               { return(*(const char **)0); }
     48075+
     48076+#undef _nc_visbuf
     48077+const char *_nc_visbuf(
     48078+               const char *buf)
     48079+               { return(*(const char **)0); }
     48080+
     48081+#undef _nc_visbufn
     48082+const char *_nc_visbufn(
     48083+               const char *buf,
     48084+               int     len)
     48085+               { return(*(const char **)0); }
     48086+
     48087+#undef _nc_viswbuf2
     48088+const char *_nc_viswbuf2(
     48089+               int     bufnum,
     48090+               const wchar_t *buf)
     48091+               { return(*(const char **)0); }
     48092+
     48093+#undef _nc_viswbuf
     48094+const char *_nc_viswbuf(
     48095+               const wchar_t *buf)
     48096+               { return(*(const char **)0); }
     48097+
     48098+#undef _nc_viswbufn
     48099+const char *_nc_viswbufn(
     48100+               const wchar_t *buf,
     48101+               int     len)
     48102+               { return(*(const char **)0); }
     48103+
     48104+#undef _nc_viswibuf
     48105+const char *_nc_viswibuf(
     48106+               const wint_t *buf)
     48107+               { return(*(const char **)0); }
     48108+
     48109+#undef _nc_viscbuf2
     48110+const char *_nc_viscbuf2(
     48111+               int     bufnum,
     48112+               const cchar_t *buf,
     48113+               int     len)
     48114+               { return(*(const char **)0); }
     48115+
     48116+#undef _nc_viscbuf
     48117+const char *_nc_viscbuf(
     48118+               const cchar_t *buf,
     48119+               int     len)
     48120+               { return(*(const char **)0); }
     48121+
     48122+/* ./base/define_key.c */
     48123+
     48124+#undef define_key_sp
     48125+int    define_key_sp(
     48126+               SCREEN  *sp,
     48127+               const char *str,
     48128+               int     keycode)
     48129+               { return(*(int *)0); }
     48130+
     48131+#undef define_key
     48132+int    define_key(
     48133+               const char *str,
     48134+               int     keycode)
     48135+               { return(*(int *)0); }
     48136+
     48137+/* ./tinfo/hashed_db.c */
     48138+
     48139+#undef _nc_hashed_db
     48140+void   _nc_hashed_db(void)
     48141+               { /* void */ }
     48142+
     48143+/* ./base/key_defined.c */
     48144+
     48145+#undef key_defined_sp
     48146+int    key_defined_sp(
     48147+               SCREEN  *sp,
     48148+               const char *str)
     48149+               { return(*(int *)0); }
     48150+
     48151+#undef key_defined
     48152+int    key_defined(
     48153+               const char *str)
     48154+               { return(*(int *)0); }
     48155+
     48156+/* ./base/keybound.c */
     48157+
     48158+#undef keybound_sp
     48159+char   *keybound_sp(
     48160+               SCREEN  *sp,
     48161+               int     code,
     48162+               int     count)
     48163+               { return(*(char **)0); }
     48164+
     48165+#undef keybound
     48166+char   *keybound(
     48167+               int     code,
     48168+               int     count)
     48169+               { return(*(char **)0); }
     48170+
     48171+/* ./base/keyok.c */
     48172+
     48173+#undef keyok_sp
     48174+int    keyok_sp(
     48175+               SCREEN  *sp,
     48176+               int     c,
     48177+               NCURSES_BOOL flag)
     48178+               { return(*(int *)0); }
     48179+
     48180+#undef keyok
     48181+int    keyok(
     48182+               int     c,
     48183+               NCURSES_BOOL flag)
     48184+               { return(*(int *)0); }
     48185+
     48186+/* ./base/version.c */
     48187+
     48188+#undef curses_version
     48189+const char *curses_version(void)
     48190+               { return(*(const char **)0); }
     48191diff -Naur ncurses-5.9.orig/ncurses/llib-ltinfow ncurses-5.9/ncurses/llib-ltinfow
     48192--- ncurses-5.9.orig/ncurses/llib-ltinfow       1970-01-01 00:00:00.000000000 +0000
     48193+++ ncurses-5.9/ncurses/llib-ltinfow    2012-08-25 19:58:01.999888649 +0000
     48194@@ -0,0 +1,1537 @@
     48195+/****************************************************************************
     48196+ * Copyright (c) 2012 Free Software Foundation, Inc.                        *
     48197+ *                                                                          *
     48198+ * Permission is hereby granted, free of charge, to any person obtaining a  *
     48199+ * copy of this software and associated documentation files (the            *
     48200+ * "Software"), to deal in the Software without restriction, including      *
     48201+ * without limitation the rights to use, copy, modify, merge, publish,      *
     48202+ * distribute, distribute with modifications, sublicense, and/or sell       *
     48203+ * copies of the Software, and to permit persons to whom the Software is    *
     48204+ * furnished to do so, subject to the following conditions:                 *
     48205+ *                                                                          *
     48206+ * The above copyright notice and this permission notice shall be included  *
     48207+ * in all copies or substantial portions of the Software.                   *
     48208+ *                                                                          *
     48209+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
     48210+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
     48211+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
     48212+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
     48213+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
     48214+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
     48215+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
     48216+ *                                                                          *
     48217+ * Except as contained in this notice, the name(s) of the above copyright   *
     48218+ * holders shall not be used in advertising or otherwise to promote the     *
     48219+ * sale, use or other dealings in this Software without prior written       *
     48220+ * authorization.                                                           *
     48221+ ****************************************************************************/
     48222+
     48223+/****************************************************************************
     48224+ *  Author: Thomas E. Dickey 2012                                           *
     48225+ ****************************************************************************/
     48226+/* LINTLIBRARY */
     48227+
     48228+/* ./tinfo/access.c */
     48229+
     48230+#include <curses.priv.h>
     48231+#include <ctype.h>
     48232+#include <tic.h>
     48233+
     48234+#undef _nc_rootname
     48235+char   *_nc_rootname(
     48236+               char    *path)
     48237+               { return(*(char **)0); }
     48238+
     48239+#undef _nc_is_abs_path
     48240+NCURSES_BOOL _nc_is_abs_path(
     48241+               const char *path)
     48242+               { return(*(NCURSES_BOOL *)0); }
     48243+
     48244+#undef _nc_pathlast
     48245+unsigned _nc_pathlast(
     48246+               const char *path)
     48247+               { return(*(unsigned *)0); }
     48248+
     48249+#undef _nc_basename
     48250+char   *_nc_basename(
     48251+               char    *path)
     48252+               { return(*(char **)0); }
     48253+
     48254+#undef _nc_access
     48255+int    _nc_access(
     48256+               const char *path,
     48257+               int     mode)
     48258+               { return(*(int *)0); }
     48259+
     48260+#undef _nc_is_dir_path
     48261+NCURSES_BOOL _nc_is_dir_path(
     48262+               const char *path)
     48263+               { return(*(NCURSES_BOOL *)0); }
     48264+
     48265+#undef _nc_is_file_path
     48266+NCURSES_BOOL _nc_is_file_path(
     48267+               const char *path)
     48268+               { return(*(NCURSES_BOOL *)0); }
     48269+
     48270+#undef _nc_env_access
     48271+int    _nc_env_access(void)
     48272+               { return(*(int *)0); }
     48273+
     48274+/* ./tinfo/add_tries.c */
     48275+
     48276+#undef _nc_add_to_try
     48277+int    _nc_add_to_try(
     48278+               TRIES   **tree,
     48279+               const char *str,
     48280+               unsigned code)
     48281+               { return(*(int *)0); }
     48282+
     48283+/* ./tinfo/alloc_ttype.c */
     48284+
     48285+#undef _nc_align_termtype
     48286+void   _nc_align_termtype(
     48287+               TERMTYPE *to,
     48288+               TERMTYPE *from)
     48289+               { /* void */ }
     48290+
     48291+#undef _nc_copy_termtype
     48292+void   _nc_copy_termtype(
     48293+               TERMTYPE *dst,
     48294+               const TERMTYPE *src)
     48295+               { /* void */ }
     48296+
     48297+/* ./codes.c */
     48298+
     48299+#undef boolcodes
     48300+char   *const boolcodes[] = {0};
     48301+#undef numcodes
     48302+char   *const numcodes[] = {0};
     48303+#undef strcodes
     48304+char   *const strcodes[] = {0};
     48305+
     48306+/* ./comp_captab.c */
     48307+
     48308+#include <hashsize.h>
     48309+
     48310+#undef _nc_get_table
     48311+const struct name_table_entry *_nc_get_table(
     48312+               NCURSES_BOOL termcap)
     48313+               { return(*(const struct name_table_entry **)0); }
     48314+
     48315+#undef _nc_get_hash_table
     48316+const HashValue *_nc_get_hash_table(
     48317+               NCURSES_BOOL termcap)
     48318+               { return(*(const HashValue **)0); }
     48319+
     48320+#undef _nc_get_alias_table
     48321+const struct alias *_nc_get_alias_table(
     48322+               NCURSES_BOOL termcap)
     48323+               { return(*(const struct alias **)0); }
     48324+
     48325+#undef _nc_get_hash_info
     48326+const HashData *_nc_get_hash_info(
     48327+               NCURSES_BOOL termcap)
     48328+               { return(*(const HashData **)0); }
     48329+
     48330+/* ./tinfo/comp_error.c */
     48331+
     48332+#undef _nc_suppress_warnings
     48333+NCURSES_BOOL _nc_suppress_warnings;
     48334+#undef _nc_curr_line
     48335+int    _nc_curr_line;
     48336+#undef _nc_curr_col
     48337+int    _nc_curr_col;
     48338+
     48339+#undef _nc_get_source
     48340+const char *_nc_get_source(void)
     48341+               { return(*(const char **)0); }
     48342+
     48343+#undef _nc_set_source
     48344+void   _nc_set_source(
     48345+               const char *const name)
     48346+               { /* void */ }
     48347+
     48348+#undef _nc_set_type
     48349+void   _nc_set_type(
     48350+               const char *const name)
     48351+               { /* void */ }
     48352+
     48353+#undef _nc_get_type
     48354+void   _nc_get_type(
     48355+               char    *name)
     48356+               { /* void */ }
     48357+
     48358+#undef _nc_warning
     48359+void   _nc_warning(
     48360+               const char *const fmt,
     48361+               ...)
     48362+               { /* void */ }
     48363+
     48364+#undef _nc_err_abort
     48365+void   _nc_err_abort(
     48366+               const char *const fmt,
     48367+               ...)
     48368+               { /* void */ }
     48369+
     48370+#undef _nc_syserr_abort
     48371+void   _nc_syserr_abort(
     48372+               const char *const fmt,
     48373+               ...)
     48374+               { /* void */ }
     48375+
     48376+/* ./tinfo/comp_hash.c */
     48377+
     48378+#undef _nc_find_entry
     48379+struct name_table_entry const *_nc_find_entry(
     48380+               const char *string,
     48381+               const HashValue *hash_table)
     48382+               { return(*(struct name_table_entry const **)0); }
     48383+
     48384+#undef _nc_find_type_entry
     48385+struct name_table_entry const *_nc_find_type_entry(
     48386+               const char *string,
     48387+               int     type,
     48388+               NCURSES_BOOL termcap)
     48389+               { return(*(struct name_table_entry const **)0); }
     48390+
     48391+/* ./tinfo/db_iterator.c */
     48392+
     48393+#include <time.h>
     48394+
     48395+#undef _nc_tic_dir
     48396+const char *_nc_tic_dir(
     48397+               const char *path)
     48398+               { return(*(const char **)0); }
     48399+
     48400+#undef _nc_keep_tic_dir
     48401+void   _nc_keep_tic_dir(
     48402+               const char *path)
     48403+               { /* void */ }
     48404+
     48405+#undef _nc_last_db
     48406+void   _nc_last_db(void)
     48407+               { /* void */ }
     48408+
     48409+#undef _nc_next_db
     48410+const char *_nc_next_db(
     48411+               DBDIRS  *state,
     48412+               int     *offset)
     48413+               { return(*(const char **)0); }
     48414+
     48415+#undef _nc_first_db
     48416+void   _nc_first_db(
     48417+               DBDIRS  *state,
     48418+               int     *offset)
     48419+               { /* void */ }
     48420+
     48421+/* ./tinfo/doalloc.c */
     48422+
     48423+#undef _nc_doalloc
     48424+void   *_nc_doalloc(
     48425+               void    *oldp,
     48426+               size_t  amount)
     48427+               { return(*(void **)0); }
     48428+
     48429+/* ./tinfo/entries.c */
     48430+
     48431+#undef _nc_head
     48432+ENTRY  *_nc_head;
     48433+#undef _nc_tail
     48434+ENTRY  *_nc_tail;
     48435+
     48436+#undef _nc_free_entry
     48437+void   _nc_free_entry(
     48438+               ENTRY   *headp,
     48439+               TERMTYPE *tterm)
     48440+               { /* void */ }
     48441+
     48442+#undef _nc_free_entries
     48443+void   _nc_free_entries(
     48444+               ENTRY   *headp)
     48445+               { /* void */ }
     48446+
     48447+#undef _nc_delink_entry
     48448+ENTRY  *_nc_delink_entry(
     48449+               ENTRY   *headp,
     48450+               TERMTYPE *tterm)
     48451+               { return(*(ENTRY **)0); }
     48452+
     48453+#undef _nc_leaks_tinfo
     48454+void   _nc_leaks_tinfo(void)
     48455+               { /* void */ }
     48456+
     48457+/* ./fallback.c */
     48458+
     48459+#undef _nc_fallback
     48460+const TERMTYPE *_nc_fallback(
     48461+               const char *name)
     48462+               { return(*(const TERMTYPE **)0); }
     48463+
     48464+/* ./tinfo/free_ttype.c */
     48465+
     48466+#undef _nc_free_termtype
     48467+void   _nc_free_termtype(
     48468+               TERMTYPE *ptr)
     48469+               { /* void */ }
     48470+
     48471+#undef _nc_user_definable
     48472+NCURSES_BOOL _nc_user_definable;
     48473+
     48474+#undef use_extended_names
     48475+int    use_extended_names(
     48476+               NCURSES_BOOL flag)
     48477+               { return(*(int *)0); }
     48478+
     48479+/* ./tinfo/getenv_num.c */
     48480+
     48481+#undef _nc_getenv_num
     48482+int    _nc_getenv_num(
     48483+               const char *name)
     48484+               { return(*(int *)0); }
     48485+
     48486+/* ./tinfo/home_terminfo.c */
     48487+
     48488+#undef _nc_home_terminfo
     48489+char   *_nc_home_terminfo(void)
     48490+               { return(*(char **)0); }
     48491+
     48492+/* ./tinfo/init_keytry.c */
     48493+
     48494+#if 0
     48495+
     48496+#include <init_keytry.h>
     48497+
     48498+#undef _nc_tinfo_fkeys
     48499+const struct tinfo_fkeys _nc_tinfo_fkeys[] = {0};
     48500+
     48501+#endif
     48502+
     48503+#undef _nc_init_keytry
     48504+void   _nc_init_keytry(
     48505+               SCREEN  *sp)
     48506+               { /* void */ }
     48507+
     48508+/* ./tinfo/lib_acs.c */
     48509+
     48510+#undef acs_map
     48511+chtype acs_map[128];
     48512+
     48513+#undef _nc_init_acs_sp
     48514+void   _nc_init_acs_sp(
     48515+               SCREEN  *sp)
     48516+               { /* void */ }
     48517+
     48518+#undef _nc_init_acs
     48519+void   _nc_init_acs(void)
     48520+               { /* void */ }
     48521+
     48522+/* ./tinfo/lib_baudrate.c */
     48523+
     48524+#include <termcap.h>
     48525+
     48526+struct speed {
     48527+    int s;
     48528+    int sp;
     48529+};
     48530+
     48531+#undef _nc_baudrate
     48532+int    _nc_baudrate(
     48533+               int     OSpeed)
     48534+               { return(*(int *)0); }
     48535+
     48536+#undef _nc_ospeed
     48537+int    _nc_ospeed(
     48538+               int     BaudRate)
     48539+               { return(*(int *)0); }
     48540+
     48541+#undef baudrate_sp
     48542+int    baudrate_sp(
     48543+               SCREEN  *sp)
     48544+               { return(*(int *)0); }
     48545+
     48546+#undef baudrate
     48547+int    baudrate(void)
     48548+               { return(*(int *)0); }
     48549+
     48550+/* ./tinfo/lib_cur_term.c */
     48551+
     48552+#undef cur_term
     48553+TERMINAL *cur_term;
     48554+
     48555+#undef set_curterm_sp
     48556+TERMINAL *set_curterm_sp(
     48557+               SCREEN  *sp,
     48558+               TERMINAL *termp)
     48559+               { return(*(TERMINAL **)0); }
     48560+
     48561+#undef set_curterm
     48562+TERMINAL *set_curterm(
     48563+               TERMINAL *termp)
     48564+               { return(*(TERMINAL **)0); }
     48565+
     48566+#undef del_curterm_sp
     48567+int    del_curterm_sp(
     48568+               SCREEN  *sp,
     48569+               TERMINAL *termp)
     48570+               { return(*(int *)0); }
     48571+
     48572+#undef del_curterm
     48573+int    del_curterm(
     48574+               TERMINAL *termp)
     48575+               { return(*(int *)0); }
     48576+
     48577+/* ./tinfo/lib_data.c */
     48578+
     48579+#undef stdscr
     48580+WINDOW *stdscr;
     48581+#undef curscr
     48582+WINDOW *curscr;
     48583+#undef newscr
     48584+WINDOW *newscr;
     48585+#undef _nc_screen_chain
     48586+SCREEN *_nc_screen_chain;
     48587+#undef SP
     48588+SCREEN *SP;
     48589+#undef _nc_globals
     48590+NCURSES_GLOBALS _nc_globals;
     48591+#undef _nc_prescreen
     48592+NCURSES_PRESCREEN _nc_prescreen;
     48593+
     48594+#undef _nc_screen_of
     48595+SCREEN *_nc_screen_of(
     48596+               WINDOW  *win)
     48597+               { return(*(SCREEN **)0); }
     48598+
     48599+/* ./tinfo/lib_has_cap.c */
     48600+
     48601+#undef has_ic_sp
     48602+NCURSES_BOOL has_ic_sp(
     48603+               SCREEN  *sp)
     48604+               { return(*(NCURSES_BOOL *)0); }
     48605+
     48606+#undef has_ic
     48607+NCURSES_BOOL has_ic(void)
     48608+               { return(*(NCURSES_BOOL *)0); }
     48609+
     48610+#undef has_il_sp
     48611+NCURSES_BOOL has_il_sp(
     48612+               SCREEN  *sp)
     48613+               { return(*(NCURSES_BOOL *)0); }
     48614+
     48615+#undef has_il
     48616+NCURSES_BOOL has_il(void)
     48617+               { return(*(NCURSES_BOOL *)0); }
     48618+
     48619+/* ./tinfo/lib_kernel.c */
     48620+
     48621+#undef erasechar_sp
     48622+char   erasechar_sp(
     48623+               SCREEN  *sp)
     48624+               { return(*(char *)0); }
     48625+
     48626+#undef erasechar
     48627+char   erasechar(void)
     48628+               { return(*(char *)0); }
     48629+
     48630+#undef killchar_sp
     48631+char   killchar_sp(
     48632+               SCREEN  *sp)
     48633+               { return(*(char *)0); }
     48634+
     48635+#undef killchar
     48636+char   killchar(void)
     48637+               { return(*(char *)0); }
     48638+
     48639+#undef flushinp_sp
     48640+int    flushinp_sp(
     48641+               SCREEN  *sp)
     48642+               { return(*(int *)0); }
     48643+
     48644+#undef flushinp
     48645+int    flushinp(void)
     48646+               { return(*(int *)0); }
     48647+
     48648+/* ./lib_keyname.c */
     48649+
     48650+struct kn { short offset; int code; };
     48651+
     48652+#undef keyname_sp
     48653+char   *keyname_sp(
     48654+               SCREEN  *sp,
     48655+               int     c)
     48656+               { return(*(char **)0); }
     48657+
     48658+#undef keyname
     48659+char   *keyname(
     48660+               int     c)
     48661+               { return(*(char **)0); }
     48662+
     48663+/* ./tinfo/lib_longname.c */
     48664+
     48665+#undef longname
     48666+char   *longname(void)
     48667+               { return(*(char **)0); }
     48668+
     48669+/* ./tinfo/lib_napms.c */
     48670+
     48671+#include <sys/time.h>
     48672+
     48673+#undef napms_sp
     48674+int    napms_sp(
     48675+               SCREEN  *sp,
     48676+               int     ms)
     48677+               { return(*(int *)0); }
     48678+
     48679+#undef napms
     48680+int    napms(
     48681+               int     ms)
     48682+               { return(*(int *)0); }
     48683+
     48684+/* ./tinfo/lib_options.c */
     48685+
     48686+#undef idlok
     48687+int    idlok(
     48688+               WINDOW  *win,
     48689+               NCURSES_BOOL flag)
     48690+               { return(*(int *)0); }
     48691+
     48692+#undef idcok
     48693+void   idcok(
     48694+               WINDOW  *win,
     48695+               NCURSES_BOOL flag)
     48696+               { /* void */ }
     48697+
     48698+#undef halfdelay_sp
     48699+int    halfdelay_sp(
     48700+               SCREEN  *sp,
     48701+               int     t)
     48702+               { return(*(int *)0); }
     48703+
     48704+#undef halfdelay
     48705+int    halfdelay(
     48706+               int     t)
     48707+               { return(*(int *)0); }
     48708+
     48709+#undef nodelay
     48710+int    nodelay(
     48711+               WINDOW  *win,
     48712+               NCURSES_BOOL flag)
     48713+               { return(*(int *)0); }
     48714+
     48715+#undef notimeout
     48716+int    notimeout(
     48717+               WINDOW  *win,
     48718+               NCURSES_BOOL f)
     48719+               { return(*(int *)0); }
     48720+
     48721+#undef wtimeout
     48722+void   wtimeout(
     48723+               WINDOW  *win,
     48724+               int     delay)
     48725+               { /* void */ }
     48726+
     48727+#undef keypad
     48728+int    keypad(
     48729+               WINDOW  *win,
     48730+               NCURSES_BOOL flag)
     48731+               { return(*(int *)0); }
     48732+
     48733+#undef meta
     48734+int    meta(
     48735+               WINDOW  *win,
     48736+               NCURSES_BOOL flag)
     48737+               { return(*(int *)0); }
     48738+
     48739+#undef curs_set_sp
     48740+int    curs_set_sp(
     48741+               SCREEN  *sp,
     48742+               int     vis)
     48743+               { return(*(int *)0); }
     48744+
     48745+#undef curs_set
     48746+int    curs_set(
     48747+               int     vis)
     48748+               { return(*(int *)0); }
     48749+
     48750+#undef typeahead_sp
     48751+int    typeahead_sp(
     48752+               SCREEN  *sp,
     48753+               int     fd)
     48754+               { return(*(int *)0); }
     48755+
     48756+#undef typeahead
     48757+int    typeahead(
     48758+               int     fd)
     48759+               { return(*(int *)0); }
     48760+
     48761+#undef has_key_sp
     48762+int    has_key_sp(
     48763+               SCREEN  *sp,
     48764+               int     keycode)
     48765+               { return(*(int *)0); }
     48766+
     48767+#undef has_key
     48768+int    has_key(
     48769+               int     keycode)
     48770+               { return(*(int *)0); }
     48771+
     48772+#undef _nc_putp_flush_sp
     48773+int    _nc_putp_flush_sp(
     48774+               SCREEN  *sp,
     48775+               const char *name,
     48776+               const char *value)
     48777+               { return(*(int *)0); }
     48778+
     48779+#undef _nc_keypad
     48780+int    _nc_keypad(
     48781+               SCREEN  *sp,
     48782+               int     flag)
     48783+               { return(*(int *)0); }
     48784+
     48785+/* ./tinfo/lib_raw.c */
     48786+
     48787+#undef raw_sp
     48788+int    raw_sp(
     48789+               SCREEN  *sp)
     48790+               { return(*(int *)0); }
     48791+
     48792+#undef raw
     48793+int    raw(void)
     48794+               { return(*(int *)0); }
     48795+
     48796+#undef cbreak_sp
     48797+int    cbreak_sp(
     48798+               SCREEN  *sp)
     48799+               { return(*(int *)0); }
     48800+
     48801+#undef cbreak
     48802+int    cbreak(void)
     48803+               { return(*(int *)0); }
     48804+
     48805+#undef qiflush_sp
     48806+void   qiflush_sp(
     48807+               SCREEN  *sp)
     48808+               { /* void */ }
     48809+
     48810+#undef qiflush
     48811+void   qiflush(void)
     48812+               { /* void */ }
     48813+
     48814+#undef noraw_sp
     48815+int    noraw_sp(
     48816+               SCREEN  *sp)
     48817+               { return(*(int *)0); }
     48818+
     48819+#undef noraw
     48820+int    noraw(void)
     48821+               { return(*(int *)0); }
     48822+
     48823+#undef nocbreak_sp
     48824+int    nocbreak_sp(
     48825+               SCREEN  *sp)
     48826+               { return(*(int *)0); }
     48827+
     48828+#undef nocbreak
     48829+int    nocbreak(void)
     48830+               { return(*(int *)0); }
     48831+
     48832+#undef noqiflush_sp
     48833+void   noqiflush_sp(
     48834+               SCREEN  *sp)
     48835+               { /* void */ }
     48836+
     48837+#undef noqiflush
     48838+void   noqiflush(void)
     48839+               { /* void */ }
     48840+
     48841+#undef intrflush_sp
     48842+int    intrflush_sp(
     48843+               SCREEN  *sp,
     48844+               WINDOW  *win,
     48845+               NCURSES_BOOL flag)
     48846+               { return(*(int *)0); }
     48847+
     48848+#undef intrflush
     48849+int    intrflush(
     48850+               WINDOW  *win,
     48851+               NCURSES_BOOL flag)
     48852+               { return(*(int *)0); }
     48853+
     48854+/* ./tinfo/lib_setup.c */
     48855+
     48856+#include <locale.h>
     48857+#include <sys/ioctl.h>
     48858+#include <langinfo.h>
     48859+
     48860+#undef ttytype
     48861+char   ttytype[256];
     48862+#undef LINES
     48863+int    LINES;
     48864+#undef COLS
     48865+int    COLS;
     48866+#undef TABSIZE
     48867+int    TABSIZE;
     48868+
     48869+#undef set_tabsize_sp
     48870+int    set_tabsize_sp(
     48871+               SCREEN  *sp,
     48872+               int     value)
     48873+               { return(*(int *)0); }
     48874+
     48875+#undef set_tabsize
     48876+int    set_tabsize(
     48877+               int     value)
     48878+               { return(*(int *)0); }
     48879+
     48880+#undef _nc_handle_sigwinch
     48881+int    _nc_handle_sigwinch(
     48882+               SCREEN  *sp)
     48883+               { return(*(int *)0); }
     48884+
     48885+#undef use_env_sp
     48886+void   use_env_sp(
     48887+               SCREEN  *sp,
     48888+               NCURSES_BOOL f)
     48889+               { /* void */ }
     48890+
     48891+#undef use_env
     48892+void   use_env(
     48893+               NCURSES_BOOL f)
     48894+               { /* void */ }
     48895+
     48896+#undef use_tioctl_sp
     48897+void   use_tioctl_sp(
     48898+               SCREEN  *sp,
     48899+               NCURSES_BOOL f)
     48900+               { /* void */ }
     48901+
     48902+#undef use_tioctl
     48903+void   use_tioctl(
     48904+               NCURSES_BOOL f)
     48905+               { /* void */ }
     48906+
     48907+#undef _nc_get_screensize
     48908+void   _nc_get_screensize(
     48909+               SCREEN  *sp,
     48910+               int     *linep,
     48911+               int     *colp)
     48912+               { /* void */ }
     48913+
     48914+#undef _nc_update_screensize
     48915+void   _nc_update_screensize(
     48916+               SCREEN  *sp)
     48917+               { /* void */ }
     48918+
     48919+#undef _nc_setup_tinfo
     48920+int    _nc_setup_tinfo(
     48921+               const char *const tn,
     48922+               TERMTYPE *const tp)
     48923+               { return(*(int *)0); }
     48924+
     48925+#undef _nc_tinfo_cmdch
     48926+void   _nc_tinfo_cmdch(
     48927+               TERMINAL *termp,
     48928+               int     proto)
     48929+               { /* void */ }
     48930+
     48931+#undef _nc_get_locale
     48932+char   *_nc_get_locale(void)
     48933+               { return(*(char **)0); }
     48934+
     48935+#undef _nc_unicode_locale
     48936+int    _nc_unicode_locale(void)
     48937+               { return(*(int *)0); }
     48938+
     48939+#undef _nc_locale_breaks_acs
     48940+int    _nc_locale_breaks_acs(
     48941+               TERMINAL *termp)
     48942+               { return(*(int *)0); }
     48943+
     48944+#undef _nc_setupterm
     48945+int    _nc_setupterm(
     48946+               char    *tname,
     48947+               int     Filedes,
     48948+               int     *errret,
     48949+               int     reuse)
     48950+               { return(*(int *)0); }
     48951+
     48952+#undef new_prescr
     48953+SCREEN *new_prescr(void)
     48954+               { return(*(SCREEN **)0); }
     48955+
     48956+#undef setupterm
     48957+int    setupterm(
     48958+               char    *tname,
     48959+               int     Filedes,
     48960+               int     *errret)
     48961+               { return(*(int *)0); }
     48962+
     48963+/* ./tinfo/lib_termcap.c */
     48964+
     48965+#undef UP
     48966+char   *UP;
     48967+#undef BC
     48968+char   *BC;
     48969+
     48970+#undef tgetent_sp
     48971+int    tgetent_sp(
     48972+               SCREEN  *sp,
     48973+               char    *bufp,
     48974+               const char *name)
     48975+               { return(*(int *)0); }
     48976+
     48977+#if 0
     48978+
     48979+#include <capdefaults.c>
     48980+
     48981+#endif
     48982+
     48983+#undef tgetent
     48984+int    tgetent(
     48985+               char    *bufp,
     48986+               const char *name)
     48987+               { return(*(int *)0); }
     48988+
     48989+#undef tgetflag_sp
     48990+int    tgetflag_sp(
     48991+               SCREEN  *sp,
     48992+               char    *id)
     48993+               { return(*(int *)0); }
     48994+
     48995+#undef tgetflag
     48996+int    tgetflag(
     48997+               char    *id)
     48998+               { return(*(int *)0); }
     48999+
     49000+#undef tgetnum_sp
     49001+int    tgetnum_sp(
     49002+               SCREEN  *sp,
     49003+               char    *id)
     49004+               { return(*(int *)0); }
     49005+
     49006+#undef tgetnum
     49007+int    tgetnum(
     49008+               char    *id)
     49009+               { return(*(int *)0); }
     49010+
     49011+#undef tgetstr_sp
     49012+char   *tgetstr_sp(
     49013+               SCREEN  *sp,
     49014+               char    *id,
     49015+               char    **area)
     49016+               { return(*(char **)0); }
     49017+
     49018+#undef tgetstr
     49019+char   *tgetstr(
     49020+               char    *id,
     49021+               char    **area)
     49022+               { return(*(char **)0); }
     49023+
     49024+/* ./tinfo/lib_termname.c */
     49025+
     49026+#undef termname_sp
     49027+char   *termname_sp(
     49028+               SCREEN  *sp)
     49029+               { return(*(char **)0); }
     49030+
     49031+#undef termname
     49032+char   *termname(void)
     49033+               { return(*(char **)0); }
     49034+
     49035+/* ./tinfo/lib_tgoto.c */
     49036+
     49037+#undef tgoto
     49038+char   *tgoto(
     49039+               const char *string,
     49040+               int     x,
     49041+               int     y)
     49042+               { return(*(char **)0); }
     49043+
     49044+/* ./tinfo/lib_ti.c */
     49045+
     49046+#undef tigetflag_sp
     49047+int    tigetflag_sp(
     49048+               SCREEN  *sp,
     49049+               char    *str)
     49050+               { return(*(int *)0); }
     49051+
     49052+#undef tigetflag
     49053+int    tigetflag(
     49054+               char    *str)
     49055+               { return(*(int *)0); }
     49056+
     49057+#undef tigetnum_sp
     49058+int    tigetnum_sp(
     49059+               SCREEN  *sp,
     49060+               char    *str)
     49061+               { return(*(int *)0); }
     49062+
     49063+#undef tigetnum
     49064+int    tigetnum(
     49065+               char    *str)
     49066+               { return(*(int *)0); }
     49067+
     49068+#undef tigetstr_sp
     49069+char   *tigetstr_sp(
     49070+               SCREEN  *sp,
     49071+               char    *str)
     49072+               { return(*(char **)0); }
     49073+
     49074+#undef tigetstr
     49075+char   *tigetstr(
     49076+               char    *str)
     49077+               { return(*(char **)0); }
     49078+
     49079+/* ./tinfo/lib_tparm.c */
     49080+
     49081+#undef _nc_tparm_err
     49082+int    _nc_tparm_err;
     49083+
     49084+#undef _nc_tparm_analyze
     49085+int    _nc_tparm_analyze(
     49086+               const char *string,
     49087+               char    *p_is_s[9],
     49088+               int     *popcount)
     49089+               { return(*(int *)0); }
     49090+
     49091+#undef tparm
     49092+char   *tparm(
     49093+               char    *string,
     49094+               ...)
     49095+               { return(*(char **)0); }
     49096+
     49097+#undef tiparm
     49098+char   *tiparm(
     49099+               const char *string,
     49100+               ...)
     49101+               { return(*(char **)0); }
     49102+
     49103+/* ./tinfo/lib_tputs.c */
     49104+
     49105+#undef PC
     49106+char   PC;
     49107+#undef ospeed
     49108+short  ospeed;
     49109+#undef _nc_nulls_sent
     49110+int    _nc_nulls_sent;
     49111+
     49112+#undef _nc_set_no_padding
     49113+void   _nc_set_no_padding(
     49114+               SCREEN  *sp)
     49115+               { /* void */ }
     49116+
     49117+#undef delay_output_sp
     49118+int    delay_output_sp(
     49119+               SCREEN  *sp,
     49120+               int     ms)
     49121+               { return(*(int *)0); }
     49122+
     49123+#undef delay_output
     49124+int    delay_output(
     49125+               int     ms)
     49126+               { return(*(int *)0); }
     49127+
     49128+#undef _nc_flush_sp
     49129+void   _nc_flush_sp(
     49130+               SCREEN  *sp)
     49131+               { /* void */ }
     49132+
     49133+#undef _nc_flush
     49134+void   _nc_flush(void)
     49135+               { /* void */ }
     49136+
     49137+#undef _nc_outch_sp
     49138+int    _nc_outch_sp(
     49139+               SCREEN  *sp,
     49140+               int     ch)
     49141+               { return(*(int *)0); }
     49142+
     49143+#undef _nc_outch
     49144+int    _nc_outch(
     49145+               int     ch)
     49146+               { return(*(int *)0); }
     49147+
     49148+#undef putp_sp
     49149+int    putp_sp(
     49150+               SCREEN  *sp,
     49151+               const char *string)
     49152+               { return(*(int *)0); }
     49153+
     49154+#undef _nc_putp_sp
     49155+int    _nc_putp_sp(
     49156+               SCREEN  *sp,
     49157+               const char *name,
     49158+               const char *string)
     49159+               { return(*(int *)0); }
     49160+
     49161+#undef putp
     49162+int    putp(
     49163+               const char *string)
     49164+               { return(*(int *)0); }
     49165+
     49166+#undef _nc_putp
     49167+int    _nc_putp(
     49168+               const char *name,
     49169+               const char *string)
     49170+               { return(*(int *)0); }
     49171+
     49172+#undef tputs_sp
     49173+int    tputs_sp(
     49174+               SCREEN  *sp,
     49175+               const char *string,
     49176+               int     affcnt,
     49177+               NCURSES_OUTC_sp outc)
     49178+               { return(*(int *)0); }
     49179+
     49180+#undef _nc_outc_wrapper
     49181+int    _nc_outc_wrapper(
     49182+               SCREEN  *sp,
     49183+               int     c)
     49184+               { return(*(int *)0); }
     49185+
     49186+#undef tputs
     49187+int    tputs(
     49188+               const char *string,
     49189+               int     affcnt,
     49190+               int     (*outc)(
     49191+               int     p1))
     49192+               { return(*(int *)0); }
     49193+
     49194+/* ./trace/lib_trace.c */
     49195+
     49196+#undef _nc_tracing
     49197+unsigned _nc_tracing;
     49198+#undef _nc_tputs_trace
     49199+const char *_nc_tputs_trace = {0};
     49200+#undef _nc_outchars
     49201+long   _nc_outchars;
     49202+
     49203+#undef trace
     49204+void   trace(
     49205+               const unsigned int tracelevel)
     49206+               { /* void */ }
     49207+
     49208+#undef _tracef
     49209+void   _tracef(
     49210+               const char *fmt,
     49211+               ...)
     49212+               { /* void */ }
     49213+
     49214+#undef _nc_retrace_bool
     49215+NCURSES_BOOL _nc_retrace_bool(
     49216+               int     code)
     49217+               { return(*(NCURSES_BOOL *)0); }
     49218+
     49219+#undef _nc_retrace_char
     49220+char   _nc_retrace_char(
     49221+               int     code)
     49222+               { return(*(char *)0); }
     49223+
     49224+#undef _nc_retrace_int
     49225+int    _nc_retrace_int(
     49226+               int     code)
     49227+               { return(*(int *)0); }
     49228+
     49229+#undef _nc_retrace_unsigned
     49230+unsigned _nc_retrace_unsigned(
     49231+               unsigned code)
     49232+               { return(*(unsigned *)0); }
     49233+
     49234+#undef _nc_retrace_ptr
     49235+char   *_nc_retrace_ptr(
     49236+               char    *code)
     49237+               { return(*(char **)0); }
     49238+
     49239+#undef _nc_retrace_cptr
     49240+const char *_nc_retrace_cptr(
     49241+               const char *code)
     49242+               { return(*(const char **)0); }
     49243+
     49244+#undef _nc_retrace_cvoid_ptr
     49245+void   *_nc_retrace_cvoid_ptr(
     49246+               void    *code)
     49247+               { return(*(void **)0); }
     49248+
     49249+#undef _nc_retrace_void_ptr
     49250+void   *_nc_retrace_void_ptr(
     49251+               void    *code)
     49252+               { return(*(void **)0); }
     49253+
     49254+#undef _nc_retrace_sp
     49255+SCREEN *_nc_retrace_sp(
     49256+               SCREEN  *code)
     49257+               { return(*(SCREEN **)0); }
     49258+
     49259+#undef _nc_retrace_win
     49260+WINDOW *_nc_retrace_win(
     49261+               WINDOW  *code)
     49262+               { return(*(WINDOW **)0); }
     49263+
     49264+/* ./trace/lib_traceatr.c */
     49265+
     49266+#undef _traceattr2
     49267+char   *_traceattr2(
     49268+               int     bufnum,
     49269+               chtype  newmode)
     49270+               { return(*(char **)0); }
     49271+
     49272+#undef _traceattr
     49273+char   *_traceattr(
     49274+               attr_t  newmode)
     49275+               { return(*(char **)0); }
     49276+
     49277+#undef _nc_retrace_int_attr_t
     49278+int    _nc_retrace_int_attr_t(
     49279+               attr_t  code)
     49280+               { return(*(int *)0); }
     49281+
     49282+#undef _nc_retrace_attr_t
     49283+attr_t _nc_retrace_attr_t(
     49284+               attr_t  code)
     49285+               { return(*(attr_t *)0); }
     49286+
     49287+#undef _nc_altcharset_name
     49288+const char *_nc_altcharset_name(
     49289+               attr_t  attr,
     49290+               chtype  ch)
     49291+               { return(*(const char **)0); }
     49292+
     49293+#undef _tracechtype2
     49294+char   *_tracechtype2(
     49295+               int     bufnum,
     49296+               chtype  ch)
     49297+               { return(*(char **)0); }
     49298+
     49299+#undef _tracechtype
     49300+char   *_tracechtype(
     49301+               chtype  ch)
     49302+               { return(*(char **)0); }
     49303+
     49304+#undef _nc_retrace_chtype
     49305+chtype _nc_retrace_chtype(
     49306+               chtype  code)
     49307+               { return(*(chtype *)0); }
     49308+
     49309+#undef _tracecchar_t2
     49310+char   *_tracecchar_t2(
     49311+               int     bufnum,
     49312+               const cchar_t *ch)
     49313+               { return(*(char **)0); }
     49314+
     49315+#undef _tracecchar_t
     49316+char   *_tracecchar_t(
     49317+               const cchar_t *ch)
     49318+               { return(*(char **)0); }
     49319+
     49320+/* ./trace/lib_tracebits.c */
     49321+
     49322+typedef struct {
     49323+    unsigned int val;
     49324+    const char *name;
     49325+} BITNAMES;
     49326+
     49327+#undef _nc_trace_ttymode
     49328+char   *_nc_trace_ttymode(
     49329+               struct termios *tty)
     49330+               { return(*(char **)0); }
     49331+
     49332+#undef _nc_tracebits
     49333+char   *_nc_tracebits(void)
     49334+               { return(*(char **)0); }
     49335+
     49336+/* ./trace/lib_tracechr.c */
     49337+
     49338+#undef _nc_tracechar
     49339+char   *_nc_tracechar(
     49340+               SCREEN  *sp,
     49341+               int     ch)
     49342+               { return(*(char **)0); }
     49343+
     49344+#undef _tracechar
     49345+char   *_tracechar(
     49346+               int     ch)
     49347+               { return(*(char **)0); }
     49348+
     49349+/* ./tinfo/lib_ttyflags.c */
     49350+
     49351+#undef _nc_get_tty_mode_sp
     49352+int    _nc_get_tty_mode_sp(
     49353+               SCREEN  *sp,
     49354+               struct termios *buf)
     49355+               { return(*(int *)0); }
     49356+
     49357+#undef _nc_get_tty_mode
     49358+int    _nc_get_tty_mode(
     49359+               struct termios *buf)
     49360+               { return(*(int *)0); }
     49361+
     49362+#undef _nc_set_tty_mode_sp
     49363+int    _nc_set_tty_mode_sp(
     49364+               SCREEN  *sp,
     49365+               struct termios *buf)
     49366+               { return(*(int *)0); }
     49367+
     49368+#undef _nc_set_tty_mode
     49369+int    _nc_set_tty_mode(
     49370+               struct termios *buf)
     49371+               { return(*(int *)0); }
     49372+
     49373+#undef def_shell_mode_sp
     49374+int    def_shell_mode_sp(
     49375+               SCREEN  *sp)
     49376+               { return(*(int *)0); }
     49377+
     49378+#undef def_shell_mode
     49379+int    def_shell_mode(void)
     49380+               { return(*(int *)0); }
     49381+
     49382+#undef def_prog_mode_sp
     49383+int    def_prog_mode_sp(
     49384+               SCREEN  *sp)
     49385+               { return(*(int *)0); }
     49386+
     49387+#undef def_prog_mode
     49388+int    def_prog_mode(void)
     49389+               { return(*(int *)0); }
     49390+
     49391+#undef reset_prog_mode_sp
     49392+int    reset_prog_mode_sp(
     49393+               SCREEN  *sp)
     49394+               { return(*(int *)0); }
     49395+
     49396+#undef reset_prog_mode
     49397+int    reset_prog_mode(void)
     49398+               { return(*(int *)0); }
     49399+
     49400+#undef reset_shell_mode_sp
     49401+int    reset_shell_mode_sp(
     49402+               SCREEN  *sp)
     49403+               { return(*(int *)0); }
     49404+
     49405+#undef reset_shell_mode
     49406+int    reset_shell_mode(void)
     49407+               { return(*(int *)0); }
     49408+
     49409+#undef savetty_sp
     49410+int    savetty_sp(
     49411+               SCREEN  *sp)
     49412+               { return(*(int *)0); }
     49413+
     49414+#undef savetty
     49415+int    savetty(void)
     49416+               { return(*(int *)0); }
     49417+
     49418+#undef resetty_sp
     49419+int    resetty_sp(
     49420+               SCREEN  *sp)
     49421+               { return(*(int *)0); }
     49422+
     49423+#undef resetty
     49424+int    resetty(void)
     49425+               { return(*(int *)0); }
     49426+
     49427+/* ./tty/lib_twait.c */
     49428+
     49429+#undef _nc_timed_wait
     49430+int    _nc_timed_wait(
     49431+               SCREEN  *sp,
     49432+               int     mode,
     49433+               int     milliseconds,
     49434+               int     *timeleft)
     49435+               { return(*(int *)0); }
     49436+
     49437+/* ./tinfo/name_match.c */
     49438+
     49439+#undef _nc_first_name
     49440+char   *_nc_first_name(
     49441+               const char *const sp)
     49442+               { return(*(char **)0); }
     49443+
     49444+#undef _nc_name_match
     49445+int    _nc_name_match(
     49446+               const char *const namelst,
     49447+               const char *const name,
     49448+               const char *const delim)
     49449+               { return(*(int *)0); }
     49450+
     49451+/* ./names.c */
     49452+
     49453+#undef boolnames
     49454+char   *const boolnames[] = {0};
     49455+#undef boolfnames
     49456+char   *const boolfnames[] = {0};
     49457+#undef numnames
     49458+char   *const numnames[] = {0};
     49459+#undef numfnames
     49460+char   *const numfnames[] = {0};
     49461+#undef strnames
     49462+char   *const strnames[] = {0};
     49463+#undef strfnames
     49464+char   *const strfnames[] = {0};
     49465+
     49466+/* ./tinfo/read_entry.c */
     49467+
     49468+#include <hashed_db.h>
     49469+
     49470+#undef _nc_read_termtype
     49471+int    _nc_read_termtype(
     49472+               TERMTYPE *ptr,
     49473+               char    *buffer,
     49474+               int     limit)
     49475+               { return(*(int *)0); }
     49476+
     49477+#undef _nc_read_file_entry
     49478+int    _nc_read_file_entry(
     49479+               const char *const filename,
     49480+               TERMTYPE *ptr)
     49481+               { return(*(int *)0); }
     49482+
     49483+#undef _nc_read_entry
     49484+int    _nc_read_entry(
     49485+               const char *const name,
     49486+               char    *const filename,
     49487+               TERMTYPE *const tp)
     49488+               { return(*(int *)0); }
     49489+
     49490+/* ./tinfo/read_termcap.c */
     49491+
     49492+#include <sys/types.h>
     49493+
     49494+#undef _nc_read_termcap
     49495+void   _nc_read_termcap(void)
     49496+               { /* void */ }
     49497+
     49498+/* ./tinfo/setbuf.c */
     49499+
     49500+#undef _nc_set_buffer_sp
     49501+void   _nc_set_buffer_sp(
     49502+               SCREEN  *sp,
     49503+               FILE    *ofp,
     49504+               int     buffered)
     49505+               { /* void */ }
     49506+
     49507+#undef _nc_set_buffer
     49508+void   _nc_set_buffer(
     49509+               FILE    *ofp,
     49510+               int     buffered)
     49511+               { /* void */ }
     49512+
     49513+/* ./tinfo/strings.c */
     49514+
     49515+#undef _nc_str_init
     49516+string_desc *_nc_str_init(
     49517+               string_desc *dst,
     49518+               char    *src,
     49519+               size_t  len)
     49520+               { return(*(string_desc **)0); }
     49521+
     49522+#undef _nc_str_null
     49523+string_desc *_nc_str_null(
     49524+               string_desc *dst,
     49525+               size_t  len)
     49526+               { return(*(string_desc **)0); }
     49527+
     49528+#undef _nc_str_copy
     49529+string_desc *_nc_str_copy(
     49530+               string_desc *dst,
     49531+               string_desc *src)
     49532+               { return(*(string_desc **)0); }
     49533+
     49534+#undef _nc_safe_strcat
     49535+NCURSES_BOOL _nc_safe_strcat(
     49536+               string_desc *dst,
     49537+               const char *src)
     49538+               { return(*(NCURSES_BOOL *)0); }
     49539+
     49540+#undef _nc_safe_strcpy
     49541+NCURSES_BOOL _nc_safe_strcpy(
     49542+               string_desc *dst,
     49543+               const char *src)
     49544+               { return(*(NCURSES_BOOL *)0); }
     49545+
     49546+/* ./trace/trace_buf.c */
     49547+
     49548+#undef _nc_trace_buf
     49549+char   *_nc_trace_buf(
     49550+               int     bufnum,
     49551+               size_t  want)
     49552+               { return(*(char **)0); }
     49553+
     49554+#undef _nc_trace_bufcat
     49555+char   *_nc_trace_bufcat(
     49556+               int     bufnum,
     49557+               const char *value)
     49558+               { return(*(char **)0); }
     49559+
     49560+/* ./trace/trace_tries.c */
     49561+
     49562+#undef _nc_trace_tries
     49563+void   _nc_trace_tries(
     49564+               TRIES   *tree)
     49565+               { /* void */ }
     49566+
     49567+/* ./base/tries.c */
     49568+
     49569+#undef _nc_expand_try
     49570+char   *_nc_expand_try(
     49571+               TRIES   *tree,
     49572+               unsigned code,
     49573+               int     *count,
     49574+               size_t  len)
     49575+               { return(*(char **)0); }
     49576+
     49577+#undef _nc_remove_key
     49578+int    _nc_remove_key(
     49579+               TRIES   **tree,
     49580+               unsigned code)
     49581+               { return(*(int *)0); }
     49582+
     49583+#undef _nc_remove_string
     49584+int    _nc_remove_string(
     49585+               TRIES   **tree,
     49586+               const char *string)
     49587+               { return(*(int *)0); }
     49588+
     49589+/* ./tinfo/trim_sgr0.c */
     49590+
     49591+#undef _nc_trim_sgr0
     49592+char   *_nc_trim_sgr0(
     49593+               TERMTYPE *tp)
     49594+               { return(*(char **)0); }
     49595+
     49596+/* ./unctrl.c */
     49597+
     49598+#undef unctrl_sp
     49599+char   *unctrl_sp(
     49600+               SCREEN  *sp,
     49601+               chtype  ch)
     49602+               { return(*(char **)0); }
     49603+
     49604+#undef unctrl
     49605+char   *unctrl(
     49606+               chtype  ch)
     49607+               { return(*(char **)0); }
     49608+
     49609+/* ./trace/visbuf.c */
     49610+
     49611+#undef _nc_visbuf2
     49612+const char *_nc_visbuf2(
     49613+               int     bufnum,
     49614+               const char *buf)
     49615+               { return(*(const char **)0); }
     49616+
     49617+#undef _nc_visbuf
     49618+const char *_nc_visbuf(
     49619+               const char *buf)
     49620+               { return(*(const char **)0); }
     49621+
     49622+#undef _nc_visbufn
     49623+const char *_nc_visbufn(
     49624+               const char *buf,
     49625+               int     len)
     49626+               { return(*(const char **)0); }
     49627+
     49628+#undef _nc_viswbuf2
     49629+const char *_nc_viswbuf2(
     49630+               int     bufnum,
     49631+               const wchar_t *buf)
     49632+               { return(*(const char **)0); }
     49633+
     49634+#undef _nc_viswbuf
     49635+const char *_nc_viswbuf(
     49636+               const wchar_t *buf)
     49637+               { return(*(const char **)0); }
     49638+
     49639+#undef _nc_viswbufn
     49640+const char *_nc_viswbufn(
     49641+               const wchar_t *buf,
     49642+               int     len)
     49643+               { return(*(const char **)0); }
     49644+
     49645+#undef _nc_viswibuf
     49646+const char *_nc_viswibuf(
     49647+               const wint_t *buf)
     49648+               { return(*(const char **)0); }
     49649+
     49650+#undef _nc_viscbuf2
     49651+const char *_nc_viscbuf2(
     49652+               int     bufnum,
     49653+               const cchar_t *buf,
     49654+               int     len)
     49655+               { return(*(const char **)0); }
     49656+
     49657+#undef _nc_viscbuf
     49658+const char *_nc_viscbuf(
     49659+               const cchar_t *buf,
     49660+               int     len)
     49661+               { return(*(const char **)0); }
     49662+
     49663+/* ./base/define_key.c */
     49664+
     49665+#undef define_key_sp
     49666+int    define_key_sp(
     49667+               SCREEN  *sp,
     49668+               const char *str,
     49669+               int     keycode)
     49670+               { return(*(int *)0); }
     49671+
     49672+#undef define_key
     49673+int    define_key(
     49674+               const char *str,
     49675+               int     keycode)
     49676+               { return(*(int *)0); }
     49677+
     49678+/* ./tinfo/hashed_db.c */
     49679+
     49680+#undef _nc_hashed_db
     49681+void   _nc_hashed_db(void)
     49682+               { /* void */ }
     49683+
     49684+/* ./base/key_defined.c */
     49685+
     49686+#undef key_defined_sp
     49687+int    key_defined_sp(
     49688+               SCREEN  *sp,
     49689+               const char *str)
     49690+               { return(*(int *)0); }
     49691+
     49692+#undef key_defined
     49693+int    key_defined(
     49694+               const char *str)
     49695+               { return(*(int *)0); }
     49696+
     49697+/* ./base/keybound.c */
     49698+
     49699+#undef keybound_sp
     49700+char   *keybound_sp(
     49701+               SCREEN  *sp,
     49702+               int     code,
     49703+               int     count)
     49704+               { return(*(char **)0); }
     49705+
     49706+#undef keybound
     49707+char   *keybound(
     49708+               int     code,
     49709+               int     count)
     49710+               { return(*(char **)0); }
     49711+
     49712+/* ./base/keyok.c */
     49713+
     49714+#undef keyok_sp
     49715+int    keyok_sp(
     49716+               SCREEN  *sp,
     49717+               int     c,
     49718+               NCURSES_BOOL flag)
     49719+               { return(*(int *)0); }
     49720+
     49721+#undef keyok
     49722+int    keyok(
     49723+               int     c,
     49724+               NCURSES_BOOL flag)
     49725+               { return(*(int *)0); }
     49726+
     49727+/* ./base/version.c */
     49728+
     49729+#undef curses_version
     49730+const char *curses_version(void)
     49731+               { return(*(const char **)0); }
    3520549732diff -Naur ncurses-5.9.orig/ncurses/tinfo/MKcaptab.sh ncurses-5.9/ncurses/tinfo/MKcaptab.sh
    35206 --- ncurses-5.9.orig/ncurses/tinfo/MKcaptab.sh  2012-02-16 18:25:12.675810462 +0000
    35207 +++ ncurses-5.9/ncurses/tinfo/MKcaptab.sh       2012-02-16 18:25:12.987818695 +0000
     49733--- ncurses-5.9.orig/ncurses/tinfo/MKcaptab.sh  2012-08-25 19:57:59.416567535 +0000
     49734+++ ncurses-5.9/ncurses/tinfo/MKcaptab.sh       2012-08-25 19:58:00.033231285 +0000
    3520849735@@ -1,6 +1,6 @@
    3520949736 #!/bin/sh
     
    3524849775 static int
    3524949776diff -Naur ncurses-5.9.orig/ncurses/tinfo/access.c ncurses-5.9/ncurses/tinfo/access.c
    35250 --- ncurses-5.9.orig/ncurses/tinfo/access.c     2012-02-16 18:25:12.675810462 +0000
    35251 +++ ncurses-5.9/ncurses/tinfo/access.c  2012-02-16 18:25:12.987818695 +0000
     49777--- ncurses-5.9.orig/ncurses/tinfo/access.c     2012-08-25 19:57:59.416567535 +0000
     49778+++ ncurses-5.9/ncurses/tinfo/access.c  2012-08-25 19:58:00.913227124 +0000
    3525249779@@ -1,5 +1,5 @@
    3525349780 /****************************************************************************
    3525449781- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    35255 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     49782+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3525649783  *                                                                          *
    3525749784  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3526649793 
    3526749794-MODULE_ID("$Id: access.c,v 1.16 2010/01/23 17:57:43 tom Exp $")
    35268 +MODULE_ID("$Id: access.c,v 1.20 2011/06/05 00:48:00 tom Exp $")
     49795+MODULE_ID("$Id: access.c,v 1.22 2012/02/22 22:34:31 tom Exp $")
    3526949796+
    3527049797+#ifdef __TANDEM
     
    3527849805 #define LOWERCASE(c) ((isalpha(UChar(c)) && isupper(UChar(c))) ? tolower(UChar(c)) : (c))
    3527949806 
    35280 @@ -108,7 +115,11 @@
     49807@@ -108,24 +115,33 @@
    3528149808 NCURSES_EXPORT(int)
    3528249809 _nc_access(const char *path, int mode)
     
    3529149818            && errno == ENOENT
    3529249819            && strlen(path) < PATH_MAX) {
    35293 @@ -121,11 +132,14 @@
     49820            char head[PATH_MAX];
     49821-           char *leaf = _nc_basename(strcpy(head, path));
     49822+           char *leaf;
     49823 
     49824+           _nc_STRCPY(head, path, sizeof(head));
     49825+           leaf = _nc_basename(head);
     49826            if (leaf == 0)
     49827                leaf = head;
     49828            *leaf = '\0';
    3529449829            if (head == leaf)
    35295                 (void) strcpy(head, ".");
     49830-               (void) strcpy(head, ".");
     49831+               _nc_STRCPY(head, ".", sizeof(head));
    3529649832 
    3529749833-           return access(head, R_OK | W_OK | X_OK);
     
    3530949845 
    3531049846 NCURSES_EXPORT(bool)
    35311 @@ -135,7 +149,7 @@
     49847@@ -135,7 +151,7 @@
    3531249848     struct stat sb;
    3531349849 
     
    3531849854     }
    3531949855     return result;
    35320 @@ -148,7 +162,7 @@
     49856@@ -148,7 +164,7 @@
    3532149857     struct stat sb;
    3532249858 
     
    3532749863     }
    3532849864     return result;
    35329 @@ -170,6 +184,7 @@
     49865@@ -170,6 +186,7 @@
    3533049866        || getgid() != getegid())
    3533149867        return FALSE;
     
    3533749873 #endif
    3533849874diff -Naur ncurses-5.9.orig/ncurses/tinfo/alloc_entry.c ncurses-5.9/ncurses/tinfo/alloc_entry.c
    35339 --- ncurses-5.9.orig/ncurses/tinfo/alloc_entry.c        2012-02-16 18:25:12.675810462 +0000
    35340 +++ ncurses-5.9/ncurses/tinfo/alloc_entry.c     2012-02-16 18:25:12.987818695 +0000
     49875--- ncurses-5.9.orig/ncurses/tinfo/alloc_entry.c        2012-08-25 19:57:59.413234218 +0000
     49876+++ ncurses-5.9/ncurses/tinfo/alloc_entry.c     2012-08-25 19:58:00.913227124 +0000
    3534149877@@ -1,5 +1,5 @@
    3534249878 /****************************************************************************
    3534349879- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    35344 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     49880+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3534549881  *                                                                          *
    3534649882  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3535149887 
    3535249888-MODULE_ID("$Id: alloc_entry.c,v 1.51 2010/12/25 23:06:01 tom Exp $")
    35353 +MODULE_ID("$Id: alloc_entry.c,v 1.52 2011/10/22 16:34:50 tom Exp $")
     49889+MODULE_ID("$Id: alloc_entry.c,v 1.56 2012/02/22 22:34:31 tom Exp $")
    3535449890 
    3535549891 #define ABSENT_OFFSET    -1
     
    3536449900 #if NCURSES_XNAMES
    3536549901     tp->num_Booleans = BOOLCOUNT;
     49902@@ -131,7 +131,7 @@
     49903            result = (stringbuf + next_free - 1);
     49904        }
     49905     } else if (next_free + len < MAX_STRTAB) {
     49906-       strcpy(&stringbuf[next_free], string);
     49907+       _nc_STRCPY(&stringbuf[next_free], string, MAX_STRTAB);
     49908        DEBUG(7, ("Saved string %s", _nc_visbuf(string)));
     49909        DEBUG(7, ("at location %d", (int) next_free));
     49910        next_free += len;
     49911@@ -216,16 +216,19 @@
     49912        if ((n = (unsigned) NUM_EXT_NAMES(tp)) != 0) {
     49913            if (n < SIZEOF(offsets)) {
     49914                size_t length = 0;
     49915+               size_t offset;
     49916                for (i = 0; i < n; i++) {
     49917                    length += strlen(tp->ext_Names[i]) + 1;
     49918                    offsets[i] = (int) (tp->ext_Names[i] - stringbuf);
     49919                }
     49920                if ((tp->ext_str_table = typeMalloc(char, length)) == 0)
     49921                      _nc_err_abort(MSG_NO_MEMORY);
     49922-               for (i = 0, length = 0; i < n; i++) {
     49923-                   tp->ext_Names[i] = tp->ext_str_table + length;
     49924-                   strcpy(tp->ext_Names[i], stringbuf + offsets[i]);
     49925-                   length += strlen(tp->ext_Names[i]) + 1;
     49926+               for (i = 0, offset = 0; i < n; i++) {
     49927+                   tp->ext_Names[i] = tp->ext_str_table + offset;
     49928+                   _nc_STRCPY(tp->ext_Names[i],
     49929+                              stringbuf + offsets[i],
     49930+                              length - offset);
     49931+                   offset += strlen(tp->ext_Names[i]) + 1;
     49932                }
     49933            }
     49934        }
     49935diff -Naur ncurses-5.9.orig/ncurses/tinfo/alloc_ttype.c ncurses-5.9/ncurses/tinfo/alloc_ttype.c
     49936--- ncurses-5.9.orig/ncurses/tinfo/alloc_ttype.c        2012-08-25 19:57:59.416567535 +0000
     49937+++ ncurses-5.9/ncurses/tinfo/alloc_ttype.c     2012-08-25 19:58:00.959893570 +0000
     49938@@ -1,5 +1,5 @@
     49939 /****************************************************************************
     49940- * Copyright (c) 1999-2009,2010 Free Software Foundation, Inc.              *
     49941+ * Copyright (c) 1999-2010,2012 Free Software Foundation, Inc.              *
     49942  *                                                                          *
     49943  * Permission is hereby granted, free of charge, to any person obtaining a  *
     49944  * copy of this software and associated documentation files (the            *
     49945@@ -42,7 +42,7 @@
     49946 
     49947 #include <tic.h>
     49948 
     49949-MODULE_ID("$Id: alloc_ttype.c,v 1.22 2010/12/19 00:24:09 tom Exp $")
     49950+MODULE_ID("$Id: alloc_ttype.c,v 1.24 2012/03/01 01:21:56 tom Exp $")
     49951 
     49952 #if NCURSES_XNAMES
     49953 /*
     49954@@ -473,7 +473,7 @@
     49955 #endif
     49956 
     49957 NCURSES_EXPORT(void)
     49958-_nc_copy_termtype(TERMTYPE *dst, TERMTYPE *src)
     49959+_nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src)
     49960 {
     49961     unsigned i;
     49962 
     49963@@ -482,13 +482,15 @@
     49964     dst->Numbers = typeMalloc(short, NUM_NUMBERS(dst));
     49965     dst->Strings = typeMalloc(char *, NUM_STRINGS(dst));
     49966 
     49967-    /* FIXME: use memcpy for these and similar loops */
     49968-    for_each_boolean(i, dst)
     49969-       dst->Booleans[i] = src->Booleans[i];
     49970-    for_each_number(i, dst)
     49971-       dst->Numbers[i] = src->Numbers[i];
     49972-    for_each_string(i, dst)
     49973-       dst->Strings[i] = src->Strings[i];
     49974+    memcpy(dst->Booleans,
     49975+          src->Booleans,
     49976+          NUM_BOOLEANS(dst) * sizeof(dst->Booleans[0]));
     49977+    memcpy(dst->Numbers,
     49978+          src->Numbers,
     49979+          NUM_NUMBERS(dst) * sizeof(dst->Numbers[0]));
     49980+    memcpy(dst->Strings,
     49981+          src->Strings,
     49982+          NUM_STRINGS(dst) * sizeof(dst->Strings[0]));
     49983 
     49984     /* FIXME: we probably should also copy str_table and ext_str_table,
     49985      * but tic and infocmp are not written to exploit that (yet).
    3536649986diff -Naur ncurses-5.9.orig/ncurses/tinfo/captoinfo.c ncurses-5.9/ncurses/tinfo/captoinfo.c
    35367 --- ncurses-5.9.orig/ncurses/tinfo/captoinfo.c  2012-02-16 18:25:12.675810462 +0000
    35368 +++ ncurses-5.9/ncurses/tinfo/captoinfo.c       2012-02-16 18:25:12.987818695 +0000
     49987--- ncurses-5.9.orig/ncurses/tinfo/captoinfo.c  2012-08-25 19:57:59.416567535 +0000
     49988+++ ncurses-5.9/ncurses/tinfo/captoinfo.c       2012-08-25 19:58:00.913227124 +0000
    3536949989@@ -1,5 +1,5 @@
    3537049990 /****************************************************************************
    3537149991- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    35372 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     49992+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3537349993  *                                                                          *
    3537449994  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3537949999 
    3538050000-MODULE_ID("$Id: captoinfo.c,v 1.58 2010/12/04 20:08:19 tom Exp $")
    35381 +MODULE_ID("$Id: captoinfo.c,v 1.70 2011/10/22 14:59:34 tom Exp $")
     50001+MODULE_ID("$Id: captoinfo.c,v 1.72 2012/02/22 22:40:24 tom Exp $")
    3538250002 
    3538350003 #define MAX_PUSHED     16      /* max # args we can push onto the stack */
     50004 
     50005@@ -133,7 +133,7 @@
     50006            _nc_err_abort(MSG_NO_MEMORY);
     50007        d = my_string + have;
     50008     }
     50009-    (void) strcpy(d, s);
     50010+    _nc_STRCPY(d, s, my_length - have);
     50011     return d + strlen(d);
     50012 }
    3538450013 
    3538550014@@ -240,6 +240,12 @@
     
    3548250111     }
    3548350112 
     50113@@ -578,7 +515,7 @@
     50114        {
     50115            char buffer[80];
     50116            int tst;
     50117-           sprintf(buffer, fmt, ch1, ch2);
     50118+           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer)) fmt, ch1, ch2);
     50119            tst = strlen(buffer) - 1;
     50120            assert(len == tst);
     50121        }
     50122@@ -598,9 +535,9 @@
     50123        bufptr = save_char(bufptr, c1);
     50124     } else {
     50125        if (c1 == (c1 & 0x1f))  /* iscntrl() returns T on 255 */
     50126-           (void) strcpy(temp, unctrl((chtype) c1));
     50127+           _nc_STRCPY(temp, unctrl((chtype) c1), sizeof(temp));
     50128        else
     50129-           (void) sprintf(temp, "\\%03o", c1);
     50130+           _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp)) "\\%03o", c1);
     50131        bufptr = save_string(bufptr, temp);
     50132     }
     50133     return bufptr;
    3548450134@@ -646,13 +583,15 @@
    3548550135     int in0, in1, in2;
     
    3550950159        char *cp = 0;
    3551050160 
    35511 @@ -685,8 +624,71 @@
     50161@@ -685,8 +624,72 @@
    3551250162            } else if (str[1] == ',') {
    3551350163                bufptr = save_char(bufptr, *++str);
     
    3557050220+                       default:
    3557150221+                           /* should not happen, but handle this anyway */
    35572 +                           sprintf(octal, "%03o", UChar(xx1));
     50222+                           _nc_SPRINTF(octal, _nc_SLIMIT(sizeof(octal))
     50223+                                       "%03o", UChar(xx1));
    3557350224+                           bufptr = save_char(bufptr, octal[0]);
    3557450225+                           bufptr = save_char(bufptr, octal[1]);
     
    3558250233        } else if (str[0] == '$' && str[1] == '<') {    /* discard padding */
    3558350234            str += 2;
    35584 @@ -720,13 +722,13 @@
     50235@@ -720,13 +723,13 @@
    3558550236            bufptr = save_tc_inequality(bufptr, c1, c2);
    3558650237        } else if (sscanf(str, "%%?%%{%d}%%>%%t%%'%c'%%+%%;", &c1, &ch2) == 2) {
     
    3559950250            str += len;
    3560050251            bufptr = save_string(bufptr, "%B");
    35601 @@ -741,15 +743,15 @@
     50252@@ -741,15 +744,15 @@
    3560250253            bufptr = save_tc_char(bufptr, c1);
    3560350254        }
     
    3561850269            if (saw_n++ == 0) {
    3561950270                bufptr = save_string(bufptr, "%m");
    35620 @@ -772,8 +774,25 @@
     50271@@ -772,8 +775,25 @@
    3562150272            case '8':
    3562250273            case '9':
     
    3564650297                    if (*str != 'd')    /* termcap doesn't have octal, hex */
    3564750298                        return 0;
    35648 @@ -794,6 +813,8 @@
     50299@@ -794,6 +814,8 @@
    3564950300                 * termcap notation.
    3565050301                 */
     
    3565650307 
    3565750308diff -Naur ncurses-5.9.orig/ncurses/tinfo/comp_error.c ncurses-5.9/ncurses/tinfo/comp_error.c
    35658 --- ncurses-5.9.orig/ncurses/tinfo/comp_error.c 2012-02-16 18:25:12.675810462 +0000
    35659 +++ ncurses-5.9/ncurses/tinfo/comp_error.c      2012-02-16 18:25:12.987818695 +0000
     50309--- ncurses-5.9.orig/ncurses/tinfo/comp_error.c 2012-08-25 19:57:59.416567535 +0000
     50310+++ ncurses-5.9/ncurses/tinfo/comp_error.c      2012-08-25 19:58:00.913227124 +0000
    3566050311@@ -1,5 +1,5 @@
    3566150312 /****************************************************************************
    3566250313- * Copyright (c) 1998-2005,2007 Free Software Foundation, Inc.              *
    35663 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     50314+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3566450315  *                                                                          *
    3566550316  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3567050321 
    3567150322-MODULE_ID("$Id: comp_error.c,v 1.31 2007/04/21 23:38:32 tom Exp $")
    35672 +MODULE_ID("$Id: comp_error.c,v 1.33 2011/10/22 16:34:50 tom Exp $")
     50323+MODULE_ID("$Id: comp_error.c,v 1.36 2012/02/22 22:34:31 tom Exp $")
    3567350324 
    3567450325 NCURSES_EXPORT_VAR(bool) _nc_suppress_warnings = FALSE;
     
    3569350344 }
    3569450345 
     50346@@ -84,7 +85,7 @@
     50347     }
     50348 #endif
     50349     if (name != 0)
     50350-       strcpy(name, TermType != 0 ? TermType : "");
     50351+       _nc_STRCPY(name, TermType != 0 ? TermType : "", MAX_NAME_SIZE);
     50352 }
     50353 
     50354 static NCURSES_INLINE void
     50355@@ -151,3 +152,12 @@
     50356     exit(EXIT_FAILURE);
     50357 #endif
     50358 }
     50359+
     50360+#if NO_LEAKS
     50361+NCURSES_EXPORT(void)
     50362+_nc_comp_error_leaks(void)
     50363+{
     50364+    FreeAndNull(SourceName);
     50365+    FreeAndNull(TermType);
     50366+}
     50367+#endif
    3569550368diff -Naur ncurses-5.9.orig/ncurses/tinfo/comp_expand.c ncurses-5.9/ncurses/tinfo/comp_expand.c
    35696 --- ncurses-5.9.orig/ncurses/tinfo/comp_expand.c        2012-02-16 18:25:12.675810462 +0000
    35697 +++ ncurses-5.9/ncurses/tinfo/comp_expand.c     2012-02-16 18:25:12.987818695 +0000
     50369--- ncurses-5.9.orig/ncurses/tinfo/comp_expand.c        2012-08-25 19:57:59.416567535 +0000
     50370+++ ncurses-5.9/ncurses/tinfo/comp_expand.c     2012-08-25 19:58:01.059893097 +0000
    3569850371@@ -1,5 +1,5 @@
    3569950372 /****************************************************************************
    3570050373- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    35701 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     50374+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3570250375  *                                                                          *
    3570350376  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3570850381 
    3570950382-MODULE_ID("$Id: comp_expand.c,v 1.21 2010/01/16 17:11:23 tom Exp $")
    35710 +MODULE_ID("$Id: comp_expand.c,v 1.22 2011/05/21 18:55:07 tom Exp $")
     50383+MODULE_ID("$Id: comp_expand.c,v 1.25 2012/03/24 18:37:17 tom Exp $")
    3571150384 
    3571250385 static int
    3571350386 trailing_spaces(const char *src)
    35714 @@ -61,15 +61,15 @@
     50387@@ -49,6 +49,8 @@
     50388 #define REALCTL(s) (UChar(*(s)) < 127 && iscntrl(UChar(*(s))))
     50389 #define REALPRINT(s) (UChar(*(s)) < 127 && isprint(UChar(*(s))))
     50390 
     50391+#define P_LIMIT(p) (length - (size_t)(p))
     50392+
     50393 NCURSES_EXPORT(char *)
     50394 _nc_tic_expand(const char *srcp, bool tic_format, int numbers)
     50395 {
     50396@@ -61,15 +63,15 @@
    3571550397     size_t need = (2 + strlen(str)) * 4;
    3571650398     int ch;
     
    3573050412        if ((buffer = typeRealloc(char, length = need, buffer)) == 0)
    3573150413              return 0;
     50414@@ -90,7 +92,8 @@
     50415                    && str[1] != '\\'
     50416                    && REALPRINT(str + 1)
     50417                    && str[2] == S_QUOTE) {
     50418-                   sprintf(buffer + bufp, "{%d}", str[1]);
     50419+                   _nc_SPRINTF(buffer + bufp, _nc_SLIMIT(P_LIMIT(bufp))
     50420+                               "{%d}", str[1]);
     50421                    bufp += (int) strlen(buffer + bufp);
     50422                    str += 2;
     50423                } else {
     50424@@ -177,10 +180,12 @@
     50425 #define UnCtl(c) ((c) + '@')
     50426        else if (REALCTL(str) && ch != '\\'
     50427                 && (!islong || isdigit(UChar(str[1])))) {
     50428-           (void) sprintf(&buffer[bufp], "^%c", UnCtl(ch));
     50429+           _nc_SPRINTF(&buffer[bufp], _nc_SLIMIT(P_LIMIT(bufp))
     50430+                       "^%c", UnCtl(ch));
     50431            bufp += 2;
     50432        } else {
     50433-           (void) sprintf(&buffer[bufp], "\\%03o", ch);
     50434+           _nc_SPRINTF(&buffer[bufp], _nc_SLIMIT(P_LIMIT(bufp))
     50435+                       "\\%03o", ch);
     50436            bufp += 4;
     50437        }
     50438 
    3573250439diff -Naur ncurses-5.9.orig/ncurses/tinfo/comp_parse.c ncurses-5.9/ncurses/tinfo/comp_parse.c
    35733 --- ncurses-5.9.orig/ncurses/tinfo/comp_parse.c 2012-02-16 18:25:12.675810462 +0000
    35734 +++ ncurses-5.9/ncurses/tinfo/comp_parse.c      2012-02-16 18:25:13.231825133 +0000
     50440--- ncurses-5.9.orig/ncurses/tinfo/comp_parse.c 2012-08-25 19:57:59.416567535 +0000
     50441+++ ncurses-5.9/ncurses/tinfo/comp_parse.c      2012-08-25 19:58:01.233225611 +0000
    3573550442@@ -1,5 +1,5 @@
    3573650443 /****************************************************************************
     
    3576150468 
    3576250469-MODULE_ID("$Id: comp_parse.c,v 1.73 2010/12/25 23:06:37 tom Exp $")
    35763 +MODULE_ID("$Id: comp_parse.c,v 1.79 2012/01/28 21:49:23 tom Exp $")
     50470+MODULE_ID("$Id: comp_parse.c,v 1.85 2012/04/14 23:30:10 tom Exp $")
    3576450471 
    3576550472 static void sanity_check2(TERMTYPE *, bool);
     
    3577450481 enqueue(ENTRY * ep)
    3577550482 /* add an entry to the in-core list */
    35776 @@ -93,9 +90,21 @@
     50483@@ -86,16 +83,28 @@
     50484        if (len > MAX_NAME_SIZE)
     50485            len = MAX_NAME_SIZE;
     50486        (void) strncpy(dst, src, len);
     50487-       (void) strcpy(dst + len, "|");
     50488+       _nc_STRCPY(dst + len, "|", MAX_NAME_SIZE);
     50489        src = dst;
     50490     }
     50491     return src;
    3577750492 }
    3577850493 #define ForceBar(dst, src) ((strchr(src, '|') == 0) ? force_bar(dst, src) : src)
     
    3593150646     if (multiples > 0)
    3593250647        return (FALSE);
    35933 @@ -378,7 +470,15 @@
     50648@@ -378,7 +470,34 @@
    3593450649            for_entry_list(qp) {
    3593550650                _nc_curr_line = (int) qp->startline;
     
    3594150656+                */
    3594250657+               if (_nc_check_termtype2 != sanity_check2) {
     50658+                   SCREEN *save_SP = SP;
     50659+                   SCREEN fake_sp;
     50660+                   TERMINAL fake_tm;
     50661+                   TERMINAL *save_tm = cur_term;
     50662+
     50663+                   /*
     50664+                    * Setup so that tic can use ordinary terminfo interface
     50665+                    * to obtain capability information.
     50666+                    */
     50667+                   memset(&fake_sp, 0, sizeof(fake_sp));
     50668+                   memset(&fake_tm, 0, sizeof(fake_tm));
     50669+                   fake_sp._term = &fake_tm;
     50670+                   fake_tm.type = qp->tterm;
     50671+                   SP = &fake_sp;
     50672+                   set_curterm(&fake_tm);
     50673+
    3594350674+                   _nc_check_termtype2(&qp->tterm, literal);
     50675+
     50676+                   SP = save_SP;
     50677+                   set_curterm(save_tm);
    3594450678+               } else {
    3594550679+                   fixup_acsc(&qp->tterm, literal);
     
    3594850682            DEBUG(2, ("SANITY CHECK FINISHED"));
    3594950683        }
    35950 @@ -403,6 +503,17 @@
     50684@@ -403,6 +522,17 @@
    3595150685 #define CUR tp->
    3595250686 
     
    3596650700 {
    3596750701     if (!PRESENT(exit_attribute_mode)) {
    35968 @@ -428,10 +539,7 @@
     50702@@ -428,10 +558,7 @@
    3596950703      * prefer to bypass it...
    3597050704      */
     
    3597950713     }
    3598050714diff -Naur ncurses-5.9.orig/ncurses/tinfo/comp_scan.c ncurses-5.9/ncurses/tinfo/comp_scan.c
    35981 --- ncurses-5.9.orig/ncurses/tinfo/comp_scan.c  2012-02-16 18:25:12.675810462 +0000
    35982 +++ ncurses-5.9/ncurses/tinfo/comp_scan.c       2012-02-16 18:25:12.991818801 +0000
     50715--- ncurses-5.9.orig/ncurses/tinfo/comp_scan.c  2012-08-25 19:57:59.416567535 +0000
     50716+++ ncurses-5.9/ncurses/tinfo/comp_scan.c       2012-08-25 19:58:01.316558550 +0000
    3598350717@@ -1,5 +1,5 @@
    3598450718 /****************************************************************************
    3598550719- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    35986 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     50720+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3598750721  *                                                                          *
    3598850722  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3599350727 
    3599450728-MODULE_ID("$Id: comp_scan.c,v 1.89 2010/12/25 23:06:37 tom Exp $")
    35995 +MODULE_ID("$Id: comp_scan.c,v 1.94 2011/10/22 15:46:43 tom Exp $")
     50729+MODULE_ID("$Id: comp_scan.c,v 1.100 2012/04/29 00:20:51 tom Exp $")
    3599650730 
    3599750731 /*
     
    3600550739 NCURSES_EXPORT_VAR (long) _nc_comment_start = 0; /* start of comment range before name */
    3600650740 NCURSES_EXPORT_VAR (long) _nc_comment_end = 0;   /* end of comment range before name */
    36007 @@ -256,12 +257,12 @@
     50741@@ -127,14 +128,19 @@
     50742  *     Returns the final nonblank character on the current input buffer
     50743  */
     50744 static int
     50745-last_char(void)
     50746+last_char(int from_end)
     50747 {
     50748     size_t len = strlen(bufptr);
     50749+    int result = 0;
     50750+
     50751     while (len--) {
     50752-       if (!isspace(UChar(bufptr[len])))
     50753-           return bufptr[len];
     50754+       if (!isspace(UChar(bufptr[len]))) {
     50755+           if (from_end < (int) len)
     50756+               result = bufptr[(int) len - from_end];
     50757+           break;
     50758+       }
     50759     }
     50760-    return 0;
     50761+    return result;
     50762 }
     50763 
     50764 /*
     50765@@ -195,7 +201,8 @@
     50766                    result = typeRealloc(char, allocated, result);
     50767                    if (result == 0)
     50768                        return (EOF);
     50769-                   bufstart = result;
     50770+                   if (bufstart)
     50771+                       bufstart = result;
     50772                }
     50773                if (used == 0)
     50774                    _nc_curr_file_pos = ftell(yyin);
     50775@@ -212,7 +219,7 @@
     50776                    }
     50777                } else {
     50778                    if (used != 0)
     50779-                       strcat(result, "\n");
     50780+                       _nc_STRCAT(result, "\n", allocated);
     50781                }
     50782                if ((bufptr = bufstart) != 0) {
     50783                    used = strlen(bufptr);
     50784@@ -256,12 +263,12 @@
    3600850785 }
    3600950786 
     
    3602050797 }
    3602150798 
    36022 @@ -299,6 +300,8 @@
     50799@@ -299,6 +306,8 @@
    3602350800        *tok_ptr++ = (char) ch; \
    3602450801        *tok_ptr = '\0'
     
    3602950806  *     int
    3603050807  *     get_token()
    36031 @@ -336,7 +339,6 @@
     50808@@ -336,15 +345,14 @@
    3603250809 _nc_get_token(bool silent)
    3603350810 {
     
    3603550812-    static char *tok_buf;
    3603650813 
    36037      char *after_list;
    36038      char *after_name;
    36039 @@ -376,7 +378,6 @@
     50814-    char *after_list;
     50815-    char *after_name;
     50816+    char *after_name;          /* after primary name */
     50817+    char *after_list;          /* after primary and alias list */
     50818     char *numchk;
     50819     char *tok_ptr;
     50820     char *s;
     50821     char numbuf[80];
     50822-    int ch;
     50823+    int ch, c0, c1;
     50824     int dot_flag = FALSE;
     50825     int type;
     50826     long number;
     50827@@ -376,7 +384,6 @@
    3604050828        if (tok_buf != 0) {
    3604150829            if (_nc_curr_token.tk_name == tok_buf)
     
    3604550833        return (EOF);
    3604650834     }
    36047 @@ -390,6 +391,7 @@
     50835@@ -390,6 +397,7 @@
    3604850836     }
    3604950837 
     
    3605350841 #ifdef TRACE
    3605450842     old_line = _nc_curr_line;
    36055 @@ -748,7 +750,7 @@
     50843@@ -457,7 +465,7 @@
     50844                    after_list = tok_ptr;
     50845                    if (after_name == 0)
     50846                        after_name = tok_ptr;
     50847-               } else if (ch == ':' && last_char() != ',') {
     50848+               } else if (ch == ':' && last_char(0) != ',') {
     50849                    _nc_syntax = SYN_TERMCAP;
     50850                    separator = ':';
     50851                    break;
     50852@@ -471,12 +479,64 @@
     50853                    if (after_name == 0)
     50854                        break;
     50855                    /*
     50856-                    * If we see a comma, we assume this is terminfo unless we
     50857-                    * subsequently run into a colon.  But we don't stop
     50858-                    * looking for a colon until hitting a newline.  This
     50859-                    * allows commas to be embedded in description fields of
     50860-                    * either syntax.
     50861+                    * We saw a comma, but are not entirely sure this is
     50862+                    * terminfo format, since we can still be parsing the
     50863+                    * description field (for either syntax).
     50864+                    *
     50865+                    * A properly formatted termcap line ends with either a
     50866+                    * colon, or a backslash after a colon.  It is possible
     50867+                    * to have a backslash in the middle of a capability, but
     50868+                    * then there would be no leading whitespace on the next
     50869+                    * line - something we want to discourage.
     50870                     */
     50871+                   c0 = last_char(0);
     50872+                   c1 = last_char(1);
     50873+                   if (c1 != ':' && c0 != '\\' && c0 != ':') {
     50874+                       bool capability = FALSE;
     50875+
     50876+                       /*
     50877+                        * Since it is not termcap, assume the line is terminfo
     50878+                        * format.  However, the comma can be embedded in a
     50879+                        * description field.  It also can be a separator
     50880+                        * between a description field and a capability.
     50881+                        *
     50882+                        * Improve the guess by checking if the next word after
     50883+                        * the comma does not look like a capability.  In that
     50884+                        * case, extend the description past the comma.
     50885+                        */
     50886+                       for (s = bufptr; isspace(UChar(*s)); ++s) {
     50887+                           ;
     50888+                       }
     50889+                       if (islower(UChar(*s))) {
     50890+                           char *name = s;
     50891+                           while (isalnum(UChar(*s))) {
     50892+                               ++s;
     50893+                           }
     50894+                           if (*s == '#' || *s == '=' || *s == '@') {
     50895+                               /*
     50896+                                * Checking solely with syntax allows us to
     50897+                                * support extended capabilities with string
     50898+                                * values.
     50899+                                */
     50900+                               capability = TRUE;
     50901+                           } else if (*s == ',') {
     50902+                               c0 = *s;
     50903+                               *s = '\0';
     50904+                               /*
     50905+                                * Otherwise, we can handle predefined boolean
     50906+                                * capabilities, still aided by syntax.
     50907+                                */
     50908+                               if (_nc_find_entry(name,
     50909+                                                  _nc_get_hash_table(FALSE))) {
     50910+                                   capability = TRUE;
     50911+                               }
     50912+                               *s = (char) c0;
     50913+                           }
     50914+                       }
     50915+                       if (capability) {
     50916+                           break;
     50917+                       }
     50918+                   }
     50919                } else
     50920                    ch = eat_escaped_newline(ch);
     50921 
     50922@@ -748,7 +808,7 @@
    3605650923            if (!(is7bits(c) && isprint(c))) {
    3605750924                _nc_warning("Illegal ^ character - '%s'", unctrl(UChar(c)));
     
    3606250929                if (_nc_tracing)
    3606350930                    _nc_warning("Allow ^? as synonym for \\177");
    36064 @@ -758,23 +760,29 @@
     50931@@ -758,23 +818,29 @@
    3606550932                *(ptr++) = (char) (c);
    3606650933            }
     
    3609750964                        }
    3609850965                    }
    36099 @@ -782,21 +790,16 @@
     50966@@ -782,21 +848,16 @@
    3610050967                    number = number * 8 + c - '0';
    3610150968                }
     
    3612150988                    *(ptr++) = '\n';
    3612250989                    break;
    36123 @@ -809,10 +812,6 @@
     50990@@ -809,10 +870,6 @@
    3612450991                    *(ptr++) = '\010';
    3612550992                    break;
     
    3613250999                    *(ptr++) = '\014';
    3613351000                    break;
    36134 @@ -833,16 +832,33 @@
     51001@@ -833,16 +890,33 @@
    3613551002                    *(ptr++) = ',';
    3613651003                    break;
     
    3617251039                case '|':
    3617351040                    *(ptr++) = (char) c;
    36174 @@ -862,7 +878,7 @@
     51041@@ -862,7 +936,7 @@
    3617551042 
    3617651043        if (!ignored) {
     
    3618151048                break;
    3618251049            }
    36183 @@ -934,5 +950,8 @@
     51050@@ -934,5 +1008,8 @@
    3618451051     if (pushname != 0) {
    3618551052        FreeAndNull(pushname);
     
    3619151058 #endif
    3619251059diff -Naur ncurses-5.9.orig/ncurses/tinfo/db_iterator.c ncurses-5.9/ncurses/tinfo/db_iterator.c
    36193 --- ncurses-5.9.orig/ncurses/tinfo/db_iterator.c        2012-02-16 18:25:12.675810462 +0000
    36194 +++ ncurses-5.9/ncurses/tinfo/db_iterator.c     2012-02-16 18:25:13.211824607 +0000
     51060--- ncurses-5.9.orig/ncurses/tinfo/db_iterator.c        2012-08-25 19:57:59.413234218 +0000
     51061+++ ncurses-5.9/ncurses/tinfo/db_iterator.c     2012-08-25 19:58:01.863222632 +0000
    3619551062@@ -1,5 +1,5 @@
    3619651063 /****************************************************************************
     
    3620051067  * Permission is hereby granted, free of charge, to any person obtaining a  *
    3620151068  * copy of this software and associated documentation files (the            *
    36202 @@ -36,13 +36,135 @@
     51069@@ -36,13 +36,142 @@
    3620351070 
    3620451071 #include <curses.priv.h>
     
    3621251079+#endif
    3621351080+
    36214 +MODULE_ID("$Id: db_iterator.c,v 1.28 2012/01/21 23:56:17 tom Exp $")
     51081+MODULE_ID("$Id: db_iterator.c,v 1.34 2012/06/30 16:30:10 tom Exp $")
    3621551082 
    3621651083 #define HaveTicDirectory _nc_globals.have_tic_directory
     
    3622451091+
    3622551092+static void
    36226 +add_to_blob(const char *text)
     51093+add_to_blob(const char *text, size_t limit)
    3622751094+{
     51095+    (void) limit;
     51096+
    3622851097+    if (*text != '\0') {
    3622951098+       char *last = my_blob + strlen(my_blob);
    3623051099+       if (last != my_blob)
    3623151100+           *last++ = NCURSES_PATHSEP;
    36232 +       strcpy(last, text);
     51101+       _nc_STRCPY(last, text, limit);
    3623351102+    }
    3623451103+}
     
    3624651115+    else if (strlen(name) < PATH_MAX - sizeof(DBM_SUFFIX)) {
    3624751116+       char temp[PATH_MAX];
    36248 +       sprintf(temp, "%s%s", name, DBM_SUFFIX);
     51117+       _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp)) "%s%s", name, DBM_SUFFIX);
    3624951118+       if (stat(temp, sb) == 0 && S_ISREG(sb->st_mode)) {
    3625051119+           result = TRUE;
     
    3626351132+{
    3626451133+    bool result = FALSE;
    36265 +    char *value = getenv(name);
    3626651134+
    3626751135+    if (which < dbdLAST) {
    36268 +       if (my_vars[which].name == 0 || strcmp(my_vars[which].name, name)) {
     51136+       char *value;
     51137+
     51138+       if ((value = getenv(name)) == 0 || (value = strdup(value)) == 0) {
     51139+           ;
     51140+       } else if (my_vars[which].name == 0 || strcmp(my_vars[which].name, name)) {
    3626951141+           FreeIfNeeded(my_vars[which].value);
    3627051142+           my_vars[which].name = name;
     
    3627951151+           my_vars[which].value = value;
    3628051152+           result = TRUE;
     51153+       } else {
     51154+           free(value);
    3628151155+       }
    3628251156+    }
     
    3633751211 /*
    3633851212  * Record the "official" location of the terminfo directory, according to
    36339 @@ -51,6 +173,7 @@
     51213@@ -51,6 +180,7 @@
    3634051214 NCURSES_EXPORT(const char *)
    3634151215 _nc_tic_dir(const char *path)
     
    3634551219        if (path != 0) {
    3634651220            TicDirectory = path;
    36347 @@ -61,7 +184,7 @@
     51221@@ -61,7 +191,7 @@
    3634851222                return _nc_tic_dir(envp);
    3634951223        }
     
    3635451228 
    3635551229 /*
    36356 @@ -77,61 +200,16 @@
     51230@@ -77,61 +207,16 @@
    3635751231 }
    3635851232 
     
    3637251246-    if (ThisDbList != 0) {
    3637351247-       FreeAndNull(ThisDbList);
    36374 +    if (my_blob != 0 && cache_expired()) {
    36375 +       free_cache();
    36376      }
     51248-    }
    3637751249-    ThisDbSize = 0;
    36378  }
    36379  
     51250-}
     51251-
    3638051252-/* The TERMINFO_DIRS value, if defined by the configure script, begins with a
    3638151253- * ":", which will be interpreted as TERMINFO.
     
    3640951281-           result = system_db;
    3641051282-       return result;
    36411 -    }
     51283+    if (my_blob != 0 && cache_expired()) {
     51284+       free_cache();
     51285     }
    3641251286-    return 0;
    36413 -}
    36414 -
     51287 }
     51288 
    3641551289-#define NEXT_DBD(var, offset) next_list_item((*offset == 0) ? var : 0, offset)
    3641651290-
     
    3641851292  * This is a simple iterator which allows the caller to step through the
    3641951293  * possible locations for a terminfo directory.  ncurses uses this to find
    36420 @@ -141,84 +219,175 @@
     51294@@ -141,84 +226,186 @@
    3642151295 _nc_next_db(DBDIRS * state, int *offset)
    3642251296 {
     
    3644551319+_nc_first_db(DBDIRS * state, int *offset)
    3644651320+{
     51321+    bool cache_has_expired = FALSE;
    3644751322+    *state = dbdTIC;
    3644851323+    *offset = 0;
     
    3645351328+     * table.
    3645451329+     */
    36455 +    if (my_blob == 0) {
     51330+    if (my_blob == 0 || (cache_has_expired = cache_expired())) {
    3645651331+       size_t blobsize = 0;
    3645751332+       const char *values[dbdLAST];
    3645851333+       struct stat *my_stat;
    3645951334+       int j, k;
     51335+
     51336+       if (cache_has_expired)
     51337+           free_cache();
    3646051338+
    3646151339+       for (j = 0; j < dbdLAST; ++j)
     
    3656451442+           *my_blob = '\0';
    3656551443+           for (j = 0; j < dbdLAST; ++j) {
    36566 +               add_to_blob(values[j]);
     51444+               add_to_blob(values[j], blobsize);
    3656751445+           }
    3656851446+
     
    3665151529-    *state = dbdTIC;
    3665251530-    *offset = 0;
     51531+    DBDIRS which;
     51532+
    3665351533+    if (my_blob != 0)
    3665451534+       FreeAndNull(my_blob);
    3665551535+    if (my_list != 0)
    3665651536+       FreeAndNull(my_list);
     51537+    for (which = 0; which < dbdLAST; ++which) {
     51538+       my_vars[which].name = 0;
     51539+       FreeIfNeeded(my_vars[which].value);
     51540+       my_vars[which].value = 0;
     51541+    }
    3665751542 }
    3665851543+#endif
     51544diff -Naur ncurses-5.9.orig/ncurses/tinfo/doalloc.c ncurses-5.9/ncurses/tinfo/doalloc.c
     51545--- ncurses-5.9.orig/ncurses/tinfo/doalloc.c    2012-08-25 19:57:59.413234218 +0000
     51546+++ ncurses-5.9/ncurses/tinfo/doalloc.c 2012-08-25 19:58:00.916560441 +0000
     51547@@ -1,5 +1,5 @@
     51548 /****************************************************************************
     51549- * Copyright (c) 1998,2000 Free Software Foundation, Inc.                   *
     51550+ * Copyright (c) 1998-2000,2012 Free Software Foundation, Inc.              *
     51551  *                                                                          *
     51552  * Permission is hereby granted, free of charge, to any person obtaining a  *
     51553  * copy of this software and associated documentation files (the            *
     51554@@ -39,7 +39,7 @@
     51555 
     51556 #include <curses.priv.h>
     51557 
     51558-MODULE_ID("$Id: doalloc.c,v 1.8 2002/08/31 21:48:11 Philippe.Blain Exp $")
     51559+MODULE_ID("$Id: doalloc.c,v 1.10 2012/02/22 22:34:31 tom Exp $")
     51560 
     51561 NCURSES_EXPORT(void *)
     51562 _nc_doalloc(void *oldp, size_t amount)
     51563@@ -63,9 +63,10 @@
     51564 {
     51565     char *dst;
     51566     if (src != 0) {
     51567-       dst = typeMalloc(char, strlen(src) + 1);
     51568+       size_t need = strlen(src) + 1;
     51569+       dst = typeMalloc(char, need);
     51570        if (dst != 0) {
     51571-           (void) strcpy(dst, src);
     51572+           _nc_STRCPY(dst, src, need);
     51573        }
     51574     } else {
     51575        dst = 0;
    3665951576diff -Naur ncurses-5.9.orig/ncurses/tinfo/entries.c ncurses-5.9/ncurses/tinfo/entries.c
    36660 --- ncurses-5.9.orig/ncurses/tinfo/entries.c    2012-02-16 18:25:12.675810462 +0000
    36661 +++ ncurses-5.9/ncurses/tinfo/entries.c 2012-02-16 18:25:12.991818801 +0000
     51577--- ncurses-5.9.orig/ncurses/tinfo/entries.c    2012-08-25 19:57:59.416567535 +0000
     51578+++ ncurses-5.9/ncurses/tinfo/entries.c 2012-08-25 19:58:01.376558266 +0000
    3666251579@@ -1,5 +1,5 @@
    3666351580 /****************************************************************************
    3666451581- * Copyright (c) 2006-2009,2010 Free Software Foundation, Inc.              *
    36665 + * Copyright (c) 2006-2010,2011 Free Software Foundation, Inc.              *
     51582+ * Copyright (c) 2006-2011,2012 Free Software Foundation, Inc.              *
    3666651583  *                                                                          *
    3666751584  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3667251589 
    3667351590-MODULE_ID("$Id: entries.c,v 1.17 2010/01/23 17:57:43 tom Exp $")
    36674 +MODULE_ID("$Id: entries.c,v 1.19 2011/10/22 16:34:50 tom Exp $")
     51591+MODULE_ID("$Id: entries.c,v 1.21 2012/05/05 20:33:44 tom Exp $")
    3667551592 
    3667651593 /****************************************************************************
    3667751594  *
    36678 @@ -128,6 +128,7 @@
     51595@@ -96,6 +96,9 @@
     51596            if (last != 0) {
     51597                last->next = ep->next;
     51598            }
     51599+           if (ep->next != 0) {
     51600+               ep->next->last = last;
     51601+           }
     51602            if (ep == _nc_head) {
     51603                _nc_head = ep->next;
     51604            }
     51605@@ -128,19 +131,21 @@
    3667951606     _nc_free_entries(_nc_head);
    3668051607     _nc_get_type(0);
     
    3668451611 #if BROKEN_LINKER || USE_REENTRANT
    3668551612     _nc_names_leaks();
    36686 @@ -140,7 +141,7 @@
     51613     _nc_codes_leaks();
     51614     FreeIfNeeded(_nc_prescreen.real_acs_map);
     51615 #endif
     51616+    _nc_comp_error_leaks();
     51617 
     51618     if ((s = _nc_home_terminfo()) != 0)
     51619        free(s);
    3668751620 
    3668851621 #ifdef TRACE
     
    3669351626 
    3669451627 #endif /* NO_LEAKS */
     51628diff -Naur ncurses-5.9.orig/ncurses/tinfo/getenv_num.c ncurses-5.9/ncurses/tinfo/getenv_num.c
     51629--- ncurses-5.9.orig/ncurses/tinfo/getenv_num.c 2012-08-25 19:57:59.416567535 +0000
     51630+++ ncurses-5.9/ncurses/tinfo/getenv_num.c      2012-08-25 19:58:01.999888649 +0000
     51631@@ -1,5 +1,5 @@
     51632 /****************************************************************************
     51633- * Copyright (c) 1998,2000 Free Software Foundation, Inc.                   *
     51634+ * Copyright (c) 1998-2000,2012 Free Software Foundation, Inc.              *
     51635  *                                                                          *
     51636  * Permission is hereby granted, free of charge, to any person obtaining a  *
     51637  * copy of this software and associated documentation files (the            *
     51638@@ -36,7 +36,7 @@
     51639 
     51640 #include <curses.priv.h>
     51641 
     51642-MODULE_ID("$Id: getenv_num.c,v 1.3 2000/12/10 02:55:07 tom Exp $")
     51643+MODULE_ID("$Id: getenv_num.c,v 1.4 2012/07/14 21:17:19 tom Exp $")
     51644 
     51645 NCURSES_EXPORT(int)
     51646 _nc_getenv_num(const char *name)
     51647@@ -54,3 +54,20 @@
     51648 
     51649     return (int) value;
     51650 }
     51651+
     51652+NCURSES_EXPORT(void)
     51653+_nc_setenv_num(const char *name, int value)
     51654+{
     51655+    if (name != 0 && value >= 0) {
     51656+       char buffer[128];
     51657+#if HAVE_SETENV
     51658+       sprintf(buffer, "%d", value);
     51659+       setenv(name, buffer, 1);
     51660+#elif HAVE_PUTENV
     51661+       char *s;
     51662+       sprintf(buffer, "%s=%d", name, value);
     51663+       if ((s = strdup(buffer)) != 0)
     51664+           putenv(s);
     51665+#endif
     51666+    }
     51667+}
    3669551668diff -Naur ncurses-5.9.orig/ncurses/tinfo/hashed_db.c ncurses-5.9/ncurses/tinfo/hashed_db.c
    36696 --- ncurses-5.9.orig/ncurses/tinfo/hashed_db.c  2012-02-16 18:25:12.675810462 +0000
    36697 +++ ncurses-5.9/ncurses/tinfo/hashed_db.c       2012-02-16 18:25:12.991818801 +0000
     51669--- ncurses-5.9.orig/ncurses/tinfo/hashed_db.c  2012-08-25 19:57:59.416567535 +0000
     51670+++ ncurses-5.9/ncurses/tinfo/hashed_db.c       2012-08-25 19:58:00.036564603 +0000
    3669851671@@ -1,5 +1,5 @@
    3669951672 /****************************************************************************
     
    3688951862     result = db->close(db, 0);
    3689051863 #else
     51864diff -Naur ncurses-5.9.orig/ncurses/tinfo/home_terminfo.c ncurses-5.9/ncurses/tinfo/home_terminfo.c
     51865--- ncurses-5.9.orig/ncurses/tinfo/home_terminfo.c      2012-08-25 19:57:59.413234218 +0000
     51866+++ ncurses-5.9/ncurses/tinfo/home_terminfo.c   2012-08-25 19:58:00.916560441 +0000
     51867@@ -1,5 +1,5 @@
     51868 /****************************************************************************
     51869- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
     51870+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     51871  *                                                                          *
     51872  * Permission is hereby granted, free of charge, to any person obtaining a  *
     51873  * copy of this software and associated documentation files (the            *
     51874@@ -37,7 +37,7 @@
     51875 #include <curses.priv.h>
     51876 #include <tic.h>
     51877 
     51878-MODULE_ID("$Id: home_terminfo.c,v 1.12 2010/12/25 23:43:58 tom Exp $")
     51879+MODULE_ID("$Id: home_terminfo.c,v 1.14 2012/02/22 22:40:24 tom Exp $")
     51880 
     51881 /* ncurses extension...fall back on user's private directory */
     51882 
     51883@@ -57,7 +57,7 @@
     51884                MyBuffer = typeMalloc(char, want);
     51885                if (MyBuffer == 0)
     51886                    _nc_err_abort(MSG_NO_MEMORY);
     51887-               (void) sprintf(MyBuffer, PRIVATE_INFO, home);
     51888+               _nc_SPRINTF(MyBuffer, _nc_SLIMIT(want) PRIVATE_INFO, home);
     51889            }
     51890        }
     51891        result = MyBuffer;
    3689151892diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_data.c ncurses-5.9/ncurses/tinfo/lib_data.c
    36892 --- ncurses-5.9.orig/ncurses/tinfo/lib_data.c   2012-02-16 18:25:12.675810462 +0000
    36893 +++ ncurses-5.9/ncurses/tinfo/lib_data.c        2012-02-16 18:25:12.991818801 +0000
     51893--- ncurses-5.9.orig/ncurses/tinfo/lib_data.c   2012-08-25 19:57:59.416567535 +0000
     51894+++ ncurses-5.9/ncurses/tinfo/lib_data.c        2012-08-25 19:58:01.999888649 +0000
    3689451895@@ -1,5 +1,5 @@
    3689551896 /****************************************************************************
    3689651897- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    36897 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     51898+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3689851899  *                                                                          *
    3689951900  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3690451905 
    3690551906-MODULE_ID("$Id: lib_data.c,v 1.61 2010/05/15 22:06:56 tom Exp $")
    36906 +MODULE_ID("$Id: lib_data.c,v 1.63 2011/10/08 21:03:29 tom Exp $")
     51907+MODULE_ID("$Id: lib_data.c,v 1.64 2012/07/14 21:01:49 tom Exp $")
    3690751908 
    3690851909 /*
     
    3693051931     0,                         /* _nc_windowlist */
    3693151932 #endif
     51933@@ -249,6 +255,7 @@
     51934     NULL,                      /* _tputs_trace */
     51935 #endif
     51936 #endif
     51937+    FALSE,                     /* use_tioctl */
     51938 };
     51939 /* *INDENT-ON* */
     51940 
    3693251941diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_napms.c ncurses-5.9/ncurses/tinfo/lib_napms.c
    36933 --- ncurses-5.9.orig/ncurses/tinfo/lib_napms.c  2012-02-16 18:25:12.675810462 +0000
    36934 +++ ncurses-5.9/ncurses/tinfo/lib_napms.c       2012-02-16 18:25:12.991818801 +0000
     51942--- ncurses-5.9.orig/ncurses/tinfo/lib_napms.c  2012-08-25 19:57:59.416567535 +0000
     51943+++ ncurses-5.9/ncurses/tinfo/lib_napms.c       2012-08-25 19:58:01.863222632 +0000
    3693551944@@ -1,5 +1,5 @@
    3693651945 /****************************************************************************
    3693751946- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
    36938 + * Copyright (c) 1998-2009,2011 Free Software Foundation, Inc.              *
     51947+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3693951948  *                                                                          *
    3694051949  * Permission is hereby granted, free of charge, to any person obtaining a  *
    3694151950  * copy of this software and associated documentation files (the            *
    36942 @@ -51,32 +51,33 @@
     51951@@ -51,17 +51,21 @@
    3694351952 #endif
    3694451953 #endif
    3694551954 
    3694651955-MODULE_ID("$Id: lib_napms.c,v 1.20 2009/11/07 20:37:30 tom Exp $")
    36947 +MODULE_ID("$Id: lib_napms.c,v 1.21 2011/06/04 19:24:16 tom Exp $")
     51956+MODULE_ID("$Id: lib_napms.c,v 1.23 2012/06/30 22:08:24 tom Exp $")
    3694851957 
    3694951958 NCURSES_EXPORT(int)
     
    3695351962     T((T_CALLED("napms(%d)"), ms));
    3695451963 
    36955 +    if (HasTerminal(SP_PARM)) {
    3695651964 #ifdef USE_TERM_DRIVER
    3695751965-    CallDriver_1(SP_PARM, nap, ms);
     51966+    if (HasTerminal(SP_PARM)) {
    3695851967+       CallDriver_1(SP_PARM, nap, ms);
     51968+    }
    3695951969 #else /* !USE_TERM_DRIVER */
     51970+#if NCURSES_SP_FUNCS
     51971+    (void) sp;
     51972+#endif
    3696051973 #if HAVE_NANOSLEEP
    36961 -    {
    36962 -       struct timespec request, remaining;
    36963 -       request.tv_sec = ms / 1000;
    36964 -       request.tv_nsec = (ms % 1000) * 1000000;
    36965 -       while (nanosleep(&request, &remaining) == -1
    36966 -              && errno == EINTR) {
    36967 -           request = remaining;
    36968 +       {
    36969 +           struct timespec request, remaining;
    36970 +           request.tv_sec = ms / 1000;
    36971 +           request.tv_nsec = (ms % 1000) * 1000000;
    36972 +           while (nanosleep(&request, &remaining) == -1
    36973 +                  && errno == EINTR) {
    36974 +               request = remaining;
    36975 +           }
    36976         }
    36977 -    }
    36978  #else
    36979 -    _nc_timed_wait(0, 0, ms, (int *) 0 EVENTLIST_2nd(0));
    36980 +       _nc_timed_wait(0, 0, ms, (int *) 0 EVENTLIST_2nd(0));
    36981  #endif
    36982  #endif /* !USE_TERM_DRIVER */
    36983  
    36984 +    }
    36985      returnCode(OK);
    36986  }
    36987  
     51974     {
     51975        struct timespec request, remaining;
    3698851976diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_options.c ncurses-5.9/ncurses/tinfo/lib_options.c
    36989 --- ncurses-5.9.orig/ncurses/tinfo/lib_options.c        2012-02-16 18:25:12.675810462 +0000
    36990 +++ ncurses-5.9/ncurses/tinfo/lib_options.c     2012-02-16 18:25:12.991818801 +0000
     51977--- ncurses-5.9.orig/ncurses/tinfo/lib_options.c        2012-08-25 19:57:59.416567535 +0000
     51978+++ ncurses-5.9/ncurses/tinfo/lib_options.c     2012-08-25 19:58:00.039897921 +0000
    3699151979@@ -1,5 +1,5 @@
    3699251980 /****************************************************************************
     
    3701552003 
    3701652004diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_print.c ncurses-5.9/ncurses/tinfo/lib_print.c
    37017 --- ncurses-5.9.orig/ncurses/tinfo/lib_print.c  2012-02-16 18:25:12.675810462 +0000
    37018 +++ ncurses-5.9/ncurses/tinfo/lib_print.c       2012-02-16 18:25:12.991818801 +0000
     52005--- ncurses-5.9.orig/ncurses/tinfo/lib_print.c  2012-08-25 19:57:59.416567535 +0000
     52006+++ ncurses-5.9/ncurses/tinfo/lib_print.c       2012-08-25 19:58:00.916560441 +0000
    3701952007@@ -1,5 +1,5 @@
    3702052008 /****************************************************************************
    3702152009- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37022 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52010+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3702352011  *                                                                          *
    3702452012  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3702952017 
    3703052018-MODULE_ID("$Id: lib_print.c,v 1.20 2010/06/05 22:18:35 tom Exp $")
    37031 +MODULE_ID("$Id: lib_print.c,v 1.21 2011/10/22 16:34:50 tom Exp $")
     52019+MODULE_ID("$Id: lib_print.c,v 1.23 2012/02/22 22:34:31 tom Exp $")
    3703252020 
    3703352021 NCURSES_EXPORT(int)
    3703452022 NCURSES_SP_NAME(mcprint) (NCURSES_SP_DCLx char *data, int len)
    37035 @@ -77,7 +77,7 @@
     52023@@ -76,10 +76,10 @@
     52024        return (ERR);
    3703652025     }
    3703752026 
    37038      (void) strcpy(mybuf, switchon);
     52027-    (void) strcpy(mybuf, switchon);
    3703952028-    memcpy(mybuf + onsize, data, (unsigned) len);
     52029+    _nc_STRCPY(mybuf, switchon, need);
    3704052030+    memcpy(mybuf + onsize, data, (size_t) len);
    3704152031     if (offsize)
    37042         (void) strcpy(mybuf + onsize + len, prtr_off);
    37043  
     52032-       (void) strcpy(mybuf + onsize + len, prtr_off);
     52033+       _nc_STRCPY(mybuf + onsize + len, prtr_off, need);
     52034 
     52035     /*
     52036      * We're relying on the atomicity of UNIX writes here.  The
    3704452037diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_raw.c ncurses-5.9/ncurses/tinfo/lib_raw.c
    37045 --- ncurses-5.9.orig/ncurses/tinfo/lib_raw.c    2012-02-16 18:25:12.675810462 +0000
    37046 +++ ncurses-5.9/ncurses/tinfo/lib_raw.c 2012-02-16 18:25:13.211824607 +0000
     52038--- ncurses-5.9.orig/ncurses/tinfo/lib_raw.c    2012-08-25 19:57:59.413234218 +0000
     52039+++ ncurses-5.9/ncurses/tinfo/lib_raw.c 2012-08-25 19:58:00.396562900 +0000
    3704752040@@ -1,5 +1,5 @@
    3704852041 /****************************************************************************
     
    3711452107            termp->Nttyb = buf;
    3711552108diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_setup.c ncurses-5.9/ncurses/tinfo/lib_setup.c
    37116 --- ncurses-5.9.orig/ncurses/tinfo/lib_setup.c  2012-02-16 18:25:12.675810462 +0000
    37117 +++ ncurses-5.9/ncurses/tinfo/lib_setup.c       2012-02-16 18:25:12.991818801 +0000
    37118 @@ -43,15 +43,11 @@
     52109--- ncurses-5.9.orig/ncurses/tinfo/lib_setup.c  2012-08-25 19:57:59.416567535 +0000
     52110+++ ncurses-5.9/ncurses/tinfo/lib_setup.c       2012-08-25 19:58:02.026555193 +0000
     52111@@ -1,5 +1,5 @@
     52112 /****************************************************************************
     52113- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52114+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     52115  *                                                                          *
     52116  * Permission is hereby granted, free of charge, to any person obtaining a  *
     52117  * copy of this software and associated documentation files (the            *
     52118@@ -37,21 +37,18 @@
     52119  * Terminal setup routines common to termcap and terminfo:
     52120  *
     52121  *             use_env(bool)
     52122+ *             use_tioctl(bool)
     52123  *             setupterm(char *, int, int *)
     52124  */
     52125 
    3711952126 #include <curses.priv.h>
    3712052127 #include <tic.h>               /* for MAX_NAME_SIZE */
     
    3712952136 
    3713052137-MODULE_ID("$Id: lib_setup.c,v 1.135 2011/02/06 01:04:21 tom Exp $")
    37131 +MODULE_ID("$Id: lib_setup.c,v 1.142 2011/10/22 16:13:06 tom Exp $")
     52138+MODULE_ID("$Id: lib_setup.c,v 1.148 2012/07/21 18:05:41 tom Exp $")
    3713252139 
    3713352140 /****************************************************************************
    3713452141  *
    37135 @@ -225,6 +221,7 @@
     52142@@ -225,6 +222,7 @@
    3713652143 {
    3713752144     T((T_CALLED("use_env(%p,%d)"), (void *) SP_PARM, (int) f));
     
    3714152148        SP_PARM->_use_env = f;
    3714252149     }
    37143 @@ -239,6 +236,7 @@
     52150@@ -234,14 +232,39 @@
     52151     returnVoid;
     52152 }
     52153 
     52154+NCURSES_EXPORT(void)
     52155+NCURSES_SP_NAME(use_tioctl) (NCURSES_SP_DCLx bool f)
     52156+{
     52157+    T((T_CALLED("use_tioctl(%p,%d)"), (void *) SP_PARM, (int) f));
     52158+#if NCURSES_SP_FUNCS
     52159+    START_TRACE();
     52160+    if (IsPreScreen(SP_PARM)) {
     52161+       SP_PARM->_use_tioctl = f;
     52162+    }
     52163+#else
     52164+    _nc_prescreen.use_tioctl = f;
     52165+#endif
     52166+    returnVoid;
     52167+}
     52168+
     52169 #if NCURSES_SP_FUNCS
     52170 NCURSES_EXPORT(void)
    3714452171 use_env(bool f)
    3714552172 {
     
    3714952176     returnVoid;
    3715052177 }
    37151 @@ -414,22 +412,6 @@
     52178+
     52179+NCURSES_EXPORT(void)
     52180+use_tioctl(bool f)
     52181+{
     52182+    T((T_CALLED("use_tioctl(%d)"), (int) f));
     52183+    START_TRACE();
     52184+    _nc_prescreen.use_tioctl = f;
     52185+    returnVoid;
     52186+}
     52187 #endif
     52188 
     52189 NCURSES_EXPORT(void)
     52190@@ -281,7 +304,7 @@
     52191     *linep = (int) lines;
     52192     *colp = (int) columns;
     52193 
     52194-    if (_nc_prescreen.use_env) {
     52195+    if (_nc_prescreen.use_env || _nc_prescreen.use_tioctl) {
     52196        int value;
     52197 
     52198 #ifdef __EMX__
     52199@@ -289,7 +312,9 @@
     52200            int screendata[2];
     52201            _scrsize(screendata);
     52202            *colp = screendata[0];
     52203-           *linep = screendata[1];
     52204+           *linep = ((sp != 0 && sp->_filtered)
     52205+                     ? 1
     52206+                     : screendata[1]);
     52207            T(("EMX screen size: environment LINES = %d COLUMNS = %d",
     52208               *linep, *colp));
     52209        }
     52210@@ -315,19 +340,33 @@
     52211        }
     52212 #endif /* HAVE_SIZECHANGE */
     52213 
     52214-       /*
     52215-        * Finally, look for environment variables.
     52216-        *
     52217-        * Solaris lets users override either dimension with an environment
     52218-        * variable.
     52219-        */
     52220-       if ((value = _nc_getenv_num("LINES")) > 0) {
     52221-           *linep = value;
     52222-           T(("screen size: environment LINES = %d", *linep));
     52223-       }
     52224-       if ((value = _nc_getenv_num("COLUMNS")) > 0) {
     52225-           *colp = value;
     52226-           T(("screen size: environment COLUMNS = %d", *colp));
     52227+       if (_nc_prescreen.use_env) {
     52228+           if (_nc_prescreen.use_tioctl) {
     52229+               /*
     52230+                * If environment variables are used, update them.
     52231+                */
     52232+               if ((sp == 0 || !sp->_filtered) && _nc_getenv_num("LINES") > 0) {
     52233+                   _nc_setenv_num("LINES", *linep);
     52234+               }
     52235+               if (_nc_getenv_num("COLUMNS") > 0) {
     52236+                   _nc_setenv_num("COLUMNS", *colp);
     52237+               }
     52238+           }
     52239+
     52240+           /*
     52241+            * Finally, look for environment variables.
     52242+            *
     52243+            * Solaris lets users override either dimension with an environment
     52244+            * variable.
     52245+            */
     52246+           if ((value = _nc_getenv_num("LINES")) > 0) {
     52247+               *linep = value;
     52248+               T(("screen size: environment LINES = %d", *linep));
     52249+           }
     52250+           if ((value = _nc_getenv_num("COLUMNS")) > 0) {
     52251+               *colp = value;
     52252+               T(("screen size: environment COLUMNS = %d", *colp));
     52253+           }
     52254        }
     52255 
     52256        /* if we can't get dynamic info about the size, use static */
     52257@@ -401,8 +440,11 @@
     52258      */
     52259     if (sp != 0
     52260        && sp->_resize != 0) {
     52261-       if ((new_lines != old_lines) || (new_cols != old_cols))
     52262+       if ((new_lines != old_lines) || (new_cols != old_cols)) {
     52263            sp->_resize(NCURSES_SP_ARGx new_lines, new_cols);
     52264+       } else if (sp->_sig_winch && (sp->_ungetch != 0)) {
     52265+           sp->_ungetch(SP_PARM, KEY_RESIZE);  /* so application can know this */
     52266+       }
     52267        sp->_sig_winch = FALSE;
     52268     }
     52269 }
     52270@@ -414,22 +456,6 @@
    3715252271  *
    3715352272  ****************************************************************************/
     
    3717252291 /*
    3717352292  * Return 1 if entry found, 0 if not found, -1 if database not accessible,
    37174 @@ -467,7 +449,7 @@
     52293@@ -467,7 +493,7 @@
    3717552294 **     and substitute it in for the prototype given in 'command_character'.
    3717652295 */
     
    3718152300     unsigned i;
    3718252301     char CC;
    37183 @@ -481,8 +463,8 @@
     52302@@ -481,8 +507,8 @@
    3718452303     if ((tmp = getenv("CC")) != 0 && strlen(tmp) == 1) {
    3718552304        CC = *tmp;
     
    3719252311            }
    3719352312        }
    37194 @@ -551,7 +533,7 @@
     52313@@ -551,7 +577,7 @@
    3719552314     int value;
    3719652315     int result = 0;
     
    3720152320     } else if ((value = tigetnum("U8")) >= 0) {
    3720252321        result = value;         /* use extension feature */
    37203 @@ -578,7 +560,7 @@
     52322@@ -578,7 +604,7 @@
    3720452323                 NCURSES_CONST char *tname,
    3720552324                 int Filedes,
     
    3721052329 #ifdef USE_TERM_DRIVER
    3721152330     TERMINAL_CONTROL_BLOCK *TCB = 0;
    37212 @@ -694,11 +676,11 @@
     52331@@ -684,7 +710,7 @@
     52332            const TERMTYPE *fallback = _nc_fallback(tname);
     52333 
     52334            if (fallback) {
     52335-               termp->type = *fallback;
     52336+               _nc_copy_termtype(&(termp->type), fallback);
     52337                status = TGETENT_YES;
     52338            }
     52339        }
     52340@@ -694,11 +720,11 @@
    3721352341            if (status == TGETENT_ERR) {
    3721452342                ret_error0(status, "terminals database is inaccessible\n");
     
    3722452352 #endif
    3722552353 
    37226 @@ -708,7 +690,7 @@
     52354@@ -708,7 +734,7 @@
    3722752355        set_curterm(termp);
    3722852356 
     
    3723352361        /*
    3723452362         * If an application calls setupterm() rather than initscr() or
    37235 @@ -742,10 +724,19 @@
     52363@@ -742,10 +768,19 @@
    3723652364 
    3723752365 #ifndef USE_TERM_DRIVER
     
    3725752385 #endif
    3725852386     returnCode(code);
    37259 @@ -798,7 +789,7 @@
     52387@@ -798,7 +833,7 @@
    3726052388 _nc_setupterm(NCURSES_CONST char *tname,
    3726152389              int Filedes,
     
    3726752395     TERMINAL *termp;
    3726852396diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_termcap.c ncurses-5.9/ncurses/tinfo/lib_termcap.c
    37269 --- ncurses-5.9.orig/ncurses/tinfo/lib_termcap.c        2012-02-16 18:25:12.675810462 +0000
    37270 +++ ncurses-5.9/ncurses/tinfo/lib_termcap.c     2012-02-16 18:25:12.995818907 +0000
     52397--- ncurses-5.9.orig/ncurses/tinfo/lib_termcap.c        2012-08-25 19:57:59.413234218 +0000
     52398+++ ncurses-5.9/ncurses/tinfo/lib_termcap.c     2012-08-25 19:58:00.916560441 +0000
    3727152399@@ -1,5 +1,5 @@
    3727252400 /****************************************************************************
    3727352401- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37274 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52402+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3727552403  *                                                                          *
    3727652404  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3728152409 
    3728252410-MODULE_ID("$Id: lib_termcap.c,v 1.73 2010/12/25 19:27:12 tom Exp $")
    37283 +MODULE_ID("$Id: lib_termcap.c,v 1.76 2011/10/22 17:12:41 tom Exp $")
     52411+MODULE_ID("$Id: lib_termcap.c,v 1.78 2012/02/22 22:34:31 tom Exp $")
    3728452412 
    3728552413 NCURSES_EXPORT_VAR(char *) UP = 0;
     
    3731752445            if (VALID_STRING(result)) {
    3731852446                if (result == exit_attribute_mode
     52447@@ -361,7 +362,7 @@
     52448                }
     52449                if (area != 0
     52450                    && *area != 0) {
     52451-                   (void) strcpy(*area, result);
     52452+                   _nc_STRCPY(*area, result, 1024);
     52453                    result = *area;
     52454                    *area += strlen(*area) + 1;
     52455                }
     52456diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_tgoto.c ncurses-5.9/ncurses/tinfo/lib_tgoto.c
     52457--- ncurses-5.9.orig/ncurses/tinfo/lib_tgoto.c  2012-08-25 19:57:59.416567535 +0000
     52458+++ ncurses-5.9/ncurses/tinfo/lib_tgoto.c       2012-08-25 19:58:00.916560441 +0000
     52459@@ -1,5 +1,5 @@
     52460 /****************************************************************************
     52461- * Copyright (c) 2000-2006,2008 Free Software Foundation, Inc.              *
     52462+ * Copyright (c) 2000-2008,2012 Free Software Foundation, Inc.              *
     52463  *                                                                          *
     52464  * Permission is hereby granted, free of charge, to any person obtaining a  *
     52465  * copy of this software and associated documentation files (the            *
     52466@@ -35,7 +35,7 @@
     52467 #include <ctype.h>
     52468 #include <termcap.h>
     52469 
     52470-MODULE_ID("$Id: lib_tgoto.c,v 1.13 2008/08/16 19:29:32 tom Exp $")
     52471+MODULE_ID("$Id: lib_tgoto.c,v 1.16 2012/02/24 02:08:08 tom Exp $")
     52472 
     52473 #if !PURE_TERMINFO
     52474 static bool
     52475@@ -159,7 +159,8 @@
     52476                break;
     52477            }
     52478            if (fmt != 0) {
     52479-               sprintf(result + used, fmt, *value++);
     52480+               _nc_SPRINTF(result + used, _nc_SLIMIT(length - used)
     52481+                           fmt, *value++);
     52482                used += strlen(result + used);
     52483                fmt = 0;
     52484            }
     52485@@ -174,7 +175,7 @@
     52486     }
     52487     if (result != 0) {
     52488        if (need_BC) {
     52489-           strcpy(result + used, BC);
     52490+           _nc_STRCPY(result + used, BC, length - used);
     52491            used += strlen(BC);
     52492        }
     52493        result[used] = '\0';
    3731952494diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_tparm.c ncurses-5.9/ncurses/tinfo/lib_tparm.c
    37320 --- ncurses-5.9.orig/ncurses/tinfo/lib_tparm.c  2012-02-16 18:25:12.675810462 +0000
    37321 +++ ncurses-5.9/ncurses/tinfo/lib_tparm.c       2012-02-16 18:25:12.995818907 +0000
     52495--- ncurses-5.9.orig/ncurses/tinfo/lib_tparm.c  2012-08-25 19:57:59.413234218 +0000
     52496+++ ncurses-5.9/ncurses/tinfo/lib_tparm.c       2012-08-25 19:58:00.916560441 +0000
     52497@@ -1,5 +1,5 @@
     52498 /****************************************************************************
     52499- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52500+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     52501  *                                                                          *
     52502  * Permission is hereby granted, free of charge, to any person obtaining a  *
     52503  * copy of this software and associated documentation files (the            *
    3732252504@@ -42,7 +42,7 @@
    3732352505 #include <ctype.h>
     
    3732552507 
    3732652508-MODULE_ID("$Id: lib_tparm.c,v 1.82 2011/01/15 22:19:12 tom Exp $")
    37327 +MODULE_ID("$Id: lib_tparm.c,v 1.84 2011/10/22 15:48:47 tom Exp $")
     52509+MODULE_ID("$Id: lib_tparm.c,v 1.86 2012/02/22 22:40:24 tom Exp $")
    3732852510 
    3732952511 /*
    3733052512  *     char *
    37331 @@ -153,7 +153,7 @@
     52513@@ -143,7 +143,9 @@
     52514 
     52515     get_space(s_len + 1);
     52516 
     52517-    (void) sprintf(TPS(out_buff) + TPS(out_used), fmt, s);
     52518+    _nc_SPRINTF(TPS(out_buff) + TPS(out_used),
     52519+               _nc_SLIMIT(TPS(out_size) - TPS(out_used))
     52520+               fmt, s);
     52521     TPS(out_used) += strlen(TPS(out_buff) + TPS(out_used));
     52522 }
     52523 
     52524@@ -153,9 +155,11 @@
    3733252525     if (len < 30)
    3733352526        len = 30;               /* actually log10(MAX_INT)+1 */
     
    3733652529+    get_space((size_t) len + 1);
    3733752530 
    37338      (void) sprintf(TPS(out_buff) + TPS(out_used), fmt, number);
     52531-    (void) sprintf(TPS(out_buff) + TPS(out_used), fmt, number);
     52532+    _nc_SPRINTF(TPS(out_buff) + TPS(out_used),
     52533+               _nc_SLIMIT(TPS(out_size) - TPS(out_used))
     52534+               fmt, number);
    3733952535     TPS(out_used) += strlen(TPS(out_buff) + TPS(out_used));
    37340 @@ -164,7 +164,7 @@
     52536 }
     52537 
     52538@@ -164,7 +168,7 @@
    3734152539 {
    3734252540     if (c == 0)
     
    3734752545 }
    3734852546 
    37349 @@ -450,7 +450,7 @@
     52547@@ -450,7 +454,7 @@
    3735052548 }
    3735152549 
     
    3735652554     char *p_is_s[NUM_PARM];
    3735752555     TPARM_ARG param[NUM_PARM];
    37358 @@ -522,7 +522,7 @@
     52556@@ -522,7 +526,7 @@
    3735952557     }
    3736052558 #ifdef TRACE
     
    3736552563                save_text(", %s", _nc_visbuf(p_is_s[i]), 0);
    3736652564            else
    37367 @@ -757,7 +757,7 @@
     52565@@ -757,7 +761,7 @@
    3736852566        cp++;
    3736952567     }                          /* endwhile (*cp) */
     
    3737552573     T((T_RETURN("%s"), _nc_visbuf(TPS(out_buff))));
    3737652574diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_tputs.c ncurses-5.9/ncurses/tinfo/lib_tputs.c
    37377 --- ncurses-5.9.orig/ncurses/tinfo/lib_tputs.c  2012-02-16 18:25:12.675810462 +0000
    37378 +++ ncurses-5.9/ncurses/tinfo/lib_tputs.c       2012-02-16 18:25:12.995818907 +0000
     52575--- ncurses-5.9.orig/ncurses/tinfo/lib_tputs.c  2012-08-25 19:57:59.416567535 +0000
     52576+++ ncurses-5.9/ncurses/tinfo/lib_tputs.c       2012-08-25 19:58:00.919893759 +0000
    3737952577@@ -1,5 +1,5 @@
    3738052578 /****************************************************************************
    3738152579- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37382 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52580+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3738352581  *                                                                          *
    3738452582  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3738952587 
    3739052588-MODULE_ID("$Id: lib_tputs.c,v 1.81 2010/12/20 00:42:50 tom Exp $")
    37391 +MODULE_ID("$Id: lib_tputs.c,v 1.82 2011/10/22 16:34:50 tom Exp $")
     52589+MODULE_ID("$Id: lib_tputs.c,v 1.84 2012/02/22 22:40:24 tom Exp $")
    3739252590 
    3739352591 NCURSES_EXPORT_VAR(char) PC = 0;              /* used by termcap library */
     
    3740252600     } else {
    3740352601        if (putc(ch, NC_OUTPUT(SP_PARM)) == EOF)
     52602@@ -216,9 +216,9 @@
     52603 
     52604     if (USE_TRACEF(TRACE_TPUTS)) {
     52605        if (outc == NCURSES_SP_NAME(_nc_outch))
     52606-           (void) strcpy(addrbuf, "_nc_outch");
     52607+           _nc_STRCPY(addrbuf, "_nc_outch", sizeof(addrbuf));
     52608        else
     52609-           (void) sprintf(addrbuf, "%p", outc);
     52610+           _nc_SPRINTF(addrbuf, _nc_SLIMIT(sizeof(addrbuf)) "%p", outc);
     52611        if (_nc_tputs_trace) {
     52612            _tracef("tputs(%s = %s, %d, %s) called", _nc_tputs_trace,
     52613                    _nc_visbuf(string), affcnt, addrbuf);
    3740452614diff -Naur ncurses-5.9.orig/ncurses/tinfo/lib_ttyflags.c ncurses-5.9/ncurses/tinfo/lib_ttyflags.c
    37405 --- ncurses-5.9.orig/ncurses/tinfo/lib_ttyflags.c       2012-02-16 18:25:12.675810462 +0000
    37406 +++ ncurses-5.9/ncurses/tinfo/lib_ttyflags.c    2012-02-16 18:25:13.211824607 +0000
     52615--- ncurses-5.9.orig/ncurses/tinfo/lib_ttyflags.c       2012-08-25 19:57:59.416567535 +0000
     52616+++ ncurses-5.9/ncurses/tinfo/lib_ttyflags.c    2012-08-25 19:58:00.396562900 +0000
    3740752617@@ -1,5 +1,5 @@
    3740852618 /****************************************************************************
     
    3743552645                    if ((errno == ENOTTY) && (SP_PARM != 0))
    3743652646diff -Naur ncurses-5.9.orig/ncurses/tinfo/make_hash.c ncurses-5.9/ncurses/tinfo/make_hash.c
    37437 --- ncurses-5.9.orig/ncurses/tinfo/make_hash.c  2012-02-16 18:25:12.675810462 +0000
    37438 +++ ncurses-5.9/ncurses/tinfo/make_hash.c       2012-02-16 18:25:12.995818907 +0000
     52647--- ncurses-5.9.orig/ncurses/tinfo/make_hash.c  2012-08-25 19:57:59.413234218 +0000
     52648+++ ncurses-5.9/ncurses/tinfo/make_hash.c       2012-08-25 19:58:00.919893759 +0000
    3743952649@@ -1,5 +1,5 @@
    3744052650 /****************************************************************************
    3744152651- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37442 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52652+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3744352653  *                                                                          *
    3744452654  * Permission is hereby granted, free of charge, to any person obtaining a  *
    3744552655  * copy of this software and associated documentation files (the            *
    37446 @@ -39,12 +39,13 @@
    37447  
    37448  #include <build.priv.h>
    37449  
    37450 +#include <term_entry.h>
    37451  #include <tic.h>
    37452  #include <hashsize.h>
     52656@@ -44,7 +44,7 @@
    3745352657 
    3745452658 #include <ctype.h>
    3745552659 
    3745652660-MODULE_ID("$Id: make_hash.c,v 1.3 2010/05/22 18:02:50 tom Exp $")
    37457 +MODULE_ID("$Id: make_hash.c,v 1.4 2011/10/08 21:11:54 tom Exp $")
     52661+MODULE_ID("$Id: make_hash.c,v 1.8 2012/02/22 22:40:24 tom Exp $")
    3745852662 
    3745952663 /*
    3746052664  *     _nc_make_hash_table()
     52665@@ -261,8 +261,8 @@
     52666               root_name);
     52667        printf("{\n");
     52668        for (n = 0; n < CAPTABSIZE; n++) {
     52669-           sprintf(buffer, "\"%s\"",
     52670-                   name_table[n].nte_name);
     52671+           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer)) "\"%s\"",
     52672+                       name_table[n].nte_name);
     52673            printf("\t{ %15s,\t%10s,\t%3d, %3d }%c\n",
     52674                   buffer,
     52675                   typenames[name_table[n].nte_type],
    3746152676diff -Naur ncurses-5.9.orig/ncurses/tinfo/make_keys.c ncurses-5.9/ncurses/tinfo/make_keys.c
    37462 --- ncurses-5.9.orig/ncurses/tinfo/make_keys.c  2012-02-16 18:25:12.675810462 +0000
    37463 +++ ncurses-5.9/ncurses/tinfo/make_keys.c       2012-02-16 18:25:12.995818907 +0000
     52677--- ncurses-5.9.orig/ncurses/tinfo/make_keys.c  2012-08-25 19:57:59.416567535 +0000
     52678+++ ncurses-5.9/ncurses/tinfo/make_keys.c       2012-08-25 19:58:00.043231239 +0000
    3746452679@@ -1,5 +1,5 @@
    3746552680 /****************************************************************************
     
    3748852703 
    3748952704diff -Naur ncurses-5.9.orig/ncurses/tinfo/name_match.c ncurses-5.9/ncurses/tinfo/name_match.c
    37490 --- ncurses-5.9.orig/ncurses/tinfo/name_match.c 2012-02-16 18:25:12.675810462 +0000
    37491 +++ ncurses-5.9/ncurses/tinfo/name_match.c      2012-02-16 18:25:12.995818907 +0000
     52705--- ncurses-5.9.orig/ncurses/tinfo/name_match.c 2012-08-25 19:57:59.413234218 +0000
     52706+++ ncurses-5.9/ncurses/tinfo/name_match.c      2012-08-25 19:58:00.043231239 +0000
    3749252707@@ -1,5 +1,5 @@
    3749352708 /****************************************************************************
     
    3756352778 {
    3756452779diff -Naur ncurses-5.9.orig/ncurses/tinfo/parse_entry.c ncurses-5.9/ncurses/tinfo/parse_entry.c
    37565 --- ncurses-5.9.orig/ncurses/tinfo/parse_entry.c        2012-02-16 18:25:12.675810462 +0000
    37566 +++ ncurses-5.9/ncurses/tinfo/parse_entry.c     2012-02-16 18:25:12.995818907 +0000
     52780--- ncurses-5.9.orig/ncurses/tinfo/parse_entry.c        2012-08-25 19:57:59.416567535 +0000
     52781+++ ncurses-5.9/ncurses/tinfo/parse_entry.c     2012-08-25 19:58:00.919893759 +0000
    3756752782@@ -1,5 +1,5 @@
    3756852783 /****************************************************************************
    3756952784- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37570 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52785+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3757152786  *                                                                          *
    3757252787  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3757752792 
    3757852793-MODULE_ID("$Id: parse_entry.c,v 1.75 2010/05/01 19:35:09 tom Exp $")
    37579 +MODULE_ID("$Id: parse_entry.c,v 1.76 2011/07/27 01:14:47 tom Exp $")
     52794+MODULE_ID("$Id: parse_entry.c,v 1.78 2012/02/22 22:40:24 tom Exp $")
    3758052795 
    3758152796 #ifdef LINT
     
    3760552820 
    3760652821            case STRING:
     52822@@ -654,14 +660,16 @@
     52823 
     52824        if (WANTED(carriage_return)) {
     52825            if (carriage_return_delay > 0) {
     52826-               sprintf(buf, "%s$<%d>", C_CR, carriage_return_delay);
     52827+               _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52828+                           "%s$<%d>", C_CR, carriage_return_delay);
     52829                carriage_return = _nc_save_str(buf);
     52830            } else
     52831                carriage_return = _nc_save_str(C_CR);
     52832        }
     52833        if (WANTED(cursor_left)) {
     52834            if (backspace_delay > 0) {
     52835-               sprintf(buf, "%s$<%d>", C_BS, backspace_delay);
     52836+               _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52837+                           "%s$<%d>", C_BS, backspace_delay);
     52838                cursor_left = _nc_save_str(buf);
     52839            } else if (backspaces_with_bs == 1)
     52840                cursor_left = _nc_save_str(C_BS);
     52841@@ -674,7 +682,8 @@
     52842                cursor_down = linefeed_if_not_lf;
     52843            else if (linefeed_is_newline != 1) {
     52844                if (new_line_delay > 0) {
     52845-                   sprintf(buf, "%s$<%d>", C_LF, new_line_delay);
     52846+                   _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52847+                               "%s$<%d>", C_LF, new_line_delay);
     52848                    cursor_down = _nc_save_str(buf);
     52849                } else
     52850                    cursor_down = _nc_save_str(C_LF);
     52851@@ -685,7 +694,8 @@
     52852                cursor_down = linefeed_if_not_lf;
     52853            else if (linefeed_is_newline != 1) {
     52854                if (new_line_delay > 0) {
     52855-                   sprintf(buf, "%s$<%d>", C_LF, new_line_delay);
     52856+                   _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52857+                               "%s$<%d>", C_LF, new_line_delay);
     52858                    scroll_forward = _nc_save_str(buf);
     52859                } else
     52860                    scroll_forward = _nc_save_str(C_LF);
     52861@@ -694,7 +704,8 @@
     52862        if (WANTED(newline)) {
     52863            if (linefeed_is_newline == 1) {
     52864                if (new_line_delay > 0) {
     52865-                   sprintf(buf, "%s$<%d>", C_LF, new_line_delay);
     52866+                   _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52867+                               "%s$<%d>", C_LF, new_line_delay);
     52868                    newline = _nc_save_str(buf);
     52869                } else
     52870                    newline = _nc_save_str(C_LF);
     52871@@ -736,7 +747,8 @@
     52872         */
     52873        if (WANTED(tab)) {
     52874            if (horizontal_tab_delay > 0) {
     52875-               sprintf(buf, "%s$<%d>", C_HT, horizontal_tab_delay);
     52876+               _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf))
     52877+                           "%s$<%d>", C_HT, horizontal_tab_delay);
     52878                tab = _nc_save_str(buf);
     52879            } else
     52880                tab = _nc_save_str(C_HT);
    3760752881diff -Naur ncurses-5.9.orig/ncurses/tinfo/read_entry.c ncurses-5.9/ncurses/tinfo/read_entry.c
    37608 --- ncurses-5.9.orig/ncurses/tinfo/read_entry.c 2012-02-16 18:25:12.675810462 +0000
    37609 +++ ncurses-5.9/ncurses/tinfo/read_entry.c      2012-02-16 18:25:12.995818907 +0000
     52882--- ncurses-5.9.orig/ncurses/tinfo/read_entry.c 2012-08-25 19:57:59.413234218 +0000
     52883+++ ncurses-5.9/ncurses/tinfo/read_entry.c      2012-08-25 19:58:00.919893759 +0000
     52884@@ -1,5 +1,5 @@
     52885 /****************************************************************************
     52886- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     52887+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     52888  *                                                                          *
     52889  * Permission is hereby granted, free of charge, to any person obtaining a  *
     52890  * copy of this software and associated documentation files (the            *
    3761052891@@ -41,7 +41,7 @@
    3761152892 
     
    3761352894 
    3761452895-MODULE_ID("$Id: read_entry.c,v 1.108 2011/02/26 15:36:06 tom Exp $")
    37615 +MODULE_ID("$Id: read_entry.c,v 1.117 2011/10/22 15:30:24 tom Exp $")
     52896+MODULE_ID("$Id: read_entry.c,v 1.119 2012/02/22 22:40:24 tom Exp $")
    3761652897 
    3761752898 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts))
     
    3769952980                _nc_free_termtype(ptr);
    3770052981            }
    37701 @@ -390,6 +393,57 @@
     52982@@ -390,6 +393,58 @@
    3770252983     return (code);
    3770352984 }
     
    3772053001+       if (size >= lens
    3772153002+           && !strcmp(path + size - lens, suffix))
    37722 +           (void) strcpy(filename, path);
     53003+           _nc_STRCPY(filename, path, limit);
    3772353004+       else
    37724 +           (void) sprintf(filename, "%s%s", path, suffix);
     53005+           _nc_SPRINTF(filename, _nc_SLIMIT(limit) "%s%s", path, suffix);
    3772553006+       result = TRUE;
    3772653007+    }
     
    3774753028+
    3774853029+       if (need <= limit) {
    37749 +           (void) sprintf(filename, "%s/" LEAF_FMT "/%s", path, *name, name);
     53030+           _nc_SPRINTF(filename, _nc_SLIMIT(limit)
     53031+                       "%s/" LEAF_FMT "/%s", path, *name, name);
    3775053032+           result = TRUE;
    3775153033+       }
     
    3775753039  * Build a terminfo pathname and try to read the data.  Returns TGETENT_YES on
    3775853040  * success, TGETENT_NO on failure.
    37759 @@ -401,101 +455,79 @@
     53041@@ -401,101 +456,80 @@
    3776053042                   const char *name,
    3776153043                   TERMTYPE *const tp)
     
    3791553197+    else if (code != TGETENT_YES) {
    3791653198+       code = _nc_read_termcap_entry(name, tp);
    37917 +       sprintf(filename, "%.*s", PATH_MAX - 1, _nc_get_source());
     53199+       _nc_SPRINTF(filename, _nc_SLIMIT(PATH_MAX)
     53200+                   "%.*s", PATH_MAX - 1, _nc_get_source());
    3791853201     }
    3791953202 #endif
     
    3792353206 #endif /* USE_DATABASE */
    3792453207 
    37925 @@ -519,22 +551,23 @@
     53208@@ -513,31 +547,35 @@
     53209 {
     53210     int code = TGETENT_NO;
     53211 
     53212-    sprintf(filename, "%.*s", PATH_MAX - 1, name);
     53213+    _nc_SPRINTF(filename, _nc_SLIMIT(PATH_MAX)
     53214+               "%.*s", PATH_MAX - 1, name);
     53215+
     53216     if (strlen(name) == 0
     53217        || strcmp(name, ".") == 0
    3792653218        || strcmp(name, "..") == 0
    3792753219        || _nc_pathlast(name) != 0
     
    3795153243        if (code != TGETENT_YES) {
    3795253244            code = _nc_read_termcap_entry(name, tp);
    37953             sprintf(filename, "%.*s", PATH_MAX - 1, _nc_get_source());
     53245-           sprintf(filename, "%.*s", PATH_MAX - 1, _nc_get_source());
     53246+           _nc_SPRINTF(filename, _nc_SLIMIT(PATH_MAX)
     53247+                       "%.*s", PATH_MAX - 1, _nc_get_source());
     53248        }
     53249 #endif
     53250     }
    3795453251diff -Naur ncurses-5.9.orig/ncurses/tinfo/read_termcap.c ncurses-5.9/ncurses/tinfo/read_termcap.c
    37955 --- ncurses-5.9.orig/ncurses/tinfo/read_termcap.c       2012-02-16 18:25:12.675810462 +0000
    37956 +++ ncurses-5.9/ncurses/tinfo/read_termcap.c    2012-02-16 18:25:12.999819013 +0000
     53252--- ncurses-5.9.orig/ncurses/tinfo/read_termcap.c       2012-08-25 19:57:59.416567535 +0000
     53253+++ ncurses-5.9/ncurses/tinfo/read_termcap.c    2012-08-25 19:58:01.376558266 +0000
    3795753254@@ -1,5 +1,5 @@
    3795853255 /****************************************************************************
    3795953256- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    37960 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     53257+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3796153258  *                                                                          *
    3796253259  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3797053267 
    3797153268-MODULE_ID("$Id: read_termcap.c,v 1.74 2010/01/23 17:57:43 tom Exp $")
    37972 +MODULE_ID("$Id: read_termcap.c,v 1.84 2011/09/26 22:52:50 tom Exp $")
     53269+MODULE_ID("$Id: read_termcap.c,v 1.87 2012/05/05 19:40:50 tom Exp $")
    3797353270 
    3797453271 #if !PURE_TERMINFO
     
    3798353280 }
    3798453281 
     53282@@ -162,7 +161,7 @@
     53283        return (-1);
     53284     }
     53285     gottoprec = 0;
     53286-    (void) strcpy(toprec, ent);
     53287+    _nc_STRCPY(toprec, ent, topreclen);
     53288     return (0);
     53289 }
     53290 
     53291@@ -295,7 +294,7 @@
     53292            errno = ENOMEM;
     53293            return (TC_SYS_ERR);
     53294        }
     53295-       (void) strcpy(record, toprec);
     53296+       _nc_STRCPY(record, toprec, topreclen + BFRAG);
     53297        rp = record + topreclen + 1;
     53298        r_end = rp + BFRAG;
     53299        current = in_array;
    3798553300@@ -384,7 +383,14 @@
    3798653301                        c = *bp++;
     
    3809953414     cp = use_terminfo_vars()? getenv("TERMCAP") : NULL;
    3810053415 
    38101 @@ -841,6 +851,9 @@
     53416@@ -812,10 +822,11 @@
     53417            if ((home = getenv("HOME")) != 0 && *home != '\0'
     53418                && strchr(home, ' ') == 0
     53419                && strlen(home) < sizeof(temp) - 10) {  /* setup path */
     53420-               sprintf(temp, "%s/", home);     /* $HOME first */
     53421+               _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
     53422+                           "%s/", home);       /* $HOME first */
     53423            }
     53424            /* if no $HOME look in current directory */
     53425-           strcat(temp, ".termcap");
     53426+           _nc_STRCAT(temp, ".termcap", sizeof(temp));
     53427            _nc_safe_strcat(&desc, temp);
     53428            _nc_safe_strcat(&desc, " ");
     53429            _nc_safe_strcat(&desc, get_termpath());
     53430@@ -841,6 +852,9 @@
    3810253431        }
    3810353432     }
     
    3810953438        if (_nc_cgetset(cp) < 0) {
    3811053439            return (TC_SYS_ERR);
    38111 @@ -853,6 +866,7 @@
     53440@@ -853,6 +867,7 @@
    3811253441      * empty fields, and mistakenly use the last valid cap entry instead of
    3811353442      * the first (breaks tc= includes)
     
    3811753446        char *pd, *ps, *tok;
    3811853447        int endflag = FALSE;
    38119 @@ -932,7 +946,7 @@
     53448@@ -932,7 +947,7 @@
    3812053449     if (count < MAXPATHS
    3812153450        && _nc_access(path, R_OK) == 0) {
     
    3812653455     termpaths[count] = 0;
    3812753456     if (save != 0)
    38128 @@ -956,13 +970,13 @@
     53457@@ -956,13 +971,13 @@
    3812953458     static char *source;
    3813053459     static int lineno;
     
    3814253471     }
    3814353472 
    38144 @@ -980,7 +994,7 @@
     53473@@ -980,7 +995,7 @@
    3814553474        _nc_curr_line = lineno;
    3814653475        _nc_set_source(source);
     
    3815153480     /*
    3815253481      * Here is what the 4.4BSD termcap(3) page prescribes:
    38153 @@ -1063,7 +1077,7 @@
     53482@@ -1027,7 +1042,9 @@
     53483            normal = FALSE;
     53484        } else if (_nc_name_match(tc, tn, "|:")) {      /* treat as a capability file */
     53485            use_buffer = TRUE;
     53486-           (void) sprintf(tc_buf, "%.*s\n", (int) sizeof(tc_buf) - 2, tc);
     53487+           _nc_SPRINTF(tc_buf,
     53488+                       _nc_SLIMIT(sizeof(tc_buf))
     53489+                       "%.*s\n", (int) sizeof(tc_buf) - 2, tc);
     53490            normal = FALSE;
     53491        }
     53492     }
     53493@@ -1049,8 +1066,9 @@
     53494        if (use_terminfo_vars() && (h = getenv("HOME")) != NULL && *h != '\0'
     53495            && (strlen(h) + sizeof(PRIVATE_CAP)) < PATH_MAX) {
     53496            /* user's .termcap, if any, should override it */
     53497-           (void) strcpy(envhome, h);
     53498-           (void) sprintf(pathbuf, PRIVATE_CAP, envhome);
     53499+           _nc_STRCPY(envhome, h, sizeof(envhome));
     53500+           _nc_SPRINTF(pathbuf, _nc_SLIMIT(sizeof(pathbuf))
     53501+                       PRIVATE_CAP, envhome);
     53502            ADD_TC(pathbuf, filecount);
     53503        }
     53504     }
     53505@@ -1063,7 +1081,7 @@
    3815453506     for (j = 0; j < filecount; j++) {
    3815553507        bool omit = FALSE;
     
    3816053512        } else {
    3816153513            for (k = 0; k < j; k++) {
    38162 @@ -1075,7 +1089,7 @@
     53514@@ -1075,7 +1093,7 @@
    3816353515            }
    3816453516        }
     
    3816953521                termpaths[k - 1] = termpaths[k];
    3817053522                test_stat[k - 1] = test_stat[k];
    38171 @@ -1100,7 +1114,7 @@
     53523@@ -1100,7 +1118,7 @@
    3817253524 
    3817353525        for (i = 0; i < filecount; i++) {
     
    3817853530                && (fp = fopen(termpaths[i], "r")) != (FILE *) 0) {
    3817953531                _nc_set_source(termpaths[i]);
     53532@@ -1138,8 +1156,7 @@
     53533                 * from the list.
     53534                 */
     53535                *tp = ep->tterm;
     53536-               _nc_delink_entry(_nc_head, &(ep->tterm));
     53537-               free(ep);
     53538+               _nc_free_entry(_nc_head, &(ep->tterm));
     53539 
     53540                /*
     53541                 * OK, now try to write the type to user's terminfo directory.
    3818053542diff -Naur ncurses-5.9.orig/ncurses/tinfo/setbuf.c ncurses-5.9/ncurses/tinfo/setbuf.c
    38181 --- ncurses-5.9.orig/ncurses/tinfo/setbuf.c     2012-02-16 18:25:12.675810462 +0000
    38182 +++ ncurses-5.9/ncurses/tinfo/setbuf.c  2012-02-16 18:25:12.999819013 +0000
     53543--- ncurses-5.9.orig/ncurses/tinfo/setbuf.c     2012-08-25 19:57:59.416567535 +0000
     53544+++ ncurses-5.9/ncurses/tinfo/setbuf.c  2012-08-25 19:58:00.046564556 +0000
    3818353545@@ -1,5 +1,5 @@
    3818453546 /****************************************************************************
     
    3822453586     NCURSES_SP_NAME(_nc_set_buffer) (CURRENT_SCREEN, ofp, buffered);
    3822553587 }
     53588diff -Naur ncurses-5.9.orig/ncurses/tinfo/strings.c ncurses-5.9/ncurses/tinfo/strings.c
     53589--- ncurses-5.9.orig/ncurses/tinfo/strings.c    2012-08-25 19:57:59.416567535 +0000
     53590+++ ncurses-5.9/ncurses/tinfo/strings.c 2012-08-25 19:58:00.919893759 +0000
     53591@@ -1,5 +1,5 @@
     53592 /****************************************************************************
     53593- * Copyright (c) 2000-2003,2007 Free Software Foundation, Inc.              *
     53594+ * Copyright (c) 2000-2007,2012 Free Software Foundation, Inc.              *
     53595  *                                                                          *
     53596  * Permission is hereby granted, free of charge, to any person obtaining a  *
     53597  * copy of this software and associated documentation files (the            *
     53598@@ -36,7 +36,7 @@
     53599 
     53600 #include <curses.priv.h>
     53601 
     53602-MODULE_ID("$Id: strings.c,v 1.6 2007/08/11 17:12:17 tom Exp $")
     53603+MODULE_ID("$Id: strings.c,v 1.8 2012/02/22 22:34:31 tom Exp $")
     53604 
     53605 /****************************************************************************
     53606  * Useful string functions (especially for mvcur)
     53607@@ -110,7 +110,7 @@
     53608 
     53609        if (len < dst->s_size) {
     53610            if (dst->s_tail != 0) {
     53611-               strcpy(dst->s_tail, src);
     53612+               _nc_STRCPY(dst->s_tail, src, dst->s_size);
     53613                dst->s_tail += len;
     53614            }
     53615            dst->s_size -= len;
     53616@@ -131,7 +131,7 @@
     53617 
     53618        if (len < dst->s_size) {
     53619            if (dst->s_head != 0) {
     53620-               strcpy(dst->s_head, src);
     53621+               _nc_STRCPY(dst->s_head, src, dst->s_size);
     53622                dst->s_tail = dst->s_head + len;
     53623            }
     53624            dst->s_size = dst->s_init - len;
    3822653625diff -Naur ncurses-5.9.orig/ncurses/tinfo/tinfo_driver.c ncurses-5.9/ncurses/tinfo/tinfo_driver.c
    38227 --- ncurses-5.9.orig/ncurses/tinfo/tinfo_driver.c       2012-02-16 18:25:12.675810462 +0000
    38228 +++ ncurses-5.9/ncurses/tinfo/tinfo_driver.c    2012-02-16 18:25:12.999819013 +0000
     53626--- ncurses-5.9.orig/ncurses/tinfo/tinfo_driver.c       2012-08-25 19:57:59.413234218 +0000
     53627+++ ncurses-5.9/ncurses/tinfo/tinfo_driver.c    2012-08-25 19:58:02.069888321 +0000
    3822953628@@ -1,5 +1,5 @@
    3823053629 /****************************************************************************
    3823153630- * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc.              *
    38232 + * Copyright (c) 2008-2010,2011 Free Software Foundation, Inc.              *
     53631+ * Copyright (c) 2008-2011,2012 Free Software Foundation, Inc.              *
    3823353632  *                                                                          *
    3823453633  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3823953638 
    3824053639-MODULE_ID("$Id: tinfo_driver.c,v 1.13 2010/12/20 01:47:09 tom Exp $")
    38241 +MODULE_ID("$Id: tinfo_driver.c,v 1.17 2011/12/17 20:40:33 tom Exp $")
     53640+MODULE_ID("$Id: tinfo_driver.c,v 1.24 2012/07/28 20:12:11 tom Exp $")
    3824253641 
    3824353642 /*
    3824453643  * SCO defines TIOCGSIZE and the corresponding struct.  Other systems (SunOS,
     53644@@ -93,7 +93,7 @@
     53645 
     53646 #define TCBMAGIC NCDRV_MAGIC(NCDRV_TINFO)
     53647 #define AssertTCB() assert(TCB!=0 && TCB->magic==TCBMAGIC)
     53648-#define SetSP() assert(TCB->csp!=0); sp = TCB->csp
     53649+#define SetSP() assert(TCB->csp!=0); sp = TCB->csp; (void) sp
     53650 
     53651 /*
     53652  * This routine needs to do all the work to make curscr look
    3824553653@@ -106,22 +106,6 @@
    3824653654     return TINFO_DOUPDATE(TCB->csp);
     
    3832153729             NCURSES_SP_OUTC outc)
    3832253730 {
    38323 @@ -463,7 +457,7 @@
     53731@@ -348,14 +342,18 @@
     53732 {
     53733     SCREEN *sp;
     53734     bool useEnv = TRUE;
     53735+    bool useTioctl = TRUE;
     53736 
     53737     AssertTCB();
     53738     sp = TCB->csp;             /* can be null here */
     53739 
     53740     if (sp) {
     53741        useEnv = sp->_use_env;
     53742-    } else
     53743+       useTioctl = sp->_use_tioctl;
     53744+    } else {
     53745        useEnv = _nc_prescreen.use_env;
     53746+       useTioctl = _nc_prescreen.use_tioctl;
     53747+    }
     53748 
     53749     /* figure out the size of the screen */
     53750     T(("screen size: terminfo lines = %d columns = %d", lines, columns));
     53751@@ -363,7 +361,7 @@
     53752     *linep = (int) lines;
     53753     *colp = (int) columns;
     53754 
     53755-    if (useEnv) {
     53756+    if (useEnv || useTioctl) {
     53757        int value;
     53758 
     53759 #ifdef __EMX__
     53760@@ -371,7 +369,9 @@
     53761            int screendata[2];
     53762            _scrsize(screendata);
     53763            *colp = screendata[0];
     53764-           *linep = screendata[1];
     53765+           *linep = ((sp != 0 && sp->_filtered)
     53766+                     ? 1
     53767+                     : screendata[1]);
     53768            T(("EMX screen size: environment LINES = %d COLUMNS = %d",
     53769               *linep, *colp));
     53770        }
     53771@@ -400,19 +400,33 @@
     53772        }
     53773 #endif /* HAVE_SIZECHANGE */
     53774 
     53775-       /*
     53776-        * Finally, look for environment variables.
     53777-        *
     53778-        * Solaris lets users override either dimension with an environment
     53779-        * variable.
     53780-        */
     53781-       if ((value = _nc_getenv_num("LINES")) > 0) {
     53782-           *linep = value;
     53783-           T(("screen size: environment LINES = %d", *linep));
     53784-       }
     53785-       if ((value = _nc_getenv_num("COLUMNS")) > 0) {
     53786-           *colp = value;
     53787-           T(("screen size: environment COLUMNS = %d", *colp));
     53788+       if (useEnv) {
     53789+           if (useTioctl) {
     53790+               /*
     53791+                * If environment variables are used, update them.
     53792+                */
     53793+               if ((sp == 0 || !sp->_filtered) && _nc_getenv_num("LINES") > 0) {
     53794+                   _nc_setenv_num("LINES", *linep);
     53795+               }
     53796+               if (_nc_getenv_num("COLUMNS") > 0) {
     53797+                   _nc_setenv_num("COLUMNS", *colp);
     53798+               }
     53799+           }
     53800+
     53801+           /*
     53802+            * Finally, look for environment variables.
     53803+            *
     53804+            * Solaris lets users override either dimension with an environment
     53805+            * variable.
     53806+            */
     53807+           if ((value = _nc_getenv_num("LINES")) > 0) {
     53808+               *linep = value;
     53809+               T(("screen size: environment LINES = %d", *linep));
     53810+           }
     53811+           if ((value = _nc_getenv_num("COLUMNS")) > 0) {
     53812+               *colp = value;
     53813+               T(("screen size: environment COLUMNS = %d", *colp));
     53814+           }
     53815        }
     53816 
     53817        /* if we can't get dynamic info about the size, use static */
     53818@@ -463,7 +477,7 @@
    3832453819 }
    3832553820 
     
    3833053825     SCREEN *sp = TCB->csp;
    3833153826     TERMINAL *_term = (TERMINAL *) TCB;
    38332 @@ -497,7 +491,7 @@
     53827@@ -497,7 +511,7 @@
    3833353828 }
    3833453829 
     
    3833953834     SCREEN *sp;
    3834053835     TERMINAL *_term = (TERMINAL *) TCB;
    38341 @@ -628,7 +622,7 @@
     53836@@ -620,15 +634,13 @@
     53837 static void
     53838 drv_init(TERMINAL_CONTROL_BLOCK * TCB)
     53839 {
     53840-    SCREEN *sp;
     53841     TERMINAL *trm;
     53842 
     53843     AssertTCB();
     53844 
    3834253845     trm = (TERMINAL *) TCB;
    38343      sp = TCB->csp;
     53846-    sp = TCB->csp;
    3834453847 
    3834553848-    TCB->info.initcolor = initialize_color;
     
    3834853851     TCB->info.hascolor = ((VALID_NUMERIC(max_colors) && VALID_NUMERIC(max_pairs)
    3834953852                           && (((set_foreground != NULL)
    38350 @@ -665,7 +659,7 @@
     53853@@ -665,7 +677,7 @@
    3835153854 #define InPalette(n)   ((n) >= 0 && (n) < MAX_PALETTE)
    3835253855 
     
    3835753860     SCREEN *sp;
    3835853861 
    38359 @@ -712,7 +706,7 @@
     53862@@ -712,7 +724,7 @@
    3836053863 
    3836153864 static void
     
    3836653869     SCREEN *sp = TCB->csp;
    3836753870 
    38368 @@ -726,9 +720,9 @@
     53871@@ -726,9 +738,9 @@
    3836953872 
    3837053873 static void
     
    3837953882 {
    3838053883     SCREEN *sp = TCB->csp;
    38381 @@ -845,7 +839,9 @@
     53884@@ -759,7 +771,7 @@
     53885     if (old_pair >= 0
     53886        && sp != 0
     53887        && NCURSES_SP_NAME(pair_content) (NCURSES_SP_ARGx
     53888-                                         old_pair,
     53889+                                         (short) old_pair,
     53890                                          &old_fg,
     53891                                          &old_bg) !=ERR) {
     53892        if ((isDefaultColor(fg) && !isDefaultColor(old_fg))
     53893@@ -845,7 +857,9 @@
    3838253894 }
    3838353895 
     
    3839053902     int rc = 0;
    3839153903     SCREEN *sp;
    38392 @@ -899,7 +895,7 @@
     53904@@ -899,7 +913,7 @@
    3839353905 }
    3839453906 
     
    3839953911     SCREEN *sp = TCB->csp;
    3840053912 
    38401 @@ -1176,7 +1172,7 @@
     53913@@ -1176,7 +1190,7 @@
    3840253914     if ((pthread_self) && (pthread_kill) && (pthread_equal))
    3840353915        _nc_globals.read_thread = pthread_self();
     
    3840853920     _nc_globals.read_thread = 0;
    3840953921 #endif
    38410 @@ -1225,7 +1221,7 @@
     53922@@ -1225,7 +1239,7 @@
    3841153923 }
    3841253924 
     
    3841753929     int ret = ERR;
    3841853930     SCREEN *sp;
    38419 @@ -1251,7 +1247,7 @@
     53931@@ -1251,7 +1265,7 @@
    3842053932 }
    3842153933 
     
    3842653938     SCREEN *sp;
    3842753939     int code = ERR;
    38428 @@ -1264,7 +1260,8 @@
     53940@@ -1264,7 +1278,8 @@
    3842953941     if (c >= 0) {
    3843053942        unsigned ch = (unsigned) c;
     
    3843653948                code = _nc_add_to_try(&(sp->_keytry), s, ch);
    3843753949                free(s);
    38438 @@ -1273,7 +1270,8 @@
     53950@@ -1273,7 +1288,8 @@
    3843953951                    break;
    3844053952            }
     
    3844653958                code = _nc_add_to_try(&(sp->_key_ok), s, ch);
    3844753959                free(s);
     53960diff -Naur ncurses-5.9.orig/ncurses/tinfo/trim_sgr0.c ncurses-5.9/ncurses/tinfo/trim_sgr0.c
     53961--- ncurses-5.9.orig/ncurses/tinfo/trim_sgr0.c  2012-08-25 19:57:59.413234218 +0000
     53962+++ ncurses-5.9/ncurses/tinfo/trim_sgr0.c       2012-08-25 19:58:00.923227077 +0000
     53963@@ -1,5 +1,5 @@
     53964 /****************************************************************************
     53965- * Copyright (c) 2005-2007,2010 Free Software Foundation, Inc.              *
     53966+ * Copyright (c) 2005-2010,2012 Free Software Foundation, Inc.              *
     53967  *                                                                          *
     53968  * Permission is hereby granted, free of charge, to any person obtaining a  *
     53969  * copy of this software and associated documentation files (the            *
     53970@@ -36,7 +36,7 @@
     53971 
     53972 #include <tic.h>
     53973 
     53974-MODULE_ID("$Id: trim_sgr0.c,v 1.12 2010/12/25 23:03:57 tom Exp $")
     53975+MODULE_ID("$Id: trim_sgr0.c,v 1.14 2012/02/22 22:34:31 tom Exp $")
     53976 
     53977 #undef CUR
     53978 #define CUR tp->
     53979@@ -108,7 +108,7 @@
     53980                for (n = 0; n < len_s - len_a; ++n) {
     53981                    s[n] = s[n + len_a];
     53982                }
     53983-               strcpy(s + n, attr);
     53984+               _nc_STRCPY(s + n, attr, strlen(s) + 1);
     53985                TR(TRACE_DATABASE, ("to:\n\t%s", s));
     53986            }
     53987        }
    3844853988diff -Naur ncurses-5.9.orig/ncurses/tinfo/write_entry.c ncurses-5.9/ncurses/tinfo/write_entry.c
    38449 --- ncurses-5.9.orig/ncurses/tinfo/write_entry.c        2012-02-16 18:25:12.675810462 +0000
    38450 +++ ncurses-5.9/ncurses/tinfo/write_entry.c     2012-02-16 18:25:12.999819013 +0000
     53989--- ncurses-5.9.orig/ncurses/tinfo/write_entry.c        2012-08-25 19:57:59.416567535 +0000
     53990+++ ncurses-5.9/ncurses/tinfo/write_entry.c     2012-08-25 19:58:01.729889930 +0000
    3845153991@@ -1,5 +1,5 @@
    3845253992 /****************************************************************************
    3845353993- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    38454 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     53994+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3845553995  *                                                                          *
    3845653996  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3847554015 
    3847654016-MODULE_ID("$Id: write_entry.c,v 1.78 2010/12/25 23:23:08 tom Exp $")
    38477 +MODULE_ID("$Id: write_entry.c,v 1.82 2011/10/30 14:33:13 tom Exp $")
     54017+MODULE_ID("$Id: write_entry.c,v 1.86 2012/06/16 16:59:05 tom Exp $")
    3847854018 
    3847954019 static int total_written;
     
    3848854028     }
    3848954029 
    38490 @@ -115,7 +109,7 @@
     54030@@ -105,7 +99,7 @@
     54031     if (verified[s - dirnames])
     54032        return;
     54033 
     54034-    sprintf(dir, LEAF_FMT, code);
     54035+    _nc_SPRINTF(dir, _nc_SLIMIT(sizeof(dir)) LEAF_FMT, code);
     54036     if (make_db_root(dir) < 0) {
     54037        _nc_err_abort("%s/%s: permission denied", _nc_tic_dir(0), dir);
     54038     }
     54039@@ -115,36 +109,35 @@
    3849154040 #endif /* !USE_HASHED_DB */
    3849254041 
     
    3849754046     int rc = -1;
    3849854047     const char *top = _nc_tic_dir(0);
    38499 @@ -133,18 +127,17 @@
     54048 
     54049     if (src == top || _nc_is_abs_path(src)) {
     54050        if (strlen(src) + 1 <= limit) {
     54051-           (void) strcpy(dst, src);
     54052+           _nc_STRCPY(dst, src, limit);
     54053            rc = 0;
     54054        }
     54055     } else {
     54056        if (strlen(top) + strlen(src) + 2 <= limit) {
     54057-           (void) sprintf(dst, "%s/%s", top, src);
     54058+           _nc_SPRINTF(dst, _nc_SLIMIT(limit) "%s/%s", top, src);
     54059            rc = 0;
     54060        }
    3850054061     }
    3850154062 #if USE_HASHED_DB
     
    3851754078+       if (have > need && strcmp(dst + (int) (have - need), suffix)) {
    3851854079+           if (have + need <= limit) {
    38519 +               strcat(dst, suffix);
     54080+               _nc_STRCAT(dst, suffix, limit);
    3852054081+           } else {
    3852154082+               rc = -1;
     
    3854054101        struct stat statbuf;
    3854154102 
    38542 @@ -355,7 +349,6 @@
     54103@@ -283,7 +277,7 @@
     54104     assert(strlen(tp->term_names) != 0);
     54105     assert(strlen(tp->term_names) < sizeof(name_list));
     54106 
     54107-    (void) strcpy(name_list, tp->term_names);
     54108+    _nc_STRCPY(name_list, tp->term_names, sizeof(name_list));
     54109     DEBUG(7, ("Name list = '%s'", name_list));
     54110 
     54111     first_name = name_list;
     54112@@ -336,7 +330,9 @@
     54113            key.data = name_list;
     54114            key.size = strlen(name_list);
     54115 
     54116-           strcpy(buffer + 1, tp->term_names);
     54117+           _nc_STRCPY(buffer + 1,
     54118+                      tp->term_names,
     54119+                      sizeof(buffer) - 1);
     54120            data.size = strlen(tp->term_names) + 1;
     54121 
     54122            _nc_db_put(capdb, &key, &data);
     54123@@ -355,7 +351,6 @@
    3854354124 
    3854454125                _nc_db_put(capdb, &key, &data);
     
    3854854129     }
    3854954130 #else /* !USE_HASHED_DB */
    38550 @@ -491,7 +484,7 @@
     54131@@ -366,7 +361,8 @@
     54132     if (strlen(first_name) >= sizeof(filename) - (2 + LEAF_LEN))
     54133        _nc_warning("terminal name too long.");
     54134 
     54135-    sprintf(filename, LEAF_FMT "/%s", first_name[0], first_name);
     54136+    _nc_SPRINTF(filename, _nc_SLIMIT(sizeof(filename))
     54137+               LEAF_FMT "/%s", first_name[0], first_name);
     54138 
     54139     /*
     54140      * Has this primary name been written since the first call to
     54141@@ -376,7 +372,22 @@
     54142     if (start_time > 0 &&
     54143        stat(filename, &statbuf) >= 0
     54144        && statbuf.st_mtime >= start_time) {
     54145+#if HAVE_LINK && !USE_SYMLINKS
     54146+       /*
     54147+        * If the file has more than one link, the reason for the previous
     54148+        * write could be that the current primary name used to be an alias for
     54149+        * the previous entry.  In that case, unlink the file so that we will
     54150+        * not modify the previous entry as we write this one.
     54151+        */
     54152+       if (statbuf.st_nlink > 1) {
     54153+           _nc_warning("name redefined.");
     54154+           unlink(filename);
     54155+       } else {
     54156+           _nc_warning("name multiply defined.");
     54157+       }
     54158+#else
     54159        _nc_warning("name multiply defined.");
     54160+#endif
     54161     }
     54162 
     54163     check_writeable(first_name[0]);
     54164@@ -407,7 +418,8 @@
     54165        }
     54166 
     54167        check_writeable(ptr[0]);
     54168-       sprintf(linkname, LEAF_FMT "/%s", ptr[0], ptr);
     54169+       _nc_SPRINTF(linkname, _nc_SLIMIT(sizeof(linkname))
     54170+                   LEAF_FMT "/%s", ptr[0], ptr);
     54171 
     54172        if (strcmp(filename, linkname) == 0) {
     54173            _nc_warning("self-synonym ignored");
     54174@@ -422,7 +434,7 @@
     54175            if (first_name[0] == linkname[0])
     54176                strncpy(symlinkname, first_name, sizeof(symlinkname) - 1);
     54177            else {
     54178-               strcpy(symlinkname, "../");
     54179+               _nc_STRCPY(symlinkname, "../", sizeof(suymlinkname));
     54180                strncat(symlinkname, filename, sizeof(symlinkname) - 4);
     54181            }
     54182            symlinkname[sizeof(symlinkname) - 1] = '\0';
     54183@@ -491,7 +503,7 @@
    3855154184     return (want / size);
    3855254185 }
     
    3855754190 #undef LITTLE_ENDIAN           /* BSD/OS defines this as a feature macro */
    3855854191 #define HI(x)                  ((x) / 256)
    38559 @@ -706,7 +699,7 @@
     54192@@ -706,7 +718,7 @@
    3856054193            return (ERR);
    3856154194 
     
    3856654199        TRACE_OUT(("after extended string capabilities, nextfree=%d", nextfree));
    3856754200 
    38568 @@ -714,7 +707,7 @@
     54201@@ -714,7 +726,7 @@
    3856954202            return (ERR);
    3857054203 
     
    3857554208        TRACE_OUT(("after extended capnames, nextfree=%d", nextfree));
    3857654209        strmax = tp->ext_Strings + extcnt;
    38577 @@ -742,7 +735,7 @@
     54210@@ -742,7 +754,7 @@
    3857854211 
    3857954212        TRACE_OUT(("WRITE %d numbers @%d", tp->ext_Numbers, *offset));
     
    3858554218        }
    3858654219diff -Naur ncurses-5.9.orig/ncurses/trace/lib_trace.c ncurses-5.9/ncurses/trace/lib_trace.c
    38587 --- ncurses-5.9.orig/ncurses/trace/lib_trace.c  2012-02-16 18:25:12.679810567 +0000
    38588 +++ ncurses-5.9/ncurses/trace/lib_trace.c       2012-02-16 18:25:12.999819013 +0000
     54220--- ncurses-5.9.orig/ncurses/trace/lib_trace.c  2012-08-25 19:57:59.409900901 +0000
     54221+++ ncurses-5.9/ncurses/trace/lib_trace.c       2012-08-25 19:58:01.316558550 +0000
    3858954222@@ -1,5 +1,5 @@
    3859054223 /****************************************************************************
    3859154224- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    38592 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     54225+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3859354226  *                                                                          *
    3859454227  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3859954232 
    3860054233-MODULE_ID("$Id: lib_trace.c,v 1.76 2010/12/19 01:21:19 tom Exp $")
    38601 +MODULE_ID("$Id: lib_trace.c,v 1.78 2011/12/17 18:41:48 tom Exp $")
     54234+MODULE_ID("$Id: lib_trace.c,v 1.81 2012/04/29 00:20:43 tom Exp $")
    3860254235 
    3860354236 NCURSES_EXPORT_VAR(unsigned) _nc_tracing = 0; /* always define this */
     54237 
     54238@@ -103,9 +103,9 @@
     54239            }
     54240            TracePath[size] = '\0';
     54241            assert(strlen(TracePath) <= size);
     54242-           strcat(TracePath, "/trace");
     54243+           _nc_STRCAT(TracePath, "/trace", sizeof(TracePath));
     54244            if (_nc_is_dir_path(TracePath)) {
     54245-               strcat(TracePath, ".log");
     54246+               _nc_STRCAT(TracePath, ".log", sizeof(TracePath));
     54247            }
     54248        }
    3860454249 
    3860554250@@ -121,7 +121,7 @@
     
    3863354278     T((T_RETURN("%s"), code ? "TRUE" : "FALSE"));
    3863454279     return code;
    38635 @@ -226,7 +226,7 @@
     54280@@ -226,10 +226,10 @@
    3863654281 
    3863754282 /* Trace 'char' return-values */
     
    3864154286 {
    3864254287     T((T_RETURN("%c"), code));
    38643      return code;
     54288-    return code;
     54289+    return (char) code;
     54290 }
     54291 
     54292 /* Trace 'int' return-values */
    3864454293diff -Naur ncurses-5.9.orig/ncurses/trace/lib_traceatr.c ncurses-5.9/ncurses/trace/lib_traceatr.c
    38645 --- ncurses-5.9.orig/ncurses/trace/lib_traceatr.c       2012-02-16 18:25:12.679810567 +0000
    38646 +++ ncurses-5.9/ncurses/trace/lib_traceatr.c    2012-02-16 18:25:12.999819013 +0000
    38647 @@ -43,7 +43,7 @@
     54294--- ncurses-5.9.orig/ncurses/trace/lib_traceatr.c       2012-08-25 19:57:59.409900901 +0000
     54295+++ ncurses-5.9/ncurses/trace/lib_traceatr.c    2012-08-25 19:58:00.923227077 +0000
     54296@@ -1,5 +1,5 @@
     54297 /****************************************************************************
     54298- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     54299+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     54300  *                                                                          *
     54301  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54302  * copy of this software and associated documentation files (the            *
     54303@@ -43,10 +43,13 @@
    3864854304 #define CUR SP_TERMTYPE
    3864954305 #endif
    3865054306 
    3865154307-MODULE_ID("$Id: lib_traceatr.c,v 1.74 2011/01/22 19:48:01 tom Exp $")
    38652 +MODULE_ID("$Id: lib_traceatr.c,v 1.76 2011/10/22 15:39:21 tom Exp $")
     54308+MODULE_ID("$Id: lib_traceatr.c,v 1.79 2012/02/22 22:40:24 tom Exp $")
    3865354309 
    3865454310 #define COLOR_OF(c) ((c < 0) ? "default" : (c > 7 ? color_of(c) : colors[c].name))
    3865554311 
    38656 @@ -120,7 +120,7 @@
     54312+#define TRACE_BUF_SIZE(num) (_nc_globals.tracebuf_ptr[num].size)
     54313+#define COLOR_BUF_SIZE(num) (sizeof(my_buffer[num]))
     54314+
     54315 #ifdef TRACE
     54316 
     54317 static const char l_brace[] = StringOf(L_BRACE);
     54318@@ -65,9 +68,12 @@
     54319        my_cached = c;
     54320        my_select = !my_select;
     54321        if (c == COLOR_DEFAULT)
     54322-           strcpy(my_buffer[my_select], "default");
     54323+           _nc_STRCPY(my_buffer[my_select], "default",
     54324+                      COLOR_BUF_SIZE(my_select));
     54325        else
     54326-           sprintf(my_buffer[my_select], "color%d", c);
     54327+           _nc_SPRINTF(my_buffer[my_select],
     54328+                       _nc_SLIMIT(COLOR_BUF_SIZE(my_select))
     54329+                       "color%d", c);
     54330     }
     54331     return my_buffer[my_select];
     54332 }
     54333@@ -120,14 +126,14 @@
    3865754334     ;
    3865854335     size_t n;
     
    3866354340     if (result != 0) {
    3866454341        unsigned save_nc_tracing = _nc_tracing;
    38665 @@ -243,7 +243,7 @@
     54342 
     54343        _nc_tracing = 0;
     54344 
     54345-       strcpy(result, l_brace);
     54346+       _nc_STRCPY(result, l_brace, TRACE_BUF_SIZE(bufnum));
     54347 
     54348        for (n = 0; n < SIZEOF(names); n++) {
     54349            if ((newmode & names[n].val) != 0) {
     54350@@ -139,18 +145,20 @@
     54351                    short pairnum = (short) PairNumber(newmode);
     54352 #ifdef USE_TERMLIB
     54353                    /* pair_content lives in libncurses */
     54354-                   (void) sprintf(temp, "{%d}", pairnum);
     54355+                   _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
     54356+                               "{%d}", pairnum);
     54357 #else
     54358                    short fg, bg;
     54359 
     54360                    if (pair_content(pairnum, &fg, &bg) == OK) {
     54361-                       (void) sprintf(temp,
     54362-                                      "{%d = {%s, %s}}",
     54363-                                      pairnum,
     54364-                                      COLOR_OF(fg),
     54365-                                      COLOR_OF(bg));
     54366+                       _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
     54367+                                   "{%d = {%s, %s}}",
     54368+                                   pairnum,
     54369+                                   COLOR_OF(fg),
     54370+                                   COLOR_OF(bg));
     54371                    } else {
     54372-                       (void) sprintf(temp, "{%d}", pairnum);
     54373+                       _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
     54374+                                   "{%d}", pairnum);
     54375                    }
     54376 #endif
     54377                    result = _nc_trace_bufcat(bufnum, temp);
     54378@@ -243,7 +251,7 @@
    3866654379 #if NCURSES_SP_FUNCS
    3866754380     (void) sp;
     
    3867254385        char *found = 0;
    3867354386        const ALT_NAMES *strp;
    38674 @@ -271,7 +271,7 @@
     54387@@ -271,10 +279,10 @@
    3867554388 _tracechtype2(int bufnum, chtype ch)
    3867654389 {
     
    3868054393 
    3868154394     if (result != 0) {
    38682         strcpy(result, l_brace);
    38683 @@ -311,7 +311,7 @@
     54395-       strcpy(result, l_brace);
     54396+       _nc_STRCPY(result, l_brace, TRACE_BUF_SIZE(bufnum));
     54397        if ((found = _nc_altcharset_name(ChAttrOf(ch), ch)) != 0) {
     54398            (void) _nc_trace_bufcat(bufnum, found);
     54399        } else
     54400@@ -311,12 +319,12 @@
    3868454401 NCURSES_EXPORT(char *)
    3868554402 _tracecchar_t2(int bufnum, const cchar_t *ch)
     
    3869054407     const char *found;
    3869154408 
     54409     if (result != 0) {
     54410-       strcpy(result, l_brace);
     54411+       _nc_STRCPY(result, l_brace, TRACE_BUF_SIZE(bufnum));
     54412        if (ch != 0) {
     54413            attr = AttrOfD(ch);
     54414            if ((found = _nc_altcharset_name(attr, (chtype) CharOfD(ch))) != 0) {
    3869254415diff -Naur ncurses-5.9.orig/ncurses/trace/lib_tracebits.c ncurses-5.9/ncurses/trace/lib_tracebits.c
    38693 --- ncurses-5.9.orig/ncurses/trace/lib_tracebits.c      2012-02-16 18:25:12.679810567 +0000
    38694 +++ ncurses-5.9/ncurses/trace/lib_tracebits.c   2012-02-16 18:25:12.999819013 +0000
     54416--- ncurses-5.9.orig/ncurses/trace/lib_tracebits.c      2012-08-25 19:57:59.409900901 +0000
     54417+++ ncurses-5.9/ncurses/trace/lib_tracebits.c   2012-08-25 19:58:01.729889930 +0000
     54418@@ -1,5 +1,5 @@
     54419 /****************************************************************************
     54420- * Copyright (c) 1998-2008,2011 Free Software Foundation, Inc.              *
     54421+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     54422  *                                                                          *
     54423  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54424  * copy of this software and associated documentation files (the            *
    3869554425@@ -34,11 +34,7 @@
    3869654426 
     
    3870254432-#define _POSIX_SOURCE
    3870354433-#endif
    38704 +MODULE_ID("$Id: lib_tracebits.c,v 1.20 2011/04/16 15:32:45 tom Exp $")
     54434+MODULE_ID("$Id: lib_tracebits.c,v 1.23 2012/06/09 19:55:46 tom Exp $")
    3870554435 
    3870654436 #if HAVE_SYS_TERMIO_H
    3870754437 #include <sys/termio.h>                /* needed for ISC */
     54438@@ -80,22 +76,24 @@
     54439     const char *name;
     54440 } BITNAMES;
     54441 
     54442+#define TRACE_BUF_SIZE(num) (_nc_globals.tracebuf_ptr[num].size)
     54443+
     54444 static void
     54445 lookup_bits(char *buf, const BITNAMES * table, const char *label, unsigned int val)
     54446 {
     54447     const BITNAMES *sp;
     54448 
     54449-    (void) strcat(buf, label);
     54450-    (void) strcat(buf, ": {");
     54451+    _nc_STRCAT(buf, label, TRACE_BUF_SIZE(0));
     54452+    _nc_STRCAT(buf, ": {", TRACE_BUF_SIZE(0));
     54453     for (sp = table; sp->name; sp++)
     54454        if (sp->val != 0
     54455            && (val & sp->val) == sp->val) {
     54456-           (void) strcat(buf, sp->name);
     54457-           (void) strcat(buf, ", ");
     54458+           _nc_STRCAT(buf, sp->name, TRACE_BUF_SIZE(0));
     54459+           _nc_STRCAT(buf, ", ", TRACE_BUF_SIZE(0));
     54460        }
     54461     if (buf[strlen(buf) - 2] == ',')
     54462        buf[strlen(buf) - 2] = '\0';
     54463-    (void) strcat(buf, "} ");
     54464+    _nc_STRCAT(buf, "} ", TRACE_BUF_SIZE(0));
     54465 }
     54466 
     54467 NCURSES_EXPORT(char *)
     54468@@ -192,7 +190,7 @@
     54469                    CS_DATA(CS8),
     54470            };
     54471            const char *result = "CSIZE? ";
     54472-           int value = (tty->c_cflag & CSIZE);
     54473+           int value = (int) (tty->c_cflag & CSIZE);
     54474            unsigned n;
     54475 
     54476            if (value != 0) {
     54477@@ -203,7 +201,7 @@
     54478                    }
     54479                }
     54480            }
     54481-           strcat(buf, result);
     54482+           _nc_STRCAT(buf, result, TRACE_BUF_SIZE(0));
     54483        }
     54484 #endif
     54485 
     54486diff -Naur ncurses-5.9.orig/ncurses/trace/lib_tracechr.c ncurses-5.9/ncurses/trace/lib_tracechr.c
     54487--- ncurses-5.9.orig/ncurses/trace/lib_tracechr.c       2012-08-25 19:57:59.409900901 +0000
     54488+++ ncurses-5.9/ncurses/trace/lib_tracechr.c    2012-08-25 19:58:00.923227077 +0000
     54489@@ -1,5 +1,5 @@
     54490 /****************************************************************************
     54491- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
     54492+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     54493  *                                                                          *
     54494  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54495  * copy of this software and associated documentation files (the            *
     54496@@ -39,10 +39,12 @@
     54497 
     54498 #include <ctype.h>
     54499 
     54500-MODULE_ID("$Id: lib_tracechr.c,v 1.20 2009/04/18 22:48:29 tom Exp $")
     54501+MODULE_ID("$Id: lib_tracechr.c,v 1.22 2012/02/22 22:40:24 tom Exp $")
     54502 
     54503 #ifdef TRACE
     54504 
     54505+#define MyBufSize sizeof(_nc_globals.tracechr_buf)
     54506+
     54507 NCURSES_EXPORT(char *)
     54508 _nc_tracechar(SCREEN *sp, int ch)
     54509 {
     54510@@ -55,19 +57,22 @@
     54511        name = safe_keyname(SP_PARM, ch);
     54512        if (name == 0 || *name == '\0')
     54513            name = "NULL";
     54514-       (void) sprintf(MyBuffer, "'%.30s' = %#03o", name, ch);
     54515+       _nc_SPRINTF(MyBuffer, _nc_SLIMIT(MyBufSize)
     54516+                   "'%.30s' = %#03o", name, ch);
     54517     } else if (!is8bits(ch) || !isprint(UChar(ch))) {
     54518        /*
     54519         * workaround for glibc bug:
     54520         * sprintf changes the result from unctrl() to an empty string if it
     54521         * does not correspond to a valid multibyte sequence.
     54522         */
     54523-       (void) sprintf(MyBuffer, "%#03o", ch);
     54524+       _nc_SPRINTF(MyBuffer, _nc_SLIMIT(MyBufSize)
     54525+                   "%#03o", ch);
     54526     } else {
     54527        name = safe_unctrl(SP_PARM, (chtype) ch);
     54528        if (name == 0 || *name == 0)
     54529            name = "null";      /* shouldn't happen */
     54530-       (void) sprintf(MyBuffer, "'%.30s' = %#03o", name, ch);
     54531+       _nc_SPRINTF(MyBuffer, _nc_SLIMIT(MyBufSize)
     54532+                   "'%.30s' = %#03o", name, ch);
     54533     }
     54534     return (MyBuffer);
     54535 }
     54536diff -Naur ncurses-5.9.orig/ncurses/trace/lib_tracedmp.c ncurses-5.9/ncurses/trace/lib_tracedmp.c
     54537--- ncurses-5.9.orig/ncurses/trace/lib_tracedmp.c       2012-08-25 19:57:59.409900901 +0000
     54538+++ ncurses-5.9/ncurses/trace/lib_tracedmp.c    2012-08-25 19:58:01.733223247 +0000
     54539@@ -1,5 +1,5 @@
     54540 /****************************************************************************
     54541- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
     54542+ * Copyright (c) 1998-2009,2012 Free Software Foundation, Inc.              *
     54543  *                                                                          *
     54544  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54545  * copy of this software and associated documentation files (the            *
     54546@@ -39,7 +39,7 @@
     54547 #include <curses.priv.h>
     54548 #include <ctype.h>
     54549 
     54550-MODULE_ID("$Id: lib_tracedmp.c,v 1.32 2009/04/18 21:01:38 tom Exp $")
     54551+MODULE_ID("$Id: lib_tracedmp.c,v 1.33 2012/06/09 20:29:33 tom Exp $")
     54552 
     54553 #ifdef TRACE
     54554 
     54555@@ -111,7 +111,7 @@
     54556            if (multicolumn) {
     54557                ep = my_buffer;
     54558                for (j = 0; j < width; ++j) {
     54559-                   chtype test = WidecExt(win->_line[n].text[j]);
     54560+                   int test = WidecExt(win->_line[n].text[j]);
     54561                    if (test) {
     54562                        ep[j] = (char) (test + '0');
     54563                    } else {
     54564diff -Naur ncurses-5.9.orig/ncurses/trace/lib_tracemse.c ncurses-5.9/ncurses/trace/lib_tracemse.c
     54565--- ncurses-5.9.orig/ncurses/trace/lib_tracemse.c       2012-08-25 19:57:59.409900901 +0000
     54566+++ ncurses-5.9/ncurses/trace/lib_tracemse.c    2012-08-25 19:58:00.923227077 +0000
     54567@@ -1,5 +1,5 @@
     54568 /****************************************************************************
     54569- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     54570+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     54571  *                                                                          *
     54572  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54573  * copy of this software and associated documentation files (the            *
     54574@@ -38,7 +38,7 @@
     54575 
     54576 #include <curses.priv.h>
     54577 
     54578-MODULE_ID("$Id: lib_tracemse.c,v 1.18 2011/01/22 19:48:08 tom Exp $")
     54579+MODULE_ID("$Id: lib_tracemse.c,v 1.20 2012/02/22 22:40:24 tom Exp $")
     54580 
     54581 #ifdef TRACE
     54582 
     54583@@ -47,7 +47,11 @@
     54584 static char *
     54585 _trace_mmask_t(SCREEN *sp, mmask_t code)
     54586 {
     54587-#define SHOW(m, s) if ((code & m) == m) strcat(strcat(my_buffer, s), ", ")
     54588+#define SHOW(m, s) \
     54589+    if ((code & m) == m) { \
     54590+       _nc_STRCAT(my_buffer, s, sizeof(my_buffer)); \
     54591+       _nc_STRCAT(my_buffer, ", ", sizeof(my_buffer)); \
     54592+    }
     54593 
     54594     SHOW(BUTTON1_RELEASED, "release-1");
     54595     SHOW(BUTTON1_PRESSED, "press-1");
     54596@@ -110,15 +114,16 @@
     54597 NCURSES_EXPORT(char *)
     54598 _nc_tracemouse(SCREEN *sp, MEVENT const *ep)
     54599 {
     54600-    (void) sprintf(my_buffer, TRACEMSE_FMT,
     54601-                  ep->id,
     54602-                  ep->x,
     54603-                  ep->y,
     54604-                  ep->z,
     54605-                  (unsigned long) ep->bstate);
     54606+    _nc_SPRINTF(my_buffer, _nc_SLIMIT(sizeof(my_buffer))
     54607+               TRACEMSE_FMT,
     54608+               ep->id,
     54609+               ep->x,
     54610+               ep->y,
     54611+               ep->z,
     54612+               (unsigned long) ep->bstate);
     54613 
     54614     (void) _trace_mmask_t(sp, ep->bstate);
     54615-    (void) strcat(my_buffer, "}");
     54616+    _nc_STRCAT(my_buffer, "}", sizeof(my_buffer));
     54617     return (my_buffer);
     54618 }
     54619 
    3870854620diff -Naur ncurses-5.9.orig/ncurses/trace/trace_buf.c ncurses-5.9/ncurses/trace/trace_buf.c
    38709 --- ncurses-5.9.orig/ncurses/trace/trace_buf.c  2012-02-16 18:25:12.679810567 +0000
    38710 +++ ncurses-5.9/ncurses/trace/trace_buf.c       2012-02-16 18:25:12.999819013 +0000
     54621--- ncurses-5.9.orig/ncurses/trace/trace_buf.c  2012-08-25 19:57:59.409900901 +0000
     54622+++ ncurses-5.9/ncurses/trace/trace_buf.c       2012-08-25 19:58:00.923227077 +0000
     54623@@ -1,5 +1,5 @@
     54624 /****************************************************************************
     54625- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     54626+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     54627  *                                                                          *
     54628  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54629  * copy of this software and associated documentation files (the            *
    3871154630@@ -35,7 +35,7 @@
    3871254631 
     
    3871454633 
    3871554634-MODULE_ID("$Id: trace_buf.c,v 1.17 2011/01/22 19:48:16 tom Exp $")
    38716 +MODULE_ID("$Id: trace_buf.c,v 1.18 2011/10/22 15:46:06 tom Exp $")
     54635+MODULE_ID("$Id: trace_buf.c,v 1.20 2012/02/22 22:34:31 tom Exp $")
    3871754636 
    3871854637 #ifdef TRACE
    3871954638 
    38720 @@ -103,7 +103,7 @@
     54639@@ -103,13 +103,14 @@
    3872154640 NCURSES_EXPORT(char *)
    3872254641 _nc_trace_bufcat(int bufnum, const char *value)
     
    3872654645     if (buffer != 0) {
    3872754646        size_t have = strlen(buffer);
    38728  
     54647+       size_t need = strlen(value) + have;
     54648 
     54649-       buffer = _nc_trace_alloc(bufnum, 1 + have + strlen(value));
     54650+       buffer = _nc_trace_alloc(bufnum, 1 + need);
     54651        if (buffer != 0)
     54652-           (void) strcpy(buffer + have, value);
     54653+           _nc_STRCPY(buffer + have, value, need);
     54654 
     54655     }
     54656     return buffer;
     54657diff -Naur ncurses-5.9.orig/ncurses/trace/varargs.c ncurses-5.9/ncurses/trace/varargs.c
     54658--- ncurses-5.9.orig/ncurses/trace/varargs.c    2012-08-25 19:57:59.409900901 +0000
     54659+++ ncurses-5.9/ncurses/trace/varargs.c 2012-08-25 19:58:00.923227077 +0000
     54660@@ -1,5 +1,5 @@
     54661 /****************************************************************************
     54662- * Copyright (c) 2001-2007,2008 Free Software Foundation, Inc.              *
     54663+ * Copyright (c) 2001-2008,2012 Free Software Foundation, Inc.              *
     54664  *                                                                          *
     54665  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54666  * copy of this software and associated documentation files (the            *
     54667@@ -34,7 +34,7 @@
     54668 
     54669 #include <ctype.h>
     54670 
     54671-MODULE_ID("$Id: varargs.c,v 1.8 2008/11/16 00:19:59 juergen Exp $")
     54672+MODULE_ID("$Id: varargs.c,v 1.10 2012/02/22 22:40:24 tom Exp $")
     54673 
     54674 #ifdef TRACE
     54675 
     54676@@ -149,25 +149,30 @@
     54677                        param = buffer;
     54678                        switch (used) {
     54679                        case atInteger:
     54680-                           sprintf(buffer, "%d", ival);
     54681+                           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     54682+                                       "%d", ival);
     54683                            break;
     54684                        case atFloat:
     54685-                           sprintf(buffer, "%f", fval);
     54686+                           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     54687+                                       "%f", fval);
     54688                            break;
     54689                        case atPoint:
     54690-                           sprintf(buffer, "%p", pval);
     54691+                           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     54692+                                       "%p", pval);
     54693                            break;
     54694                        case atString:
     54695                            param = _nc_visbuf2(1, sval);
     54696                            break;
     54697                        case atUnknown:
     54698                        default:
     54699-                           strcpy(buffer, "?");
     54700+                           _nc_STRCPY(buffer, "?", sizeof(buffer));
     54701                            break;
     54702                        }
     54703                        MyLength += strlen(param) + 2;
     54704                        MyBuffer = typeRealloc(char, MyLength, MyBuffer);
     54705-                       sprintf(MyBuffer + strlen(MyBuffer), ", %s", param);
     54706+                       _nc_SPRINTF(MyBuffer + strlen(MyBuffer),
     54707+                                   _nc_SLIMIT(MyLength - strlen(MyBuffer))
     54708+                                   ", %s", param);
     54709                    }
     54710                }
     54711                used = atUnknown;
    3872954712diff -Naur ncurses-5.9.orig/ncurses/trace/visbuf.c ncurses-5.9/ncurses/trace/visbuf.c
    38730 --- ncurses-5.9.orig/ncurses/trace/visbuf.c     2012-02-16 18:25:12.679810567 +0000
    38731 +++ ncurses-5.9/ncurses/trace/visbuf.c  2012-02-16 18:25:12.999819013 +0000
     54713--- ncurses-5.9.orig/ncurses/trace/visbuf.c     2012-08-25 19:57:59.409900901 +0000
     54714+++ ncurses-5.9/ncurses/trace/visbuf.c  2012-08-25 19:58:00.926560395 +0000
    3873254715@@ -1,5 +1,5 @@
    3873354716 /****************************************************************************
    3873454717- * Copyright (c) 2001-2009,2010 Free Software Foundation, Inc.              *
    38735 + * Copyright (c) 2001-2010,2011 Free Software Foundation, Inc.              *
     54718+ * Copyright (c) 2001-2011,2012 Free Software Foundation, Inc.              *
    3873654719  *                                                                          *
    3873754720  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3874254725 
    3874354726-MODULE_ID("$Id: visbuf.c,v 1.37 2010/05/29 18:51:41 tom Exp $")
    38744 +MODULE_ID("$Id: visbuf.c,v 1.38 2011/10/22 16:34:50 tom Exp $")
     54727+MODULE_ID("$Id: visbuf.c,v 1.40 2012/02/22 22:40:24 tom Exp $")
    3874554728 
    3874654729 #define NUM_VISBUFS 4
    3874754730 
    38748 @@ -261,7 +261,7 @@
     54731@@ -55,8 +55,16 @@
     54732 static const char r_brace[] = StringOf(R_BRACE);
     54733 #endif
     54734 
     54735+#if USE_STRING_HACKS && HAVE_SNPRINTF
     54736+#define VisChar(tp, chr, limit) _nc_vischar(tp, chr, limit)
     54737+#define LIMIT_ARG ,size_t limit
     54738+#else
     54739+#define VisChar(tp, chr, limit) _nc_vischar(tp, chr)
     54740+#define LIMIT_ARG              /* nothing */
     54741+#endif
     54742+
     54743 static char *
     54744-_nc_vischar(char *tp, unsigned c)
     54745+_nc_vischar(char *tp, unsigned c LIMIT_ARG)
     54746 {
     54747     if (c == '"' || c == '\\') {
     54748        *tp++ = '\\';
     54749@@ -84,7 +92,8 @@
     54750        *tp++ = '^';
     54751        *tp++ = (char) ('@' + c);
     54752     } else {
     54753-       sprintf(tp, "\\%03lo", (unsigned long) ChCharOf(c));
     54754+       _nc_SPRINTF(tp, _nc_SLIMIT(limit)
     54755+                   "\\%03lo", (unsigned long) ChCharOf(c));
     54756        tp += strlen(tp);
     54757     }
     54758     *tp = 0;
     54759@@ -97,6 +106,7 @@
     54760     const char *vbuf = 0;
     54761     char *tp;
     54762     int c;
     54763+    int count;
     54764 
     54765     if (buf == 0)
     54766        return ("(null)");
     54767@@ -106,6 +116,7 @@
     54768     if (len < 0)
     54769        len = (int) strlen(buf);
     54770 
     54771+    count = len;
     54772 #ifdef TRACE
     54773     vbuf = tp = _nc_trace_buf(bufnum, NormalLen(len));
     54774 #else
     54775@@ -124,8 +135,8 @@
     54776 #endif
     54777     if (tp != 0) {
     54778        *tp++ = D_QUOTE;
     54779-       while ((--len >= 0) && (c = *buf++) != '\0') {
     54780-           tp = _nc_vischar(tp, UChar(c));
     54781+       while ((--count >= 0) && (c = *buf++) != '\0') {
     54782+           tp = VisChar(tp, UChar(c), NormalLen(len));
     54783        }
     54784        *tp++ = D_QUOTE;
     54785        *tp = '\0';
     54786@@ -175,6 +186,7 @@
     54787     const char *vbuf;
     54788     char *tp;
     54789     wchar_t c;
     54790+    int count;
     54791 
     54792     if (buf == 0)
     54793        return ("(null)");
     54794@@ -182,6 +194,7 @@
     54795     if (len < 0)
     54796        len = (int) wcslen(buf);
     54797 
     54798+    count = len;
     54799 #ifdef TRACE
     54800     vbuf = tp = _nc_trace_buf(bufnum, WideLen(len));
     54801 #else
     54802@@ -193,15 +206,16 @@
     54803 #endif
     54804     if (tp != 0) {
     54805        *tp++ = D_QUOTE;
     54806-       while ((--len >= 0) && (c = *buf++) != '\0') {
     54807+       while ((--count >= 0) && (c = *buf++) != '\0') {
     54808            char temp[CCHARW_MAX + 80];
     54809            int j = wctomb(temp, c), k;
     54810            if (j <= 0) {
     54811-               sprintf(temp, "\\u%08X", (unsigned) c);
     54812+               _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
     54813+                           "\\u%08X", (unsigned) c);
     54814                j = (int) strlen(temp);
     54815            }
     54816            for (k = 0; k < j; ++k) {
     54817-               tp = _nc_vischar(tp, UChar(temp[k]));
     54818+               tp = VisChar(tp, UChar(temp[k]), WideLen(len));
     54819            }
     54820        }
     54821        *tp++ = D_QUOTE;
     54822@@ -261,7 +275,7 @@
    3874954823 NCURSES_EXPORT(const char *)
    3875054824 _nc_viscbuf2(int bufnum, const NCURSES_CH_T * buf, int len)
     
    3875554829     const char *found;
    3875654830 
     54831@@ -315,7 +329,7 @@
     54832                            break;
     54833                        for (k = 0; k < PUTC_n; k++) {
     54834                            char temp[80];
     54835-                           _nc_vischar(temp, UChar(PUTC_buf[k]));
     54836+                           VisChar(temp, UChar(PUTC_buf[k]), sizeof(temp));
     54837                            (void) _nc_trace_bufcat(bufnum, temp);
     54838                        }
     54839                    }
     54840@@ -323,7 +337,7 @@
     54841 #else
     54842                {
     54843                    char temp[80];
     54844-                   _nc_vischar(temp, UChar(buf[j]));
     54845+                   VisChar(temp, UChar(buf[j]), sizeof(temp));
     54846                    result = _nc_trace_bufcat(bufnum, temp);
     54847                }
     54848 #endif /* USE_WIDEC_SUPPORT */
     54849diff -Naur ncurses-5.9.orig/ncurses/tty/hardscroll.c ncurses-5.9/ncurses/tty/hardscroll.c
     54850--- ncurses-5.9.orig/ncurses/tty/hardscroll.c   2012-08-25 19:57:59.419900852 +0000
     54851+++ ncurses-5.9/ncurses/tty/hardscroll.c        2012-08-25 19:58:00.926560395 +0000
     54852@@ -1,5 +1,5 @@
     54853 /****************************************************************************
     54854- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     54855+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     54856  *                                                                          *
     54857  * Permission is hereby granted, free of charge, to any person obtaining a  *
     54858  * copy of this software and associated documentation files (the            *
     54859@@ -147,7 +147,7 @@
     54860 
     54861 #include <curses.priv.h>
     54862 
     54863-MODULE_ID("$Id: hardscroll.c,v 1.47 2010/04/24 23:46:47 tom Exp $")
     54864+MODULE_ID("$Id: hardscroll.c,v 1.49 2012/02/22 22:40:24 tom Exp $")
     54865 
     54866 #if defined(SCROLLDEBUG) || defined(HASHDEBUG)
     54867 
     54868@@ -173,9 +173,9 @@
     54869 # if USE_HASHMAP
     54870 #  define oldnums(sp)   (sp)->_oldnum_list
     54871 #  define OLDNUM(sp,n) oldnums(sp)[n]
     54872-# else                         /* !USE_HASHMAP */
     54873+# else /* !USE_HASHMAP */
     54874 #  define OLDNUM(sp,n) NewScreen(sp)->_line[n].oldindex
     54875-# endif                                /* !USE_HASHMAP */
     54876+# endif        /* !USE_HASHMAP */
     54877 
     54878 #define OLDNUM_SIZE(sp) (sp)->_oldnum_size
     54879 
     54880@@ -302,7 +302,9 @@
     54881 
     54882        *buf = '\0';
     54883        for (n = 0; n < screen_lines(SP_PARM); n++)
     54884-           (void) sprintf(buf + strlen(buf), " %02d", OLDNUM(SP_PARM, n));
     54885+           _nc_SPRINTF(buf + strlen(buf),
     54886+                       _nc_SLIMIT(want - strlen(buf))
     54887+                       " %02d", OLDNUM(SP_PARM, n));
     54888        TR(TRACE_UPDATE | TRACE_MOVE, ("virt %s", buf));
     54889        free(buf);
     54890     }
    3875754891diff -Naur ncurses-5.9.orig/ncurses/tty/hashmap.c ncurses-5.9/ncurses/tty/hashmap.c
    38758 --- ncurses-5.9.orig/ncurses/tty/hashmap.c      2012-02-16 18:25:12.671810357 +0000
    38759 +++ ncurses-5.9/ncurses/tty/hashmap.c   2012-02-16 18:25:12.999819013 +0000
     54892--- ncurses-5.9.orig/ncurses/tty/hashmap.c      2012-08-25 19:57:59.419900852 +0000
     54893+++ ncurses-5.9/ncurses/tty/hashmap.c   2012-08-25 19:58:00.049897873 +0000
    3876054894@@ -1,5 +1,5 @@
    3876154895 /****************************************************************************
     
    3878454918 
    3878554919diff -Naur ncurses-5.9.orig/ncurses/tty/lib_mvcur.c ncurses-5.9/ncurses/tty/lib_mvcur.c
    38786 --- ncurses-5.9.orig/ncurses/tty/lib_mvcur.c    2012-02-16 18:25:12.671810357 +0000
    38787 +++ ncurses-5.9/ncurses/tty/lib_mvcur.c 2012-02-16 18:25:13.003819118 +0000
     54920--- ncurses-5.9.orig/ncurses/tty/lib_mvcur.c    2012-08-25 19:57:59.419900852 +0000
     54921+++ ncurses-5.9/ncurses/tty/lib_mvcur.c 2012-08-25 19:58:00.049897873 +0000
    3878854922@@ -159,7 +159,7 @@
    3878954923 #define CUR SP_TERMTYPE
     
    3881454948     string_desc result;
    3881554949diff -Naur ncurses-5.9.orig/ncurses/tty/lib_tstp.c ncurses-5.9/ncurses/tty/lib_tstp.c
    38816 --- ncurses-5.9.orig/ncurses/tty/lib_tstp.c     2012-02-16 18:25:12.671810357 +0000
    38817 +++ ncurses-5.9/ncurses/tty/lib_tstp.c  2012-02-16 18:25:13.003819118 +0000
     54950--- ncurses-5.9.orig/ncurses/tty/lib_tstp.c     2012-08-25 19:57:59.419900852 +0000
     54951+++ ncurses-5.9/ncurses/tty/lib_tstp.c  2012-08-25 19:58:00.049897873 +0000
    3881854952@@ -1,5 +1,5 @@
    3881954953 /****************************************************************************
     
    3888855022 #if USE_SIGTSTP                        /* Xenix 2.x doesn't have SIGTSTP, for example */
    3888955023diff -Naur ncurses-5.9.orig/ncurses/tty/lib_twait.c ncurses-5.9/ncurses/tty/lib_twait.c
    38890 --- ncurses-5.9.orig/ncurses/tty/lib_twait.c    2012-02-16 18:25:12.671810357 +0000
    38891 +++ ncurses-5.9/ncurses/tty/lib_twait.c 2012-02-16 18:25:13.215824712 +0000
     55024--- ncurses-5.9.orig/ncurses/tty/lib_twait.c    2012-08-25 19:57:59.419900852 +0000
     55025+++ ncurses-5.9/ncurses/tty/lib_twait.c 2012-08-25 19:58:00.833227503 +0000
    3889255026@@ -1,5 +1,5 @@
    3889355027 /****************************************************************************
     
    3891455048 
    3891555049-MODULE_ID("$Id: lib_twait.c,v 1.61 2010/12/25 23:43:58 tom Exp $")
    38916 +MODULE_ID("$Id: lib_twait.c,v 1.63 2012/01/21 19:21:29 KO.Myung-Hun Exp $")
     55050+MODULE_ID("$Id: lib_twait.c,v 1.64 2012/02/18 20:32:55 tom Exp $")
    3891755051 
    3891855052 static long
     
    3893555069 
    3893655070     TR(TRACE_IEVENT, ("start twait: %d milliseconds, mode: %d",
    38937 @@ -247,7 +258,7 @@
     55071@@ -207,6 +218,7 @@
     55072     starttime = _nc_gettime(&t0, TRUE);
     55073 
     55074     count = 0;
     55075+    (void) count;
     55076 
     55077 #ifdef NCURSES_WGETCH_EVENTS
     55078     if ((mode & TW_EVENT) && evl)
     55079@@ -247,7 +259,7 @@
    3893855080     }
    3893955081 #endif
     
    3894455086 #ifdef NCURSES_WGETCH_EVENTS
    3894555087     if ((mode & TW_EVENT) && evl) {
    38946 @@ -329,10 +340,12 @@
     55088@@ -329,10 +341,12 @@
    3894755089      */
    3894855090     FD_ZERO(&set);
     
    3895755099        && (fd = sp->_mouse_fd) >= 0) {
    3895855100        FD_SET(fd, &set);
    38959 @@ -352,6 +365,31 @@
     55101@@ -352,6 +366,31 @@
    3896055102     }
    3896155103 #endif
     
    3898955131        struct timeval ntimeout;
    3899055132        ntimeout.tv_sec = milliseconds / 1000;
    38991 @@ -360,6 +398,7 @@
     55133@@ -360,6 +399,7 @@
    3899255134     } else {
    3899355135        result = select(count, &set, NULL, NULL, NULL);
     
    3899855140     if ((mode & TW_EVENT) && evl) {
    3899955141diff -Naur ncurses-5.9.orig/ncurses/tty/lib_vidattr.c ncurses-5.9/ncurses/tty/lib_vidattr.c
    39000 --- ncurses-5.9.orig/ncurses/tty/lib_vidattr.c  2012-02-16 18:25:12.671810357 +0000
    39001 +++ ncurses-5.9/ncurses/tty/lib_vidattr.c       2012-02-16 18:25:13.003819118 +0000
     55142--- ncurses-5.9.orig/ncurses/tty/lib_vidattr.c  2012-08-25 19:57:59.419900852 +0000
     55143+++ ncurses-5.9/ncurses/tty/lib_vidattr.c       2012-08-25 19:58:00.053231190 +0000
    3900255144@@ -1,5 +1,5 @@
    3900355145 /****************************************************************************
     
    3908355225 
    3908455226diff -Naur ncurses-5.9.orig/ncurses/tty/tty_update.c ncurses-5.9/ncurses/tty/tty_update.c
    39085 --- ncurses-5.9.orig/ncurses/tty/tty_update.c   2012-02-16 18:25:12.671810357 +0000
    39086 +++ ncurses-5.9/ncurses/tty/tty_update.c        2012-02-16 18:25:13.003819118 +0000
     55227--- ncurses-5.9.orig/ncurses/tty/tty_update.c   2012-08-25 19:57:59.419900852 +0000
     55228+++ ncurses-5.9/ncurses/tty/tty_update.c        2012-08-25 19:58:01.469891159 +0000
    3908755229@@ -1,5 +1,5 @@
    3908855230 /****************************************************************************
    3908955231- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    39090 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     55232+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3909155233  *                                                                          *
    3909255234  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3909755239 
    3909855240-MODULE_ID("$Id: tty_update.c,v 1.264 2010/12/19 01:21:02 tom Exp $")
    39099 +MODULE_ID("$Id: tty_update.c,v 1.267 2011/10/22 17:30:14 tom Exp $")
     55241+MODULE_ID("$Id: tty_update.c,v 1.268 2012/05/12 21:02:00 tom Exp $")
    3910055242 
    3910155243 /*
    3910255244  * This define controls the line-breakout optimization.  Every once in a
    39103 @@ -342,7 +342,7 @@
     55245@@ -288,13 +288,12 @@
     55246            int j = CharOfD(ch);
     55247            chtype temp = UChar(SP_PARM->_acs_map[j]);
     55248 
     55249-           if (!(SP_PARM->_screen_acs_map[j])) {
     55250+           if (temp != 0) {
     55251+               SetChar(my_ch, temp, AttrOf(attr));
     55252+           } else {
     55253+               my_ch = CHDEREF(ch);
     55254                RemAttr(attr, A_ALTCHARSET);
     55255-               if (temp == 0)
     55256-                   temp = ' ';
     55257            }
     55258-           if (temp != 0)
     55259-               SetChar(my_ch, temp, AttrOf(attr));
     55260        }
     55261        ch = CHREF(my_ch);
     55262     }
     55263@@ -342,7 +341,7 @@
    3910455264        struct pollfd fds[1];
    3910555265        fds[0].fd = SP_PARM->_checkfd;
     
    3911055270        }
    3911155271 #elif defined(__BEOS__)
    39112 @@ -677,6 +677,9 @@
     55272@@ -677,6 +676,9 @@
    3911355273 
    3911455274     T((T_CALLED("_nc_tinfo:doupdate(%p)"), (void *) SP_PARM));
     
    3912055280     /*
    3912155281      * It is "legal" but unlikely that an application could assign a new
    39122 @@ -1076,7 +1079,7 @@
     55282@@ -1076,7 +1078,7 @@
    3912355283 */
    3912455284 
     
    3913055290 
    3913155291diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_box_set.c ncurses-5.9/ncurses/widechar/lib_box_set.c
    39132 --- ncurses-5.9.orig/ncurses/widechar/lib_box_set.c     2012-02-16 18:25:12.667810252 +0000
    39133 +++ ncurses-5.9/ncurses/widechar/lib_box_set.c  2012-02-16 18:25:13.003819118 +0000
     55292--- ncurses-5.9.orig/ncurses/widechar/lib_box_set.c     2012-08-25 19:57:59.419900852 +0000
     55293+++ ncurses-5.9/ncurses/widechar/lib_box_set.c  2012-08-25 19:58:00.053231190 +0000
    3913455294@@ -1,5 +1,5 @@
    3913555295 /****************************************************************************
     
    3915855318        _tracech_t2(2, rs),
    3915955319diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_cchar.c ncurses-5.9/ncurses/widechar/lib_cchar.c
    39160 --- ncurses-5.9.orig/ncurses/widechar/lib_cchar.c       2012-02-16 18:25:12.667810252 +0000
    39161 +++ ncurses-5.9/ncurses/widechar/lib_cchar.c    2012-02-16 18:25:13.003819118 +0000
     55320--- ncurses-5.9.orig/ncurses/widechar/lib_cchar.c       2012-08-25 19:57:59.419900852 +0000
     55321+++ ncurses-5.9/ncurses/widechar/lib_cchar.c    2012-08-25 19:58:01.059893097 +0000
    3916255322@@ -1,5 +1,5 @@
    3916355323 /****************************************************************************
    3916455324- * Copyright (c) 2001-2009,2010 Free Software Foundation, Inc.              *
    39165 + * Copyright (c) 2001-2010,2011 Free Software Foundation, Inc.              *
     55325+ * Copyright (c) 2001-2011,2012 Free Software Foundation, Inc.              *
    3916655326  *                                                                          *
    3916755327  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3917255332 
    3917355333-MODULE_ID("$Id: lib_cchar.c,v 1.20 2010/12/25 23:46:26 tom Exp $")
    39174 +MODULE_ID("$Id: lib_cchar.c,v 1.24 2011/10/22 15:52:36 tom Exp $")
     55334+MODULE_ID("$Id: lib_cchar.c,v 1.26 2012/03/24 18:37:17 tom Exp $")
    3917555335 
    3917655336 /*
     
    3918455344-       || (len > 1 && wcwidth(wch[0]) < 0)) {
    3918555345+       || wch == NULL
    39186 +       || ((len = wcslen(wch)) > 1 && wcwidth(wch[0]) < 0)) {
     55346+       || ((len = (unsigned) wcslen(wch)) > 1 && wcwidth(wch[0]) < 0)) {
    3918755347        code = ERR;
    3918855348     } else {
     
    3921855378        }
    3921955379diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_get_wch.c ncurses-5.9/ncurses/widechar/lib_get_wch.c
    39220 --- ncurses-5.9.orig/ncurses/widechar/lib_get_wch.c     2012-02-16 18:25:12.667810252 +0000
    39221 +++ ncurses-5.9/ncurses/widechar/lib_get_wch.c  2012-02-16 18:25:13.003819118 +0000
     55380--- ncurses-5.9.orig/ncurses/widechar/lib_get_wch.c     2012-08-25 19:57:59.419900852 +0000
     55381+++ ncurses-5.9/ncurses/widechar/lib_get_wch.c  2012-08-25 19:58:00.053231190 +0000
    3922255382@@ -1,5 +1,5 @@
    3922355383 /****************************************************************************
     
    3924955409     returnCode(code);
    3925055410diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_get_wstr.c ncurses-5.9/ncurses/widechar/lib_get_wstr.c
    39251 --- ncurses-5.9.orig/ncurses/widechar/lib_get_wstr.c    2012-02-16 18:25:12.667810252 +0000
    39252 +++ ncurses-5.9/ncurses/widechar/lib_get_wstr.c 2012-02-16 18:25:13.003819118 +0000
     55411--- ncurses-5.9.orig/ncurses/widechar/lib_get_wstr.c    2012-08-25 19:57:59.419900852 +0000
     55412+++ ncurses-5.9/ncurses/widechar/lib_get_wstr.c 2012-08-25 19:58:00.053231190 +0000
    3925355413@@ -1,5 +1,5 @@
    3925455414 /****************************************************************************
     
    3928655446        *--last = '\0';
    3928755447diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_ins_wch.c ncurses-5.9/ncurses/widechar/lib_ins_wch.c
    39288 --- ncurses-5.9.orig/ncurses/widechar/lib_ins_wch.c     2012-02-16 18:25:12.667810252 +0000
    39289 +++ ncurses-5.9/ncurses/widechar/lib_ins_wch.c  2012-02-16 18:25:13.003819118 +0000
     55448--- ncurses-5.9.orig/ncurses/widechar/lib_ins_wch.c     2012-08-25 19:57:59.419900852 +0000
     55449+++ ncurses-5.9/ncurses/widechar/lib_ins_wch.c  2012-08-25 19:58:00.053231190 +0000
    3929055450@@ -1,5 +1,5 @@
    3929155451 /****************************************************************************
     
    3931455474                } else {
    3931555475diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_inwstr.c ncurses-5.9/ncurses/widechar/lib_inwstr.c
    39316 --- ncurses-5.9.orig/ncurses/widechar/lib_inwstr.c      2012-02-16 18:25:12.667810252 +0000
    39317 +++ ncurses-5.9/ncurses/widechar/lib_inwstr.c   2012-02-16 18:25:13.007819223 +0000
     55476--- ncurses-5.9.orig/ncurses/widechar/lib_inwstr.c      2012-08-25 19:57:59.419900852 +0000
     55477+++ ncurses-5.9/ncurses/widechar/lib_inwstr.c   2012-08-25 19:58:00.056564508 +0000
    3931855478@@ -1,5 +1,5 @@
    3931955479 /****************************************************************************
     
    3934855508 }
    3934955509diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_slk_wset.c ncurses-5.9/ncurses/widechar/lib_slk_wset.c
    39350 --- ncurses-5.9.orig/ncurses/widechar/lib_slk_wset.c    2012-02-16 18:25:12.667810252 +0000
    39351 +++ ncurses-5.9/ncurses/widechar/lib_slk_wset.c 2012-02-16 18:25:13.007819223 +0000
     55510--- ncurses-5.9.orig/ncurses/widechar/lib_slk_wset.c    2012-08-25 19:57:59.419900852 +0000
     55511+++ ncurses-5.9/ncurses/widechar/lib_slk_wset.c 2012-08-25 19:58:00.056564508 +0000
    3935255512@@ -1,5 +1,5 @@
    3935355513 /****************************************************************************
     
    3940155561     returnCode(result);
    3940255562diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_unget_wch.c ncurses-5.9/ncurses/widechar/lib_unget_wch.c
    39403 --- ncurses-5.9.orig/ncurses/widechar/lib_unget_wch.c   2012-02-16 18:25:12.667810252 +0000
    39404 +++ ncurses-5.9/ncurses/widechar/lib_unget_wch.c        2012-02-16 18:25:13.007819223 +0000
     55563--- ncurses-5.9.orig/ncurses/widechar/lib_unget_wch.c   2012-08-25 19:57:59.419900852 +0000
     55564+++ ncurses-5.9/ncurses/widechar/lib_unget_wch.c        2012-08-25 19:58:00.056564508 +0000
    3940555565@@ -1,5 +1,5 @@
    3940655566 /****************************************************************************
     
    3942955589     }
    3943055590diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_vid_attr.c ncurses-5.9/ncurses/widechar/lib_vid_attr.c
    39431 --- ncurses-5.9.orig/ncurses/widechar/lib_vid_attr.c    2012-02-16 18:25:12.667810252 +0000
    39432 +++ ncurses-5.9/ncurses/widechar/lib_vid_attr.c 2012-02-16 18:25:13.007819223 +0000
     55591--- ncurses-5.9.orig/ncurses/widechar/lib_vid_attr.c    2012-08-25 19:57:59.419900852 +0000
     55592+++ ncurses-5.9/ncurses/widechar/lib_vid_attr.c 2012-08-25 19:58:01.733223247 +0000
    3943355593@@ -1,5 +1,5 @@
    3943455594 /****************************************************************************
    3943555595- * Copyright (c) 2002-2009,2010 Free Software Foundation, Inc.              *
    39436 + * Copyright (c) 2002-2010,2011 Free Software Foundation, Inc.              *
     55596+ * Copyright (c) 2002-2011,2012 Free Software Foundation, Inc.              *
    3943755597  *                                                                          *
    3943855598  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3944355603 
    3944455604-MODULE_ID("$Id: lib_vid_attr.c,v 1.14 2010/12/19 01:44:24 tom Exp $")
    39445 +MODULE_ID("$Id: lib_vid_attr.c,v 1.15 2011/05/28 21:25:07 tom Exp $")
     55605+MODULE_ID("$Id: lib_vid_attr.c,v 1.16 2012/06/09 20:29:33 tom Exp $")
    3944655606 
    3944755607 #define doPut(mode) TPUTS_TRACE(#mode); NCURSES_SP_NAME(tputs)(NCURSES_SP_ARGx mode, 1, outc)
    3944855608 
     55609@@ -120,7 +120,7 @@
     55610         * A_ALTCHARSET (256) down 2 to line up.  We use the NCURSES_BITS
     55611         * macro so this will work properly for the wide-character layout.
     55612         */
     55613-       unsigned value = no_color_video;
     55614+       unsigned value = (unsigned) no_color_video;
     55615        attr_t mask = NCURSES_BITS((value & 63)
     55616                                   | ((value & 192) << 1)
     55617                                   | ((value & 256) >> 2), 8);
    3944955618@@ -296,24 +296,26 @@
    3945055619 NCURSES_EXPORT(attr_t)
     
    3949055659 }
    3949155660diff -Naur ncurses-5.9.orig/ncurses/widechar/lib_wunctrl.c ncurses-5.9/ncurses/widechar/lib_wunctrl.c
    39492 --- ncurses-5.9.orig/ncurses/widechar/lib_wunctrl.c     2012-02-16 18:25:12.667810252 +0000
    39493 +++ ncurses-5.9/ncurses/widechar/lib_wunctrl.c  2012-02-16 18:25:13.007819223 +0000
     55661--- ncurses-5.9.orig/ncurses/widechar/lib_wunctrl.c     2012-08-25 19:57:59.419900852 +0000
     55662+++ ncurses-5.9/ncurses/widechar/lib_wunctrl.c  2012-08-25 19:58:00.056564508 +0000
    3949455663@@ -1,5 +1,5 @@
    3949555664 /****************************************************************************
     
    3953455703 
    3953555704 #if NCURSES_SP_FUNCS
     55705diff -Naur ncurses-5.9.orig/ncurses/win32con/win_driver.c ncurses-5.9/ncurses/win32con/win_driver.c
     55706--- ncurses-5.9.orig/ncurses/win32con/win_driver.c      2012-08-25 19:57:59.416567535 +0000
     55707+++ ncurses-5.9/ncurses/win32con/win_driver.c   2012-08-25 19:58:00.836560821 +0000
     55708@@ -1,5 +1,5 @@
     55709 /****************************************************************************
     55710- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     55711+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     55712  *                                                                          *
     55713  * Permission is hereby granted, free of charge, to any person obtaining a  *
     55714  * copy of this software and associated documentation files (the            *
     55715@@ -28,7 +28,6 @@
     55716 
     55717 /****************************************************************************
     55718  *  Author: Juergen Pfeifer                                                 *
     55719- *                                                                          *
     55720  ****************************************************************************/
     55721 
     55722 /*
     55723@@ -39,12 +38,12 @@
     55724 #include <curses.priv.h>
     55725 #define CUR my_term.type.
     55726 
     55727-MODULE_ID("$Id: win_driver.c,v 1.10 2010/12/25 19:28:21 tom Exp $")
     55728+MODULE_ID("$Id: win_driver.c,v 1.11 2012/02/18 20:28:25 tom Exp $")
     55729 
     55730 #define WINMAGIC NCDRV_MAGIC(NCDRV_WINCONSOLE)
     55731 
     55732 #define AssertTCB() assert(TCB!=0 && TCB->magic==WINMAGIC)
     55733-#define SetSP() assert(TCB->csp!=0); sp = TCB->csp
     55734+#define SetSP() assert(TCB->csp!=0); sp = TCB->csp; (void) sp
     55735 
     55736 #define GenMap(vKey,key) MAKELONG(key, vKey)
     55737 
     55738@@ -308,7 +307,7 @@
     55739 
     55740 static int
     55741 drv_dobeepflash(TERMINAL_CONTROL_BLOCK * TCB,
     55742-               bool beepFlag GCC_UNUSED)
     55743+               int beepFlag GCC_UNUSED)
     55744 {
     55745     SCREEN *sp;
     55746     int res = ERR;
     55747@@ -348,7 +347,7 @@
     55748 
     55749 static void
     55750 drv_setcolor(TERMINAL_CONTROL_BLOCK * TCB,
     55751-            bool fore,
     55752+            int fore,
     55753             int color,
     55754             int (*outc) (SCREEN *, int) GCC_UNUSED)
     55755 {
     55756@@ -412,7 +411,7 @@
     55757 }
     55758 
     55759 static int
     55760-drv_sgmode(TERMINAL_CONTROL_BLOCK * TCB, bool setFlag, TTY * buf)
     55761+drv_sgmode(TERMINAL_CONTROL_BLOCK * TCB, int setFlag, TTY * buf)
     55762 {
     55763     DWORD dwFlag = 0;
     55764     tcflag_t iflag;
     55765@@ -479,7 +478,7 @@
     55766 }
     55767 
     55768 static int
     55769-drv_mode(TERMINAL_CONTROL_BLOCK * TCB, bool progFlag, bool defFlag)
     55770+drv_mode(TERMINAL_CONTROL_BLOCK * TCB, int progFlag, int defFlag)
     55771 {
     55772     SCREEN *sp;
     55773     TERMINAL *_term = (TERMINAL *) TCB;
     55774@@ -674,9 +673,9 @@
     55775 
     55776 static void
     55777 drv_initpair(TERMINAL_CONTROL_BLOCK * TCB,
     55778-            short pair,
     55779-            short f,
     55780-            short b)
     55781+            int pair,
     55782+            int f,
     55783+            int b)
     55784 {
     55785     SCREEN *sp;
     55786 
     55787@@ -691,10 +690,10 @@
     55788 
     55789 static void
     55790 drv_initcolor(TERMINAL_CONTROL_BLOCK * TCB,
     55791-             short color GCC_UNUSED,
     55792-             short r GCC_UNUSED,
     55793-             short g GCC_UNUSED,
     55794-             short b GCC_UNUSED)
     55795+             int color GCC_UNUSED,
     55796+             int r GCC_UNUSED,
     55797+             int g GCC_UNUSED,
     55798+             int b GCC_UNUSED)
     55799 {
     55800     SCREEN *sp;
     55801 
     55802@@ -704,9 +703,9 @@
     55803 
     55804 static void
     55805 drv_do_color(TERMINAL_CONTROL_BLOCK * TCB,
     55806-            short old_pair GCC_UNUSED,
     55807-            short pair GCC_UNUSED,
     55808-            bool reverse GCC_UNUSED,
     55809+            int old_pair GCC_UNUSED,
     55810+            int pair GCC_UNUSED,
     55811+            int reverse GCC_UNUSED,
     55812             int (*outc) (SCREEN *, int) GCC_UNUSED
     55813 )
     55814 {
     55815@@ -778,7 +777,7 @@
     55816 
     55817 static void
     55818 drv_hwlabelOnOff(TERMINAL_CONTROL_BLOCK * TCB,
     55819-                bool OnFlag GCC_UNUSED)
     55820+                int OnFlag GCC_UNUSED)
     55821 {
     55822     SCREEN *sp;
     55823 
     55824@@ -1080,7 +1079,6 @@
     55825     BOOL b;
     55826     DWORD nRead;
     55827     WORD vk;
     55828-    WORD sc;
     55829 
     55830     AssertTCB();
     55831     assert(buf);
     55832@@ -1096,7 +1094,6 @@
     55833                    continue;
     55834                *buf = (int) inp_rec.Event.KeyEvent.uChar.AsciiChar;
     55835                vk = inp_rec.Event.KeyEvent.wVirtualKeyCode;
     55836-               sc = inp_rec.Event.KeyEvent.wVirtualScanCode;
     55837                if (*buf == 0) {
     55838                    if (sp->_keypad_on) {
     55839                        *buf = MapKey(TCB, vk);
     55840@@ -1157,7 +1154,7 @@
     55841 }
     55842 
     55843 static int
     55844-drv_kpad(TERMINAL_CONTROL_BLOCK * TCB, bool flag GCC_UNUSED)
     55845+drv_kpad(TERMINAL_CONTROL_BLOCK * TCB, int flag GCC_UNUSED)
     55846 {
     55847     SCREEN *sp;
     55848     int code = ERR;
     55849@@ -1172,7 +1169,7 @@
     55850 }
     55851 
     55852 static int
     55853-drv_keyok(TERMINAL_CONTROL_BLOCK * TCB, int keycode, bool flag)
     55854+drv_keyok(TERMINAL_CONTROL_BLOCK * TCB, int keycode, int flag)
     55855 {
     55856     int code = ERR;
     55857     SCREEN *sp;
     55858diff -Naur ncurses-5.9.orig/package/debian/changelog ncurses-5.9/package/debian/changelog
     55859--- ncurses-5.9.orig/package/debian/changelog   1970-01-01 00:00:00.000000000 +0000
     55860+++ ncurses-5.9/package/debian/changelog        2012-08-25 19:58:02.389886808 +0000
     55861@@ -0,0 +1,11 @@
     55862+ncurses6 (5.9-20120811) unstable; urgency=low
     55863+
     55864+  * latest weekly patch
     55865+
     55866+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 11 Aug 2012 17:52:54 -0400
     55867+
     55868+ncurses6 (5.9-20120608) unstable; urgency=low
     55869+
     55870+  * initial release
     55871+
     55872+ -- Thomas E. Dickey <dickey@invisible-island.net>  Fri, 08 Jun 2012 07:54:29 -0400
     55873diff -Naur ncurses-5.9.orig/package/debian/compat ncurses-5.9/package/debian/compat
     55874--- ncurses-5.9.orig/package/debian/compat      1970-01-01 00:00:00.000000000 +0000
     55875+++ ncurses-5.9/package/debian/compat   2012-08-25 19:58:01.596557226 +0000
     55876@@ -0,0 +1 @@
     55877+5
     55878diff -Naur ncurses-5.9.orig/package/debian/control ncurses-5.9/package/debian/control
     55879--- ncurses-5.9.orig/package/debian/control     1970-01-01 00:00:00.000000000 +0000
     55880+++ ncurses-5.9/package/debian/control  2012-08-25 19:58:01.596557226 +0000
     55881@@ -0,0 +1,16 @@
     55882+Source: ncurses6
     55883+Section: libdevel
     55884+Priority: optional
     55885+Maintainer: Thomas E. Dickey <dickey@invisible-island.net>
     55886+Homepage: http://invisible-island.net/ncurses/
     55887+Build-Depends: debhelper (>= 7)
     55888+Standards-Version: 3.8.2
     55889+
     55890+Package: ncurses6
     55891+Architecture: any
     55892+Depends: ${misc:Depends}
     55893+Description: shared libraries for terminal handling
     55894+ The ncurses library routines are a terminal-independent method of
     55895+ updating character screens with reasonable optimization.
     55896+ .
     55897+ This package is used for testing ABI 6.
     55898diff -Naur ncurses-5.9.orig/package/debian/copyright ncurses-5.9/package/debian/copyright
     55899--- ncurses-5.9.orig/package/debian/copyright   1970-01-01 00:00:00.000000000 +0000
     55900+++ ncurses-5.9/package/debian/copyright        2012-08-25 19:58:01.596557226 +0000
     55901@@ -0,0 +1,112 @@
     55902+This package is used for testing builds of ncurses.
     55903+
     55904+Copyright (c) 1998-2012 Free Software Foundation, Inc.
     55905+Copyright © 2001 by Pradeep Padala
     55906+
     55907+Permission is hereby granted, free of charge, to any person obtaining a
     55908+copy of this software and associated documentation files (the
     55909+"Software"), to deal in the Software without restriction, including
     55910+without limitation the rights to use, copy, modify, merge, publish,
     55911+distribute, distribute with modifications, sublicense, and/or sell
     55912+copies of the Software, and to permit persons to whom the Software is
     55913+furnished to do so, subject to the following conditions:
     55914+
     55915+The above copyright notice and this permission notice shall be included
     55916+in all copies or substantial portions of the Software.
     55917+
     55918+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     55919+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     55920+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     55921+IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
     55922+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
     55923+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
     55924+THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     55925+
     55926+Except as contained in this notice, the name(s) of the above copyright
     55927+holders shall not be used in advertising or otherwise to promote the
     55928+sale, use or other dealings in this Software without prior written
     55929+authorization.
     55930+
     55931+
     55932+Copyright (C) 1994 X Consortium
     55933+
     55934+Permission is hereby granted, free of charge, to any person obtaining a copy
     55935+of this software and associated documentation files (the "Software"), to
     55936+deal in the Software without restriction, including without limitation the
     55937+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
     55938+sell copies of the Software, and to permit persons to whom the Software is
     55939+furnished to do so, subject to the following conditions:
     55940+
     55941+The above copyright notice and this permission notice shall be included in
     55942+all copies or substantial portions of the Software.
     55943+
     55944+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     55945+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     55946+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
     55947+X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
     55948+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
     55949+TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     55950+
     55951+Except as contained in this notice, the name of the X Consortium shall not
     55952+be used in advertising or otherwise to promote the sale, use or other deal-
     55953+ings in this Software without prior written authorization from the X Consor-
     55954+tium.
     55955+
     55956+
     55957+Copyright (c) 1980, 1991, 1992, 1993
     55958+       The Regents of the University of California.  All rights reserved.
     55959+
     55960+Redistribution and use in source and binary forms, with or without
     55961+modification, are permitted provided that the following conditions
     55962+are met:
     55963+1. Redistributions of source code must retain the above copyright
     55964+   notice, this list of conditions and the following disclaimer.
     55965+2. Redistributions in binary form must reproduce the above copyright
     55966+   notice, this list of conditions and the following disclaimer in the
     55967+   documentation and/or other materials provided with the distribution.
     55968+3. Neither the name of the University nor the names of its contributors
     55969+   may be used to endorse or promote products derived from this software
     55970+   without specific prior written permission.
     55971+
     55972+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     55973+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     55974+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     55975+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     55976+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     55977+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     55978+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     55979+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     55980+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     55981+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     55982+SUCH DAMAGE.
     55983+
     55984+
     55985+Copyright 1996-2007 by Thomas E. Dickey
     55986+
     55987+                        All Rights Reserved
     55988+
     55989+Permission is hereby granted, free of charge, to any person obtaining a
     55990+copy of this software and associated documentation files (the
     55991+"Software"), to deal in the Software without restriction, including
     55992+without limitation the rights to use, copy, modify, merge, publish,
     55993+distribute, sublicense, and/or sell copies of the Software, and to
     55994+permit persons to whom the Software is furnished to do so, subject to
     55995+the following conditions:
     55996+
     55997+The above copyright notice and this permission notice shall be included
     55998+in all copies or substantial portions of the Software.
     55999+
     56000+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     56001+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     56002+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     56003+IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
     56004+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
     56005+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
     56006+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     56007+
     56008+Except as contained in this notice, the name(s) of the above copyright
     56009+holders shall not be used in advertising or otherwise to promote the
     56010+sale, use or other dealings in this Software without prior written
     56011+authorization.
     56012+
     56013+-- vile: txtmode file-encoding=utf-8
     56014diff -Naur ncurses-5.9.orig/package/debian/rules ncurses-5.9/package/debian/rules
     56015--- ncurses-5.9.orig/package/debian/rules       1970-01-01 00:00:00.000000000 +0000
     56016+++ ncurses-5.9/package/debian/rules    2012-08-25 19:58:01.866555950 +0000
     56017@@ -0,0 +1,118 @@
     56018+#!/usr/bin/make -f
     56019+# MAde with the aid of dh_make, by Craig Small
     56020+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
     56021+# Some lines taken from debmake, by Cristoph Lameter.
     56022+
     56023+# Uncomment this to turn on verbose mode.
     56024+#export DH_VERBOSE=1
     56025+
     56026+# These are used for cross-compiling and for saving the configure script
     56027+# from having to guess our platform (since we know it already)
     56028+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
     56029+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
     56030+
     56031+CC_NORMAL = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion
     56032+CC_STRICT = $(CC_NORMAL) -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wwrite-strings -ansi -pedantic
     56033+
     56034+MY_DIR=/usr/local/ncurses6
     56035+MYDATA=/usr/local/ncurses/share/terminfo
     56036+
     56037+CFLAGS = $(CC_NORMAL)
     56038+
     56039+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
     56040+        CFLAGS += -O0
     56041+else
     56042+        CFLAGS += -O2
     56043+endif
     56044+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
     56045+        INSTALL_PROGRAM += -s
     56046+endif
     56047+
     56048+
     56049+configure: configure-stamp
     56050+configure-stamp:
     56051+       dh_testdir
     56052+
     56053+       RPATH_LIST=../lib:$(MY_DIR)/lib \
     56054+       CFLAGS="$(CFLAGS)" ./configure \
     56055+               --host=$(DEB_HOST_GNU_TYPE) \
     56056+               --build=$(DEB_BUILD_GNU_TYPE) \
     56057+               --prefix=$(MY_DIR) \
     56058+               --with-default-terminfo-dir=$(MYDATA) \
     56059+               --with-terminfo-dirs=$(MYDATA):/usr/share/terminfo \
     56060+               --disable-echo \
     56061+               --disable-getcap \
     56062+               --disable-leaks \
     56063+               --disable-macros  \
     56064+               --disable-termcap \
     56065+               --enable-const \
     56066+               --enable-ext-colors \
     56067+               --enable-ext-mouse \
     56068+               --enable-hard-tabs \
     56069+               --enable-interop \
     56070+               --enable-rpath \
     56071+               --enable-sp-funcs \
     56072+               --enable-warnings \
     56073+               --enable-widec \
     56074+               --verbose \
     56075+               --with-develop \
     56076+               --with-shared \
     56077+               --with-termlib \
     56078+               --with-ticlib \
     56079+               --with-trace \
     56080+               --with-xterm-kbs=DEL \
     56081+               --without-ada \
     56082+               --without-debug \
     56083+               --without-normal
     56084+
     56085+       touch configure-stamp
     56086+
     56087+build: build-stamp
     56088+build-stamp: configure-stamp
     56089+       dh_testdir
     56090+
     56091+       $(MAKE)
     56092+
     56093+       touch build-stamp
     56094+
     56095+clean:
     56096+       dh_testdir
     56097+       dh_testroot
     56098+
     56099+       [ ! -f makefile ] || $(MAKE) distclean
     56100+
     56101+       rm -f configure-stamp build-stamp install-stamp
     56102+
     56103+       dh_clean
     56104+
     56105+install: install-stamp
     56106+install-stamp: build-stamp
     56107+       dh_testdir
     56108+       dh_testroot
     56109+       dh_clean -k
     56110+       dh_installdirs
     56111+
     56112+       $(MAKE) install.libs install.progs DESTDIR=$(CURDIR)/debian/ncurses6
     56113+
     56114+       touch install-stamp
     56115+
     56116+# Build architecture-independent files here.
     56117+binary-indep: build install
     56118+# No binary-indep target.
     56119+
     56120+# Build architecture-dependent files here.
     56121+binary-arch: build install
     56122+       dh_testdir
     56123+       dh_testroot
     56124+       dh_installchangelogs NEWS
     56125+       dh_strip
     56126+       dh_compress
     56127+       dh_fixperms
     56128+       dh_installdeb
     56129+       dh_shlibdeps
     56130+       dh_gencontrol
     56131+       dh_md5sums
     56132+       dh_builddeb
     56133+
     56134+binary: binary-indep binary-arch
     56135+.PHONY: build clean binary-indep binary-arch binary install install-stamp
     56136diff -Naur ncurses-5.9.orig/package/debian/source/format ncurses-5.9/package/debian/source/format
     56137--- ncurses-5.9.orig/package/debian/source/format       1970-01-01 00:00:00.000000000 +0000
     56138+++ ncurses-5.9/package/debian/source/format    2012-08-25 19:58:01.599890543 +0000
     56139@@ -0,0 +1 @@
     56140+3.0 (native)
     56141diff -Naur ncurses-5.9.orig/package/debian/watch ncurses-5.9/package/debian/watch
     56142--- ncurses-5.9.orig/package/debian/watch       1970-01-01 00:00:00.000000000 +0000
     56143+++ ncurses-5.9/package/debian/watch    2012-08-25 19:58:01.599890543 +0000
     56144@@ -0,0 +1,4 @@
     56145+version=3
     56146+
     56147+opts=passive ftp://invisible-island.net/ncurses/current/ncurses\.tar.gz \
     56148+ debian  uupdate
     56149diff -Naur ncurses-5.9.orig/package/ncurses.spec ncurses-5.9/package/ncurses.spec
     56150--- ncurses-5.9.orig/package/ncurses.spec       1970-01-01 00:00:00.000000000 +0000
     56151+++ ncurses-5.9/package/ncurses.spec    2012-08-25 19:58:02.389886808 +0000
     56152@@ -0,0 +1,82 @@
     56153+Summary: shared libraries for terminal handling
     56154+Name: ncurses6
     56155+Release: 5.9
     56156+Version: 20120811
     56157+License: X11
     56158+Group: Development/Libraries
     56159+Source: ncurses-%{release}-%{version}.tgz
     56160+# URL: http://invisible-island.net/ncurses/
     56161+
     56162+%define CC_NORMAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion
     56163+%define CC_STRICT %{CC_NORMAL} -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wwrite-strings -ansi -pedantic
     56164+
     56165+%define _prefix /usr/local/ncurses6
     56166+%define MYDATA /usr/local/ncurses/share/terminfo
     56167+
     56168+%description
     56169+The ncurses library routines are a terminal-independent method of
     56170+updating character screens with reasonable optimization.
     56171+
     56172+This package is used for testing ABI 6.
     56173+
     56174+%prep
     56175+
     56176+%setup -q -n ncurses-%{release}-%{version}
     56177+
     56178+%build
     56179+CFLAGS="%{CC_NORMAL}" \
     56180+RPATH_LIST=../lib:%{_prefix}/lib \
     56181+%configure \
     56182+       --target %{_target_platform} \
     56183+       --prefix=%{_prefix} \
     56184+       --includedir='${prefix}/include' \
     56185+       --with-default-terminfo-dir=%{MYDATA} \
     56186+       --with-install-prefix=$RPM_BUILD_ROOT \
     56187+       --with-terminfo-dirs=%{MYDATA}:/usr/share/terminfo \
     56188+       --disable-echo \
     56189+       --disable-getcap \
     56190+       --disable-leaks \
     56191+       --disable-macros  \
     56192+       --disable-overwrite  \
     56193+       --disable-termcap \
     56194+       --enable-const \
     56195+       --enable-ext-colors \
     56196+       --enable-ext-mouse \
     56197+       --enable-hard-tabs \
     56198+       --enable-interop \
     56199+       --enable-rpath \
     56200+       --enable-sp-funcs \
     56201+       --enable-warnings \
     56202+       --enable-widec \
     56203+       --verbose \
     56204+       --with-develop \
     56205+       --with-shared \
     56206+       --with-termlib \
     56207+       --with-ticlib \
     56208+       --with-trace \
     56209+       --with-xterm-kbs=DEL \
     56210+       --without-ada \
     56211+       --without-debug \
     56212+       --without-normal
     56213+
     56214+make
     56215+
     56216+%install
     56217+rm -rf $RPM_BUILD_ROOT
     56218+
     56219+make install.libs install.progs
     56220+
     56221+%clean
     56222+rm -rf $RPM_BUILD_ROOT
     56223+
     56224+%files
     56225+%defattr(-,root,root,-)
     56226+%{_bindir}/*
     56227+%{_includedir}/*
     56228+%{_libdir}/*
     56229+#%{_datadir}/*
     56230+
     56231+%changelog
     56232+
     56233+* Fri Jun 08 2012 Thomas E. Dickey
     56234+- initial version.
    3953656235diff -Naur ncurses-5.9.orig/panel/Makefile.in ncurses-5.9/panel/Makefile.in
    39537 --- ncurses-5.9.orig/panel/Makefile.in  2012-02-16 18:25:12.639809512 +0000
    39538 +++ ncurses-5.9/panel/Makefile.in       2012-02-16 18:25:13.007819223 +0000
     56236--- ncurses-5.9.orig/panel/Makefile.in  2012-08-25 19:57:59.393234312 +0000
     56237+++ ncurses-5.9/panel/Makefile.in       2012-08-25 19:58:02.389886808 +0000
    3953956238@@ -1,6 +1,6 @@
    3954056239-# $Id: Makefile.in,v 1.58 2010/11/27 21:45:27 tom Exp $
    39541 +# $Id: Makefile.in,v 1.59 2011/08/07 15:46:50 tom Exp $
     56240+# $Id: Makefile.in,v 1.60 2012/08/11 21:31:56 tom Exp $
    3954256241 ##############################################################################
    3954356242-# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
     
    3954656245 # Permission is hereby granted, free of charge, to any person obtaining a    #
    3954756246 # copy of this software and associated documentation files (the "Software"), #
    39548 @@ -103,6 +103,7 @@
     56247@@ -57,6 +57,7 @@
     56248 bindir         = @bindir@
     56249 libdir         = @libdir@
     56250 includedir     = @includedir@
     56251+datarootdir    = @datarootdir@
     56252 datadir                = @datadir@
     56253 
     56254 LIBTOOL                = @LIBTOOL@
     56255@@ -103,6 +104,7 @@
    3954956256 SHLIB_DIRS     = -L../lib
    3955056257 SHLIB_LIST     = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
     
    3955456261 
    3955556262 NCURSES_MAJOR  = @NCURSES_MAJOR@
     56263diff -Naur ncurses-5.9.orig/panel/p_above.c ncurses-5.9/panel/p_above.c
     56264--- ncurses-5.9.orig/panel/p_above.c    2012-08-25 19:57:59.393234312 +0000
     56265+++ ncurses-5.9/panel/p_above.c 2012-08-25 19:58:00.989893428 +0000
     56266@@ -1,5 +1,5 @@
     56267 /****************************************************************************
     56268- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     56269+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     56270  *                                                                          *
     56271  * Permission is hereby granted, free of charge, to any person obtaining a  *
     56272  * copy of this software and associated documentation files (the            *
     56273@@ -36,13 +36,13 @@
     56274  */
     56275 #include "panel.priv.h"
     56276 
     56277-MODULE_ID("$Id: p_above.c,v 1.8 2010/01/23 21:22:15 tom Exp $")
     56278+MODULE_ID("$Id: p_above.c,v 1.9 2012/03/10 23:43:41 tom Exp $")
     56279 
     56280 #if NCURSES_SP_FUNCS
     56281 NCURSES_EXPORT(PANEL *)
     56282 ground_panel(SCREEN * sp)
     56283 {
     56284-  T((T_CALLED("ground_panel(%p)"), sp));
     56285+  T((T_CALLED("ground_panel(%p)"), (void *)sp));
     56286   if (sp)
     56287     {
     56288       struct panelhook *ph = NCURSES_SP_NAME(_nc_panelhook) (sp);
     56289diff -Naur ncurses-5.9.orig/panel/p_below.c ncurses-5.9/panel/p_below.c
     56290--- ncurses-5.9.orig/panel/p_below.c    2012-08-25 19:57:59.393234312 +0000
     56291+++ ncurses-5.9/panel/p_below.c 2012-08-25 19:58:00.989893428 +0000
     56292@@ -1,5 +1,5 @@
     56293 /****************************************************************************
     56294- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     56295+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     56296  *                                                                          *
     56297  * Permission is hereby granted, free of charge, to any person obtaining a  *
     56298  * copy of this software and associated documentation files (the            *
     56299@@ -36,13 +36,13 @@
     56300  */
     56301 #include "panel.priv.h"
     56302 
     56303-MODULE_ID("$Id: p_below.c,v 1.8 2010/01/23 21:22:15 tom Exp $")
     56304+MODULE_ID("$Id: p_below.c,v 1.9 2012/03/10 23:43:41 tom Exp $")
     56305 
     56306 #if NCURSES_SP_FUNCS
     56307 NCURSES_EXPORT(PANEL *)
     56308 ceiling_panel(SCREEN * sp)
     56309 {
     56310-  T((T_CALLED("ceiling_panel(%p)"), sp));
     56311+  T((T_CALLED("ceiling_panel(%p)"), (void *)sp));
     56312   if (sp)
     56313     {
     56314       struct panelhook *ph = NCURSES_SP_NAME(_nc_panelhook) (sp);
     56315diff -Naur ncurses-5.9.orig/panel/panel.c ncurses-5.9/panel/panel.c
     56316--- ncurses-5.9.orig/panel/panel.c      2012-08-25 19:57:59.393234312 +0000
     56317+++ ncurses-5.9/panel/panel.c   2012-08-25 19:58:00.926560395 +0000
     56318@@ -1,5 +1,5 @@
     56319 /****************************************************************************
     56320- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     56321+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     56322  *                                                                          *
     56323  * Permission is hereby granted, free of charge, to any person obtaining a  *
     56324  * copy of this software and associated documentation files (the            *
     56325@@ -36,7 +36,7 @@
     56326 /* panel.c -- implementation of panels library, some core routines */
     56327 #include "panel.priv.h"
     56328 
     56329-MODULE_ID("$Id: panel.c,v 1.25 2010/01/23 21:22:16 tom Exp $")
     56330+MODULE_ID("$Id: panel.c,v 1.26 2012/02/23 10:02:15 tom Exp $")
     56331 
     56332 /*+-------------------------------------------------------------------------
     56333        _nc_retrace_panel (pan)
     56334@@ -61,9 +61,9 @@
     56335   char temp[32];
     56336 
     56337   if (ptr != 0)
     56338-    sprintf(temp, "ptr:%p", ptr);
     56339+    _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp)) "ptr:%p", ptr);
     56340   else
     56341-    strcpy(temp, "<null>");
     56342+    _nc_STRCPY(temp, "<null>", sizeof(temp));
     56343   return _nc_visbuf(temp);
     56344 }
     56345 #endif
     56346@@ -95,7 +95,7 @@
     56347 
     56348   GetPanelHook(pan);
     56349 
     56350-  sprintf(s80, fmt, num, pan);
     56351+  _nc_SPRINTF(s80, _nc_SLIMIT(sizeof(s80)) fmt, num, pan);
     56352   _tracef("%s b=%s t=%s", s80,
     56353          (_nc_bottom_panel) ? USER_PTR(_nc_bottom_panel->user) : "--",
     56354          (_nc_top_panel) ? USER_PTR(_nc_top_panel->user) : "--");
     56355@@ -143,7 +143,7 @@
     56356 {
     56357   char s80[80];
     56358 
     56359-  sprintf(s80, "Touchline s=%d c=%d", start, count);
     56360+  _nc_SPRINTF(s80, _nc_SLIMIT(sizeof(s80)) "Touchline s=%d c=%d", start, count);
     56361   dPanel(s80, pan);
     56362   touchline(pan->win, start, count);
     56363 }
    3955656364diff -Naur ncurses-5.9.orig/panel/panel.priv.h ncurses-5.9/panel/panel.priv.h
    39557 --- ncurses-5.9.orig/panel/panel.priv.h 2012-02-16 18:25:12.639809512 +0000
    39558 +++ ncurses-5.9/panel/panel.priv.h      2012-02-16 18:25:13.007819223 +0000
     56365--- ncurses-5.9.orig/panel/panel.priv.h 2012-08-25 19:57:59.393234312 +0000
     56366+++ ncurses-5.9/panel/panel.priv.h      2012-08-25 19:58:00.056564508 +0000
    3955956367@@ -1,5 +1,5 @@
    3956056368 /****************************************************************************
     
    3958356391         COMPUTE_INTERSECTION(pan, pan2, ix1, ix2, iy1, iy2);\
    3958456392diff -Naur ncurses-5.9.orig/progs/Makefile.in ncurses-5.9/progs/Makefile.in
    39585 --- ncurses-5.9.orig/progs/Makefile.in  2012-02-16 18:25:12.639809512 +0000
    39586 +++ ncurses-5.9/progs/Makefile.in       2012-02-16 18:25:13.007819223 +0000
     56393--- ncurses-5.9.orig/progs/Makefile.in  2012-08-25 19:57:59.419900852 +0000
     56394+++ ncurses-5.9/progs/Makefile.in       2012-08-25 19:58:02.389886808 +0000
    3958756395@@ -1,6 +1,6 @@
    3958856396-# $Id: Makefile.in,v 1.85 2010/11/27 21:45:27 tom Exp $
    39589 +# $Id: Makefile.in,v 1.87 2011/09/24 15:13:34 nix Exp $
     56397+# $Id: Makefile.in,v 1.89 2012/08/11 21:31:56 tom Exp $
    3959056398 ##############################################################################
    3959156399-# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
    39592 +# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.                #
     56400+# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
    3959356401 #                                                                            #
    3959456402 # Permission is hereby granted, free of charge, to any person obtaining a    #
    3959556403 # copy of this software and associated documentation files (the "Software"), #
    39596 @@ -104,20 +104,21 @@
     56404@@ -61,6 +61,7 @@
     56405 bindir         = @bindir@
     56406 libdir         = @libdir@
     56407 includedir     = @includedir@
     56408+datarootdir    = @datarootdir@
     56409 datadir                = @datadir@
     56410 
     56411 LIBTOOL                = @LIBTOOL@
     56412@@ -104,20 +105,21 @@
    3959756413 LD             = @LD@
    3959856414 LINK           = @LINK_PROGS@ $(LIBTOOL_LINK)
     
    3962156437 LINT           = @LINT@
    3962256438 LINT_OPTS      = @LINT_OPTS@
     56439@@ -230,46 +232,46 @@
     56440        $(MODEL)/transform$o
     56441 
     56442 tic$x: $(DEPS_TIC) $(DEPS_CURSES) transform.h
     56443-       @ECHO_LINK@ $(LINK) $(DEPS_TIC) $(LDFLAGS_TIC) -o $@
     56444+       @ECHO_LD@ $(LINK) $(DEPS_TIC) $(LDFLAGS_TIC) -o $@
     56445 
     56446 DEPS_TOE = \
     56447        $(MODEL)/toe$o
     56448 
     56449 toe$x: $(DEPS_TOE) $(DEPS_CURSES)
     56450-       @ECHO_LINK@ $(LINK) $(DEPS_TOE) $(LDFLAGS_TIC) -o $@
     56451+       @ECHO_LD@ $(LINK) $(DEPS_TOE) $(LDFLAGS_TIC) -o $@
     56452 
     56453 DEPS_CLEAR = \
     56454        $(MODEL)/clear$o
     56455 
     56456 clear$x: $(DEPS_CLEAR) $(DEPS_CURSES)
     56457-       @ECHO_LINK@ $(LINK) $(DEPS_CLEAR) $(LDFLAGS_TINFO) -o $@
     56458+       @ECHO_LD@ $(LINK) $(DEPS_CLEAR) $(LDFLAGS_TINFO) -o $@
     56459 
     56460 DEPS_TABS = \
     56461        $(MODEL)/tabs$o
     56462 
     56463 tabs$x: $(DEPS_TABS) $(DEPS_TABS)
     56464-       @ECHO_LINK@ $(LINK) $(DEPS_TABS) $(LDFLAGS_TINFO) -o $@
     56465+       @ECHO_LD@ $(LINK) $(DEPS_TABS) $(LDFLAGS_TINFO) -o $@
     56466 
     56467 DEPS_TPUT = \
     56468        $(MODEL)/tput$o \
     56469        $(MODEL)/transform$o
     56470 
     56471 tput$x: $(DEPS_TPUT) $(DEPS_CURSES) transform.h
     56472-       @ECHO_LINK@ $(LINK) $(DEPS_TPUT) $(LDFLAGS_TINFO) -o $@
     56473+       @ECHO_LD@ $(LINK) $(DEPS_TPUT) $(LDFLAGS_TINFO) -o $@
     56474 
     56475 DEPS_INFOCMP = \
     56476        $(MODEL)/infocmp$o \
     56477        $(MODEL)/dump_entry$o
     56478 
     56479 infocmp$x: $(DEPS_INFOCMP) $(DEPS_CURSES)
     56480-       @ECHO_LINK@ $(LINK) $(DEPS_INFOCMP) $(LDFLAGS_TIC) -o $@
     56481+       @ECHO_LD@ $(LINK) $(DEPS_INFOCMP) $(LDFLAGS_TIC) -o $@
     56482 
     56483 DEPS_TSET = \
     56484        $(MODEL)/tset$o \
     56485        $(MODEL)/transform$o
     56486 
     56487 tset$x: $(DEPS_TSET) $(DEPS_CURSES) transform.h
     56488-       @ECHO_LINK@ $(LINK) $(DEPS_TSET) $(LDFLAGS_TINFO) -o $@
     56489+       @ECHO_LD@ $(LINK) $(DEPS_TSET) $(LDFLAGS_TINFO) -o $@
     56490 
     56491 termsort.c: $(srcdir)/MKtermsort.sh
     56492        sh $(srcdir)/MKtermsort.sh $(AWK) $(srcdir)/../include/@TERMINFO_CAPS@ >$@
    3962356493diff -Naur ncurses-5.9.orig/progs/capconvert ncurses-5.9/progs/capconvert
    39624 --- ncurses-5.9.orig/progs/capconvert   2012-02-16 18:25:12.639809512 +0000
    39625 +++ ncurses-5.9/progs/capconvert        2012-02-16 18:25:13.007819223 +0000
     56494--- ncurses-5.9.orig/progs/capconvert   2012-08-25 19:57:59.419900852 +0000
     56495+++ ncurses-5.9/progs/capconvert        2012-08-25 19:58:00.056564508 +0000
    3962656496@@ -1,6 +1,6 @@
    3962756497 #!/bin/sh
     
    3970256572        echo "Done."
    3970356573diff -Naur ncurses-5.9.orig/progs/dump_entry.c ncurses-5.9/progs/dump_entry.c
    39704 --- ncurses-5.9.orig/progs/dump_entry.c 2012-02-16 18:25:12.635809407 +0000
    39705 +++ ncurses-5.9/progs/dump_entry.c      2012-02-16 18:25:13.007819223 +0000
     56574--- ncurses-5.9.orig/progs/dump_entry.c 2012-08-25 19:57:59.423234170 +0000
     56575+++ ncurses-5.9/progs/dump_entry.c      2012-08-25 19:58:01.736556564 +0000
    3970656576@@ -1,5 +1,5 @@
    3970756577 /****************************************************************************
    3970856578- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    39709 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     56579+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3971056580  *                                                                          *
    3971156581  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3971656586 
    3971756587-MODULE_ID("$Id: dump_entry.c,v 1.89 2010/05/01 22:04:08 tom Exp $")
    39718 +MODULE_ID("$Id: dump_entry.c,v 1.95 2011/08/07 22:10:17 tom Exp $")
     56588+MODULE_ID("$Id: dump_entry.c,v 1.100 2012/06/09 21:44:40 tom Exp $")
    3971956589 
    3972056590 #define INDENT                 8
     
    3980756677 
    3980856678        if (!version_filter(BOOLEAN, i))
    39809 @@ -619,12 +640,12 @@
     56679@@ -610,21 +631,21 @@
     56680 
     56681        predval = pred(BOOLEAN, i);
     56682        if (predval != FAIL) {
     56683-           (void) strcpy(buffer, name);
     56684+           _nc_STRCPY(buffer, name, sizeof(buffer));
     56685            if (predval <= 0)
     56686-               (void) strcat(buffer, "@");
     56687+               _nc_STRCAT(buffer, "@", sizeof(buffer));
     56688            else if (i + 1 > num_bools)
     56689                num_bools = i + 1;
     56690            WRAP_CONCAT;
    3981056691        }
    3981156692     }
     
    3982256703 
    3982356704        if (!version_filter(NUMBER, i))
    39824 @@ -645,7 +666,7 @@
     56705@@ -635,9 +656,11 @@
     56706        predval = pred(NUMBER, i);
     56707        if (predval != FAIL) {
     56708            if (tterm->Numbers[i] < 0) {
     56709-               sprintf(buffer, "%s@", name);
     56710+               _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56711+                           "%s@", name);
     56712            } else {
     56713-               sprintf(buffer, "%s#%d", name, tterm->Numbers[i]);
     56714+               _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56715+                           "%s#%d", name, tterm->Numbers[i]);
     56716                if (i + 1 > num_values)
     56717                    num_values = i + 1;
     56718            }
     56719@@ -645,7 +668,7 @@
    3982556720        }
    3982656721     }
     
    3983156726 
    3983256727     len += (int) (num_bools
    39833 @@ -670,7 +691,7 @@
     56728@@ -670,7 +693,7 @@
    3983456729 
    3983556730     for_each_string(j, tterm) {
     
    3984056735 
    3984156736        capability = tterm->Strings[i];
    39842 @@ -846,7 +867,7 @@
     56737@@ -698,14 +721,14 @@
     56738            if (PRESENT(insert_character) || PRESENT(parm_ich)) {
     56739                if (SAME_CAP(i, enter_insert_mode)
     56740                    && enter_insert_mode == ABSENT_STRING) {
     56741-                   (void) strcpy(buffer, "im=");
     56742+                   _nc_STRCPY(buffer, "im=", sizeof(buffer));
     56743                    WRAP_CONCAT;
     56744                    continue;
     56745                }
     56746 
     56747                if (SAME_CAP(i, exit_insert_mode)
     56748                    && exit_insert_mode == ABSENT_STRING) {
     56749-                   (void) strcpy(buffer, "ei=");
     56750+                   _nc_STRCPY(buffer, "ei=", sizeof(buffer));
     56751                    WRAP_CONCAT;
     56752                    continue;
     56753                }
     56754@@ -739,7 +762,8 @@
     56755                num_strings = i + 1;
     56756 
     56757            if (!VALID_STRING(capability)) {
     56758-               sprintf(buffer, "%s@", name);
     56759+               _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56760+                           "%s@", name);
     56761                WRAP_CONCAT;
     56762            } else if (outform == F_TERMCAP || outform == F_TCONVERR) {
     56763                int params = ((i < (int) SIZEOF(parametrized))
     56764@@ -750,13 +774,14 @@
     56765 
     56766                if (cv == 0) {
     56767                    if (outform == F_TCONVERR) {
     56768-                       sprintf(buffer, "%s=!!! %s WILL NOT CONVERT !!!",
     56769-                               name, srccap);
     56770+                       _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56771+                                   "%s=!!! %s WILL NOT CONVERT !!!",
     56772+                                   name, srccap);
     56773                    } else if (suppress_untranslatable) {
     56774                        continue;
     56775                    } else {
     56776                        char *s = srccap, *d = buffer;
     56777-                       sprintf(d, "..%s=", name);
     56778+                       _nc_SPRINTF(d, _nc_SLIMIT(sizeof(buffer)) "..%s=", name);
     56779                        d += strlen(d);
     56780                        while ((*d = *s++) != 0) {
     56781                            if (*d == ':') {
     56782@@ -769,7 +794,8 @@
     56783                        }
     56784                    }
     56785                } else {
     56786-                   sprintf(buffer, "%s=%s", name, cv);
     56787+                   _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56788+                               "%s=%s", name, cv);
     56789                }
     56790                len += (int) strlen(capability) + 1;
     56791                WRAP_CONCAT;
     56792@@ -805,11 +831,13 @@
     56793      */
     56794     if (tversion == V_HPUX) {
     56795        if (VALID_STRING(memory_lock)) {
     56796-           (void) sprintf(buffer, "meml=%s", memory_lock);
     56797+           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56798+                       "meml=%s", memory_lock);
     56799            WRAP_CONCAT;
     56800        }
     56801        if (VALID_STRING(memory_unlock)) {
     56802-           (void) sprintf(buffer, "memu=%s", memory_unlock);
     56803+           _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56804+                       "memu=%s", memory_unlock);
     56805            WRAP_CONCAT;
     56806        }
     56807     } else if (tversion == V_AIX) {
     56808@@ -832,9 +860,11 @@
     56809            tp[0] = '\0';
     56810 
     56811            if (box_ok) {
     56812-               (void) strcpy(buffer, "box1=");
     56813-               (void) strcat(buffer, _nc_tic_expand(boxchars,
     56814-                                                    outform == F_TERMINFO, numbers));
     56815+               _nc_STRCPY(buffer, "box1=", sizeof(buffer));
     56816+               _nc_STRCAT(buffer,
     56817+                          _nc_tic_expand(boxchars,
     56818+                                         outform == F_TERMINFO, numbers),
     56819+                          sizeof(buffer));
     56820                WRAP_CONCAT;
     56821            }
     56822        }
     56823@@ -846,7 +876,7 @@
    3984356824      */
    3984456825     if (outcount) {
     
    3984956830            && outbuf.text[j - 1] == '\t'
    3985056831            && outbuf.text[j - 2] == '\n') {
    39851 @@ -1064,7 +1085,7 @@
     56832@@ -926,7 +956,7 @@
     56833     char name[10];
     56834 
     56835     for (n = 0; n <= 10; ++n) {
     56836-       sprintf(name, "lf%d", n);
     56837+       _nc_SPRINTF(name, _nc_SLIMIT(sizeof(name)) "lf%d", n);
     56838        if ((cap = find_string(tterm, name)) != ABSENT_STRING
     56839            && kill_string(tterm, cap)) {
     56840            target -= (int) (strlen(cap) + 5);
     56841@@ -951,7 +981,7 @@
     56842     char name[10];
     56843 
     56844     for (n = 60; n >= 0; --n) {
     56845-       sprintf(name, "kf%d", n);
     56846+       _nc_SPRINTF(name, _nc_SLIMIT(sizeof(name)) "kf%d", n);
     56847        if ((cap = find_string(tterm, name)) != ABSENT_STRING
     56848            && kill_string(tterm, cap)) {
     56849            target -= (int) (strlen(cap) + 5);
     56850@@ -1064,7 +1094,7 @@
    3985256851             */
    3985356852            unsigned n;
     
    3985856857                if (VALID_STRING(tterm->Strings[n])) {
    3985956858                    set_attributes = ABSENT_STRING;
    39860 @@ -1151,14 +1172,37 @@
     56859@@ -1144,21 +1174,45 @@
     56860 
     56861     if (outform == F_TERMCAP || outform == F_TCONVERR)
     56862        trim_trailing();
     56863-    (void) sprintf(buffer, "%s%s", infodump ? "use=" : "tc=", name);
     56864+    _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     56865+               "%s%s", infodump ? "use=" : "tc=", name);
     56866     wrap_concat(buffer);
     56867 }
     56868 
    3986156869 int
    3986256870 show_entry(void)
     
    3986856876+    if (outbuf.used != 0) {
    3986956877+       bool infodump = (outform != F_TERMCAP && outform != F_TCONVERR);
    39870 +       char delim = infodump ? ',' : ':';
     56878+       char delim = (char) (infodump ? ',' : ':');
    3987156879+       int j;
    3987256880+
     
    3987656884+               ;
    3987756885+           } else if (isspace(UChar(ch))) {
    39878 +               outbuf.used = j;
     56886+               outbuf.used = (size_t) j;
    3987956887+           } else if (!infodump && ch == '\\') {
    39880 +               outbuf.used = j;
     56888+               outbuf.used = (size_t) j;
    3988156889+           } else if (ch == delim && (j == 0 || outbuf.text[j - 1] != '\\')) {
    39882 +               outbuf.used = (j + 1);
     56890+               outbuf.used = (size_t) (j + 1);
    3988356891+           } else {
    3988456892+               break;
     
    3989856906              bool quiet)
    3989956907 /* compare two entries */
    39900 @@ -1170,7 +1214,7 @@
     56908@@ -1170,7 +1224,7 @@
    3990156909        fputs("    comparing booleans.\n", stdout);
    3990256910     for_each_boolean(j, tp) {
     
    3990756915        if (isObsolete(outform, name))
    3990856916            continue;
    39909 @@ -1182,7 +1226,7 @@
     56917@@ -1182,7 +1236,7 @@
    3991056918        fputs("    comparing numbers.\n", stdout);
    3991156919     for_each_number(j, tp) {
     
    3991656924        if (isObsolete(outform, name))
    3991756925            continue;
    39918 @@ -1194,7 +1238,7 @@
     56926@@ -1194,7 +1248,7 @@
    3991956927        fputs("    comparing strings.\n", stdout);
    3992056928     for_each_string(j, tp) {
     
    3992656934            continue;
    3992756935diff -Naur ncurses-5.9.orig/progs/dump_entry.h ncurses-5.9/progs/dump_entry.h
    39928 --- ncurses-5.9.orig/progs/dump_entry.h 2012-02-16 18:25:12.635809407 +0000
    39929 +++ ncurses-5.9/progs/dump_entry.h      2012-02-16 18:25:13.007819223 +0000
     56936--- ncurses-5.9.orig/progs/dump_entry.h 2012-08-25 19:57:59.419900852 +0000
     56937+++ ncurses-5.9/progs/dump_entry.h      2012-08-25 19:58:00.059897826 +0000
    3993056938@@ -1,5 +1,5 @@
    3993156939 /****************************************************************************
     
    3996956977 
    3997056978diff -Naur ncurses-5.9.orig/progs/infocmp.c ncurses-5.9/progs/infocmp.c
    39971 --- ncurses-5.9.orig/progs/infocmp.c    2012-02-16 18:25:12.639809512 +0000
    39972 +++ ncurses-5.9/progs/infocmp.c 2012-02-16 18:25:13.011819328 +0000
     56979--- ncurses-5.9.orig/progs/infocmp.c    2012-08-25 19:57:59.419900852 +0000
     56980+++ ncurses-5.9/progs/infocmp.c 2012-08-25 19:58:01.603223861 +0000
    3997356981@@ -1,5 +1,5 @@
    3997456982 /****************************************************************************
    3997556983- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    39976 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     56984+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    3997756985  *                                                                          *
    3997856986  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3998356991 
    3998456992-MODULE_ID("$Id: infocmp.c,v 1.105 2010/05/01 22:04:08 tom Exp $")
    39985 +MODULE_ID("$Id: infocmp.c,v 1.110 2011/12/17 23:59:50 tom Exp $")
     56993+MODULE_ID("$Id: infocmp.c,v 1.120 2012/06/08 23:05:25 tom Exp $")
    3998656994 
    3998756995 #define L_CURL "{"
     
    3999857006 static int outform = F_TERMINFO;       /* output format */
    3999957007 static int sortmode;           /* sort_mode */
    40000 @@ -556,7 +557,7 @@
     57008@@ -86,16 +87,34 @@
     57009 static bool ignorepads;                /* ignore pad prefixes when diffing */
     57010 
     57011 #if NO_LEAKS
     57012+
     57013+typedef struct {
     57014+    ENTRY *head;
     57015+    ENTRY *tail;
     57016+} ENTERED;
     57017+
     57018+static ENTERED *entered;
     57019+
     57020 #undef ExitProgram
     57021 static void ExitProgram(int code) GCC_NORETURN;
     57022 /* prototype is to get gcc to accept the noreturn attribute */
     57023 static void
     57024 ExitProgram(int code)
     57025 {
     57026-    while (termcount-- > 0)
     57027-       _nc_free_termtype(&entries[termcount].tterm);
     57028+    int n;
     57029+
     57030+    for (n = 0; n < termcount; ++n) {
     57031+       ENTRY *new_head = _nc_head;
     57032+       ENTRY *new_tail = _nc_tail;
     57033+       _nc_head = entered[n].head;
     57034+       _nc_tail = entered[n].tail;
     57035+       _nc_free_entries(entered[n].head);
     57036+       _nc_head = new_head;
     57037+       _nc_tail = new_tail;
     57038+    }
     57039     _nc_leaks_dump_entry();
     57040     free(entries);
     57041+    free(entered);
     57042     _nc_free_tic(code);
     57043 }
     57044 #endif
     57045@@ -106,7 +125,7 @@
     57046 {
     57047     char *bp;
     57048 
     57049-    (void) strcpy(buf, ptr);
     57050+    _nc_STRCPY(buf, ptr, NAMESIZE);
     57051     if ((bp = strchr(buf, '|')) != 0)
     57052        *bp = '\0';
     57053 
     57054@@ -307,13 +326,13 @@
     57055 {
     57056     switch (val) {
     57057     case ABSENT_NUMERIC:
     57058-       strcpy(buf, s_absent);
     57059+       _nc_STRCPY(buf, s_absent, MAX_STRING);
     57060        break;
     57061     case CANCELLED_NUMERIC:
     57062-       strcpy(buf, s_cancel);
     57063+       _nc_STRCPY(buf, s_cancel, MAX_STRING);
     57064        break;
     57065     default:
     57066-       sprintf(buf, "%d", val);
     57067+       _nc_SPRINTF(buf, _nc_SLIMIT(MAX_STRING) "%d", val);
     57068        break;
     57069     }
     57070 }
     57071@@ -323,31 +342,90 @@
     57072 /* display the value of a string capability */
     57073 {
     57074     if (val == ABSENT_STRING)
     57075-       strcpy(buf, s_absent);
     57076+       _nc_STRCPY(buf, s_absent, MAX_STRING);
     57077     else if (val == CANCELLED_STRING)
     57078-       strcpy(buf, s_cancel);
     57079+       _nc_STRCPY(buf, s_cancel, MAX_STRING);
     57080     else {
     57081-       sprintf(buf, "'%.*s'", MAX_STRING - 3, TIC_EXPAND(val));
     57082+       _nc_SPRINTF(buf, _nc_SLIMIT(MAX_STRING)
     57083+                   "'%.*s'", MAX_STRING - 3, TIC_EXPAND(val));
     57084     }
     57085 }
     57086 
     57087+/*
     57088+ * Show "comparing..." message for the given terminal names.
     57089+ */
     57090+static void
     57091+show_comparing(char **names)
     57092+{
     57093+    if (itrace) {
     57094+       switch (compare) {
     57095+       case C_DIFFERENCE:
     57096+           (void) fprintf(stderr, "%s: dumping differences\n", _nc_progname);
     57097+           break;
     57098+
     57099+       case C_COMMON:
     57100+           (void) fprintf(stderr, "%s: dumping common capabilities\n", _nc_progname);
     57101+           break;
     57102+
     57103+       case C_NAND:
     57104+           (void) fprintf(stderr, "%s: dumping differences\n", _nc_progname);
     57105+           break;
     57106+       }
     57107+    }
     57108+    if (*names) {
     57109+       printf("comparing %s", *names++);
     57110+       if (*names) {
     57111+           printf(" to %s", *names++);
     57112+           while (*names) {
     57113+               printf(", %s", *names++);
     57114+           }
     57115+       }
     57116+       printf(".\n");
     57117+    }
     57118+}
     57119+
     57120+/*
     57121+ * ncurses stores two types of non-standard capabilities:
     57122+ * a) capabilities listed past the "STOP-HERE" comment in the Caps file.
     57123+ *    These are used in the terminfo source file to provide data for termcaps,
     57124+ *    e.g., when there is no equivalent capability in terminfo, as well as for
     57125+ *    widely-used non-standard capabilities.
     57126+ * b) user-definable capabilities, via "tic -x".
     57127+ *
     57128+ * However, if "-x" is omitted from the tic command, both types of
     57129+ * non-standard capability are not loaded into the terminfo database.  This
     57130+ * macro is used for limit-checks against the symbols that tic uses to omit
     57131+ * the two types of non-standard entry.
     57132+ */
     57133+#define check_user_definable(n,limit) if (!_nc_user_definable && (n) > (limit)) break
     57134+
     57135+/*
     57136+ * Use these macros to simplify loops on C_COMMON and C_NAND:
     57137+ */
     57138+#define for_each_entry() while (entries[extra].tterm.term_names)
     57139+#define next_entry           (&(entries[extra++].tterm))
     57140+
     57141 static void
     57142 compare_predicate(PredType type, PredIdx idx, const char *name)
     57143 /* predicate function to use for entry difference reports */
     57144 {
     57145-    register ENTRY *e1 = &entries[0];
     57146-    register ENTRY *e2 = &entries[1];
     57147-    char buf1[MAX_STRING], buf2[MAX_STRING];
     57148+    ENTRY *e1 = &entries[0];
     57149+    ENTRY *e2 = &entries[1];
     57150+    char buf1[MAX_STRING];
     57151+    char buf2[MAX_STRING];
     57152     int b1, b2;
     57153     int n1, n2;
     57154     char *s1, *s2;
     57155+    bool found;
     57156+    int extra = 1;
     57157 
     57158     switch (type) {
     57159     case CMP_BOOLEAN:
     57160+       check_user_definable(idx, BOOLWRITE);
     57161        b1 = e1->tterm.Booleans[idx];
     57162-       b2 = e2->tterm.Booleans[idx];
     57163        switch (compare) {
     57164        case C_DIFFERENCE:
     57165+           b2 = next_entry->Booleans[idx];
     57166            if (!(b1 == ABSENT_BOOLEAN && b2 == ABSENT_BOOLEAN) && b1 != b2)
     57167                (void) printf("\t%s: %s%s%s.\n",
     57168                              name,
     57169@@ -357,45 +435,93 @@
     57170            break;
     57171 
     57172        case C_COMMON:
     57173-           if (b1 == b2 && b1 != ABSENT_BOOLEAN)
     57174-               (void) printf("\t%s= %s.\n", name, dump_boolean(b1));
     57175+           if (b1 != ABSENT_BOOLEAN) {
     57176+               found = TRUE;
     57177+               for_each_entry() {
     57178+                   b2 = next_entry->Booleans[idx];
     57179+                   if (b1 != b2) {
     57180+                       found = FALSE;
     57181+                       break;
     57182+                   }
     57183+               }
     57184+               if (found) {
     57185+                   (void) printf("\t%s= %s.\n", name, dump_boolean(b1));
     57186+               }
     57187+           }
     57188            break;
     57189 
     57190        case C_NAND:
     57191-           if (b1 == ABSENT_BOOLEAN && b2 == ABSENT_BOOLEAN)
     57192-               (void) printf("\t!%s.\n", name);
     57193+           if (b1 == ABSENT_BOOLEAN) {
     57194+               found = TRUE;
     57195+               for_each_entry() {
     57196+                   b2 = next_entry->Booleans[idx];
     57197+                   if (b1 != b2) {
     57198+                       found = FALSE;
     57199+                       break;
     57200+                   }
     57201+               }
     57202+               if (found) {
     57203+                   (void) printf("\t!%s.\n", name);
     57204+               }
     57205+           }
     57206            break;
     57207        }
     57208        break;
     57209 
     57210     case CMP_NUMBER:
     57211+       check_user_definable(idx, NUMWRITE);
     57212        n1 = e1->tterm.Numbers[idx];
     57213-       n2 = e2->tterm.Numbers[idx];
     57214-       dump_numeric(n1, buf1);
     57215-       dump_numeric(n2, buf2);
     57216        switch (compare) {
     57217        case C_DIFFERENCE:
     57218-           if (!((n1 == ABSENT_NUMERIC && n2 == ABSENT_NUMERIC)) && n1 != n2)
     57219+           n2 = next_entry->Numbers[idx];
     57220+           if (!((n1 == ABSENT_NUMERIC && n2 == ABSENT_NUMERIC)) && n1 != n2) {
     57221+               dump_numeric(n1, buf1);
     57222+               dump_numeric(n2, buf2);
     57223                (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
     57224+           }
     57225            break;
     57226 
     57227        case C_COMMON:
     57228-           if (n1 != ABSENT_NUMERIC && n2 != ABSENT_NUMERIC && n1 == n2)
     57229-               (void) printf("\t%s= %s.\n", name, buf1);
     57230+           if (n1 != ABSENT_NUMERIC) {
     57231+               found = TRUE;
     57232+               for_each_entry() {
     57233+                   n2 = next_entry->Numbers[idx];
     57234+                   if (n1 != n2) {
     57235+                       found = FALSE;
     57236+                       break;
     57237+                   }
     57238+               }
     57239+               if (found) {
     57240+                   dump_numeric(n1, buf1);
     57241+                   (void) printf("\t%s= %s.\n", name, buf1);
     57242+               }
     57243+           }
     57244            break;
     57245 
     57246        case C_NAND:
     57247-           if (n1 == ABSENT_NUMERIC && n2 == ABSENT_NUMERIC)
     57248-               (void) printf("\t!%s.\n", name);
     57249+           if (n1 == ABSENT_NUMERIC) {
     57250+               found = TRUE;
     57251+               for_each_entry() {
     57252+                   n2 = next_entry->Numbers[idx];
     57253+                   if (n1 != n2) {
     57254+                       found = FALSE;
     57255+                       break;
     57256+                   }
     57257+               }
     57258+               if (found) {
     57259+                   (void) printf("\t!%s.\n", name);
     57260+               }
     57261+           }
     57262            break;
     57263        }
     57264        break;
     57265 
     57266     case CMP_STRING:
     57267+       check_user_definable(idx, STRWRITE);
     57268        s1 = e1->tterm.Strings[idx];
     57269-       s2 = e2->tterm.Strings[idx];
     57270        switch (compare) {
     57271        case C_DIFFERENCE:
     57272+           s2 = next_entry->Strings[idx];
     57273            if (capcmp(idx, s1, s2)) {
     57274                dump_string(s1, buf1);
     57275                dump_string(s2, buf2);
     57276@@ -405,13 +531,35 @@
     57277            break;
     57278 
     57279        case C_COMMON:
     57280-           if (s1 && s2 && !capcmp(idx, s1, s2))
     57281-               (void) printf("\t%s= '%s'.\n", name, TIC_EXPAND(s1));
     57282+           if (s1 != ABSENT_STRING) {
     57283+               found = TRUE;
     57284+               for_each_entry() {
     57285+                   s2 = next_entry->Strings[idx];
     57286+                   if (capcmp(idx, s1, s2) != 0) {
     57287+                       found = FALSE;
     57288+                       break;
     57289+                   }
     57290+               }
     57291+               if (found) {
     57292+                   (void) printf("\t%s= '%s'.\n", name, TIC_EXPAND(s1));
     57293+               }
     57294+           }
     57295            break;
     57296 
     57297        case C_NAND:
     57298-           if (!s1 && !s2)
     57299-               (void) printf("\t!%s.\n", name);
     57300+           if (s1 == ABSENT_STRING) {
     57301+               found = TRUE;
     57302+               for_each_entry() {
     57303+                   s2 = next_entry->Strings[idx];
     57304+                   if (s2 != s1) {
     57305+                       found = FALSE;
     57306+                       break;
     57307+                   }
     57308+               }
     57309+               if (found) {
     57310+                   (void) printf("\t!%s.\n", name);
     57311+               }
     57312+           }
     57313            break;
     57314        }
     57315        break;
     57316@@ -430,16 +578,37 @@
     57317            break;
     57318 
     57319        case C_COMMON:
     57320-           if (e1->nuses && e2->nuses && useeq(e1, e2)) {
     57321-               (void) fputs("\tuse: ", stdout);
     57322-               print_uses(e1, stdout);
     57323-               fputs(".\n", stdout);
     57324+           if (e1->nuses) {
     57325+               found = TRUE;
     57326+               for_each_entry() {
     57327+                   e2 = &entries[extra++];
     57328+                   if (e2->nuses != e1->nuses || !useeq(e1, e2)) {
     57329+                       found = FALSE;
     57330+                       break;
     57331+                   }
     57332+               }
     57333+               if (found) {
     57334+                   (void) fputs("\tuse: ", stdout);
     57335+                   print_uses(e1, stdout);
     57336+                   fputs(".\n", stdout);
     57337+               }
     57338            }
     57339            break;
     57340 
     57341        case C_NAND:
     57342-           if (!e1->nuses && !e2->nuses)
     57343-               (void) printf("\t!use.\n");
     57344+           if (!e1->nuses) {
     57345+               found = TRUE;
     57346+               for_each_entry() {
     57347+                   e2 = &entries[extra++];
     57348+                   if (e2->nuses != e1->nuses) {
     57349+                       found = FALSE;
     57350+                       break;
     57351+                   }
     57352+               }
     57353+               if (found) {
     57354+                   (void) printf("\t!use.\n");
     57355+               }
     57356+           }
     57357            break;
     57358        }
     57359     }
     57360@@ -556,7 +725,7 @@
    4000157361 }
    4000257362 
     
    4000757367     bool result = FALSE;
    4000857368     if (strncmp(table, param, length) == 0) {
    40009 @@ -795,7 +796,7 @@
     57369@@ -581,15 +750,15 @@
     57370                size_t tlen = strlen(ap->from);
     57371 
     57372                if (same_param(ap->from, ep, tlen)) {
     57373-                   (void) strcat(dst, ap->to);
     57374+                   _nc_STRCAT(dst, ap->to, MAX_TERMINFO_LENGTH);
     57375                    found = TRUE;
     57376                    break;
     57377                }
     57378            }
     57379 
     57380            if (!found)
     57381-               (void) strcat(dst, ep);
     57382-           (void) strcat(dst, ";");
     57383+               _nc_STRCAT(dst, ep, MAX_TERMINFO_LENGTH);
     57384+           _nc_STRCAT(dst, ";", MAX_TERMINFO_LENGTH);
     57385        } while
     57386            ((ep = strtok((char *) 0, ";")));
     57387 
     57388@@ -682,7 +851,11 @@
     57389            && (next = (size_t) csi + len)
     57390            && ((sp[next] == 'h') || (sp[next] == 'l'))) {
     57391 
     57392-           (void) strcpy(buf2, (sp[next] == 'h') ? "ECMA+" : "ECMA-");
     57393+           _nc_STRCPY(buf2,
     57394+                      ((sp[next] == 'h')
     57395+                       ? "ECMA+"
     57396+                       : "ECMA-"),
     57397+                      sizeof(buf2));
     57398            (void) strncpy(buf3, sp + csi, len);
     57399            buf3[len] = '\0';
     57400            len += (size_t) csi + 1;
     57401@@ -699,7 +872,11 @@
     57402            && (next = (size_t) csi + 1 + len)
     57403            && ((sp[next] == 'h') || (sp[next] == 'l'))) {
     57404 
     57405-           (void) strcpy(buf2, (sp[next] == 'h') ? "DEC+" : "DEC-");
     57406+           _nc_STRCPY(buf2,
     57407+                      ((sp[next] == 'h')
     57408+                       ? "DEC+"
     57409+                       : "DEC-"),
     57410+                      sizeof(buf2));
     57411            (void) strncpy(buf3, sp + csi + 1, len);
     57412            buf3[len] = '\0';
     57413            len += (size_t) csi + 2;
     57414@@ -715,7 +892,7 @@
     57415            && (next = (size_t) csi + len)
     57416            && sp[next] == 'm') {
     57417 
     57418-           (void) strcpy(buf2, "SGR:");
     57419+           _nc_STRCPY(buf2, "SGR:", sizeof(buf2));
     57420            (void) strncpy(buf3, sp + csi, len);
     57421            buf3[len] = '\0';
     57422            len += (size_t) csi + 1;
     57423@@ -727,8 +904,8 @@
     57424            && (csi = skip_csi(sp)) != 0
     57425            && sp[csi] == 'm') {
     57426            len = (size_t) csi + 1;
     57427-           (void) strcpy(buf2, "SGR:");
     57428-           strcat(buf2, ecma_highlights[0].to);
     57429+           _nc_STRCPY(buf2, "SGR:", sizeof(buf2));
     57430+           _nc_STRCAT(buf2, ecma_highlights[0].to, sizeof(buf2));
     57431            expansion = buf2;
     57432        }
     57433 
     57434@@ -739,7 +916,7 @@
     57435                expansion = "RSR";
     57436                len = 1;
     57437            } else {
     57438-               (void) sprintf(buf2, "1;%dr", tp_lines);
     57439+               _nc_SPRINTF(buf2, _nc_SLIMIT(sizeof(buf2)) "1;%dr", tp_lines);
     57440                len = strlen(buf2);
     57441                if (strncmp(buf2, sp + csi, len) == 0)
     57442                    expansion = "RSR";
     57443@@ -750,12 +927,12 @@
     57444        /* now check for home-down */
     57445        if (!expansion
     57446            && (csi = skip_csi(sp)) != 0) {
     57447-           (void) sprintf(buf2, "%d;1H", tp_lines);
     57448+           _nc_SPRINTF(buf2, _nc_SLIMIT(sizeof(buf2)) "%d;1H", tp_lines);
     57449            len = strlen(buf2);
     57450            if (strncmp(buf2, sp + csi, len) == 0) {
     57451                expansion = "LL";
     57452            } else {
     57453-               (void) sprintf(buf2, "%dH", tp_lines);
     57454+               _nc_SPRINTF(buf2, _nc_SLIMIT(sizeof(buf2)) "%dH", tp_lines);
     57455                len = strlen(buf2);
     57456                if (strncmp(buf2, sp + csi, len) == 0) {
     57457                    expansion = "LL";
     57458@@ -795,12 +972,16 @@
    4001057459     int i, n;
    4001157460 
     
    4001657465     for (n = 0; n < argc && n < MAXCOMPARE; n++) {
    4001757466        if (freopen(argv[n], "r", stdin) == 0)
    40018 @@ -974,7 +975,9 @@
     57467            _nc_err_abort("Can't open %s", argv[n]);
     57468 
     57469+#if NO_LEAKS
     57470+       entered[n].head = _nc_head;
     57471+       entered[n].tail = _nc_tail;
     57472+#endif
     57473        _nc_head = _nc_tail = 0;
     57474 
     57475        /* parse entries out of the source file */
     57476@@ -925,6 +1106,11 @@
     57477 #endif
     57478            if (!(entryeq(&qp->tterm, &rp->tterm) && useeq(qp, rp))) {
     57479                char name1[NAMESIZE], name2[NAMESIZE];
     57480+               char *names[3];
     57481+
     57482+               names[0] = name1;
     57483+               names[1] = name2;
     57484+               names[2] = 0;
     57485 
     57486                entries[0] = *qp;
     57487                entries[1] = *rp;
     57488@@ -934,29 +1120,17 @@
     57489 
     57490                switch (compare) {
     57491                case C_DIFFERENCE:
     57492-                   if (itrace)
     57493-                       (void) fprintf(stderr,
     57494-                                      "%s: dumping differences\n",
     57495-                                      _nc_progname);
     57496-                   (void) printf("comparing %s to %s.\n", name1, name2);
     57497+                   show_comparing(names);
     57498                    compare_entry(compare_predicate, &entries->tterm, quiet);
     57499                    break;
     57500 
     57501                case C_COMMON:
     57502-                   if (itrace)
     57503-                       (void) fprintf(stderr,
     57504-                                      "%s: dumping common capabilities\n",
     57505-                                      _nc_progname);
     57506-                   (void) printf("comparing %s to %s.\n", name1, name2);
     57507+                   show_comparing(names);
     57508                    compare_entry(compare_predicate, &entries->tterm, quiet);
     57509                    break;
     57510 
     57511                case C_NAND:
     57512-                   if (itrace)
     57513-                       (void) fprintf(stderr,
     57514-                                      "%s: dumping differences\n",
     57515-                                      _nc_progname);
     57516-                   (void) printf("comparing %s to %s.\n", name1, name2);
     57517+                   show_comparing(names);
     57518                    compare_entry(compare_predicate, &entries->tterm, quiet);
     57519                    break;
     57520 
     57521@@ -974,7 +1148,9 @@
    4001957522        "Usage: infocmp [options] [-A directory] [-B directory] [termname...]"
    4002057523        ,""
     
    4002657529        ,"  -F    compare terminfo-files"
    4002757530        ,"  -I    use terminfo-names"
    40028 @@ -1090,7 +1093,8 @@
     57531@@ -1030,19 +1206,23 @@
     57532 any_initializer(const char *fmt, const char *type)
     57533 {
     57534     static char *initializer;
     57535+    static size_t need;
     57536     char *s;
     57537 
     57538-    if (initializer == 0)
     57539-       initializer = (char *) malloc(strlen(entries->tterm.term_names) +
     57540-                                     strlen(type) + strlen(fmt));
     57541+    if (initializer == 0) {
     57542+       need = (strlen(entries->tterm.term_names)
     57543+               + strlen(type)
     57544+               + strlen(fmt));
     57545+       initializer = (char *) malloc(need);
     57546+    }
     57547 
     57548-    (void) strcpy(initializer, entries->tterm.term_names);
     57549+    _nc_STRCPY(initializer, entries->tterm.term_names, need);
     57550     for (s = initializer; *s != 0 && *s != '|'; s++) {
     57551        if (!isalnum(UChar(*s)))
     57552            *s = '_';
     57553     }
     57554     *s = 0;
     57555-    (void) sprintf(s, fmt, type);
     57556+    _nc_SPRINTF(s, _nc_SLIMIT(need) fmt, type);
     57557     return initializer;
     57558 }
     57559 
     57560@@ -1073,9 +1253,10 @@
     57561 
     57562        if (VALID_STRING(term->Strings[n])) {
     57563            tp = buf;
     57564+#define TP_LIMIT       ((MAX_STRING - 5) - (size_t)(tp - buf))
     57565            *tp++ = '"';
     57566            for (sp = term->Strings[n];
     57567-                *sp != 0 && (tp - buf) < MAX_STRING - 6;
     57568+                *sp != 0 && TP_LIMIT > 2;
     57569                 sp++) {
     57570                if (isascii(UChar(*sp))
     57571                    && isprint(UChar(*sp))
     57572@@ -1083,14 +1264,15 @@
     57573                    && *sp != '"')
     57574                    *tp++ = *sp;
     57575                else {
     57576-                   (void) sprintf(tp, "\\%03o", UChar(*sp));
     57577+                   _nc_SPRINTF(tp, _nc_SLIMIT(TP_LIMIT) "\\%03o", UChar(*sp));
     57578                    tp += 4;
     57579                }
     57580            }
    4002957581            *tp++ = '"';
    4003057582            *tp = '\0';
     
    4003657588     }
    4003757589     printf("\n");
    40038 @@ -1116,7 +1120,7 @@
     57590@@ -1116,7 +1298,7 @@
    4003957591            break;
    4004057592        }
     
    4004557597     (void) printf("%s;\n", R_CURL);
    4004657598 
    40047 @@ -1137,7 +1141,7 @@
     57599@@ -1132,12 +1314,12 @@
     57600            str = "CANCELLED_NUMERIC";
     57601            break;
     57602        default:
     57603-           sprintf(buf, "%d", term->Numbers[n]);
     57604+           _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf)) "%d", term->Numbers[n]);
     57605            str = buf;
    4004857606            break;
    4004957607        }
     
    4005457612     (void) printf("%s;\n", R_CURL);
    4005557613 
    40056 @@ -1150,10 +1154,10 @@
     57614@@ -1150,10 +1332,10 @@
    4005757615        else if (term->Strings[n] == CANCELLED_STRING)
    4005857616            str = "CANCELLED_STRING";
     
    4006757625     (void) printf("%s;\n", R_CURL);
    4006857626 
    40069 @@ -1165,15 +1169,15 @@
     57627@@ -1165,15 +1347,15 @@
    4007057628                      name_initializer("string_ext"), L_CURL);
    4007157629        for (n = BOOLCOUNT; n < NUM_BOOLEANS(term); ++n) {
     
    4008657644        (void) printf("%s;\n", R_CURL);
    4008757645     }
    40088 @@ -1247,6 +1251,23 @@
     57646@@ -1247,6 +1429,23 @@
    4008957647     return terminal;
    4009057648 }
     
    4011057668  *
    4011157669  * Main sequence
    40112 @@ -1269,7 +1290,7 @@
     57670@@ -1269,7 +1468,7 @@
    4011357671     /* Also avoid overflowing smaller stacks on systems like AmigaOS */
    4011457672     path *tfile = 0;
     
    4011957677     char **myargv;
    4012057678 
    40121 @@ -1287,6 +1308,7 @@
     57679@@ -1287,6 +1486,7 @@
    4012257680 #if NCURSES_XNAMES
    4012357681     use_extended_names(FALSE);
     
    4012757685     _nc_progname = _nc_rootname(argv[0]);
    4012857686 
    40129 @@ -1297,8 +1319,13 @@
     57687@@ -1297,8 +1497,13 @@
    4013057688 
    4013157689     while ((c = getopt(argc,
     
    4014257700            mwidth = 0;
    4014357701            break;
    40144 @@ -1317,6 +1344,9 @@
     57702@@ -1317,6 +1522,9 @@
    4014557703            restdir = optarg;
    4014657704            break;
     
    4015257710            outform = F_TERMCAP;
    4015357711            tversion = "BSD";
    40154 @@ -1324,6 +1354,11 @@
     57712@@ -1324,6 +1532,11 @@
    4015557713                sortmode = S_TERMCAP;
    4015657714            break;
     
    4016457722            compare = C_COMMON;
    4016557723            break;
    40166 @@ -1441,7 +1476,7 @@
     57724@@ -1441,7 +1654,7 @@
    4016757725            ExitProgram(EXIT_SUCCESS);
    4016857726 
     
    4017357731            break;
    4017457732 
    40175 @@ -1460,7 +1495,7 @@
     57733@@ -1460,10 +1673,13 @@
    4017657734        }
    4017757735     }
     
    4018257740     tname = typeCalloc(char *, maxterms);
    4018357741     entries = typeCalloc(ENTRY, maxterms);
    40184 @@ -1477,7 +1512,7 @@
     57742+#if NO_LEAKS
     57743+    entered = typeCalloc(ENTERED, maxterms);
     57744+#endif
     57745 
     57746     if (tfile == 0
     57747        || tname == 0
     57748@@ -1476,9 +1692,6 @@
     57749     if (sortmode == S_DEFAULT)
    4018557750        sortmode = S_TERMINFO;
    4018657751 
    40187      /* set up for display */
     57752-    /* set up for display */
    4018857753-    dump_init(tversion, outform, sortmode, mwidth, itrace, formatted);
    40189 +    dump_init(tversion, outform, sortmode, mwidth, mheight, itrace, formatted);
    40190  
     57754-
    4019157755     /* make sure we have at least one terminal name to work with */
    4019257756     if (optind >= argc)
     57757        argv[argc++] = terminal_env();
     57758@@ -1487,9 +1700,23 @@
     57759     if (compare != C_DEFAULT && optind >= argc - 1)
     57760        argv[argc++] = terminal_env();
     57761 
     57762+    /* exactly one terminal name with no options means display it */
     57763     /* exactly two terminal names with no options means do -d */
     57764-    if (argc - optind == 2 && compare == C_DEFAULT)
     57765-       compare = C_DIFFERENCE;
     57766+    if (compare == C_DEFAULT) {
     57767+       switch (argc - optind) {
     57768+       default:
     57769+           fprintf(stderr, "%s: too many names to compare\n", _nc_progname);
     57770+           ExitProgram(EXIT_FAILURE);
     57771+       case 1:
     57772+           break;
     57773+       case 2:
     57774+           compare = C_DIFFERENCE;
     57775+           break;
     57776+       }
     57777+    }
     57778+
     57779+    /* set up for display */
     57780+    dump_init(tversion, outform, sortmode, mwidth, mheight, itrace, formatted);
     57781 
     57782     if (!filecompare) {
     57783        /* grab the entries */
     57784@@ -1507,9 +1734,11 @@
     57785 #else
     57786 #define LEAF_FMT "%02x"
     57787 #endif
     57788-               (void) sprintf(tfile[termcount], "%s/" LEAF_FMT "/%s",
     57789-                              directory,
     57790-                              UChar(*argv[optind]), argv[optind]);
     57791+               _nc_SPRINTF(tfile[termcount],
     57792+                           _nc_SLIMIT(sizeof(path))
     57793+                           "%s/" LEAF_FMT "/%s",
     57794+                           directory,
     57795+                           UChar(*argv[optind]), argv[optind]);
     57796                if (itrace)
     57797                    (void) fprintf(stderr,
     57798                                   "%s: reading entry %s from file %s\n",
     57799@@ -1599,27 +1828,17 @@
     57800                break;
     57801 
     57802            case C_DIFFERENCE:
     57803-               if (itrace)
     57804-                   (void) fprintf(stderr, "%s: dumping differences\n", _nc_progname);
     57805-               (void) printf("comparing %s to %s.\n", tname[0], tname[1]);
     57806+               show_comparing(tname);
     57807                compare_entry(compare_predicate, &entries->tterm, quiet);
     57808                break;
     57809 
     57810            case C_COMMON:
     57811-               if (itrace)
     57812-                   (void) fprintf(stderr,
     57813-                                  "%s: dumping common capabilities\n",
     57814-                                  _nc_progname);
     57815-               (void) printf("comparing %s to %s.\n", tname[0], tname[1]);
     57816+               show_comparing(tname);
     57817                compare_entry(compare_predicate, &entries->tterm, quiet);
     57818                break;
     57819 
     57820            case C_NAND:
     57821-               if (itrace)
     57822-                   (void) fprintf(stderr,
     57823-                                  "%s: dumping differences\n",
     57824-                                  _nc_progname);
     57825-               (void) printf("comparing %s to %s.\n", tname[0], tname[1]);
     57826+               show_comparing(tname);
     57827                compare_entry(compare_predicate, &entries->tterm, quiet);
     57828                break;
     57829 
     57830@@ -1640,15 +1859,16 @@
     57831                break;
     57832            }
     57833        }
     57834-    } else if (compare == C_USEALL)
     57835+    } else if (compare == C_USEALL) {
     57836        (void) fprintf(stderr, "Sorry, -u doesn't work with -F\n");
     57837-    else if (compare == C_DEFAULT)
     57838+    } else if (compare == C_DEFAULT) {
     57839        (void) fprintf(stderr, "Use `tic -[CI] <file>' for this.\n");
     57840-    else if (argc - optind != 2)
     57841+    } else if (argc - optind != 2) {
     57842        (void) fprintf(stderr,
     57843                       "File comparison needs exactly two file arguments.\n");
     57844-    else
     57845+    } else {
     57846        file_comparison(argc - optind, argv + optind);
     57847+    }
     57848 
     57849     MAIN_LEAKS();
     57850     ExitProgram(EXIT_SUCCESS);
    4019357851diff -Naur ncurses-5.9.orig/progs/progs.priv.h ncurses-5.9/progs/progs.priv.h
    40194 --- ncurses-5.9.orig/progs/progs.priv.h 2012-02-16 18:25:12.639809512 +0000
    40195 +++ ncurses-5.9/progs/progs.priv.h      2012-02-16 18:25:13.011819328 +0000
     57852--- ncurses-5.9.orig/progs/progs.priv.h 2012-08-25 19:57:59.419900852 +0000
     57853+++ ncurses-5.9/progs/progs.priv.h      2012-08-25 19:58:00.929893713 +0000
    4019657854@@ -1,5 +1,5 @@
    4019757855 /****************************************************************************
    4019857856- * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *
    40199 + * Copyright (c) 1998-2008,2011 Free Software Foundation, Inc.              *
     57857+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    4020057858  *                                                                          *
    4020157859  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    4020657864 /*
    4020757865- * $Id: progs.priv.h,v 1.34 2008/08/03 17:43:05 tom Exp $
    40208 + * $Id: progs.priv.h,v 1.36 2011/06/26 09:31:22 tom Exp $
     57866+ * $Id: progs.priv.h,v 1.39 2012/02/22 22:11:27 tom Exp $
    4020957867  *
    4021057868  *     progs.priv.h
    4021157869  *
    40212 @@ -99,7 +99,7 @@
     57870@@ -42,7 +42,7 @@
     57871 #if USE_RCS_IDS
     57872 #define MODULE_ID(id) static const char Ident[] = id;
     57873 #else
     57874-#define MODULE_ID(id) /*nothing*/
     57875+#define MODULE_ID(id)          /*nothing */
     57876 #endif
     57877 
     57878 #include <stdlib.h>
     57879@@ -90,6 +90,14 @@
     57880 # endif
     57881 #endif
     57882 
     57883+#if HAVE_INTTYPES_H
     57884+# include <inttypes.h>
     57885+#else
     57886+# if HAVE_STDINT_H
     57887+#  include <stdint.h>
     57888+# endif
     57889+#endif
     57890+
     57891 #include <assert.h>
     57892 #include <errno.h>
     57893 
     57894@@ -99,7 +107,7 @@
    4021357895 
    4021457896 #if HAVE_GETOPT_H
     
    4021957901  * variables doesn't hurt.
    4022057902  */
    40221 @@ -109,6 +109,7 @@
     57903@@ -109,9 +117,11 @@
    4022257904 
    4022357905 #include <curses.h>
     
    4022757909 #include <nc_tparm.h>
    4022857910 
     57911+#include <nc_string.h>
     57912 #include <nc_alloc.h>
     57913 #if HAVE_NC_FREEALL
     57914 #undef ExitProgram
     57915@@ -171,7 +181,7 @@
     57916 # elif defined(MAXPATHLEN)
     57917 #  define PATH_MAX MAXPATHLEN
     57918 # else
     57919-#  define PATH_MAX 255 /* the Posix minimum pathsize */
     57920+#  define PATH_MAX 255         /* the Posix minimum pathsize */
     57921 # endif
     57922 #endif
     57923 
     57924@@ -183,7 +193,7 @@
     57925 # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127)
     57926 #  define isascii(c) (UChar(c) <= 127)
     57927 # else
     57928-#  define isascii(c) 1 /* not really ascii anyway */
     57929+#  define isascii(c) 1         /* not really ascii anyway */
     57930 # endif
     57931 #endif
     57932 
    4022957933diff -Naur ncurses-5.9.orig/progs/tabs.c ncurses-5.9/progs/tabs.c
    40230 --- ncurses-5.9.orig/progs/tabs.c       2012-02-16 18:25:12.635809407 +0000
    40231 +++ ncurses-5.9/progs/tabs.c    2012-02-16 18:25:13.011819328 +0000
     57934--- ncurses-5.9.orig/progs/tabs.c       2012-08-25 19:57:59.419900852 +0000
     57935+++ ncurses-5.9/progs/tabs.c    2012-08-25 19:58:00.929893713 +0000
    4023257936@@ -1,5 +1,5 @@
    4023357937 /****************************************************************************
    4023457938- * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc.              *
    40235 + * Copyright (c) 2008-2010,2011 Free Software Foundation, Inc.              *
     57939+ * Copyright (c) 2008-2011,2012 Free Software Foundation, Inc.              *
    4023657940  *                                                                          *
    4023757941  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    4024257946 
    4024357947-MODULE_ID("$Id: tabs.c,v 1.19 2010/10/23 22:26:01 tom Exp $")
    40244 +MODULE_ID("$Id: tabs.c,v 1.21 2011/05/21 18:31:21 tom Exp $")
     57948+MODULE_ID("$Id: tabs.c,v 1.23 2012/02/22 23:57:44 tom Exp $")
    4024557949 
    4024657950 static void usage(void) GCC_NORETURN;
    4024757951 
    40248 @@ -227,7 +227,7 @@
     57952@@ -140,10 +140,11 @@
     57953     for (n = 0; n < max_cols; n += 10) {
     57954        int ch = 1 + (n / 10);
     57955        char buffer[20];
     57956-       sprintf(buffer, "----+----%c",
     57957-               ((ch < 10)
     57958-                ? (ch + '0')
     57959-                : (ch + 'A' - 10)));
     57960+       _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer))
     57961+                   "----+----%c",
     57962+                   ((ch < 10)
     57963+                    ? (ch + '0')
     57964+                    : (ch + 'A' - 10)));
     57965        printf("%.*s", ((max_cols - n) > 10) ? 10 : (max_cols - n), buffer);
     57966     }
     57967     putchar('\n');
     57968@@ -227,7 +228,7 @@
    4024957969     bool result = FALSE;
    4025057970 
     
    4025557975            result = (source[len - 1] != ',');
    4025657976     } else {
    40257 @@ -251,7 +251,7 @@
     57977@@ -251,7 +252,7 @@
    4025857978 
    4025957979     if (copied != 0 && *copied != '\0') {
     
    4026457984        if (*copied == ',')
    4026557985            comma = "";
    40266 @@ -353,7 +353,6 @@
     57986@@ -266,11 +267,11 @@
     57987        if (result != 0) {
     57988            *result = '\0';
     57989            if (*append != 0) {
     57990-               strcpy(result, *append);
     57991+               _nc_STRCPY(result, *append, need);
     57992                free(*append);
     57993            }
     57994-           strcat(result, comma);
     57995-           strcat(result, copied);
     57996+           _nc_STRCAT(result, comma, need);
     57997+           _nc_STRCAT(result, copied, need);
     57998        }
     57999 
     58000        *append = result;
     58001@@ -353,7 +354,6 @@
    4026758002     bool no_op = FALSE;
    4026858003     int n, ch;
     
    4027258007     const char *tab_list = 0;
    4027358008 
    40274 @@ -446,7 +445,11 @@
     58009@@ -446,7 +446,11 @@
    4027558010            while ((ch = *++option) != '\0') {
    4027658011                switch (ch) {
     
    4028658021                    /* special case of relative stops separated by spaces? */
    4028758022diff -Naur ncurses-5.9.orig/progs/tic.c ncurses-5.9/progs/tic.c
    40288 --- ncurses-5.9.orig/progs/tic.c        2012-02-16 18:25:12.639809512 +0000
    40289 +++ ncurses-5.9/progs/tic.c     2012-02-16 18:25:13.243825451 +0000
     58023--- ncurses-5.9.orig/progs/tic.c        2012-08-25 19:57:59.423234170 +0000
     58024+++ ncurses-5.9/progs/tic.c     2012-08-25 19:58:01.529890874 +0000
    4029058025@@ -1,5 +1,5 @@
    4029158026 /****************************************************************************
     
    4030358038  */
    4030458039 
    40305 @@ -42,9 +43,10 @@
     58040@@ -42,9 +43,12 @@
    4030658041 #include <sys/stat.h>
    4030758042 
     
    4031158046 
    4031258047-MODULE_ID("$Id: tic.c,v 1.147 2011/02/12 18:39:08 tom Exp $")
    40313 +MODULE_ID("$Id: tic.c,v 1.160 2012/02/05 01:39:39 tom Exp $")
     58048+MODULE_ID("$Id: tic.c,v 1.177 2012/06/02 17:19:31 tom Exp $")
     58049+
     58050+#define STDIN_NAME "<stdin>"
    4031458051 
    4031558052 const char *_nc_progname = "tic";
    4031658053 
    40317 @@ -69,11 +71,13 @@
     58054@@ -53,6 +57,7 @@
     58055 static bool capdump = FALSE;   /* running as infotocap? */
     58056 static bool infodump = FALSE;  /* running as captoinfo? */
     58057 static bool showsummary = FALSE;
     58058+static char **namelst = 0;
     58059 static const char *to_remove;
     58060 
     58061 static void (*save_check_termtype) (TERMTYPE *, bool);
     58062@@ -69,11 +74,13 @@
    4031858063 1\
    4031958064 a\
     
    4032958074 N\
    4033058075 r\
    40331 @@ -133,7 +137,9 @@
     58076@@ -99,7 +106,7 @@
     58077 #endif
     58078 
     58079 static void
     58080-cleanup(char **namelst GCC_UNUSED)
     58081+cleanup(void)
     58082 {
     58083 #if NO_LEAKS
     58084     free_namelist(namelst);
     58085@@ -119,7 +126,6 @@
     58086 failed(const char *msg)
     58087 {
     58088     perror(msg);
     58089-    cleanup((char **) 0);
     58090     ExitProgram(EXIT_FAILURE);
     58091 }
     58092 
     58093@@ -133,7 +139,9 @@
    4033258094 #if NCURSES_XNAMES
    4033358095        "  -a         retain commented-out capabilities (sets -x also)",
     
    4033958101        "  -e<names>  translate/compile only entries named by comma-separated list",
    4034058102        "  -f         format complex strings for readability",
    40341 @@ -173,7 +179,7 @@
     58103@@ -173,7 +181,7 @@
    4034258104 
    4034358105 #define L_BRACE '{'
     
    4034858110 static void
    4034958111 write_it(ENTRY * ep)
    40350 @@ -221,7 +227,7 @@
     58112@@ -216,12 +224,12 @@
     58113            }
     58114            *d = 0;
     58115            if (strlen(result) < strlen(s))
     58116-               strcpy(s, result);
     58117+               _nc_STRCPY(s, result, strlen(s) + 1);
     58118        }
    4035158119     }
    4035258120 
     
    4035758125 }
    4035858126 
    40359 @@ -339,23 +345,23 @@
     58127@@ -308,7 +316,7 @@
     58128            if ((up = strchr(namebuf, '#')) != 0
     58129                || (up = strchr(namebuf, '=')) != 0
     58130                || ((up = strchr(namebuf, '@')) != 0 && up[1] == '>')) {
     58131-               (void) strcpy(suffix, up);
     58132+               _nc_STRCPY(suffix, up, have);
     58133                *up = '\0';
     58134            }
     58135 
     58136@@ -339,39 +347,116 @@
    4036058137 static char *
    4036158138 stripped(char *src)
     
    4037358150+       if ((dst = strdup(src)) == NULL) {
    4037458151            failed("strdup");
    40375 -
    40376 -       assert(dst != 0);
    40377 -
    40378 -       len = strlen(dst);
    40379 -       while (--len != 0 && isspace(UChar(dst[len])))
    40380 -           dst[len] = '\0';
    40381 -       return dst;
    4038258152+       } else {
    4038358153+           len = strlen(dst);
     
    4038558155+               dst[len] = '\0';
    4038658156+       }
     58157+    }
     58158+    return dst;
     58159+}
     58160+
     58161+static FILE *
     58162+open_tempfile(char *filename)
     58163+{
     58164+    FILE *result = 0;
     58165+
     58166+    _nc_STRCPY(filename, "/tmp/XXXXXX", PATH_MAX);
     58167+#if HAVE_MKSTEMP
     58168+    {
     58169+       int fd = mkstemp(filename);
     58170+       if (fd >= 0)
     58171+           result = fdopen(fd, "w");
     58172+    }
     58173+#else
     58174+    if (tmpnam(filename) != 0)
     58175+       result = fopen(filename, "w");
     58176+#endif
     58177+    return result;
     58178+}
     58179 
     58180-       assert(dst != 0);
     58181+static FILE *
     58182+copy_input(FILE *source, const char *filename, char *alt_file)
     58183+{
     58184+    FILE *result = 0;
     58185+    FILE *target = open_tempfile(alt_file);
     58186+    int ch;
     58187 
     58188-       len = strlen(dst);
     58189-       while (--len != 0 && isspace(UChar(dst[len])))
     58190-           dst[len] = '\0';
     58191-       return dst;
     58192+    if (source == 0) {
     58193+       failed("copy_input (source)");
     58194+    } else if (target == 0) {
     58195+       failed("copy_input (target)");
     58196+    } else {
     58197+       clearerr(source);
     58198+       for (;;) {
     58199+           ch = fgetc(source);
     58200+           if (feof(source)) {
     58201+               break;
     58202+           } else if (ferror(source)) {
     58203+               failed(filename);
     58204+           } else if (ch == 0) {
     58205+               /* don't loop in case someone wants to convert /dev/zero */
     58206+               fprintf(stderr, "%s: %s is not a text-file\n", _nc_progname, filename);
     58207+               ExitProgram(EXIT_FAILURE);
     58208+           }
     58209+           fputc(ch, target);
     58210+       }
     58211+       fclose(source);
     58212+       /*
     58213+        * rewind() does not force the target file's data to disk (not does
     58214+        * fflush()...).  So open a second stream on the data and then close
     58215+        * the one that we were writing on before starting to read from the
     58216+        * second stream.
     58217+        */
     58218+       result = fopen(alt_file, "r+");
     58219+       fclose(target);
     58220+       to_remove = alt_file;
    4038758221     }
    4038858222-    return 0;
    40389 +    return dst;
     58223+    return result;
    4039058224 }
    4039158225 
    4039258226 static FILE *
    40393 @@ -471,11 +477,113 @@
    40394      return result;
     58227-open_input(const char *filename)
     58228+open_input(const char *filename, char *alt_file)
     58229 {
     58230-    FILE *fp = fopen(filename, "r");
     58231+    FILE *fp;
     58232     struct stat sb;
     58233+    int mode;
     58234 
     58235-    if (fp == 0) {
     58236-       fprintf(stderr, "%s: Can't open %s\n", _nc_progname, filename);
     58237+    if (!strcmp(filename, "-")) {
     58238+       fp = copy_input(stdin, STDIN_NAME, alt_file);
     58239+    } else if (stat(filename, &sb) < 0) {
     58240+       fprintf(stderr, "%s: %s %s\n", _nc_progname, filename, strerror(errno));
     58241        ExitProgram(EXIT_FAILURE);
     58242-    }
     58243-    if (fstat(fileno(fp), &sb) < 0
     58244-       || (sb.st_mode & S_IFMT) != S_IFREG) {
     58245+    } else if ((mode = (sb.st_mode & S_IFMT)) == S_IFDIR
     58246+              || (mode != S_IFREG && mode != S_IFCHR)) {
     58247        fprintf(stderr, "%s: %s is not a file\n", _nc_progname, filename);
     58248        ExitProgram(EXIT_FAILURE);
     58249+    } else {
     58250+       fp = fopen(filename, "r");
     58251+
     58252+       if (fp == 0) {
     58253+           fprintf(stderr, "%s: Can't open %s\n", _nc_progname, filename);
     58254+           ExitProgram(EXIT_FAILURE);
     58255+       }
     58256+       if (mode != S_IFREG) {
     58257+           if (alt_file != 0) {
     58258+               FILE *fp2 = copy_input(fp, filename, alt_file);
     58259+               fp = fp2;
     58260+           } else {
     58261+               fprintf(stderr, "%s: %s is not a file\n", _nc_progname, filename);
     58262+               ExitProgram(EXIT_FAILURE);
     58263+           }
     58264+       }
     58265     }
     58266     return fp;
    4039558267 }
    40396  
     58268@@ -389,7 +474,7 @@
     58269     if (src == 0) {
     58270        /* EMPTY */ ;
     58271     } else if (strchr(src, '/') != 0) {                /* a filename */
     58272-       FILE *fp = open_input(src);
     58273+       FILE *fp = open_input(src, (char *) 0);
     58274 
     58275        for (pass = 1; pass <= 2; pass++) {
     58276            nn = 0;
     58277@@ -456,26 +541,114 @@
     58278     return (code);
     58279 }
     58280 
     58281-static FILE *
     58282-open_tempfile(char *name)
    4039758283+static const char *
    4039858284+valid_db_path(const char *nominal)
    40399 +{
     58285 {
     58286-    FILE *result = 0;
     58287-#if HAVE_MKSTEMP
     58288-    int fd = mkstemp(name);
     58289-    if (fd >= 0)
     58290-       result = fdopen(fd, "w");
    4040058291+    struct stat sb;
    4040158292+#if USE_HASHED_DB
     
    4040458295+    char *result = malloc(need);
    4040558296+
    40406 +    strcpy(result, nominal);
     58297+    _nc_STRCPY(result, nominal, need);
    4040758298+    if (strcmp(result + need - sizeof(suffix), suffix)) {
    40408 +       strcat(result, suffix);
     58299+       _nc_STRCAT(result, suffix, need);
    4040958300+    }
    40410 +#else
     58301 #else
     58302-    if (tmpnam(name) != 0)
     58303-       result = fopen(name, "w");
    4041158304+    char *result = strdup(nominal);
    4041258305+#endif
     
    4042858321+           result = 0;
    4042958322+       }
    40430 +#endif
     58323 #endif
    4043158324+    } else {
    4043258325+       /* check if parent is directory and is writable */
     
    4045258345+       }
    4045358346+    }
    40454 +    return result;
    40455 +}
    40456 +
     58347     return result;
     58348 }
     58349 
    4045758350+/*
    4045858351+ * Show the databases to which tic could write.  The location to which it
     
    4050158394     char my_tmpname[PATH_MAX];
    4050258395-    int v_opt = -1, debug_level;
     58396+    char my_altfile[PATH_MAX];
    4050358397+    int v_opt = -1;
    4050458398+    unsigned debug_level;
     
    4050658400     char *termcap;
    4050758401     ENTRY *qp;
    40508 @@ -486,6 +594,7 @@
     58402@@ -486,6 +659,7 @@
    4050958403     int sortmode = S_TERMINFO; /* sort_mode */
    4051058404 
     
    4051458408     bool literal = FALSE;      /* suppress post-processing? */
    4051558409     int numbers = 0;           /* format "%'char'" to/from "%{number}" */
    40516 @@ -513,6 +622,7 @@
     58410@@ -493,7 +667,6 @@
     58411     bool limited = TRUE;
     58412     char *tversion = (char *) NULL;
     58413     const char *source_file = "terminfo";
     58414-    char **namelst = 0;
     58415     char *outdir = (char *) NULL;
     58416     bool check_only = FALSE;
     58417     bool suppress_untranslatable = FALSE;
     58418@@ -501,6 +674,7 @@
     58419     log_fp = stderr;
     58420 
     58421     _nc_progname = _nc_rootname(argv[0]);
     58422+    atexit(cleanup);
     58423 
     58424     if ((infodump = same_program(_nc_progname, PROG_CAPTOINFO)) != FALSE) {
     58425        outform = F_TERMINFO;
     58426@@ -513,6 +687,7 @@
    4051758427 #if NCURSES_XNAMES
    4051858428     use_extended_names(FALSE);
     
    4052258432     /*
    4052358433      * Processing arguments is a little complicated, since someone made a
    40524 @@ -520,7 +630,7 @@
     58434@@ -520,7 +695,7 @@
    4052558435      * be optional.
    4052658436      */
     
    4053158441            switch (last_opt) {
    4053258442            case 'v':
    40533 @@ -530,19 +640,40 @@
     58443@@ -530,19 +705,40 @@
    4053458444                width = (width * 10) + (this_opt - '0');
    4053558445                break;
     
    4057558485            infodump = TRUE;
    4057658486            outform = F_TERMINFO;
    40577 @@ -618,7 +749,7 @@
     58487@@ -568,7 +764,6 @@
     58488            break;
     58489        case 'V':
     58490            puts(curses_version());
     58491-           cleanup(namelst);
     58492            ExitProgram(EXIT_SUCCESS);
     58493        case 'c':
     58494            check_only = TRUE;
     58495@@ -618,7 +813,7 @@
    4057858496        last_opt = this_opt;
    4057958497     }
     
    4058458502 
    4058558503     if (_nc_tracing) {
    40586 @@ -638,7 +769,8 @@
     58504@@ -638,8 +833,8 @@
    4058758505      */
    4058858506     if (namelst && (!infodump && !capdump)) {
    4058958507        (void) fprintf(stderr,
    4059058508-                      "Sorry, -e can't be used without -I or -C\n");
     58509-       cleanup(namelst);
    4059158510+                      "%s: Sorry, -e can't be used without -I or -C\n",
    4059258511+                      _nc_progname);
    40593         cleanup(namelst);
    4059458512        ExitProgram(EXIT_FAILURE);
    4059558513     }
    40596 @@ -695,11 +827,11 @@
     58514 #endif /* HAVE_BIG_CORE */
     58515@@ -663,16 +858,16 @@
     58516                if (access(termcap, F_OK) == 0) {
     58517                    /* file exists */
     58518                    source_file = termcap;
     58519-               } else if ((tmp_fp = open_tempfile(strcpy(my_tmpname,
     58520-                                                         "/tmp/XXXXXX")))
     58521-                          != 0) {
     58522-                   source_file = my_tmpname;
     58523-                   fprintf(tmp_fp, "%s\n", termcap);
     58524-                   fclose(tmp_fp);
     58525-                   tmp_fp = open_input(source_file);
     58526-                   to_remove = source_file;
     58527                } else {
     58528-                   failed("tmpnam");
     58529+                   if ((tmp_fp = open_tempfile(my_tmpname)) != 0) {
     58530+                       source_file = my_tmpname;
     58531+                       fprintf(tmp_fp, "%s\n", termcap);
     58532+                       fclose(tmp_fp);
     58533+                       tmp_fp = open_input(source_file, (char *) 0);
     58534+                       to_remove = source_file;
     58535+                   } else {
     58536+                       failed("tmpnam");
     58537+                   }
     58538                }
     58539            }
     58540        } else {
     58541@@ -682,24 +877,28 @@
     58542                    _nc_progname,
     58543                    _nc_progname,
     58544                    usage_string);
     58545-           cleanup(namelst);
     58546            ExitProgram(EXIT_FAILURE);
     58547        }
     58548     }
     58549 
     58550-    if (tmp_fp == 0)
     58551-       tmp_fp = open_input(source_file);
     58552+    if (tmp_fp == 0) {
     58553+       tmp_fp = open_input(source_file, my_altfile);
     58554+       if (!strcmp(source_file, "-")) {
     58555+           source_file = STDIN_NAME;
     58556+       }
     58557+    }
     58558 
     58559-    if (infodump)
     58560+    if (infodump) {
     58561        dump_init(tversion,
    4059758562                  smart_defaults
    4059858563                  ? outform
    4059958564                  : F_LITERAL,
    4060058565-                 sortmode, width, debug_level, formatted);
     58566-    else if (capdump)
    4060158567+                 sortmode, width, height, debug_level, formatted);
    40602      else if (capdump)
     58568+    } else if (capdump) {
    4060358569        dump_init(tversion,
    4060458570                  outform,
    4060558571-                 sortmode, width, debug_level, FALSE);
    4060658572+                 sortmode, width, height, debug_level, FALSE);
     58573+    }
    4060758574 
    4060858575     /* parse entries out of the source file */
    4060958576     _nc_set_source(source_file);
    40610 @@ -750,7 +882,7 @@
     58577@@ -716,7 +915,6 @@
     58578     /* do use resolution */
     58579     if (check_only || (!infodump && !capdump) || forceresolve) {
     58580        if (!_nc_resolve_uses2(TRUE, literal) && !check_only) {
     58581-           cleanup(namelst);
     58582            ExitProgram(EXIT_FAILURE);
     58583        }
     58584     }
     58585@@ -750,7 +948,7 @@
    4061158586 
    4061258587            for_entry_list(qp) {
     
    4061758592 
    4061858593                    /* this is in case infotocap() generates warnings */
    40619 @@ -767,7 +899,7 @@
     58594@@ -767,7 +965,7 @@
    4062058595                    repair_acsc(&qp->tterm);
    4062158596                    dump_entry(&qp->tterm, suppress_untranslatable,
     
    4062658601                    len = show_entry();
    4062758602                    if (debug_level != 0 && !limited)
    40628 @@ -915,18 +1047,18 @@
     58603@@ -811,7 +1009,6 @@
     58604        else
     58605            fprintf(log_fp, "No entries written\n");
     58606     }
     58607-    cleanup(namelst);
     58608     ExitProgram(EXIT_SUCCESS);
     58609 }
     58610 
     58611@@ -915,18 +1112,18 @@
    4062958612     return result;
    4063058613 }
     
    4064858631     return result;
    4064958632 }
    40650 @@ -1097,11 +1229,11 @@
     58633@@ -1015,13 +1212,18 @@
     58634     int count;
     58635     char *list[4];
     58636 
     58637+    /* it is rare to have an insert-line feature without a matching delete */
     58638+    ANDMISSING(parm_insert_line, insert_line);
     58639+    ANDMISSING(parm_delete_line, delete_line);
     58640+    ANDMISSING(parm_insert_line, parm_delete_line);
     58641+
     58642     /* if we have a parameterized form, then the non-parameterized is easy */
     58643     ANDMISSING(parm_down_cursor, cursor_down);
     58644     ANDMISSING(parm_up_cursor, cursor_up);
     58645     ANDMISSING(parm_left_cursor, cursor_left);
     58646     ANDMISSING(parm_right_cursor, cursor_right);
     58647 
     58648-    /* Given any of a set of cursor movement, the whole set should be present.
     58649+    /* Given any of a set of cursor movement, the whole set should be present.
     58650      * Technically this is not true (we could use cursor_address to fill in
     58651      * unsupported controls), but it is likely.
     58652      */
     58653@@ -1097,11 +1299,11 @@
    4065158654        VALID_STRING(key_c1) &&
    4065258655        VALID_STRING(key_c3)) {
     
    4066358666        final[0] = keypad_final(key_a1);
    4066458667        final[1] = keypad_final(key_a3);
    40665 @@ -1592,7 +1724,7 @@
    40666      for (j = 0; j < NUM_STRINGS(tp); j++) {
     58668@@ -1149,19 +1351,19 @@
     58669                assert(strlen(show) < (MAX_KP * 4));
     58670                switch (kk) {
     58671                case 0:
     58672-                   strcat(show, " ka1");
     58673+                   _nc_STRCAT(show, " ka1", sizeof(show));
     58674                    break;
     58675                case 1:
     58676-                   strcat(show, " ka3");
     58677+                   _nc_STRCAT(show, " ka3", sizeof(show));
     58678                    break;
     58679                case 2:
     58680-                   strcat(show, " kb2");
     58681+                   _nc_STRCAT(show, " kb2", sizeof(show));
     58682                    break;
     58683                case 3:
     58684-                   strcat(show, " kc1");
     58685+                   _nc_STRCAT(show, " kc1", sizeof(show));
     58686                    break;
     58687                case 4:
     58688-                   strcat(show, " kc3");
     58689+                   _nc_STRCAT(show, " kc3", sizeof(show));
     58690                    break;
     58691                }
     58692            }
     58693@@ -1176,18 +1378,24 @@
     58694               VALID_STRING(key_c3)) {
     58695        show[0] = '\0';
     58696        if (keypad_index(key_a1) >= 0)
     58697-           strcat(show, " ka1");
     58698+           _nc_STRCAT(show, " ka1", sizeof(show));
     58699        if (keypad_index(key_a3) >= 0)
     58700-           strcat(show, " ka3");
     58701+           _nc_STRCAT(show, " ka3", sizeof(show));
     58702        if (keypad_index(key_b2) >= 0)
     58703-           strcat(show, " kb2");
     58704+           _nc_STRCAT(show, " kb2", sizeof(show));
     58705        if (keypad_index(key_c1) >= 0)
     58706-           strcat(show, " kc1");
     58707+           _nc_STRCAT(show, " kc1", sizeof(show));
     58708        if (keypad_index(key_c3) >= 0)
     58709-           strcat(show, " kc3");
     58710+           _nc_STRCAT(show, " kc3", sizeof(show));
     58711        if (*show != '\0')
     58712            _nc_warning("vt100 keypad map incomplete:%s", show);
     58713     }
     58714+
     58715+    /*
     58716+     * These warnings are useful for consistency checks - it is possible that
     58717+     * there are real terminals with mismatches in these
     58718+     */
     58719+    ANDMISSING(key_ic, key_dc);
     58720 }
     58721 
     58722 static void
     58723@@ -1216,6 +1424,72 @@
     58724     ANDMISSING(parm_up_micro, micro_up);
     58725 }
     58726 
     58727+static bool
     58728+uses_SGR_39_49(const char *value)
     58729+{
     58730+    return (strstr(value, "39;49") != 0
     58731+           || strstr(value, "49;39") != 0);
     58732+}
     58733+
     58734+/*
     58735+ * Check consistency of termcap extensions related to "screen".
     58736+ */
     58737+static void
     58738+check_screen(TERMTYPE *tp)
     58739+{
     58740+    if (_nc_user_definable) {
     58741+       int have_XT = tigetflag("XT");
     58742+       int have_XM = tigetflag("XM");
     58743+       int have_bce = back_color_erase;
     58744+       bool have_kmouse = FALSE;
     58745+       bool use_sgr_39_49 = FALSE;
     58746+       char *name = _nc_first_name(tp->term_names);
     58747+
     58748+       if (!VALID_BOOLEAN(have_bce)) {
     58749+           have_bce = FALSE;
     58750+       }
     58751+       if (!VALID_BOOLEAN(have_XM)) {
     58752+           have_XM = FALSE;
     58753+       }
     58754+       if (!VALID_BOOLEAN(have_XT)) {
     58755+           have_XT = FALSE;
     58756+       }
     58757+       if (VALID_STRING(key_mouse)) {
     58758+           have_kmouse = !strcmp("\033[M", key_mouse);
     58759+       }
     58760+       if (VALID_STRING(orig_colors)) {
     58761+           use_sgr_39_49 = uses_SGR_39_49(orig_colors);
     58762+       } else if (VALID_STRING(orig_pair)) {
     58763+           use_sgr_39_49 = uses_SGR_39_49(orig_pair);
     58764+       }
     58765+
     58766+       if (have_XM && have_XT) {
     58767+           _nc_warning("Screen's XT capability conflicts with XM");
     58768+       } else if (have_XT
     58769+                  && strstr(name, "screen") != 0
     58770+                  && strchr(name, '.') != 0) {
     58771+           _nc_warning("Screen's \"screen\" entries should not have XT set");
     58772+       } else if (have_XT) {
     58773+           if (!have_kmouse && have_bce) {
     58774+               if (VALID_STRING(key_mouse)) {
     58775+                   _nc_warning("Value of kmous inconsistent with screen's usage");
     58776+               } else {
     58777+                   _nc_warning("Expected kmous capability with XT");
     58778+               }
     58779+           }
     58780+           if (!have_bce && max_colors > 0)
     58781+               _nc_warning("Expected bce capability with XT");
     58782+           if (!use_sgr_39_49 && have_bce && max_colors > 0)
     58783+               _nc_warning("Expected orig_colors capability with XT to have 39/49 parameters");
     58784+           if (VALID_STRING(to_status_line))
     58785+               _nc_warning("\"tsl\" capability is redundant, given XT");
     58786+       } else {
     58787+           if (have_kmouse && !have_XM)
     58788+               _nc_warning("Expected XT to be set, given kmous");
     58789+       }
     58790+    }
     58791+}
     58792+
     58793 /*
     58794  * Returns the expected number of parameters for the given capability.
     58795  */
     58796@@ -1527,7 +1801,7 @@
     58797 show_where(unsigned level)
     58798 {
     58799     if (_nc_tracing >= DEBUG_LEVEL(level)) {
     58800-       char my_name[256];
     58801+       char my_name[MAX_NAME_SIZE];
     58802        _nc_get_type(my_name);
     58803        _tracef("\"%s\", line %d, '%s'",
     58804                _nc_get_source(),
     58805@@ -1539,6 +1813,55 @@
     58806 #define show_where(level)      /* nothing */
     58807 #endif
     58808 
     58809+typedef struct {
     58810+    int keycode;
     58811+    const char *name;
     58812+    const char *value;
     58813+} NAME_VALUE;
     58814+
     58815+static NAME_VALUE *
     58816+get_fkey_list(TERMTYPE *tp)
     58817+{
     58818+    NAME_VALUE *result = typeMalloc(NAME_VALUE, NUM_STRINGS(tp) + 1);
     58819+    const struct tinfo_fkeys *all_fkeys = _nc_tinfo_fkeys;
     58820+    int used = 0;
     58821+    int j;
     58822+
     58823+    for (j = 0; all_fkeys[j].code; j++) {
     58824+       char *a = tp->Strings[all_fkeys[j].offset];
     58825+       if (VALID_STRING(a)) {
     58826+           result[used].keycode = (int) all_fkeys[j].code;
     58827+           result[used].name = strnames[all_fkeys[j].offset];
     58828+           result[used].value = a;
     58829+           ++used;
     58830+       }
     58831+    }
     58832+#if NCURSES_XNAMES
     58833+    for (j = STRCOUNT; j < NUM_STRINGS(tp); ++j) {
     58834+       const char *name = ExtStrname(tp, j, strnames);
     58835+       if (*name == 'k') {
     58836+           result[used].keycode = -1;
     58837+           result[used].name = name;
     58838+           result[used].value = tp->Strings[j];
     58839+           ++used;
     58840+       }
     58841+    }
     58842+#endif
     58843+    result[used].keycode = 0;
     58844+    return result;
     58845+}
     58846+
     58847+static void
     58848+show_fkey_name(NAME_VALUE * data)
     58849+{
     58850+    if (data->keycode > 0) {
     58851+       fprintf(stderr, " %s", keyname(data->keycode));
     58852+       fprintf(stderr, " (capability \"%s\")", data->name);
     58853+    } else {
     58854+       fprintf(stderr, " capability \"%s\"", data->name);
     58855+    }
     58856+}
     58857+
     58858 /* other sanity-checks (things that we don't want in the normal
     58859  * logic that reads a terminfo entry)
     58860  */
     58861@@ -1547,7 +1870,6 @@
     58862 {
     58863     bool conflict = FALSE;
     58864     unsigned j, k;
     58865-    char fkeys[STRCOUNT];
     58866 
     58867     /*
     58868      * A terminal entry may contain more than one keycode assigned to
     58869@@ -1555,44 +1877,47 @@
     58870      * return one (the last one assigned).
     58871      */
     58872     if (!(_nc_syntax == SYN_TERMCAP && capdump)) {
     58873-       memset(fkeys, 0, sizeof(fkeys));
     58874-       for (j = 0; _nc_tinfo_fkeys[j].code; j++) {
     58875-           char *a = tp->Strings[_nc_tinfo_fkeys[j].offset];
     58876+       char *check = calloc((size_t) (NUM_STRINGS(tp) + 1), sizeof(char));
     58877+       NAME_VALUE *given = get_fkey_list(tp);
     58878+
     58879+       for (j = 0; given[j].keycode; ++j) {
     58880+           const char *a = given[j].value;
     58881            bool first = TRUE;
     58882-           if (!VALID_STRING(a))
     58883-               continue;
     58884-           for (k = j + 1; _nc_tinfo_fkeys[k].code; k++) {
     58885-               char *b = tp->Strings[_nc_tinfo_fkeys[k].offset];
     58886-               if (!VALID_STRING(b)
     58887-                   || fkeys[k])
     58888+
     58889+           for (k = j + 1; given[k].keycode; k++) {
     58890+               const char *b = given[k].value;
     58891+               if (check[k])
     58892                    continue;
     58893                if (!_nc_capcmp(a, b)) {
     58894-                   fkeys[j] = 1;
     58895-                   fkeys[k] = 1;
     58896+                   check[j] = 1;
     58897+                   check[k] = 1;
     58898                    if (first) {
     58899                        if (!conflict) {
     58900                            _nc_warning("Conflicting key definitions (using the last)");
     58901                            conflict = TRUE;
     58902                        }
     58903-                       fprintf(stderr, "... %s is the same as %s",
     58904-                               keyname((int) _nc_tinfo_fkeys[j].code),
     58905-                               keyname((int) _nc_tinfo_fkeys[k].code));
     58906+                       fprintf(stderr, "...");
     58907+                       show_fkey_name(given + j);
     58908+                       fprintf(stderr, " is the same as");
     58909+                       show_fkey_name(given + k);
     58910                        first = FALSE;
     58911                    } else {
     58912-                       fprintf(stderr, ", %s",
     58913-                               keyname((int) _nc_tinfo_fkeys[k].code));
     58914+                       fprintf(stderr, ", ");
     58915+                       show_fkey_name(given + k);
     58916                    }
     58917                }
     58918            }
     58919            if (!first)
     58920                fprintf(stderr, "\n");
     58921        }
     58922+       free(given);
     58923+       free(check);
     58924     }
     58925 
     58926-    for (j = 0; j < NUM_STRINGS(tp); j++) {
     58927+    for_each_string(j, tp) {
    4066758928        char *a = tp->Strings[j];
    4066858929        if (VALID_STRING(a))
     
    4067258933 
    4067358934     check_acs(tp);
     58935@@ -1600,6 +1925,7 @@
     58936     check_cursor(tp);
     58937     check_keypad(tp);
     58938     check_printer(tp);
     58939+    check_screen(tp);
     58940 
     58941     /*
     58942      * These may be mismatched because the terminal description relies on
    4067458943diff -Naur ncurses-5.9.orig/progs/toe.c ncurses-5.9/progs/toe.c
    40675 --- ncurses-5.9.orig/progs/toe.c        2012-02-16 18:25:12.635809407 +0000
    40676 +++ ncurses-5.9/progs/toe.c     2012-02-16 18:25:13.059820594 +0000
     58944--- ncurses-5.9.orig/progs/toe.c        2012-08-25 19:57:59.419900852 +0000
     58945+++ ncurses-5.9/progs/toe.c     2012-08-25 19:58:02.026555193 +0000
    4067758946@@ -1,5 +1,5 @@
    4067858947 /****************************************************************************
    4067958948- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    40680 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     58949+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    4068158950  *                                                                          *
    4068258951  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    4068758956 
    4068858957-MODULE_ID("$Id: toe.c,v 1.52 2010/05/01 22:04:08 tom Exp $")
    40689 +MODULE_ID("$Id: toe.c,v 1.64 2012/01/01 02:56:17 tom Exp $")
     58958+MODULE_ID("$Id: toe.c,v 1.68 2012/07/21 22:55:59 tom Exp $")
    4069058959 
    4069158960 #define isDotname(name) (!strcmp(name, ".") || !strcmp(name, ".."))
     
    4086559134 static bool
    4086659135 make_db_name(char *dst, const char *src, unsigned limit)
    40867 @@ -91,51 +246,80 @@
     59136@@ -81,61 +236,91 @@
     59137 
     59138     if (need <= limit) {
     59139        if (size >= lens
     59140-           && !strcmp(src + size - lens, suffix))
     59141-           (void) strcpy(dst, src);
     59142-       else
     59143-           (void) sprintf(dst, "%s%s", src, suffix);
     59144+           && !strcmp(src + size - lens, suffix)) {
     59145+           _nc_STRCPY(dst, src, PATH_MAX);
     59146+       } else {
     59147+           _nc_SPRINTF(dst, _nc_SLIMIT(PATH_MAX) "%s%s", src, suffix);
     59148+       }
     59149        result = TRUE;
     59150     }
     59151     return result;
    4086859152 }
    4086959153 #endif
     
    4092759211+
    4092859212+    for (i = 0; i < NUM_BOOLEANS(tp); i++) {
    40929 +       result += (tp->Booleans[i]);
     59213+       result += (unsigned long) (tp->Booleans[i]);
    4093059214     }
    4093159215-#endif
     
    4094159225-       }
    4094259226+    for (i = 0; i < NUM_NUMBERS(tp); i++) {
    40943 +       result += (tp->Numbers[i]);
     59227+       result += (unsigned long) (tp->Numbers[i]);
    4094459228+    }
    4094559229+    for (i = 0; i < NUM_STRINGS(tp); i++) {
     
    4095759241 {
    4095859242-    const char *desc;
    40959 +    TERMDATA *data = new_termdata();
    40960  
     59243-
    4096159244-    if ((desc = strrchr(tp->term_names, '|')) == 0 || *++desc == '\0')
    4096259245-       desc = "(No description)";
    40963 -
     59246+    TERMDATA *data = new_termdata();
     59247 
    4096459248-    (void) printf("%-10s\t%s\n", cn, desc);
    4096559249+    data->db_index = db_index;
     
    4097759261     TERMTYPE data;
    4097859262     char *next = strchr(buffer, ':');
    40979 @@ -149,10 +333,11 @@
     59263@@ -149,20 +334,36 @@
    4098059264     if (last)
    4098159265        ++last;
     
    4099159275     }
    4099259276     free(data.term_names);
    40993 @@ -162,7 +347,7 @@
     59277 }
     59278 #endif
     59279 
     59280+#if USE_DATABASE
     59281+static char *
     59282+copy_entryname(DIRENT * src)
     59283+{
     59284+    size_t len = NAMLEN(src);
     59285+    char *result = malloc(len + 1);
     59286+    if (result == 0)
     59287+       failed("copy entryname");
     59288+    memcpy(result, src->d_name, len);
     59289+    result[len] = '\0';
     59290+
     59291+    return result;
     59292+}
     59293+#endif
     59294+
    4099459295 static int
    4099559296 typelist(int eargc, char *eargv[],
     
    4100059301 {
    4100159302     int i;
    41002 @@ -179,8 +364,10 @@
     59303@@ -179,28 +380,35 @@
    4100359304                (void) fprintf(stderr,
    4100459305                               "%s: can't open terminfo directory %s\n",
     
    4101359314 
    4101459315            while ((subdir = readdir(termdir)) != 0) {
    41015 @@ -233,7 +420,7 @@
     59316-               size_t len = NAMLEN(subdir);
     59317-               size_t cwd_len = len + strlen(eargv[i]) + 3;
     59318-               char name_1[PATH_MAX];
     59319+               size_t cwd_len;
     59320+               char *name_1;
     59321                DIR *entrydir;
     59322                DIRENT *entry;
     59323 
     59324+               name_1 = copy_entryname(subdir);
     59325+               if (isDotname(name_1)) {
     59326+                   free(name_1);
     59327+                   continue;
     59328+               }
     59329+
     59330+               cwd_len = NAMLEN(subdir) + strlen(eargv[i]) + 3;
     59331                cwd_buf = typeRealloc(char, cwd_len, cwd_buf);
     59332                if (cwd_buf == 0)
     59333                    failed("realloc cwd_buf");
     59334 
     59335                assert(cwd_buf != 0);
     59336 
     59337-               strncpy(name_1, subdir->d_name, len)[len] = '\0';
     59338-               if (isDotname(name_1))
     59339-                   continue;
     59340+               _nc_SPRINTF(cwd_buf, _nc_SLIMIT(cwd_len)
     59341+                           "%s/%s/", eargv[i], name_1);
     59342+               free(name_1);
     59343 
     59344-               (void) sprintf(cwd_buf, "%s/%.*s/", eargv[i], (int) len, name_1);
     59345                if (chdir(cwd_buf) != 0)
     59346                    continue;
     59347 
     59348@@ -210,15 +418,16 @@
     59349                    continue;
     59350                }
     59351                while ((entry = readdir(entrydir)) != 0) {
     59352-                   char name_2[PATH_MAX];
     59353+                   char *name_2;
     59354                    TERMTYPE lterm;
     59355                    char *cn;
     59356                    int status;
     59357 
     59358-                   len = NAMLEN(entry);
     59359-                   strncpy(name_2, entry->d_name, len)[len] = '\0';
     59360-                   if (isDotname(name_2) || !_nc_is_file_path(name_2))
     59361+                   name_2 = copy_entryname(entry);
     59362+                   if (isDotname(name_2) || !_nc_is_file_path(name_2)) {
     59363+                       free(name_2);
     59364                        continue;
     59365+                   }
     59366 
     59367                    status = _nc_read_file_entry(name_2, &lterm);
     59368                    if (status <= 0) {
     59369@@ -226,6 +435,7 @@
     59370                        (void) fprintf(stderr,
     59371                                       "%s: couldn't open terminfo file %s.\n",
     59372                                       _nc_progname, name_2);
     59373+                       free(name_2);
     59374                        return (EXIT_FAILURE);
     59375                    }
     59376 
     59377@@ -233,21 +443,26 @@
    4101659378                    cn = _nc_first_name(lterm.term_names);
    4101759379                    if (!strcmp(cn, name_2)) {
     
    4102159383                    }
    4102259384                    _nc_free_termtype(&lterm);
     59385+                   free(name_2);
    4102359386                }
    41024 @@ -242,12 +429,16 @@
     59387                closedir(entrydir);
     59388            }
    4102559389            closedir(termdir);
    4102659390            if (cwd_buf != 0)
     
    4103959403                if ((capdbp = _nc_db_open(filename, FALSE)) != 0) {
    4104059404                    DBT key, data;
    41041 @@ -265,7 +456,7 @@
     59405@@ -265,7 +480,7 @@
    4104259406                                /* only visit things once, by primary name */
    4104359407                                cn = _nc_first_name(lterm.term_names);
     
    4104859412                            }
    4104959413                        }
    41050 @@ -273,6 +464,7 @@
     59414@@ -273,6 +488,7 @@
    4105159415                    }
    4105259416 
     
    4105659420            }
    4105759421        }
    41058 @@ -280,37 +472,43 @@
     59422@@ -280,37 +496,43 @@
    4105959423 #endif
    4106059424 #if USE_TERMCAP
     
    4111359477                fclose(fp);
    4111459478            }
    41115 @@ -319,13 +517,18 @@
     59479@@ -319,13 +541,18 @@
    4111659480 #endif
    4111759481     }
     
    4113359497 }
    4113459498 
    41135 @@ -340,23 +543,24 @@
     59499@@ -340,23 +567,24 @@
    4113659500     unsigned i;
    4113759501     int code;
     
    4116259526            }
    4116359527            continue;
    41164 @@ -368,6 +572,9 @@
     59528@@ -368,6 +596,9 @@
    4116559529        case 'h':
    4116659530            header = TRUE;
     
    4117259536            direct_dependencies = TRUE;
    4117359537            report_file = optarg;
    41174 @@ -450,7 +657,7 @@
     59538@@ -450,7 +681,7 @@
    4117559539      * If we get this far, user wants a simple terminal type listing.
    4117659540      */
     
    4118159545        DBDIRS state;
    4118259546        int offset;
    41183 @@ -460,64 +667,37 @@
     59547@@ -460,64 +691,37 @@
    4118459548 
    4118559549        code = EXIT_FAILURE;
     
    4125959623     _nc_last_db();
    4126059624 
     59625diff -Naur ncurses-5.9.orig/progs/tput.c ncurses-5.9/progs/tput.c
     59626--- ncurses-5.9.orig/progs/tput.c       2012-08-25 19:57:59.423234170 +0000
     59627+++ ncurses-5.9/progs/tput.c    2012-08-25 19:58:00.836560821 +0000
     59628@@ -1,5 +1,5 @@
     59629 /****************************************************************************
     59630- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     59631+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     59632  *                                                                          *
     59633  * Permission is hereby granted, free of charge, to any person obtaining a  *
     59634  * copy of this software and associated documentation files (the            *
     59635@@ -47,7 +47,7 @@
     59636 #endif
     59637 #include <transform.h>
     59638 
     59639-MODULE_ID("$Id: tput.c,v 1.46 2010/01/09 16:53:24 tom Exp $")
     59640+MODULE_ID("$Id: tput.c,v 1.48 2012/02/18 21:51:17 tom Exp $")
     59641 
     59642 #define PUTS(s)                fputs(s, stdout)
     59643 #define PUTCHAR(c)     putchar(c)
     59644@@ -94,9 +94,6 @@
     59645  * Lookup the type of call we should make to tparm().  This ignores the actual
     59646  * terminfo capability (bad, because it is not extensible), but makes this
     59647  * code portable to platforms where sizeof(int) != sizeof(char *).
     59648- *
     59649- * FIXME: If we want extensibility, analyze the capability string as we do
     59650- * in tparm() to decide how to parse the varargs list.
     59651  */
     59652 static TParams
     59653 tparm_type(const char *name)
     59654@@ -338,7 +335,7 @@
     59655            case Numbers:
     59656            default:
     59657                (void) _nc_tparm_analyze(s, p_is_s, &popcount);
     59658-#define myParam(n) (p_is_s[n - 1] != 0 ? ((long) strings[n]) : numbers[n])
     59659+#define myParam(n) (p_is_s[n - 1] != 0 ? ((TPARM_ARG) strings[n]) : numbers[n])
     59660                s = TPARM_9(s,
     59661                            myParam(1),
     59662                            myParam(2),
    4126159663diff -Naur ncurses-5.9.orig/progs/transform.c ncurses-5.9/progs/transform.c
    41262 --- ncurses-5.9.orig/progs/transform.c  2012-02-16 18:25:12.639809512 +0000
    41263 +++ ncurses-5.9/progs/transform.c       2012-02-16 18:25:13.011819328 +0000
     59664--- ncurses-5.9.orig/progs/transform.c  2012-08-25 19:57:59.419900852 +0000
     59665+++ ncurses-5.9/progs/transform.c       2012-08-25 19:58:00.063231144 +0000
    4126459666@@ -1,5 +1,5 @@
    4126559667 /****************************************************************************
     
    4130859710     trim_suffix(b, &len_b);
    4130959711diff -Naur ncurses-5.9.orig/progs/tset.c ncurses-5.9/progs/tset.c
    41310 --- ncurses-5.9.orig/progs/tset.c       2012-02-16 18:25:12.635809407 +0000
    41311 +++ ncurses-5.9/progs/tset.c    2012-02-16 18:25:13.215824712 +0000
     59712--- ncurses-5.9.orig/progs/tset.c       2012-08-25 19:57:59.419900852 +0000
     59713+++ ncurses-5.9/progs/tset.c    2012-08-25 19:58:00.929893713 +0000
    4131259714@@ -1,5 +1,5 @@
    4131359715 /****************************************************************************
     
    4132259724 
    4132359725-MODULE_ID("$Id: tset.c,v 1.82 2010/05/01 21:42:46 tom Exp $")
    41324 +MODULE_ID("$Id: tset.c,v 1.87 2012/01/21 23:55:05 tom Exp $")
     59726+MODULE_ID("$Id: tset.c,v 1.89 2012/02/22 22:50:47 tom Exp $")
    4132559727 
    4132659728 /*
     
    4134859750 #define LOWERCASE(c) ((isalpha(UChar(c)) && isupper(UChar(c))) ? tolower(UChar(c)) : (c))
    4134959751 
    41350 @@ -203,7 +210,7 @@
     59752@@ -203,13 +210,13 @@
    4135159753 failed(const char *msg)
    4135259754 {
     
    4135659758 
    4135759759     if ((int) len < (int) sizeof(temp) - 12) {
    41358         strcpy(temp, _nc_progname);
     59760-       strcpy(temp, _nc_progname);
     59761-       strcat(temp, ": ");
     59762+       _nc_STRCPY(temp, _nc_progname, sizeof(temp));
     59763+       _nc_STRCAT(temp, ": ", sizeof(temp));
     59764     } else {
     59765-       strcpy(temp, "tset: ");
     59766+       _nc_STRCPY(temp, "tset: ", sizeof(temp));
     59767     }
     59768     perror(strncat(temp, msg, sizeof(temp) - strlen(temp) - 2));
     59769     exit_error();
    4135959770@@ -1043,11 +1050,18 @@
    4136059771 {
     
    4139059801            /* Set window size if not set already */
    4139159802diff -Naur ncurses-5.9.orig/test/Makefile.in ncurses-5.9/test/Makefile.in
    41392 --- ncurses-5.9.orig/test/Makefile.in   2012-02-16 18:25:12.635809407 +0000
    41393 +++ ncurses-5.9/test/Makefile.in        2012-02-16 18:25:13.011819328 +0000
     59803--- ncurses-5.9.orig/test/Makefile.in   2012-08-25 19:57:59.403234265 +0000
     59804+++ ncurses-5.9/test/Makefile.in        2012-08-25 19:58:00.063231144 +0000
    4139459805@@ -1,6 +1,6 @@
    4139559806-# $Id: Makefile.in,v 1.108 2010/11/28 16:39:40 tom Exp $
     
    4142259833 LINT_OPTS      = @LINT_OPTS@
    4142359834diff -Naur ncurses-5.9.orig/test/README ncurses-5.9/test/README
    41424 --- ncurses-5.9.orig/test/README        2012-02-16 18:25:12.635809407 +0000
    41425 +++ ncurses-5.9/test/README     2012-02-16 18:25:13.215824712 +0000
     59835--- ncurses-5.9.orig/test/README        2012-08-25 19:57:59.403234265 +0000
     59836+++ ncurses-5.9/test/README     2012-08-25 19:58:00.399896218 +0000
    4142659837@@ -1,5 +1,5 @@
    4142759838 -------------------------------------------------------------------------------
     
    4145959870 use_env_sp                     -
    4146059871diff -Naur ncurses-5.9.orig/test/aclocal.m4 ncurses-5.9/test/aclocal.m4
    41461 --- ncurses-5.9.orig/test/aclocal.m4    2012-02-16 18:25:12.631809302 +0000
    41462 +++ ncurses-5.9/test/aclocal.m4 2012-02-16 18:25:13.139822706 +0000
     59872--- ncurses-5.9.orig/test/aclocal.m4    2012-08-25 19:57:59.406567583 +0000
     59873+++ ncurses-5.9/test/aclocal.m4 2012-08-25 19:58:02.206554341 +0000
    4146359874@@ -1,5 +1,5 @@
    4146459875 dnl***************************************************************************
     
    4147359884 dnl
    4147459885-dnl $Id: aclocal.m4,v 1.50 2011/03/24 08:28:07 tom Exp $
    41475 +dnl $Id: aclocal.m4,v 1.74 2012/01/14 17:16:53 tom Exp $
     59886+dnl $Id: aclocal.m4,v 1.78 2012/08/04 18:14:48 tom Exp $
    4147659887 dnl
    4147759888 dnl Author: Thomas E. Dickey
     
    4154659957 cf_cv_ansi_cc=no
    4154759958 cf_save_CFLAGS="$CFLAGS"
    41548 @@ -533,7 +579,7 @@
     59959@@ -434,6 +480,39 @@
     59960 fi
     59961 ])dnl
     59962 dnl ---------------------------------------------------------------------------
     59963+dnl CF_CLANG_COMPILER version: 1 updated: 2012/06/16 14:55:39
     59964+dnl -----------------
     59965+dnl Check if the given compiler is really clang.  clang's C driver defines
     59966+dnl __GNUC__ (fooling the configure script into setting $GCC to yes) but does
     59967+dnl not ignore some gcc options.
     59968+dnl
     59969+dnl This macro should be run "soon" after AC_PROG_CC or AC_PROG_CPLUSPLUS, to
     59970+dnl ensure that it is not mistaken for gcc/g++.  It is normally invoked from
     59971+dnl the wrappers for gcc and g++ warnings.
     59972+dnl
     59973+dnl $1 = GCC (default) or GXX
     59974+dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS
     59975+dnl $3 = CFLAGS (default) or CXXFLAGS
     59976+AC_DEFUN([CF_CLANG_COMPILER],[
     59977+ifelse([$2],,CLANG_COMPILER,[$2])=no
     59978+
     59979+if test "$ifelse([$1],,[$1],GCC)" = yes ; then
     59980+       AC_MSG_CHECKING(if this is really Clang ifelse([$1],GXX,C++,C) compiler)
     59981+       cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])"
     59982+       ifelse([$3],,CFLAGS,[$3])="$ifelse([$3],,CFLAGS,[$3]) -Qunused-arguments"
     59983+       AC_TRY_COMPILE([],[
     59984+#ifdef __clang__
     59985+#else
     59986+make an error
     59987+#endif
     59988+],[ifelse([$2],,CLANG_COMPILER,[$2])=yes
     59989+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     59990+],[])
     59991+       ifelse([$3],,CFLAGS,[$3])="$cf_save_CFLAGS"
     59992+       AC_MSG_RESULT($ifelse([$2],,CLANG_COMPILER,[$2]))
     59993+fi
     59994+])
     59995+dnl ---------------------------------------------------------------------------
     59996 dnl CF_CURSES_ACS_MAP version: 6 updated: 2010/10/23 15:54:49
     59997 dnl -----------------
     59998 dnl Check for likely values of acs_map[]:
     59999@@ -533,7 +612,7 @@
    4154960000 CF_CURSES_LIBS
    4155060001 ])dnl
     
    4155560006 dnl Look for the curses headers.
    4155660007 AC_DEFUN([CF_CURSES_CPPFLAGS],[
    41557 @@ -542,13 +588,19 @@
     60008@@ -542,13 +621,19 @@
    4155860009 cf_cv_curses_incdir=no
    4155960010 case $host_os in #(vi
     
    4158060031 esac
    4158160032 ])
    41582 @@ -558,7 +610,7 @@
     60033@@ -558,7 +643,7 @@
    4158360034 CF_TERM_HEADER
    4158460035 ])dnl
     
    4158960040 dnl Curses-functions are a little complicated, since a lot of them are macros.
    4159060041 AC_DEFUN([CF_CURSES_FUNCS],
    41591 @@ -566,6 +618,7 @@
     60042@@ -566,6 +651,7 @@
    4159260043 AC_REQUIRE([CF_CURSES_CPPFLAGS])dnl
    4159360044 AC_REQUIRE([CF_XOPEN_CURSES])
     
    4159760048 do
    4159860049        CF_UPPER(cf_tr_func,$cf_func)
    41599 @@ -578,7 +631,8 @@
     60050@@ -578,7 +664,8 @@
    4160060051                        [
    4160160052 #ifndef ${cf_func}
     
    4160760058                        ],
    4160860059                        [cf_result=yes],
    41609 @@ -595,7 +649,7 @@
     60060@@ -595,7 +682,7 @@
    4161060061 done
    4161160062 ])dnl
     
    4161660067 dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common
    4161760068 dnl variations of ncurses' installs.
    41618 @@ -605,10 +659,10 @@
     60069@@ -605,10 +692,10 @@
    4161960070 AC_CACHE_CHECK(if we have identified curses headers,cf_cv_ncurses_header,[
    4162060071 cf_cv_ncurses_header=none
     
    4163160082 AC_TRY_COMPILE([#include <${cf_header}>],
    4163260083        [initscr(); tgoto("?", 0,0)],
    41633 @@ -624,7 +678,7 @@
     60084@@ -624,7 +711,7 @@
    4163460085 AC_CHECK_HEADERS($cf_cv_ncurses_header)
    4163560086 ])dnl
    4163660087 dnl ---------------------------------------------------------------------------
    4163760088-dnl CF_CURSES_LIBS version: 33 updated: 2011/03/06 12:37:18
    41638 +dnl CF_CURSES_LIBS version: 35 updated: 2011/08/09 21:06:37
     60089+dnl CF_CURSES_LIBS version: 36 updated: 2012/07/07 21:02:48
    4163960090 dnl --------------
    4164060091 dnl Look for the curses libraries.  Older curses implementations may require
    4164160092 dnl termcap/termlib to be linked as well.  Call CF_CURSES_CPPFLAGS first.
    41642 @@ -644,16 +698,23 @@
     60093@@ -644,16 +731,23 @@
    4164360094     AC_CHECK_LIB(mytinfo,tgoto,[CF_ADD_LIBS(-lmytinfo)])
    4164460095     ;;
     
    4167460125 linux*)
    4167560126        case `arch 2>/dev/null` in
    41676 @@ -671,9 +732,12 @@
     60127@@ -671,9 +765,12 @@
    4167760128        esac
    4167860129     ;;
     
    4169060141     ac_cv_func_initscr=yes
    4169160142     ;;
    41692 @@ -694,7 +758,7 @@
     60143@@ -694,7 +791,7 @@
    4169360144     # Check for library containing tgoto.  Do this before curses library
    4169460145     # because it may be needed to link the test-case for initscr.
    4169560146     AC_CHECK_FUNC(tgoto,[cf_term_lib=predefined],[
    4169660147-        for cf_term_lib in $cf_check_list termcap termlib unknown
    41697 +        for cf_term_lib in $cf_check_list otermcap termcap termlib unknown
     60148+        for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown
    4169860149         do
    4169960150             AC_CHECK_LIB($cf_term_lib,tgoto,[break])
    4170060151         done
    41701 @@ -738,7 +802,7 @@
     60152@@ -738,7 +835,7 @@
    4170260153 
    4170360154 ])dnl
     
    4170860159 dnl SVr4 curses should have term.h as well (where it puts the definitions of
    4170960160 dnl the low-level interface).  This may not be true in old/broken implementations,
    41710 @@ -752,9 +816,17 @@
     60161@@ -752,9 +849,17 @@
    4171160162 
    4171260163 # If we found <ncurses/curses.h>, look for <ncurses/term.h>, but always look
     
    4172960180        AC_TRY_COMPILE([
    4173060181 #include <${cf_cv_ncurses_header:-curses.h}>
    41731 @@ -800,6 +872,61 @@
     60182@@ -800,6 +905,61 @@
    4173260183 esac
    4173360184 ])dnl
     
    4179160242 dnl ------------------
    4179260243 dnl Check for likely values of wacs_map[].
    41793 @@ -922,6 +1049,25 @@
     60244@@ -922,6 +1082,25 @@
    4179460245 fi
    4179560246 ])dnl
     
    4181760268 dnl ------------------
    4181860269 dnl Configure-option to enable gcc warnings
    41819 @@ -1377,6 +1523,29 @@
     60270@@ -1268,7 +1447,7 @@
     60271 fi
     60272 ])dnl
     60273 dnl ---------------------------------------------------------------------------
     60274-dnl CF_GCC_WARNINGS version: 27 updated: 2010/10/23 15:52:32
     60275+dnl CF_GCC_WARNINGS version: 29 updated: 2012/06/16 14:55:39
     60276 dnl ---------------
     60277 dnl Check if the compiler supports useful warning options.  There's a few that
     60278 dnl we don't use, simply because they're too noisy:
     60279@@ -1291,6 +1470,7 @@
     60280 [
     60281 AC_REQUIRE([CF_GCC_VERSION])
     60282 CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS)
     60283+CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS)
     60284 
     60285 cat > conftest.$ac_ext <<EOF
     60286 #line __oline__ "${as_me:-configure}"
     60287@@ -1366,6 +1546,13 @@
     60288                                        continue;;
     60289                                esac
     60290                                ;;
     60291+                       Wpointer-arith) #(vi
     60292+                               case $GCC_VERSION in
     60293+                               [[12]].*)
     60294+                                       CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
     60295+                                       continue;;
     60296+                               esac
     60297+                               ;;
     60298                        esac
     60299                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
     60300                fi
     60301@@ -1377,6 +1564,29 @@
    4182060302 AC_SUBST(EXTRA_CFLAGS)
    4182160303 ])dnl
     
    4184760329 dnl -------------
    4184860330 dnl Check if we must define _GNU_SOURCE to get a reasonable value for
    41849 @@ -1498,6 +1667,60 @@
     60331@@ -1498,6 +1708,60 @@
    4185060332 fi
    4185160333 ])dnl
     
    4190860390 dnl ---------------
    4190960391 dnl Construct a search-list of directories for a nonstandard library-file
    41910 @@ -1690,7 +1913,7 @@
     60392@@ -1690,7 +1954,7 @@
    4191160393        ,[$1=no])
    4191260394 ])dnl
     
    4191760399 dnl Tie together the configure-script macros for ncurses.
    4191860400 dnl Prefer the "-config" script from ncurses 6.x, to simplify analysis.
    41919 @@ -1702,7 +1925,10 @@
     60401@@ -1702,7 +1966,10 @@
    4192060402 cf_ncuconfig_root=ifelse($1,,ncurses,$1)
    4192160403 
     
    4192960411 if test "$NCURSES_CONFIG" != none ; then
    4193060412 
    41931 @@ -2133,13 +2359,15 @@
     60413@@ -2096,7 +2363,7 @@
     60414 esac
     60415 ])dnl
     60416 dnl ---------------------------------------------------------------------------
     60417-dnl CF_PATH_SYNTAX version: 13 updated: 2010/05/26 05:38:42
     60418+dnl CF_PATH_SYNTAX version: 14 updated: 2012/06/19 20:58:54
     60419 dnl --------------
     60420 dnl Check the argument to see that it looks like a pathname.  Rewrite it if it
     60421 dnl begins with one of the prefix/exec_prefix variables, and then again if the
     60422@@ -2116,7 +2383,7 @@
     60423   ;;
     60424 .[[a-zA-Z]]:[[\\/]]*) #(vi OS/2 EMX
     60425   ;;
     60426-.\[$]{*prefix}*) #(vi
     60427+.\[$]{*prefix}*|.\[$]{*dir}*) #(vi
     60428   eval $1="[$]$1"
     60429   case ".[$]$1" in #(vi
     60430   .NONE/*)
     60431@@ -2133,13 +2400,15 @@
    4193260432 esac
    4193360433 ])dnl
     
    4194760447 if test "$XCURSES_CONFIG" != none ; then
    4194860448 
    41949 @@ -2176,7 +2404,7 @@
     60449@@ -2176,7 +2445,7 @@
    4195060450 fi
    4195160451 ])dnl
     
    4195660456 dnl Check for the package-config program, unless disabled by command-line.
    4195760457 AC_DEFUN([CF_PKG_CONFIG],
    41958 @@ -2193,7 +2421,9 @@
     60458@@ -2193,7 +2462,9 @@
    4195960459        PKG_CONFIG=none
    4196060460        ;;
     
    4196760467 *)
    4196860468        PKG_CONFIG=$withval
    41969 @@ -2373,6 +2603,121 @@
     60469@@ -2373,6 +2644,121 @@
    4197060470                -e 's/-[[UD]]'"$3"'\(=[[^       ]]*\)\?[$]//g'`
    4197160471 ])dnl
     
    4208960589 dnl ---------------
    4209060590 dnl signal handler, but there are some gcc depedencies in that recommendation.
    42091 @@ -2495,6 +2840,59 @@
     60591@@ -2495,6 +2881,59 @@
    4209260592 esac
    4209360593 ])dnl
     
    4214960649 dnl -----------------
    4215060650 dnl This is a simple wrapper to use for pkg-config, for libraries which may be
    42151 @@ -2520,6 +2918,45 @@
     60651@@ -2520,6 +2959,45 @@
    4215260652 fi
    4215360653 ])
     
    4219560695 dnl --------
    4219660696 dnl Make an uppercase version of a variable
    42197 @@ -2667,6 +3104,60 @@
     60697@@ -2667,6 +3145,60 @@
    4219860698 fi
    4219960699 ])dnl
     
    4225660756 dnl ----------------
    4225760757 AC_DEFUN([CF_WITH_VALGRIND],[
    42258 @@ -2714,7 +3205,7 @@
     60758@@ -2714,7 +3246,7 @@
    4225960759 test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
    4226060760 ])dnl
     
    4226560765 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
    4226660766 dnl or adapt to the vendor's definitions to get equivalent functionality,
    42267 @@ -2730,7 +3221,7 @@
     60767@@ -2730,7 +3262,7 @@
    4226860768 cf_xopen_source=
    4226960769 
     
    4227460774        ;;
    4227560775 cygwin) #(vi
    42276 @@ -2741,6 +3232,7 @@
     60776@@ -2741,6 +3273,7 @@
    4227760777        ;;
    4227860778 darwin*) #(vi
     
    4228260782 freebsd*|dragonfly*) #(vi
    4228360783        # 5.x headers associate
    42284 @@ -2758,15 +3250,23 @@
     60784@@ -2758,15 +3291,23 @@
    4228560785        ;;
    4228660786 irix[[56]].*) #(vi
     
    4230860808 openbsd*) #(vi
    4230960809        # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
    42310 @@ -2780,36 +3280,11 @@
     60810@@ -2780,36 +3321,11 @@
    4231160811 sco*) #(vi
    4231260812        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
     
    4234760847        ;;
    4234860848 esac
    42349 @@ -2817,6 +3292,35 @@
     60849@@ -2817,6 +3333,35 @@
    4235060850 if test -n "$cf_xopen_source" ; then
    4235160851        CF_ADD_CFLAGS($cf_xopen_source)
     
    4238360883 dnl ---------------------------------------------------------------------------
    4238460884 dnl CF_X_ATHENA version: 20 updated: 2010/11/09 05:18:02
    42385 @@ -2957,7 +3461,7 @@
     60885@@ -2957,7 +3502,7 @@
    4238660886 fi
    4238760887 ])
     
    4239260892 dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of
    4239360893 dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw.
    42394 @@ -2973,19 +3477,24 @@
     60894@@ -2973,19 +3518,24 @@
    4239560895        /usr/local
    4239660896 do
     
    4242460924                        AC_TRY_LINK([
    4242560925 #include <X11/Intrinsic.h>
    42426 @@ -2996,12 +3505,14 @@
     60926@@ -2996,12 +3546,14 @@
    4242760927                                [cf_result=no])
    4242860928                        AC_MSG_RESULT($cf_result)
     
    4244260942 if test -z "$cf_x_athena_lib" ; then
    4244360943diff -Naur ncurses-5.9.orig/test/background.c ncurses-5.9/test/background.c
    42444 --- ncurses-5.9.orig/test/background.c  2012-02-16 18:25:12.635809407 +0000
    42445 +++ ncurses-5.9/test/background.c       2012-02-16 18:25:13.015819433 +0000
     60944--- ncurses-5.9.orig/test/background.c  2012-08-25 19:57:59.403234265 +0000
     60945+++ ncurses-5.9/test/background.c       2012-08-25 19:58:01.743223199 +0000
    4244660946@@ -1,5 +1,5 @@
    4244760947 /****************************************************************************
    4244860948- * Copyright (c) 2003,2006 Free Software Foundation, Inc.                   *
    42449 + * Copyright (c) 2003-2006,2011 Free Software Foundation, Inc.              *
     60949+ * Copyright (c) 2003-2011,2012 Free Software Foundation, Inc.              *
    4245060950  *                                                                          *
    4245160951  * Permission is hereby granted, free of charge, to any person obtaining a  *
    4245260952  * copy of this software and associated documentation files (the            *
    42453 @@ -26,15 +26,128 @@
     60953@@ -26,15 +26,172 @@
    4245460954  * authorization.                                                           *
    4245560955  ****************************************************************************/
    4245660956 /*
    4245760957- * $Id: background.c,v 1.3 2006/06/03 16:43:08 tom Exp $
    42458 + * $Id: background.c,v 1.9 2011/04/23 21:16:38 tom Exp $
     60958+ * $Id: background.c,v 1.13 2012/06/09 20:30:33 tom Exp $
    4245960959  */
    4246060960 
     
    4247160971+{
    4247260972+    short f, b;
    42473 +
    42474 +    pair_content(0, &f, &b);
    42475 +    printw("pair 0 contains (%d,%d)\n", f, b);
     60973+    int row;
     60974+    int chr;
     60975+
     60976+    if (pair_content(0, &f, &b) == ERR) {
     60977+       printw("pair 0 contains no data\n");
     60978+    } else {
     60979+       printw("pair 0 contains (%d,%d)\n", f, b);
     60980+    }
    4247660981+    getch();
    4247760982+
    4247860983+    printw("Initializing pair 1 to red/%s\n", color_name(default_bg));
    4247960984+    init_pair(1, COLOR_RED, (short) default_bg);
    42480 +    bkgdset(' ' | COLOR_PAIR(1));
     60985+    bkgdset((chtype) (' ' | COLOR_PAIR(1)));
    4248160986+    printw("RED/BLACK\n");
    4248260987+    getch();
     
    4248460989+    printw("Initializing pair 2 to %s/blue\n", color_name(default_fg));
    4248560990+    init_pair(2, (short) default_fg, COLOR_BLUE);
    42486 +    bkgdset(' ' | COLOR_PAIR(2));
     60991+    bkgdset((chtype) (' ' | COLOR_PAIR(2)));
    4248760992+    printw("This line should be %s/blue\n", color_name(default_fg));
    4248860993+    getch();
    4248960994+
    42490 +    printw("Resetting colors to pair 0\n");
    42491 +    bkgdset(' ' | COLOR_PAIR(0));
     60995+    printw("Initializing pair 3 to %s/cyan (ACS_HLINE)\n", color_name(default_fg));
     60996+    init_pair(3, (short) default_fg, COLOR_CYAN);
     60997+    printw("...and drawing a box which should be followed by lines\n");
     60998+    bkgdset(ACS_HLINE | COLOR_PAIR(3));
     60999+    /*
     61000+     * Characters from vt100 line-drawing should be mapped to line-drawing,
     61001+     * since A_ALTCHARSET is set in the background, and the character part
     61002+     * of the background is replaced by the nonblank characters written.
     61003+     *
     61004+     * Characters not in the line-drawing range are usually sent as-is.
     61005+     *
     61006+     * With SVr4 curses it is possible to rely on this to mix uppercase text
     61007+     * with the (lowercase) line-drawing characters.  ncurses uses some of
     61008+     * the uppercase characters for encoding thick- and double-lines.
     61009+     */
     61010+    row = 7;
     61011+    mvprintw(row++, 10, "l");
     61012+    for (chr = 0; chr < 32; ++chr)
     61013+       addch(' ');
     61014+    printw("x\n");
     61015+    chr = 32;
     61016+    while (chr < 128) {
     61017+       if ((chr % 32) == 0)
     61018+           mvprintw(row++, 10, "x");
     61019+       addch((chtype) ((chr == 127) ? ' ' : chr));
     61020+       if ((++chr % 32) == 0)
     61021+           printw("x\n");
     61022+    }
     61023+    mvprintw(row++, 10, "m");
     61024+    for (chr = 0; chr < 32; ++chr)
     61025+       addch(' ');
     61026+    printw("j\n");
     61027+    getch();
     61028+
     61029+    bkgdset((chtype) (' ' | COLOR_PAIR(0)));
    4249261030+    printw("Default Colors\n");
    4249361031+    getch();
    4249461032+
    4249561033+    printw("Resetting colors to pair 1\n");
    42496 +    bkgdset(' ' | COLOR_PAIR(1));
     61034+    bkgdset((chtype) (' ' | COLOR_PAIR(1)));
    4249761035+    printw("This line should be red/%s\n", color_name(default_bg));
    4249861036+    getch();
    4249961037+
    4250061038+    printw("Setting screen to pair 0\n");
    42501 +    bkgd(' ' | COLOR_PAIR(0));
     61039+    bkgd((chtype) (' ' | COLOR_PAIR(0)));
    4250261040+    getch();
    4250361041+
    4250461042+    printw("Setting screen to pair 1\n");
    42505 +    bkgd(' ' | COLOR_PAIR(1));
     61043+    bkgd((chtype) (' ' | COLOR_PAIR(1)));
    4250661044+    getch();
    4250761045+
    4250861046+    printw("Setting screen to pair 2\n");
    42509 +    bkgd(' ' | COLOR_PAIR(2));
     61047+    bkgd((chtype) (' ' | COLOR_PAIR(2)));
    4251061048+    getch();
    4251161049+
     61050+    printw("Setting screen to pair 3\n");
     61051+    bkgd((chtype) (' ' | COLOR_PAIR(3)));
     61052+    getch();
     61053+
    4251261054+    printw("Setting screen to pair 0\n");
    42513 +    bkgd(' ' | COLOR_PAIR(0));
     61055+    bkgd((chtype) (' ' | COLOR_PAIR(0)));
    4251461056+    getch();
    4251561057+}
     
    4255161093+#endif
    4255261094+    int n;
     61095+
     61096+    setlocale(LC_ALL, "");
    4255361097+
    4255461098+    while ((n = getopt(argc, argv, "ab:df:")) != -1) {
     
    4258361127     initscr();
    4258461128     cbreak();
    42585 @@ -43,47 +156,30 @@
     61129@@ -43,47 +200,30 @@
    4258661130     if (has_colors()) {
    4258761131        start_color();
     
    4258961133-       pair_content(0, &f, &b);
    4259061134-       printw("pair 0 contains (%d,%d)\n", f, b);
    42591 -       getch();
    42592 -
    42593 -       printw("Initializing pair 1 to red/black\n");
    42594 -       init_pair(1, COLOR_RED, COLOR_BLACK);
    42595 -       bkgdset(' ' | COLOR_PAIR(1));
    42596 -       printw("RED/BLACK\n");
    42597 -       getch();
    42598 -
    42599 -       printw("Initializing pair 2 to white/blue\n");
    42600 -       init_pair(2, COLOR_WHITE, COLOR_BLUE);
    42601 -       bkgdset(' ' | COLOR_PAIR(2));
    42602 -       printw("WHITE/BLUE\n");
    42603 -       getch();
    42604 -
    42605 -       printw("Resetting colors to pair 0\n");
    42606 -       bkgdset(' ' | COLOR_PAIR(0));
    42607 -       printw("Default Colors\n");
    42608 -       getch();
    42609 -
    42610 -       printw("Resetting colors to pair 1\n");
    42611 -       bkgdset(' ' | COLOR_PAIR(1));
    42612 -       printw("RED/BLACK\n");
    4261361135-       getch();
    4261461136+#if HAVE_USE_DEFAULT_COLORS
     
    4263561157+#endif
    4263661158 
     61159-       printw("Initializing pair 1 to red/black\n");
     61160-       init_pair(1, COLOR_RED, COLOR_BLACK);
     61161-       bkgdset(' ' | COLOR_PAIR(1));
     61162-       printw("RED/BLACK\n");
     61163-       getch();
     61164-
     61165-       printw("Initializing pair 2 to white/blue\n");
     61166-       init_pair(2, COLOR_WHITE, COLOR_BLUE);
     61167-       bkgdset(' ' | COLOR_PAIR(2));
     61168-       printw("WHITE/BLUE\n");
     61169-       getch();
     61170-
     61171-       printw("Resetting colors to pair 0\n");
     61172-       bkgdset(' ' | COLOR_PAIR(0));
     61173-       printw("Default Colors\n");
     61174-       getch();
     61175-
     61176-       printw("Resetting colors to pair 1\n");
     61177-       bkgdset(' ' | COLOR_PAIR(1));
     61178-       printw("RED/BLACK\n");
     61179-       getch();
     61180-
    4263761181-       printw("Setting screen to pair 0\n");
    4263861182-       bkgd(' ' | COLOR_PAIR(0));
     
    4265461198     } else {
    4265561199        printw("This demo requires a color terminal");
     61200diff -Naur ncurses-5.9.orig/test/bs.c ncurses-5.9/test/bs.c
     61201--- ncurses-5.9.orig/test/bs.c  2012-08-25 19:57:59.399900947 +0000
     61202+++ ncurses-5.9/test/bs.c       2012-08-25 19:58:01.743223199 +0000
     61203@@ -1,5 +1,5 @@
     61204 /****************************************************************************
     61205- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     61206+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     61207  *                                                                          *
     61208  * Permission is hereby granted, free of charge, to any person obtaining a  *
     61209  * copy of this software and associated documentation files (the            *
     61210@@ -34,7 +34,7 @@
     61211  * v2.0 featuring strict ANSI/POSIX conformance, November 1993.
     61212  * v2.1 with ncurses mouse support, September 1995
     61213  *
     61214- * $Id: bs.c,v 1.52 2010/11/13 20:07:52 tom Exp $
     61215+ * $Id: bs.c,v 1.53 2012/06/09 20:30:32 tom Exp $
     61216  */
     61217 
     61218 #include <test.priv.h>
     61219@@ -368,7 +368,7 @@
     61220        MvAddCh(PYBASE + i, PXBASE - 3, (chtype) (i + 'A'));
     61221 #ifdef A_COLOR
     61222        if (has_colors())
     61223-           attron(COLOR_PAIR(COLOR_BLUE));
     61224+           attron((attr_t) COLOR_PAIR(COLOR_BLUE));
     61225 #endif /* A_COLOR */
     61226        (void) addch(' ');
     61227        for (j = 0; j < BWIDTH; j++)
     61228@@ -386,7 +386,7 @@
     61229        MvAddCh(CYBASE + i, CXBASE - 3, (chtype) (i + 'A'));
     61230 #ifdef A_COLOR
     61231        if (has_colors())
     61232-           attron(COLOR_PAIR(COLOR_BLUE));
     61233+           attron((attr_t) COLOR_PAIR(COLOR_BLUE));
     61234 #endif /* A_COLOR */
     61235        (void) addch(' ');
     61236        for (j = 0; j < BWIDTH; j++)
     61237@@ -769,7 +769,7 @@
     61238                                    cgoto(y1, x1);
     61239 #ifdef A_COLOR
     61240                                    if (has_colors())
     61241-                                       attron(COLOR_PAIR(COLOR_GREEN));
     61242+                                       attron((attr_t) COLOR_PAIR(COLOR_GREEN));
     61243 #endif /* A_COLOR */
     61244                                    (void) addch(MARK_MISS);
     61245 #ifdef A_COLOR
     61246@@ -795,7 +795,7 @@
     61247                        pgoto(y1, x1);
     61248 #ifdef A_COLOR
     61249                        if (has_colors())
     61250-                           attron(COLOR_PAIR(COLOR_RED));
     61251+                           attron((attr_t) COLOR_PAIR(COLOR_RED));
     61252 #endif /* A_COLOR */
     61253                        (void) addch(SHOWHIT);
     61254 #ifdef A_COLOR
     61255@@ -834,9 +834,9 @@
     61256 #ifdef A_COLOR
     61257     if (has_colors()) {
     61258        if (hit)
     61259-           attron(COLOR_PAIR(COLOR_RED));
     61260+           attron((attr_t) COLOR_PAIR(COLOR_RED));
     61261        else
     61262-           attron(COLOR_PAIR(COLOR_GREEN));
     61263+           attron((attr_t) COLOR_PAIR(COLOR_GREEN));
     61264     }
     61265 #endif /* A_COLOR */
     61266     (void) addch((chtype) hits[PLAYER][curx][cury]);
     61267@@ -965,9 +965,9 @@
     61268 #ifdef A_COLOR
     61269     if (has_colors()) {
     61270        if (hit)
     61271-           attron(COLOR_PAIR(COLOR_RED));
     61272+           attron((attr_t) COLOR_PAIR(COLOR_RED));
     61273        else
     61274-           attron(COLOR_PAIR(COLOR_GREEN));
     61275+           attron((attr_t) COLOR_PAIR(COLOR_GREEN));
     61276     }
     61277 #endif /* A_COLOR */
     61278     (void) addch((chtype) (hit ? SHOWHIT : SHOWSPLASH));
     61279diff -Naur ncurses-5.9.orig/test/cardfile.c ncurses-5.9/test/cardfile.c
     61280--- ncurses-5.9.orig/test/cardfile.c    2012-08-25 19:57:59.403234265 +0000
     61281+++ ncurses-5.9/test/cardfile.c 2012-08-25 19:58:01.746556517 +0000
     61282@@ -1,5 +1,5 @@
     61283 /****************************************************************************
     61284- * Copyright (c) 1999-2008,2010 Free Software Foundation, Inc.              *
     61285+ * Copyright (c) 1999-2010,2012 Free Software Foundation, Inc.              *
     61286  *                                                                          *
     61287  * Permission is hereby granted, free of charge, to any person obtaining a  *
     61288  * copy of this software and associated documentation files (the            *
     61289@@ -29,7 +29,7 @@
     61290 /*
     61291  * Author: Thomas E. Dickey
     61292  *
     61293- * $Id: cardfile.c,v 1.38 2010/11/14 00:58:45 tom Exp $
     61294+ * $Id: cardfile.c,v 1.39 2012/06/09 20:30:32 tom Exp $
     61295  *
     61296  * File format: text beginning in column 1 is a title; other text is content.
     61297  */
     61298@@ -414,7 +414,7 @@
     61299        if ((win = newwin(panel_high, panel_wide, y, x)) == 0)
     61300            break;
     61301 
     61302-       wbkgd(win, COLOR_PAIR(pair_2));
     61303+       wbkgd(win, (chtype) COLOR_PAIR(pair_2));
     61304        keypad(win, TRUE);
     61305        p->panel = new_panel(win);
     61306        box(win, 0, 0);
     61307@@ -588,7 +588,7 @@
     61308            start_color();
     61309            init_pair(pair_1, COLOR_WHITE, COLOR_BLUE);
     61310            init_pair(pair_2, COLOR_WHITE, COLOR_CYAN);
     61311-           bkgd(COLOR_PAIR(pair_1));
     61312+           bkgd((chtype) COLOR_PAIR(pair_1));
     61313        } else {
     61314            try_color = FALSE;
     61315        }
     61316diff -Naur ncurses-5.9.orig/test/clip_printw.c ncurses-5.9/test/clip_printw.c
     61317--- ncurses-5.9.orig/test/clip_printw.c 2012-08-25 19:57:59.403234265 +0000
     61318+++ ncurses-5.9/test/clip_printw.c      2012-08-25 19:58:01.746556517 +0000
     61319@@ -1,5 +1,5 @@
     61320 /****************************************************************************
     61321- * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc.              *
     61322+ * Copyright (c) 2008-2010,2012 Free Software Foundation, Inc.              *
     61323  *                                                                          *
     61324  * Permission is hereby granted, free of charge, to any person obtaining a  *
     61325  * copy of this software and associated documentation files (the            *
     61326@@ -26,7 +26,7 @@
     61327  * authorization.                                                           *
     61328  ****************************************************************************/
     61329 /*
     61330- * $Id: clip_printw.c,v 1.7 2010/11/13 20:48:48 tom Exp $
     61331+ * $Id: clip_printw.c,v 1.8 2012/06/09 20:30:32 tom Exp $
     61332  *
     61333  * demonstrate how to use printw without wrapping.
     61334  */
     61335@@ -329,7 +329,7 @@
     61336     do {
     61337        switch (st.ch) {
     61338        case '.':               /* change from current position */
     61339-           (void) wattrset(win, st.attr | (chtype) COLOR_PAIR(st.pair));
     61340+           (void) wattrset(win, (int) (st.attr | (chtype) COLOR_PAIR(st.pair)));
     61341            if (st.count > 0) {
     61342                need = (unsigned) st.count + 1;
     61343                sprintf(fmt, "%%c%%%ds%%c", st.count);
    4265661344diff -Naur ncurses-5.9.orig/test/color_name.h ncurses-5.9/test/color_name.h
    4265761345--- ncurses-5.9.orig/test/color_name.h  1970-01-01 00:00:00.000000000 +0000
    42658 +++ ncurses-5.9/test/color_name.h       2012-02-16 18:25:13.015819433 +0000
     61346+++ ncurses-5.9/test/color_name.h       2012-08-25 19:58:00.066564462 +0000
    4265961347@@ -0,0 +1,103 @@
    4266061348+/****************************************************************************
     
    4276261450+#endif /* __COLORNAME_H */
    4276361451diff -Naur ncurses-5.9.orig/test/configure ncurses-5.9/test/configure
    42764 --- ncurses-5.9.orig/test/configure     2012-02-16 18:25:12.631809302 +0000
    42765 +++ ncurses-5.9/test/configure  2012-02-16 18:25:13.151823021 +0000
     61452--- ncurses-5.9.orig/test/configure     2012-08-25 19:57:59.406567583 +0000
     61453+++ ncurses-5.9/test/configure  2012-08-25 19:58:02.406553397 +0000
     61454@@ -1,6 +1,6 @@
     61455 #! /bin/sh
     61456 # Guess values for system-dependent variables and create Makefiles.
     61457-# Generated by Autoconf 2.52.20101002.
     61458+# Generated by Autoconf 2.52.20120811.
     61459 #
     61460 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     61461 # Free Software Foundation, Inc.
    4276661462@@ -105,42 +105,6 @@
    4276761463 : ${ac_max_here_lines=38}
     
    4280761503 # Initialize some variables set by options.
    4280861504 ac_init_help=
    42809 @@ -687,17 +651,20 @@
     61505@@ -170,15 +134,16 @@
     61506 bindir='${exec_prefix}/bin'
     61507 sbindir='${exec_prefix}/sbin'
     61508 libexecdir='${exec_prefix}/libexec'
     61509-datadir='${prefix}/share'
     61510+datarootdir='${prefix}/share'
     61511+datadir='${datarootdir}'
     61512 sysconfdir='${prefix}/etc'
     61513 sharedstatedir='${prefix}/com'
     61514 localstatedir='${prefix}/var'
     61515 libdir='${exec_prefix}/lib'
     61516 includedir='${prefix}/include'
     61517 oldincludedir='/usr/include'
     61518-infodir='${prefix}/info'
     61519-mandir='${prefix}/man'
     61520+infodir='${datarootdir}/info'
     61521+mandir='${datarootdir}/man'
     61522 
     61523 # Identity of this package.
     61524 PACKAGE_NAME=
     61525@@ -229,6 +194,13 @@
     61526   | --da=*)
     61527     datadir=$ac_optarg ;;
     61528 
     61529+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     61530+  | --dataroo | --dataro | --datar)
     61531+    ac_prev=datarootdir ;;
     61532+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     61533+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     61534+    datarootdir=$ac_optarg ;;
     61535+
     61536   -disable-* | --disable-*)
     61537     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     61538     # Reject names that are not valid shell variable names.
     61539@@ -504,7 +476,7 @@
     61540 done
     61541 
     61542 # Be sure to have absolute paths.
     61543-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     61544+for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
     61545               localstatedir libdir includedir oldincludedir infodir mandir
     61546 do
     61547   eval ac_val=$`echo $ac_var`
     61548@@ -641,15 +613,16 @@
     61549   --bindir=DIR            user executables [EPREFIX/bin]
     61550   --sbindir=DIR           system admin executables [EPREFIX/sbin]
     61551   --libexecdir=DIR        program executables [EPREFIX/libexec]
     61552-  --datadir=DIR           read-only architecture-independent data [PREFIX/share]
     61553+  --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
     61554+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     61555   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     61556   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     61557   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     61558   --libdir=DIR            object code libraries [EPREFIX/lib]
     61559   --includedir=DIR        C header files [PREFIX/include]
     61560   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     61561-  --infodir=DIR           info documentation [PREFIX/info]
     61562-  --mandir=DIR            man documentation [PREFIX/man]
     61563+  --infodir=DIR           info documentation [DATAROOTDIR/info]
     61564+  --mandir=DIR            man documentation [DATAROOTDIR/man]
     61565 EOF
     61566 
     61567   cat <<\EOF
     61568@@ -687,17 +660,20 @@
    4281061569   --with-dbmalloc         test: use Conor Cahill's dbmalloc library
    4281161570   --with-valgrind         test: use valgrind
     
    4283161590 Some influential environment variables:
    4283261591   CC          C compiler command
    42833 @@ -891,7 +858,7 @@
     61592@@ -767,7 +743,7 @@
     61593 running configure, to aid debugging if configure makes a mistake.
     61594 
     61595 It was created by $as_me, which was
     61596-generated by GNU Autoconf 2.52.20101002.  Invocation command line was
     61597+generated by GNU Autoconf 2.52.20120811.  Invocation command line was
     61598 
     61599   $ $0 $@
     61600 
     61601@@ -891,7 +867,7 @@
    4283461602 fi
    4283561603 for ac_site_file in $CONFIG_SITE; do
    4283661604   if test -r "$ac_site_file"; then
    4283761605-    { echo "$as_me:894: loading site script $ac_site_file" >&5
    42838 +    { echo "$as_me:861: loading site script $ac_site_file" >&5
     61606+    { echo "$as_me:870: loading site script $ac_site_file" >&5
    4283961607 echo "$as_me: loading site script $ac_site_file" >&6;}
    4284061608     cat "$ac_site_file" >&5
    4284161609     . "$ac_site_file"
    42842 @@ -902,7 +869,7 @@
     61610@@ -902,7 +878,7 @@
    4284361611   # Some versions of bash will fail to source /dev/null (special
    4284461612   # files actually), so we avoid doing that.
    4284561613   if test -f "$cache_file"; then
    4284661614-    { echo "$as_me:905: loading cache $cache_file" >&5
    42847 +    { echo "$as_me:872: loading cache $cache_file" >&5
     61615+    { echo "$as_me:881: loading cache $cache_file" >&5
    4284861616 echo "$as_me: loading cache $cache_file" >&6;}
    4284961617     case $cache_file in
    4285061618       [\\/]* | ?:[\\/]* ) . $cache_file;;
    42851 @@ -910,7 +877,7 @@
     61619@@ -910,7 +886,7 @@
    4285261620     esac
    4285361621   fi
    4285461622 else
    4285561623-  { echo "$as_me:913: creating cache $cache_file" >&5
    42856 +  { echo "$as_me:880: creating cache $cache_file" >&5
     61624+  { echo "$as_me:889: creating cache $cache_file" >&5
    4285761625 echo "$as_me: creating cache $cache_file" >&6;}
    4285861626   >$cache_file
    4285961627 fi
    42860 @@ -926,21 +893,21 @@
     61628@@ -926,21 +902,21 @@
    4286161629   eval ac_new_val="\$ac_env_${ac_var}_value"
    4286261630   case $ac_old_set,$ac_new_set in
    4286361631     set,)
    4286461632-      { echo "$as_me:929: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    42865 +      { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     61633+      { echo "$as_me:905: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    4286661634 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    4286761635       ac_cache_corrupted=: ;;
    4286861636     ,set)
    4286961637-      { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5
    42870 +      { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
     61638+      { echo "$as_me:909: error: \`$ac_var' was not set in the previous run" >&5
    4287161639 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    4287261640       ac_cache_corrupted=: ;;
     
    4287561643       if test "x$ac_old_val" != "x$ac_new_val"; then
    4287661644-        { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5
    42877 +        { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
     61645+        { echo "$as_me:915: error: \`$ac_var' has changed since the previous run:" >&5
    4287861646 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    4287961647-        { echo "$as_me:941:   former value:  $ac_old_val" >&5
    42880 +        { echo "$as_me:908:   former value:  $ac_old_val" >&5
     61648+        { echo "$as_me:917:   former value:  $ac_old_val" >&5
    4288161649 echo "$as_me:   former value:  $ac_old_val" >&2;}
    4288261650-        { echo "$as_me:943:   current value: $ac_new_val" >&5
    42883 +        { echo "$as_me:910:   current value: $ac_new_val" >&5
     61651+        { echo "$as_me:919:   current value: $ac_new_val" >&5
    4288461652 echo "$as_me:   current value: $ac_new_val" >&2;}
    4288561653         ac_cache_corrupted=:
    4288661654       fi;;
    42887 @@ -959,9 +926,9 @@
     61655@@ -959,9 +935,9 @@
    4288861656   fi
    4288961657 done
    4289061658 if $ac_cache_corrupted; then
    4289161659-  { echo "$as_me:962: error: changes in the environment can compromise the build" >&5
    42892 +  { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
     61660+  { echo "$as_me:938: error: changes in the environment can compromise the build" >&5
    4289361661 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    4289461662-  { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    42895 +  { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     61663+  { { echo "$as_me:940: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    4289661664 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    4289761665    { (exit 1); exit 1; }; }
    4289861666 fi
    42899 @@ -982,10 +949,10 @@
     61667@@ -982,10 +958,10 @@
    4290061668 echo "#! $SHELL" >conftest.sh
    4290161669 echo  "exit 0"   >>conftest.sh
    4290261670 chmod +x conftest.sh
    4290361671-if { (echo "$as_me:985: PATH=\".;.\"; conftest.sh") >&5
    42904 +if { (echo "$as_me:952: PATH=\".;.\"; conftest.sh") >&5
     61672+if { (echo "$as_me:961: PATH=\".;.\"; conftest.sh") >&5
    4290561673   (PATH=".;."; conftest.sh) 2>&5
    4290661674   ac_status=$?
    4290761675-  echo "$as_me:988: \$? = $ac_status" >&5
    42908 +  echo "$as_me:955: \$? = $ac_status" >&5
     61676+  echo "$as_me:964: \$? = $ac_status" >&5
    4290961677   (exit $ac_status); }; then
    4291061678   ac_path_separator=';'
    4291161679 else
    42912 @@ -1017,7 +984,7 @@
     61680@@ -1017,7 +993,7 @@
    4291361681   fi
    4291461682 done
    4291561683 if test -z "$ac_aux_dir"; then
    4291661684-  { { echo "$as_me:1020: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    42917 +  { { echo "$as_me:987: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     61685+  { { echo "$as_me:996: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    4291861686 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    4291961687    { (exit 1); exit 1; }; }
    4292061688 fi
    42921 @@ -1027,11 +994,11 @@
     61689@@ -1027,11 +1003,11 @@
    4292261690 
    4292361691 # Make sure we can run config.sub.
    4292461692 $ac_config_sub sun4 >/dev/null 2>&1 ||
    4292561693-  { { echo "$as_me:1030: error: cannot run $ac_config_sub" >&5
    42926 +  { { echo "$as_me:997: error: cannot run $ac_config_sub" >&5
     61694+  { { echo "$as_me:1006: error: cannot run $ac_config_sub" >&5
    4292761695 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    4292861696    { (exit 1); exit 1; }; }
    4292961697 
    4293061698-echo "$as_me:1034: checking build system type" >&5
    42931 +echo "$as_me:1001: checking build system type" >&5
     61699+echo "$as_me:1010: checking build system type" >&5
    4293261700 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    4293361701 if test "${ac_cv_build+set}" = set; then
    4293461702   echo $ECHO_N "(cached) $ECHO_C" >&6
    42935 @@ -1040,16 +1007,16 @@
     61703@@ -1040,16 +1016,16 @@
    4293661704 test -z "$ac_cv_build_alias" &&
    4293761705   ac_cv_build_alias=`$ac_config_guess`
    4293861706 test -z "$ac_cv_build_alias" &&
    4293961707-  { { echo "$as_me:1043: error: cannot guess build type; you must specify one" >&5
    42940 +  { { echo "$as_me:1010: error: cannot guess build type; you must specify one" >&5
     61708+  { { echo "$as_me:1019: error: cannot guess build type; you must specify one" >&5
    4294161709 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    4294261710    { (exit 1); exit 1; }; }
    4294361711 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    4294461712-  { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    42945 +  { { echo "$as_me:1014: error: $ac_config_sub $ac_cv_build_alias failed." >&5
     61713+  { { echo "$as_me:1023: error: $ac_config_sub $ac_cv_build_alias failed." >&5
    4294661714 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
    4294761715    { (exit 1); exit 1; }; }
     
    4294961717 fi
    4295061718-echo "$as_me:1052: result: $ac_cv_build" >&5
    42951 +echo "$as_me:1019: result: $ac_cv_build" >&5
     61719+echo "$as_me:1028: result: $ac_cv_build" >&5
    4295261720 echo "${ECHO_T}$ac_cv_build" >&6
    4295361721 build=$ac_cv_build
    4295461722 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    42955 @@ -1057,7 +1024,7 @@
     61723@@ -1057,7 +1033,7 @@
    4295661724 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    4295761725 
    4295861726 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
    4295961727-       echo "$as_me:1060: checking host system type" >&5
    42960 +       echo "$as_me:1027: checking host system type" >&5
     61728+       echo "$as_me:1036: checking host system type" >&5
    4296161729 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    4296261730 if test "${ac_cv_host+set}" = set; then
    4296361731   echo $ECHO_N "(cached) $ECHO_C" >&6
    42964 @@ -1066,12 +1033,12 @@
     61732@@ -1066,12 +1042,12 @@
    4296561733 test -z "$ac_cv_host_alias" &&
    4296661734   ac_cv_host_alias=$ac_cv_build_alias
    4296761735 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    4296861736-  { { echo "$as_me:1069: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    42969 +  { { echo "$as_me:1036: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     61737+  { { echo "$as_me:1045: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    4297061738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    4297161739    { (exit 1); exit 1; }; }
     
    4297361741 fi
    4297461742-echo "$as_me:1074: result: $ac_cv_host" >&5
    42975 +echo "$as_me:1041: result: $ac_cv_host" >&5
     61743+echo "$as_me:1050: result: $ac_cv_host" >&5
    4297661744 echo "${ECHO_T}$ac_cv_host" >&6
    4297761745 host=$ac_cv_host
    4297861746 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    42979 @@ -1096,13 +1063,13 @@
     61747@@ -1096,13 +1072,13 @@
    4298061748 fi
    4298161749 
    4298261750 test -z "$system_name" && system_name="$cf_cv_system_name"
    4298361751-test -n "$cf_cv_system_name" && echo "$as_me:1099: result: Configuring for $cf_cv_system_name" >&5
    42984 +test -n "$cf_cv_system_name" && echo "$as_me:1066: result: Configuring for $cf_cv_system_name" >&5
     61752+test -n "$cf_cv_system_name" && echo "$as_me:1075: result: Configuring for $cf_cv_system_name" >&5
    4298561753 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
    4298661754 
    4298761755 if test ".$system_name" != ".$cf_cv_system_name" ; then
    4298861756-       echo "$as_me:1103: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    42989 +       echo "$as_me:1070: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
     61757+       echo "$as_me:1079: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
    4299061758 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
    4299161759-       { { echo "$as_me:1105: error: \"Please remove config.cache and try again.\"" >&5
    42992 +       { { echo "$as_me:1072: error: \"Please remove config.cache and try again.\"" >&5
     61760+       { { echo "$as_me:1081: error: \"Please remove config.cache and try again.\"" >&5
    4299361761 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
    4299461762    { (exit 1); exit 1; }; }
    4299561763 fi
    42996 @@ -1120,7 +1087,7 @@
     61764@@ -1120,7 +1096,7 @@
    4299761765 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    4299861766 rm conftest.sed
    4299961767 
    4300061768-echo "$as_me:1123: checking whether ${MAKE-make} sets \${MAKE}" >&5
    43001 +echo "$as_me:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5
     61769+echo "$as_me:1099: checking whether ${MAKE-make} sets \${MAKE}" >&5
    4300261770 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
    4300361771 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    4300461772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    43005 @@ -1140,11 +1107,11 @@
     61773@@ -1140,11 +1116,11 @@
    4300661774 rm -f conftest.make
    4300761775 fi
    4300861776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    4300961777-  echo "$as_me:1143: result: yes" >&5
    43010 +  echo "$as_me:1110: result: yes" >&5
     61778+  echo "$as_me:1119: result: yes" >&5
    4301161779 echo "${ECHO_T}yes" >&6
    4301261780   SET_MAKE=
    4301361781 else
    4301461782-  echo "$as_me:1147: result: no" >&5
    43015 +  echo "$as_me:1114: result: no" >&5
     61783+  echo "$as_me:1123: result: no" >&5
    4301661784 echo "${ECHO_T}no" >&6
    4301761785   SET_MAKE="MAKE=${MAKE-make}"
    4301861786 fi
    43019 @@ -1158,7 +1125,7 @@
     61787@@ -1158,7 +1134,7 @@
    4302061788 if test -n "$ac_tool_prefix"; then
    4302161789   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    4302261790 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    4302361791-echo "$as_me:1161: checking for $ac_word" >&5
    43024 +echo "$as_me:1128: checking for $ac_word" >&5
     61792+echo "$as_me:1137: checking for $ac_word" >&5
    4302561793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4302661794 if test "${ac_cv_prog_CC+set}" = set; then
    4302761795   echo $ECHO_N "(cached) $ECHO_C" >&6
    43028 @@ -1173,7 +1140,7 @@
     61796@@ -1173,7 +1149,7 @@
    4302961797   test -z "$ac_dir" && ac_dir=.
    4303061798   $as_executable_p "$ac_dir/$ac_word" || continue
    4303161799 ac_cv_prog_CC="${ac_tool_prefix}gcc"
    4303261800-echo "$as_me:1176: found $ac_dir/$ac_word" >&5
    43033 +echo "$as_me:1143: found $ac_dir/$ac_word" >&5
     61801+echo "$as_me:1152: found $ac_dir/$ac_word" >&5
    4303461802 break
    4303561803 done
    4303661804 
    43037 @@ -1181,10 +1148,10 @@
     61805@@ -1181,10 +1157,10 @@
    4303861806 fi
    4303961807 CC=$ac_cv_prog_CC
    4304061808 if test -n "$CC"; then
    4304161809-  echo "$as_me:1184: result: $CC" >&5
    43042 +  echo "$as_me:1151: result: $CC" >&5
     61810+  echo "$as_me:1160: result: $CC" >&5
    4304361811 echo "${ECHO_T}$CC" >&6
    4304461812 else
    4304561813-  echo "$as_me:1187: result: no" >&5
    43046 +  echo "$as_me:1154: result: no" >&5
     61814+  echo "$as_me:1163: result: no" >&5
    4304761815 echo "${ECHO_T}no" >&6
    4304861816 fi
    4304961817 
    43050 @@ -1193,7 +1160,7 @@
     61818@@ -1193,7 +1169,7 @@
    4305161819   ac_ct_CC=$CC
    4305261820   # Extract the first word of "gcc", so it can be a program name with args.
    4305361821 set dummy gcc; ac_word=$2
    4305461822-echo "$as_me:1196: checking for $ac_word" >&5
    43055 +echo "$as_me:1163: checking for $ac_word" >&5
     61823+echo "$as_me:1172: checking for $ac_word" >&5
    4305661824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4305761825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    4305861826   echo $ECHO_N "(cached) $ECHO_C" >&6
    43059 @@ -1208,7 +1175,7 @@
     61827@@ -1208,7 +1184,7 @@
    4306061828   test -z "$ac_dir" && ac_dir=.
    4306161829   $as_executable_p "$ac_dir/$ac_word" || continue
    4306261830 ac_cv_prog_ac_ct_CC="gcc"
    4306361831-echo "$as_me:1211: found $ac_dir/$ac_word" >&5
    43064 +echo "$as_me:1178: found $ac_dir/$ac_word" >&5
     61832+echo "$as_me:1187: found $ac_dir/$ac_word" >&5
    4306561833 break
    4306661834 done
    4306761835 
    43068 @@ -1216,10 +1183,10 @@
     61836@@ -1216,10 +1192,10 @@
    4306961837 fi
    4307061838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    4307161839 if test -n "$ac_ct_CC"; then
    4307261840-  echo "$as_me:1219: result: $ac_ct_CC" >&5
    43073 +  echo "$as_me:1186: result: $ac_ct_CC" >&5
     61841+  echo "$as_me:1195: result: $ac_ct_CC" >&5
    4307461842 echo "${ECHO_T}$ac_ct_CC" >&6
    4307561843 else
    4307661844-  echo "$as_me:1222: result: no" >&5
    43077 +  echo "$as_me:1189: result: no" >&5
     61845+  echo "$as_me:1198: result: no" >&5
    4307861846 echo "${ECHO_T}no" >&6
    4307961847 fi
    4308061848 
    43081 @@ -1232,7 +1199,7 @@
     61849@@ -1232,7 +1208,7 @@
    4308261850   if test -n "$ac_tool_prefix"; then
    4308361851   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    4308461852 set dummy ${ac_tool_prefix}cc; ac_word=$2
    4308561853-echo "$as_me:1235: checking for $ac_word" >&5
    43086 +echo "$as_me:1202: checking for $ac_word" >&5
     61854+echo "$as_me:1211: checking for $ac_word" >&5
    4308761855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4308861856 if test "${ac_cv_prog_CC+set}" = set; then
    4308961857   echo $ECHO_N "(cached) $ECHO_C" >&6
    43090 @@ -1247,7 +1214,7 @@
     61858@@ -1247,7 +1223,7 @@
    4309161859   test -z "$ac_dir" && ac_dir=.
    4309261860   $as_executable_p "$ac_dir/$ac_word" || continue
    4309361861 ac_cv_prog_CC="${ac_tool_prefix}cc"
    4309461862-echo "$as_me:1250: found $ac_dir/$ac_word" >&5
    43095 +echo "$as_me:1217: found $ac_dir/$ac_word" >&5
     61863+echo "$as_me:1226: found $ac_dir/$ac_word" >&5
    4309661864 break
    4309761865 done
    4309861866 
    43099 @@ -1255,10 +1222,10 @@
     61867@@ -1255,10 +1231,10 @@
    4310061868 fi
    4310161869 CC=$ac_cv_prog_CC
    4310261870 if test -n "$CC"; then
    4310361871-  echo "$as_me:1258: result: $CC" >&5
    43104 +  echo "$as_me:1225: result: $CC" >&5
     61872+  echo "$as_me:1234: result: $CC" >&5
    4310561873 echo "${ECHO_T}$CC" >&6
    4310661874 else
    4310761875-  echo "$as_me:1261: result: no" >&5
    43108 +  echo "$as_me:1228: result: no" >&5
     61876+  echo "$as_me:1237: result: no" >&5
    4310961877 echo "${ECHO_T}no" >&6
    4311061878 fi
    4311161879 
    43112 @@ -1267,7 +1234,7 @@
     61880@@ -1267,7 +1243,7 @@
    4311361881   ac_ct_CC=$CC
    4311461882   # Extract the first word of "cc", so it can be a program name with args.
    4311561883 set dummy cc; ac_word=$2
    4311661884-echo "$as_me:1270: checking for $ac_word" >&5
    43117 +echo "$as_me:1237: checking for $ac_word" >&5
     61885+echo "$as_me:1246: checking for $ac_word" >&5
    4311861886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4311961887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    4312061888   echo $ECHO_N "(cached) $ECHO_C" >&6
    43121 @@ -1282,7 +1249,7 @@
     61889@@ -1282,7 +1258,7 @@
    4312261890   test -z "$ac_dir" && ac_dir=.
    4312361891   $as_executable_p "$ac_dir/$ac_word" || continue
    4312461892 ac_cv_prog_ac_ct_CC="cc"
    4312561893-echo "$as_me:1285: found $ac_dir/$ac_word" >&5
    43126 +echo "$as_me:1252: found $ac_dir/$ac_word" >&5
     61894+echo "$as_me:1261: found $ac_dir/$ac_word" >&5
    4312761895 break
    4312861896 done
    4312961897 
    43130 @@ -1290,10 +1257,10 @@
     61898@@ -1290,10 +1266,10 @@
    4313161899 fi
    4313261900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    4313361901 if test -n "$ac_ct_CC"; then
    4313461902-  echo "$as_me:1293: result: $ac_ct_CC" >&5
    43135 +  echo "$as_me:1260: result: $ac_ct_CC" >&5
     61903+  echo "$as_me:1269: result: $ac_ct_CC" >&5
    4313661904 echo "${ECHO_T}$ac_ct_CC" >&6
    4313761905 else
    4313861906-  echo "$as_me:1296: result: no" >&5
    43139 +  echo "$as_me:1263: result: no" >&5
     61907+  echo "$as_me:1272: result: no" >&5
    4314061908 echo "${ECHO_T}no" >&6
    4314161909 fi
    4314261910 
    43143 @@ -1306,7 +1273,7 @@
     61911@@ -1306,7 +1282,7 @@
    4314461912 if test -z "$CC"; then
    4314561913   # Extract the first word of "cc", so it can be a program name with args.
    4314661914 set dummy cc; ac_word=$2
    4314761915-echo "$as_me:1309: checking for $ac_word" >&5
    43148 +echo "$as_me:1276: checking for $ac_word" >&5
     61916+echo "$as_me:1285: checking for $ac_word" >&5
    4314961917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4315061918 if test "${ac_cv_prog_CC+set}" = set; then
    4315161919   echo $ECHO_N "(cached) $ECHO_C" >&6
    43152 @@ -1326,7 +1293,7 @@
     61920@@ -1326,7 +1302,7 @@
    4315361921   continue
    4315461922 fi
    4315561923 ac_cv_prog_CC="cc"
    4315661924-echo "$as_me:1329: found $ac_dir/$ac_word" >&5
    43157 +echo "$as_me:1296: found $ac_dir/$ac_word" >&5
     61925+echo "$as_me:1305: found $ac_dir/$ac_word" >&5
    4315861926 break
    4315961927 done
    4316061928 
    43161 @@ -1348,10 +1315,10 @@
     61929@@ -1348,10 +1324,10 @@
    4316261930 fi
    4316361931 CC=$ac_cv_prog_CC
    4316461932 if test -n "$CC"; then
    4316561933-  echo "$as_me:1351: result: $CC" >&5
    43166 +  echo "$as_me:1318: result: $CC" >&5
     61934+  echo "$as_me:1327: result: $CC" >&5
    4316761935 echo "${ECHO_T}$CC" >&6
    4316861936 else
    4316961937-  echo "$as_me:1354: result: no" >&5
    43170 +  echo "$as_me:1321: result: no" >&5
     61938+  echo "$as_me:1330: result: no" >&5
    4317161939 echo "${ECHO_T}no" >&6
    4317261940 fi
    4317361941 
    43174 @@ -1362,7 +1329,7 @@
     61942@@ -1362,7 +1338,7 @@
    4317561943   do
    4317661944     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4317761945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4317861946-echo "$as_me:1365: checking for $ac_word" >&5
    43179 +echo "$as_me:1332: checking for $ac_word" >&5
     61947+echo "$as_me:1341: checking for $ac_word" >&5
    4318061948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4318161949 if test "${ac_cv_prog_CC+set}" = set; then
    4318261950   echo $ECHO_N "(cached) $ECHO_C" >&6
    43183 @@ -1377,7 +1344,7 @@
     61951@@ -1377,7 +1353,7 @@
    4318461952   test -z "$ac_dir" && ac_dir=.
    4318561953   $as_executable_p "$ac_dir/$ac_word" || continue
    4318661954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    4318761955-echo "$as_me:1380: found $ac_dir/$ac_word" >&5
    43188 +echo "$as_me:1347: found $ac_dir/$ac_word" >&5
     61956+echo "$as_me:1356: found $ac_dir/$ac_word" >&5
    4318961957 break
    4319061958 done
    4319161959 
    43192 @@ -1385,10 +1352,10 @@
     61960@@ -1385,10 +1361,10 @@
    4319361961 fi
    4319461962 CC=$ac_cv_prog_CC
    4319561963 if test -n "$CC"; then
    4319661964-  echo "$as_me:1388: result: $CC" >&5
    43197 +  echo "$as_me:1355: result: $CC" >&5
     61965+  echo "$as_me:1364: result: $CC" >&5
    4319861966 echo "${ECHO_T}$CC" >&6
    4319961967 else
    4320061968-  echo "$as_me:1391: result: no" >&5
    43201 +  echo "$as_me:1358: result: no" >&5
     61969+  echo "$as_me:1367: result: no" >&5
    4320261970 echo "${ECHO_T}no" >&6
    4320361971 fi
    4320461972 
    43205 @@ -1401,7 +1368,7 @@
     61973@@ -1401,7 +1377,7 @@
    4320661974 do
    4320761975   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4320861976 set dummy $ac_prog; ac_word=$2
    4320961977-echo "$as_me:1404: checking for $ac_word" >&5
    43210 +echo "$as_me:1371: checking for $ac_word" >&5
     61978+echo "$as_me:1380: checking for $ac_word" >&5
    4321161979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4321261980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    4321361981   echo $ECHO_N "(cached) $ECHO_C" >&6
    43214 @@ -1416,7 +1383,7 @@
     61982@@ -1416,7 +1392,7 @@
    4321561983   test -z "$ac_dir" && ac_dir=.
    4321661984   $as_executable_p "$ac_dir/$ac_word" || continue
    4321761985 ac_cv_prog_ac_ct_CC="$ac_prog"
    4321861986-echo "$as_me:1419: found $ac_dir/$ac_word" >&5
    43219 +echo "$as_me:1386: found $ac_dir/$ac_word" >&5
     61987+echo "$as_me:1395: found $ac_dir/$ac_word" >&5
    4322061988 break
    4322161989 done
    4322261990 
    43223 @@ -1424,10 +1391,10 @@
     61991@@ -1424,10 +1400,10 @@
    4322461992 fi
    4322561993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    4322661994 if test -n "$ac_ct_CC"; then
    4322761995-  echo "$as_me:1427: result: $ac_ct_CC" >&5
    43228 +  echo "$as_me:1394: result: $ac_ct_CC" >&5
     61996+  echo "$as_me:1403: result: $ac_ct_CC" >&5
    4322961997 echo "${ECHO_T}$ac_ct_CC" >&6
    4323061998 else
    4323161999-  echo "$as_me:1430: result: no" >&5
    43232 +  echo "$as_me:1397: result: no" >&5
     62000+  echo "$as_me:1406: result: no" >&5
    4323362001 echo "${ECHO_T}no" >&6
    4323462002 fi
    4323562003 
    43236 @@ -1439,32 +1406,32 @@
     62004@@ -1439,32 +1415,32 @@
    4323762005 
    4323862006 fi
    4323962007 
    4324062008-test -z "$CC" && { { echo "$as_me:1442: error: no acceptable cc found in \$PATH" >&5
    43241 +test -z "$CC" && { { echo "$as_me:1409: error: no acceptable cc found in \$PATH" >&5
     62009+test -z "$CC" && { { echo "$as_me:1418: error: no acceptable cc found in \$PATH" >&5
    4324262010 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
    4324362011    { (exit 1); exit 1; }; }
     
    4324562013 # Provide some information about the compiler.
    4324662014-echo "$as_me:1447:" \
    43247 +echo "$as_me:1414:" \
     62015+echo "$as_me:1423:" \
    4324862016      "checking for C compiler version" >&5
    4324962017 ac_compiler=`set X $ac_compile; echo $2`
    4325062018-{ (eval echo "$as_me:1450: \"$ac_compiler --version </dev/null >&5\"") >&5
    43251 +{ (eval echo "$as_me:1417: \"$ac_compiler --version </dev/null >&5\"") >&5
     62019+{ (eval echo "$as_me:1426: \"$ac_compiler --version </dev/null >&5\"") >&5
    4325262020   (eval $ac_compiler --version </dev/null >&5) 2>&5
    4325362021   ac_status=$?
    4325462022-  echo "$as_me:1453: \$? = $ac_status" >&5
    43255 +  echo "$as_me:1420: \$? = $ac_status" >&5
     62023+  echo "$as_me:1429: \$? = $ac_status" >&5
    4325662024   (exit $ac_status); }
    4325762025-{ (eval echo "$as_me:1455: \"$ac_compiler -v </dev/null >&5\"") >&5
    43258 +{ (eval echo "$as_me:1422: \"$ac_compiler -v </dev/null >&5\"") >&5
     62026+{ (eval echo "$as_me:1431: \"$ac_compiler -v </dev/null >&5\"") >&5
    4325962027   (eval $ac_compiler -v </dev/null >&5) 2>&5
    4326062028   ac_status=$?
    4326162029-  echo "$as_me:1458: \$? = $ac_status" >&5
    43262 +  echo "$as_me:1425: \$? = $ac_status" >&5
     62030+  echo "$as_me:1434: \$? = $ac_status" >&5
    4326362031   (exit $ac_status); }
    4326462032-{ (eval echo "$as_me:1460: \"$ac_compiler -V </dev/null >&5\"") >&5
    43265 +{ (eval echo "$as_me:1427: \"$ac_compiler -V </dev/null >&5\"") >&5
     62033+{ (eval echo "$as_me:1436: \"$ac_compiler -V </dev/null >&5\"") >&5
    4326662034   (eval $ac_compiler -V </dev/null >&5) 2>&5
    4326762035   ac_status=$?
    4326862036-  echo "$as_me:1463: \$? = $ac_status" >&5
    43269 +  echo "$as_me:1430: \$? = $ac_status" >&5
     62037+  echo "$as_me:1439: \$? = $ac_status" >&5
    4327062038   (exit $ac_status); }
    4327162039 
    4327262040 cat >conftest.$ac_ext <<_ACEOF
    4327362041-#line 1467 "configure"
    43274 +#line 1434 "configure"
     62042+#line 1443 "configure"
    4327562043 #include "confdefs.h"
    4327662044 
    4327762045 int
    43278 @@ -1480,13 +1447,13 @@
     62046@@ -1480,13 +1456,13 @@
    4327962047 # Try to create an executable without -o first, disregard a.out.
    4328062048 # It will help us diagnose broken compilers, and finding out an intuition
    4328162049 # of exeext.
    4328262050-echo "$as_me:1483: checking for C compiler default output" >&5
    43283 +echo "$as_me:1450: checking for C compiler default output" >&5
     62051+echo "$as_me:1459: checking for C compiler default output" >&5
    4328462052 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    4328562053 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    4328662054-if { (eval echo "$as_me:1486: \"$ac_link_default\"") >&5
    43287 +if { (eval echo "$as_me:1453: \"$ac_link_default\"") >&5
     62055+if { (eval echo "$as_me:1462: \"$ac_link_default\"") >&5
    4328862056   (eval $ac_link_default) 2>&5
    4328962057   ac_status=$?
    4329062058-  echo "$as_me:1489: \$? = $ac_status" >&5
    43291 +  echo "$as_me:1456: \$? = $ac_status" >&5
     62059+  echo "$as_me:1465: \$? = $ac_status" >&5
    4329262060   (exit $ac_status); }; then
    4329362061   # Find the output, starting from the most likely.  This scheme is
    4329462062 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    43295 @@ -1509,34 +1476,34 @@
     62063@@ -1509,34 +1485,34 @@
    4329662064 else
    4329762065   echo "$as_me: failed program was:" >&5
    4329862066 cat conftest.$ac_ext >&5
    4329962067-{ { echo "$as_me:1512: error: C compiler cannot create executables" >&5
    43300 +{ { echo "$as_me:1479: error: C compiler cannot create executables" >&5
     62068+{ { echo "$as_me:1488: error: C compiler cannot create executables" >&5
    4330162069 echo "$as_me: error: C compiler cannot create executables" >&2;}
    4330262070    { (exit 77); exit 77; }; }
     
    4330562073 ac_exeext=$ac_cv_exeext
    4330662074-echo "$as_me:1518: result: $ac_file" >&5
    43307 +echo "$as_me:1485: result: $ac_file" >&5
     62075+echo "$as_me:1494: result: $ac_file" >&5
    4330862076 echo "${ECHO_T}$ac_file" >&6
    4330962077 
     
    4331162079 # the compiler is broken, or we cross compile.
    4331262080-echo "$as_me:1523: checking whether the C compiler works" >&5
    43313 +echo "$as_me:1490: checking whether the C compiler works" >&5
     62081+echo "$as_me:1499: checking whether the C compiler works" >&5
    4331462082 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    4331562083 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     
    4331862086   if { ac_try='./$ac_file'
    4331962087-  { (eval echo "$as_me:1529: \"$ac_try\"") >&5
    43320 +  { (eval echo "$as_me:1496: \"$ac_try\"") >&5
     62088+  { (eval echo "$as_me:1505: \"$ac_try\"") >&5
    4332162089   (eval $ac_try) 2>&5
    4332262090   ac_status=$?
    4332362091-  echo "$as_me:1532: \$? = $ac_status" >&5
    43324 +  echo "$as_me:1499: \$? = $ac_status" >&5
     62092+  echo "$as_me:1508: \$? = $ac_status" >&5
    4332562093   (exit $ac_status); }; }; then
    4332662094     cross_compiling=no
     
    4333062098     else
    4333162099-       { { echo "$as_me:1539: error: cannot run C compiled programs.
    43332 +       { { echo "$as_me:1506: error: cannot run C compiled programs.
     62100+       { { echo "$as_me:1515: error: cannot run C compiled programs.
    4333362101 If you meant to cross compile, use \`--host'." >&5
    4333462102 echo "$as_me: error: cannot run C compiled programs.
    4333562103 If you meant to cross compile, use \`--host'." >&2;}
    43336 @@ -1544,24 +1511,24 @@
     62104@@ -1544,24 +1520,24 @@
    4333762105     fi
    4333862106   fi
    4333962107 fi
    4334062108-echo "$as_me:1547: result: yes" >&5
    43341 +echo "$as_me:1514: result: yes" >&5
     62109+echo "$as_me:1523: result: yes" >&5
    4334262110 echo "${ECHO_T}yes" >&6
    4334362111 
     
    4334762115 # the compiler is broken, or we cross compile.
    4334862116-echo "$as_me:1554: checking whether we are cross compiling" >&5
    43349 +echo "$as_me:1521: checking whether we are cross compiling" >&5
     62117+echo "$as_me:1530: checking whether we are cross compiling" >&5
    4335062118 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    4335162119-echo "$as_me:1556: result: $cross_compiling" >&5
    43352 +echo "$as_me:1523: result: $cross_compiling" >&5
     62120+echo "$as_me:1532: result: $cross_compiling" >&5
    4335362121 echo "${ECHO_T}$cross_compiling" >&6
    4335462122 
    4335562123-echo "$as_me:1559: checking for executable suffix" >&5
    43356 +echo "$as_me:1526: checking for executable suffix" >&5
     62124+echo "$as_me:1535: checking for executable suffix" >&5
    4335762125 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
    4335862126-if { (eval echo "$as_me:1561: \"$ac_link\"") >&5
    43359 +if { (eval echo "$as_me:1528: \"$ac_link\"") >&5
     62127+if { (eval echo "$as_me:1537: \"$ac_link\"") >&5
    4336062128   (eval $ac_link) 2>&5
    4336162129   ac_status=$?
    4336262130-  echo "$as_me:1564: \$? = $ac_status" >&5
    43363 +  echo "$as_me:1531: \$? = $ac_status" >&5
     62131+  echo "$as_me:1540: \$? = $ac_status" >&5
    4336462132   (exit $ac_status); }; then
    4336562133   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    4336662134 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    43367 @@ -1577,25 +1544,25 @@
     62135@@ -1577,25 +1553,25 @@
    4336862136   esac
    4336962137 done
    4337062138 else
    4337162139-  { { echo "$as_me:1580: error: cannot compute EXEEXT: cannot compile and link" >&5
    43372 +  { { echo "$as_me:1547: error: cannot compute EXEEXT: cannot compile and link" >&5
     62140+  { { echo "$as_me:1556: error: cannot compute EXEEXT: cannot compile and link" >&5
    4337362141 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
    4337462142    { (exit 1); exit 1; }; }
     
    4337762145 rm -f conftest$ac_cv_exeext
    4337862146-echo "$as_me:1586: result: $ac_cv_exeext" >&5
    43379 +echo "$as_me:1553: result: $ac_cv_exeext" >&5
     62147+echo "$as_me:1562: result: $ac_cv_exeext" >&5
    4338062148 echo "${ECHO_T}$ac_cv_exeext" >&6
    4338162149 
     
    4338462152 ac_exeext=$EXEEXT
    4338562153-echo "$as_me:1592: checking for object suffix" >&5
    43386 +echo "$as_me:1559: checking for object suffix" >&5
     62154+echo "$as_me:1568: checking for object suffix" >&5
    4338762155 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
    4338862156 if test "${ac_cv_objext+set}" = set; then
     
    4339162159   cat >conftest.$ac_ext <<_ACEOF
    4339262160-#line 1598 "configure"
    43393 +#line 1565 "configure"
     62161+#line 1574 "configure"
    4339462162 #include "confdefs.h"
    4339562163 
    4339662164 int
    43397 @@ -1607,10 +1574,10 @@
     62165@@ -1607,10 +1583,10 @@
    4339862166 }
    4339962167 _ACEOF
    4340062168 rm -f conftest.o conftest.obj
    4340162169-if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5
    43402 +if { (eval echo "$as_me:1577: \"$ac_compile\"") >&5
     62170+if { (eval echo "$as_me:1586: \"$ac_compile\"") >&5
    4340362171   (eval $ac_compile) 2>&5
    4340462172   ac_status=$?
    4340562173-  echo "$as_me:1613: \$? = $ac_status" >&5
    43406 +  echo "$as_me:1580: \$? = $ac_status" >&5
     62174+  echo "$as_me:1589: \$? = $ac_status" >&5
    4340762175   (exit $ac_status); }; then
    4340862176   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    4340962177   case $ac_file in
    43410 @@ -1622,24 +1589,24 @@
     62178@@ -1622,24 +1598,24 @@
    4341162179 else
    4341262180   echo "$as_me: failed program was:" >&5
    4341362181 cat conftest.$ac_ext >&5
    4341462182-{ { echo "$as_me:1625: error: cannot compute OBJEXT: cannot compile" >&5
    43415 +{ { echo "$as_me:1592: error: cannot compute OBJEXT: cannot compile" >&5
     62183+{ { echo "$as_me:1601: error: cannot compute OBJEXT: cannot compile" >&5
    4341662184 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
    4341762185    { (exit 1); exit 1; }; }
     
    4342162189 fi
    4342262190-echo "$as_me:1632: result: $ac_cv_objext" >&5
    43423 +echo "$as_me:1599: result: $ac_cv_objext" >&5
     62191+echo "$as_me:1608: result: $ac_cv_objext" >&5
    4342462192 echo "${ECHO_T}$ac_cv_objext" >&6
    4342562193 OBJEXT=$ac_cv_objext
    4342662194 ac_objext=$OBJEXT
    4342762195-echo "$as_me:1636: checking whether we are using the GNU C compiler" >&5
    43428 +echo "$as_me:1603: checking whether we are using the GNU C compiler" >&5
     62196+echo "$as_me:1612: checking whether we are using the GNU C compiler" >&5
    4342962197 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    4343062198 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     
    4343362201   cat >conftest.$ac_ext <<_ACEOF
    4343462202-#line 1642 "configure"
    43435 +#line 1609 "configure"
     62203+#line 1618 "configure"
    4343662204 #include "confdefs.h"
    4343762205 
    4343862206 int
    43439 @@ -1654,16 +1621,16 @@
     62207@@ -1654,16 +1630,16 @@
    4344062208 }
    4344162209 _ACEOF
    4344262210 rm -f conftest.$ac_objext
    4344362211-if { (eval echo "$as_me:1657: \"$ac_compile\"") >&5
    43444 +if { (eval echo "$as_me:1624: \"$ac_compile\"") >&5
     62212+if { (eval echo "$as_me:1633: \"$ac_compile\"") >&5
    4344562213   (eval $ac_compile) 2>&5
    4344662214   ac_status=$?
    4344762215-  echo "$as_me:1660: \$? = $ac_status" >&5
    43448 +  echo "$as_me:1627: \$? = $ac_status" >&5
     62216+  echo "$as_me:1636: \$? = $ac_status" >&5
    4344962217   (exit $ac_status); } &&
    4345062218          { ac_try='test -s conftest.$ac_objext'
    4345162219-  { (eval echo "$as_me:1663: \"$ac_try\"") >&5
    43452 +  { (eval echo "$as_me:1630: \"$ac_try\"") >&5
     62220+  { (eval echo "$as_me:1639: \"$ac_try\"") >&5
    4345362221   (eval $ac_try) 2>&5
    4345462222   ac_status=$?
    4345562223-  echo "$as_me:1666: \$? = $ac_status" >&5
    43456 +  echo "$as_me:1633: \$? = $ac_status" >&5
     62224+  echo "$as_me:1642: \$? = $ac_status" >&5
    4345762225   (exit $ac_status); }; }; then
    4345862226   ac_compiler_gnu=yes
    4345962227 else
    43460 @@ -1675,19 +1642,19 @@
     62228@@ -1675,19 +1651,19 @@
    4346162229 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    4346262230 
    4346362231 fi
    4346462232-echo "$as_me:1678: result: $ac_cv_c_compiler_gnu" >&5
    43465 +echo "$as_me:1645: result: $ac_cv_c_compiler_gnu" >&5
     62233+echo "$as_me:1654: result: $ac_cv_c_compiler_gnu" >&5
    4346662234 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    4346762235 GCC=`test $ac_compiler_gnu = yes && echo yes`
     
    4347062238 CFLAGS="-g"
    4347162239-echo "$as_me:1684: checking whether $CC accepts -g" >&5
    43472 +echo "$as_me:1651: checking whether $CC accepts -g" >&5
     62240+echo "$as_me:1660: checking whether $CC accepts -g" >&5
    4347362241 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    4347462242 if test "${ac_cv_prog_cc_g+set}" = set; then
     
    4347762245   cat >conftest.$ac_ext <<_ACEOF
    4347862246-#line 1690 "configure"
    43479 +#line 1657 "configure"
     62247+#line 1666 "configure"
    4348062248 #include "confdefs.h"
    4348162249 
    4348262250 int
    43483 @@ -1699,16 +1666,16 @@
     62251@@ -1699,16 +1675,16 @@
    4348462252 }
    4348562253 _ACEOF
    4348662254 rm -f conftest.$ac_objext
    4348762255-if { (eval echo "$as_me:1702: \"$ac_compile\"") >&5
    43488 +if { (eval echo "$as_me:1669: \"$ac_compile\"") >&5
     62256+if { (eval echo "$as_me:1678: \"$ac_compile\"") >&5
    4348962257   (eval $ac_compile) 2>&5
    4349062258   ac_status=$?
    4349162259-  echo "$as_me:1705: \$? = $ac_status" >&5
    43492 +  echo "$as_me:1672: \$? = $ac_status" >&5
     62260+  echo "$as_me:1681: \$? = $ac_status" >&5
    4349362261   (exit $ac_status); } &&
    4349462262          { ac_try='test -s conftest.$ac_objext'
    4349562263-  { (eval echo "$as_me:1708: \"$ac_try\"") >&5
    43496 +  { (eval echo "$as_me:1675: \"$ac_try\"") >&5
     62264+  { (eval echo "$as_me:1684: \"$ac_try\"") >&5
    4349762265   (eval $ac_try) 2>&5
    4349862266   ac_status=$?
    4349962267-  echo "$as_me:1711: \$? = $ac_status" >&5
    43500 +  echo "$as_me:1678: \$? = $ac_status" >&5
     62268+  echo "$as_me:1687: \$? = $ac_status" >&5
    4350162269   (exit $ac_status); }; }; then
    4350262270   ac_cv_prog_cc_g=yes
    4350362271 else
    43504 @@ -1718,7 +1685,7 @@
     62272@@ -1718,7 +1694,7 @@
    4350562273 fi
    4350662274 rm -f conftest.$ac_objext conftest.$ac_ext
    4350762275 fi
    4350862276-echo "$as_me:1721: result: $ac_cv_prog_cc_g" >&5
    43509 +echo "$as_me:1688: result: $ac_cv_prog_cc_g" >&5
     62277+echo "$as_me:1697: result: $ac_cv_prog_cc_g" >&5
    4351062278 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    4351162279 if test "$ac_test_CFLAGS" = set; then
    4351262280   CFLAGS=$ac_save_CFLAGS
    43513 @@ -1745,16 +1712,16 @@
     62281@@ -1745,16 +1721,16 @@
    4351462282 #endif
    4351562283 _ACEOF
    4351662284 rm -f conftest.$ac_objext
    4351762285-if { (eval echo "$as_me:1748: \"$ac_compile\"") >&5
    43518 +if { (eval echo "$as_me:1715: \"$ac_compile\"") >&5
     62286+if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
    4351962287   (eval $ac_compile) 2>&5
    4352062288   ac_status=$?
    4352162289-  echo "$as_me:1751: \$? = $ac_status" >&5
    43522 +  echo "$as_me:1718: \$? = $ac_status" >&5
     62290+  echo "$as_me:1727: \$? = $ac_status" >&5
    4352362291   (exit $ac_status); } &&
    4352462292          { ac_try='test -s conftest.$ac_objext'
    4352562293-  { (eval echo "$as_me:1754: \"$ac_try\"") >&5
    43526 +  { (eval echo "$as_me:1721: \"$ac_try\"") >&5
     62294+  { (eval echo "$as_me:1730: \"$ac_try\"") >&5
    4352762295   (eval $ac_try) 2>&5
    4352862296   ac_status=$?
    4352962297-  echo "$as_me:1757: \$? = $ac_status" >&5
    43530 +  echo "$as_me:1724: \$? = $ac_status" >&5
     62298+  echo "$as_me:1733: \$? = $ac_status" >&5
    4353162299   (exit $ac_status); }; }; then
    4353262300   for ac_declaration in \
    4353362301    ''\
    43534 @@ -1766,7 +1733,7 @@
     62302@@ -1766,7 +1742,7 @@
    4353562303    'void exit (int);'
    4353662304 do
    4353762305   cat >conftest.$ac_ext <<_ACEOF
    4353862306-#line 1769 "configure"
    43539 +#line 1736 "configure"
     62307+#line 1745 "configure"
    4354062308 #include "confdefs.h"
    4354162309 #include <stdlib.h>
    4354262310 $ac_declaration
    43543 @@ -1779,16 +1746,16 @@
     62311@@ -1779,16 +1755,16 @@
    4354462312 }
    4354562313 _ACEOF
    4354662314 rm -f conftest.$ac_objext
    4354762315-if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5
    43548 +if { (eval echo "$as_me:1749: \"$ac_compile\"") >&5
     62316+if { (eval echo "$as_me:1758: \"$ac_compile\"") >&5
    4354962317   (eval $ac_compile) 2>&5
    4355062318   ac_status=$?
    4355162319-  echo "$as_me:1785: \$? = $ac_status" >&5
    43552 +  echo "$as_me:1752: \$? = $ac_status" >&5
     62320+  echo "$as_me:1761: \$? = $ac_status" >&5
    4355362321   (exit $ac_status); } &&
    4355462322          { ac_try='test -s conftest.$ac_objext'
    4355562323-  { (eval echo "$as_me:1788: \"$ac_try\"") >&5
    43556 +  { (eval echo "$as_me:1755: \"$ac_try\"") >&5
     62324+  { (eval echo "$as_me:1764: \"$ac_try\"") >&5
    4355762325   (eval $ac_try) 2>&5
    4355862326   ac_status=$?
    4355962327-  echo "$as_me:1791: \$? = $ac_status" >&5
    43560 +  echo "$as_me:1758: \$? = $ac_status" >&5
     62328+  echo "$as_me:1767: \$? = $ac_status" >&5
    4356162329   (exit $ac_status); }; }; then
    4356262330   :
    4356362331 else
    43564 @@ -1798,7 +1765,7 @@
     62332@@ -1798,7 +1774,7 @@
    4356562333 fi
    4356662334 rm -f conftest.$ac_objext conftest.$ac_ext
    4356762335   cat >conftest.$ac_ext <<_ACEOF
    4356862336-#line 1801 "configure"
    43569 +#line 1768 "configure"
     62337+#line 1777 "configure"
    4357062338 #include "confdefs.h"
    4357162339 $ac_declaration
    4357262340 int
    43573 @@ -1810,16 +1777,16 @@
     62341@@ -1810,16 +1786,16 @@
    4357462342 }
    4357562343 _ACEOF
    4357662344 rm -f conftest.$ac_objext
    4357762345-if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5
    43578 +if { (eval echo "$as_me:1780: \"$ac_compile\"") >&5
     62346+if { (eval echo "$as_me:1789: \"$ac_compile\"") >&5
    4357962347   (eval $ac_compile) 2>&5
    4358062348   ac_status=$?
    4358162349-  echo "$as_me:1816: \$? = $ac_status" >&5
    43582 +  echo "$as_me:1783: \$? = $ac_status" >&5
     62350+  echo "$as_me:1792: \$? = $ac_status" >&5
    4358362351   (exit $ac_status); } &&
    4358462352          { ac_try='test -s conftest.$ac_objext'
    4358562353-  { (eval echo "$as_me:1819: \"$ac_try\"") >&5
    43586 +  { (eval echo "$as_me:1786: \"$ac_try\"") >&5
     62354+  { (eval echo "$as_me:1795: \"$ac_try\"") >&5
    4358762355   (eval $ac_try) 2>&5
    4358862356   ac_status=$?
    4358962357-  echo "$as_me:1822: \$? = $ac_status" >&5
    43590 +  echo "$as_me:1789: \$? = $ac_status" >&5
     62358+  echo "$as_me:1798: \$? = $ac_status" >&5
    4359162359   (exit $ac_status); }; }; then
    4359262360   break
    4359362361 else
    43594 @@ -1853,7 +1820,7 @@
     62362@@ -1853,7 +1829,7 @@
    4359562363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4359662364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4359762365 ac_main_return=return
    4359862366-echo "$as_me:1856: checking how to run the C preprocessor" >&5
    43599 +echo "$as_me:1823: checking how to run the C preprocessor" >&5
     62367+echo "$as_me:1832: checking how to run the C preprocessor" >&5
    4360062368 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    4360162369 # On Suns, sometimes $CPP names a directory.
    4360262370 if test -n "$CPP" && test -d "$CPP"; then
    43603 @@ -1874,18 +1841,18 @@
     62371@@ -1874,18 +1850,18 @@
    4360462372   # On the NeXT, cc -E runs the code through the compiler's parser,
    4360562373   # not just through cpp. "Syntax error" is here to catch this case.
    4360662374   cat >conftest.$ac_ext <<_ACEOF
    4360762375-#line 1877 "configure"
    43608 +#line 1844 "configure"
     62376+#line 1853 "configure"
    4360962377 #include "confdefs.h"
    4361062378 #include <assert.h>
     
    4361262380 _ACEOF
    4361362381-if { (eval echo "$as_me:1882: \"$ac_cpp conftest.$ac_ext\"") >&5
    43614 +if { (eval echo "$as_me:1849: \"$ac_cpp conftest.$ac_ext\"") >&5
     62382+if { (eval echo "$as_me:1858: \"$ac_cpp conftest.$ac_ext\"") >&5
    4361562383   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4361662384   ac_status=$?
     
    4361962387   cat conftest.err >&5
    4362062388-  echo "$as_me:1888: \$? = $ac_status" >&5
    43621 +  echo "$as_me:1855: \$? = $ac_status" >&5
     62389+  echo "$as_me:1864: \$? = $ac_status" >&5
    4362262390   (exit $ac_status); } >/dev/null; then
    4362362391   if test -s conftest.err; then
    4362462392     ac_cpp_err=$ac_c_preproc_warn_flag
    43625 @@ -1908,17 +1875,17 @@
     62393@@ -1908,17 +1884,17 @@
    4362662394   # OK, works on sane cases.  Now check whether non-existent headers
    4362762395   # can be detected and how.
    4362862396   cat >conftest.$ac_ext <<_ACEOF
    4362962397-#line 1911 "configure"
    43630 +#line 1878 "configure"
     62398+#line 1887 "configure"
    4363162399 #include "confdefs.h"
    4363262400 #include <ac_nonexistent.h>
    4363362401 _ACEOF
    4363462402-if { (eval echo "$as_me:1915: \"$ac_cpp conftest.$ac_ext\"") >&5
    43635 +if { (eval echo "$as_me:1882: \"$ac_cpp conftest.$ac_ext\"") >&5
     62403+if { (eval echo "$as_me:1891: \"$ac_cpp conftest.$ac_ext\"") >&5
    4363662404   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4363762405   ac_status=$?
     
    4364062408   cat conftest.err >&5
    4364162409-  echo "$as_me:1921: \$? = $ac_status" >&5
    43642 +  echo "$as_me:1888: \$? = $ac_status" >&5
     62410+  echo "$as_me:1897: \$? = $ac_status" >&5
    4364362411   (exit $ac_status); } >/dev/null; then
    4364462412   if test -s conftest.err; then
    4364562413     ac_cpp_err=$ac_c_preproc_warn_flag
    43646 @@ -1955,7 +1922,7 @@
     62414@@ -1955,7 +1931,7 @@
    4364762415 else
    4364862416   ac_cv_prog_CPP=$CPP
    4364962417 fi
    4365062418-echo "$as_me:1958: result: $CPP" >&5
    43651 +echo "$as_me:1925: result: $CPP" >&5
     62419+echo "$as_me:1934: result: $CPP" >&5
    4365262420 echo "${ECHO_T}$CPP" >&6
    4365362421 ac_preproc_ok=false
    4365462422 for ac_c_preproc_warn_flag in '' yes
    43655 @@ -1965,18 +1932,18 @@
     62423@@ -1965,18 +1941,18 @@
    4365662424   # On the NeXT, cc -E runs the code through the compiler's parser,
    4365762425   # not just through cpp. "Syntax error" is here to catch this case.
    4365862426   cat >conftest.$ac_ext <<_ACEOF
    4365962427-#line 1968 "configure"
    43660 +#line 1935 "configure"
     62428+#line 1944 "configure"
    4366162429 #include "confdefs.h"
    4366262430 #include <assert.h>
     
    4366462432 _ACEOF
    4366562433-if { (eval echo "$as_me:1973: \"$ac_cpp conftest.$ac_ext\"") >&5
    43666 +if { (eval echo "$as_me:1940: \"$ac_cpp conftest.$ac_ext\"") >&5
     62434+if { (eval echo "$as_me:1949: \"$ac_cpp conftest.$ac_ext\"") >&5
    4366762435   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4366862436   ac_status=$?
     
    4367162439   cat conftest.err >&5
    4367262440-  echo "$as_me:1979: \$? = $ac_status" >&5
    43673 +  echo "$as_me:1946: \$? = $ac_status" >&5
     62441+  echo "$as_me:1955: \$? = $ac_status" >&5
    4367462442   (exit $ac_status); } >/dev/null; then
    4367562443   if test -s conftest.err; then
    4367662444     ac_cpp_err=$ac_c_preproc_warn_flag
    43677 @@ -1999,17 +1966,17 @@
     62445@@ -1999,17 +1975,17 @@
    4367862446   # OK, works on sane cases.  Now check whether non-existent headers
    4367962447   # can be detected and how.
    4368062448   cat >conftest.$ac_ext <<_ACEOF
    4368162449-#line 2002 "configure"
    43682 +#line 1969 "configure"
     62450+#line 1978 "configure"
    4368362451 #include "confdefs.h"
    4368462452 #include <ac_nonexistent.h>
    4368562453 _ACEOF
    4368662454-if { (eval echo "$as_me:2006: \"$ac_cpp conftest.$ac_ext\"") >&5
    43687 +if { (eval echo "$as_me:1973: \"$ac_cpp conftest.$ac_ext\"") >&5
     62455+if { (eval echo "$as_me:1982: \"$ac_cpp conftest.$ac_ext\"") >&5
    4368862456   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4368962457   ac_status=$?
     
    4369262460   cat conftest.err >&5
    4369362461-  echo "$as_me:2012: \$? = $ac_status" >&5
    43694 +  echo "$as_me:1979: \$? = $ac_status" >&5
     62462+  echo "$as_me:1988: \$? = $ac_status" >&5
    4369562463   (exit $ac_status); } >/dev/null; then
    4369662464   if test -s conftest.err; then
    4369762465     ac_cpp_err=$ac_c_preproc_warn_flag
    43698 @@ -2037,7 +2004,7 @@
     62466@@ -2037,7 +2013,7 @@
    4369962467 if $ac_preproc_ok; then
    4370062468   :
    4370162469 else
    4370262470-  { { echo "$as_me:2040: error: C preprocessor \"$CPP\" fails sanity check" >&5
    43703 +  { { echo "$as_me:2007: error: C preprocessor \"$CPP\" fails sanity check" >&5
     62471+  { { echo "$as_me:2016: error: C preprocessor \"$CPP\" fails sanity check" >&5
    4370462472 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    4370562473    { (exit 1); exit 1; }; }
    4370662474 fi
    43707 @@ -2053,7 +2020,7 @@
     62475@@ -2053,7 +2029,7 @@
    4370862476 do
    4370962477   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4371062478 set dummy $ac_prog; ac_word=$2
    4371162479-echo "$as_me:2056: checking for $ac_word" >&5
    43712 +echo "$as_me:2023: checking for $ac_word" >&5
     62480+echo "$as_me:2032: checking for $ac_word" >&5
    4371362481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4371462482 if test "${ac_cv_prog_AWK+set}" = set; then
    4371562483   echo $ECHO_N "(cached) $ECHO_C" >&6
    43716 @@ -2068,7 +2035,7 @@
     62484@@ -2068,7 +2044,7 @@
    4371762485   test -z "$ac_dir" && ac_dir=.
    4371862486   $as_executable_p "$ac_dir/$ac_word" || continue
    4371962487 ac_cv_prog_AWK="$ac_prog"
    4372062488-echo "$as_me:2071: found $ac_dir/$ac_word" >&5
    43721 +echo "$as_me:2038: found $ac_dir/$ac_word" >&5
     62489+echo "$as_me:2047: found $ac_dir/$ac_word" >&5
    4372262490 break
    4372362491 done
    4372462492 
    43725 @@ -2076,10 +2043,10 @@
     62493@@ -2076,10 +2052,10 @@
    4372662494 fi
    4372762495 AWK=$ac_cv_prog_AWK
    4372862496 if test -n "$AWK"; then
    4372962497-  echo "$as_me:2079: result: $AWK" >&5
    43730 +  echo "$as_me:2046: result: $AWK" >&5
     62498+  echo "$as_me:2055: result: $AWK" >&5
    4373162499 echo "${ECHO_T}$AWK" >&6
    4373262500 else
    4373362501-  echo "$as_me:2082: result: no" >&5
    43734 +  echo "$as_me:2049: result: no" >&5
     62502+  echo "$as_me:2058: result: no" >&5
    4373562503 echo "${ECHO_T}no" >&6
    4373662504 fi
    4373762505 
    43738 @@ -2098,7 +2065,7 @@
     62506@@ -2098,7 +2074,7 @@
    4373962507 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    4374062508 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    4374162509 # ./install, which can be erroneously created by make from ./install.sh.
    4374262510-echo "$as_me:2101: checking for a BSD compatible install" >&5
    43743 +echo "$as_me:2068: checking for a BSD compatible install" >&5
     62511+echo "$as_me:2077: checking for a BSD compatible install" >&5
    4374462512 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
    4374562513 if test -z "$INSTALL"; then
    4374662514 if test "${ac_cv_path_install+set}" = set; then
    43747 @@ -2147,7 +2114,7 @@
     62515@@ -2147,7 +2123,7 @@
    4374862516     INSTALL=$ac_install_sh
    4374962517   fi
    4375062518 fi
    4375162519-echo "$as_me:2150: result: $INSTALL" >&5
    43752 +echo "$as_me:2117: result: $INSTALL" >&5
     62520+echo "$as_me:2126: result: $INSTALL" >&5
    4375362521 echo "${ECHO_T}$INSTALL" >&6
    4375462522 
    4375562523 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    43756 @@ -2172,7 +2139,7 @@
     62524@@ -2172,7 +2148,7 @@
    4375762525 do
    4375862526   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4375962527 set dummy $ac_prog; ac_word=$2
    4376062528-echo "$as_me:2175: checking for $ac_word" >&5
    43761 +echo "$as_me:2142: checking for $ac_word" >&5
     62529+echo "$as_me:2151: checking for $ac_word" >&5
    4376262530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4376362531 if test "${ac_cv_prog_LINT+set}" = set; then
    4376462532   echo $ECHO_N "(cached) $ECHO_C" >&6
    43765 @@ -2187,7 +2154,7 @@
     62533@@ -2187,7 +2163,7 @@
    4376662534   test -z "$ac_dir" && ac_dir=.
    4376762535   $as_executable_p "$ac_dir/$ac_word" || continue
    4376862536 ac_cv_prog_LINT="$ac_prog"
    4376962537-echo "$as_me:2190: found $ac_dir/$ac_word" >&5
    43770 +echo "$as_me:2157: found $ac_dir/$ac_word" >&5
     62538+echo "$as_me:2166: found $ac_dir/$ac_word" >&5
    4377162539 break
    4377262540 done
    4377362541 
    43774 @@ -2195,17 +2162,17 @@
     62542@@ -2195,17 +2171,17 @@
    4377562543 fi
    4377662544 LINT=$ac_cv_prog_LINT
    4377762545 if test -n "$LINT"; then
    4377862546-  echo "$as_me:2198: result: $LINT" >&5
    43779 +  echo "$as_me:2165: result: $LINT" >&5
     62547+  echo "$as_me:2174: result: $LINT" >&5
    4378062548 echo "${ECHO_T}$LINT" >&6
    4378162549 else
    4378262550-  echo "$as_me:2201: result: no" >&5
    43783 +  echo "$as_me:2168: result: no" >&5
     62551+  echo "$as_me:2177: result: no" >&5
    4378462552 echo "${ECHO_T}no" >&6
    4378562553 fi
     
    4378962557 
    4379062558-echo "$as_me:2208: checking if filesystem supports mixed-case filenames" >&5
    43791 +echo "$as_me:2175: checking if filesystem supports mixed-case filenames" >&5
     62559+echo "$as_me:2184: checking if filesystem supports mixed-case filenames" >&5
    4379262560 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
    4379362561 if test "${cf_cv_mixedcase+set}" = set; then
    4379462562   echo $ECHO_N "(cached) $ECHO_C" >&6
    43795 @@ -2232,7 +2199,7 @@
     62563@@ -2232,7 +2208,7 @@
    4379662564 fi
    4379762565 
    4379862566 fi
    4379962567-echo "$as_me:2235: result: $cf_cv_mixedcase" >&5
    43800 +echo "$as_me:2202: result: $cf_cv_mixedcase" >&5
     62568+echo "$as_me:2211: result: $cf_cv_mixedcase" >&5
    4380162569 echo "${ECHO_T}$cf_cv_mixedcase" >&6
    4380262570 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF
    4380362571 #define MIXEDCASE_FILENAMES 1
    43804 @@ -2242,7 +2209,7 @@
     62572@@ -2242,7 +2218,7 @@
    4380562573 do
    4380662574   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4380762575 set dummy $ac_prog; ac_word=$2
    4380862576-echo "$as_me:2245: checking for $ac_word" >&5
    43809 +echo "$as_me:2212: checking for $ac_word" >&5
     62577+echo "$as_me:2221: checking for $ac_word" >&5
    4381062578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4381162579 if test "${ac_cv_prog_CTAGS+set}" = set; then
    4381262580   echo $ECHO_N "(cached) $ECHO_C" >&6
    43813 @@ -2257,7 +2224,7 @@
     62581@@ -2257,7 +2233,7 @@
    4381462582   test -z "$ac_dir" && ac_dir=.
    4381562583   $as_executable_p "$ac_dir/$ac_word" || continue
    4381662584 ac_cv_prog_CTAGS="$ac_prog"
    4381762585-echo "$as_me:2260: found $ac_dir/$ac_word" >&5
    43818 +echo "$as_me:2227: found $ac_dir/$ac_word" >&5
     62586+echo "$as_me:2236: found $ac_dir/$ac_word" >&5
    4381962587 break
    4382062588 done
    4382162589 
    43822 @@ -2265,10 +2232,10 @@
     62590@@ -2265,10 +2241,10 @@
    4382362591 fi
    4382462592 CTAGS=$ac_cv_prog_CTAGS
    4382562593 if test -n "$CTAGS"; then
    4382662594-  echo "$as_me:2268: result: $CTAGS" >&5
    43827 +  echo "$as_me:2235: result: $CTAGS" >&5
     62595+  echo "$as_me:2244: result: $CTAGS" >&5
    4382862596 echo "${ECHO_T}$CTAGS" >&6
    4382962597 else
    4383062598-  echo "$as_me:2271: result: no" >&5
    43831 +  echo "$as_me:2238: result: no" >&5
     62599+  echo "$as_me:2247: result: no" >&5
    4383262600 echo "${ECHO_T}no" >&6
    4383362601 fi
    4383462602 
    43835 @@ -2279,7 +2246,7 @@
     62603@@ -2279,7 +2255,7 @@
    4383662604 do
    4383762605   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4383862606 set dummy $ac_prog; ac_word=$2
    4383962607-echo "$as_me:2282: checking for $ac_word" >&5
    43840 +echo "$as_me:2249: checking for $ac_word" >&5
     62608+echo "$as_me:2258: checking for $ac_word" >&5
    4384162609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4384262610 if test "${ac_cv_prog_ETAGS+set}" = set; then
    4384362611   echo $ECHO_N "(cached) $ECHO_C" >&6
    43844 @@ -2294,7 +2261,7 @@
     62612@@ -2294,7 +2270,7 @@
    4384562613   test -z "$ac_dir" && ac_dir=.
    4384662614   $as_executable_p "$ac_dir/$ac_word" || continue
    4384762615 ac_cv_prog_ETAGS="$ac_prog"
    4384862616-echo "$as_me:2297: found $ac_dir/$ac_word" >&5
    43849 +echo "$as_me:2264: found $ac_dir/$ac_word" >&5
     62617+echo "$as_me:2273: found $ac_dir/$ac_word" >&5
    4385062618 break
    4385162619 done
    4385262620 
    43853 @@ -2302,10 +2269,10 @@
     62621@@ -2302,10 +2278,10 @@
    4385462622 fi
    4385562623 ETAGS=$ac_cv_prog_ETAGS
    4385662624 if test -n "$ETAGS"; then
    4385762625-  echo "$as_me:2305: result: $ETAGS" >&5
    43858 +  echo "$as_me:2272: result: $ETAGS" >&5
     62626+  echo "$as_me:2281: result: $ETAGS" >&5
    4385962627 echo "${ECHO_T}$ETAGS" >&6
    4386062628 else
    4386162629-  echo "$as_me:2308: result: no" >&5
    43862 +  echo "$as_me:2275: result: no" >&5
     62630+  echo "$as_me:2284: result: no" >&5
    4386362631 echo "${ECHO_T}no" >&6
    4386462632 fi
    4386562633 
    43866 @@ -2314,7 +2281,7 @@
     62634@@ -2314,7 +2290,7 @@
    4386762635 
    4386862636 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
    4386962637 set dummy ${CTAGS:-ctags}; ac_word=$2
    4387062638-echo "$as_me:2317: checking for $ac_word" >&5
    43871 +echo "$as_me:2284: checking for $ac_word" >&5
     62639+echo "$as_me:2293: checking for $ac_word" >&5
    4387262640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4387362641 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
    4387462642   echo $ECHO_N "(cached) $ECHO_C" >&6
    43875 @@ -2329,7 +2296,7 @@
     62643@@ -2329,7 +2305,7 @@
    4387662644   test -z "$ac_dir" && ac_dir=.
    4387762645   $as_executable_p "$ac_dir/$ac_word" || continue
    4387862646 ac_cv_prog_MAKE_LOWER_TAGS="yes"
    4387962647-echo "$as_me:2332: found $ac_dir/$ac_word" >&5
    43880 +echo "$as_me:2299: found $ac_dir/$ac_word" >&5
     62648+echo "$as_me:2308: found $ac_dir/$ac_word" >&5
    4388162649 break
    4388262650 done
    4388362651 
    43884 @@ -2338,17 +2305,17 @@
     62652@@ -2338,17 +2314,17 @@
    4388562653 fi
    4388662654 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
    4388762655 if test -n "$MAKE_LOWER_TAGS"; then
    4388862656-  echo "$as_me:2341: result: $MAKE_LOWER_TAGS" >&5
    43889 +  echo "$as_me:2308: result: $MAKE_LOWER_TAGS" >&5
     62657+  echo "$as_me:2317: result: $MAKE_LOWER_TAGS" >&5
    4389062658 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
    4389162659 else
    4389262660-  echo "$as_me:2344: result: no" >&5
    43893 +  echo "$as_me:2311: result: no" >&5
     62661+  echo "$as_me:2320: result: no" >&5
    4389462662 echo "${ECHO_T}no" >&6
    4389562663 fi
     
    4389962667 set dummy ${ETAGS:-etags}; ac_word=$2
    4390062668-echo "$as_me:2351: checking for $ac_word" >&5
    43901 +echo "$as_me:2318: checking for $ac_word" >&5
     62669+echo "$as_me:2327: checking for $ac_word" >&5
    4390262670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4390362671 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
    4390462672   echo $ECHO_N "(cached) $ECHO_C" >&6
    43905 @@ -2363,7 +2330,7 @@
     62673@@ -2363,7 +2339,7 @@
    4390662674   test -z "$ac_dir" && ac_dir=.
    4390762675   $as_executable_p "$ac_dir/$ac_word" || continue
    4390862676 ac_cv_prog_MAKE_UPPER_TAGS="yes"
    4390962677-echo "$as_me:2366: found $ac_dir/$ac_word" >&5
    43910 +echo "$as_me:2333: found $ac_dir/$ac_word" >&5
     62678+echo "$as_me:2342: found $ac_dir/$ac_word" >&5
    4391162679 break
    4391262680 done
    4391362681 
    43914 @@ -2372,10 +2339,10 @@
     62682@@ -2372,10 +2348,10 @@
    4391562683 fi
    4391662684 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
    4391762685 if test -n "$MAKE_UPPER_TAGS"; then
    4391862686-  echo "$as_me:2375: result: $MAKE_UPPER_TAGS" >&5
    43919 +  echo "$as_me:2342: result: $MAKE_UPPER_TAGS" >&5
     62687+  echo "$as_me:2351: result: $MAKE_UPPER_TAGS" >&5
    4392062688 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
    4392162689 else
    4392262690-  echo "$as_me:2378: result: no" >&5
    43923 +  echo "$as_me:2345: result: no" >&5
     62691+  echo "$as_me:2354: result: no" >&5
    4392462692 echo "${ECHO_T}no" >&6
    4392562693 fi
    4392662694 
    43927 @@ -2395,14 +2362,14 @@
     62695@@ -2395,14 +2371,14 @@
    4392862696        MAKE_LOWER_TAGS="#"
    4392962697 fi
    4393062698 
    4393162699-echo "$as_me:2398: checking if -lm needed for math functions" >&5
    43932 +echo "$as_me:2365: checking if -lm needed for math functions" >&5
     62700+echo "$as_me:2374: checking if -lm needed for math functions" >&5
    4393362701 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6
    4393462702 if test "${cf_cv_need_libm+set}" = set; then
     
    4393862706        cat >conftest.$ac_ext <<_ACEOF
    4393962707-#line 2405 "configure"
    43940 +#line 2372 "configure"
     62708+#line 2381 "configure"
    4394162709 #include "confdefs.h"
    4394262710 
    4394362711        #include <stdio.h>
    43944 @@ -2417,16 +2384,16 @@
     62712@@ -2417,16 +2393,16 @@
    4394562713 }
    4394662714 _ACEOF
    4394762715 rm -f conftest.$ac_objext conftest$ac_exeext
    4394862716-if { (eval echo "$as_me:2420: \"$ac_link\"") >&5
    43949 +if { (eval echo "$as_me:2387: \"$ac_link\"") >&5
     62717+if { (eval echo "$as_me:2396: \"$ac_link\"") >&5
    4395062718   (eval $ac_link) 2>&5
    4395162719   ac_status=$?
    4395262720-  echo "$as_me:2423: \$? = $ac_status" >&5
    43953 +  echo "$as_me:2390: \$? = $ac_status" >&5
     62721+  echo "$as_me:2399: \$? = $ac_status" >&5
    4395462722   (exit $ac_status); } &&
    4395562723          { ac_try='test -s conftest$ac_exeext'
    4395662724-  { (eval echo "$as_me:2426: \"$ac_try\"") >&5
    43957 +  { (eval echo "$as_me:2393: \"$ac_try\"") >&5
     62725+  { (eval echo "$as_me:2402: \"$ac_try\"") >&5
    4395862726   (eval $ac_try) 2>&5
    4395962727   ac_status=$?
    4396062728-  echo "$as_me:2429: \$? = $ac_status" >&5
    43961 +  echo "$as_me:2396: \$? = $ac_status" >&5
     62729+  echo "$as_me:2405: \$? = $ac_status" >&5
    4396262730   (exit $ac_status); }; }; then
    4396362731   cf_cv_need_libm=no
    4396462732 else
    43965 @@ -2436,13 +2403,15 @@
     62733@@ -2436,13 +2412,15 @@
    4396662734 fi
    4396762735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4396862736 fi
    4396962737-echo "$as_me:2439: result: $cf_cv_need_libm" >&5
    43970 +echo "$as_me:2406: result: $cf_cv_need_libm" >&5
     62738+echo "$as_me:2415: result: $cf_cv_need_libm" >&5
    4397162739 echo "${ECHO_T}$cf_cv_need_libm" >&6
    4397262740 if test "$cf_cv_need_libm" = yes
     
    4398062748 CC_SHARED_OPTS=unknown
    4398162749 CPPFLAGS="$CPPFLAGS"
    43982 @@ -2464,14 +2433,118 @@
     62750@@ -2464,14 +2442,118 @@
    4398362751 TEST_ARGS=""
    4398462752 TEST_DEPS=""
     
    4400062768+# into CC.  This will not help with broken scripts that wrap the compiler with
    4400162769+# options, but eliminates a more common category of user confusion.
    44002 +echo "$as_me:2450: checking \$CC variable" >&5
     62770+echo "$as_me:2459: checking \$CC variable" >&5
    4400362771+echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
    4400462772+case "$CC" in #(vi
    4400562773+*[\ \  ]-[IUD]*)
    44006 +       echo "$as_me:2454: result: broken" >&5
     62774+       echo "$as_me:2463: result: broken" >&5
    4400762775+echo "${ECHO_T}broken" >&6
    44008 +       { echo "$as_me:2456: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
     62776+       { echo "$as_me:2465: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
    4400962777+echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
    4401062778+       # humor him...
     
    4409262860+       ;;
    4409362861+*)
    44094 +       echo "$as_me:2542: result: ok" >&5
     62862+       echo "$as_me:2551: result: ok" >&5
    4409562863+echo "${ECHO_T}ok" >&6
    4409662864+       ;;
    4409762865+esac
    4409862866+
    44099 +echo "$as_me:2547: checking for ${CC:-cc} option to accept ANSI C" >&5
     62867+echo "$as_me:2556: checking for ${CC:-cc} option to accept ANSI C" >&5
    4410062868 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6
    4410162869 if test "${cf_cv_ansi_cc+set}" = set; then
    4410262870   echo $ECHO_N "(cached) $ECHO_C" >&6
    44103 @@ -2575,7 +2648,7 @@
     62871@@ -2575,7 +2657,7 @@
    4410462872 fi
    4410562873 
    4410662874        cat >conftest.$ac_ext <<_ACEOF
    4410762875-#line 2578 "configure"
    44108 +#line 2651 "configure"
     62876+#line 2660 "configure"
    4410962877 #include "confdefs.h"
    4411062878 
    4411162879 #ifndef CC_HAS_PROTOS
    44112 @@ -2596,16 +2669,16 @@
     62880@@ -2596,16 +2678,16 @@
    4411362881 }
    4411462882 _ACEOF
    4411562883 rm -f conftest.$ac_objext
    4411662884-if { (eval echo "$as_me:2599: \"$ac_compile\"") >&5
    44117 +if { (eval echo "$as_me:2672: \"$ac_compile\"") >&5
     62885+if { (eval echo "$as_me:2681: \"$ac_compile\"") >&5
    4411862886   (eval $ac_compile) 2>&5
    4411962887   ac_status=$?
    4412062888-  echo "$as_me:2602: \$? = $ac_status" >&5
    44121 +  echo "$as_me:2675: \$? = $ac_status" >&5
     62889+  echo "$as_me:2684: \$? = $ac_status" >&5
    4412262890   (exit $ac_status); } &&
    4412362891          { ac_try='test -s conftest.$ac_objext'
    4412462892-  { (eval echo "$as_me:2605: \"$ac_try\"") >&5
    44125 +  { (eval echo "$as_me:2678: \"$ac_try\"") >&5
     62893+  { (eval echo "$as_me:2687: \"$ac_try\"") >&5
    4412662894   (eval $ac_try) 2>&5
    4412762895   ac_status=$?
    4412862896-  echo "$as_me:2608: \$? = $ac_status" >&5
    44129 +  echo "$as_me:2681: \$? = $ac_status" >&5
     62897+  echo "$as_me:2690: \$? = $ac_status" >&5
    4413062898   (exit $ac_status); }; }; then
    4413162899   cf_cv_ansi_cc="$cf_arg"; break
    4413262900 else
    44133 @@ -2618,7 +2691,7 @@
     62901@@ -2618,7 +2700,7 @@
    4413462902 CPPFLAGS="$cf_save_CPPFLAGS"
    4413562903 
    4413662904 fi
    4413762905-echo "$as_me:2621: result: $cf_cv_ansi_cc" >&5
    44138 +echo "$as_me:2694: result: $cf_cv_ansi_cc" >&5
     62906+echo "$as_me:2703: result: $cf_cv_ansi_cc" >&5
    4413962907 echo "${ECHO_T}$cf_cv_ansi_cc" >&6
    4414062908 
    4414162909 if test "$cf_cv_ansi_cc" != "no"; then
    44142 @@ -2711,7 +2784,7 @@
     62910@@ -2711,7 +2793,7 @@
    4414362911 fi
    4414462912 
    4414562913 if test "$cf_cv_ansi_cc" = "no"; then
    4414662914-       { { echo "$as_me:2714: error: Your compiler does not appear to recognize prototypes.
    44147 +       { { echo "$as_me:2787: error: Your compiler does not appear to recognize prototypes.
     62915+       { { echo "$as_me:2796: error: Your compiler does not appear to recognize prototypes.
    4414862916 You have the following choices:
    4414962917        a. adjust your compiler options
    4415062918        b. get an up-to-date compiler
    44151 @@ -2742,10 +2815,10 @@
     62919@@ -2742,10 +2824,10 @@
    4415262920 EOF
    4415362921 if test "$GCC" = yes
    4415462922 then
    4415562923-       { echo "$as_me:2745: checking for $CC __attribute__ directives..." >&5
    44156 +       { echo "$as_me:2818: checking for $CC __attribute__ directives..." >&5
     62924+       { echo "$as_me:2827: checking for $CC __attribute__ directives..." >&5
    4415762925 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
    4415862926 cat > conftest.$ac_ext <<EOF
    4415962927-#line 2748 "${as_me:-configure}"
    44160 +#line 2821 "${as_me:-configure}"
     62928+#line 2830 "${as_me:-configure}"
    4416162929 #include "confdefs.h"
    4416262930 #include "conftest.h"
    4416362931 #include "conftest.i"
    44164 @@ -2794,12 +2867,12 @@
     62932@@ -2794,12 +2876,12 @@
    4416562933                        ;;
    4416662934                esac
    4416762935 
    4416862936-               if { (eval echo "$as_me:2797: \"$ac_compile\"") >&5
    44169 +               if { (eval echo "$as_me:2870: \"$ac_compile\"") >&5
     62937+               if { (eval echo "$as_me:2879: \"$ac_compile\"") >&5
    4417062938   (eval $ac_compile) 2>&5
    4417162939   ac_status=$?
    4417262940-  echo "$as_me:2800: \$? = $ac_status" >&5
    44173 +  echo "$as_me:2873: \$? = $ac_status" >&5
     62941+  echo "$as_me:2882: \$? = $ac_status" >&5
    4417462942   (exit $ac_status); }; then
    4417562943-                       test -n "$verbose" && echo "$as_me:2802: result: ... $cf_attribute" >&5
    44176 +                       test -n "$verbose" && echo "$as_me:2875: result: ... $cf_attribute" >&5
     62944+                       test -n "$verbose" && echo "$as_me:2884: result: ... $cf_attribute" >&5
    4417762945 echo "${ECHO_T}... $cf_attribute" >&6
    4417862946                        cat conftest.h >>confdefs.h
    4417962947                        case $cf_attribute in #(vi
    44180 @@ -2839,7 +2912,7 @@
     62948@@ -2839,7 +2921,7 @@
    4418162949 cf_xopen_source=
    4418262950 
     
    4418762955        ;;
    4418862956 cygwin) #(vi
    44189 @@ -2850,6 +2923,7 @@
     62957@@ -2850,6 +2932,7 @@
    4419062958        ;;
    4419162959 darwin*) #(vi
     
    4419562963 freebsd*|dragonfly*) #(vi
    4419662964        # 5.x headers associate
    44197 @@ -2867,17 +2941,18 @@
     62965@@ -2867,17 +2950,18 @@
    4419862966        ;;
    4419962967 irix[56].*) #(vi
     
    4420462972 
    4420562973-echo "$as_me:2873: checking if we must define _GNU_SOURCE" >&5
    44206 +echo "$as_me:2948: checking if we must define _GNU_SOURCE" >&5
     62974+echo "$as_me:2957: checking if we must define _GNU_SOURCE" >&5
    4420762975 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
    4420862976 if test "${cf_cv_gnu_source+set}" = set; then
     
    4421262980 cat >conftest.$ac_ext <<_ACEOF
    4421362981-#line 2880 "configure"
    44214 +#line 2955 "configure"
     62982+#line 2964 "configure"
    4421562983 #include "confdefs.h"
    4421662984 #include <sys/types.h>
    4421762985 int
    44218 @@ -2892,16 +2967,16 @@
     62986@@ -2892,16 +2976,16 @@
    4421962987 }
    4422062988 _ACEOF
    4422162989 rm -f conftest.$ac_objext
    4422262990-if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5
    44223 +if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5
     62991+if { (eval echo "$as_me:2979: \"$ac_compile\"") >&5
    4422462992   (eval $ac_compile) 2>&5
    4422562993   ac_status=$?
    4422662994-  echo "$as_me:2898: \$? = $ac_status" >&5
    44227 +  echo "$as_me:2973: \$? = $ac_status" >&5
     62995+  echo "$as_me:2982: \$? = $ac_status" >&5
    4422862996   (exit $ac_status); } &&
    4422962997          { ac_try='test -s conftest.$ac_objext'
    4423062998-  { (eval echo "$as_me:2901: \"$ac_try\"") >&5
    44231 +  { (eval echo "$as_me:2976: \"$ac_try\"") >&5
     62999+  { (eval echo "$as_me:2985: \"$ac_try\"") >&5
    4423263000   (eval $ac_try) 2>&5
    4423363001   ac_status=$?
    4423463002-  echo "$as_me:2904: \$? = $ac_status" >&5
    44235 +  echo "$as_me:2979: \$? = $ac_status" >&5
     63003+  echo "$as_me:2988: \$? = $ac_status" >&5
    4423663004   (exit $ac_status); }; }; then
    4423763005   cf_cv_gnu_source=no
    4423863006 else
    44239 @@ -2910,7 +2985,7 @@
     63007@@ -2910,7 +2994,7 @@
    4424063008 cf_save="$CPPFLAGS"
    4424163009         CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
    4424263010         cat >conftest.$ac_ext <<_ACEOF
    4424363011-#line 2913 "configure"
    44244 +#line 2988 "configure"
     63012+#line 2997 "configure"
    4424563013 #include "confdefs.h"
    4424663014 #include <sys/types.h>
    4424763015 int
    44248 @@ -2925,16 +3000,16 @@
     63016@@ -2925,16 +3009,16 @@
    4424963017 }
    4425063018 _ACEOF
    4425163019 rm -f conftest.$ac_objext
    4425263020-if { (eval echo "$as_me:2928: \"$ac_compile\"") >&5
    44253 +if { (eval echo "$as_me:3003: \"$ac_compile\"") >&5
     63021+if { (eval echo "$as_me:3012: \"$ac_compile\"") >&5
    4425463022   (eval $ac_compile) 2>&5
    4425563023   ac_status=$?
    4425663024-  echo "$as_me:2931: \$? = $ac_status" >&5
    44257 +  echo "$as_me:3006: \$? = $ac_status" >&5
     63025+  echo "$as_me:3015: \$? = $ac_status" >&5
    4425863026   (exit $ac_status); } &&
    4425963027          { ac_try='test -s conftest.$ac_objext'
    4426063028-  { (eval echo "$as_me:2934: \"$ac_try\"") >&5
    44261 +  { (eval echo "$as_me:3009: \"$ac_try\"") >&5
     63029+  { (eval echo "$as_me:3018: \"$ac_try\"") >&5
    4426263030   (eval $ac_try) 2>&5
    4426363031   ac_status=$?
    4426463032-  echo "$as_me:2937: \$? = $ac_status" >&5
    44265 +  echo "$as_me:3012: \$? = $ac_status" >&5
     63033+  echo "$as_me:3021: \$? = $ac_status" >&5
    4426663034   (exit $ac_status); }; }; then
    4426763035   cf_cv_gnu_source=no
    4426863036 else
    44269 @@ -2949,51 +3024,45 @@
     63037@@ -2949,51 +3033,45 @@
    4427063038 rm -f conftest.$ac_objext conftest.$ac_ext
    4427163039 
    4427263040 fi
    4427363041-echo "$as_me:2952: result: $cf_cv_gnu_source" >&5
    44274 +echo "$as_me:3027: result: $cf_cv_gnu_source" >&5
     63042+echo "$as_me:3036: result: $cf_cv_gnu_source" >&5
    4427563043 echo "${ECHO_T}$cf_cv_gnu_source" >&6
    4427663044 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
     
    4432163089+               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    4432263090+
    44323 +echo "$as_me:3049: checking if we should define _POSIX_C_SOURCE" >&5
     63091+echo "$as_me:3058: checking if we should define _POSIX_C_SOURCE" >&5
    4432463092+echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    4432563093+if test "${cf_cv_posix_c_source+set}" = set; then
     
    4432763095 else
    4432863096 
    44329 +echo "${as_me:-configure}:3055: testing if the symbol is already defined go no further ..." 1>&5
     63097+echo "${as_me:-configure}:3064: testing if the symbol is already defined go no further ..." 1>&5
    4433063098+
    4433163099        cat >conftest.$ac_ext <<_ACEOF
    4433263100-#line 2989 "configure"
    44333 +#line 3058 "configure"
     63101+#line 3067 "configure"
    4433463102 #include "confdefs.h"
    4433563103 #include <sys/types.h>
     
    4434363111 #endif
    4434463112   ;
    44345 @@ -3001,32 +3070,44 @@
     63113@@ -3001,32 +3079,44 @@
    4434663114 }
    4434763115 _ACEOF
    4434863116 rm -f conftest.$ac_objext
    4434963117-if { (eval echo "$as_me:3004: \"$ac_compile\"") >&5
    44350 +if { (eval echo "$as_me:3073: \"$ac_compile\"") >&5
     63118+if { (eval echo "$as_me:3082: \"$ac_compile\"") >&5
    4435163119   (eval $ac_compile) 2>&5
    4435263120   ac_status=$?
    4435363121-  echo "$as_me:3007: \$? = $ac_status" >&5
    44354 +  echo "$as_me:3076: \$? = $ac_status" >&5
     63122+  echo "$as_me:3085: \$? = $ac_status" >&5
    4435563123   (exit $ac_status); } &&
    4435663124          { ac_try='test -s conftest.$ac_objext'
    4435763125-  { (eval echo "$as_me:3010: \"$ac_try\"") >&5
    44358 +  { (eval echo "$as_me:3079: \"$ac_try\"") >&5
     63126+  { (eval echo "$as_me:3088: \"$ac_try\"") >&5
    4435963127   (eval $ac_try) 2>&5
    4436063128   ac_status=$?
    4436163129-  echo "$as_me:3013: \$? = $ac_status" >&5
    44362 +  echo "$as_me:3082: \$? = $ac_status" >&5
     63130+  echo "$as_me:3091: \$? = $ac_status" >&5
    4436363131   (exit $ac_status); }; }; then
    4436463132-  cf_cv_xopen_source=no
     
    4438663154+        if test "$cf_want_posix_source" = yes ; then
    4438763155+               cat >conftest.$ac_ext <<_ACEOF
    44388 +#line 3103 "configure"
     63156+#line 3112 "configure"
    4438963157 #include "confdefs.h"
    4439063158 #include <sys/types.h>
     
    4439863166 #endif
    4439963167   ;
    44400 @@ -3034,50 +3115,87 @@
     63168@@ -3034,50 +3124,87 @@
    4440163169 }
    4440263170 _ACEOF
    4440363171 rm -f conftest.$ac_objext
    4440463172-if { (eval echo "$as_me:3037: \"$ac_compile\"") >&5
    44405 +if { (eval echo "$as_me:3118: \"$ac_compile\"") >&5
     63173+if { (eval echo "$as_me:3127: \"$ac_compile\"") >&5
    4440663174   (eval $ac_compile) 2>&5
    4440763175   ac_status=$?
    4440863176-  echo "$as_me:3040: \$? = $ac_status" >&5
    44409 +  echo "$as_me:3121: \$? = $ac_status" >&5
     63177+  echo "$as_me:3130: \$? = $ac_status" >&5
    4441063178   (exit $ac_status); } &&
    4441163179          { ac_try='test -s conftest.$ac_objext'
    4441263180-  { (eval echo "$as_me:3043: \"$ac_try\"") >&5
    44413 +  { (eval echo "$as_me:3124: \"$ac_try\"") >&5
     63181+  { (eval echo "$as_me:3133: \"$ac_try\"") >&5
    4441463182   (eval $ac_try) 2>&5
    4441563183   ac_status=$?
    4441663184-  echo "$as_me:3046: \$? = $ac_status" >&5
    44417 +  echo "$as_me:3127: \$? = $ac_status" >&5
     63185+  echo "$as_me:3136: \$? = $ac_status" >&5
    4441863186   (exit $ac_status); }; }; then
    4441963187-  cf_cv_xopen_source=no
     
    4442963197+        fi
    4443063198+
    44431 +echo "${as_me:-configure}:3138: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     63199+echo "${as_me:-configure}:3147: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    4443263200+
    4443363201+        CFLAGS="$cf_trim_CFLAGS"
    4443463202+        CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
    4443563203+
    44436 +echo "${as_me:-configure}:3143: testing if the second compile does not leave our definition intact error ..." 1>&5
     63204+echo "${as_me:-configure}:3152: testing if the second compile does not leave our definition intact error ..." 1>&5
    4443763205+
    4443863206+        cat >conftest.$ac_ext <<_ACEOF
    44439 +#line 3146 "configure"
     63207+#line 3155 "configure"
    4444063208+#include "confdefs.h"
    4444163209+#include <sys/types.h>
     
    4445263220+_ACEOF
    4445363221+rm -f conftest.$ac_objext
    44454 +if { (eval echo "$as_me:3161: \"$ac_compile\"") >&5
     63222+if { (eval echo "$as_me:3170: \"$ac_compile\"") >&5
    4445563223+  (eval $ac_compile) 2>&5
    4445663224+  ac_status=$?
    44457 +  echo "$as_me:3164: \$? = $ac_status" >&5
     63225+  echo "$as_me:3173: \$? = $ac_status" >&5
    4445863226+  (exit $ac_status); } &&
    4445963227+         { ac_try='test -s conftest.$ac_objext'
    44460 +  { (eval echo "$as_me:3167: \"$ac_try\"") >&5
     63228+  { (eval echo "$as_me:3176: \"$ac_try\"") >&5
    4446163229+  (eval $ac_try) 2>&5
    4446263230+  ac_status=$?
    44463 +  echo "$as_me:3170: \$? = $ac_status" >&5
     63231+  echo "$as_me:3179: \$? = $ac_status" >&5
    4446463232+  (exit $ac_status); }; }; then
    4446563233+  :
     
    4448763255-               -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
    4448863256+fi
    44489 +echo "$as_me:3186: result: $cf_cv_posix_c_source" >&5
     63257+echo "$as_me:3195: result: $cf_cv_posix_c_source" >&5
    4449063258+echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    4449163259 
     
    4450563273 case $cf_fix_cppflags in
    4450663274 no)
    44507 @@ -3150,31 +3268,239 @@
     63275@@ -3150,33 +3277,241 @@
    4450863276        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    4450963277 fi
     
    4451263280-
    4451363281-cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
    44514 +fi
    44515  
     63282-
    4451663283-cf_save_CFLAGS="$CFLAGS"
    4451763284-cf_save_CPPFLAGS="$CPPFLAGS"
     63285-
     63286-cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
     63287-       sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
     63288-               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
     63289+fi
     63290 
     63291-cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
     63292-       sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
     63293-               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    4451863294+       ;;
    4451963295+netbsd*) #(vi
     
    4454263318+*)
    4454363319 
    44544 -cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
    44545 -       sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
    44546 -               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    44547 +echo "$as_me:3299: checking if we should define _XOPEN_SOURCE" >&5
     63320-echo "$as_me:3168: checking if we should define _POSIX_C_SOURCE" >&5
     63321-echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
     63322-if test "${cf_cv_posix_c_source+set}" = set; then
     63323+echo "$as_me:3308: checking if we should define _XOPEN_SOURCE" >&5
    4454863324+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    4454963325+if test "${cf_cv_xopen_source+set}" = set; then
    44550 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    44551 +else
    44552 +
    44553 +       cat >conftest.$ac_ext <<_ACEOF
    44554 +#line 3306 "configure"
    44555 +#include "confdefs.h"
     63326   echo $ECHO_N "(cached) $ECHO_C" >&6
     63327 else
     63328 
     63329-echo "${as_me:-configure}:3174: testing if the symbol is already defined go no further ..." 1>&5
     63330-
     63331        cat >conftest.$ac_ext <<_ACEOF
     63332-#line 3177 "configure"
     63333+#line 3315 "configure"
     63334 #include "confdefs.h"
     63335-#include <sys/types.h>
    4455663336+
    4455763337+#include <stdlib.h>
     
    4457163351+_ACEOF
    4457263352+rm -f conftest.$ac_objext
    44573 +if { (eval echo "$as_me:3325: \"$ac_compile\"") >&5
     63353+if { (eval echo "$as_me:3334: \"$ac_compile\"") >&5
    4457463354+  (eval $ac_compile) 2>&5
    4457563355+  ac_status=$?
    44576 +  echo "$as_me:3328: \$? = $ac_status" >&5
     63356+  echo "$as_me:3337: \$? = $ac_status" >&5
    4457763357+  (exit $ac_status); } &&
    4457863358+         { ac_try='test -s conftest.$ac_objext'
    44579 +  { (eval echo "$as_me:3331: \"$ac_try\"") >&5
     63359+  { (eval echo "$as_me:3340: \"$ac_try\"") >&5
    4458063360+  (eval $ac_try) 2>&5
    4458163361+  ac_status=$?
    44582 +  echo "$as_me:3334: \$? = $ac_status" >&5
     63362+  echo "$as_me:3343: \$? = $ac_status" >&5
    4458363363+  (exit $ac_status); }; }; then
    4458463364+  cf_cv_xopen_source=no
     
    4458963369+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    4459063370+        cat >conftest.$ac_ext <<_ACEOF
    44591 +#line 3343 "configure"
     63371+#line 3352 "configure"
    4459263372+#include "confdefs.h"
    4459363373+
     
    4460863388+_ACEOF
    4460963389+rm -f conftest.$ac_objext
    44610 +if { (eval echo "$as_me:3362: \"$ac_compile\"") >&5
     63390+if { (eval echo "$as_me:3371: \"$ac_compile\"") >&5
    4461163391+  (eval $ac_compile) 2>&5
    4461263392+  ac_status=$?
    44613 +  echo "$as_me:3365: \$? = $ac_status" >&5
     63393+  echo "$as_me:3374: \$? = $ac_status" >&5
    4461463394+  (exit $ac_status); } &&
    4461563395+         { ac_try='test -s conftest.$ac_objext'
    44616 +  { (eval echo "$as_me:3368: \"$ac_try\"") >&5
     63396+  { (eval echo "$as_me:3377: \"$ac_try\"") >&5
    4461763397+  (eval $ac_try) 2>&5
    4461863398+  ac_status=$?
    44619 +  echo "$as_me:3371: \$? = $ac_status" >&5
     63399+  echo "$as_me:3380: \$? = $ac_status" >&5
    4462063400+  (exit $ac_status); }; }; then
    4462163401+  cf_cv_xopen_source=no
     
    4463263412+
    4463363413+fi
    44634 +echo "$as_me:3386: result: $cf_cv_xopen_source" >&5
     63414+echo "$as_me:3395: result: $cf_cv_xopen_source" >&5
    4463563415+echo "${ECHO_T}$cf_cv_xopen_source" >&6
    4463663416+
     
    4473563515+       sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
    4473663516+               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    44737  
    44738  cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
    44739         sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
    44740                 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
    44741  
    44742 -echo "$as_me:3168: checking if we should define _POSIX_C_SOURCE" >&5
    44743 +echo "$as_me:3494: checking if we should define _POSIX_C_SOURCE" >&5
    44744  echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
    44745  if test "${cf_cv_posix_c_source+set}" = set; then
    44746    echo $ECHO_N "(cached) $ECHO_C" >&6
    44747  else
    44748  
    44749 -echo "${as_me:-configure}:3174: testing if the symbol is already defined go no further ..." 1>&5
    44750 +echo "${as_me:-configure}:3500: testing if the symbol is already defined go no further ..." 1>&5
    44751  
    44752         cat >conftest.$ac_ext <<_ACEOF
    44753 -#line 3177 "configure"
    44754 +#line 3503 "configure"
    44755  #include "confdefs.h"
    44756  #include <sys/types.h>
     63517+
     63518+cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
     63519+       sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
     63520+               -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
     63521+
     63522+echo "$as_me:3503: checking if we should define _POSIX_C_SOURCE" >&5
     63523+echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
     63524+if test "${cf_cv_posix_c_source+set}" = set; then
     63525+  echo $ECHO_N "(cached) $ECHO_C" >&6
     63526+else
     63527+
     63528+echo "${as_me:-configure}:3509: testing if the symbol is already defined go no further ..." 1>&5
     63529+
     63530+       cat >conftest.$ac_ext <<_ACEOF
     63531+#line 3512 "configure"
     63532+#include "confdefs.h"
     63533+#include <sys/types.h>
    4475763534 int
    44758 @@ -3189,16 +3515,16 @@
     63535 main ()
     63536 {
     63537@@ -3189,16 +3524,16 @@
    4475963538 }
    4476063539 _ACEOF
    4476163540 rm -f conftest.$ac_objext
    4476263541-if { (eval echo "$as_me:3192: \"$ac_compile\"") >&5
    44763 +if { (eval echo "$as_me:3518: \"$ac_compile\"") >&5
     63542+if { (eval echo "$as_me:3527: \"$ac_compile\"") >&5
    4476463543   (eval $ac_compile) 2>&5
    4476563544   ac_status=$?
    4476663545-  echo "$as_me:3195: \$? = $ac_status" >&5
    44767 +  echo "$as_me:3521: \$? = $ac_status" >&5
     63546+  echo "$as_me:3530: \$? = $ac_status" >&5
    4476863547   (exit $ac_status); } &&
    4476963548          { ac_try='test -s conftest.$ac_objext'
    4477063549-  { (eval echo "$as_me:3198: \"$ac_try\"") >&5
    44771 +  { (eval echo "$as_me:3524: \"$ac_try\"") >&5
     63550+  { (eval echo "$as_me:3533: \"$ac_try\"") >&5
    4477263551   (eval $ac_try) 2>&5
    4477363552   ac_status=$?
    4477463553-  echo "$as_me:3201: \$? = $ac_status" >&5
    44775 +  echo "$as_me:3527: \$? = $ac_status" >&5
     63554+  echo "$as_me:3536: \$? = $ac_status" >&5
    4477663555   (exit $ac_status); }; }; then
    4477763556   cf_cv_posix_c_source=no
    4477863557 else
    44779 @@ -3219,7 +3545,7 @@
     63558@@ -3219,7 +3554,7 @@
    4478063559         esac
    4478163560         if test "$cf_want_posix_source" = yes ; then
    4478263561                cat >conftest.$ac_ext <<_ACEOF
    4478363562-#line 3222 "configure"
    44784 +#line 3548 "configure"
     63563+#line 3557 "configure"
    4478563564 #include "confdefs.h"
    4478663565 #include <sys/types.h>
    4478763566 int
    44788 @@ -3234,16 +3560,16 @@
     63567@@ -3234,16 +3569,16 @@
    4478963568 }
    4479063569 _ACEOF
    4479163570 rm -f conftest.$ac_objext
    4479263571-if { (eval echo "$as_me:3237: \"$ac_compile\"") >&5
    44793 +if { (eval echo "$as_me:3563: \"$ac_compile\"") >&5
     63572+if { (eval echo "$as_me:3572: \"$ac_compile\"") >&5
    4479463573   (eval $ac_compile) 2>&5
    4479563574   ac_status=$?
    4479663575-  echo "$as_me:3240: \$? = $ac_status" >&5
    44797 +  echo "$as_me:3566: \$? = $ac_status" >&5
     63576+  echo "$as_me:3575: \$? = $ac_status" >&5
    4479863577   (exit $ac_status); } &&
    4479963578          { ac_try='test -s conftest.$ac_objext'
    4480063579-  { (eval echo "$as_me:3243: \"$ac_try\"") >&5
    44801 +  { (eval echo "$as_me:3569: \"$ac_try\"") >&5
     63580+  { (eval echo "$as_me:3578: \"$ac_try\"") >&5
    4480263581   (eval $ac_try) 2>&5
    4480363582   ac_status=$?
    4480463583-  echo "$as_me:3246: \$? = $ac_status" >&5
    44805 +  echo "$as_me:3572: \$? = $ac_status" >&5
     63584+  echo "$as_me:3581: \$? = $ac_status" >&5
    4480663585   (exit $ac_status); }; }; then
    4480763586   :
    4480863587 else
    44809 @@ -3254,15 +3580,15 @@
     63588@@ -3254,15 +3589,15 @@
    4481063589 rm -f conftest.$ac_objext conftest.$ac_ext
    4481163590         fi
    4481263591 
    4481363592-echo "${as_me:-configure}:3257: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    44814 +echo "${as_me:-configure}:3583: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     63593+echo "${as_me:-configure}:3592: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    4481563594 
    4481663595         CFLAGS="$cf_trim_CFLAGS"
     
    4481863597 
    4481963598-echo "${as_me:-configure}:3262: testing if the second compile does not leave our definition intact error ..." 1>&5
    44820 +echo "${as_me:-configure}:3588: testing if the second compile does not leave our definition intact error ..." 1>&5
     63599+echo "${as_me:-configure}:3597: testing if the second compile does not leave our definition intact error ..." 1>&5
    4482163600 
    4482263601         cat >conftest.$ac_ext <<_ACEOF
    4482363602-#line 3265 "configure"
    44824 +#line 3591 "configure"
     63603+#line 3600 "configure"
    4482563604 #include "confdefs.h"
    4482663605 #include <sys/types.h>
    4482763606 int
    44828 @@ -3277,16 +3603,16 @@
     63607@@ -3277,16 +3612,16 @@
    4482963608 }
    4483063609 _ACEOF
    4483163610 rm -f conftest.$ac_objext
    4483263611-if { (eval echo "$as_me:3280: \"$ac_compile\"") >&5
    44833 +if { (eval echo "$as_me:3606: \"$ac_compile\"") >&5
     63612+if { (eval echo "$as_me:3615: \"$ac_compile\"") >&5
    4483463613   (eval $ac_compile) 2>&5
    4483563614   ac_status=$?
    4483663615-  echo "$as_me:3283: \$? = $ac_status" >&5
    44837 +  echo "$as_me:3609: \$? = $ac_status" >&5
     63616+  echo "$as_me:3618: \$? = $ac_status" >&5
    4483863617   (exit $ac_status); } &&
    4483963618          { ac_try='test -s conftest.$ac_objext'
    4484063619-  { (eval echo "$as_me:3286: \"$ac_try\"") >&5
    44841 +  { (eval echo "$as_me:3612: \"$ac_try\"") >&5
     63620+  { (eval echo "$as_me:3621: \"$ac_try\"") >&5
    4484263621   (eval $ac_try) 2>&5
    4484363622   ac_status=$?
    4484463623-  echo "$as_me:3289: \$? = $ac_status" >&5
    44845 +  echo "$as_me:3615: \$? = $ac_status" >&5
     63624+  echo "$as_me:3624: \$? = $ac_status" >&5
    4484663625   (exit $ac_status); }; }; then
    4484763626   :
    4484863627 else
    44849 @@ -3302,7 +3628,7 @@
     63628@@ -3302,7 +3637,7 @@
    4485063629 rm -f conftest.$ac_objext conftest.$ac_ext
    4485163630 
    4485263631 fi
    4485363632-echo "$as_me:3305: result: $cf_cv_posix_c_source" >&5
    44854 +echo "$as_me:3631: result: $cf_cv_posix_c_source" >&5
     63633+echo "$as_me:3640: result: $cf_cv_posix_c_source" >&5
    4485563634 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
    4485663635 
    4485763636 if test "$cf_cv_posix_c_source" != no ; then
    44858 @@ -3474,112 +3800,379 @@
     63637@@ -3474,104 +3809,371 @@
    4485963638 
    4486063639 fi
     
    4487063649-#line 3485 "configure"
    4487163650+if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
    44872 +       echo "$as_me:3804: checking if _XOPEN_SOURCE really is set" >&5
     63651+       echo "$as_me:3813: checking if _XOPEN_SOURCE really is set" >&5
    4487363652+echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
    4487463653+       cat >conftest.$ac_ext <<_ACEOF
    44875 +#line 3807 "configure"
     63654+#line 3816 "configure"
    4487663655 #include "confdefs.h"
    4487763656-#include <stdarg.h>
     
    4492963708-if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5
    4493063709+rm -f conftest.$ac_objext
    44931 +if { (eval echo "$as_me:3822: \"$ac_compile\"") >&5
     63710+if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5
    4493263711   (eval $ac_compile) 2>&5
    4493363712   ac_status=$?
    4493463713-  echo "$as_me:3537: \$? = $ac_status" >&5
    44935 +  echo "$as_me:3825: \$? = $ac_status" >&5
     63714+  echo "$as_me:3834: \$? = $ac_status" >&5
    4493663715   (exit $ac_status); } &&
    4493763716          { ac_try='test -s conftest.$ac_objext'
    4493863717-  { (eval echo "$as_me:3540: \"$ac_try\"") >&5
    44939 +  { (eval echo "$as_me:3828: \"$ac_try\"") >&5
     63718+  { (eval echo "$as_me:3837: \"$ac_try\"") >&5
    4494063719   (eval $ac_try) 2>&5
    4494163720   ac_status=$?
    4494263721-  echo "$as_me:3543: \$? = $ac_status" >&5
    44943 +  echo "$as_me:3831: \$? = $ac_status" >&5
     63722+  echo "$as_me:3840: \$? = $ac_status" >&5
    4494463723   (exit $ac_status); }; }; then
    4494563724-  ac_cv_prog_cc_stdc=$ac_arg
     
    4495763736-
    4495863737-fi
    44959 -
     63738+rm -f conftest.$ac_objext conftest.$ac_ext
     63739+       echo "$as_me:3849: result: $cf_XOPEN_SOURCE_set" >&5
     63740+echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
     63741+       if test $cf_XOPEN_SOURCE_set = yes
     63742+       then
     63743+               cat >conftest.$ac_ext <<_ACEOF
     63744+#line 3854 "configure"
     63745+#include "confdefs.h"
     63746+#include <stdlib.h>
     63747+int
     63748+main ()
     63749+{
     63750 
    4496063751-case "x$ac_cv_prog_cc_stdc" in
    4496163752-  x|xno)
    4496263753-    echo "$as_me:3560: result: none needed" >&5
    4496363754-echo "${ECHO_T}none needed" >&6 ;;
    44964 -  *)
    44965 -    echo "$as_me:3563: result: $ac_cv_prog_cc_stdc" >&5
    44966 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    44967 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
    44968 -esac
    44969 -
    44970 -echo "$as_me:3568: checking for an ANSI C-conforming const" >&5
    44971 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    44972 -if test "${ac_cv_c_const+set}" = set; then
    44973 -  echo $ECHO_N "(cached) $ECHO_C" >&6
    44974 -else
    44975 -  cat >conftest.$ac_ext <<_ACEOF
    44976 -#line 3574 "configure"
    44977 +rm -f conftest.$ac_objext conftest.$ac_ext
    44978 +       echo "$as_me:3840: result: $cf_XOPEN_SOURCE_set" >&5
    44979 +echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
    44980 +       if test $cf_XOPEN_SOURCE_set = yes
    44981 +       then
    44982 +               cat >conftest.$ac_ext <<_ACEOF
    44983 +#line 3845 "configure"
    44984  #include "confdefs.h"
    44985 -
    44986 +#include <stdlib.h>
    44987  int
    44988  main ()
    44989  {
    44990 -/* FIXME: Include the comments suggested by Paul. */
    44991 -#ifndef __cplusplus
    44992 -  /* Ultrix mips cc rejects this.  */
    44993 +
    4499463755+#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
    4499563756+make an error
     
    4500063761+_ACEOF
    4500163762+rm -f conftest.$ac_objext
    45002 +if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5
     63763+if { (eval echo "$as_me:3869: \"$ac_compile\"") >&5
    4500363764+  (eval $ac_compile) 2>&5
    4500463765+  ac_status=$?
    45005 +  echo "$as_me:3863: \$? = $ac_status" >&5
     63766+  echo "$as_me:3872: \$? = $ac_status" >&5
    4500663767+  (exit $ac_status); } &&
    4500763768+         { ac_try='test -s conftest.$ac_objext'
    45008 +  { (eval echo "$as_me:3866: \"$ac_try\"") >&5
     63769+  { (eval echo "$as_me:3875: \"$ac_try\"") >&5
    4500963770+  (eval $ac_try) 2>&5
    4501063771+  ac_status=$?
    45011 +  echo "$as_me:3869: \$? = $ac_status" >&5
     63772+  echo "$as_me:3878: \$? = $ac_status" >&5
    4501263773+  (exit $ac_status); }; }; then
    4501363774+  cf_XOPEN_SOURCE_set_ok=yes
     
    4502063781+               if test $cf_XOPEN_SOURCE_set_ok = no
    4502163782+               then
    45022 +                       { echo "$as_me:3880: WARNING: _XOPEN_SOURCE is lower than requested" >&5
     63783+                       { echo "$as_me:3889: WARNING: _XOPEN_SOURCE is lower than requested" >&5
    4502363784+echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
    4502463785+               fi
    4502563786+       else
    4502663787+
    45027 +echo "$as_me:3885: checking if we should define _XOPEN_SOURCE" >&5
     63788+echo "$as_me:3894: checking if we should define _XOPEN_SOURCE" >&5
    4502863789+echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
    4502963790+if test "${cf_cv_xopen_source+set}" = set; then
     
    4503263793+
    4503363794+       cat >conftest.$ac_ext <<_ACEOF
    45034 +#line 3892 "configure"
     63795+#line 3901 "configure"
    4503563796+#include "confdefs.h"
    4503663797+
     
    4505163812+_ACEOF
    4505263813+rm -f conftest.$ac_objext
    45053 +if { (eval echo "$as_me:3911: \"$ac_compile\"") >&5
     63814+if { (eval echo "$as_me:3920: \"$ac_compile\"") >&5
    4505463815+  (eval $ac_compile) 2>&5
    4505563816+  ac_status=$?
    45056 +  echo "$as_me:3914: \$? = $ac_status" >&5
     63817+  echo "$as_me:3923: \$? = $ac_status" >&5
    4505763818+  (exit $ac_status); } &&
    4505863819+         { ac_try='test -s conftest.$ac_objext'
    45059 +  { (eval echo "$as_me:3917: \"$ac_try\"") >&5
     63820+  { (eval echo "$as_me:3926: \"$ac_try\"") >&5
    4506063821+  (eval $ac_try) 2>&5
    4506163822+  ac_status=$?
    45062 +  echo "$as_me:3920: \$? = $ac_status" >&5
     63823+  echo "$as_me:3929: \$? = $ac_status" >&5
    4506363824+  (exit $ac_status); }; }; then
    4506463825+  cf_cv_xopen_source=no
     
    4506963830+        CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
    4507063831+        cat >conftest.$ac_ext <<_ACEOF
    45071 +#line 3929 "configure"
     63832+#line 3938 "configure"
    4507263833+#include "confdefs.h"
    4507363834+
     
    4508863849+_ACEOF
    4508963850+rm -f conftest.$ac_objext
    45090 +if { (eval echo "$as_me:3948: \"$ac_compile\"") >&5
     63851+if { (eval echo "$as_me:3957: \"$ac_compile\"") >&5
    4509163852+  (eval $ac_compile) 2>&5
    4509263853+  ac_status=$?
    45093 +  echo "$as_me:3951: \$? = $ac_status" >&5
     63854+  echo "$as_me:3960: \$? = $ac_status" >&5
    4509463855+  (exit $ac_status); } &&
    4509563856+         { ac_try='test -s conftest.$ac_objext'
    45096 +  { (eval echo "$as_me:3954: \"$ac_try\"") >&5
     63857+  { (eval echo "$as_me:3963: \"$ac_try\"") >&5
    4509763858+  (eval $ac_try) 2>&5
    4509863859+  ac_status=$?
    45099 +  echo "$as_me:3957: \$? = $ac_status" >&5
     63860+  echo "$as_me:3966: \$? = $ac_status" >&5
    4510063861+  (exit $ac_status); }; }; then
    4510163862+  cf_cv_xopen_source=no
     
    4511263873+
    4511363874+fi
    45114 +echo "$as_me:3972: result: $cf_cv_xopen_source" >&5
     63875+echo "$as_me:3981: result: $cf_cv_xopen_source" >&5
    4511563876+echo "${ECHO_T}$cf_cv_xopen_source" >&6
    4511663877+
     
    4521063971+fi
    4521163972+
    45212 +echo "$as_me:4070: checking for $CC option to accept ANSI C" >&5
     63973+echo "$as_me:4079: checking for $CC option to accept ANSI C" >&5
    4521363974+echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    4521463975+if test "${ac_cv_prog_cc_stdc+set}" = set; then
     
    4521863979+ac_save_CC=$CC
    4521963980+cat >conftest.$ac_ext <<_ACEOF
    45220 +#line 4078 "configure"
     63981+#line 4087 "configure"
    4522163982+#include "confdefs.h"
    4522263983+#include <stdarg.h>
     
    4526764028+  CC="$ac_save_CC $ac_arg"
    4526864029+  rm -f conftest.$ac_objext
    45269 +if { (eval echo "$as_me:4127: \"$ac_compile\"") >&5
     64030+if { (eval echo "$as_me:4136: \"$ac_compile\"") >&5
    4527064031+  (eval $ac_compile) 2>&5
    4527164032+  ac_status=$?
    45272 +  echo "$as_me:4130: \$? = $ac_status" >&5
     64033+  echo "$as_me:4139: \$? = $ac_status" >&5
    4527364034+  (exit $ac_status); } &&
    4527464035+         { ac_try='test -s conftest.$ac_objext'
    45275 +  { (eval echo "$as_me:4133: \"$ac_try\"") >&5
     64036+  { (eval echo "$as_me:4142: \"$ac_try\"") >&5
    4527664037+  (eval $ac_try) 2>&5
    4527764038+  ac_status=$?
    45278 +  echo "$as_me:4136: \$? = $ac_status" >&5
     64039+  echo "$as_me:4145: \$? = $ac_status" >&5
    4527964040+  (exit $ac_status); }; }; then
    4528064041+  ac_cv_prog_cc_stdc=$ac_arg
     
    4529364054+case "x$ac_cv_prog_cc_stdc" in
    4529464055+  x|xno)
    45295 +    echo "$as_me:4153: result: none needed" >&5
     64056+    echo "$as_me:4162: result: none needed" >&5
    4529664057+echo "${ECHO_T}none needed" >&6 ;;
    45297 +  *)
    45298 +    echo "$as_me:4156: result: $ac_cv_prog_cc_stdc" >&5
    45299 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    45300 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
    45301 +esac
    45302 +
    45303 +echo "$as_me:4161: checking for an ANSI C-conforming const" >&5
    45304 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    45305 +if test "${ac_cv_c_const+set}" = set; then
    45306 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    45307 +else
    45308 +  cat >conftest.$ac_ext <<_ACEOF
    45309 +#line 4167 "configure"
    45310 +#include "confdefs.h"
    45311 +
    45312 +int
    45313 +main ()
    45314 +{
    45315 +/* FIXME: Include the comments suggested by Paul. */
    45316 +#ifndef __cplusplus
    45317 +  /* Ultrix mips cc rejects this.  */
    45318    typedef int charset[2];
    45319    const charset x;
    45320    /* SunOS 4.1.1 cc rejects this.  */
    45321 @@ -3629,16 +4222,16 @@
     64058   *)
     64059-    echo "$as_me:3563: result: $ac_cv_prog_cc_stdc" >&5
     64060+    echo "$as_me:4165: result: $ac_cv_prog_cc_stdc" >&5
     64061 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     64062     CC="$CC $ac_cv_prog_cc_stdc" ;;
     64063 esac
     64064 
     64065-echo "$as_me:3568: checking for an ANSI C-conforming const" >&5
     64066+echo "$as_me:4170: checking for an ANSI C-conforming const" >&5
     64067 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     64068 if test "${ac_cv_c_const+set}" = set; then
     64069   echo $ECHO_N "(cached) $ECHO_C" >&6
     64070 else
     64071   cat >conftest.$ac_ext <<_ACEOF
     64072-#line 3574 "configure"
     64073+#line 4176 "configure"
     64074 #include "confdefs.h"
     64075 
     64076 int
     64077@@ -3629,16 +4231,16 @@
    4532264078 }
    4532364079 _ACEOF
    4532464080 rm -f conftest.$ac_objext
    4532564081-if { (eval echo "$as_me:3632: \"$ac_compile\"") >&5
    45326 +if { (eval echo "$as_me:4225: \"$ac_compile\"") >&5
     64082+if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5
    4532764083   (eval $ac_compile) 2>&5
    4532864084   ac_status=$?
    4532964085-  echo "$as_me:3635: \$? = $ac_status" >&5
    45330 +  echo "$as_me:4228: \$? = $ac_status" >&5
     64086+  echo "$as_me:4237: \$? = $ac_status" >&5
    4533164087   (exit $ac_status); } &&
    4533264088          { ac_try='test -s conftest.$ac_objext'
    4533364089-  { (eval echo "$as_me:3638: \"$ac_try\"") >&5
    45334 +  { (eval echo "$as_me:4231: \"$ac_try\"") >&5
     64090+  { (eval echo "$as_me:4240: \"$ac_try\"") >&5
    4533564091   (eval $ac_try) 2>&5
    4533664092   ac_status=$?
    4533764093-  echo "$as_me:3641: \$? = $ac_status" >&5
    45338 +  echo "$as_me:4234: \$? = $ac_status" >&5
     64094+  echo "$as_me:4243: \$? = $ac_status" >&5
    4533964095   (exit $ac_status); }; }; then
    4534064096   ac_cv_c_const=yes
    4534164097 else
    45342 @@ -3648,7 +4241,7 @@
     64098@@ -3648,7 +4250,7 @@
    4534364099 fi
    4534464100 rm -f conftest.$ac_objext conftest.$ac_ext
    4534564101 fi
    4534664102-echo "$as_me:3651: result: $ac_cv_c_const" >&5
    45347 +echo "$as_me:4244: result: $ac_cv_c_const" >&5
     64103+echo "$as_me:4253: result: $ac_cv_c_const" >&5
    4534864104 echo "${ECHO_T}$ac_cv_c_const" >&6
    4534964105 if test $ac_cv_c_const = no; then
    4535064106 
    45351 @@ -3658,7 +4251,7 @@
     64107@@ -3658,7 +4260,7 @@
    4535264108 
    4535364109 fi
    4535464110 
    4535564111-echo "$as_me:3661: checking for signal global datatype" >&5
    45356 +echo "$as_me:4254: checking for signal global datatype" >&5
     64112+echo "$as_me:4263: checking for signal global datatype" >&5
    4535764113 echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6
    4535864114 if test "${cf_cv_sig_atomic_t+set}" = set; then
    4535964115   echo $ECHO_N "(cached) $ECHO_C" >&6
    45360 @@ -3670,7 +4263,7 @@
     64116@@ -3670,7 +4272,7 @@
    4536164117                "int"
    4536264118        do
    4536364119        cat >conftest.$ac_ext <<_ACEOF
    4536464120-#line 3673 "configure"
    45365 +#line 4266 "configure"
     64121+#line 4275 "configure"
    4536664122 #include "confdefs.h"
    4536764123 
    4536864124 #include <sys/types.h>
    45369 @@ -3693,16 +4286,16 @@
     64125@@ -3693,16 +4295,16 @@
    4537064126 }
    4537164127 _ACEOF
    4537264128 rm -f conftest.$ac_objext
    4537364129-if { (eval echo "$as_me:3696: \"$ac_compile\"") >&5
    45374 +if { (eval echo "$as_me:4289: \"$ac_compile\"") >&5
     64130+if { (eval echo "$as_me:4298: \"$ac_compile\"") >&5
    4537564131   (eval $ac_compile) 2>&5
    4537664132   ac_status=$?
    4537764133-  echo "$as_me:3699: \$? = $ac_status" >&5
    45378 +  echo "$as_me:4292: \$? = $ac_status" >&5
     64134+  echo "$as_me:4301: \$? = $ac_status" >&5
    4537964135   (exit $ac_status); } &&
    4538064136          { ac_try='test -s conftest.$ac_objext'
    4538164137-  { (eval echo "$as_me:3702: \"$ac_try\"") >&5
    45382 +  { (eval echo "$as_me:4295: \"$ac_try\"") >&5
     64138+  { (eval echo "$as_me:4304: \"$ac_try\"") >&5
    4538364139   (eval $ac_try) 2>&5
    4538464140   ac_status=$?
    4538564141-  echo "$as_me:3705: \$? = $ac_status" >&5
    45386 +  echo "$as_me:4298: \$? = $ac_status" >&5
     64142+  echo "$as_me:4307: \$? = $ac_status" >&5
    4538764143   (exit $ac_status); }; }; then
    4538864144   cf_cv_sig_atomic_t=$cf_type
    4538964145 else
    45390 @@ -3716,13 +4309,13 @@
     64146@@ -3716,13 +4318,13 @@
    4539164147 
    4539264148 fi
    4539364149 
    4539464150-echo "$as_me:3719: result: $cf_cv_sig_atomic_t" >&5
    45395 +echo "$as_me:4312: result: $cf_cv_sig_atomic_t" >&5
     64151+echo "$as_me:4321: result: $cf_cv_sig_atomic_t" >&5
    4539664152 echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6
    4539764153 test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <<EOF
     
    4540064156 
    4540164157-echo "$as_me:3725: checking if you want to see long compiling messages" >&5
    45402 +echo "$as_me:4318: checking if you want to see long compiling messages" >&5
     64158+echo "$as_me:4327: checking if you want to see long compiling messages" >&5
    4540364159 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
    4540464160 
    4540564161 # Check whether --enable-echo or --disable-echo was given.
    45406 @@ -3756,22 +4349,22 @@
     64162@@ -3756,22 +4358,22 @@
    4540764163     ECHO_CC=''
    4540864164 
    4540964165 fi;
    4541064166-echo "$as_me:3759: result: $enableval" >&5
    45411 +echo "$as_me:4352: result: $enableval" >&5
     64167+echo "$as_me:4361: result: $enableval" >&5
    4541264168 echo "${ECHO_T}$enableval" >&6
    4541364169 
     
    4541564171 if test "$GCC" = yes ; then
    4541664172-       echo "$as_me:3764: checking version of $CC" >&5
    45417 +       echo "$as_me:4357: checking version of $CC" >&5
     64173+       echo "$as_me:4366: checking version of $CC" >&5
    4541864174 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
    4541964175        GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
    4542064176        test -z "$GCC_VERSION" && GCC_VERSION=unknown
    4542164177-       echo "$as_me:3768: result: $GCC_VERSION" >&5
    45422 +       echo "$as_me:4361: result: $GCC_VERSION" >&5
     64178+       echo "$as_me:4370: result: $GCC_VERSION" >&5
    4542364179 echo "${ECHO_T}$GCC_VERSION" >&6
    4542464180 fi
     
    4542764183 then
    4542864184-echo "$as_me:3774: checking if you want to turn on gcc warnings" >&5
    45429 +echo "$as_me:4367: checking if you want to turn on gcc warnings" >&5
     64185+echo "$as_me:4376: checking if you want to turn on gcc warnings" >&5
    4543064186 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
    4543164187 
    4543264188 # Check whether --enable-warnings or --disable-warnings was given.
    45433 @@ -3788,7 +4381,7 @@
     64189@@ -3788,7 +4390,7 @@
    4543464190   with_warnings=no
    4543564191 
    4543664192 fi;
    4543764193-echo "$as_me:3791: result: $with_warnings" >&5
    45438 +echo "$as_me:4384: result: $with_warnings" >&5
     64194+echo "$as_me:4393: result: $with_warnings" >&5
    4543964195 echo "${ECHO_T}$with_warnings" >&6
    4544064196 if test "$with_warnings" = "yes"
    4544164197 then
    45442 @@ -3811,10 +4404,10 @@
     64198@@ -3811,10 +4413,10 @@
    4544364199 EOF
    4544464200 if test "$GCC" = yes
    4544564201 then
    4544664202-       { echo "$as_me:3814: checking for $CC __attribute__ directives..." >&5
    45447 +       { echo "$as_me:4407: checking for $CC __attribute__ directives..." >&5
     64203+       { echo "$as_me:4416: checking for $CC __attribute__ directives..." >&5
    4544864204 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
    4544964205 cat > conftest.$ac_ext <<EOF
    4545064206-#line 3817 "${as_me:-configure}"
    45451 +#line 4410 "${as_me:-configure}"
     64207+#line 4419 "${as_me:-configure}"
    4545264208 #include "confdefs.h"
    4545364209 #include "conftest.h"
    4545464210 #include "conftest.i"
    45455 @@ -3863,12 +4456,12 @@
     64211@@ -3863,12 +4465,12 @@
    4545664212                        ;;
    4545764213                esac
    4545864214 
    4545964215-               if { (eval echo "$as_me:3866: \"$ac_compile\"") >&5
    45460 +               if { (eval echo "$as_me:4459: \"$ac_compile\"") >&5
     64216+               if { (eval echo "$as_me:4468: \"$ac_compile\"") >&5
    4546164217   (eval $ac_compile) 2>&5
    4546264218   ac_status=$?
    4546364219-  echo "$as_me:3869: \$? = $ac_status" >&5
    45464 +  echo "$as_me:4462: \$? = $ac_status" >&5
     64220+  echo "$as_me:4471: \$? = $ac_status" >&5
    4546564221   (exit $ac_status); }; then
    4546664222-                       test -n "$verbose" && echo "$as_me:3871: result: ... $cf_attribute" >&5
    45467 +                       test -n "$verbose" && echo "$as_me:4464: result: ... $cf_attribute" >&5
     64223+                       test -n "$verbose" && echo "$as_me:4473: result: ... $cf_attribute" >&5
    4546864224 echo "${ECHO_T}... $cf_attribute" >&6
    4546964225                        cat conftest.h >>confdefs.h
    4547064226                        case $cf_attribute in #(vi
    45471 @@ -3908,12 +4501,12 @@
     64227@@ -3908,19 +4510,70 @@
    4547264228 if test "$GCC" = yes ; then
    4547364229        case $host_os in
    4547464230        linux*|gnu*)
    4547564231-               echo "$as_me:3911: checking if this is really Intel C compiler" >&5
    45476 +               echo "$as_me:4504: checking if this is really Intel C compiler" >&5
     64232+               echo "$as_me:4513: checking if this is really Intel C compiler" >&5
    4547764233 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
    4547864234                cf_save_CFLAGS="$CFLAGS"
     
    4548064236                cat >conftest.$ac_ext <<_ACEOF
    4548164237-#line 3916 "configure"
    45482 +#line 4509 "configure"
     64238+#line 4518 "configure"
     64239+#include "confdefs.h"
     64240+
     64241+int
     64242+main ()
     64243+{
     64244+
     64245+#ifdef __INTEL_COMPILER
     64246+#else
     64247+make an error
     64248+#endif
     64249+
     64250+  ;
     64251+  return 0;
     64252+}
     64253+_ACEOF
     64254+rm -f conftest.$ac_objext
     64255+if { (eval echo "$as_me:4535: \"$ac_compile\"") >&5
     64256+  (eval $ac_compile) 2>&5
     64257+  ac_status=$?
     64258+  echo "$as_me:4538: \$? = $ac_status" >&5
     64259+  (exit $ac_status); } &&
     64260+         { ac_try='test -s conftest.$ac_objext'
     64261+  { (eval echo "$as_me:4541: \"$ac_try\"") >&5
     64262+  (eval $ac_try) 2>&5
     64263+  ac_status=$?
     64264+  echo "$as_me:4544: \$? = $ac_status" >&5
     64265+  (exit $ac_status); }; }; then
     64266+  INTEL_COMPILER=yes
     64267+cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
     64268+
     64269+else
     64270+  echo "$as_me: failed program was:" >&5
     64271+cat conftest.$ac_ext >&5
     64272+fi
     64273+rm -f conftest.$ac_objext conftest.$ac_ext
     64274+               CFLAGS="$cf_save_CFLAGS"
     64275+               echo "$as_me:4555: result: $INTEL_COMPILER" >&5
     64276+echo "${ECHO_T}$INTEL_COMPILER" >&6
     64277+               ;;
     64278+       esac
     64279+fi
     64280+
     64281+CLANG_COMPILER=no
     64282+
     64283+if test "$GCC" = yes ; then
     64284+       echo "$as_me:4564: checking if this is really Clang C compiler" >&5
     64285+echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
     64286+       cf_save_CFLAGS="$CFLAGS"
     64287+       CFLAGS="$CFLAGS -Qunused-arguments"
     64288+       cat >conftest.$ac_ext <<_ACEOF
     64289+#line 4569 "configure"
    4548364290 #include "confdefs.h"
    4548464291 
    4548564292 int
    45486 @@ -3930,16 +4523,16 @@
     64293 main ()
     64294 {
     64295 
     64296-#ifdef __INTEL_COMPILER
     64297+#ifdef __clang__
     64298 #else
     64299 make an error
     64300 #endif
     64301@@ -3930,34 +4583,32 @@
    4548764302 }
    4548864303 _ACEOF
    4548964304 rm -f conftest.$ac_objext
    4549064305-if { (eval echo "$as_me:3933: \"$ac_compile\"") >&5
    45491 +if { (eval echo "$as_me:4526: \"$ac_compile\"") >&5
     64306+if { (eval echo "$as_me:4586: \"$ac_compile\"") >&5
    4549264307   (eval $ac_compile) 2>&5
    4549364308   ac_status=$?
    4549464309-  echo "$as_me:3936: \$? = $ac_status" >&5
    45495 +  echo "$as_me:4529: \$? = $ac_status" >&5
     64310+  echo "$as_me:4589: \$? = $ac_status" >&5
    4549664311   (exit $ac_status); } &&
    4549764312          { ac_try='test -s conftest.$ac_objext'
    4549864313-  { (eval echo "$as_me:3939: \"$ac_try\"") >&5
    45499 +  { (eval echo "$as_me:4532: \"$ac_try\"") >&5
     64314+  { (eval echo "$as_me:4592: \"$ac_try\"") >&5
    4550064315   (eval $ac_try) 2>&5
    4550164316   ac_status=$?
    4550264317-  echo "$as_me:3942: \$? = $ac_status" >&5
    45503 +  echo "$as_me:4535: \$? = $ac_status" >&5
     64318+  echo "$as_me:4595: \$? = $ac_status" >&5
    4550464319   (exit $ac_status); }; }; then
    45505    INTEL_COMPILER=yes
    45506  cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
    45507 @@ -3950,14 +4543,14 @@
     64320-  INTEL_COMPILER=yes
     64321-cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
     64322+  CLANG_COMPILER=yes
     64323+cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
     64324 
     64325 else
     64326   echo "$as_me: failed program was:" >&5
     64327 cat conftest.$ac_ext >&5
    4550864328 fi
    4550964329 rm -f conftest.$ac_objext conftest.$ac_ext
    45510                 CFLAGS="$cf_save_CFLAGS"
     64330-               CFLAGS="$cf_save_CFLAGS"
    4551164331-               echo "$as_me:3953: result: $INTEL_COMPILER" >&5
    45512 +               echo "$as_me:4546: result: $INTEL_COMPILER" >&5
    45513  echo "${ECHO_T}$INTEL_COMPILER" >&6
    45514                 ;;
    45515         esac
     64332-echo "${ECHO_T}$INTEL_COMPILER" >&6
     64333-               ;;
     64334-       esac
     64335+       CFLAGS="$cf_save_CFLAGS"
     64336+       echo "$as_me:4606: result: $CLANG_COMPILER" >&5
     64337+echo "${ECHO_T}$CLANG_COMPILER" >&6
    4551664338 fi
    4551764339 
    4551864340 cat > conftest.$ac_ext <<EOF
    4551964341-#line 3960 "${as_me:-configure}"
    45520 +#line 4553 "${as_me:-configure}"
     64342+#line 4611 "${as_me:-configure}"
    4552164343 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
    4552264344 EOF
    4552364345 
    45524 @@ -3974,7 +4567,7 @@
     64346@@ -3974,7 +4625,7 @@
    4552564347 # remark #981: operands are evaluated in unspecified order
    4552664348 # warning #279: controlling expression is constant
    4552764349 
    4552864350-       { echo "$as_me:3977: checking for $CC warning options..." >&5
    45529 +       { echo "$as_me:4570: checking for $CC warning options..." >&5
     64351+       { echo "$as_me:4628: checking for $CC warning options..." >&5
    4553064352 echo "$as_me: checking for $CC warning options..." >&6;}
    4553164353        cf_save_CFLAGS="$CFLAGS"
    4553264354        EXTRA_CFLAGS="-Wall"
    45533 @@ -3990,12 +4583,12 @@
     64355@@ -3990,12 +4641,12 @@
    4553464356                wd981
    4553564357        do
    4553664358                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    4553764359-               if { (eval echo "$as_me:3993: \"$ac_compile\"") >&5
    45538 +               if { (eval echo "$as_me:4586: \"$ac_compile\"") >&5
     64360+               if { (eval echo "$as_me:4644: \"$ac_compile\"") >&5
    4553964361   (eval $ac_compile) 2>&5
    4554064362   ac_status=$?
    4554164363-  echo "$as_me:3996: \$? = $ac_status" >&5
    45542 +  echo "$as_me:4589: \$? = $ac_status" >&5
     64364+  echo "$as_me:4647: \$? = $ac_status" >&5
    4554364365   (exit $ac_status); }; then
    4554464366-                       test -n "$verbose" && echo "$as_me:3998: result: ... -$cf_opt" >&5
    45545 +                       test -n "$verbose" && echo "$as_me:4591: result: ... -$cf_opt" >&5
     64367+                       test -n "$verbose" && echo "$as_me:4649: result: ... -$cf_opt" >&5
    4554664368 echo "${ECHO_T}... -$cf_opt" >&6
    4554764369                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
    4554864370                fi
    45549 @@ -4004,7 +4597,7 @@
     64371@@ -4004,7 +4655,7 @@
    4555064372 
    4555164373 elif test "$GCC" = yes
    4555264374 then
    4555364375-       { echo "$as_me:4007: checking for $CC warning options..." >&5
    45554 +       { echo "$as_me:4600: checking for $CC warning options..." >&5
     64376+       { echo "$as_me:4658: checking for $CC warning options..." >&5
    4555564377 echo "$as_me: checking for $CC warning options..." >&6;}
    4555664378        cf_save_CFLAGS="$CFLAGS"
    4555764379        EXTRA_CFLAGS=
    45558 @@ -4024,12 +4617,12 @@
     64380@@ -4024,12 +4675,12 @@
    4555964381                Wundef $cf_warn_CONST
    4556064382        do
    4556164383                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    4556264384-               if { (eval echo "$as_me:4027: \"$ac_compile\"") >&5
    45563 +               if { (eval echo "$as_me:4620: \"$ac_compile\"") >&5
     64385+               if { (eval echo "$as_me:4678: \"$ac_compile\"") >&5
    4556464386   (eval $ac_compile) 2>&5
    4556564387   ac_status=$?
    4556664388-  echo "$as_me:4030: \$? = $ac_status" >&5
    45567 +  echo "$as_me:4623: \$? = $ac_status" >&5
     64389+  echo "$as_me:4681: \$? = $ac_status" >&5
    4556864390   (exit $ac_status); }; then
    4556964391-                       test -n "$verbose" && echo "$as_me:4032: result: ... -$cf_opt" >&5
    45570 +                       test -n "$verbose" && echo "$as_me:4625: result: ... -$cf_opt" >&5
     64392+                       test -n "$verbose" && echo "$as_me:4683: result: ... -$cf_opt" >&5
    4557164393 echo "${ECHO_T}... -$cf_opt" >&6
    4557264394                        case $cf_opt in #(vi
    4557364395                        Wcast-qual) #(vi
    45574 @@ -4040,7 +4633,7 @@
     64396@@ -4040,7 +4691,17 @@
    4557564397                                [34].*)
    4557664398                                        test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
    4557764399 
    4557864400-echo "${as_me:-configure}:4043: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    45579 +echo "${as_me:-configure}:4636: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     64401+echo "${as_me:-configure}:4694: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     64402+
     64403+                                       continue;;
     64404+                               esac
     64405+                               ;;
     64406+                       Wpointer-arith) #(vi
     64407+                               case $GCC_VERSION in
     64408+                               [12].*)
     64409+                                       test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
     64410+
     64411+echo "${as_me:-configure}:4704: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    4558064412 
    4558164413                                        continue;;
    4558264414                                esac
    45583 @@ -4056,7 +4649,7 @@
     64415@@ -4056,7 +4717,7 @@
    4558464416 fi
    4558564417 fi
    4558664418 
    4558764419-echo "$as_me:4059: checking if you want to use dmalloc for testing" >&5
    45588 +echo "$as_me:4652: checking if you want to use dmalloc for testing" >&5
     64420+echo "$as_me:4720: checking if you want to use dmalloc for testing" >&5
    4558964421 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
    4559064422 
    4559164423 # Check whether --with-dmalloc or --without-dmalloc was given.
    45592 @@ -4072,7 +4665,7 @@
     64424@@ -4072,7 +4733,7 @@
    4559364425 else
    4559464426   with_dmalloc=
    4559564427 fi;
    4559664428-echo "$as_me:4075: result: ${with_dmalloc:-no}" >&5
    45597 +echo "$as_me:4668: result: ${with_dmalloc:-no}" >&5
     64429+echo "$as_me:4736: result: ${with_dmalloc:-no}" >&5
    4559864430 echo "${ECHO_T}${with_dmalloc:-no}" >&6
    4559964431 
    4560064432 case .$with_cflags in #(vi
    45601 @@ -4166,23 +4759,23 @@
     64433@@ -4166,23 +4827,23 @@
    4560264434 esac
    4560364435 
    4560464436 if test "$with_dmalloc" = yes ; then
    4560564437-       echo "$as_me:4169: checking for dmalloc.h" >&5
    45606 +       echo "$as_me:4762: checking for dmalloc.h" >&5
     64438+       echo "$as_me:4830: checking for dmalloc.h" >&5
    4560764439 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
    4560864440 if test "${ac_cv_header_dmalloc_h+set}" = set; then
     
    4561164443   cat >conftest.$ac_ext <<_ACEOF
    4561264444-#line 4175 "configure"
    45613 +#line 4768 "configure"
     64445+#line 4836 "configure"
    4561464446 #include "confdefs.h"
    4561564447 #include <dmalloc.h>
    4561664448 _ACEOF
    4561764449-if { (eval echo "$as_me:4179: \"$ac_cpp conftest.$ac_ext\"") >&5
    45618 +if { (eval echo "$as_me:4772: \"$ac_cpp conftest.$ac_ext\"") >&5
     64450+if { (eval echo "$as_me:4840: \"$ac_cpp conftest.$ac_ext\"") >&5
    4561964451   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4562064452   ac_status=$?
     
    4562364455   cat conftest.err >&5
    4562464456-  echo "$as_me:4185: \$? = $ac_status" >&5
    45625 +  echo "$as_me:4778: \$? = $ac_status" >&5
     64457+  echo "$as_me:4846: \$? = $ac_status" >&5
    4562664458   (exit $ac_status); } >/dev/null; then
    4562764459   if test -s conftest.err; then
    4562864460     ac_cpp_err=$ac_c_preproc_warn_flag
    45629 @@ -4201,11 +4794,11 @@
     64461@@ -4201,11 +4862,11 @@
    4563064462 fi
    4563164463 rm -f conftest.err conftest.$ac_ext
    4563264464 fi
    4563364465-echo "$as_me:4204: result: $ac_cv_header_dmalloc_h" >&5
    45634 +echo "$as_me:4797: result: $ac_cv_header_dmalloc_h" >&5
     64466+echo "$as_me:4865: result: $ac_cv_header_dmalloc_h" >&5
    4563564467 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
    4563664468 if test $ac_cv_header_dmalloc_h = yes; then
    4563764469 
    4563864470-echo "$as_me:4208: checking for dmalloc_debug in -ldmalloc" >&5
    45639 +echo "$as_me:4801: checking for dmalloc_debug in -ldmalloc" >&5
     64471+echo "$as_me:4869: checking for dmalloc_debug in -ldmalloc" >&5
    4564064472 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
    4564164473 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
    4564264474   echo $ECHO_N "(cached) $ECHO_C" >&6
    45643 @@ -4213,7 +4806,7 @@
     64475@@ -4213,7 +4874,7 @@
    4564464476   ac_check_lib_save_LIBS=$LIBS
    4564564477 LIBS="-ldmalloc  $LIBS"
    4564664478 cat >conftest.$ac_ext <<_ACEOF
    4564764479-#line 4216 "configure"
    45648 +#line 4809 "configure"
     64480+#line 4877 "configure"
    4564964481 #include "confdefs.h"
    4565064482 
    4565164483 /* Override any gcc2 internal prototype to avoid an error.  */
    45652 @@ -4232,16 +4825,16 @@
     64484@@ -4232,16 +4893,16 @@
    4565364485 }
    4565464486 _ACEOF
    4565564487 rm -f conftest.$ac_objext conftest$ac_exeext
    4565664488-if { (eval echo "$as_me:4235: \"$ac_link\"") >&5
    45657 +if { (eval echo "$as_me:4828: \"$ac_link\"") >&5
     64489+if { (eval echo "$as_me:4896: \"$ac_link\"") >&5
    4565864490   (eval $ac_link) 2>&5
    4565964491   ac_status=$?
    4566064492-  echo "$as_me:4238: \$? = $ac_status" >&5
    45661 +  echo "$as_me:4831: \$? = $ac_status" >&5
     64493+  echo "$as_me:4899: \$? = $ac_status" >&5
    4566264494   (exit $ac_status); } &&
    4566364495          { ac_try='test -s conftest$ac_exeext'
    4566464496-  { (eval echo "$as_me:4241: \"$ac_try\"") >&5
    45665 +  { (eval echo "$as_me:4834: \"$ac_try\"") >&5
     64497+  { (eval echo "$as_me:4902: \"$ac_try\"") >&5
    4566664498   (eval $ac_try) 2>&5
    4566764499   ac_status=$?
    4566864500-  echo "$as_me:4244: \$? = $ac_status" >&5
    45669 +  echo "$as_me:4837: \$? = $ac_status" >&5
     64501+  echo "$as_me:4905: \$? = $ac_status" >&5
    4567064502   (exit $ac_status); }; }; then
    4567164503   ac_cv_lib_dmalloc_dmalloc_debug=yes
    4567264504 else
    45673 @@ -4252,7 +4845,7 @@
     64505@@ -4252,7 +4913,7 @@
    4567464506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4567564507 LIBS=$ac_check_lib_save_LIBS
    4567664508 fi
    4567764509-echo "$as_me:4255: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
    45678 +echo "$as_me:4848: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
     64510+echo "$as_me:4916: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
    4567964511 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
    4568064512 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
    4568164513   cat >>confdefs.h <<EOF
    45682 @@ -4267,7 +4860,7 @@
     64514@@ -4267,7 +4928,7 @@
    4568364515 
    4568464516 fi
    4568564517 
    4568664518-echo "$as_me:4270: checking if you want to use dbmalloc for testing" >&5
    45687 +echo "$as_me:4863: checking if you want to use dbmalloc for testing" >&5
     64519+echo "$as_me:4931: checking if you want to use dbmalloc for testing" >&5
    4568864520 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
    4568964521 
    4569064522 # Check whether --with-dbmalloc or --without-dbmalloc was given.
    45691 @@ -4283,7 +4876,7 @@
     64523@@ -4283,7 +4944,7 @@
    4569264524 else
    4569364525   with_dbmalloc=
    4569464526 fi;
    4569564527-echo "$as_me:4286: result: ${with_dbmalloc:-no}" >&5
    45696 +echo "$as_me:4879: result: ${with_dbmalloc:-no}" >&5
     64528+echo "$as_me:4947: result: ${with_dbmalloc:-no}" >&5
    4569764529 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
    4569864530 
    4569964531 case .$with_cflags in #(vi
    45700 @@ -4377,23 +4970,23 @@
     64532@@ -4377,23 +5038,23 @@
    4570164533 esac
    4570264534 
    4570364535 if test "$with_dbmalloc" = yes ; then
    4570464536-       echo "$as_me:4380: checking for dbmalloc.h" >&5
    45705 +       echo "$as_me:4973: checking for dbmalloc.h" >&5
     64537+       echo "$as_me:5041: checking for dbmalloc.h" >&5
    4570664538 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
    4570764539 if test "${ac_cv_header_dbmalloc_h+set}" = set; then
     
    4571064542   cat >conftest.$ac_ext <<_ACEOF
    4571164543-#line 4386 "configure"
    45712 +#line 4979 "configure"
     64544+#line 5047 "configure"
    4571364545 #include "confdefs.h"
    4571464546 #include <dbmalloc.h>
    4571564547 _ACEOF
    4571664548-if { (eval echo "$as_me:4390: \"$ac_cpp conftest.$ac_ext\"") >&5
    45717 +if { (eval echo "$as_me:4983: \"$ac_cpp conftest.$ac_ext\"") >&5
     64549+if { (eval echo "$as_me:5051: \"$ac_cpp conftest.$ac_ext\"") >&5
    4571864550   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4571964551   ac_status=$?
     
    4572264554   cat conftest.err >&5
    4572364555-  echo "$as_me:4396: \$? = $ac_status" >&5
    45724 +  echo "$as_me:4989: \$? = $ac_status" >&5
     64556+  echo "$as_me:5057: \$? = $ac_status" >&5
    4572564557   (exit $ac_status); } >/dev/null; then
    4572664558   if test -s conftest.err; then
    4572764559     ac_cpp_err=$ac_c_preproc_warn_flag
    45728 @@ -4412,11 +5005,11 @@
     64560@@ -4412,11 +5073,11 @@
    4572964561 fi
    4573064562 rm -f conftest.err conftest.$ac_ext
    4573164563 fi
    4573264564-echo "$as_me:4415: result: $ac_cv_header_dbmalloc_h" >&5
    45733 +echo "$as_me:5008: result: $ac_cv_header_dbmalloc_h" >&5
     64565+echo "$as_me:5076: result: $ac_cv_header_dbmalloc_h" >&5
    4573464566 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
    4573564567 if test $ac_cv_header_dbmalloc_h = yes; then
    4573664568 
    4573764569-echo "$as_me:4419: checking for debug_malloc in -ldbmalloc" >&5
    45738 +echo "$as_me:5012: checking for debug_malloc in -ldbmalloc" >&5
     64570+echo "$as_me:5080: checking for debug_malloc in -ldbmalloc" >&5
    4573964571 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
    4574064572 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
    4574164573   echo $ECHO_N "(cached) $ECHO_C" >&6
    45742 @@ -4424,7 +5017,7 @@
     64574@@ -4424,7 +5085,7 @@
    4574364575   ac_check_lib_save_LIBS=$LIBS
    4574464576 LIBS="-ldbmalloc  $LIBS"
    4574564577 cat >conftest.$ac_ext <<_ACEOF
    4574664578-#line 4427 "configure"
    45747 +#line 5020 "configure"
     64579+#line 5088 "configure"
    4574864580 #include "confdefs.h"
    4574964581 
    4575064582 /* Override any gcc2 internal prototype to avoid an error.  */
    45751 @@ -4443,16 +5036,16 @@
     64583@@ -4443,16 +5104,16 @@
    4575264584 }
    4575364585 _ACEOF
    4575464586 rm -f conftest.$ac_objext conftest$ac_exeext
    4575564587-if { (eval echo "$as_me:4446: \"$ac_link\"") >&5
    45756 +if { (eval echo "$as_me:5039: \"$ac_link\"") >&5
     64588+if { (eval echo "$as_me:5107: \"$ac_link\"") >&5
    4575764589   (eval $ac_link) 2>&5
    4575864590   ac_status=$?
    4575964591-  echo "$as_me:4449: \$? = $ac_status" >&5
    45760 +  echo "$as_me:5042: \$? = $ac_status" >&5
     64592+  echo "$as_me:5110: \$? = $ac_status" >&5
    4576164593   (exit $ac_status); } &&
    4576264594          { ac_try='test -s conftest$ac_exeext'
    4576364595-  { (eval echo "$as_me:4452: \"$ac_try\"") >&5
    45764 +  { (eval echo "$as_me:5045: \"$ac_try\"") >&5
     64596+  { (eval echo "$as_me:5113: \"$ac_try\"") >&5
    4576564597   (eval $ac_try) 2>&5
    4576664598   ac_status=$?
    4576764599-  echo "$as_me:4455: \$? = $ac_status" >&5
    45768 +  echo "$as_me:5048: \$? = $ac_status" >&5
     64600+  echo "$as_me:5116: \$? = $ac_status" >&5
    4576964601   (exit $ac_status); }; }; then
    4577064602   ac_cv_lib_dbmalloc_debug_malloc=yes
    4577164603 else
    45772 @@ -4463,7 +5056,7 @@
     64604@@ -4463,7 +5124,7 @@
    4577364605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4577464606 LIBS=$ac_check_lib_save_LIBS
    4577564607 fi
    4577664608-echo "$as_me:4466: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
    45777 +echo "$as_me:5059: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
     64609+echo "$as_me:5127: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
    4577864610 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
    4577964611 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
    4578064612   cat >>confdefs.h <<EOF
    45781 @@ -4478,7 +5071,7 @@
     64613@@ -4478,7 +5139,7 @@
    4578264614 
    4578364615 fi
    4578464616 
    4578564617-echo "$as_me:4481: checking if you want to use valgrind for testing" >&5
    45786 +echo "$as_me:5074: checking if you want to use valgrind for testing" >&5
     64618+echo "$as_me:5142: checking if you want to use valgrind for testing" >&5
    4578764619 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
    4578864620 
    4578964621 # Check whether --with-valgrind or --without-valgrind was given.
    45790 @@ -4494,7 +5087,7 @@
     64622@@ -4494,7 +5155,7 @@
    4579164623 else
    4579264624   with_valgrind=
    4579364625 fi;
    4579464626-echo "$as_me:4497: result: ${with_valgrind:-no}" >&5
    45795 +echo "$as_me:5090: result: ${with_valgrind:-no}" >&5
     64627+echo "$as_me:5158: result: ${with_valgrind:-no}" >&5
    4579664628 echo "${ECHO_T}${with_valgrind:-no}" >&6
    4579764629 
    4579864630 case .$with_cflags in #(vi
    45799 @@ -4587,7 +5180,7 @@
     64631@@ -4587,7 +5248,7 @@
    4580064632        ;;
    4580164633 esac
    4580264634 
    4580364635-echo "$as_me:4590: checking if you want to perform memory-leak testing" >&5
    45804 +echo "$as_me:5183: checking if you want to perform memory-leak testing" >&5
     64636+echo "$as_me:5251: checking if you want to perform memory-leak testing" >&5
    4580564637 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
    4580664638 
    4580764639 # Check whether --enable-leaks or --disable-leaks was given.
    45808 @@ -4597,7 +5190,7 @@
     64640@@ -4597,7 +5258,7 @@
    4580964641 else
    4581064642   : ${with_no_leaks:=no}
    4581164643 fi;
    4581264644-echo "$as_me:4600: result: $with_no_leaks" >&5
    45813 +echo "$as_me:5193: result: $with_no_leaks" >&5
     64645+echo "$as_me:5261: result: $with_no_leaks" >&5
    4581464646 echo "${ECHO_T}$with_no_leaks" >&6
    4581564647 
    4581664648 if test "$with_no_leaks" = yes ; then
    45817 @@ -4611,7 +5204,27 @@
     64649@@ -4611,7 +5272,27 @@
    4581864650 
    4581964651 fi
    4582064652 
    4582164653-echo "$as_me:4614: checking for specific curses-directory" >&5
    45822 +echo "$as_me:5207: checking if you want to check for wide-character functions" >&5
     64654+echo "$as_me:5275: checking if you want to check for wide-character functions" >&5
    4582364655+echo $ECHO_N "checking if you want to check for wide-character functions... $ECHO_C" >&6
    4582464656+
     
    4583764669+
    4583864670+fi;
    45839 +echo "$as_me:5224: result: $cf_enable_widec" >&5
     64671+echo "$as_me:5292: result: $cf_enable_widec" >&5
    4584064672+echo "${ECHO_T}$cf_enable_widec" >&6
    4584164673+
    45842 +echo "$as_me:5227: checking for specific curses-directory" >&5
     64674+echo "$as_me:5295: checking for specific curses-directory" >&5
    4584364675 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6
    4584464676 
    4584564677 # Check whether --with-curses-dir or --without-curses-dir was given.
    45846 @@ -4621,7 +5234,7 @@
     64678@@ -4621,7 +5302,7 @@
    4584764679 else
    4584864680   cf_cv_curses_dir=no
    4584964681 fi;
    4585064682-echo "$as_me:4624: result: $cf_cv_curses_dir" >&5
    45851 +echo "$as_me:5237: result: $cf_cv_curses_dir" >&5
     64683+echo "$as_me:5305: result: $cf_cv_curses_dir" >&5
    4585264684 echo "${ECHO_T}$cf_cv_curses_dir" >&6
    4585364685 
    4585464686 if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" )
    45855 @@ -4652,7 +5265,7 @@
     64687@@ -4640,7 +5321,7 @@
     64688   ;;
     64689 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     64690   ;;
     64691-.\${*prefix}*) #(vi
     64692+.\${*prefix}*|.\${*dir}*) #(vi
     64693   eval withval="$withval"
     64694   case ".$withval" in #(vi
     64695   .NONE/*)
     64696@@ -4652,7 +5333,7 @@
    4585664697   withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    4585764698   ;;
    4585864699 *)
    4585964700-  { { echo "$as_me:4655: error: expected a pathname, not \"$withval\"" >&5
    45860 +  { { echo "$as_me:5268: error: expected a pathname, not \"$withval\"" >&5
     64701+  { { echo "$as_me:5336: error: expected a pathname, not \"$withval\"" >&5
    4586164702 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
    4586264703    { (exit 1); exit 1; }; }
    4586364704   ;;
    45864 @@ -4685,7 +5298,7 @@
     64705@@ -4685,7 +5366,7 @@
    4586564706                          cf_save_CPPFLAGS=$CPPFLAGS
    4586664707                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4586764708                          cat >conftest.$ac_ext <<_ACEOF
    4586864709-#line 4688 "configure"
    45869 +#line 5301 "configure"
     64710+#line 5369 "configure"
    4587064711 #include "confdefs.h"
    4587164712 #include <stdio.h>
    4587264713 int
    45873 @@ -4697,16 +5310,16 @@
     64714@@ -4697,16 +5378,16 @@
    4587464715 }
    4587564716 _ACEOF
    4587664717 rm -f conftest.$ac_objext
    4587764718-if { (eval echo "$as_me:4700: \"$ac_compile\"") >&5
    45878 +if { (eval echo "$as_me:5313: \"$ac_compile\"") >&5
     64719+if { (eval echo "$as_me:5381: \"$ac_compile\"") >&5
    4587964720   (eval $ac_compile) 2>&5
    4588064721   ac_status=$?
    4588164722-  echo "$as_me:4703: \$? = $ac_status" >&5
    45882 +  echo "$as_me:5316: \$? = $ac_status" >&5
     64723+  echo "$as_me:5384: \$? = $ac_status" >&5
    4588364724   (exit $ac_status); } &&
    4588464725          { ac_try='test -s conftest.$ac_objext'
    4588564726-  { (eval echo "$as_me:4706: \"$ac_try\"") >&5
    45886 +  { (eval echo "$as_me:5319: \"$ac_try\"") >&5
     64727+  { (eval echo "$as_me:5387: \"$ac_try\"") >&5
    4588764728   (eval $ac_try) 2>&5
    4588864729   ac_status=$?
    4588964730-  echo "$as_me:4709: \$? = $ac_status" >&5
    45890 +  echo "$as_me:5322: \$? = $ac_status" >&5
     64731+  echo "$as_me:5390: \$? = $ac_status" >&5
    4589164732   (exit $ac_status); }; }; then
    4589264733   :
    4589364734 else
    45894 @@ -4723,7 +5336,7 @@
     64735@@ -4723,7 +5404,7 @@
    4589564736                if test "$cf_have_incdir" = no ; then
    4589664737                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4589764738 
    4589864739-echo "${as_me:-configure}:4726: testing adding $cf_add_incdir to include-path ..." 1>&5
    45899 +echo "${as_me:-configure}:5339: testing adding $cf_add_incdir to include-path ..." 1>&5
     64740+echo "${as_me:-configure}:5407: testing adding $cf_add_incdir to include-path ..." 1>&5
    4590064741 
    4590164742                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4590264743 
    45903 @@ -4757,7 +5370,7 @@
     64744@@ -4757,7 +5438,7 @@
    4590464745       if test "$cf_have_libdir" = no ; then
    4590564746         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4590664747 
    4590764748-echo "${as_me:-configure}:4760: testing adding $cf_add_libdir to library-path ..." 1>&5
    45908 +echo "${as_me:-configure}:5373: testing adding $cf_add_libdir to library-path ..." 1>&5
     64749+echo "${as_me:-configure}:5441: testing adding $cf_add_libdir to library-path ..." 1>&5
    4590964750 
    4591064751         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4591164752       fi
    45912 @@ -4768,12 +5381,10 @@
     64753@@ -4768,12 +5449,10 @@
    4591364754        fi
    4591464755 fi
     
    4592264763+cf_cv_screen=curses
    4592364764+
    45924 +echo "$as_me:5386: checking for specified curses library type" >&5
     64765+echo "$as_me:5454: checking for specified curses library type" >&5
    4592564766+echo $ECHO_N "checking for specified curses library type... $ECHO_C" >&6
    4592664767 
    4592764768 # Check whether --with-ncursesw or --without-ncursesw was given.
    4592864769 if test "${with_ncursesw+set}" = set; then
    45929 @@ -4791,14 +5402,31 @@
     64770@@ -4791,14 +5470,31 @@
    4593064771 if test "${with_pdcurses+set}" = set; then
    4593164772   withval="$with_pdcurses"
     
    4595164792-case $cf_cv_screen in
    4595264793-curses)
    45953 +echo "$as_me:5423: result: $cf_cv_screen" >&5
     64794+echo "$as_me:5491: result: $cf_cv_screen" >&5
    4595464795+echo "${ECHO_T}$cf_cv_screen" >&6
    4595564796+
     
    4595864799 
    4595964800-echo "$as_me:4801: checking for extra include directories" >&5
    45960 +echo "$as_me:5429: checking for extra include directories" >&5
     64801+echo "$as_me:5497: checking for extra include directories" >&5
    4596164802 echo $ECHO_N "checking for extra include directories... $ECHO_C" >&6
    4596264803 if test "${cf_cv_curses_incdir+set}" = set; then
    4596364804   echo $ECHO_N "(cached) $ECHO_C" >&6
    45964 @@ -4807,22 +5435,28 @@
     64805@@ -4807,22 +5503,28 @@
    4596564806 cf_cv_curses_incdir=no
    4596664807 case $host_os in #(vi
     
    4598964830 fi
    4599064831-echo "$as_me:4821: result: $cf_cv_curses_incdir" >&5
    45991 +echo "$as_me:5455: result: $cf_cv_curses_incdir" >&5
     64832+echo "$as_me:5523: result: $cf_cv_curses_incdir" >&5
    4599264833 echo "${ECHO_T}$cf_cv_curses_incdir" >&6
    4599364834 test "$cf_cv_curses_incdir" != no && CPPFLAGS="$CPPFLAGS $cf_cv_curses_incdir"
    4599464835 
    4599564836-echo "$as_me:4825: checking if we have identified curses headers" >&5
    45996 +echo "$as_me:5459: checking if we have identified curses headers" >&5
     64837+echo "$as_me:5527: checking if we have identified curses headers" >&5
    4599764838 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
    4599864839 if test "${cf_cv_ncurses_header+set}" = set; then
    4599964840   echo $ECHO_N "(cached) $ECHO_C" >&6
    46000 @@ -4830,11 +5464,11 @@
     64841@@ -4830,11 +5532,11 @@
    4600164842 
    4600264843 cf_cv_ncurses_header=none
     
    4600964850 cat >conftest.$ac_ext <<_ACEOF
    4601064851-#line 4837 "configure"
    46011 +#line 5471 "configure"
     64852+#line 5539 "configure"
    4601264853 #include "confdefs.h"
    4601364854 #include <${cf_header}>
    4601464855 int
    46015 @@ -4846,16 +5480,16 @@
     64856@@ -4846,16 +5548,16 @@
    4601664857 }
    4601764858 _ACEOF
    4601864859 rm -f conftest.$ac_objext
    4601964860-if { (eval echo "$as_me:4849: \"$ac_compile\"") >&5
    46020 +if { (eval echo "$as_me:5483: \"$ac_compile\"") >&5
     64861+if { (eval echo "$as_me:5551: \"$ac_compile\"") >&5
    4602164862   (eval $ac_compile) 2>&5
    4602264863   ac_status=$?
    4602364864-  echo "$as_me:4852: \$? = $ac_status" >&5
    46024 +  echo "$as_me:5486: \$? = $ac_status" >&5
     64865+  echo "$as_me:5554: \$? = $ac_status" >&5
    4602564866   (exit $ac_status); } &&
    4602664867          { ac_try='test -s conftest.$ac_objext'
    4602764868-  { (eval echo "$as_me:4855: \"$ac_try\"") >&5
    46028 +  { (eval echo "$as_me:5489: \"$ac_try\"") >&5
     64869+  { (eval echo "$as_me:5557: \"$ac_try\"") >&5
    4602964870   (eval $ac_try) 2>&5
    4603064871   ac_status=$?
    4603164872-  echo "$as_me:4858: \$? = $ac_status" >&5
    46032 +  echo "$as_me:5492: \$? = $ac_status" >&5
     64873+  echo "$as_me:5560: \$? = $ac_status" >&5
    4603364874   (exit $ac_status); }; }; then
    4603464875   cf_cv_ncurses_header=$cf_header; break
    4603564876 else
    46036 @@ -4866,11 +5500,11 @@
     64877@@ -4866,11 +5568,11 @@
    4603764878 done
    4603864879 
    4603964880 fi
    4604064881-echo "$as_me:4869: result: $cf_cv_ncurses_header" >&5
    46041 +echo "$as_me:5503: result: $cf_cv_ncurses_header" >&5
     64882+echo "$as_me:5571: result: $cf_cv_ncurses_header" >&5
    4604264883 echo "${ECHO_T}$cf_cv_ncurses_header" >&6
    4604364884 
    4604464885 if test "$cf_cv_ncurses_header" = none ; then
    4604564886-       { { echo "$as_me:4873: error: No curses header-files found" >&5
    46046 +       { { echo "$as_me:5507: error: No curses header-files found" >&5
     64887+       { { echo "$as_me:5575: error: No curses header-files found" >&5
    4604764888 echo "$as_me: error: No curses header-files found" >&2;}
    4604864889    { (exit 1); exit 1; }; }
    4604964890 fi
    46050 @@ -4880,23 +5514,23 @@
     64891@@ -4880,23 +5582,23 @@
    4605164892 for ac_header in $cf_cv_ncurses_header
    4605264893 do
    4605364894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4605464895-echo "$as_me:4883: checking for $ac_header" >&5
    46055 +echo "$as_me:5517: checking for $ac_header" >&5
     64896+echo "$as_me:5585: checking for $ac_header" >&5
    4605664897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4605764898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    4606064901   cat >conftest.$ac_ext <<_ACEOF
    4606164902-#line 4889 "configure"
    46062 +#line 5523 "configure"
     64903+#line 5591 "configure"
    4606364904 #include "confdefs.h"
    4606464905 #include <$ac_header>
    4606564906 _ACEOF
    4606664907-if { (eval echo "$as_me:4893: \"$ac_cpp conftest.$ac_ext\"") >&5
    46067 +if { (eval echo "$as_me:5527: \"$ac_cpp conftest.$ac_ext\"") >&5
     64908+if { (eval echo "$as_me:5595: \"$ac_cpp conftest.$ac_ext\"") >&5
    4606864909   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4606964910   ac_status=$?
     
    4607264913   cat conftest.err >&5
    4607364914-  echo "$as_me:4899: \$? = $ac_status" >&5
    46074 +  echo "$as_me:5533: \$? = $ac_status" >&5
     64915+  echo "$as_me:5601: \$? = $ac_status" >&5
    4607564916   (exit $ac_status); } >/dev/null; then
    4607664917   if test -s conftest.err; then
    4607764918     ac_cpp_err=$ac_c_preproc_warn_flag
    46078 @@ -4915,7 +5549,7 @@
     64919@@ -4915,7 +5617,7 @@
    4607964920 fi
    4608064921 rm -f conftest.err conftest.$ac_ext
    4608164922 fi
    4608264923-echo "$as_me:4918: result: `eval echo '${'$as_ac_Header'}'`" >&5
    46083 +echo "$as_me:5552: result: `eval echo '${'$as_ac_Header'}'`" >&5
     64924+echo "$as_me:5620: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4608464925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4608564926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4608664927   cat >>confdefs.h <<EOF
    46087 @@ -4925,7 +5559,7 @@
     64928@@ -4925,7 +5627,7 @@
    4608864929 fi
    4608964930 done
    4609064931 
    4609164932-echo "$as_me:4928: checking for terminfo header" >&5
    46092 +echo "$as_me:5562: checking for terminfo header" >&5
     64933+echo "$as_me:5630: checking for terminfo header" >&5
    4609364934 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
    4609464935 if test "${cf_cv_term_header+set}" = set; then
    4609564936   echo $ECHO_N "(cached) $ECHO_C" >&6
    46096 @@ -4943,7 +5577,7 @@
     64937@@ -4943,7 +5645,7 @@
    4609764938 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
    4609864939 do
    4609964940 cat >conftest.$ac_ext <<_ACEOF
    4610064941-#line 4946 "configure"
    46101 +#line 5580 "configure"
     64942+#line 5648 "configure"
    4610264943 #include "confdefs.h"
    4610364944 #include <stdio.h>
    4610464945 #include <${cf_cv_ncurses_header:-curses.h}>
    46105 @@ -4958,16 +5592,16 @@
     64946@@ -4958,16 +5660,16 @@
    4610664947 }
    4610764948 _ACEOF
    4610864949 rm -f conftest.$ac_objext
    4610964950-if { (eval echo "$as_me:4961: \"$ac_compile\"") >&5
    46110 +if { (eval echo "$as_me:5595: \"$ac_compile\"") >&5
     64951+if { (eval echo "$as_me:5663: \"$ac_compile\"") >&5
    4611164952   (eval $ac_compile) 2>&5
    4611264953   ac_status=$?
    4611364954-  echo "$as_me:4964: \$? = $ac_status" >&5
    46114 +  echo "$as_me:5598: \$? = $ac_status" >&5
     64955+  echo "$as_me:5666: \$? = $ac_status" >&5
    4611564956   (exit $ac_status); } &&
    4611664957          { ac_try='test -s conftest.$ac_objext'
    4611764958-  { (eval echo "$as_me:4967: \"$ac_try\"") >&5
    46118 +  { (eval echo "$as_me:5601: \"$ac_try\"") >&5
     64959+  { (eval echo "$as_me:5669: \"$ac_try\"") >&5
    4611964960   (eval $ac_try) 2>&5
    4612064961   ac_status=$?
    4612164962-  echo "$as_me:4970: \$? = $ac_status" >&5
    46122 +  echo "$as_me:5604: \$? = $ac_status" >&5
     64963+  echo "$as_me:5672: \$? = $ac_status" >&5
    4612364964   (exit $ac_status); }; }; then
    4612464965 
    4612564966        cf_cv_term_header="$cf_test"
    46126 @@ -4983,7 +5617,7 @@
     64967@@ -4983,7 +5685,7 @@
    4612764968 done
    4612864969 
    4612964970 fi
    4613064971-echo "$as_me:4986: result: $cf_cv_term_header" >&5
    46131 +echo "$as_me:5620: result: $cf_cv_term_header" >&5
     64972+echo "$as_me:5688: result: $cf_cv_term_header" >&5
    4613264973 echo "${ECHO_T}$cf_cv_term_header" >&6
    4613364974 
    4613464975 # Set definitions to allow ifdef'ing to accommodate subdirectories
    46135 @@ -5012,7 +5646,7 @@
     64976@@ -5012,7 +5714,7 @@
    4613664977        ;;
    4613764978 esac
    4613864979 
    4613964980-echo "$as_me:5015: checking for ncurses version" >&5
    46140 +echo "$as_me:5649: checking for ncurses version" >&5
     64981+echo "$as_me:5717: checking for ncurses version" >&5
    4614164982 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
    4614264983 if test "${cf_cv_ncurses_version+set}" = set; then
    4614364984   echo $ECHO_N "(cached) $ECHO_C" >&6
    46144 @@ -5038,10 +5672,10 @@
     64985@@ -5038,10 +5740,10 @@
    4614564986 #endif
    4614664987 EOF
    4614764988        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    4614864989-       { (eval echo "$as_me:5041: \"$cf_try\"") >&5
    46149 +       { (eval echo "$as_me:5675: \"$cf_try\"") >&5
     64990+       { (eval echo "$as_me:5743: \"$cf_try\"") >&5
    4615064991   (eval $cf_try) 2>&5
    4615164992   ac_status=$?
    4615264993-  echo "$as_me:5044: \$? = $ac_status" >&5
    46153 +  echo "$as_me:5678: \$? = $ac_status" >&5
     64994+  echo "$as_me:5746: \$? = $ac_status" >&5
    4615464995   (exit $ac_status); }
    4615564996        if test -f conftest.out ; then
    4615664997                cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
    46157 @@ -5051,7 +5685,7 @@
     64998@@ -5051,7 +5753,7 @@
    4615864999 
    4615965000 else
    4616065001   cat >conftest.$ac_ext <<_ACEOF
    4616165002-#line 5054 "configure"
    46162 +#line 5688 "configure"
     65003+#line 5756 "configure"
    4616365004 #include "confdefs.h"
    4616465005 
    4616565006 #include <${cf_cv_ncurses_header:-curses.h}>
    46166 @@ -5076,15 +5710,15 @@
     65007@@ -5076,15 +5778,15 @@
    4616765008 }
    4616865009 _ACEOF
    4616965010 rm -f conftest$ac_exeext
    4617065011-if { (eval echo "$as_me:5079: \"$ac_link\"") >&5
    46171 +if { (eval echo "$as_me:5713: \"$ac_link\"") >&5
     65012+if { (eval echo "$as_me:5781: \"$ac_link\"") >&5
    4617265013   (eval $ac_link) 2>&5
    4617365014   ac_status=$?
    4617465015-  echo "$as_me:5082: \$? = $ac_status" >&5
    46175 +  echo "$as_me:5716: \$? = $ac_status" >&5
     65016+  echo "$as_me:5784: \$? = $ac_status" >&5
    4617665017   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4617765018-  { (eval echo "$as_me:5084: \"$ac_try\"") >&5
    46178 +  { (eval echo "$as_me:5718: \"$ac_try\"") >&5
     65019+  { (eval echo "$as_me:5786: \"$ac_try\"") >&5
    4617965020   (eval $ac_try) 2>&5
    4618065021   ac_status=$?
    4618165022-  echo "$as_me:5087: \$? = $ac_status" >&5
    46182 +  echo "$as_me:5721: \$? = $ac_status" >&5
     65023+  echo "$as_me:5789: \$? = $ac_status" >&5
    4618365024   (exit $ac_status); }; }; then
    4618465025 
    4618565026        cf_cv_ncurses_version=`cat $cf_tempfile`
    46186 @@ -5098,16 +5732,16 @@
     65027@@ -5098,16 +5800,16 @@
    4618765028        rm -f $cf_tempfile
    4618865029 
    4618965030 fi
    4619065031-echo "$as_me:5101: result: $cf_cv_ncurses_version" >&5
    46191 +echo "$as_me:5735: result: $cf_cv_ncurses_version" >&5
     65032+echo "$as_me:5803: result: $cf_cv_ncurses_version" >&5
    4619265033 echo "${ECHO_T}$cf_cv_ncurses_version" >&6
    4619365034 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
     
    4619665037 
    4619765038-echo "$as_me:5107: checking if we have identified curses libraries" >&5
    46198 +echo "$as_me:5741: checking if we have identified curses libraries" >&5
     65039+echo "$as_me:5809: checking if we have identified curses libraries" >&5
    4619965040 echo $ECHO_N "checking if we have identified curses libraries... $ECHO_C" >&6
    4620065041 cat >conftest.$ac_ext <<_ACEOF
    4620165042-#line 5110 "configure"
    46202 +#line 5744 "configure"
     65043+#line 5812 "configure"
    4620365044 #include "confdefs.h"
    4620465045 #include <${cf_cv_ncurses_header:-curses.h}>
    4620565046 int
    46206 @@ -5119,16 +5753,16 @@
     65047@@ -5119,16 +5821,16 @@
    4620765048 }
    4620865049 _ACEOF
    4620965050 rm -f conftest.$ac_objext conftest$ac_exeext
    4621065051-if { (eval echo "$as_me:5122: \"$ac_link\"") >&5
    46211 +if { (eval echo "$as_me:5756: \"$ac_link\"") >&5
     65052+if { (eval echo "$as_me:5824: \"$ac_link\"") >&5
    4621265053   (eval $ac_link) 2>&5
    4621365054   ac_status=$?
    4621465055-  echo "$as_me:5125: \$? = $ac_status" >&5
    46215 +  echo "$as_me:5759: \$? = $ac_status" >&5
     65056+  echo "$as_me:5827: \$? = $ac_status" >&5
    4621665057   (exit $ac_status); } &&
    4621765058          { ac_try='test -s conftest$ac_exeext'
    4621865059-  { (eval echo "$as_me:5128: \"$ac_try\"") >&5
    46219 +  { (eval echo "$as_me:5762: \"$ac_try\"") >&5
     65060+  { (eval echo "$as_me:5830: \"$ac_try\"") >&5
    4622065061   (eval $ac_try) 2>&5
    4622165062   ac_status=$?
    4622265063-  echo "$as_me:5131: \$? = $ac_status" >&5
    46223 +  echo "$as_me:5765: \$? = $ac_status" >&5
     65064+  echo "$as_me:5833: \$? = $ac_status" >&5
    4622465065   (exit $ac_status); }; }; then
    4622565066   cf_result=yes
    4622665067 else
    46227 @@ -5137,13 +5771,13 @@
     65068@@ -5137,13 +5839,13 @@
    4622865069 cf_result=no
    4622965070 fi
    4623065071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4623165072-echo "$as_me:5140: result: $cf_result" >&5
    46232 +echo "$as_me:5774: result: $cf_result" >&5
     65073+echo "$as_me:5842: result: $cf_result" >&5
    4623365074 echo "${ECHO_T}$cf_result" >&6
    4623465075 
     
    4623765078 freebsd*) #(vi
    4623865079-    echo "$as_me:5146: checking for tgoto in -lmytinfo" >&5
    46239 +    echo "$as_me:5780: checking for tgoto in -lmytinfo" >&5
     65080+    echo "$as_me:5848: checking for tgoto in -lmytinfo" >&5
    4624065081 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
    4624165082 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
    4624265083   echo $ECHO_N "(cached) $ECHO_C" >&6
    46243 @@ -5151,7 +5785,7 @@
     65084@@ -5151,7 +5853,7 @@
    4624465085   ac_check_lib_save_LIBS=$LIBS
    4624565086 LIBS="-lmytinfo  $LIBS"
    4624665087 cat >conftest.$ac_ext <<_ACEOF
    4624765088-#line 5154 "configure"
    46248 +#line 5788 "configure"
     65089+#line 5856 "configure"
    4624965090 #include "confdefs.h"
    4625065091 
    4625165092 /* Override any gcc2 internal prototype to avoid an error.  */
    46252 @@ -5170,16 +5804,16 @@
     65093@@ -5170,16 +5872,16 @@
    4625365094 }
    4625465095 _ACEOF
    4625565096 rm -f conftest.$ac_objext conftest$ac_exeext
    4625665097-if { (eval echo "$as_me:5173: \"$ac_link\"") >&5
    46257 +if { (eval echo "$as_me:5807: \"$ac_link\"") >&5
     65098+if { (eval echo "$as_me:5875: \"$ac_link\"") >&5
    4625865099   (eval $ac_link) 2>&5
    4625965100   ac_status=$?
    4626065101-  echo "$as_me:5176: \$? = $ac_status" >&5
    46261 +  echo "$as_me:5810: \$? = $ac_status" >&5
     65102+  echo "$as_me:5878: \$? = $ac_status" >&5
    4626265103   (exit $ac_status); } &&
    4626365104          { ac_try='test -s conftest$ac_exeext'
    4626465105-  { (eval echo "$as_me:5179: \"$ac_try\"") >&5
    46265 +  { (eval echo "$as_me:5813: \"$ac_try\"") >&5
     65106+  { (eval echo "$as_me:5881: \"$ac_try\"") >&5
    4626665107   (eval $ac_try) 2>&5
    4626765108   ac_status=$?
    4626865109-  echo "$as_me:5182: \$? = $ac_status" >&5
    46269 +  echo "$as_me:5816: \$? = $ac_status" >&5
     65110+  echo "$as_me:5884: \$? = $ac_status" >&5
    4627065111   (exit $ac_status); }; }; then
    4627165112   ac_cv_lib_mytinfo_tgoto=yes
    4627265113 else
    46273 @@ -5190,7 +5824,7 @@
     65114@@ -5190,7 +5892,7 @@
    4627465115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4627565116 LIBS=$ac_check_lib_save_LIBS
    4627665117 fi
    4627765118-echo "$as_me:5193: result: $ac_cv_lib_mytinfo_tgoto" >&5
    46278 +echo "$as_me:5827: result: $ac_cv_lib_mytinfo_tgoto" >&5
     65119+echo "$as_me:5895: result: $ac_cv_lib_mytinfo_tgoto" >&5
    4627965120 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
    4628065121 if test $ac_cv_lib_mytinfo_tgoto = yes; then
    4628165122   LIBS="-lmytinfo $LIBS"
    46282 @@ -5198,7 +5832,13 @@
     65123@@ -5198,7 +5900,13 @@
    4628365124 
    4628465125     ;;
     
    4629165132+       if test "x$cf_cv_screen" = "xcurses_colr"
    4629265133+       then
    46293 +               echo "$as_me:5841: checking for initscr in -lcur_colr" >&5
     65134+               echo "$as_me:5909: checking for initscr in -lcur_colr" >&5
    4629465135 echo $ECHO_N "checking for initscr in -lcur_colr... $ECHO_C" >&6
    4629565136 if test "${ac_cv_lib_cur_colr_initscr+set}" = set; then
    4629665137   echo $ECHO_N "(cached) $ECHO_C" >&6
    46297 @@ -5206,7 +5846,7 @@
     65138@@ -5206,7 +5914,7 @@
    4629865139   ac_check_lib_save_LIBS=$LIBS
    4629965140 LIBS="-lcur_colr  $LIBS"
    4630065141 cat >conftest.$ac_ext <<_ACEOF
    4630165142-#line 5209 "configure"
    46302 +#line 5849 "configure"
     65143+#line 5917 "configure"
    4630365144 #include "confdefs.h"
    4630465145 
    4630565146 /* Override any gcc2 internal prototype to avoid an error.  */
    46306 @@ -5225,16 +5865,16 @@
     65147@@ -5225,16 +5933,16 @@
    4630765148 }
    4630865149 _ACEOF
    4630965150 rm -f conftest.$ac_objext conftest$ac_exeext
    4631065151-if { (eval echo "$as_me:5228: \"$ac_link\"") >&5
    46311 +if { (eval echo "$as_me:5868: \"$ac_link\"") >&5
     65152+if { (eval echo "$as_me:5936: \"$ac_link\"") >&5
    4631265153   (eval $ac_link) 2>&5
    4631365154   ac_status=$?
    4631465155-  echo "$as_me:5231: \$? = $ac_status" >&5
    46315 +  echo "$as_me:5871: \$? = $ac_status" >&5
     65156+  echo "$as_me:5939: \$? = $ac_status" >&5
    4631665157   (exit $ac_status); } &&
    4631765158          { ac_try='test -s conftest$ac_exeext'
    4631865159-  { (eval echo "$as_me:5234: \"$ac_try\"") >&5
    46319 +  { (eval echo "$as_me:5874: \"$ac_try\"") >&5
     65160+  { (eval echo "$as_me:5942: \"$ac_try\"") >&5
    4632065161   (eval $ac_try) 2>&5
    4632165162   ac_status=$?
    4632265163-  echo "$as_me:5237: \$? = $ac_status" >&5
    46323 +  echo "$as_me:5877: \$? = $ac_status" >&5
     65164+  echo "$as_me:5945: \$? = $ac_status" >&5
    4632465165   (exit $ac_status); }; }; then
    4632565166   ac_cv_lib_cur_colr_initscr=yes
    4632665167 else
    46327 @@ -5245,16 +5885,16 @@
     65168@@ -5245,16 +5953,16 @@
    4632865169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4632965170 LIBS=$ac_check_lib_save_LIBS
    4633065171 fi
    4633165172-echo "$as_me:5248: result: $ac_cv_lib_cur_colr_initscr" >&5
    46332 +echo "$as_me:5888: result: $ac_cv_lib_cur_colr_initscr" >&5
     65173+echo "$as_me:5956: result: $ac_cv_lib_cur_colr_initscr" >&5
    4633365174 echo "${ECHO_T}$ac_cv_lib_cur_colr_initscr" >&6
    4633465175 if test $ac_cv_lib_cur_colr_initscr = yes; then
     
    4634265183 
    4634365184-    echo "$as_me:5257: checking for initscr in -lHcurses" >&5
    46344 +               echo "$as_me:5897: checking for initscr in -lHcurses" >&5
     65185+               echo "$as_me:5965: checking for initscr in -lHcurses" >&5
    4634565186 echo $ECHO_N "checking for initscr in -lHcurses... $ECHO_C" >&6
    4634665187 if test "${ac_cv_lib_Hcurses_initscr+set}" = set; then
    4634765188   echo $ECHO_N "(cached) $ECHO_C" >&6
    46348 @@ -5262,7 +5902,7 @@
     65189@@ -5262,7 +5970,7 @@
    4634965190   ac_check_lib_save_LIBS=$LIBS
    4635065191 LIBS="-lHcurses  $LIBS"
    4635165192 cat >conftest.$ac_ext <<_ACEOF
    4635265193-#line 5265 "configure"
    46353 +#line 5905 "configure"
     65194+#line 5973 "configure"
    4635465195 #include "confdefs.h"
    4635565196 
    4635665197 /* Override any gcc2 internal prototype to avoid an error.  */
    46357 @@ -5281,16 +5921,16 @@
     65198@@ -5281,16 +5989,16 @@
    4635865199 }
    4635965200 _ACEOF
    4636065201 rm -f conftest.$ac_objext conftest$ac_exeext
    4636165202-if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
    46362 +if { (eval echo "$as_me:5924: \"$ac_link\"") >&5
     65203+if { (eval echo "$as_me:5992: \"$ac_link\"") >&5
    4636365204   (eval $ac_link) 2>&5
    4636465205   ac_status=$?
    4636565206-  echo "$as_me:5287: \$? = $ac_status" >&5
    46366 +  echo "$as_me:5927: \$? = $ac_status" >&5
     65207+  echo "$as_me:5995: \$? = $ac_status" >&5
    4636765208   (exit $ac_status); } &&
    4636865209          { ac_try='test -s conftest$ac_exeext'
    4636965210-  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
    46370 +  { (eval echo "$as_me:5930: \"$ac_try\"") >&5
     65211+  { (eval echo "$as_me:5998: \"$ac_try\"") >&5
    4637165212   (eval $ac_try) 2>&5
    4637265213   ac_status=$?
    4637365214-  echo "$as_me:5293: \$? = $ac_status" >&5
    46374 +  echo "$as_me:5933: \$? = $ac_status" >&5
     65215+  echo "$as_me:6001: \$? = $ac_status" >&5
    4637565216   (exit $ac_status); }; }; then
    4637665217   ac_cv_lib_Hcurses_initscr=yes
    4637765218 else
    46378 @@ -5301,19 +5941,20 @@
     65219@@ -5301,19 +6009,20 @@
    4637965220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4638065221 LIBS=$ac_check_lib_save_LIBS
    4638165222 fi
    4638265223-echo "$as_me:5304: result: $ac_cv_lib_Hcurses_initscr" >&5
    46383 +echo "$as_me:5944: result: $ac_cv_lib_Hcurses_initscr" >&5
     65224+echo "$as_me:6012: result: $ac_cv_lib_Hcurses_initscr" >&5
    4638465225 echo "${ECHO_T}$ac_cv_lib_Hcurses_initscr" >&6
    4638565226 if test $ac_cv_lib_Hcurses_initscr = yes; then
     
    4640265243 linux*)
    4640365244        case `arch 2>/dev/null` in
    46404 @@ -5340,7 +5981,7 @@
     65245@@ -5340,7 +6049,7 @@
    4640565246       if test "$cf_have_libdir" = no ; then
    4640665247         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4640765248 
    4640865249-echo "${as_me:-configure}:5343: testing adding $cf_add_libdir to library-path ..." 1>&5
    46409 +echo "${as_me:-configure}:5984: testing adding $cf_add_libdir to library-path ..." 1>&5
     65250+echo "${as_me:-configure}:6052: testing adding $cf_add_libdir to library-path ..." 1>&5
    4641065251 
    4641165252         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4641265253       fi
    46413 @@ -5369,7 +6010,7 @@
     65254@@ -5369,7 +6078,7 @@
    4641465255       if test "$cf_have_libdir" = no ; then
    4641565256         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4641665257 
    4641765258-echo "${as_me:-configure}:5372: testing adding $cf_add_libdir to library-path ..." 1>&5
    46418 +echo "${as_me:-configure}:6013: testing adding $cf_add_libdir to library-path ..." 1>&5
     65259+echo "${as_me:-configure}:6081: testing adding $cf_add_libdir to library-path ..." 1>&5
    4641965260 
    4642065261         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4642165262       fi
    46422 @@ -5400,7 +6041,7 @@
     65263@@ -5400,7 +6109,7 @@
    4642365264       if test "$cf_have_libdir" = no ; then
    4642465265         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4642565266 
    4642665267-echo "${as_me:-configure}:5403: testing adding $cf_add_libdir to library-path ..." 1>&5
    46427 +echo "${as_me:-configure}:6044: testing adding $cf_add_libdir to library-path ..." 1>&5
     65268+echo "${as_me:-configure}:6112: testing adding $cf_add_libdir to library-path ..." 1>&5
    4642865269 
    4642965270         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4643065271       fi
    46431 @@ -5412,7 +6053,9 @@
     65272@@ -5412,7 +6121,9 @@
    4643265273        esac
    4643365274     ;;
     
    4644065281 if test -n "/usr/5lib" ; then
    4644165282   for cf_add_libdir in /usr/5lib
    46442 @@ -5433,7 +6076,7 @@
     65283@@ -5433,7 +6144,7 @@
    4644365284       if test "$cf_have_libdir" = no ; then
    4644465285         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4644565286 
    4644665287-echo "${as_me:-configure}:5436: testing adding $cf_add_libdir to library-path ..." 1>&5
    46447 +echo "${as_me:-configure}:6079: testing adding $cf_add_libdir to library-path ..." 1>&5
     65288+echo "${as_me:-configure}:6147: testing adding $cf_add_libdir to library-path ..." 1>&5
    4644865289 
    4644965290         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4645065291       fi
    46451 @@ -5441,7 +6084,8 @@
     65292@@ -5441,7 +6152,8 @@
    4645265293   done
    4645365294 fi
     
    4645965300     ac_cv_func_initscr=yes
    4646065301     ;;
    46461 @@ -5461,13 +6105,13 @@
     65302@@ -5461,13 +6173,13 @@
    4646265303 
    4646365304     # Check for library containing tgoto.  Do this before curses library
    4646465305     # because it may be needed to link the test-case for initscr.
    4646565306-    echo "$as_me:5464: checking for tgoto" >&5
    46466 +    echo "$as_me:6108: checking for tgoto" >&5
     65307+    echo "$as_me:6176: checking for tgoto" >&5
    4646765308 echo $ECHO_N "checking for tgoto... $ECHO_C" >&6
    4646865309 if test "${ac_cv_func_tgoto+set}" = set; then
     
    4647165312   cat >conftest.$ac_ext <<_ACEOF
    4647265313-#line 5470 "configure"
    46473 +#line 6114 "configure"
     65314+#line 6182 "configure"
    4647465315 #include "confdefs.h"
    4647565316 /* System header to define __stub macros and hopefully few prototypes,
    4647665317     which can conflict with char tgoto (); below.  */
    46477 @@ -5498,16 +6142,16 @@
     65318@@ -5490,7 +6202,7 @@
     65319 #if defined (__stub_tgoto) || defined (__stub___tgoto)
     65320 choke me
     65321 #else
     65322-f = tgoto;
     65323+f = tgoto; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     65324 #endif
     65325 
     65326   ;
     65327@@ -5498,16 +6210,16 @@
    4647865328 }
    4647965329 _ACEOF
    4648065330 rm -f conftest.$ac_objext conftest$ac_exeext
    4648165331-if { (eval echo "$as_me:5501: \"$ac_link\"") >&5
    46482 +if { (eval echo "$as_me:6145: \"$ac_link\"") >&5
     65332+if { (eval echo "$as_me:6213: \"$ac_link\"") >&5
    4648365333   (eval $ac_link) 2>&5
    4648465334   ac_status=$?
    4648565335-  echo "$as_me:5504: \$? = $ac_status" >&5
    46486 +  echo "$as_me:6148: \$? = $ac_status" >&5
     65336+  echo "$as_me:6216: \$? = $ac_status" >&5
    4648765337   (exit $ac_status); } &&
    4648865338          { ac_try='test -s conftest$ac_exeext'
    4648965339-  { (eval echo "$as_me:5507: \"$ac_try\"") >&5
    46490 +  { (eval echo "$as_me:6151: \"$ac_try\"") >&5
     65340+  { (eval echo "$as_me:6219: \"$ac_try\"") >&5
    4649165341   (eval $ac_try) 2>&5
    4649265342   ac_status=$?
    4649365343-  echo "$as_me:5510: \$? = $ac_status" >&5
    46494 +  echo "$as_me:6154: \$? = $ac_status" >&5
     65344+  echo "$as_me:6222: \$? = $ac_status" >&5
    4649565345   (exit $ac_status); }; }; then
    4649665346   ac_cv_func_tgoto=yes
    4649765347 else
    46498 @@ -5517,16 +6161,16 @@
     65348@@ -5517,16 +6229,16 @@
    4649965349 fi
    4650065350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4650165351 fi
    4650265352-echo "$as_me:5520: result: $ac_cv_func_tgoto" >&5
    46503 +echo "$as_me:6164: result: $ac_cv_func_tgoto" >&5
     65353+echo "$as_me:6232: result: $ac_cv_func_tgoto" >&5
    4650465354 echo "${ECHO_T}$ac_cv_func_tgoto" >&6
    4650565355 if test $ac_cv_func_tgoto = yes; then
     
    4650865358 
    4650965359-        for cf_term_lib in $cf_check_list termcap termlib unknown
    46510 +        for cf_term_lib in $cf_check_list otermcap termcap termlib unknown
     65360+        for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown
    4651165361         do
    4651265362             as_ac_Lib=`echo "ac_cv_lib_$cf_term_lib''_tgoto" | $as_tr_sh`
    4651365363-echo "$as_me:5529: checking for tgoto in -l$cf_term_lib" >&5
    46514 +echo "$as_me:6173: checking for tgoto in -l$cf_term_lib" >&5
     65364+echo "$as_me:6241: checking for tgoto in -l$cf_term_lib" >&5
    4651565365 echo $ECHO_N "checking for tgoto in -l$cf_term_lib... $ECHO_C" >&6
    4651665366 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    4651765367   echo $ECHO_N "(cached) $ECHO_C" >&6
    46518 @@ -5534,7 +6178,7 @@
     65368@@ -5534,7 +6246,7 @@
    4651965369   ac_check_lib_save_LIBS=$LIBS
    4652065370 LIBS="-l$cf_term_lib  $LIBS"
    4652165371 cat >conftest.$ac_ext <<_ACEOF
    4652265372-#line 5537 "configure"
    46523 +#line 6181 "configure"
     65373+#line 6249 "configure"
    4652465374 #include "confdefs.h"
    4652565375 
    4652665376 /* Override any gcc2 internal prototype to avoid an error.  */
    46527 @@ -5553,16 +6197,16 @@
     65377@@ -5553,16 +6265,16 @@
    4652865378 }
    4652965379 _ACEOF
    4653065380 rm -f conftest.$ac_objext conftest$ac_exeext
    4653165381-if { (eval echo "$as_me:5556: \"$ac_link\"") >&5
    46532 +if { (eval echo "$as_me:6200: \"$ac_link\"") >&5
     65382+if { (eval echo "$as_me:6268: \"$ac_link\"") >&5
    4653365383   (eval $ac_link) 2>&5
    4653465384   ac_status=$?
    4653565385-  echo "$as_me:5559: \$? = $ac_status" >&5
    46536 +  echo "$as_me:6203: \$? = $ac_status" >&5
     65386+  echo "$as_me:6271: \$? = $ac_status" >&5
    4653765387   (exit $ac_status); } &&
    4653865388          { ac_try='test -s conftest$ac_exeext'
    4653965389-  { (eval echo "$as_me:5562: \"$ac_try\"") >&5
    46540 +  { (eval echo "$as_me:6206: \"$ac_try\"") >&5
     65390+  { (eval echo "$as_me:6274: \"$ac_try\"") >&5
    4654165391   (eval $ac_try) 2>&5
    4654265392   ac_status=$?
    4654365393-  echo "$as_me:5565: \$? = $ac_status" >&5
    46544 +  echo "$as_me:6209: \$? = $ac_status" >&5
     65394+  echo "$as_me:6277: \$? = $ac_status" >&5
    4654565395   (exit $ac_status); }; }; then
    4654665396   eval "$as_ac_Lib=yes"
    4654765397 else
    46548 @@ -5573,7 +6217,7 @@
     65398@@ -5573,7 +6285,7 @@
    4654965399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4655065400 LIBS=$ac_check_lib_save_LIBS
    4655165401 fi
    4655265402-echo "$as_me:5576: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    46553 +echo "$as_me:6220: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     65403+echo "$as_me:6288: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    4655465404 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    4655565405 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    4655665406   break
    46557 @@ -5588,7 +6232,7 @@
     65407@@ -5588,7 +6300,7 @@
    4655865408        for cf_curs_lib in $cf_check_list xcurses jcurses pdcurses unknown
    4655965409     do
    4656065410         as_ac_Lib=`echo "ac_cv_lib_$cf_curs_lib''_initscr" | $as_tr_sh`
    4656165411-echo "$as_me:5591: checking for initscr in -l$cf_curs_lib" >&5
    46562 +echo "$as_me:6235: checking for initscr in -l$cf_curs_lib" >&5
     65412+echo "$as_me:6303: checking for initscr in -l$cf_curs_lib" >&5
    4656365413 echo $ECHO_N "checking for initscr in -l$cf_curs_lib... $ECHO_C" >&6
    4656465414 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    4656565415   echo $ECHO_N "(cached) $ECHO_C" >&6
    46566 @@ -5596,7 +6240,7 @@
     65416@@ -5596,7 +6308,7 @@
    4656765417   ac_check_lib_save_LIBS=$LIBS
    4656865418 LIBS="-l$cf_curs_lib  $LIBS"
    4656965419 cat >conftest.$ac_ext <<_ACEOF
    4657065420-#line 5599 "configure"
    46571 +#line 6243 "configure"
     65421+#line 6311 "configure"
    4657265422 #include "confdefs.h"
    4657365423 
    4657465424 /* Override any gcc2 internal prototype to avoid an error.  */
    46575 @@ -5615,16 +6259,16 @@
     65425@@ -5615,16 +6327,16 @@
    4657665426 }
    4657765427 _ACEOF
    4657865428 rm -f conftest.$ac_objext conftest$ac_exeext
    4657965429-if { (eval echo "$as_me:5618: \"$ac_link\"") >&5
    46580 +if { (eval echo "$as_me:6262: \"$ac_link\"") >&5
     65430+if { (eval echo "$as_me:6330: \"$ac_link\"") >&5
    4658165431   (eval $ac_link) 2>&5
    4658265432   ac_status=$?
    4658365433-  echo "$as_me:5621: \$? = $ac_status" >&5
    46584 +  echo "$as_me:6265: \$? = $ac_status" >&5
     65434+  echo "$as_me:6333: \$? = $ac_status" >&5
    4658565435   (exit $ac_status); } &&
    4658665436          { ac_try='test -s conftest$ac_exeext'
    4658765437-  { (eval echo "$as_me:5624: \"$ac_try\"") >&5
    46588 +  { (eval echo "$as_me:6268: \"$ac_try\"") >&5
     65438+  { (eval echo "$as_me:6336: \"$ac_try\"") >&5
    4658965439   (eval $ac_try) 2>&5
    4659065440   ac_status=$?
    4659165441-  echo "$as_me:5627: \$? = $ac_status" >&5
    46592 +  echo "$as_me:6271: \$? = $ac_status" >&5
     65442+  echo "$as_me:6339: \$? = $ac_status" >&5
    4659365443   (exit $ac_status); }; }; then
    4659465444   eval "$as_ac_Lib=yes"
    4659565445 else
    46596 @@ -5635,23 +6279,23 @@
     65446@@ -5635,23 +6347,23 @@
    4659765447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4659865448 LIBS=$ac_check_lib_save_LIBS
    4659965449 fi
    4660065450-echo "$as_me:5638: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    46601 +echo "$as_me:6282: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     65451+echo "$as_me:6350: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    4660265452 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    4660365453 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
     
    4660765457     done
    4660865458-    test $cf_curs_lib = unknown && { { echo "$as_me:5645: error: no curses library found" >&5
    46609 +    test $cf_curs_lib = unknown && { { echo "$as_me:6289: error: no curses library found" >&5
     65459+    test $cf_curs_lib = unknown && { { echo "$as_me:6357: error: no curses library found" >&5
    4661065460 echo "$as_me: error: no curses library found" >&2;}
    4661165461    { (exit 1); exit 1; }; }
     
    4661465464     if test "$cf_term_lib" = unknown ; then
    4661565465-        echo "$as_me:5651: checking if we can link with $cf_curs_lib library" >&5
    46616 +        echo "$as_me:6295: checking if we can link with $cf_curs_lib library" >&5
     65466+        echo "$as_me:6363: checking if we can link with $cf_curs_lib library" >&5
    4661765467 echo $ECHO_N "checking if we can link with $cf_curs_lib library... $ECHO_C" >&6
    4661865468         cat >conftest.$ac_ext <<_ACEOF
    4661965469-#line 5654 "configure"
    46620 +#line 6298 "configure"
     65470+#line 6366 "configure"
    4662165471 #include "confdefs.h"
    4662265472 #include <${cf_cv_ncurses_header:-curses.h}>
    4662365473 int
    46624 @@ -5663,16 +6307,16 @@
     65474@@ -5663,16 +6375,16 @@
    4662565475 }
    4662665476 _ACEOF
    4662765477 rm -f conftest.$ac_objext conftest$ac_exeext
    4662865478-if { (eval echo "$as_me:5666: \"$ac_link\"") >&5
    46629 +if { (eval echo "$as_me:6310: \"$ac_link\"") >&5
     65479+if { (eval echo "$as_me:6378: \"$ac_link\"") >&5
    4663065480   (eval $ac_link) 2>&5
    4663165481   ac_status=$?
    4663265482-  echo "$as_me:5669: \$? = $ac_status" >&5
    46633 +  echo "$as_me:6313: \$? = $ac_status" >&5
     65483+  echo "$as_me:6381: \$? = $ac_status" >&5
    4663465484   (exit $ac_status); } &&
    4663565485          { ac_try='test -s conftest$ac_exeext'
    4663665486-  { (eval echo "$as_me:5672: \"$ac_try\"") >&5
    46637 +  { (eval echo "$as_me:6316: \"$ac_try\"") >&5
     65487+  { (eval echo "$as_me:6384: \"$ac_try\"") >&5
    4663865488   (eval $ac_try) 2>&5
    4663965489   ac_status=$?
    4664065490-  echo "$as_me:5675: \$? = $ac_status" >&5
    46641 +  echo "$as_me:6319: \$? = $ac_status" >&5
     65491+  echo "$as_me:6387: \$? = $ac_status" >&5
    4664265492   (exit $ac_status); }; }; then
    4664365493   cf_result=yes
    4664465494 else
    46645 @@ -5681,18 +6325,18 @@
     65495@@ -5681,18 +6393,18 @@
    4664665496 cf_result=no
    4664765497 fi
    4664865498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4664965499-        echo "$as_me:5684: result: $cf_result" >&5
    46650 +        echo "$as_me:6328: result: $cf_result" >&5
     65500+        echo "$as_me:6396: result: $cf_result" >&5
    4665165501 echo "${ECHO_T}$cf_result" >&6
    4665265502-        test $cf_result = no && { { echo "$as_me:5686: error: Cannot link curses library" >&5
    46653 +        test $cf_result = no && { { echo "$as_me:6330: error: Cannot link curses library" >&5
     65503+        test $cf_result = no && { { echo "$as_me:6398: error: Cannot link curses library" >&5
    4665465504 echo "$as_me: error: Cannot link curses library" >&2;}
    4665565505    { (exit 1); exit 1; }; }
     
    4665865508     elif test "$cf_term_lib" != predefined ; then
    4665965509-        echo "$as_me:5692: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
    46660 +        echo "$as_me:6336: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
     65510+        echo "$as_me:6404: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
    4666165511 echo $ECHO_N "checking if we need both $cf_curs_lib and $cf_term_lib libraries... $ECHO_C" >&6
    4666265512         cat >conftest.$ac_ext <<_ACEOF
    4666365513-#line 5695 "configure"
    46664 +#line 6339 "configure"
     65514+#line 6407 "configure"
    4666565515 #include "confdefs.h"
    4666665516 #include <${cf_cv_ncurses_header:-curses.h}>
    4666765517 int
    46668 @@ -5704,16 +6348,16 @@
     65518@@ -5704,16 +6416,16 @@
    4666965519 }
    4667065520 _ACEOF
    4667165521 rm -f conftest.$ac_objext conftest$ac_exeext
    4667265522-if { (eval echo "$as_me:5707: \"$ac_link\"") >&5
    46673 +if { (eval echo "$as_me:6351: \"$ac_link\"") >&5
     65523+if { (eval echo "$as_me:6419: \"$ac_link\"") >&5
    4667465524   (eval $ac_link) 2>&5
    4667565525   ac_status=$?
    4667665526-  echo "$as_me:5710: \$? = $ac_status" >&5
    46677 +  echo "$as_me:6354: \$? = $ac_status" >&5
     65527+  echo "$as_me:6422: \$? = $ac_status" >&5
    4667865528   (exit $ac_status); } &&
    4667965529          { ac_try='test -s conftest$ac_exeext'
    4668065530-  { (eval echo "$as_me:5713: \"$ac_try\"") >&5
    46681 +  { (eval echo "$as_me:6357: \"$ac_try\"") >&5
     65531+  { (eval echo "$as_me:6425: \"$ac_try\"") >&5
    4668265532   (eval $ac_try) 2>&5
    4668365533   ac_status=$?
    4668465534-  echo "$as_me:5716: \$? = $ac_status" >&5
    46685 +  echo "$as_me:6360: \$? = $ac_status" >&5
     65535+  echo "$as_me:6428: \$? = $ac_status" >&5
    4668665536   (exit $ac_status); }; }; then
    4668765537   cf_result=no
    4668865538 else
    46689 @@ -5722,7 +6366,7 @@
     65539@@ -5722,7 +6434,7 @@
    4669065540 
    4669165541             LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS"
    4669265542             cat >conftest.$ac_ext <<_ACEOF
    4669365543-#line 5725 "configure"
    46694 +#line 6369 "configure"
     65544+#line 6437 "configure"
    4669565545 #include "confdefs.h"
    4669665546 #include <${cf_cv_ncurses_header:-curses.h}>
    4669765547 int
    46698 @@ -5734,16 +6378,16 @@
     65548@@ -5734,16 +6446,16 @@
    4669965549 }
    4670065550 _ACEOF
    4670165551 rm -f conftest.$ac_objext conftest$ac_exeext
    4670265552-if { (eval echo "$as_me:5737: \"$ac_link\"") >&5
    46703 +if { (eval echo "$as_me:6381: \"$ac_link\"") >&5
     65553+if { (eval echo "$as_me:6449: \"$ac_link\"") >&5
    4670465554   (eval $ac_link) 2>&5
    4670565555   ac_status=$?
    4670665556-  echo "$as_me:5740: \$? = $ac_status" >&5
    46707 +  echo "$as_me:6384: \$? = $ac_status" >&5
     65557+  echo "$as_me:6452: \$? = $ac_status" >&5
    4670865558   (exit $ac_status); } &&
    4670965559          { ac_try='test -s conftest$ac_exeext'
    4671065560-  { (eval echo "$as_me:5743: \"$ac_try\"") >&5
    46711 +  { (eval echo "$as_me:6387: \"$ac_try\"") >&5
     65561+  { (eval echo "$as_me:6455: \"$ac_try\"") >&5
    4671265562   (eval $ac_try) 2>&5
    4671365563   ac_status=$?
    4671465564-  echo "$as_me:5746: \$? = $ac_status" >&5
    46715 +  echo "$as_me:6390: \$? = $ac_status" >&5
     65565+  echo "$as_me:6458: \$? = $ac_status" >&5
    4671665566   (exit $ac_status); }; }; then
    4671765567   cf_result=yes
    4671865568 else
    46719 @@ -5755,167 +6399,99 @@
     65569@@ -5755,167 +6467,99 @@
    4672065570 
    4672165571 fi
    4672265572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4672365573-        echo "$as_me:5758: result: $cf_result" >&5
    46724 +        echo "$as_me:6402: result: $cf_result" >&5
     65574+        echo "$as_me:6470: result: $cf_result" >&5
    4672565575 echo "${ECHO_T}$cf_result" >&6
    4672665576     fi
     
    4679465644+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4679565645+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    46796 +echo "$as_me:6420: checking for $ac_word" >&5
     65646+echo "$as_me:6488: checking for $ac_word" >&5
    4679765647+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4679865648+if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
     
    4680965659+  $as_executable_p "$ac_dir/$ac_word" || continue
    4681065660+ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    46811 +echo "$as_me:6435: found $ac_dir/$ac_word" >&5
     65661+echo "$as_me:6503: found $ac_dir/$ac_word" >&5
    4681265662+break
    4681365663+done
     
    4684965699+NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
    4685065700+if test -n "$NCURSES_CONFIG"; then
    46851 +  echo "$as_me:6443: result: $NCURSES_CONFIG" >&5
     65701+  echo "$as_me:6511: result: $NCURSES_CONFIG" >&5
    4685265702+echo "${ECHO_T}$NCURSES_CONFIG" >&6
    4685365703 else
     
    4685565705-cat conftest.$ac_ext >&5
    4685665706-cf_cv_netbsd_menu_h=no
    46857 +  echo "$as_me:6446: result: no" >&5
     65707+  echo "$as_me:6514: result: no" >&5
    4685865708+echo "${ECHO_T}no" >&6
    4685965709 fi
     
    4688465734 set dummy $ac_prog; ac_word=$2
    4688565735-echo "$as_me:5881: checking for $ac_word" >&5
    46886 +echo "$as_me:6459: checking for $ac_word" >&5
     65736+echo "$as_me:6527: checking for $ac_word" >&5
    4688765737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4688865738-if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
     
    4691065760+  $as_executable_p "$ac_dir/$ac_word" || continue
    4691165761+ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
    46912 +echo "$as_me:6474: found $ac_dir/$ac_word" >&5
     65762+echo "$as_me:6542: found $ac_dir/$ac_word" >&5
    4691365763+break
    4691465764 done
     
    4692565775+ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
    4692665776+if test -n "$ac_ct_NCURSES_CONFIG"; then
    46927 +  echo "$as_me:6482: result: $ac_ct_NCURSES_CONFIG" >&5
     65777+  echo "$as_me:6550: result: $ac_ct_NCURSES_CONFIG" >&5
    4692865778+echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
    4692965779 else
    4693065780-  echo "$as_me:5912: result: no" >&5
    46931 +  echo "$as_me:6485: result: no" >&5
     65781+  echo "$as_me:6553: result: no" >&5
    4693265782 echo "${ECHO_T}no" >&6
    4693365783 fi
     
    4694465794 if test "$NCURSES_CONFIG" != none ; then
    4694565795 
    46946 @@ -5924,7 +6500,7 @@
     65796@@ -5924,7 +6568,7 @@
    4694765797 
    4694865798 # even with config script, some packages use no-override for curses.h
    4694965799 
    4695065800-echo "$as_me:5927: checking if we have identified curses headers" >&5
    46951 +echo "$as_me:6503: checking if we have identified curses headers" >&5
     65801+echo "$as_me:6571: checking if we have identified curses headers" >&5
    4695265802 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
    4695365803 if test "${cf_cv_ncurses_header+set}" = set; then
    4695465804   echo $ECHO_N "(cached) $ECHO_C" >&6
    46955 @@ -5932,13 +6508,13 @@
     65805@@ -5932,13 +6576,13 @@
    4695665806 
    4695765807 cf_cv_ncurses_header=none
     
    4696865818 cat >conftest.$ac_ext <<_ACEOF
    4696965819-#line 5941 "configure"
    46970 +#line 6517 "configure"
     65820+#line 6585 "configure"
    4697165821 #include "confdefs.h"
    4697265822 #include <${cf_header}>
    4697365823 int
    46974 @@ -5950,16 +6526,16 @@
     65824@@ -5950,16 +6594,16 @@
    4697565825 }
    4697665826 _ACEOF
    4697765827 rm -f conftest.$ac_objext
    4697865828-if { (eval echo "$as_me:5953: \"$ac_compile\"") >&5
    46979 +if { (eval echo "$as_me:6529: \"$ac_compile\"") >&5
     65829+if { (eval echo "$as_me:6597: \"$ac_compile\"") >&5
    4698065830   (eval $ac_compile) 2>&5
    4698165831   ac_status=$?
    4698265832-  echo "$as_me:5956: \$? = $ac_status" >&5
    46983 +  echo "$as_me:6532: \$? = $ac_status" >&5
     65833+  echo "$as_me:6600: \$? = $ac_status" >&5
    4698465834   (exit $ac_status); } &&
    4698565835          { ac_try='test -s conftest.$ac_objext'
    4698665836-  { (eval echo "$as_me:5959: \"$ac_try\"") >&5
    46987 +  { (eval echo "$as_me:6535: \"$ac_try\"") >&5
     65837+  { (eval echo "$as_me:6603: \"$ac_try\"") >&5
    4698865838   (eval $ac_try) 2>&5
    4698965839   ac_status=$?
    4699065840-  echo "$as_me:5962: \$? = $ac_status" >&5
    46991 +  echo "$as_me:6538: \$? = $ac_status" >&5
     65841+  echo "$as_me:6606: \$? = $ac_status" >&5
    4699265842   (exit $ac_status); }; }; then
    4699365843   cf_cv_ncurses_header=$cf_header; break
    4699465844 else
    46995 @@ -5970,11 +6546,11 @@
     65845@@ -5970,11 +6614,11 @@
    4699665846 done
    4699765847 
    4699865848 fi
    4699965849-echo "$as_me:5973: result: $cf_cv_ncurses_header" >&5
    47000 +echo "$as_me:6549: result: $cf_cv_ncurses_header" >&5
     65850+echo "$as_me:6617: result: $cf_cv_ncurses_header" >&5
    4700165851 echo "${ECHO_T}$cf_cv_ncurses_header" >&6
    4700265852 
    4700365853 if test "$cf_cv_ncurses_header" = none ; then
    4700465854-       { { echo "$as_me:5977: error: No curses header-files found" >&5
    47005 +       { { echo "$as_me:6553: error: No curses header-files found" >&5
     65855+       { { echo "$as_me:6621: error: No curses header-files found" >&5
    4700665856 echo "$as_me: error: No curses header-files found" >&2;}
    4700765857    { (exit 1); exit 1; }; }
    4700865858 fi
    47009 @@ -5984,23 +6560,23 @@
     65859@@ -5984,23 +6628,23 @@
    4701065860 for ac_header in $cf_cv_ncurses_header
    4701165861 do
    4701265862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4701365863-echo "$as_me:5987: checking for $ac_header" >&5
    47014 +echo "$as_me:6563: checking for $ac_header" >&5
     65864+echo "$as_me:6631: checking for $ac_header" >&5
    4701565865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4701665866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    4701965869   cat >conftest.$ac_ext <<_ACEOF
    4702065870-#line 5993 "configure"
    47021 +#line 6569 "configure"
     65871+#line 6637 "configure"
    4702265872 #include "confdefs.h"
    4702365873 #include <$ac_header>
    4702465874 _ACEOF
    4702565875-if { (eval echo "$as_me:5997: \"$ac_cpp conftest.$ac_ext\"") >&5
    47026 +if { (eval echo "$as_me:6573: \"$ac_cpp conftest.$ac_ext\"") >&5
     65876+if { (eval echo "$as_me:6641: \"$ac_cpp conftest.$ac_ext\"") >&5
    4702765877   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4702865878   ac_status=$?
     
    4703165881   cat conftest.err >&5
    4703265882-  echo "$as_me:6003: \$? = $ac_status" >&5
    47033 +  echo "$as_me:6579: \$? = $ac_status" >&5
     65883+  echo "$as_me:6647: \$? = $ac_status" >&5
    4703465884   (exit $ac_status); } >/dev/null; then
    4703565885   if test -s conftest.err; then
    4703665886     ac_cpp_err=$ac_c_preproc_warn_flag
    47037 @@ -6019,7 +6595,7 @@
     65887@@ -6019,7 +6663,7 @@
    4703865888 fi
    4703965889 rm -f conftest.err conftest.$ac_ext
    4704065890 fi
    4704165891-echo "$as_me:6022: result: `eval echo '${'$as_ac_Header'}'`" >&5
    47042 +echo "$as_me:6598: result: `eval echo '${'$as_ac_Header'}'`" >&5
     65892+echo "$as_me:6666: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4704365893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4704465894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4704565895   cat >>confdefs.h <<EOF
    47046 @@ -6072,7 +6648,7 @@
     65896@@ -6072,7 +6716,7 @@
    4704765897                          cf_save_CPPFLAGS=$CPPFLAGS
    4704865898                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4704965899                          cat >conftest.$ac_ext <<_ACEOF
    4705065900-#line 6075 "configure"
    47051 +#line 6651 "configure"
     65901+#line 6719 "configure"
    4705265902 #include "confdefs.h"
    4705365903 #include <stdio.h>
    4705465904 int
    47055 @@ -6084,16 +6660,16 @@
     65905@@ -6084,16 +6728,16 @@
    4705665906 }
    4705765907 _ACEOF
    4705865908 rm -f conftest.$ac_objext
    4705965909-if { (eval echo "$as_me:6087: \"$ac_compile\"") >&5
    47060 +if { (eval echo "$as_me:6663: \"$ac_compile\"") >&5
     65910+if { (eval echo "$as_me:6731: \"$ac_compile\"") >&5
    4706165911   (eval $ac_compile) 2>&5
    4706265912   ac_status=$?
    4706365913-  echo "$as_me:6090: \$? = $ac_status" >&5
    47064 +  echo "$as_me:6666: \$? = $ac_status" >&5
     65914+  echo "$as_me:6734: \$? = $ac_status" >&5
    4706565915   (exit $ac_status); } &&
    4706665916          { ac_try='test -s conftest.$ac_objext'
    4706765917-  { (eval echo "$as_me:6093: \"$ac_try\"") >&5
    47068 +  { (eval echo "$as_me:6669: \"$ac_try\"") >&5
     65918+  { (eval echo "$as_me:6737: \"$ac_try\"") >&5
    4706965919   (eval $ac_try) 2>&5
    4707065920   ac_status=$?
    4707165921-  echo "$as_me:6096: \$? = $ac_status" >&5
    47072 +  echo "$as_me:6672: \$? = $ac_status" >&5
     65922+  echo "$as_me:6740: \$? = $ac_status" >&5
    4707365923   (exit $ac_status); }; }; then
    4707465924   :
    4707565925 else
    47076 @@ -6110,7 +6686,7 @@
     65926@@ -6110,7 +6754,7 @@
    4707765927                if test "$cf_have_incdir" = no ; then
    4707865928                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4707965929 
    4708065930-echo "${as_me:-configure}:6113: testing adding $cf_add_incdir to include-path ..." 1>&5
    47081 +echo "${as_me:-configure}:6689: testing adding $cf_add_incdir to include-path ..." 1>&5
     65931+echo "${as_me:-configure}:6757: testing adding $cf_add_incdir to include-path ..." 1>&5
    4708265932 
    4708365933                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4708465934 
    47085 @@ -6127,7 +6703,7 @@
     65935@@ -6127,7 +6771,7 @@
    4708665936 
    4708765937 }
    4708865938 
    4708965939-echo "$as_me:6130: checking for $cf_ncuhdr_root header in include-path" >&5
    47090 +echo "$as_me:6706: checking for $cf_ncuhdr_root header in include-path" >&5
     65940+echo "$as_me:6774: checking for $cf_ncuhdr_root header in include-path" >&5
    4709165941 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6
    4709265942 if test "${cf_cv_ncurses_h+set}" = set; then
    4709365943   echo $ECHO_N "(cached) $ECHO_C" >&6
    47094 @@ -6139,7 +6715,7 @@
     65944@@ -6139,7 +6783,7 @@
    4709565945        do
    4709665946 
    4709765947        cat >conftest.$ac_ext <<_ACEOF
    4709865948-#line 6142 "configure"
    47099 +#line 6718 "configure"
     65949+#line 6786 "configure"
    4710065950 #include "confdefs.h"
    4710165951 
    4710265952 #include <$cf_header>
    47103 @@ -6163,16 +6739,16 @@
     65953@@ -6163,16 +6807,16 @@
    4710465954 }
    4710565955 _ACEOF
    4710665956 rm -f conftest.$ac_objext
    4710765957-if { (eval echo "$as_me:6166: \"$ac_compile\"") >&5
    47108 +if { (eval echo "$as_me:6742: \"$ac_compile\"") >&5
     65958+if { (eval echo "$as_me:6810: \"$ac_compile\"") >&5
    4710965959   (eval $ac_compile) 2>&5
    4711065960   ac_status=$?
    4711165961-  echo "$as_me:6169: \$? = $ac_status" >&5
    47112 +  echo "$as_me:6745: \$? = $ac_status" >&5
     65962+  echo "$as_me:6813: \$? = $ac_status" >&5
    4711365963   (exit $ac_status); } &&
    4711465964          { ac_try='test -s conftest.$ac_objext'
    4711565965-  { (eval echo "$as_me:6172: \"$ac_try\"") >&5
    47116 +  { (eval echo "$as_me:6748: \"$ac_try\"") >&5
     65966+  { (eval echo "$as_me:6816: \"$ac_try\"") >&5
    4711765967   (eval $ac_try) 2>&5
    4711865968   ac_status=$?
    4711965969-  echo "$as_me:6175: \$? = $ac_status" >&5
    47120 +  echo "$as_me:6751: \$? = $ac_status" >&5
     65970+  echo "$as_me:6819: \$? = $ac_status" >&5
    4712165971   (exit $ac_status); }; }; then
    4712265972   cf_cv_ncurses_h=$cf_header
    4712365973 
    47124 @@ -6187,14 +6763,14 @@
     65974@@ -6187,14 +6831,14 @@
    4712565975        done
    4712665976 
    4712765977 fi
    4712865978-echo "$as_me:6190: result: $cf_cv_ncurses_h" >&5
    47129 +echo "$as_me:6766: result: $cf_cv_ncurses_h" >&5
     65979+echo "$as_me:6834: result: $cf_cv_ncurses_h" >&5
    4713065980 echo "${ECHO_T}$cf_cv_ncurses_h" >&6
    4713165981 
     
    4713565985 
    4713665986-echo "$as_me:6197: checking for $cf_ncuhdr_root include-path" >&5
    47137 +echo "$as_me:6773: checking for $cf_ncuhdr_root include-path" >&5
     65987+echo "$as_me:6841: checking for $cf_ncuhdr_root include-path" >&5
    4713865988 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6
    4713965989 if test "${cf_cv_ncurses_h2+set}" = set; then
    4714065990   echo $ECHO_N "(cached) $ECHO_C" >&6
    47141 @@ -6334,7 +6910,7 @@
     65991@@ -6334,7 +6978,7 @@
    4714265992                          cf_save_CPPFLAGS=$CPPFLAGS
    4714365993                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4714465994                          cat >conftest.$ac_ext <<_ACEOF
    4714565995-#line 6337 "configure"
    47146 +#line 6913 "configure"
     65996+#line 6981 "configure"
    4714765997 #include "confdefs.h"
    4714865998 #include <stdio.h>
    4714965999 int
    47150 @@ -6346,16 +6922,16 @@
     66000@@ -6346,16 +6990,16 @@
    4715166001 }
    4715266002 _ACEOF
    4715366003 rm -f conftest.$ac_objext
    4715466004-if { (eval echo "$as_me:6349: \"$ac_compile\"") >&5
    47155 +if { (eval echo "$as_me:6925: \"$ac_compile\"") >&5
     66005+if { (eval echo "$as_me:6993: \"$ac_compile\"") >&5
    4715666006   (eval $ac_compile) 2>&5
    4715766007   ac_status=$?
    4715866008-  echo "$as_me:6352: \$? = $ac_status" >&5
    47159 +  echo "$as_me:6928: \$? = $ac_status" >&5
     66009+  echo "$as_me:6996: \$? = $ac_status" >&5
    4716066010   (exit $ac_status); } &&
    4716166011          { ac_try='test -s conftest.$ac_objext'
    4716266012-  { (eval echo "$as_me:6355: \"$ac_try\"") >&5
    47163 +  { (eval echo "$as_me:6931: \"$ac_try\"") >&5
     66013+  { (eval echo "$as_me:6999: \"$ac_try\"") >&5
    4716466014   (eval $ac_try) 2>&5
    4716566015   ac_status=$?
    4716666016-  echo "$as_me:6358: \$? = $ac_status" >&5
    47167 +  echo "$as_me:6934: \$? = $ac_status" >&5
     66017+  echo "$as_me:7002: \$? = $ac_status" >&5
    4716866018   (exit $ac_status); }; }; then
    4716966019   :
    4717066020 else
    47171 @@ -6372,7 +6948,7 @@
     66021@@ -6372,7 +7016,7 @@
    4717266022                if test "$cf_have_incdir" = no ; then
    4717366023                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4717466024 
    4717566025-echo "${as_me:-configure}:6375: testing adding $cf_add_incdir to include-path ..." 1>&5
    47176 +echo "${as_me:-configure}:6951: testing adding $cf_add_incdir to include-path ..." 1>&5
     66026+echo "${as_me:-configure}:7019: testing adding $cf_add_incdir to include-path ..." 1>&5
    4717766027 
    4717866028                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4717966029 
    47180 @@ -6393,7 +6969,7 @@
     66030@@ -6393,7 +7037,7 @@
    4718166031                do
    4718266032 
    4718366033        cat >conftest.$ac_ext <<_ACEOF
    4718466034-#line 6396 "configure"
    47185 +#line 6972 "configure"
     66035+#line 7040 "configure"
    4718666036 #include "confdefs.h"
    4718766037 
    4718866038 #include <$cf_header>
    47189 @@ -6417,16 +6993,16 @@
     66039@@ -6417,16 +7061,16 @@
    4719066040 }
    4719166041 _ACEOF
    4719266042 rm -f conftest.$ac_objext
    4719366043-if { (eval echo "$as_me:6420: \"$ac_compile\"") >&5
    47194 +if { (eval echo "$as_me:6996: \"$ac_compile\"") >&5
     66044+if { (eval echo "$as_me:7064: \"$ac_compile\"") >&5
    4719566045   (eval $ac_compile) 2>&5
    4719666046   ac_status=$?
    4719766047-  echo "$as_me:6423: \$? = $ac_status" >&5
    47198 +  echo "$as_me:6999: \$? = $ac_status" >&5
     66048+  echo "$as_me:7067: \$? = $ac_status" >&5
    4719966049   (exit $ac_status); } &&
    4720066050          { ac_try='test -s conftest.$ac_objext'
    4720166051-  { (eval echo "$as_me:6426: \"$ac_try\"") >&5
    47202 +  { (eval echo "$as_me:7002: \"$ac_try\"") >&5
     66052+  { (eval echo "$as_me:7070: \"$ac_try\"") >&5
    4720366053   (eval $ac_try) 2>&5
    4720466054   ac_status=$?
    4720566055-  echo "$as_me:6429: \$? = $ac_status" >&5
    47206 +  echo "$as_me:7005: \$? = $ac_status" >&5
     66056+  echo "$as_me:7073: \$? = $ac_status" >&5
    4720766057   (exit $ac_status); }; }; then
    4720866058   cf_cv_ncurses_h2=$cf_header
    4720966059 
    47210 @@ -6447,12 +7023,12 @@
     66060@@ -6447,12 +7091,12 @@
    4721166061                CPPFLAGS="$cf_save2_CPPFLAGS"
    4721266062                test "$cf_cv_ncurses_h2" != no && break
    4721366063        done
    4721466064-       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6450: error: not found" >&5
    47215 +       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:7026: error: not found" >&5
     66065+       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:7094: error: not found" >&5
    4721666066 echo "$as_me: error: not found" >&2;}
    4721766067    { (exit 1); exit 1; }; }
     
    4721966069 fi
    4722066070-echo "$as_me:6455: result: $cf_cv_ncurses_h2" >&5
    47221 +echo "$as_me:7031: result: $cf_cv_ncurses_h2" >&5
     66071+echo "$as_me:7099: result: $cf_cv_ncurses_h2" >&5
    4722266072 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6
    4722366073 
    4722466074        cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'`
    47225 @@ -6485,7 +7061,7 @@
     66075@@ -6485,7 +7129,7 @@
    4722666076                          cf_save_CPPFLAGS=$CPPFLAGS
    4722766077                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4722866078                          cat >conftest.$ac_ext <<_ACEOF
    4722966079-#line 6488 "configure"
    47230 +#line 7064 "configure"
     66080+#line 7132 "configure"
    4723166081 #include "confdefs.h"
    4723266082 #include <stdio.h>
    4723366083 int
    47234 @@ -6497,16 +7073,16 @@
     66084@@ -6497,16 +7141,16 @@
    4723566085 }
    4723666086 _ACEOF
    4723766087 rm -f conftest.$ac_objext
    4723866088-if { (eval echo "$as_me:6500: \"$ac_compile\"") >&5
    47239 +if { (eval echo "$as_me:7076: \"$ac_compile\"") >&5
     66089+if { (eval echo "$as_me:7144: \"$ac_compile\"") >&5
    4724066090   (eval $ac_compile) 2>&5
    4724166091   ac_status=$?
    4724266092-  echo "$as_me:6503: \$? = $ac_status" >&5
    47243 +  echo "$as_me:7079: \$? = $ac_status" >&5
     66093+  echo "$as_me:7147: \$? = $ac_status" >&5
    4724466094   (exit $ac_status); } &&
    4724566095          { ac_try='test -s conftest.$ac_objext'
    4724666096-  { (eval echo "$as_me:6506: \"$ac_try\"") >&5
    47247 +  { (eval echo "$as_me:7082: \"$ac_try\"") >&5
     66097+  { (eval echo "$as_me:7150: \"$ac_try\"") >&5
    4724866098   (eval $ac_try) 2>&5
    4724966099   ac_status=$?
    4725066100-  echo "$as_me:6509: \$? = $ac_status" >&5
    47251 +  echo "$as_me:7085: \$? = $ac_status" >&5
     66101+  echo "$as_me:7153: \$? = $ac_status" >&5
    4725266102   (exit $ac_status); }; }; then
    4725366103   :
    4725466104 else
    47255 @@ -6523,7 +7099,7 @@
     66105@@ -6523,7 +7167,7 @@
    4725666106                if test "$cf_have_incdir" = no ; then
    4725766107                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4725866108 
    4725966109-echo "${as_me:-configure}:6526: testing adding $cf_add_incdir to include-path ..." 1>&5
    47260 +echo "${as_me:-configure}:7102: testing adding $cf_add_incdir to include-path ..." 1>&5
     66110+echo "${as_me:-configure}:7170: testing adding $cf_add_incdir to include-path ..." 1>&5
    4726166111 
    4726266112                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4726366113 
    47264 @@ -6566,7 +7142,7 @@
     66114@@ -6566,7 +7210,7 @@
    4726566115        ;;
    4726666116 esac
    4726766117 
    4726866118-echo "$as_me:6569: checking for terminfo header" >&5
    47269 +echo "$as_me:7145: checking for terminfo header" >&5
     66119+echo "$as_me:7213: checking for terminfo header" >&5
    4727066120 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
    4727166121 if test "${cf_cv_term_header+set}" = set; then
    4727266122   echo $ECHO_N "(cached) $ECHO_C" >&6
    47273 @@ -6584,7 +7160,7 @@
     66123@@ -6584,7 +7228,7 @@
    4727466124 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
    4727566125 do
    4727666126 cat >conftest.$ac_ext <<_ACEOF
    4727766127-#line 6587 "configure"
    47278 +#line 7163 "configure"
     66128+#line 7231 "configure"
    4727966129 #include "confdefs.h"
    4728066130 #include <stdio.h>
    4728166131 #include <${cf_cv_ncurses_header:-curses.h}>
    47282 @@ -6599,16 +7175,16 @@
     66132@@ -6599,16 +7243,16 @@
    4728366133 }
    4728466134 _ACEOF
    4728566135 rm -f conftest.$ac_objext
    4728666136-if { (eval echo "$as_me:6602: \"$ac_compile\"") >&5
    47287 +if { (eval echo "$as_me:7178: \"$ac_compile\"") >&5
     66137+if { (eval echo "$as_me:7246: \"$ac_compile\"") >&5
    4728866138   (eval $ac_compile) 2>&5
    4728966139   ac_status=$?
    4729066140-  echo "$as_me:6605: \$? = $ac_status" >&5
    47291 +  echo "$as_me:7181: \$? = $ac_status" >&5
     66141+  echo "$as_me:7249: \$? = $ac_status" >&5
    4729266142   (exit $ac_status); } &&
    4729366143          { ac_try='test -s conftest.$ac_objext'
    4729466144-  { (eval echo "$as_me:6608: \"$ac_try\"") >&5
    47295 +  { (eval echo "$as_me:7184: \"$ac_try\"") >&5
     66145+  { (eval echo "$as_me:7252: \"$ac_try\"") >&5
    4729666146   (eval $ac_try) 2>&5
    4729766147   ac_status=$?
    4729866148-  echo "$as_me:6611: \$? = $ac_status" >&5
    47299 +  echo "$as_me:7187: \$? = $ac_status" >&5
     66149+  echo "$as_me:7255: \$? = $ac_status" >&5
    4730066150   (exit $ac_status); }; }; then
    4730166151 
    4730266152        cf_cv_term_header="$cf_test"
    47303 @@ -6624,7 +7200,7 @@
     66153@@ -6624,7 +7268,7 @@
    4730466154 done
    4730566155 
    4730666156 fi
    4730766157-echo "$as_me:6627: result: $cf_cv_term_header" >&5
    47308 +echo "$as_me:7203: result: $cf_cv_term_header" >&5
     66158+echo "$as_me:7271: result: $cf_cv_term_header" >&5
    4730966159 echo "${ECHO_T}$cf_cv_term_header" >&6
    4731066160 
    4731166161 # Set definitions to allow ifdef'ing to accommodate subdirectories
    47312 @@ -6658,7 +7234,7 @@
     66162@@ -6658,7 +7302,7 @@
    4731366163 #define NCURSES 1
    4731466164 EOF
    4731566165 
    4731666166-echo "$as_me:6661: checking for ncurses version" >&5
    47317 +echo "$as_me:7237: checking for ncurses version" >&5
     66167+echo "$as_me:7305: checking for ncurses version" >&5
    4731866168 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
    4731966169 if test "${cf_cv_ncurses_version+set}" = set; then
    4732066170   echo $ECHO_N "(cached) $ECHO_C" >&6
    47321 @@ -6684,10 +7260,10 @@
     66171@@ -6684,10 +7328,10 @@
    4732266172 #endif
    4732366173 EOF
    4732466174        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    4732566175-       { (eval echo "$as_me:6687: \"$cf_try\"") >&5
    47326 +       { (eval echo "$as_me:7263: \"$cf_try\"") >&5
     66176+       { (eval echo "$as_me:7331: \"$cf_try\"") >&5
    4732766177   (eval $cf_try) 2>&5
    4732866178   ac_status=$?
    4732966179-  echo "$as_me:6690: \$? = $ac_status" >&5
    47330 +  echo "$as_me:7266: \$? = $ac_status" >&5
     66180+  echo "$as_me:7334: \$? = $ac_status" >&5
    4733166181   (exit $ac_status); }
    4733266182        if test -f conftest.out ; then
    4733366183                cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
    47334 @@ -6697,7 +7273,7 @@
     66184@@ -6697,7 +7341,7 @@
    4733566185 
    4733666186 else
    4733766187   cat >conftest.$ac_ext <<_ACEOF
    4733866188-#line 6700 "configure"
    47339 +#line 7276 "configure"
     66189+#line 7344 "configure"
    4734066190 #include "confdefs.h"
    4734166191 
    4734266192 #include <${cf_cv_ncurses_header:-curses.h}>
    47343 @@ -6722,15 +7298,15 @@
     66193@@ -6722,15 +7366,15 @@
    4734466194 }
    4734566195 _ACEOF
    4734666196 rm -f conftest$ac_exeext
    4734766197-if { (eval echo "$as_me:6725: \"$ac_link\"") >&5
    47348 +if { (eval echo "$as_me:7301: \"$ac_link\"") >&5
     66198+if { (eval echo "$as_me:7369: \"$ac_link\"") >&5
    4734966199   (eval $ac_link) 2>&5
    4735066200   ac_status=$?
    4735166201-  echo "$as_me:6728: \$? = $ac_status" >&5
    47352 +  echo "$as_me:7304: \$? = $ac_status" >&5
     66202+  echo "$as_me:7372: \$? = $ac_status" >&5
    4735366203   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4735466204-  { (eval echo "$as_me:6730: \"$ac_try\"") >&5
    47355 +  { (eval echo "$as_me:7306: \"$ac_try\"") >&5
     66205+  { (eval echo "$as_me:7374: \"$ac_try\"") >&5
    4735666206   (eval $ac_try) 2>&5
    4735766207   ac_status=$?
    4735866208-  echo "$as_me:6733: \$? = $ac_status" >&5
    47359 +  echo "$as_me:7309: \$? = $ac_status" >&5
     66209+  echo "$as_me:7377: \$? = $ac_status" >&5
    4736066210   (exit $ac_status); }; }; then
    4736166211 
    4736266212        cf_cv_ncurses_version=`cat $cf_tempfile`
    47363 @@ -6744,7 +7320,7 @@
     66213@@ -6744,7 +7388,7 @@
    4736466214        rm -f $cf_tempfile
    4736566215 
    4736666216 fi
    4736766217-echo "$as_me:6747: result: $cf_cv_ncurses_version" >&5
    47368 +echo "$as_me:7323: result: $cf_cv_ncurses_version" >&5
     66218+echo "$as_me:7391: result: $cf_cv_ncurses_version" >&5
    4736966219 echo "${ECHO_T}$cf_cv_ncurses_version" >&6
    4737066220 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
    4737166221 #define NCURSES 1
    47372 @@ -6756,7 +7332,7 @@
     66222@@ -6756,7 +7400,7 @@
    4737366223        # to link gpm.
    4737466224 cf_ncurses_LIBS=""
    4737566225 cf_ncurses_SAVE="$LIBS"
    4737666226-echo "$as_me:6759: checking for Gpm_Open in -lgpm" >&5
    47377 +echo "$as_me:7335: checking for Gpm_Open in -lgpm" >&5
     66227+echo "$as_me:7403: checking for Gpm_Open in -lgpm" >&5
    4737866228 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
    4737966229 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
    4738066230   echo $ECHO_N "(cached) $ECHO_C" >&6
    47381 @@ -6764,7 +7340,7 @@
     66231@@ -6764,7 +7408,7 @@
    4738266232   ac_check_lib_save_LIBS=$LIBS
    4738366233 LIBS="-lgpm  $LIBS"
    4738466234 cat >conftest.$ac_ext <<_ACEOF
    4738566235-#line 6767 "configure"
    47386 +#line 7343 "configure"
     66236+#line 7411 "configure"
    4738766237 #include "confdefs.h"
    4738866238 
    4738966239 /* Override any gcc2 internal prototype to avoid an error.  */
    47390 @@ -6783,16 +7359,16 @@
     66240@@ -6783,16 +7427,16 @@
    4739166241 }
    4739266242 _ACEOF
    4739366243 rm -f conftest.$ac_objext conftest$ac_exeext
    4739466244-if { (eval echo "$as_me:6786: \"$ac_link\"") >&5
    47395 +if { (eval echo "$as_me:7362: \"$ac_link\"") >&5
     66245+if { (eval echo "$as_me:7430: \"$ac_link\"") >&5
    4739666246   (eval $ac_link) 2>&5
    4739766247   ac_status=$?
    4739866248-  echo "$as_me:6789: \$? = $ac_status" >&5
    47399 +  echo "$as_me:7365: \$? = $ac_status" >&5
     66249+  echo "$as_me:7433: \$? = $ac_status" >&5
    4740066250   (exit $ac_status); } &&
    4740166251          { ac_try='test -s conftest$ac_exeext'
    4740266252-  { (eval echo "$as_me:6792: \"$ac_try\"") >&5
    47403 +  { (eval echo "$as_me:7368: \"$ac_try\"") >&5
     66253+  { (eval echo "$as_me:7436: \"$ac_try\"") >&5
    4740466254   (eval $ac_try) 2>&5
    4740566255   ac_status=$?
    4740666256-  echo "$as_me:6795: \$? = $ac_status" >&5
    47407 +  echo "$as_me:7371: \$? = $ac_status" >&5
     66257+  echo "$as_me:7439: \$? = $ac_status" >&5
    4740866258   (exit $ac_status); }; }; then
    4740966259   ac_cv_lib_gpm_Gpm_Open=yes
    4741066260 else
    47411 @@ -6803,10 +7379,10 @@
     66261@@ -6803,10 +7447,10 @@
    4741266262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4741366263 LIBS=$ac_check_lib_save_LIBS
    4741466264 fi
    4741566265-echo "$as_me:6806: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    47416 +echo "$as_me:7382: result: $ac_cv_lib_gpm_Gpm_Open" >&5
     66266+echo "$as_me:7450: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    4741766267 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
    4741866268 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
    4741966269-  echo "$as_me:6809: checking for initscr in -lgpm" >&5
    47420 +  echo "$as_me:7385: checking for initscr in -lgpm" >&5
     66270+  echo "$as_me:7453: checking for initscr in -lgpm" >&5
    4742166271 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6
    4742266272 if test "${ac_cv_lib_gpm_initscr+set}" = set; then
    4742366273   echo $ECHO_N "(cached) $ECHO_C" >&6
    47424 @@ -6814,7 +7390,7 @@
     66274@@ -6814,7 +7458,7 @@
    4742566275   ac_check_lib_save_LIBS=$LIBS
    4742666276 LIBS="-lgpm  $LIBS"
    4742766277 cat >conftest.$ac_ext <<_ACEOF
    4742866278-#line 6817 "configure"
    47429 +#line 7393 "configure"
     66279+#line 7461 "configure"
    4743066280 #include "confdefs.h"
    4743166281 
    4743266282 /* Override any gcc2 internal prototype to avoid an error.  */
    47433 @@ -6833,16 +7409,16 @@
     66283@@ -6833,16 +7477,16 @@
    4743466284 }
    4743566285 _ACEOF
    4743666286 rm -f conftest.$ac_objext conftest$ac_exeext
    4743766287-if { (eval echo "$as_me:6836: \"$ac_link\"") >&5
    47438 +if { (eval echo "$as_me:7412: \"$ac_link\"") >&5
     66288+if { (eval echo "$as_me:7480: \"$ac_link\"") >&5
    4743966289   (eval $ac_link) 2>&5
    4744066290   ac_status=$?
    4744166291-  echo "$as_me:6839: \$? = $ac_status" >&5
    47442 +  echo "$as_me:7415: \$? = $ac_status" >&5
     66292+  echo "$as_me:7483: \$? = $ac_status" >&5
    4744366293   (exit $ac_status); } &&
    4744466294          { ac_try='test -s conftest$ac_exeext'
    4744566295-  { (eval echo "$as_me:6842: \"$ac_try\"") >&5
    47446 +  { (eval echo "$as_me:7418: \"$ac_try\"") >&5
     66296+  { (eval echo "$as_me:7486: \"$ac_try\"") >&5
    4744766297   (eval $ac_try) 2>&5
    4744866298   ac_status=$?
    4744966299-  echo "$as_me:6845: \$? = $ac_status" >&5
    47450 +  echo "$as_me:7421: \$? = $ac_status" >&5
     66300+  echo "$as_me:7489: \$? = $ac_status" >&5
    4745166301   (exit $ac_status); }; }; then
    4745266302   ac_cv_lib_gpm_initscr=yes
    4745366303 else
    47454 @@ -6853,7 +7429,7 @@
     66304@@ -6853,7 +7497,7 @@
    4745566305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4745666306 LIBS=$ac_check_lib_save_LIBS
    4745766307 fi
    4745866308-echo "$as_me:6856: result: $ac_cv_lib_gpm_initscr" >&5
    47459 +echo "$as_me:7432: result: $ac_cv_lib_gpm_initscr" >&5
     66309+echo "$as_me:7500: result: $ac_cv_lib_gpm_initscr" >&5
    4746066310 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6
    4746166311 if test $ac_cv_lib_gpm_initscr = yes; then
    4746266312   LIBS="$cf_ncurses_SAVE"
    47463 @@ -6868,7 +7444,7 @@
     66313@@ -6868,7 +7512,7 @@
    4746466314        # This is only necessary if you are linking against an obsolete
    4746566315        # version of ncurses (but it should do no harm, since it's static).
    4746666316        if test "$cf_nculib_root" = ncurses ; then
    4746766317-               echo "$as_me:6871: checking for tgoto in -lmytinfo" >&5
    47468 +               echo "$as_me:7447: checking for tgoto in -lmytinfo" >&5
     66318+               echo "$as_me:7515: checking for tgoto in -lmytinfo" >&5
    4746966319 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
    4747066320 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
    4747166321   echo $ECHO_N "(cached) $ECHO_C" >&6
    47472 @@ -6876,7 +7452,7 @@
     66322@@ -6876,7 +7520,7 @@
    4747366323   ac_check_lib_save_LIBS=$LIBS
    4747466324 LIBS="-lmytinfo  $LIBS"
    4747566325 cat >conftest.$ac_ext <<_ACEOF
    4747666326-#line 6879 "configure"
    47477 +#line 7455 "configure"
     66327+#line 7523 "configure"
    4747866328 #include "confdefs.h"
    4747966329 
    4748066330 /* Override any gcc2 internal prototype to avoid an error.  */
    47481 @@ -6895,16 +7471,16 @@
     66331@@ -6895,16 +7539,16 @@
    4748266332 }
    4748366333 _ACEOF
    4748466334 rm -f conftest.$ac_objext conftest$ac_exeext
    4748566335-if { (eval echo "$as_me:6898: \"$ac_link\"") >&5
    47486 +if { (eval echo "$as_me:7474: \"$ac_link\"") >&5
     66336+if { (eval echo "$as_me:7542: \"$ac_link\"") >&5
    4748766337   (eval $ac_link) 2>&5
    4748866338   ac_status=$?
    4748966339-  echo "$as_me:6901: \$? = $ac_status" >&5
    47490 +  echo "$as_me:7477: \$? = $ac_status" >&5
     66340+  echo "$as_me:7545: \$? = $ac_status" >&5
    4749166341   (exit $ac_status); } &&
    4749266342          { ac_try='test -s conftest$ac_exeext'
    4749366343-  { (eval echo "$as_me:6904: \"$ac_try\"") >&5
    47494 +  { (eval echo "$as_me:7480: \"$ac_try\"") >&5
     66344+  { (eval echo "$as_me:7548: \"$ac_try\"") >&5
    4749566345   (eval $ac_try) 2>&5
    4749666346   ac_status=$?
    4749766347-  echo "$as_me:6907: \$? = $ac_status" >&5
    47498 +  echo "$as_me:7483: \$? = $ac_status" >&5
     66348+  echo "$as_me:7551: \$? = $ac_status" >&5
    4749966349   (exit $ac_status); }; }; then
    4750066350   ac_cv_lib_mytinfo_tgoto=yes
    4750166351 else
    47502 @@ -6915,7 +7491,7 @@
     66352@@ -6915,7 +7559,7 @@
    4750366353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4750466354 LIBS=$ac_check_lib_save_LIBS
    4750566355 fi
    4750666356-echo "$as_me:6918: result: $ac_cv_lib_mytinfo_tgoto" >&5
    47507 +echo "$as_me:7494: result: $ac_cv_lib_mytinfo_tgoto" >&5
     66357+echo "$as_me:7562: result: $ac_cv_lib_mytinfo_tgoto" >&5
    4750866358 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
    4750966359 if test $ac_cv_lib_mytinfo_tgoto = yes; then
    4751066360   cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS"
    47511 @@ -6934,13 +7510,13 @@
     66361@@ -6934,13 +7578,13 @@
    4751266362 
    4751366363        eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
    4751466364        cf_libdir=""
    4751566365-       echo "$as_me:6937: checking for initscr" >&5
    47516 +       echo "$as_me:7513: checking for initscr" >&5
     66366+       echo "$as_me:7581: checking for initscr" >&5
    4751766367 echo $ECHO_N "checking for initscr... $ECHO_C" >&6
    4751866368 if test "${ac_cv_func_initscr+set}" = set; then
     
    4752166371   cat >conftest.$ac_ext <<_ACEOF
    4752266372-#line 6943 "configure"
    47523 +#line 7519 "configure"
     66373+#line 7587 "configure"
    4752466374 #include "confdefs.h"
    4752566375 /* System header to define __stub macros and hopefully few prototypes,
    4752666376     which can conflict with char initscr (); below.  */
    47527 @@ -6971,16 +7547,16 @@
     66377@@ -6963,7 +7607,7 @@
     66378 #if defined (__stub_initscr) || defined (__stub___initscr)
     66379 choke me
     66380 #else
     66381-f = initscr;
     66382+f = initscr; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     66383 #endif
     66384 
     66385   ;
     66386@@ -6971,16 +7615,16 @@
    4752866387 }
    4752966388 _ACEOF
    4753066389 rm -f conftest.$ac_objext conftest$ac_exeext
    4753166390-if { (eval echo "$as_me:6974: \"$ac_link\"") >&5
    47532 +if { (eval echo "$as_me:7550: \"$ac_link\"") >&5
     66391+if { (eval echo "$as_me:7618: \"$ac_link\"") >&5
    4753366392   (eval $ac_link) 2>&5
    4753466393   ac_status=$?
    4753566394-  echo "$as_me:6977: \$? = $ac_status" >&5
    47536 +  echo "$as_me:7553: \$? = $ac_status" >&5
     66395+  echo "$as_me:7621: \$? = $ac_status" >&5
    4753766396   (exit $ac_status); } &&
    4753866397          { ac_try='test -s conftest$ac_exeext'
    4753966398-  { (eval echo "$as_me:6980: \"$ac_try\"") >&5
    47540 +  { (eval echo "$as_me:7556: \"$ac_try\"") >&5
     66399+  { (eval echo "$as_me:7624: \"$ac_try\"") >&5
    4754166400   (eval $ac_try) 2>&5
    4754266401   ac_status=$?
    4754366402-  echo "$as_me:6983: \$? = $ac_status" >&5
    47544 +  echo "$as_me:7559: \$? = $ac_status" >&5
     66403+  echo "$as_me:7627: \$? = $ac_status" >&5
    4754566404   (exit $ac_status); }; }; then
    4754666405   ac_cv_func_initscr=yes
    4754766406 else
    47548 @@ -6990,18 +7566,18 @@
     66407@@ -6990,18 +7634,18 @@
    4754966408 fi
    4755066409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4755166410 fi
    4755266411-echo "$as_me:6993: result: $ac_cv_func_initscr" >&5
    47553 +echo "$as_me:7569: result: $ac_cv_func_initscr" >&5
     66412+echo "$as_me:7637: result: $ac_cv_func_initscr" >&5
    4755466413 echo "${ECHO_T}$ac_cv_func_initscr" >&6
    4755566414 if test $ac_cv_func_initscr = yes; then
     
    4755966418                cf_save_LIBS="$LIBS"
    4756066419-               echo "$as_me:7000: checking for initscr in -l$cf_nculib_root" >&5
    47561 +               echo "$as_me:7576: checking for initscr in -l$cf_nculib_root" >&5
     66420+               echo "$as_me:7644: checking for initscr in -l$cf_nculib_root" >&5
    4756266421 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6
    4756366422                LIBS="-l$cf_nculib_root $LIBS"
    4756466423                cat >conftest.$ac_ext <<_ACEOF
    4756566424-#line 7004 "configure"
    47566 +#line 7580 "configure"
     66425+#line 7648 "configure"
    4756766426 #include "confdefs.h"
    4756866427 #include <${cf_cv_ncurses_header:-curses.h}>
    4756966428 int
    47570 @@ -7013,25 +7589,25 @@
     66429@@ -7013,25 +7657,25 @@
    4757166430 }
    4757266431 _ACEOF
    4757366432 rm -f conftest.$ac_objext conftest$ac_exeext
    4757466433-if { (eval echo "$as_me:7016: \"$ac_link\"") >&5
    47575 +if { (eval echo "$as_me:7592: \"$ac_link\"") >&5
     66434+if { (eval echo "$as_me:7660: \"$ac_link\"") >&5
    4757666435   (eval $ac_link) 2>&5
    4757766436   ac_status=$?
    4757866437-  echo "$as_me:7019: \$? = $ac_status" >&5
    47579 +  echo "$as_me:7595: \$? = $ac_status" >&5
     66438+  echo "$as_me:7663: \$? = $ac_status" >&5
    4758066439   (exit $ac_status); } &&
    4758166440          { ac_try='test -s conftest$ac_exeext'
    4758266441-  { (eval echo "$as_me:7022: \"$ac_try\"") >&5
    47583 +  { (eval echo "$as_me:7598: \"$ac_try\"") >&5
     66442+  { (eval echo "$as_me:7666: \"$ac_try\"") >&5
    4758466443   (eval $ac_try) 2>&5
    4758566444   ac_status=$?
    4758666445-  echo "$as_me:7025: \$? = $ac_status" >&5
    47587 +  echo "$as_me:7601: \$? = $ac_status" >&5
     66446+  echo "$as_me:7669: \$? = $ac_status" >&5
    4758866447   (exit $ac_status); }; }; then
    4758966448-  echo "$as_me:7027: result: yes" >&5
    47590 +  echo "$as_me:7603: result: yes" >&5
     66449+  echo "$as_me:7671: result: yes" >&5
    4759166450 echo "${ECHO_T}yes" >&6
    4759266451                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    4759666455 cat conftest.$ac_ext >&5
    4759766456-echo "$as_me:7034: result: no" >&5
    47598 +echo "$as_me:7610: result: no" >&5
     66457+echo "$as_me:7678: result: no" >&5
    4759966458 echo "${ECHO_T}no" >&6
    4760066459 
    4760166460 cf_search=
    47602 @@ -7121,11 +7697,11 @@
     66461@@ -7121,11 +7765,11 @@
    4760366462 
    4760466463                        for cf_libdir in $cf_search
    4760566464                        do
    4760666465-                               echo "$as_me:7124: checking for -l$cf_nculib_root in $cf_libdir" >&5
    47607 +                               echo "$as_me:7700: checking for -l$cf_nculib_root in $cf_libdir" >&5
     66466+                               echo "$as_me:7768: checking for -l$cf_nculib_root in $cf_libdir" >&5
    4760866467 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6
    4760966468                                LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
    4761066469                                cat >conftest.$ac_ext <<_ACEOF
    4761166470-#line 7128 "configure"
    47612 +#line 7704 "configure"
     66471+#line 7772 "configure"
    4761366472 #include "confdefs.h"
    4761466473 #include <${cf_cv_ncurses_header:-curses.h}>
    4761566474 int
    47616 @@ -7137,25 +7713,25 @@
     66475@@ -7137,25 +7781,25 @@
    4761766476 }
    4761866477 _ACEOF
    4761966478 rm -f conftest.$ac_objext conftest$ac_exeext
    4762066479-if { (eval echo "$as_me:7140: \"$ac_link\"") >&5
    47621 +if { (eval echo "$as_me:7716: \"$ac_link\"") >&5
     66480+if { (eval echo "$as_me:7784: \"$ac_link\"") >&5
    4762266481   (eval $ac_link) 2>&5
    4762366482   ac_status=$?
    4762466483-  echo "$as_me:7143: \$? = $ac_status" >&5
    47625 +  echo "$as_me:7719: \$? = $ac_status" >&5
     66484+  echo "$as_me:7787: \$? = $ac_status" >&5
    4762666485   (exit $ac_status); } &&
    4762766486          { ac_try='test -s conftest$ac_exeext'
    4762866487-  { (eval echo "$as_me:7146: \"$ac_try\"") >&5
    47629 +  { (eval echo "$as_me:7722: \"$ac_try\"") >&5
     66488+  { (eval echo "$as_me:7790: \"$ac_try\"") >&5
    4763066489   (eval $ac_try) 2>&5
    4763166490   ac_status=$?
    4763266491-  echo "$as_me:7149: \$? = $ac_status" >&5
    47633 +  echo "$as_me:7725: \$? = $ac_status" >&5
     66492+  echo "$as_me:7793: \$? = $ac_status" >&5
    4763466493   (exit $ac_status); }; }; then
    4763566494-  echo "$as_me:7151: result: yes" >&5
    47636 +  echo "$as_me:7727: result: yes" >&5
     66495+  echo "$as_me:7795: result: yes" >&5
    4763766496 echo "${ECHO_T}yes" >&6
    4763866497                                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    4764266501 cat conftest.$ac_ext >&5
    4764366502-echo "$as_me:7158: result: no" >&5
    47644 +echo "$as_me:7734: result: no" >&5
     66503+echo "$as_me:7802: result: no" >&5
    4764566504 echo "${ECHO_T}no" >&6
    4764666505                                         LIBS="$cf_save_LIBS"
    4764766506 fi
    47648 @@ -7170,7 +7746,7 @@
     66507@@ -7170,7 +7814,7 @@
    4764966508 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root
    4765066509 
    4765166510 if test $cf_found_library = no ; then
    4765266511-       { { echo "$as_me:7173: error: Cannot link $cf_nculib_root library" >&5
    47653 +       { { echo "$as_me:7749: error: Cannot link $cf_nculib_root library" >&5
     66512+       { { echo "$as_me:7817: error: Cannot link $cf_nculib_root library" >&5
    4765466513 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;}
    4765566514    { (exit 1); exit 1; }; }
    4765666515 fi
    47657 @@ -7178,7 +7754,7 @@
     66516@@ -7178,7 +7822,7 @@
    4765866517 fi
    4765966518 
    4766066519 if test -n "$cf_ncurses_LIBS" ; then
    4766166520-       echo "$as_me:7181: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    47662 +       echo "$as_me:7757: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     66521+       echo "$as_me:7825: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    4766366522 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6
    4766466523        cf_ncurses_SAVE="$LIBS"
    4766566524        for p in $cf_ncurses_LIBS ; do
    47666 @@ -7188,7 +7764,7 @@
     66525@@ -7188,7 +7832,7 @@
    4766766526                fi
    4766866527        done
    4766966528        cat >conftest.$ac_ext <<_ACEOF
    4767066529-#line 7191 "configure"
    47671 +#line 7767 "configure"
     66530+#line 7835 "configure"
    4767266531 #include "confdefs.h"
    4767366532 #include <${cf_cv_ncurses_header:-curses.h}>
    4767466533 int
    47675 @@ -7200,23 +7776,23 @@
     66534@@ -7200,23 +7844,23 @@
    4767666535 }
    4767766536 _ACEOF
    4767866537 rm -f conftest.$ac_objext conftest$ac_exeext
    4767966538-if { (eval echo "$as_me:7203: \"$ac_link\"") >&5
    47680 +if { (eval echo "$as_me:7779: \"$ac_link\"") >&5
     66539+if { (eval echo "$as_me:7847: \"$ac_link\"") >&5
    4768166540   (eval $ac_link) 2>&5
    4768266541   ac_status=$?
    4768366542-  echo "$as_me:7206: \$? = $ac_status" >&5
    47684 +  echo "$as_me:7782: \$? = $ac_status" >&5
     66543+  echo "$as_me:7850: \$? = $ac_status" >&5
    4768566544   (exit $ac_status); } &&
    4768666545          { ac_try='test -s conftest$ac_exeext'
    4768766546-  { (eval echo "$as_me:7209: \"$ac_try\"") >&5
    47688 +  { (eval echo "$as_me:7785: \"$ac_try\"") >&5
     66547+  { (eval echo "$as_me:7853: \"$ac_try\"") >&5
    4768966548   (eval $ac_try) 2>&5
    4769066549   ac_status=$?
    4769166550-  echo "$as_me:7212: \$? = $ac_status" >&5
    47692 +  echo "$as_me:7788: \$? = $ac_status" >&5
     66551+  echo "$as_me:7856: \$? = $ac_status" >&5
    4769366552   (exit $ac_status); }; }; then
    4769466553-  echo "$as_me:7214: result: yes" >&5
    47695 +  echo "$as_me:7790: result: yes" >&5
     66554+  echo "$as_me:7858: result: yes" >&5
    4769666555 echo "${ECHO_T}yes" >&6
    4769766556 else
     
    4769966558 cat conftest.$ac_ext >&5
    4770066559-echo "$as_me:7219: result: no" >&5
    47701 +echo "$as_me:7795: result: no" >&5
     66560+echo "$as_me:7863: result: no" >&5
    4770266561 echo "${ECHO_T}no" >&6
    4770366562                 LIBS="$cf_ncurses_SAVE"
    4770466563 fi
    47705 @@ -7232,10 +7808,9 @@
     66564@@ -7232,10 +7876,9 @@
    4770666565 fi
    4770766566 
     
    4771266571 
    4771366572-echo "$as_me:7238: checking for multibyte character support" >&5
    47714 +echo "$as_me:7813: checking for multibyte character support" >&5
     66573+echo "$as_me:7881: checking for multibyte character support" >&5
    4771566574 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
    4771666575 if test "${cf_cv_utf8_lib+set}" = set; then
    4771766576   echo $ECHO_N "(cached) $ECHO_C" >&6
    47718 @@ -7243,7 +7818,7 @@
     66577@@ -7243,7 +7886,7 @@
    4771966578 
    4772066579        cf_save_LIBS="$LIBS"
    4772166580        cat >conftest.$ac_ext <<_ACEOF
    4772266581-#line 7246 "configure"
    47723 +#line 7821 "configure"
     66582+#line 7889 "configure"
    4772466583 #include "confdefs.h"
    4772566584 
    4772666585 #include <stdlib.h>
    47727 @@ -7256,16 +7831,16 @@
     66586@@ -7256,16 +7899,16 @@
    4772866587 }
    4772966588 _ACEOF
    4773066589 rm -f conftest.$ac_objext conftest$ac_exeext
    4773166590-if { (eval echo "$as_me:7259: \"$ac_link\"") >&5
    47732 +if { (eval echo "$as_me:7834: \"$ac_link\"") >&5
     66591+if { (eval echo "$as_me:7902: \"$ac_link\"") >&5
    4773366592   (eval $ac_link) 2>&5
    4773466593   ac_status=$?
    4773566594-  echo "$as_me:7262: \$? = $ac_status" >&5
    47736 +  echo "$as_me:7837: \$? = $ac_status" >&5
     66595+  echo "$as_me:7905: \$? = $ac_status" >&5
    4773766596   (exit $ac_status); } &&
    4773866597          { ac_try='test -s conftest$ac_exeext'
    4773966598-  { (eval echo "$as_me:7265: \"$ac_try\"") >&5
    47740 +  { (eval echo "$as_me:7840: \"$ac_try\"") >&5
     66599+  { (eval echo "$as_me:7908: \"$ac_try\"") >&5
    4774166600   (eval $ac_try) 2>&5
    4774266601   ac_status=$?
    4774366602-  echo "$as_me:7268: \$? = $ac_status" >&5
    47744 +  echo "$as_me:7843: \$? = $ac_status" >&5
     66603+  echo "$as_me:7911: \$? = $ac_status" >&5
    4774566604   (exit $ac_status); }; }; then
    4774666605   cf_cv_utf8_lib=yes
    4774766606 else
    47748 @@ -7277,12 +7852,12 @@
     66607@@ -7277,12 +7920,12 @@
    4774966608 cf_cv_header_path_utf8=
    4775066609 cf_cv_library_path_utf8=
    4775166610 
    4775266611-echo "${as_me:-configure}:7280: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    47753 +echo "${as_me:-configure}:7855: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
     66612+echo "${as_me:-configure}:7923: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    4775466613 
    4775566614 cf_save_LIBS="$LIBS"
     
    4775766616 cat >conftest.$ac_ext <<_ACEOF
    4775866617-#line 7285 "configure"
    47759 +#line 7860 "configure"
     66618+#line 7928 "configure"
    4776066619 #include "confdefs.h"
    4776166620 
    4776266621 #include <libutf8.h>
    47763 @@ -7295,16 +7870,16 @@
     66622@@ -7295,16 +7938,16 @@
    4776466623 }
    4776566624 _ACEOF
    4776666625 rm -f conftest.$ac_objext conftest$ac_exeext
    4776766626-if { (eval echo "$as_me:7298: \"$ac_link\"") >&5
    47768 +if { (eval echo "$as_me:7873: \"$ac_link\"") >&5
     66627+if { (eval echo "$as_me:7941: \"$ac_link\"") >&5
    4776966628   (eval $ac_link) 2>&5
    4777066629   ac_status=$?
    4777166630-  echo "$as_me:7301: \$? = $ac_status" >&5
    47772 +  echo "$as_me:7876: \$? = $ac_status" >&5
     66631+  echo "$as_me:7944: \$? = $ac_status" >&5
    4777366632   (exit $ac_status); } &&
    4777466633          { ac_try='test -s conftest$ac_exeext'
    4777566634-  { (eval echo "$as_me:7304: \"$ac_try\"") >&5
    47776 +  { (eval echo "$as_me:7879: \"$ac_try\"") >&5
     66635+  { (eval echo "$as_me:7947: \"$ac_try\"") >&5
    4777766636   (eval $ac_try) 2>&5
    4777866637   ac_status=$?
    4777966638-  echo "$as_me:7307: \$? = $ac_status" >&5
    47780 +  echo "$as_me:7882: \$? = $ac_status" >&5
     66639+  echo "$as_me:7950: \$? = $ac_status" >&5
    4778166640   (exit $ac_status); }; }; then
    4778266641 
    4778366642        cf_cv_find_linkage_utf8=yes
    47784 @@ -7318,7 +7893,7 @@
     66643@@ -7318,7 +7961,7 @@
    4778566644 LIBS="-lutf8  $cf_save_LIBS"
    4778666645 
    4778766646 cat >conftest.$ac_ext <<_ACEOF
    4778866647-#line 7321 "configure"
    47789 +#line 7896 "configure"
     66648+#line 7964 "configure"
    4779066649 #include "confdefs.h"
    4779166650 
    4779266651 #include <libutf8.h>
    47793 @@ -7331,16 +7906,16 @@
     66652@@ -7331,16 +7974,16 @@
    4779466653 }
    4779566654 _ACEOF
    4779666655 rm -f conftest.$ac_objext conftest$ac_exeext
    4779766656-if { (eval echo "$as_me:7334: \"$ac_link\"") >&5
    47798 +if { (eval echo "$as_me:7909: \"$ac_link\"") >&5
     66657+if { (eval echo "$as_me:7977: \"$ac_link\"") >&5
    4779966658   (eval $ac_link) 2>&5
    4780066659   ac_status=$?
    4780166660-  echo "$as_me:7337: \$? = $ac_status" >&5
    47802 +  echo "$as_me:7912: \$? = $ac_status" >&5
     66661+  echo "$as_me:7980: \$? = $ac_status" >&5
    4780366662   (exit $ac_status); } &&
    4780466663          { ac_try='test -s conftest$ac_exeext'
    4780566664-  { (eval echo "$as_me:7340: \"$ac_try\"") >&5
    47806 +  { (eval echo "$as_me:7915: \"$ac_try\"") >&5
     66665+  { (eval echo "$as_me:7983: \"$ac_try\"") >&5
    4780766666   (eval $ac_try) 2>&5
    4780866667   ac_status=$?
    4780966668-  echo "$as_me:7343: \$? = $ac_status" >&5
    47810 +  echo "$as_me:7918: \$? = $ac_status" >&5
     66669+  echo "$as_me:7986: \$? = $ac_status" >&5
    4781166670   (exit $ac_status); }; }; then
    4781266671 
    4781366672        cf_cv_find_linkage_utf8=yes
    47814 @@ -7357,9 +7932,9 @@
     66673@@ -7357,9 +8000,9 @@
    4781566674 
    4781666675     test -n "$verbose" && echo "       find linkage for utf8 library" 1>&6
    4781766676 
    4781866677-echo "${as_me:-configure}:7360: testing find linkage for utf8 library ..." 1>&5
    47819 +echo "${as_me:-configure}:7935: testing find linkage for utf8 library ..." 1>&5
     66678+echo "${as_me:-configure}:8003: testing find linkage for utf8 library ..." 1>&5
    4782066679 
    4782166680-echo "${as_me:-configure}:7362: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    47822 +echo "${as_me:-configure}:7937: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
     66681+echo "${as_me:-configure}:8005: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    4782366682 
    4782466683     cf_save_CPPFLAGS="$CPPFLAGS"
    4782566684     cf_test_CPPFLAGS="$CPPFLAGS"
    47826 @@ -7472,11 +8047,11 @@
     66685@@ -7472,11 +8115,11 @@
    4782766686       if test -d $cf_cv_header_path_utf8 ; then
    4782866687         test -n "$verbose" && echo "   ... testing $cf_cv_header_path_utf8" 1>&6
    4782966688 
    4783066689-echo "${as_me:-configure}:7475: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    47831 +echo "${as_me:-configure}:8050: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
     66690+echo "${as_me:-configure}:8118: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    4783266691 
    4783366692         CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
    4783466693         cat >conftest.$ac_ext <<_ACEOF
    4783566694-#line 7479 "configure"
    47836 +#line 8054 "configure"
     66695+#line 8122 "configure"
    4783766696 #include "confdefs.h"
    4783866697 
    4783966698 #include <libutf8.h>
    47840 @@ -7489,21 +8064,21 @@
     66699@@ -7489,21 +8132,21 @@
    4784166700 }
    4784266701 _ACEOF
    4784366702 rm -f conftest.$ac_objext
    4784466703-if { (eval echo "$as_me:7492: \"$ac_compile\"") >&5
    47845 +if { (eval echo "$as_me:8067: \"$ac_compile\"") >&5
     66704+if { (eval echo "$as_me:8135: \"$ac_compile\"") >&5
    4784666705   (eval $ac_compile) 2>&5
    4784766706   ac_status=$?
    4784866707-  echo "$as_me:7495: \$? = $ac_status" >&5
    47849 +  echo "$as_me:8070: \$? = $ac_status" >&5
     66708+  echo "$as_me:8138: \$? = $ac_status" >&5
    4785066709   (exit $ac_status); } &&
    4785166710          { ac_try='test -s conftest.$ac_objext'
    4785266711-  { (eval echo "$as_me:7498: \"$ac_try\"") >&5
    47853 +  { (eval echo "$as_me:8073: \"$ac_try\"") >&5
     66712+  { (eval echo "$as_me:8141: \"$ac_try\"") >&5
    4785466713   (eval $ac_try) 2>&5
    4785566714   ac_status=$?
    4785666715-  echo "$as_me:7501: \$? = $ac_status" >&5
    47857 +  echo "$as_me:8076: \$? = $ac_status" >&5
     66716+  echo "$as_me:8144: \$? = $ac_status" >&5
    4785866717   (exit $ac_status); }; }; then
    4785966718 
     
    4786166720 
    4786266721-echo "${as_me:-configure}:7506: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    47863 +echo "${as_me:-configure}:8081: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
     66722+echo "${as_me:-configure}:8149: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    4786466723 
    4786566724             cf_cv_find_linkage_utf8=maybe
    4786666725             cf_test_CPPFLAGS="$CPPFLAGS"
    47867 @@ -7521,7 +8096,7 @@
     66726@@ -7521,7 +8164,7 @@
    4786866727 
    4786966728     if test "$cf_cv_find_linkage_utf8" = maybe ; then
    4787066729 
    4787166730-echo "${as_me:-configure}:7524: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    47872 +echo "${as_me:-configure}:8099: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
     66731+echo "${as_me:-configure}:8167: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    4787366732 
    4787466733       cf_save_LIBS="$LIBS"
    4787566734       cf_save_LDFLAGS="$LDFLAGS"
    47876 @@ -7618,13 +8193,13 @@
     66735@@ -7618,13 +8261,13 @@
    4787766736           if test -d $cf_cv_library_path_utf8 ; then
    4787866737             test -n "$verbose" && echo "       ... testing $cf_cv_library_path_utf8" 1>&6
    4787966738 
    4788066739-echo "${as_me:-configure}:7621: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    47881 +echo "${as_me:-configure}:8196: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
     66740+echo "${as_me:-configure}:8264: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    4788266741 
    4788366742             CPPFLAGS="$cf_test_CPPFLAGS"
     
    4788666745             cat >conftest.$ac_ext <<_ACEOF
    4788766746-#line 7627 "configure"
    47888 +#line 8202 "configure"
     66747+#line 8270 "configure"
    4788966748 #include "confdefs.h"
    4789066749 
    4789166750 #include <libutf8.h>
    47892 @@ -7637,21 +8212,21 @@
     66751@@ -7637,21 +8280,21 @@
    4789366752 }
    4789466753 _ACEOF
    4789566754 rm -f conftest.$ac_objext conftest$ac_exeext
    4789666755-if { (eval echo "$as_me:7640: \"$ac_link\"") >&5
    47897 +if { (eval echo "$as_me:8215: \"$ac_link\"") >&5
     66756+if { (eval echo "$as_me:8283: \"$ac_link\"") >&5
    4789866757   (eval $ac_link) 2>&5
    4789966758   ac_status=$?
    4790066759-  echo "$as_me:7643: \$? = $ac_status" >&5
    47901 +  echo "$as_me:8218: \$? = $ac_status" >&5
     66760+  echo "$as_me:8286: \$? = $ac_status" >&5
    4790266761   (exit $ac_status); } &&
    4790366762          { ac_try='test -s conftest$ac_exeext'
    4790466763-  { (eval echo "$as_me:7646: \"$ac_try\"") >&5
    47905 +  { (eval echo "$as_me:8221: \"$ac_try\"") >&5
     66764+  { (eval echo "$as_me:8289: \"$ac_try\"") >&5
    4790666765   (eval $ac_try) 2>&5
    4790766766   ac_status=$?
    4790866767-  echo "$as_me:7649: \$? = $ac_status" >&5
    47909 +  echo "$as_me:8224: \$? = $ac_status" >&5
     66768+  echo "$as_me:8292: \$? = $ac_status" >&5
    4791066769   (exit $ac_status); }; }; then
    4791166770 
     
    4791366772 
    4791466773-echo "${as_me:-configure}:7654: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    47915 +echo "${as_me:-configure}:8229: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
     66774+echo "${as_me:-configure}:8297: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    4791666775 
    4791766776                 cf_cv_find_linkage_utf8=yes
    4791866777                 cf_cv_library_file_utf8="-lutf8"
    47919 @@ -7693,7 +8268,7 @@
     66778@@ -7693,7 +8336,7 @@
    4792066779 fi
    4792166780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4792266781 fi
    4792366782-echo "$as_me:7696: result: $cf_cv_utf8_lib" >&5
    47924 +echo "$as_me:8271: result: $cf_cv_utf8_lib" >&5
     66783+echo "$as_me:8339: result: $cf_cv_utf8_lib" >&5
    4792566784 echo "${ECHO_T}$cf_cv_utf8_lib" >&6
    4792666785 
    4792766786 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between
    47928 @@ -7727,7 +8302,7 @@
     66787@@ -7727,7 +8370,7 @@
    4792966788                          cf_save_CPPFLAGS=$CPPFLAGS
    4793066789                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4793166790                          cat >conftest.$ac_ext <<_ACEOF
    4793266791-#line 7730 "configure"
    47933 +#line 8305 "configure"
     66792+#line 8373 "configure"
    4793466793 #include "confdefs.h"
    4793566794 #include <stdio.h>
    4793666795 int
    47937 @@ -7739,16 +8314,16 @@
     66796@@ -7739,16 +8382,16 @@
    4793866797 }
    4793966798 _ACEOF
    4794066799 rm -f conftest.$ac_objext
    4794166800-if { (eval echo "$as_me:7742: \"$ac_compile\"") >&5
    47942 +if { (eval echo "$as_me:8317: \"$ac_compile\"") >&5
     66801+if { (eval echo "$as_me:8385: \"$ac_compile\"") >&5
    4794366802   (eval $ac_compile) 2>&5
    4794466803   ac_status=$?
    4794566804-  echo "$as_me:7745: \$? = $ac_status" >&5
    47946 +  echo "$as_me:8320: \$? = $ac_status" >&5
     66805+  echo "$as_me:8388: \$? = $ac_status" >&5
    4794766806   (exit $ac_status); } &&
    4794866807          { ac_try='test -s conftest.$ac_objext'
    4794966808-  { (eval echo "$as_me:7748: \"$ac_try\"") >&5
    47950 +  { (eval echo "$as_me:8323: \"$ac_try\"") >&5
     66809+  { (eval echo "$as_me:8391: \"$ac_try\"") >&5
    4795166810   (eval $ac_try) 2>&5
    4795266811   ac_status=$?
    4795366812-  echo "$as_me:7751: \$? = $ac_status" >&5
    47954 +  echo "$as_me:8326: \$? = $ac_status" >&5
     66813+  echo "$as_me:8394: \$? = $ac_status" >&5
    4795566814   (exit $ac_status); }; }; then
    4795666815   :
    4795766816 else
    47958 @@ -7765,7 +8340,7 @@
     66817@@ -7765,7 +8408,7 @@
    4795966818                if test "$cf_have_incdir" = no ; then
    4796066819                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4796166820 
    4796266821-echo "${as_me:-configure}:7768: testing adding $cf_add_incdir to include-path ..." 1>&5
    47963 +echo "${as_me:-configure}:8343: testing adding $cf_add_incdir to include-path ..." 1>&5
     66822+echo "${as_me:-configure}:8411: testing adding $cf_add_incdir to include-path ..." 1>&5
    4796466823 
    4796566824                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4796666825 
    47967 @@ -7799,7 +8374,7 @@
     66826@@ -7799,7 +8442,7 @@
    4796866827       if test "$cf_have_libdir" = no ; then
    4796966828         test -n "$verbose" && echo "   adding $cf_add_libdir to library-path" 1>&6
    4797066829 
    4797166830-echo "${as_me:-configure}:7802: testing adding $cf_add_libdir to library-path ..." 1>&5
    47972 +echo "${as_me:-configure}:8377: testing adding $cf_add_libdir to library-path ..." 1>&5
     66831+echo "${as_me:-configure}:8445: testing adding $cf_add_libdir to library-path ..." 1>&5
    4797366832 
    4797466833         LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    4797566834       fi
    47976 @@ -7813,48 +8388,87 @@
     66835@@ -7813,48 +8456,87 @@
    4797766836 cf_ncuconfig_root=ncursesw
    4797866837 
     
    4798566844+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4798666845+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    47987 +echo "$as_me:8397: checking for $ac_word" >&5
     66846+echo "$as_me:8465: checking for $ac_word" >&5
    4798866847+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4798966848+if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
     
    4800066859+  $as_executable_p "$ac_dir/$ac_word" || continue
    4800166860+ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    48002 +echo "$as_me:8412: found $ac_dir/$ac_word" >&5
     66861+echo "$as_me:8480: found $ac_dir/$ac_word" >&5
    4800366862+break
    4800466863+done
     
    4800866867+NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
    4800966868+if test -n "$NCURSES_CONFIG"; then
    48010 +  echo "$as_me:8420: result: $NCURSES_CONFIG" >&5
     66869+  echo "$as_me:8488: result: $NCURSES_CONFIG" >&5
    4801166870+echo "${ECHO_T}$NCURSES_CONFIG" >&6
    4801266871+else
    48013 +  echo "$as_me:8423: result: no" >&5
     66872+  echo "$as_me:8491: result: no" >&5
    4801466873+echo "${ECHO_T}no" >&6
    4801566874+fi
     
    4802566884 set dummy $ac_prog; ac_word=$2
    4802666885-echo "$as_me:7820: checking for $ac_word" >&5
    48027 +echo "$as_me:8436: checking for $ac_word" >&5
     66886+echo "$as_me:8504: checking for $ac_word" >&5
    4802866887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4802966888-if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
     
    4805166910+  $as_executable_p "$ac_dir/$ac_word" || continue
    4805266911+ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
    48053 +echo "$as_me:8451: found $ac_dir/$ac_word" >&5
     66912+echo "$as_me:8519: found $ac_dir/$ac_word" >&5
    4805466913+break
    4805566914 done
     
    4806666925+ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
    4806766926+if test -n "$ac_ct_NCURSES_CONFIG"; then
    48068 +  echo "$as_me:8459: result: $ac_ct_NCURSES_CONFIG" >&5
     66927+  echo "$as_me:8527: result: $ac_ct_NCURSES_CONFIG" >&5
    4806966928+echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
    4807066929 else
    4807166930-  echo "$as_me:7851: result: no" >&5
    48072 +  echo "$as_me:8462: result: no" >&5
     66931+  echo "$as_me:8530: result: no" >&5
    4807366932 echo "${ECHO_T}no" >&6
    4807466933 fi
     
    4808566944 if test "$NCURSES_CONFIG" != none ; then
    4808666945 
    48087 @@ -7863,7 +8477,7 @@
     66946@@ -7863,7 +8545,7 @@
    4808866947 
    4808966948 # even with config script, some packages use no-override for curses.h
    4809066949 
    4809166950-echo "$as_me:7866: checking if we have identified curses headers" >&5
    48092 +echo "$as_me:8480: checking if we have identified curses headers" >&5
     66951+echo "$as_me:8548: checking if we have identified curses headers" >&5
    4809366952 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
    4809466953 if test "${cf_cv_ncurses_header+set}" = set; then
    4809566954   echo $ECHO_N "(cached) $ECHO_C" >&6
    48096 @@ -7871,13 +8485,13 @@
     66955@@ -7871,13 +8553,13 @@
    4809766956 
    4809866957 cf_cv_ncurses_header=none
     
    4810966968 cat >conftest.$ac_ext <<_ACEOF
    4811066969-#line 7880 "configure"
    48111 +#line 8494 "configure"
     66970+#line 8562 "configure"
    4811266971 #include "confdefs.h"
    4811366972 #include <${cf_header}>
    4811466973 int
    48115 @@ -7889,16 +8503,16 @@
     66974@@ -7889,16 +8571,16 @@
    4811666975 }
    4811766976 _ACEOF
    4811866977 rm -f conftest.$ac_objext
    4811966978-if { (eval echo "$as_me:7892: \"$ac_compile\"") >&5
    48120 +if { (eval echo "$as_me:8506: \"$ac_compile\"") >&5
     66979+if { (eval echo "$as_me:8574: \"$ac_compile\"") >&5
    4812166980   (eval $ac_compile) 2>&5
    4812266981   ac_status=$?
    4812366982-  echo "$as_me:7895: \$? = $ac_status" >&5
    48124 +  echo "$as_me:8509: \$? = $ac_status" >&5
     66983+  echo "$as_me:8577: \$? = $ac_status" >&5
    4812566984   (exit $ac_status); } &&
    4812666985          { ac_try='test -s conftest.$ac_objext'
    4812766986-  { (eval echo "$as_me:7898: \"$ac_try\"") >&5
    48128 +  { (eval echo "$as_me:8512: \"$ac_try\"") >&5
     66987+  { (eval echo "$as_me:8580: \"$ac_try\"") >&5
    4812966988   (eval $ac_try) 2>&5
    4813066989   ac_status=$?
    4813166990-  echo "$as_me:7901: \$? = $ac_status" >&5
    48132 +  echo "$as_me:8515: \$? = $ac_status" >&5
     66991+  echo "$as_me:8583: \$? = $ac_status" >&5
    4813366992   (exit $ac_status); }; }; then
    4813466993   cf_cv_ncurses_header=$cf_header; break
    4813566994 else
    48136 @@ -7909,11 +8523,11 @@
     66995@@ -7909,11 +8591,11 @@
    4813766996 done
    4813866997 
    4813966998 fi
    4814066999-echo "$as_me:7912: result: $cf_cv_ncurses_header" >&5
    48141 +echo "$as_me:8526: result: $cf_cv_ncurses_header" >&5
     67000+echo "$as_me:8594: result: $cf_cv_ncurses_header" >&5
    4814267001 echo "${ECHO_T}$cf_cv_ncurses_header" >&6
    4814367002 
    4814467003 if test "$cf_cv_ncurses_header" = none ; then
    4814567004-       { { echo "$as_me:7916: error: No curses header-files found" >&5
    48146 +       { { echo "$as_me:8530: error: No curses header-files found" >&5
     67005+       { { echo "$as_me:8598: error: No curses header-files found" >&5
    4814767006 echo "$as_me: error: No curses header-files found" >&2;}
    4814867007    { (exit 1); exit 1; }; }
    4814967008 fi
    48150 @@ -7923,23 +8537,23 @@
     67009@@ -7923,23 +8605,23 @@
    4815167010 for ac_header in $cf_cv_ncurses_header
    4815267011 do
    4815367012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4815467013-echo "$as_me:7926: checking for $ac_header" >&5
    48155 +echo "$as_me:8540: checking for $ac_header" >&5
     67014+echo "$as_me:8608: checking for $ac_header" >&5
    4815667015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4815767016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    4816067019   cat >conftest.$ac_ext <<_ACEOF
    4816167020-#line 7932 "configure"
    48162 +#line 8546 "configure"
     67021+#line 8614 "configure"
    4816367022 #include "confdefs.h"
    4816467023 #include <$ac_header>
    4816567024 _ACEOF
    4816667025-if { (eval echo "$as_me:7936: \"$ac_cpp conftest.$ac_ext\"") >&5
    48167 +if { (eval echo "$as_me:8550: \"$ac_cpp conftest.$ac_ext\"") >&5
     67026+if { (eval echo "$as_me:8618: \"$ac_cpp conftest.$ac_ext\"") >&5
    4816867027   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4816967028   ac_status=$?
     
    4817267031   cat conftest.err >&5
    4817367032-  echo "$as_me:7942: \$? = $ac_status" >&5
    48174 +  echo "$as_me:8556: \$? = $ac_status" >&5
     67033+  echo "$as_me:8624: \$? = $ac_status" >&5
    4817567034   (exit $ac_status); } >/dev/null; then
    4817667035   if test -s conftest.err; then
    4817767036     ac_cpp_err=$ac_c_preproc_warn_flag
    48178 @@ -7958,7 +8572,7 @@
     67037@@ -7958,7 +8640,7 @@
    4817967038 fi
    4818067039 rm -f conftest.err conftest.$ac_ext
    4818167040 fi
    4818267041-echo "$as_me:7961: result: `eval echo '${'$as_ac_Header'}'`" >&5
    48183 +echo "$as_me:8575: result: `eval echo '${'$as_ac_Header'}'`" >&5
     67042+echo "$as_me:8643: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4818467043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4818567044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4818667045   cat >>confdefs.h <<EOF
    48187 @@ -8011,7 +8625,7 @@
     67046@@ -8011,7 +8693,7 @@
    4818867047                          cf_save_CPPFLAGS=$CPPFLAGS
    4818967048                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4819067049                          cat >conftest.$ac_ext <<_ACEOF
    4819167050-#line 8014 "configure"
    48192 +#line 8628 "configure"
     67051+#line 8696 "configure"
    4819367052 #include "confdefs.h"
    4819467053 #include <stdio.h>
    4819567054 int
    48196 @@ -8023,16 +8637,16 @@
     67055@@ -8023,16 +8705,16 @@
    4819767056 }
    4819867057 _ACEOF
    4819967058 rm -f conftest.$ac_objext
    4820067059-if { (eval echo "$as_me:8026: \"$ac_compile\"") >&5
    48201 +if { (eval echo "$as_me:8640: \"$ac_compile\"") >&5
     67060+if { (eval echo "$as_me:8708: \"$ac_compile\"") >&5
    4820267061   (eval $ac_compile) 2>&5
    4820367062   ac_status=$?
    4820467063-  echo "$as_me:8029: \$? = $ac_status" >&5
    48205 +  echo "$as_me:8643: \$? = $ac_status" >&5
     67064+  echo "$as_me:8711: \$? = $ac_status" >&5
    4820667065   (exit $ac_status); } &&
    4820767066          { ac_try='test -s conftest.$ac_objext'
    4820867067-  { (eval echo "$as_me:8032: \"$ac_try\"") >&5
    48209 +  { (eval echo "$as_me:8646: \"$ac_try\"") >&5
     67068+  { (eval echo "$as_me:8714: \"$ac_try\"") >&5
    4821067069   (eval $ac_try) 2>&5
    4821167070   ac_status=$?
    4821267071-  echo "$as_me:8035: \$? = $ac_status" >&5
    48213 +  echo "$as_me:8649: \$? = $ac_status" >&5
     67072+  echo "$as_me:8717: \$? = $ac_status" >&5
    4821467073   (exit $ac_status); }; }; then
    4821567074   :
    4821667075 else
    48217 @@ -8049,7 +8663,7 @@
     67076@@ -8049,7 +8731,7 @@
    4821867077                if test "$cf_have_incdir" = no ; then
    4821967078                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4822067079 
    4822167080-echo "${as_me:-configure}:8052: testing adding $cf_add_incdir to include-path ..." 1>&5
    48222 +echo "${as_me:-configure}:8666: testing adding $cf_add_incdir to include-path ..." 1>&5
     67081+echo "${as_me:-configure}:8734: testing adding $cf_add_incdir to include-path ..." 1>&5
    4822367082 
    4822467083                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4822567084 
    48226 @@ -8066,7 +8680,7 @@
     67085@@ -8066,7 +8748,7 @@
    4822767086 
    4822867087 }
    4822967088 
    4823067089-echo "$as_me:8069: checking for $cf_ncuhdr_root header in include-path" >&5
    48231 +echo "$as_me:8683: checking for $cf_ncuhdr_root header in include-path" >&5
     67090+echo "$as_me:8751: checking for $cf_ncuhdr_root header in include-path" >&5
    4823267091 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6
    4823367092 if test "${cf_cv_ncurses_h+set}" = set; then
    4823467093   echo $ECHO_N "(cached) $ECHO_C" >&6
    48235 @@ -8078,7 +8692,7 @@
     67094@@ -8078,7 +8760,7 @@
    4823667095        do
    4823767096 
    4823867097        cat >conftest.$ac_ext <<_ACEOF
    4823967098-#line 8081 "configure"
    48240 +#line 8695 "configure"
     67099+#line 8763 "configure"
    4824167100 #include "confdefs.h"
    4824267101 
    4824367102 #define _XOPEN_SOURCE_EXTENDED
    48244 @@ -8110,16 +8724,16 @@
     67103@@ -8110,16 +8792,16 @@
    4824567104 }
    4824667105 _ACEOF
    4824767106 rm -f conftest.$ac_objext
    4824867107-if { (eval echo "$as_me:8113: \"$ac_compile\"") >&5
    48249 +if { (eval echo "$as_me:8727: \"$ac_compile\"") >&5
     67108+if { (eval echo "$as_me:8795: \"$ac_compile\"") >&5
    4825067109   (eval $ac_compile) 2>&5
    4825167110   ac_status=$?
    4825267111-  echo "$as_me:8116: \$? = $ac_status" >&5
    48253 +  echo "$as_me:8730: \$? = $ac_status" >&5
     67112+  echo "$as_me:8798: \$? = $ac_status" >&5
    4825467113   (exit $ac_status); } &&
    4825567114          { ac_try='test -s conftest.$ac_objext'
    4825667115-  { (eval echo "$as_me:8119: \"$ac_try\"") >&5
    48257 +  { (eval echo "$as_me:8733: \"$ac_try\"") >&5
     67116+  { (eval echo "$as_me:8801: \"$ac_try\"") >&5
    4825867117   (eval $ac_try) 2>&5
    4825967118   ac_status=$?
    4826067119-  echo "$as_me:8122: \$? = $ac_status" >&5
    48261 +  echo "$as_me:8736: \$? = $ac_status" >&5
     67120+  echo "$as_me:8804: \$? = $ac_status" >&5
    4826267121   (exit $ac_status); }; }; then
    4826367122   cf_cv_ncurses_h=$cf_header
    4826467123 
    48265 @@ -8134,14 +8748,14 @@
     67124@@ -8134,14 +8816,14 @@
    4826667125        done
    4826767126 
    4826867127 fi
    4826967128-echo "$as_me:8137: result: $cf_cv_ncurses_h" >&5
    48270 +echo "$as_me:8751: result: $cf_cv_ncurses_h" >&5
     67129+echo "$as_me:8819: result: $cf_cv_ncurses_h" >&5
    4827167130 echo "${ECHO_T}$cf_cv_ncurses_h" >&6
    4827267131 
     
    4827667135 
    4827767136-echo "$as_me:8144: checking for $cf_ncuhdr_root include-path" >&5
    48278 +echo "$as_me:8758: checking for $cf_ncuhdr_root include-path" >&5
     67137+echo "$as_me:8826: checking for $cf_ncuhdr_root include-path" >&5
    4827967138 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6
    4828067139 if test "${cf_cv_ncurses_h2+set}" = set; then
    4828167140   echo $ECHO_N "(cached) $ECHO_C" >&6
    48282 @@ -8281,7 +8895,7 @@
     67141@@ -8281,7 +8963,7 @@
    4828367142                          cf_save_CPPFLAGS=$CPPFLAGS
    4828467143                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4828567144                          cat >conftest.$ac_ext <<_ACEOF
    4828667145-#line 8284 "configure"
    48287 +#line 8898 "configure"
     67146+#line 8966 "configure"
    4828867147 #include "confdefs.h"
    4828967148 #include <stdio.h>
    4829067149 int
    48291 @@ -8293,16 +8907,16 @@
     67150@@ -8293,16 +8975,16 @@
    4829267151 }
    4829367152 _ACEOF
    4829467153 rm -f conftest.$ac_objext
    4829567154-if { (eval echo "$as_me:8296: \"$ac_compile\"") >&5
    48296 +if { (eval echo "$as_me:8910: \"$ac_compile\"") >&5
     67155+if { (eval echo "$as_me:8978: \"$ac_compile\"") >&5
    4829767156   (eval $ac_compile) 2>&5
    4829867157   ac_status=$?
    4829967158-  echo "$as_me:8299: \$? = $ac_status" >&5
    48300 +  echo "$as_me:8913: \$? = $ac_status" >&5
     67159+  echo "$as_me:8981: \$? = $ac_status" >&5
    4830167160   (exit $ac_status); } &&
    4830267161          { ac_try='test -s conftest.$ac_objext'
    4830367162-  { (eval echo "$as_me:8302: \"$ac_try\"") >&5
    48304 +  { (eval echo "$as_me:8916: \"$ac_try\"") >&5
     67163+  { (eval echo "$as_me:8984: \"$ac_try\"") >&5
    4830567164   (eval $ac_try) 2>&5
    4830667165   ac_status=$?
    4830767166-  echo "$as_me:8305: \$? = $ac_status" >&5
    48308 +  echo "$as_me:8919: \$? = $ac_status" >&5
     67167+  echo "$as_me:8987: \$? = $ac_status" >&5
    4830967168   (exit $ac_status); }; }; then
    4831067169   :
    4831167170 else
    48312 @@ -8319,7 +8933,7 @@
     67171@@ -8319,7 +9001,7 @@
    4831367172                if test "$cf_have_incdir" = no ; then
    4831467173                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4831567174 
    4831667175-echo "${as_me:-configure}:8322: testing adding $cf_add_incdir to include-path ..." 1>&5
    48317 +echo "${as_me:-configure}:8936: testing adding $cf_add_incdir to include-path ..." 1>&5
     67176+echo "${as_me:-configure}:9004: testing adding $cf_add_incdir to include-path ..." 1>&5
    4831867177 
    4831967178                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4832067179 
    48321 @@ -8340,7 +8954,7 @@
     67180@@ -8340,7 +9022,7 @@
    4832267181                do
    4832367182 
    4832467183        cat >conftest.$ac_ext <<_ACEOF
    4832567184-#line 8343 "configure"
    48326 +#line 8957 "configure"
     67185+#line 9025 "configure"
    4832767186 #include "confdefs.h"
    4832867187 
    4832967188 #include <$cf_header>
    48330 @@ -8364,16 +8978,16 @@
     67189@@ -8364,16 +9046,16 @@
    4833167190 }
    4833267191 _ACEOF
    4833367192 rm -f conftest.$ac_objext
    4833467193-if { (eval echo "$as_me:8367: \"$ac_compile\"") >&5
    48335 +if { (eval echo "$as_me:8981: \"$ac_compile\"") >&5
     67194+if { (eval echo "$as_me:9049: \"$ac_compile\"") >&5
    4833667195   (eval $ac_compile) 2>&5
    4833767196   ac_status=$?
    4833867197-  echo "$as_me:8370: \$? = $ac_status" >&5
    48339 +  echo "$as_me:8984: \$? = $ac_status" >&5
     67198+  echo "$as_me:9052: \$? = $ac_status" >&5
    4834067199   (exit $ac_status); } &&
    4834167200          { ac_try='test -s conftest.$ac_objext'
    4834267201-  { (eval echo "$as_me:8373: \"$ac_try\"") >&5
    48343 +  { (eval echo "$as_me:8987: \"$ac_try\"") >&5
     67202+  { (eval echo "$as_me:9055: \"$ac_try\"") >&5
    4834467203   (eval $ac_try) 2>&5
    4834567204   ac_status=$?
    4834667205-  echo "$as_me:8376: \$? = $ac_status" >&5
    48347 +  echo "$as_me:8990: \$? = $ac_status" >&5
     67206+  echo "$as_me:9058: \$? = $ac_status" >&5
    4834867207   (exit $ac_status); }; }; then
    4834967208   cf_cv_ncurses_h2=$cf_header
    4835067209 
    48351 @@ -8394,12 +9008,12 @@
     67210@@ -8394,12 +9076,12 @@
    4835267211                CPPFLAGS="$cf_save2_CPPFLAGS"
    4835367212                test "$cf_cv_ncurses_h2" != no && break
    4835467213        done
    4835567214-       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8397: error: not found" >&5
    48356 +       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9011: error: not found" >&5
     67215+       test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9079: error: not found" >&5
    4835767216 echo "$as_me: error: not found" >&2;}
    4835867217    { (exit 1); exit 1; }; }
     
    4836067219 fi
    4836167220-echo "$as_me:8402: result: $cf_cv_ncurses_h2" >&5
    48362 +echo "$as_me:9016: result: $cf_cv_ncurses_h2" >&5
     67221+echo "$as_me:9084: result: $cf_cv_ncurses_h2" >&5
    4836367222 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6
    4836467223 
    4836567224        cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'`
    48366 @@ -8432,7 +9046,7 @@
     67225@@ -8432,7 +9114,7 @@
    4836767226                          cf_save_CPPFLAGS=$CPPFLAGS
    4836867227                          CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4836967228                          cat >conftest.$ac_ext <<_ACEOF
    4837067229-#line 8435 "configure"
    48371 +#line 9049 "configure"
     67230+#line 9117 "configure"
    4837267231 #include "confdefs.h"
    4837367232 #include <stdio.h>
    4837467233 int
    48375 @@ -8444,16 +9058,16 @@
     67234@@ -8444,16 +9126,16 @@
    4837667235 }
    4837767236 _ACEOF
    4837867237 rm -f conftest.$ac_objext
    4837967238-if { (eval echo "$as_me:8447: \"$ac_compile\"") >&5
    48380 +if { (eval echo "$as_me:9061: \"$ac_compile\"") >&5
     67239+if { (eval echo "$as_me:9129: \"$ac_compile\"") >&5
    4838167240   (eval $ac_compile) 2>&5
    4838267241   ac_status=$?
    4838367242-  echo "$as_me:8450: \$? = $ac_status" >&5
    48384 +  echo "$as_me:9064: \$? = $ac_status" >&5
     67243+  echo "$as_me:9132: \$? = $ac_status" >&5
    4838567244   (exit $ac_status); } &&
    4838667245          { ac_try='test -s conftest.$ac_objext'
    4838767246-  { (eval echo "$as_me:8453: \"$ac_try\"") >&5
    48388 +  { (eval echo "$as_me:9067: \"$ac_try\"") >&5
     67247+  { (eval echo "$as_me:9135: \"$ac_try\"") >&5
    4838967248   (eval $ac_try) 2>&5
    4839067249   ac_status=$?
    4839167250-  echo "$as_me:8456: \$? = $ac_status" >&5
    48392 +  echo "$as_me:9070: \$? = $ac_status" >&5
     67251+  echo "$as_me:9138: \$? = $ac_status" >&5
    4839367252   (exit $ac_status); }; }; then
    4839467253   :
    4839567254 else
    48396 @@ -8470,7 +9084,7 @@
     67255@@ -8470,7 +9152,7 @@
    4839767256                if test "$cf_have_incdir" = no ; then
    4839867257                  test -n "$verbose" && echo "  adding $cf_add_incdir to include-path" 1>&6
    4839967258 
    4840067259-echo "${as_me:-configure}:8473: testing adding $cf_add_incdir to include-path ..." 1>&5
    48401 +echo "${as_me:-configure}:9087: testing adding $cf_add_incdir to include-path ..." 1>&5
     67260+echo "${as_me:-configure}:9155: testing adding $cf_add_incdir to include-path ..." 1>&5
    4840267261 
    4840367262                  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    4840467263 
    48405 @@ -8513,7 +9127,7 @@
     67264@@ -8513,7 +9195,7 @@
    4840667265        ;;
    4840767266 esac
    4840867267 
    4840967268-echo "$as_me:8516: checking for terminfo header" >&5
    48410 +echo "$as_me:9130: checking for terminfo header" >&5
     67269+echo "$as_me:9198: checking for terminfo header" >&5
    4841167270 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
    4841267271 if test "${cf_cv_term_header+set}" = set; then
    4841367272   echo $ECHO_N "(cached) $ECHO_C" >&6
    48414 @@ -8531,7 +9145,7 @@
     67273@@ -8531,7 +9213,7 @@
    4841567274 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
    4841667275 do
    4841767276 cat >conftest.$ac_ext <<_ACEOF
    4841867277-#line 8534 "configure"
    48419 +#line 9148 "configure"
     67278+#line 9216 "configure"
    4842067279 #include "confdefs.h"
    4842167280 #include <stdio.h>
    4842267281 #include <${cf_cv_ncurses_header:-curses.h}>
    48423 @@ -8546,16 +9160,16 @@
     67282@@ -8546,16 +9228,16 @@
    4842467283 }
    4842567284 _ACEOF
    4842667285 rm -f conftest.$ac_objext
    4842767286-if { (eval echo "$as_me:8549: \"$ac_compile\"") >&5
    48428 +if { (eval echo "$as_me:9163: \"$ac_compile\"") >&5
     67287+if { (eval echo "$as_me:9231: \"$ac_compile\"") >&5
    4842967288   (eval $ac_compile) 2>&5
    4843067289   ac_status=$?
    4843167290-  echo "$as_me:8552: \$? = $ac_status" >&5
    48432 +  echo "$as_me:9166: \$? = $ac_status" >&5
     67291+  echo "$as_me:9234: \$? = $ac_status" >&5
    4843367292   (exit $ac_status); } &&
    4843467293          { ac_try='test -s conftest.$ac_objext'
    4843567294-  { (eval echo "$as_me:8555: \"$ac_try\"") >&5
    48436 +  { (eval echo "$as_me:9169: \"$ac_try\"") >&5
     67295+  { (eval echo "$as_me:9237: \"$ac_try\"") >&5
    4843767296   (eval $ac_try) 2>&5
    4843867297   ac_status=$?
    4843967298-  echo "$as_me:8558: \$? = $ac_status" >&5
    48440 +  echo "$as_me:9172: \$? = $ac_status" >&5
     67299+  echo "$as_me:9240: \$? = $ac_status" >&5
    4844167300   (exit $ac_status); }; }; then
    4844267301 
    4844367302        cf_cv_term_header="$cf_test"
    48444 @@ -8571,7 +9185,7 @@
     67303@@ -8571,7 +9253,7 @@
    4844567304 done
    4844667305 
    4844767306 fi
    4844867307-echo "$as_me:8574: result: $cf_cv_term_header" >&5
    48449 +echo "$as_me:9188: result: $cf_cv_term_header" >&5
     67308+echo "$as_me:9256: result: $cf_cv_term_header" >&5
    4845067309 echo "${ECHO_T}$cf_cv_term_header" >&6
    4845167310 
    4845267311 # Set definitions to allow ifdef'ing to accommodate subdirectories
    48453 @@ -8605,7 +9219,7 @@
     67312@@ -8605,7 +9287,7 @@
    4845467313 #define NCURSES 1
    4845567314 EOF
    4845667315 
    4845767316-echo "$as_me:8608: checking for ncurses version" >&5
    48458 +echo "$as_me:9222: checking for ncurses version" >&5
     67317+echo "$as_me:9290: checking for ncurses version" >&5
    4845967318 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
    4846067319 if test "${cf_cv_ncurses_version+set}" = set; then
    4846167320   echo $ECHO_N "(cached) $ECHO_C" >&6
    48462 @@ -8631,10 +9245,10 @@
     67321@@ -8631,10 +9313,10 @@
    4846367322 #endif
    4846467323 EOF
    4846567324        cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    4846667325-       { (eval echo "$as_me:8634: \"$cf_try\"") >&5
    48467 +       { (eval echo "$as_me:9248: \"$cf_try\"") >&5
     67326+       { (eval echo "$as_me:9316: \"$cf_try\"") >&5
    4846867327   (eval $cf_try) 2>&5
    4846967328   ac_status=$?
    4847067329-  echo "$as_me:8637: \$? = $ac_status" >&5
    48471 +  echo "$as_me:9251: \$? = $ac_status" >&5
     67330+  echo "$as_me:9319: \$? = $ac_status" >&5
    4847267331   (exit $ac_status); }
    4847367332        if test -f conftest.out ; then
    4847467333                cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
    48475 @@ -8644,7 +9258,7 @@
     67334@@ -8644,7 +9326,7 @@
    4847667335 
    4847767336 else
    4847867337   cat >conftest.$ac_ext <<_ACEOF
    4847967338-#line 8647 "configure"
    48480 +#line 9261 "configure"
     67339+#line 9329 "configure"
    4848167340 #include "confdefs.h"
    4848267341 
    4848367342 #include <${cf_cv_ncurses_header:-curses.h}>
    48484 @@ -8669,15 +9283,15 @@
     67343@@ -8669,15 +9351,15 @@
    4848567344 }
    4848667345 _ACEOF
    4848767346 rm -f conftest$ac_exeext
    4848867347-if { (eval echo "$as_me:8672: \"$ac_link\"") >&5
    48489 +if { (eval echo "$as_me:9286: \"$ac_link\"") >&5
     67348+if { (eval echo "$as_me:9354: \"$ac_link\"") >&5
    4849067349   (eval $ac_link) 2>&5
    4849167350   ac_status=$?
    4849267351-  echo "$as_me:8675: \$? = $ac_status" >&5
    48493 +  echo "$as_me:9289: \$? = $ac_status" >&5
     67352+  echo "$as_me:9357: \$? = $ac_status" >&5
    4849467353   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4849567354-  { (eval echo "$as_me:8677: \"$ac_try\"") >&5
    48496 +  { (eval echo "$as_me:9291: \"$ac_try\"") >&5
     67355+  { (eval echo "$as_me:9359: \"$ac_try\"") >&5
    4849767356   (eval $ac_try) 2>&5
    4849867357   ac_status=$?
    4849967358-  echo "$as_me:8680: \$? = $ac_status" >&5
    48500 +  echo "$as_me:9294: \$? = $ac_status" >&5
     67359+  echo "$as_me:9362: \$? = $ac_status" >&5
    4850167360   (exit $ac_status); }; }; then
    4850267361 
    4850367362        cf_cv_ncurses_version=`cat $cf_tempfile`
    48504 @@ -8691,7 +9305,7 @@
     67363@@ -8691,7 +9373,7 @@
    4850567364        rm -f $cf_tempfile
    4850667365 
    4850767366 fi
    4850867367-echo "$as_me:8694: result: $cf_cv_ncurses_version" >&5
    48509 +echo "$as_me:9308: result: $cf_cv_ncurses_version" >&5
     67368+echo "$as_me:9376: result: $cf_cv_ncurses_version" >&5
    4851067369 echo "${ECHO_T}$cf_cv_ncurses_version" >&6
    4851167370 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
    4851267371 #define NCURSES 1
    48513 @@ -8703,7 +9317,7 @@
     67372@@ -8703,7 +9385,7 @@
    4851467373        # to link gpm.
    4851567374 cf_ncurses_LIBS=""
    4851667375 cf_ncurses_SAVE="$LIBS"
    4851767376-echo "$as_me:8706: checking for Gpm_Open in -lgpm" >&5
    48518 +echo "$as_me:9320: checking for Gpm_Open in -lgpm" >&5
     67377+echo "$as_me:9388: checking for Gpm_Open in -lgpm" >&5
    4851967378 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
    4852067379 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
    4852167380   echo $ECHO_N "(cached) $ECHO_C" >&6
    48522 @@ -8711,7 +9325,7 @@
     67381@@ -8711,7 +9393,7 @@
    4852367382   ac_check_lib_save_LIBS=$LIBS
    4852467383 LIBS="-lgpm  $LIBS"
    4852567384 cat >conftest.$ac_ext <<_ACEOF
    4852667385-#line 8714 "configure"
    48527 +#line 9328 "configure"
     67386+#line 9396 "configure"
    4852867387 #include "confdefs.h"
    4852967388 
    4853067389 /* Override any gcc2 internal prototype to avoid an error.  */
    48531 @@ -8730,16 +9344,16 @@
     67390@@ -8730,16 +9412,16 @@
    4853267391 }
    4853367392 _ACEOF
    4853467393 rm -f conftest.$ac_objext conftest$ac_exeext
    4853567394-if { (eval echo "$as_me:8733: \"$ac_link\"") >&5
    48536 +if { (eval echo "$as_me:9347: \"$ac_link\"") >&5
     67395+if { (eval echo "$as_me:9415: \"$ac_link\"") >&5
    4853767396   (eval $ac_link) 2>&5
    4853867397   ac_status=$?
    4853967398-  echo "$as_me:8736: \$? = $ac_status" >&5
    48540 +  echo "$as_me:9350: \$? = $ac_status" >&5
     67399+  echo "$as_me:9418: \$? = $ac_status" >&5
    4854167400   (exit $ac_status); } &&
    4854267401          { ac_try='test -s conftest$ac_exeext'
    4854367402-  { (eval echo "$as_me:8739: \"$ac_try\"") >&5
    48544 +  { (eval echo "$as_me:9353: \"$ac_try\"") >&5
     67403+  { (eval echo "$as_me:9421: \"$ac_try\"") >&5
    4854567404   (eval $ac_try) 2>&5
    4854667405   ac_status=$?
    4854767406-  echo "$as_me:8742: \$? = $ac_status" >&5
    48548 +  echo "$as_me:9356: \$? = $ac_status" >&5
     67407+  echo "$as_me:9424: \$? = $ac_status" >&5
    4854967408   (exit $ac_status); }; }; then
    4855067409   ac_cv_lib_gpm_Gpm_Open=yes
    4855167410 else
    48552 @@ -8750,10 +9364,10 @@
     67411@@ -8750,10 +9432,10 @@
    4855367412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4855467413 LIBS=$ac_check_lib_save_LIBS
    4855567414 fi
    4855667415-echo "$as_me:8753: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    48557 +echo "$as_me:9367: result: $ac_cv_lib_gpm_Gpm_Open" >&5
     67416+echo "$as_me:9435: result: $ac_cv_lib_gpm_Gpm_Open" >&5
    4855867417 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
    4855967418 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
    4856067419-  echo "$as_me:8756: checking for initscr in -lgpm" >&5
    48561 +  echo "$as_me:9370: checking for initscr in -lgpm" >&5
     67420+  echo "$as_me:9438: checking for initscr in -lgpm" >&5
    4856267421 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6
    4856367422 if test "${ac_cv_lib_gpm_initscr+set}" = set; then
    4856467423   echo $ECHO_N "(cached) $ECHO_C" >&6
    48565 @@ -8761,7 +9375,7 @@
     67424@@ -8761,7 +9443,7 @@
    4856667425   ac_check_lib_save_LIBS=$LIBS
    4856767426 LIBS="-lgpm  $LIBS"
    4856867427 cat >conftest.$ac_ext <<_ACEOF
    4856967428-#line 8764 "configure"
    48570 +#line 9378 "configure"
     67429+#line 9446 "configure"
    4857167430 #include "confdefs.h"
    4857267431 
    4857367432 /* Override any gcc2 internal prototype to avoid an error.  */
    48574 @@ -8780,16 +9394,16 @@
     67433@@ -8780,16 +9462,16 @@
    4857567434 }
    4857667435 _ACEOF
    4857767436 rm -f conftest.$ac_objext conftest$ac_exeext
    4857867437-if { (eval echo "$as_me:8783: \"$ac_link\"") >&5
    48579 +if { (eval echo "$as_me:9397: \"$ac_link\"") >&5
     67438+if { (eval echo "$as_me:9465: \"$ac_link\"") >&5
    4858067439   (eval $ac_link) 2>&5
    4858167440   ac_status=$?
    4858267441-  echo "$as_me:8786: \$? = $ac_status" >&5
    48583 +  echo "$as_me:9400: \$? = $ac_status" >&5
     67442+  echo "$as_me:9468: \$? = $ac_status" >&5
    4858467443   (exit $ac_status); } &&
    4858567444          { ac_try='test -s conftest$ac_exeext'
    4858667445-  { (eval echo "$as_me:8789: \"$ac_try\"") >&5
    48587 +  { (eval echo "$as_me:9403: \"$ac_try\"") >&5
     67446+  { (eval echo "$as_me:9471: \"$ac_try\"") >&5
    4858867447   (eval $ac_try) 2>&5
    4858967448   ac_status=$?
    4859067449-  echo "$as_me:8792: \$? = $ac_status" >&5
    48591 +  echo "$as_me:9406: \$? = $ac_status" >&5
     67450+  echo "$as_me:9474: \$? = $ac_status" >&5
    4859267451   (exit $ac_status); }; }; then
    4859367452   ac_cv_lib_gpm_initscr=yes
    4859467453 else
    48595 @@ -8800,7 +9414,7 @@
     67454@@ -8800,7 +9482,7 @@
    4859667455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4859767456 LIBS=$ac_check_lib_save_LIBS
    4859867457 fi
    4859967458-echo "$as_me:8803: result: $ac_cv_lib_gpm_initscr" >&5
    48600 +echo "$as_me:9417: result: $ac_cv_lib_gpm_initscr" >&5
     67459+echo "$as_me:9485: result: $ac_cv_lib_gpm_initscr" >&5
    4860167460 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6
    4860267461 if test $ac_cv_lib_gpm_initscr = yes; then
    4860367462   LIBS="$cf_ncurses_SAVE"
    48604 @@ -8815,7 +9429,7 @@
     67463@@ -8815,7 +9497,7 @@
    4860567464        # This is only necessary if you are linking against an obsolete
    4860667465        # version of ncurses (but it should do no harm, since it's static).
    4860767466        if test "$cf_nculib_root" = ncurses ; then
    4860867467-               echo "$as_me:8818: checking for tgoto in -lmytinfo" >&5
    48609 +               echo "$as_me:9432: checking for tgoto in -lmytinfo" >&5
     67468+               echo "$as_me:9500: checking for tgoto in -lmytinfo" >&5
    4861067469 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
    4861167470 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
    4861267471   echo $ECHO_N "(cached) $ECHO_C" >&6
    48613 @@ -8823,7 +9437,7 @@
     67472@@ -8823,7 +9505,7 @@
    4861467473   ac_check_lib_save_LIBS=$LIBS
    4861567474 LIBS="-lmytinfo  $LIBS"
    4861667475 cat >conftest.$ac_ext <<_ACEOF
    4861767476-#line 8826 "configure"
    48618 +#line 9440 "configure"
     67477+#line 9508 "configure"
    4861967478 #include "confdefs.h"
    4862067479 
    4862167480 /* Override any gcc2 internal prototype to avoid an error.  */
    48622 @@ -8842,16 +9456,16 @@
     67481@@ -8842,16 +9524,16 @@
    4862367482 }
    4862467483 _ACEOF
    4862567484 rm -f conftest.$ac_objext conftest$ac_exeext
    4862667485-if { (eval echo "$as_me:8845: \"$ac_link\"") >&5
    48627 +if { (eval echo "$as_me:9459: \"$ac_link\"") >&5
     67486+if { (eval echo "$as_me:9527: \"$ac_link\"") >&5
    4862867487   (eval $ac_link) 2>&5
    4862967488   ac_status=$?
    4863067489-  echo "$as_me:8848: \$? = $ac_status" >&5
    48631 +  echo "$as_me:9462: \$? = $ac_status" >&5
     67490+  echo "$as_me:9530: \$? = $ac_status" >&5
    4863267491   (exit $ac_status); } &&
    4863367492          { ac_try='test -s conftest$ac_exeext'
    4863467493-  { (eval echo "$as_me:8851: \"$ac_try\"") >&5
    48635 +  { (eval echo "$as_me:9465: \"$ac_try\"") >&5
     67494+  { (eval echo "$as_me:9533: \"$ac_try\"") >&5
    4863667495   (eval $ac_try) 2>&5
    4863767496   ac_status=$?
    4863867497-  echo "$as_me:8854: \$? = $ac_status" >&5
    48639 +  echo "$as_me:9468: \$? = $ac_status" >&5
     67498+  echo "$as_me:9536: \$? = $ac_status" >&5
    4864067499   (exit $ac_status); }; }; then
    4864167500   ac_cv_lib_mytinfo_tgoto=yes
    4864267501 else
    48643 @@ -8862,7 +9476,7 @@
     67502@@ -8862,7 +9544,7 @@
    4864467503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4864567504 LIBS=$ac_check_lib_save_LIBS
    4864667505 fi
    4864767506-echo "$as_me:8865: result: $ac_cv_lib_mytinfo_tgoto" >&5
    48648 +echo "$as_me:9479: result: $ac_cv_lib_mytinfo_tgoto" >&5
     67507+echo "$as_me:9547: result: $ac_cv_lib_mytinfo_tgoto" >&5
    4864967508 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
    4865067509 if test $ac_cv_lib_mytinfo_tgoto = yes; then
    4865167510   cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS"
    48652 @@ -8881,13 +9495,13 @@
     67511@@ -8881,13 +9563,13 @@
    4865367512 
    4865467513        eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
    4865567514        cf_libdir=""
    4865667515-       echo "$as_me:8884: checking for initscr" >&5
    48657 +       echo "$as_me:9498: checking for initscr" >&5
     67516+       echo "$as_me:9566: checking for initscr" >&5
    4865867517 echo $ECHO_N "checking for initscr... $ECHO_C" >&6
    4865967518 if test "${ac_cv_func_initscr+set}" = set; then
     
    4866267521   cat >conftest.$ac_ext <<_ACEOF
    4866367522-#line 8890 "configure"
    48664 +#line 9504 "configure"
     67523+#line 9572 "configure"
    4866567524 #include "confdefs.h"
    4866667525 /* System header to define __stub macros and hopefully few prototypes,
    4866767526     which can conflict with char initscr (); below.  */
    48668 @@ -8918,16 +9532,16 @@
     67527@@ -8910,7 +9592,7 @@
     67528 #if defined (__stub_initscr) || defined (__stub___initscr)
     67529 choke me
     67530 #else
     67531-f = initscr;
     67532+f = initscr; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     67533 #endif
     67534 
     67535   ;
     67536@@ -8918,16 +9600,16 @@
    4866967537 }
    4867067538 _ACEOF
    4867167539 rm -f conftest.$ac_objext conftest$ac_exeext
    4867267540-if { (eval echo "$as_me:8921: \"$ac_link\"") >&5
    48673 +if { (eval echo "$as_me:9535: \"$ac_link\"") >&5
     67541+if { (eval echo "$as_me:9603: \"$ac_link\"") >&5
    4867467542   (eval $ac_link) 2>&5
    4867567543   ac_status=$?
    4867667544-  echo "$as_me:8924: \$? = $ac_status" >&5
    48677 +  echo "$as_me:9538: \$? = $ac_status" >&5
     67545+  echo "$as_me:9606: \$? = $ac_status" >&5
    4867867546   (exit $ac_status); } &&
    4867967547          { ac_try='test -s conftest$ac_exeext'
    4868067548-  { (eval echo "$as_me:8927: \"$ac_try\"") >&5
    48681 +  { (eval echo "$as_me:9541: \"$ac_try\"") >&5
     67549+  { (eval echo "$as_me:9609: \"$ac_try\"") >&5
    4868267550   (eval $ac_try) 2>&5
    4868367551   ac_status=$?
    4868467552-  echo "$as_me:8930: \$? = $ac_status" >&5
    48685 +  echo "$as_me:9544: \$? = $ac_status" >&5
     67553+  echo "$as_me:9612: \$? = $ac_status" >&5
    4868667554   (exit $ac_status); }; }; then
    4868767555   ac_cv_func_initscr=yes
    4868867556 else
    48689 @@ -8937,18 +9551,18 @@
     67557@@ -8937,18 +9619,18 @@
    4869067558 fi
    4869167559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4869267560 fi
    4869367561-echo "$as_me:8940: result: $ac_cv_func_initscr" >&5
    48694 +echo "$as_me:9554: result: $ac_cv_func_initscr" >&5
     67562+echo "$as_me:9622: result: $ac_cv_func_initscr" >&5
    4869567563 echo "${ECHO_T}$ac_cv_func_initscr" >&6
    4869667564 if test $ac_cv_func_initscr = yes; then
     
    4870067568                cf_save_LIBS="$LIBS"
    4870167569-               echo "$as_me:8947: checking for initscr in -l$cf_nculib_root" >&5
    48702 +               echo "$as_me:9561: checking for initscr in -l$cf_nculib_root" >&5
     67570+               echo "$as_me:9629: checking for initscr in -l$cf_nculib_root" >&5
    4870367571 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6
    4870467572                LIBS="-l$cf_nculib_root $LIBS"
    4870567573                cat >conftest.$ac_ext <<_ACEOF
    4870667574-#line 8951 "configure"
    48707 +#line 9565 "configure"
     67575+#line 9633 "configure"
    4870867576 #include "confdefs.h"
    4870967577 #include <${cf_cv_ncurses_header:-curses.h}>
    4871067578 int
    48711 @@ -8960,25 +9574,25 @@
     67579@@ -8960,25 +9642,25 @@
    4871267580 }
    4871367581 _ACEOF
    4871467582 rm -f conftest.$ac_objext conftest$ac_exeext
    4871567583-if { (eval echo "$as_me:8963: \"$ac_link\"") >&5
    48716 +if { (eval echo "$as_me:9577: \"$ac_link\"") >&5
     67584+if { (eval echo "$as_me:9645: \"$ac_link\"") >&5
    4871767585   (eval $ac_link) 2>&5
    4871867586   ac_status=$?
    4871967587-  echo "$as_me:8966: \$? = $ac_status" >&5
    48720 +  echo "$as_me:9580: \$? = $ac_status" >&5
     67588+  echo "$as_me:9648: \$? = $ac_status" >&5
    4872167589   (exit $ac_status); } &&
    4872267590          { ac_try='test -s conftest$ac_exeext'
    4872367591-  { (eval echo "$as_me:8969: \"$ac_try\"") >&5
    48724 +  { (eval echo "$as_me:9583: \"$ac_try\"") >&5
     67592+  { (eval echo "$as_me:9651: \"$ac_try\"") >&5
    4872567593   (eval $ac_try) 2>&5
    4872667594   ac_status=$?
    4872767595-  echo "$as_me:8972: \$? = $ac_status" >&5
    48728 +  echo "$as_me:9586: \$? = $ac_status" >&5
     67596+  echo "$as_me:9654: \$? = $ac_status" >&5
    4872967597   (exit $ac_status); }; }; then
    4873067598-  echo "$as_me:8974: result: yes" >&5
    48731 +  echo "$as_me:9588: result: yes" >&5
     67599+  echo "$as_me:9656: result: yes" >&5
    4873267600 echo "${ECHO_T}yes" >&6
    4873367601                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    4873767605 cat conftest.$ac_ext >&5
    4873867606-echo "$as_me:8981: result: no" >&5
    48739 +echo "$as_me:9595: result: no" >&5
     67607+echo "$as_me:9663: result: no" >&5
    4874067608 echo "${ECHO_T}no" >&6
    4874167609 
    4874267610 cf_search=
    48743 @@ -9068,11 +9682,11 @@
     67611@@ -9068,11 +9750,11 @@
    4874467612 
    4874567613                        for cf_libdir in $cf_search
    4874667614                        do
    4874767615-                               echo "$as_me:9071: checking for -l$cf_nculib_root in $cf_libdir" >&5
    48748 +                               echo "$as_me:9685: checking for -l$cf_nculib_root in $cf_libdir" >&5
     67616+                               echo "$as_me:9753: checking for -l$cf_nculib_root in $cf_libdir" >&5
    4874967617 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6
    4875067618                                LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
    4875167619                                cat >conftest.$ac_ext <<_ACEOF
    4875267620-#line 9075 "configure"
    48753 +#line 9689 "configure"
     67621+#line 9757 "configure"
    4875467622 #include "confdefs.h"
    4875567623 #include <${cf_cv_ncurses_header:-curses.h}>
    4875667624 int
    48757 @@ -9084,25 +9698,25 @@
     67625@@ -9084,25 +9766,25 @@
    4875867626 }
    4875967627 _ACEOF
    4876067628 rm -f conftest.$ac_objext conftest$ac_exeext
    4876167629-if { (eval echo "$as_me:9087: \"$ac_link\"") >&5
    48762 +if { (eval echo "$as_me:9701: \"$ac_link\"") >&5
     67630+if { (eval echo "$as_me:9769: \"$ac_link\"") >&5
    4876367631   (eval $ac_link) 2>&5
    4876467632   ac_status=$?
    4876567633-  echo "$as_me:9090: \$? = $ac_status" >&5
    48766 +  echo "$as_me:9704: \$? = $ac_status" >&5
     67634+  echo "$as_me:9772: \$? = $ac_status" >&5
    4876767635   (exit $ac_status); } &&
    4876867636          { ac_try='test -s conftest$ac_exeext'
    4876967637-  { (eval echo "$as_me:9093: \"$ac_try\"") >&5
    48770 +  { (eval echo "$as_me:9707: \"$ac_try\"") >&5
     67638+  { (eval echo "$as_me:9775: \"$ac_try\"") >&5
    4877167639   (eval $ac_try) 2>&5
    4877267640   ac_status=$?
    4877367641-  echo "$as_me:9096: \$? = $ac_status" >&5
    48774 +  echo "$as_me:9710: \$? = $ac_status" >&5
     67642+  echo "$as_me:9778: \$? = $ac_status" >&5
    4877567643   (exit $ac_status); }; }; then
    4877667644-  echo "$as_me:9098: result: yes" >&5
    48777 +  echo "$as_me:9712: result: yes" >&5
     67645+  echo "$as_me:9780: result: yes" >&5
    4877867646 echo "${ECHO_T}yes" >&6
    4877967647                                         eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
     
    4878367651 cat conftest.$ac_ext >&5
    4878467652-echo "$as_me:9105: result: no" >&5
    48785 +echo "$as_me:9719: result: no" >&5
     67653+echo "$as_me:9787: result: no" >&5
    4878667654 echo "${ECHO_T}no" >&6
    4878767655                                         LIBS="$cf_save_LIBS"
    4878867656 fi
    48789 @@ -9117,7 +9731,7 @@
     67657@@ -9117,7 +9799,7 @@
    4879067658 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root
    4879167659 
    4879267660 if test $cf_found_library = no ; then
    4879367661-       { { echo "$as_me:9120: error: Cannot link $cf_nculib_root library" >&5
    48794 +       { { echo "$as_me:9734: error: Cannot link $cf_nculib_root library" >&5
     67662+       { { echo "$as_me:9802: error: Cannot link $cf_nculib_root library" >&5
    4879567663 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;}
    4879667664    { (exit 1); exit 1; }; }
    4879767665 fi
    48798 @@ -9125,7 +9739,7 @@
     67666@@ -9125,7 +9807,7 @@
    4879967667 fi
    4880067668 
    4880167669 if test -n "$cf_ncurses_LIBS" ; then
    4880267670-       echo "$as_me:9128: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    48803 +       echo "$as_me:9742: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     67671+       echo "$as_me:9810: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    4880467672 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6
    4880567673        cf_ncurses_SAVE="$LIBS"
    4880667674        for p in $cf_ncurses_LIBS ; do
    48807 @@ -9135,7 +9749,7 @@
     67675@@ -9135,7 +9817,7 @@
    4880867676                fi
    4880967677        done
    4881067678        cat >conftest.$ac_ext <<_ACEOF
    4881167679-#line 9138 "configure"
    48812 +#line 9752 "configure"
     67680+#line 9820 "configure"
    4881367681 #include "confdefs.h"
    4881467682 #include <${cf_cv_ncurses_header:-curses.h}>
    4881567683 int
    48816 @@ -9147,23 +9761,23 @@
     67684@@ -9147,23 +9829,23 @@
    4881767685 }
    4881867686 _ACEOF
    4881967687 rm -f conftest.$ac_objext conftest$ac_exeext
    4882067688-if { (eval echo "$as_me:9150: \"$ac_link\"") >&5
    48821 +if { (eval echo "$as_me:9764: \"$ac_link\"") >&5
     67689+if { (eval echo "$as_me:9832: \"$ac_link\"") >&5
    4882267690   (eval $ac_link) 2>&5
    4882367691   ac_status=$?
    4882467692-  echo "$as_me:9153: \$? = $ac_status" >&5
    48825 +  echo "$as_me:9767: \$? = $ac_status" >&5
     67693+  echo "$as_me:9835: \$? = $ac_status" >&5
    4882667694   (exit $ac_status); } &&
    4882767695          { ac_try='test -s conftest$ac_exeext'
    4882867696-  { (eval echo "$as_me:9156: \"$ac_try\"") >&5
    48829 +  { (eval echo "$as_me:9770: \"$ac_try\"") >&5
     67697+  { (eval echo "$as_me:9838: \"$ac_try\"") >&5
    4883067698   (eval $ac_try) 2>&5
    4883167699   ac_status=$?
    4883267700-  echo "$as_me:9159: \$? = $ac_status" >&5
    48833 +  echo "$as_me:9773: \$? = $ac_status" >&5
     67701+  echo "$as_me:9841: \$? = $ac_status" >&5
    4883467702   (exit $ac_status); }; }; then
    4883567703-  echo "$as_me:9161: result: yes" >&5
    48836 +  echo "$as_me:9775: result: yes" >&5
     67704+  echo "$as_me:9843: result: yes" >&5
    4883767705 echo "${ECHO_T}yes" >&6
    4883867706 else
     
    4884067708 cat conftest.$ac_ext >&5
    4884167709-echo "$as_me:9166: result: no" >&5
    48842 +echo "$as_me:9780: result: no" >&5
     67710+echo "$as_me:9848: result: no" >&5
    4884367711 echo "${ECHO_T}no" >&6
    4884467712                 LIBS="$cf_ncurses_SAVE"
    4884567713 fi
    48846 @@ -9179,9 +9793,9 @@
     67714@@ -9179,9 +9861,9 @@
    4884767715 fi
    4884867716 
     
    4885267720 
    4885367721-echo "$as_me:9184: checking if you want to use pkg-config" >&5
    48854 +echo "$as_me:9798: checking if you want to use pkg-config" >&5
     67722+echo "$as_me:9866: checking if you want to use pkg-config" >&5
    4885567723 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
    4885667724 
    4885767725 # Check whether --with-pkg-config or --without-pkg-config was given.
    48858 @@ -9191,7 +9805,7 @@
     67726@@ -9191,7 +9873,7 @@
    4885967727 else
    4886067728   cf_pkg_config=yes
    4886167729 fi;
    4886267730-echo "$as_me:9194: result: $cf_pkg_config" >&5
    48863 +echo "$as_me:9808: result: $cf_pkg_config" >&5
     67731+echo "$as_me:9876: result: $cf_pkg_config" >&5
    4886467732 echo "${ECHO_T}$cf_pkg_config" >&6
    4886567733 
    4886667734 case $cf_pkg_config in #(vi
    48867 @@ -9199,10 +9813,11 @@
     67735@@ -9199,10 +9881,11 @@
    4886867736        PKG_CONFIG=none
    4886967737        ;;
     
    4887567743 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    4887667744-echo "$as_me:9205: checking for $ac_word" >&5
    48877 +echo "$as_me:9820: checking for $ac_word" >&5
     67745+echo "$as_me:9888: checking for $ac_word" >&5
    4887867746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4887967747 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    4888067748   echo $ECHO_N "(cached) $ECHO_C" >&6
    48881 @@ -9219,7 +9834,7 @@
     67749@@ -9219,7 +9902,7 @@
    4888267750   test -z "$ac_dir" && ac_dir=.
    4888367751   if $as_executable_p "$ac_dir/$ac_word"; then
    4888467752    ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
    4888567753-   echo "$as_me:9222: found $ac_dir/$ac_word" >&5
    48886 +   echo "$as_me:9837: found $ac_dir/$ac_word" >&5
     67754+   echo "$as_me:9905: found $ac_dir/$ac_word" >&5
    4888767755    break
    4888867756 fi
    4888967757 done
    48890 @@ -9230,10 +9845,10 @@
     67758@@ -9230,10 +9913,10 @@
    4889167759 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    4889267760 
    4889367761 if test -n "$PKG_CONFIG"; then
    4889467762-  echo "$as_me:9233: result: $PKG_CONFIG" >&5
    48895 +  echo "$as_me:9848: result: $PKG_CONFIG" >&5
     67763+  echo "$as_me:9916: result: $PKG_CONFIG" >&5
    4889667764 echo "${ECHO_T}$PKG_CONFIG" >&6
    4889767765 else
    4889867766-  echo "$as_me:9236: result: no" >&5
    48899 +  echo "$as_me:9851: result: no" >&5
     67767+  echo "$as_me:9919: result: no" >&5
    4890067768 echo "${ECHO_T}no" >&6
    4890167769 fi
    4890267770 
    48903 @@ -9242,7 +9857,7 @@
     67771@@ -9242,7 +9925,7 @@
    4890467772   ac_pt_PKG_CONFIG=$PKG_CONFIG
    4890567773   # Extract the first word of "pkg-config", so it can be a program name with args.
    4890667774 set dummy pkg-config; ac_word=$2
    4890767775-echo "$as_me:9245: checking for $ac_word" >&5
    48908 +echo "$as_me:9860: checking for $ac_word" >&5
     67776+echo "$as_me:9928: checking for $ac_word" >&5
    4890967777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4891067778 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    4891167779   echo $ECHO_N "(cached) $ECHO_C" >&6
    48912 @@ -9259,7 +9874,7 @@
     67780@@ -9259,7 +9942,7 @@
    4891367781   test -z "$ac_dir" && ac_dir=.
    4891467782   if $as_executable_p "$ac_dir/$ac_word"; then
    4891567783    ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
    4891667784-   echo "$as_me:9262: found $ac_dir/$ac_word" >&5
    48917 +   echo "$as_me:9877: found $ac_dir/$ac_word" >&5
     67785+   echo "$as_me:9945: found $ac_dir/$ac_word" >&5
    4891867786    break
    4891967787 fi
    4892067788 done
    48921 @@ -9271,10 +9886,10 @@
     67789@@ -9271,10 +9954,10 @@
    4892267790 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
    4892367791 
    4892467792 if test -n "$ac_pt_PKG_CONFIG"; then
    4892567793-  echo "$as_me:9274: result: $ac_pt_PKG_CONFIG" >&5
    48926 +  echo "$as_me:9889: result: $ac_pt_PKG_CONFIG" >&5
     67794+  echo "$as_me:9957: result: $ac_pt_PKG_CONFIG" >&5
    4892767795 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    4892867796 else
    4892967797-  echo "$as_me:9277: result: no" >&5
    48930 +  echo "$as_me:9892: result: no" >&5
     67798+  echo "$as_me:9960: result: no" >&5
    4893167799 echo "${ECHO_T}no" >&6
    4893267800 fi
    4893367801 
    48934 @@ -9317,7 +9932,7 @@
     67802@@ -9305,7 +9988,7 @@
     67803   ;;
     67804 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
     67805   ;;
     67806-.\${*prefix}*) #(vi
     67807+.\${*prefix}*|.\${*dir}*) #(vi
     67808   eval PKG_CONFIG="$PKG_CONFIG"
     67809   case ".$PKG_CONFIG" in #(vi
     67810   .NONE/*)
     67811@@ -9317,7 +10000,7 @@
    4893567812   PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
    4893667813   ;;
    4893767814 *)
    4893867815-  { { echo "$as_me:9320: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    48939 +  { { echo "$as_me:9935: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
     67816+  { { echo "$as_me:10003: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
    4894067817 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
    4894167818    { (exit 1); exit 1; }; }
    4894267819   ;;
    48943 @@ -9325,7 +9940,7 @@
     67820@@ -9325,7 +10008,7 @@
    4894467821 
    4894567822 fi
    4894667823 
    4894767824-echo "$as_me:9328: checking for X" >&5
    48948 +echo "$as_me:9943: checking for X" >&5
     67825+echo "$as_me:10011: checking for X" >&5
    4894967826 echo $ECHO_N "checking for X... $ECHO_C" >&6
    4895067827 
    4895167828 # Check whether --with-x or --without-x was given.
    48952 @@ -9422,17 +10037,17 @@
     67829@@ -9422,17 +10105,17 @@
    4895367830   # Guess where to find include files, by looking for Intrinsic.h.
    4895467831   # First, try using that file with no special directory specified.
    4895567832   cat >conftest.$ac_ext <<_ACEOF
    4895667833-#line 9425 "configure"
    48957 +#line 10040 "configure"
     67834+#line 10108 "configure"
    4895867835 #include "confdefs.h"
    4895967836 #include <X11/Intrinsic.h>
    4896067837 _ACEOF
    4896167838-if { (eval echo "$as_me:9429: \"$ac_cpp conftest.$ac_ext\"") >&5
    48962 +if { (eval echo "$as_me:10044: \"$ac_cpp conftest.$ac_ext\"") >&5
     67839+if { (eval echo "$as_me:10112: \"$ac_cpp conftest.$ac_ext\"") >&5
    4896367840   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4896467841   ac_status=$?
     
    4896767844   cat conftest.err >&5
    4896867845-  echo "$as_me:9435: \$? = $ac_status" >&5
    48969 +  echo "$as_me:10050: \$? = $ac_status" >&5
     67846+  echo "$as_me:10118: \$? = $ac_status" >&5
    4897067847   (exit $ac_status); } >/dev/null; then
    4897167848   if test -s conftest.err; then
    4897267849     ac_cpp_err=$ac_c_preproc_warn_flag
    48973 @@ -9465,7 +10080,7 @@
     67850@@ -9465,7 +10148,7 @@
    4897467851   ac_save_LIBS=$LIBS
    4897567852   LIBS="-lXt $LIBS"
    4897667853   cat >conftest.$ac_ext <<_ACEOF
    4897767854-#line 9468 "configure"
    48978 +#line 10083 "configure"
     67855+#line 10151 "configure"
    4897967856 #include "confdefs.h"
    4898067857 #include <X11/Intrinsic.h>
    4898167858 int
    48982 @@ -9477,16 +10092,16 @@
     67859@@ -9477,16 +10160,16 @@
    4898367860 }
    4898467861 _ACEOF
    4898567862 rm -f conftest.$ac_objext conftest$ac_exeext
    4898667863-if { (eval echo "$as_me:9480: \"$ac_link\"") >&5
    48987 +if { (eval echo "$as_me:10095: \"$ac_link\"") >&5
     67864+if { (eval echo "$as_me:10163: \"$ac_link\"") >&5
    4898867865   (eval $ac_link) 2>&5
    4898967866   ac_status=$?
    4899067867-  echo "$as_me:9483: \$? = $ac_status" >&5
    48991 +  echo "$as_me:10098: \$? = $ac_status" >&5
     67868+  echo "$as_me:10166: \$? = $ac_status" >&5
    4899267869   (exit $ac_status); } &&
    4899367870          { ac_try='test -s conftest$ac_exeext'
    4899467871-  { (eval echo "$as_me:9486: \"$ac_try\"") >&5
    48995 +  { (eval echo "$as_me:10101: \"$ac_try\"") >&5
     67872+  { (eval echo "$as_me:10169: \"$ac_try\"") >&5
    4899667873   (eval $ac_try) 2>&5
    4899767874   ac_status=$?
    4899867875-  echo "$as_me:9489: \$? = $ac_status" >&5
    48999 +  echo "$as_me:10104: \$? = $ac_status" >&5
     67876+  echo "$as_me:10172: \$? = $ac_status" >&5
    4900067877   (exit $ac_status); }; }; then
    4900167878   LIBS=$ac_save_LIBS
    4900267879 # We can link X programs with no special library path.
    49003 @@ -9524,7 +10139,7 @@
     67880@@ -9524,7 +10207,7 @@
    4900467881 fi # $with_x != no
    4900567882 
    4900667883 if test "$have_x" != yes; then
    4900767884-  echo "$as_me:9527: result: $have_x" >&5
    49008 +  echo "$as_me:10142: result: $have_x" >&5
     67885+  echo "$as_me:10210: result: $have_x" >&5
    4900967886 echo "${ECHO_T}$have_x" >&6
    4901067887   no_x=yes
    4901167888 else
    49012 @@ -9534,7 +10149,7 @@
     67889@@ -9534,7 +10217,7 @@
    4901367890   # Update the cache value to reflect the command line values.
    4901467891   ac_cv_have_x="have_x=yes \
    4901567892                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
    4901667893-  echo "$as_me:9537: result: libraries $x_libraries, headers $x_includes" >&5
    49017 +  echo "$as_me:10152: result: libraries $x_libraries, headers $x_includes" >&5
     67894+  echo "$as_me:10220: result: libraries $x_libraries, headers $x_includes" >&5
    4901867895 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
    4901967896 fi
    4902067897 
    49021 @@ -9558,11 +10173,11 @@
     67898@@ -9558,11 +10241,11 @@
    4902267899     # others require no space.  Words are not sufficient . . . .
    4902367900     case `(uname -sr) 2>/dev/null` in
    4902467901     "SunOS 5"*)
    4902567902-      echo "$as_me:9561: checking whether -R must be followed by a space" >&5
    49026 +      echo "$as_me:10176: checking whether -R must be followed by a space" >&5
     67903+      echo "$as_me:10244: checking whether -R must be followed by a space" >&5
    4902767904 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
    4902867905       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
    4902967906       cat >conftest.$ac_ext <<_ACEOF
    4903067907-#line 9565 "configure"
    49031 +#line 10180 "configure"
     67908+#line 10248 "configure"
    4903267909 #include "confdefs.h"
    4903367910 
    4903467911 int
    49035 @@ -9574,16 +10189,16 @@
     67912@@ -9574,16 +10257,16 @@
    4903667913 }
    4903767914 _ACEOF
    4903867915 rm -f conftest.$ac_objext conftest$ac_exeext
    4903967916-if { (eval echo "$as_me:9577: \"$ac_link\"") >&5
    49040 +if { (eval echo "$as_me:10192: \"$ac_link\"") >&5
     67917+if { (eval echo "$as_me:10260: \"$ac_link\"") >&5
    4904167918   (eval $ac_link) 2>&5
    4904267919   ac_status=$?
    4904367920-  echo "$as_me:9580: \$? = $ac_status" >&5
    49044 +  echo "$as_me:10195: \$? = $ac_status" >&5
     67921+  echo "$as_me:10263: \$? = $ac_status" >&5
    4904567922   (exit $ac_status); } &&
    4904667923          { ac_try='test -s conftest$ac_exeext'
    4904767924-  { (eval echo "$as_me:9583: \"$ac_try\"") >&5
    49048 +  { (eval echo "$as_me:10198: \"$ac_try\"") >&5
     67925+  { (eval echo "$as_me:10266: \"$ac_try\"") >&5
    4904967926   (eval $ac_try) 2>&5
    4905067927   ac_status=$?
    4905167928-  echo "$as_me:9586: \$? = $ac_status" >&5
    49052 +  echo "$as_me:10201: \$? = $ac_status" >&5
     67929+  echo "$as_me:10269: \$? = $ac_status" >&5
    4905367930   (exit $ac_status); }; }; then
    4905467931   ac_R_nospace=yes
    4905567932 else
    49056 @@ -9593,13 +10208,13 @@
     67933@@ -9593,13 +10276,13 @@
    4905767934 fi
    4905867935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4905967936       if test $ac_R_nospace = yes; then
    4906067937-       echo "$as_me:9596: result: no" >&5
    49061 +       echo "$as_me:10211: result: no" >&5
     67938+       echo "$as_me:10279: result: no" >&5
    4906267939 echo "${ECHO_T}no" >&6
    4906367940        X_LIBS="$X_LIBS -R$x_libraries"
     
    4906667943        cat >conftest.$ac_ext <<_ACEOF
    4906767944-#line 9602 "configure"
    49068 +#line 10217 "configure"
     67945+#line 10285 "configure"
    4906967946 #include "confdefs.h"
    4907067947 
    4907167948 int
    49072 @@ -9611,16 +10226,16 @@
     67949@@ -9611,16 +10294,16 @@
    4907367950 }
    4907467951 _ACEOF
    4907567952 rm -f conftest.$ac_objext conftest$ac_exeext
    4907667953-if { (eval echo "$as_me:9614: \"$ac_link\"") >&5
    49077 +if { (eval echo "$as_me:10229: \"$ac_link\"") >&5
     67954+if { (eval echo "$as_me:10297: \"$ac_link\"") >&5
    4907867955   (eval $ac_link) 2>&5
    4907967956   ac_status=$?
    4908067957-  echo "$as_me:9617: \$? = $ac_status" >&5
    49081 +  echo "$as_me:10232: \$? = $ac_status" >&5
     67958+  echo "$as_me:10300: \$? = $ac_status" >&5
    4908267959   (exit $ac_status); } &&
    4908367960          { ac_try='test -s conftest$ac_exeext'
    4908467961-  { (eval echo "$as_me:9620: \"$ac_try\"") >&5
    49085 +  { (eval echo "$as_me:10235: \"$ac_try\"") >&5
     67962+  { (eval echo "$as_me:10303: \"$ac_try\"") >&5
    4908667963   (eval $ac_try) 2>&5
    4908767964   ac_status=$?
    4908867965-  echo "$as_me:9623: \$? = $ac_status" >&5
    49089 +  echo "$as_me:10238: \$? = $ac_status" >&5
     67966+  echo "$as_me:10306: \$? = $ac_status" >&5
    4909067967   (exit $ac_status); }; }; then
    4909167968   ac_R_space=yes
    4909267969 else
    49093 @@ -9630,11 +10245,11 @@
     67970@@ -9630,11 +10313,11 @@
    4909467971 fi
    4909567972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4909667973        if test $ac_R_space = yes; then
    4909767974-         echo "$as_me:9633: result: yes" >&5
    49098 +         echo "$as_me:10248: result: yes" >&5
     67975+         echo "$as_me:10316: result: yes" >&5
    4909967976 echo "${ECHO_T}yes" >&6
    4910067977          X_LIBS="$X_LIBS -R $x_libraries"
    4910167978        else
    4910267979-         echo "$as_me:9637: result: neither works" >&5
    49103 +         echo "$as_me:10252: result: neither works" >&5
     67980+         echo "$as_me:10320: result: neither works" >&5
    4910467981 echo "${ECHO_T}neither works" >&6
    4910567982        fi
    4910667983       fi
    49107 @@ -9654,7 +10269,7 @@
     67984@@ -9654,7 +10337,7 @@
    4910867985     # the Alpha needs dnet_stub (dnet does not exist).
    4910967986     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
    4911067987     cat >conftest.$ac_ext <<_ACEOF
    4911167988-#line 9657 "configure"
    49112 +#line 10272 "configure"
     67989+#line 10340 "configure"
    4911367990 #include "confdefs.h"
    4911467991 
    4911567992 /* Override any gcc2 internal prototype to avoid an error.  */
    49116 @@ -9673,22 +10288,22 @@
     67993@@ -9673,22 +10356,22 @@
    4911767994 }
    4911867995 _ACEOF
    4911967996 rm -f conftest.$ac_objext conftest$ac_exeext
    4912067997-if { (eval echo "$as_me:9676: \"$ac_link\"") >&5
    49121 +if { (eval echo "$as_me:10291: \"$ac_link\"") >&5
     67998+if { (eval echo "$as_me:10359: \"$ac_link\"") >&5
    4912267999   (eval $ac_link) 2>&5
    4912368000   ac_status=$?
    4912468001-  echo "$as_me:9679: \$? = $ac_status" >&5
    49125 +  echo "$as_me:10294: \$? = $ac_status" >&5
     68002+  echo "$as_me:10362: \$? = $ac_status" >&5
    4912668003   (exit $ac_status); } &&
    4912768004          { ac_try='test -s conftest$ac_exeext'
    4912868005-  { (eval echo "$as_me:9682: \"$ac_try\"") >&5
    49129 +  { (eval echo "$as_me:10297: \"$ac_try\"") >&5
     68006+  { (eval echo "$as_me:10365: \"$ac_try\"") >&5
    4913068007   (eval $ac_try) 2>&5
    4913168008   ac_status=$?
    4913268009-  echo "$as_me:9685: \$? = $ac_status" >&5
    49133 +  echo "$as_me:10300: \$? = $ac_status" >&5
     68010+  echo "$as_me:10368: \$? = $ac_status" >&5
    4913468011   (exit $ac_status); }; }; then
    4913568012   :
     
    4913868015 cat conftest.$ac_ext >&5
    4913968016-echo "$as_me:9691: checking for dnet_ntoa in -ldnet" >&5
    49140 +echo "$as_me:10306: checking for dnet_ntoa in -ldnet" >&5
     68017+echo "$as_me:10374: checking for dnet_ntoa in -ldnet" >&5
    4914168018 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
    4914268019 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
    4914368020   echo $ECHO_N "(cached) $ECHO_C" >&6
    49144 @@ -9696,7 +10311,7 @@
     68021@@ -9696,7 +10379,7 @@
    4914568022   ac_check_lib_save_LIBS=$LIBS
    4914668023 LIBS="-ldnet  $LIBS"
    4914768024 cat >conftest.$ac_ext <<_ACEOF
    4914868025-#line 9699 "configure"
    49149 +#line 10314 "configure"
     68026+#line 10382 "configure"
    4915068027 #include "confdefs.h"
    4915168028 
    4915268029 /* Override any gcc2 internal prototype to avoid an error.  */
    49153 @@ -9715,16 +10330,16 @@
     68030@@ -9715,16 +10398,16 @@
    4915468031 }
    4915568032 _ACEOF
    4915668033 rm -f conftest.$ac_objext conftest$ac_exeext
    4915768034-if { (eval echo "$as_me:9718: \"$ac_link\"") >&5
    49158 +if { (eval echo "$as_me:10333: \"$ac_link\"") >&5
     68035+if { (eval echo "$as_me:10401: \"$ac_link\"") >&5
    4915968036   (eval $ac_link) 2>&5
    4916068037   ac_status=$?
    4916168038-  echo "$as_me:9721: \$? = $ac_status" >&5
    49162 +  echo "$as_me:10336: \$? = $ac_status" >&5
     68039+  echo "$as_me:10404: \$? = $ac_status" >&5
    4916368040   (exit $ac_status); } &&
    4916468041          { ac_try='test -s conftest$ac_exeext'
    4916568042-  { (eval echo "$as_me:9724: \"$ac_try\"") >&5
    49166 +  { (eval echo "$as_me:10339: \"$ac_try\"") >&5
     68043+  { (eval echo "$as_me:10407: \"$ac_try\"") >&5
    4916768044   (eval $ac_try) 2>&5
    4916868045   ac_status=$?
    4916968046-  echo "$as_me:9727: \$? = $ac_status" >&5
    49170 +  echo "$as_me:10342: \$? = $ac_status" >&5
     68047+  echo "$as_me:10410: \$? = $ac_status" >&5
    4917168048   (exit $ac_status); }; }; then
    4917268049   ac_cv_lib_dnet_dnet_ntoa=yes
    4917368050 else
    49174 @@ -9735,14 +10350,14 @@
     68051@@ -9735,14 +10418,14 @@
    4917568052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4917668053 LIBS=$ac_check_lib_save_LIBS
    4917768054 fi
    4917868055-echo "$as_me:9738: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
    49179 +echo "$as_me:10353: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
     68056+echo "$as_me:10421: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
    4918068057 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
    4918168058 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
     
    4918568062     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
    4918668063-      echo "$as_me:9745: checking for dnet_ntoa in -ldnet_stub" >&5
    49187 +      echo "$as_me:10360: checking for dnet_ntoa in -ldnet_stub" >&5
     68064+      echo "$as_me:10428: checking for dnet_ntoa in -ldnet_stub" >&5
    4918868065 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
    4918968066 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
    4919068067   echo $ECHO_N "(cached) $ECHO_C" >&6
    49191 @@ -9750,7 +10365,7 @@
     68068@@ -9750,7 +10433,7 @@
    4919268069   ac_check_lib_save_LIBS=$LIBS
    4919368070 LIBS="-ldnet_stub  $LIBS"
    4919468071 cat >conftest.$ac_ext <<_ACEOF
    4919568072-#line 9753 "configure"
    49196 +#line 10368 "configure"
     68073+#line 10436 "configure"
    4919768074 #include "confdefs.h"
    4919868075 
    4919968076 /* Override any gcc2 internal prototype to avoid an error.  */
    49200 @@ -9769,16 +10384,16 @@
     68077@@ -9769,16 +10452,16 @@
    4920168078 }
    4920268079 _ACEOF
    4920368080 rm -f conftest.$ac_objext conftest$ac_exeext
    4920468081-if { (eval echo "$as_me:9772: \"$ac_link\"") >&5
    49205 +if { (eval echo "$as_me:10387: \"$ac_link\"") >&5
     68082+if { (eval echo "$as_me:10455: \"$ac_link\"") >&5
    4920668083   (eval $ac_link) 2>&5
    4920768084   ac_status=$?
    4920868085-  echo "$as_me:9775: \$? = $ac_status" >&5
    49209 +  echo "$as_me:10390: \$? = $ac_status" >&5
     68086+  echo "$as_me:10458: \$? = $ac_status" >&5
    4921068087   (exit $ac_status); } &&
    4921168088          { ac_try='test -s conftest$ac_exeext'
    4921268089-  { (eval echo "$as_me:9778: \"$ac_try\"") >&5
    49213 +  { (eval echo "$as_me:10393: \"$ac_try\"") >&5
     68090+  { (eval echo "$as_me:10461: \"$ac_try\"") >&5
    4921468091   (eval $ac_try) 2>&5
    4921568092   ac_status=$?
    4921668093-  echo "$as_me:9781: \$? = $ac_status" >&5
    49217 +  echo "$as_me:10396: \$? = $ac_status" >&5
     68094+  echo "$as_me:10464: \$? = $ac_status" >&5
    4921868095   (exit $ac_status); }; }; then
    4921968096   ac_cv_lib_dnet_stub_dnet_ntoa=yes
    4922068097 else
    49221 @@ -9789,7 +10404,7 @@
     68098@@ -9789,7 +10472,7 @@
    4922268099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4922368100 LIBS=$ac_check_lib_save_LIBS
    4922468101 fi
    4922568102-echo "$as_me:9792: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
    49226 +echo "$as_me:10407: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
     68103+echo "$as_me:10475: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
    4922768104 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
    4922868105 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
    4922968106   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
    49230 @@ -9808,13 +10423,13 @@
     68107@@ -9808,13 +10491,13 @@
    4923168108     # on Irix 5.2, according to T.E. Dickey.
    4923268109     # The functions gethostbyname, getservbyname, and inet_addr are
    4923368110     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
    4923468111-    echo "$as_me:9811: checking for gethostbyname" >&5
    49235 +    echo "$as_me:10426: checking for gethostbyname" >&5
     68112+    echo "$as_me:10494: checking for gethostbyname" >&5
    4923668113 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
    4923768114 if test "${ac_cv_func_gethostbyname+set}" = set; then
     
    4924068117   cat >conftest.$ac_ext <<_ACEOF
    4924168118-#line 9817 "configure"
    49242 +#line 10432 "configure"
     68119+#line 10500 "configure"
    4924368120 #include "confdefs.h"
    4924468121 /* System header to define __stub macros and hopefully few prototypes,
    4924568122     which can conflict with char gethostbyname (); below.  */
    49246 @@ -9845,16 +10460,16 @@
     68123@@ -9837,7 +10520,7 @@
     68124 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
     68125 choke me
     68126 #else
     68127-f = gethostbyname;
     68128+f = gethostbyname; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     68129 #endif
     68130 
     68131   ;
     68132@@ -9845,16 +10528,16 @@
    4924768133 }
    4924868134 _ACEOF
    4924968135 rm -f conftest.$ac_objext conftest$ac_exeext
    4925068136-if { (eval echo "$as_me:9848: \"$ac_link\"") >&5
    49251 +if { (eval echo "$as_me:10463: \"$ac_link\"") >&5
     68137+if { (eval echo "$as_me:10531: \"$ac_link\"") >&5
    4925268138   (eval $ac_link) 2>&5
    4925368139   ac_status=$?
    4925468140-  echo "$as_me:9851: \$? = $ac_status" >&5
    49255 +  echo "$as_me:10466: \$? = $ac_status" >&5
     68141+  echo "$as_me:10534: \$? = $ac_status" >&5
    4925668142   (exit $ac_status); } &&
    4925768143          { ac_try='test -s conftest$ac_exeext'
    4925868144-  { (eval echo "$as_me:9854: \"$ac_try\"") >&5
    49259 +  { (eval echo "$as_me:10469: \"$ac_try\"") >&5
     68145+  { (eval echo "$as_me:10537: \"$ac_try\"") >&5
    4926068146   (eval $ac_try) 2>&5
    4926168147   ac_status=$?
    4926268148-  echo "$as_me:9857: \$? = $ac_status" >&5
    49263 +  echo "$as_me:10472: \$? = $ac_status" >&5
     68149+  echo "$as_me:10540: \$? = $ac_status" >&5
    4926468150   (exit $ac_status); }; }; then
    4926568151   ac_cv_func_gethostbyname=yes
    4926668152 else
    49267 @@ -9864,11 +10479,11 @@
     68153@@ -9864,11 +10547,11 @@
    4926868154 fi
    4926968155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4927068156 fi
    4927168157-echo "$as_me:9867: result: $ac_cv_func_gethostbyname" >&5
    49272 +echo "$as_me:10482: result: $ac_cv_func_gethostbyname" >&5
     68158+echo "$as_me:10550: result: $ac_cv_func_gethostbyname" >&5
    4927368159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
    4927468160 
    4927568161     if test $ac_cv_func_gethostbyname = no; then
    4927668162-      echo "$as_me:9871: checking for gethostbyname in -lnsl" >&5
    49277 +      echo "$as_me:10486: checking for gethostbyname in -lnsl" >&5
     68163+      echo "$as_me:10554: checking for gethostbyname in -lnsl" >&5
    4927868164 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
    4927968165 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
    4928068166   echo $ECHO_N "(cached) $ECHO_C" >&6
    49281 @@ -9876,7 +10491,7 @@
     68167@@ -9876,7 +10559,7 @@
    4928268168   ac_check_lib_save_LIBS=$LIBS
    4928368169 LIBS="-lnsl  $LIBS"
    4928468170 cat >conftest.$ac_ext <<_ACEOF
    4928568171-#line 9879 "configure"
    49286 +#line 10494 "configure"
     68172+#line 10562 "configure"
    4928768173 #include "confdefs.h"
    4928868174 
    4928968175 /* Override any gcc2 internal prototype to avoid an error.  */
    49290 @@ -9895,16 +10510,16 @@
     68176@@ -9895,16 +10578,16 @@
    4929168177 }
    4929268178 _ACEOF
    4929368179 rm -f conftest.$ac_objext conftest$ac_exeext
    4929468180-if { (eval echo "$as_me:9898: \"$ac_link\"") >&5
    49295 +if { (eval echo "$as_me:10513: \"$ac_link\"") >&5
     68181+if { (eval echo "$as_me:10581: \"$ac_link\"") >&5
    4929668182   (eval $ac_link) 2>&5
    4929768183   ac_status=$?
    4929868184-  echo "$as_me:9901: \$? = $ac_status" >&5
    49299 +  echo "$as_me:10516: \$? = $ac_status" >&5
     68185+  echo "$as_me:10584: \$? = $ac_status" >&5
    4930068186   (exit $ac_status); } &&
    4930168187          { ac_try='test -s conftest$ac_exeext'
    4930268188-  { (eval echo "$as_me:9904: \"$ac_try\"") >&5
    49303 +  { (eval echo "$as_me:10519: \"$ac_try\"") >&5
     68189+  { (eval echo "$as_me:10587: \"$ac_try\"") >&5
    4930468190   (eval $ac_try) 2>&5
    4930568191   ac_status=$?
    4930668192-  echo "$as_me:9907: \$? = $ac_status" >&5
    49307 +  echo "$as_me:10522: \$? = $ac_status" >&5
     68193+  echo "$as_me:10590: \$? = $ac_status" >&5
    4930868194   (exit $ac_status); }; }; then
    4930968195   ac_cv_lib_nsl_gethostbyname=yes
    4931068196 else
    49311 @@ -9915,14 +10530,14 @@
     68197@@ -9915,14 +10598,14 @@
    4931268198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4931368199 LIBS=$ac_check_lib_save_LIBS
    4931468200 fi
    4931568201-echo "$as_me:9918: result: $ac_cv_lib_nsl_gethostbyname" >&5
    49316 +echo "$as_me:10533: result: $ac_cv_lib_nsl_gethostbyname" >&5
     68202+echo "$as_me:10601: result: $ac_cv_lib_nsl_gethostbyname" >&5
    4931768203 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
    4931868204 if test $ac_cv_lib_nsl_gethostbyname = yes; then
     
    4932268208       if test $ac_cv_lib_nsl_gethostbyname = no; then
    4932368209-        echo "$as_me:9925: checking for gethostbyname in -lbsd" >&5
    49324 +        echo "$as_me:10540: checking for gethostbyname in -lbsd" >&5
     68210+        echo "$as_me:10608: checking for gethostbyname in -lbsd" >&5
    4932568211 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
    4932668212 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
    4932768213   echo $ECHO_N "(cached) $ECHO_C" >&6
    49328 @@ -9930,7 +10545,7 @@
     68214@@ -9930,7 +10613,7 @@
    4932968215   ac_check_lib_save_LIBS=$LIBS
    4933068216 LIBS="-lbsd  $LIBS"
    4933168217 cat >conftest.$ac_ext <<_ACEOF
    4933268218-#line 9933 "configure"
    49333 +#line 10548 "configure"
     68219+#line 10616 "configure"
    4933468220 #include "confdefs.h"
    4933568221 
    4933668222 /* Override any gcc2 internal prototype to avoid an error.  */
    49337 @@ -9949,16 +10564,16 @@
     68223@@ -9949,16 +10632,16 @@
    4933868224 }
    4933968225 _ACEOF
    4934068226 rm -f conftest.$ac_objext conftest$ac_exeext
    4934168227-if { (eval echo "$as_me:9952: \"$ac_link\"") >&5
    49342 +if { (eval echo "$as_me:10567: \"$ac_link\"") >&5
     68228+if { (eval echo "$as_me:10635: \"$ac_link\"") >&5
    4934368229   (eval $ac_link) 2>&5
    4934468230   ac_status=$?
    4934568231-  echo "$as_me:9955: \$? = $ac_status" >&5
    49346 +  echo "$as_me:10570: \$? = $ac_status" >&5
     68232+  echo "$as_me:10638: \$? = $ac_status" >&5
    4934768233   (exit $ac_status); } &&
    4934868234          { ac_try='test -s conftest$ac_exeext'
    4934968235-  { (eval echo "$as_me:9958: \"$ac_try\"") >&5
    49350 +  { (eval echo "$as_me:10573: \"$ac_try\"") >&5
     68236+  { (eval echo "$as_me:10641: \"$ac_try\"") >&5
    4935168237   (eval $ac_try) 2>&5
    4935268238   ac_status=$?
    4935368239-  echo "$as_me:9961: \$? = $ac_status" >&5
    49354 +  echo "$as_me:10576: \$? = $ac_status" >&5
     68240+  echo "$as_me:10644: \$? = $ac_status" >&5
    4935568241   (exit $ac_status); }; }; then
    4935668242   ac_cv_lib_bsd_gethostbyname=yes
    4935768243 else
    49358 @@ -9969,7 +10584,7 @@
     68244@@ -9969,7 +10652,7 @@
    4935968245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4936068246 LIBS=$ac_check_lib_save_LIBS
    4936168247 fi
    4936268248-echo "$as_me:9972: result: $ac_cv_lib_bsd_gethostbyname" >&5
    49363 +echo "$as_me:10587: result: $ac_cv_lib_bsd_gethostbyname" >&5
     68249+echo "$as_me:10655: result: $ac_cv_lib_bsd_gethostbyname" >&5
    4936468250 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
    4936568251 if test $ac_cv_lib_bsd_gethostbyname = yes; then
    4936668252   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
    49367 @@ -9985,13 +10600,13 @@
     68253@@ -9985,13 +10668,13 @@
    4936868254     # variants that don't use the nameserver (or something).  -lsocket
    4936968255     # must be given before -lnsl if both are needed.  We assume that
    4937068256     # if connect needs -lnsl, so does gethostbyname.
    4937168257-    echo "$as_me:9988: checking for connect" >&5
    49372 +    echo "$as_me:10603: checking for connect" >&5
     68258+    echo "$as_me:10671: checking for connect" >&5
    4937368259 echo $ECHO_N "checking for connect... $ECHO_C" >&6
    4937468260 if test "${ac_cv_func_connect+set}" = set; then
     
    4937768263   cat >conftest.$ac_ext <<_ACEOF
    4937868264-#line 9994 "configure"
    49379 +#line 10609 "configure"
     68265+#line 10677 "configure"
    4938068266 #include "confdefs.h"
    4938168267 /* System header to define __stub macros and hopefully few prototypes,
    4938268268     which can conflict with char connect (); below.  */
    49383 @@ -10022,16 +10637,16 @@
     68269@@ -10014,7 +10697,7 @@
     68270 #if defined (__stub_connect) || defined (__stub___connect)
     68271 choke me
     68272 #else
     68273-f = connect;
     68274+f = connect; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     68275 #endif
     68276 
     68277   ;
     68278@@ -10022,16 +10705,16 @@
    4938468279 }
    4938568280 _ACEOF
    4938668281 rm -f conftest.$ac_objext conftest$ac_exeext
    4938768282-if { (eval echo "$as_me:10025: \"$ac_link\"") >&5
    49388 +if { (eval echo "$as_me:10640: \"$ac_link\"") >&5
     68283+if { (eval echo "$as_me:10708: \"$ac_link\"") >&5
    4938968284   (eval $ac_link) 2>&5
    4939068285   ac_status=$?
    4939168286-  echo "$as_me:10028: \$? = $ac_status" >&5
    49392 +  echo "$as_me:10643: \$? = $ac_status" >&5
     68287+  echo "$as_me:10711: \$? = $ac_status" >&5
    4939368288   (exit $ac_status); } &&
    4939468289          { ac_try='test -s conftest$ac_exeext'
    4939568290-  { (eval echo "$as_me:10031: \"$ac_try\"") >&5
    49396 +  { (eval echo "$as_me:10646: \"$ac_try\"") >&5
     68291+  { (eval echo "$as_me:10714: \"$ac_try\"") >&5
    4939768292   (eval $ac_try) 2>&5
    4939868293   ac_status=$?
    4939968294-  echo "$as_me:10034: \$? = $ac_status" >&5
    49400 +  echo "$as_me:10649: \$? = $ac_status" >&5
     68295+  echo "$as_me:10717: \$? = $ac_status" >&5
    4940168296   (exit $ac_status); }; }; then
    4940268297   ac_cv_func_connect=yes
    4940368298 else
    49404 @@ -10041,11 +10656,11 @@
     68299@@ -10041,11 +10724,11 @@
    4940568300 fi
    4940668301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4940768302 fi
    4940868303-echo "$as_me:10044: result: $ac_cv_func_connect" >&5
    49409 +echo "$as_me:10659: result: $ac_cv_func_connect" >&5
     68304+echo "$as_me:10727: result: $ac_cv_func_connect" >&5
    4941068305 echo "${ECHO_T}$ac_cv_func_connect" >&6
    4941168306 
    4941268307     if test $ac_cv_func_connect = no; then
    4941368308-      echo "$as_me:10048: checking for connect in -lsocket" >&5
    49414 +      echo "$as_me:10663: checking for connect in -lsocket" >&5
     68309+      echo "$as_me:10731: checking for connect in -lsocket" >&5
    4941568310 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
    4941668311 if test "${ac_cv_lib_socket_connect+set}" = set; then
    4941768312   echo $ECHO_N "(cached) $ECHO_C" >&6
    49418 @@ -10053,7 +10668,7 @@
     68313@@ -10053,7 +10736,7 @@
    4941968314   ac_check_lib_save_LIBS=$LIBS
    4942068315 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
    4942168316 cat >conftest.$ac_ext <<_ACEOF
    4942268317-#line 10056 "configure"
    49423 +#line 10671 "configure"
     68318+#line 10739 "configure"
    4942468319 #include "confdefs.h"
    4942568320 
    4942668321 /* Override any gcc2 internal prototype to avoid an error.  */
    49427 @@ -10072,16 +10687,16 @@
     68322@@ -10072,16 +10755,16 @@
    4942868323 }
    4942968324 _ACEOF
    4943068325 rm -f conftest.$ac_objext conftest$ac_exeext
    4943168326-if { (eval echo "$as_me:10075: \"$ac_link\"") >&5
    49432 +if { (eval echo "$as_me:10690: \"$ac_link\"") >&5
     68327+if { (eval echo "$as_me:10758: \"$ac_link\"") >&5
    4943368328   (eval $ac_link) 2>&5
    4943468329   ac_status=$?
    4943568330-  echo "$as_me:10078: \$? = $ac_status" >&5
    49436 +  echo "$as_me:10693: \$? = $ac_status" >&5
     68331+  echo "$as_me:10761: \$? = $ac_status" >&5
    4943768332   (exit $ac_status); } &&
    4943868333          { ac_try='test -s conftest$ac_exeext'
    4943968334-  { (eval echo "$as_me:10081: \"$ac_try\"") >&5
    49440 +  { (eval echo "$as_me:10696: \"$ac_try\"") >&5
     68335+  { (eval echo "$as_me:10764: \"$ac_try\"") >&5
    4944168336   (eval $ac_try) 2>&5
    4944268337   ac_status=$?
    4944368338-  echo "$as_me:10084: \$? = $ac_status" >&5
    49444 +  echo "$as_me:10699: \$? = $ac_status" >&5
     68339+  echo "$as_me:10767: \$? = $ac_status" >&5
    4944568340   (exit $ac_status); }; }; then
    4944668341   ac_cv_lib_socket_connect=yes
    4944768342 else
    49448 @@ -10092,7 +10707,7 @@
     68343@@ -10092,7 +10775,7 @@
    4944968344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4945068345 LIBS=$ac_check_lib_save_LIBS
    4945168346 fi
    4945268347-echo "$as_me:10095: result: $ac_cv_lib_socket_connect" >&5
    49453 +echo "$as_me:10710: result: $ac_cv_lib_socket_connect" >&5
     68348+echo "$as_me:10778: result: $ac_cv_lib_socket_connect" >&5
    4945468349 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
    4945568350 if test $ac_cv_lib_socket_connect = yes; then
    4945668351   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
    49457 @@ -10101,13 +10716,13 @@
     68352@@ -10101,13 +10784,13 @@
    4945868353     fi
    4945968354 
    4946068355     # Guillermo Gomez says -lposix is necessary on A/UX.
    4946168356-    echo "$as_me:10104: checking for remove" >&5
    49462 +    echo "$as_me:10719: checking for remove" >&5
     68357+    echo "$as_me:10787: checking for remove" >&5
    4946368358 echo $ECHO_N "checking for remove... $ECHO_C" >&6
    4946468359 if test "${ac_cv_func_remove+set}" = set; then
     
    4946768362   cat >conftest.$ac_ext <<_ACEOF
    4946868363-#line 10110 "configure"
    49469 +#line 10725 "configure"
     68364+#line 10793 "configure"
    4947068365 #include "confdefs.h"
    4947168366 /* System header to define __stub macros and hopefully few prototypes,
    4947268367     which can conflict with char remove (); below.  */
    49473 @@ -10138,16 +10753,16 @@
     68368@@ -10130,7 +10813,7 @@
     68369 #if defined (__stub_remove) || defined (__stub___remove)
     68370 choke me
     68371 #else
     68372-f = remove;
     68373+f = remove; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     68374 #endif
     68375 
     68376   ;
     68377@@ -10138,16 +10821,16 @@
    4947468378 }
    4947568379 _ACEOF
    4947668380 rm -f conftest.$ac_objext conftest$ac_exeext
    4947768381-if { (eval echo "$as_me:10141: \"$ac_link\"") >&5
    49478 +if { (eval echo "$as_me:10756: \"$ac_link\"") >&5
     68382+if { (eval echo "$as_me:10824: \"$ac_link\"") >&5
    4947968383   (eval $ac_link) 2>&5
    4948068384   ac_status=$?
    4948168385-  echo "$as_me:10144: \$? = $ac_status" >&5
    49482 +  echo "$as_me:10759: \$? = $ac_status" >&5
     68386+  echo "$as_me:10827: \$? = $ac_status" >&5
    4948368387   (exit $ac_status); } &&
    4948468388          { ac_try='test -s conftest$ac_exeext'
    4948568389-  { (eval echo "$as_me:10147: \"$ac_try\"") >&5
    49486 +  { (eval echo "$as_me:10762: \"$ac_try\"") >&5
     68390+  { (eval echo "$as_me:10830: \"$ac_try\"") >&5
    4948768391   (eval $ac_try) 2>&5
    4948868392   ac_status=$?
    4948968393-  echo "$as_me:10150: \$? = $ac_status" >&5
    49490 +  echo "$as_me:10765: \$? = $ac_status" >&5
     68394+  echo "$as_me:10833: \$? = $ac_status" >&5
    4949168395   (exit $ac_status); }; }; then
    4949268396   ac_cv_func_remove=yes
    4949368397 else
    49494 @@ -10157,11 +10772,11 @@
     68398@@ -10157,11 +10840,11 @@
    4949568399 fi
    4949668400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4949768401 fi
    4949868402-echo "$as_me:10160: result: $ac_cv_func_remove" >&5
    49499 +echo "$as_me:10775: result: $ac_cv_func_remove" >&5
     68403+echo "$as_me:10843: result: $ac_cv_func_remove" >&5
    4950068404 echo "${ECHO_T}$ac_cv_func_remove" >&6
    4950168405 
    4950268406     if test $ac_cv_func_remove = no; then
    4950368407-      echo "$as_me:10164: checking for remove in -lposix" >&5
    49504 +      echo "$as_me:10779: checking for remove in -lposix" >&5
     68408+      echo "$as_me:10847: checking for remove in -lposix" >&5
    4950568409 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
    4950668410 if test "${ac_cv_lib_posix_remove+set}" = set; then
    4950768411   echo $ECHO_N "(cached) $ECHO_C" >&6
    49508 @@ -10169,7 +10784,7 @@
     68412@@ -10169,7 +10852,7 @@
    4950968413   ac_check_lib_save_LIBS=$LIBS
    4951068414 LIBS="-lposix  $LIBS"
    4951168415 cat >conftest.$ac_ext <<_ACEOF
    4951268416-#line 10172 "configure"
    49513 +#line 10787 "configure"
     68417+#line 10855 "configure"
    4951468418 #include "confdefs.h"
    4951568419 
    4951668420 /* Override any gcc2 internal prototype to avoid an error.  */
    49517 @@ -10188,16 +10803,16 @@
     68421@@ -10188,16 +10871,16 @@
    4951868422 }
    4951968423 _ACEOF
    4952068424 rm -f conftest.$ac_objext conftest$ac_exeext
    4952168425-if { (eval echo "$as_me:10191: \"$ac_link\"") >&5
    49522 +if { (eval echo "$as_me:10806: \"$ac_link\"") >&5
     68426+if { (eval echo "$as_me:10874: \"$ac_link\"") >&5
    4952368427   (eval $ac_link) 2>&5
    4952468428   ac_status=$?
    4952568429-  echo "$as_me:10194: \$? = $ac_status" >&5
    49526 +  echo "$as_me:10809: \$? = $ac_status" >&5
     68430+  echo "$as_me:10877: \$? = $ac_status" >&5
    4952768431   (exit $ac_status); } &&
    4952868432          { ac_try='test -s conftest$ac_exeext'
    4952968433-  { (eval echo "$as_me:10197: \"$ac_try\"") >&5
    49530 +  { (eval echo "$as_me:10812: \"$ac_try\"") >&5
     68434+  { (eval echo "$as_me:10880: \"$ac_try\"") >&5
    4953168435   (eval $ac_try) 2>&5
    4953268436   ac_status=$?
    4953368437-  echo "$as_me:10200: \$? = $ac_status" >&5
    49534 +  echo "$as_me:10815: \$? = $ac_status" >&5
     68438+  echo "$as_me:10883: \$? = $ac_status" >&5
    4953568439   (exit $ac_status); }; }; then
    4953668440   ac_cv_lib_posix_remove=yes
    4953768441 else
    49538 @@ -10208,7 +10823,7 @@
     68442@@ -10208,7 +10891,7 @@
    4953968443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4954068444 LIBS=$ac_check_lib_save_LIBS
    4954168445 fi
    4954268446-echo "$as_me:10211: result: $ac_cv_lib_posix_remove" >&5
    49543 +echo "$as_me:10826: result: $ac_cv_lib_posix_remove" >&5
     68447+echo "$as_me:10894: result: $ac_cv_lib_posix_remove" >&5
    4954468448 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
    4954568449 if test $ac_cv_lib_posix_remove = yes; then
    4954668450   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
    49547 @@ -10217,13 +10832,13 @@
     68451@@ -10217,13 +10900,13 @@
    4954868452     fi
    4954968453 
    4955068454     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
    4955168455-    echo "$as_me:10220: checking for shmat" >&5
    49552 +    echo "$as_me:10835: checking for shmat" >&5
     68456+    echo "$as_me:10903: checking for shmat" >&5
    4955368457 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
    4955468458 if test "${ac_cv_func_shmat+set}" = set; then
     
    4955768461   cat >conftest.$ac_ext <<_ACEOF
    4955868462-#line 10226 "configure"
    49559 +#line 10841 "configure"
     68463+#line 10909 "configure"
    4956068464 #include "confdefs.h"
    4956168465 /* System header to define __stub macros and hopefully few prototypes,
    4956268466     which can conflict with char shmat (); below.  */
    49563 @@ -10254,16 +10869,16 @@
     68467@@ -10246,7 +10929,7 @@
     68468 #if defined (__stub_shmat) || defined (__stub___shmat)
     68469 choke me
     68470 #else
     68471-f = shmat;
     68472+f = shmat; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     68473 #endif
     68474 
     68475   ;
     68476@@ -10254,16 +10937,16 @@
    4956468477 }
    4956568478 _ACEOF
    4956668479 rm -f conftest.$ac_objext conftest$ac_exeext
    4956768480-if { (eval echo "$as_me:10257: \"$ac_link\"") >&5
    49568 +if { (eval echo "$as_me:10872: \"$ac_link\"") >&5
     68481+if { (eval echo "$as_me:10940: \"$ac_link\"") >&5
    4956968482   (eval $ac_link) 2>&5
    4957068483   ac_status=$?
    4957168484-  echo "$as_me:10260: \$? = $ac_status" >&5
    49572 +  echo "$as_me:10875: \$? = $ac_status" >&5
     68485+  echo "$as_me:10943: \$? = $ac_status" >&5
    4957368486   (exit $ac_status); } &&
    4957468487          { ac_try='test -s conftest$ac_exeext'
    4957568488-  { (eval echo "$as_me:10263: \"$ac_try\"") >&5
    49576 +  { (eval echo "$as_me:10878: \"$ac_try\"") >&5
     68489+  { (eval echo "$as_me:10946: \"$ac_try\"") >&5
    4957768490   (eval $ac_try) 2>&5
    4957868491   ac_status=$?
    4957968492-  echo "$as_me:10266: \$? = $ac_status" >&5
    49580 +  echo "$as_me:10881: \$? = $ac_status" >&5
     68493+  echo "$as_me:10949: \$? = $ac_status" >&5
    4958168494   (exit $ac_status); }; }; then
    4958268495   ac_cv_func_shmat=yes
    4958368496 else
    49584 @@ -10273,11 +10888,11 @@
     68497@@ -10273,11 +10956,11 @@
    4958568498 fi
    4958668499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4958768500 fi
    4958868501-echo "$as_me:10276: result: $ac_cv_func_shmat" >&5
    49589 +echo "$as_me:10891: result: $ac_cv_func_shmat" >&5
     68502+echo "$as_me:10959: result: $ac_cv_func_shmat" >&5
    4959068503 echo "${ECHO_T}$ac_cv_func_shmat" >&6
    4959168504 
    4959268505     if test $ac_cv_func_shmat = no; then
    4959368506-      echo "$as_me:10280: checking for shmat in -lipc" >&5
    49594 +      echo "$as_me:10895: checking for shmat in -lipc" >&5
     68507+      echo "$as_me:10963: checking for shmat in -lipc" >&5
    4959568508 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
    4959668509 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
    4959768510   echo $ECHO_N "(cached) $ECHO_C" >&6
    49598 @@ -10285,7 +10900,7 @@
     68511@@ -10285,7 +10968,7 @@
    4959968512   ac_check_lib_save_LIBS=$LIBS
    4960068513 LIBS="-lipc  $LIBS"
    4960168514 cat >conftest.$ac_ext <<_ACEOF
    4960268515-#line 10288 "configure"
    49603 +#line 10903 "configure"
     68516+#line 10971 "configure"
    4960468517 #include "confdefs.h"
    4960568518 
    4960668519 /* Override any gcc2 internal prototype to avoid an error.  */
    49607 @@ -10304,16 +10919,16 @@
     68520@@ -10304,16 +10987,16 @@
    4960868521 }
    4960968522 _ACEOF
    4961068523 rm -f conftest.$ac_objext conftest$ac_exeext
    4961168524-if { (eval echo "$as_me:10307: \"$ac_link\"") >&5
    49612 +if { (eval echo "$as_me:10922: \"$ac_link\"") >&5
     68525+if { (eval echo "$as_me:10990: \"$ac_link\"") >&5
    4961368526   (eval $ac_link) 2>&5
    4961468527   ac_status=$?
    4961568528-  echo "$as_me:10310: \$? = $ac_status" >&5
    49616 +  echo "$as_me:10925: \$? = $ac_status" >&5
     68529+  echo "$as_me:10993: \$? = $ac_status" >&5
    4961768530   (exit $ac_status); } &&
    4961868531          { ac_try='test -s conftest$ac_exeext'
    4961968532-  { (eval echo "$as_me:10313: \"$ac_try\"") >&5
    49620 +  { (eval echo "$as_me:10928: \"$ac_try\"") >&5
     68533+  { (eval echo "$as_me:10996: \"$ac_try\"") >&5
    4962168534   (eval $ac_try) 2>&5
    4962268535   ac_status=$?
    4962368536-  echo "$as_me:10316: \$? = $ac_status" >&5
    49624 +  echo "$as_me:10931: \$? = $ac_status" >&5
     68537+  echo "$as_me:10999: \$? = $ac_status" >&5
    4962568538   (exit $ac_status); }; }; then
    4962668539   ac_cv_lib_ipc_shmat=yes
    4962768540 else
    49628 @@ -10324,7 +10939,7 @@
     68541@@ -10324,7 +11007,7 @@
    4962968542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4963068543 LIBS=$ac_check_lib_save_LIBS
    4963168544 fi
    4963268545-echo "$as_me:10327: result: $ac_cv_lib_ipc_shmat" >&5
    49633 +echo "$as_me:10942: result: $ac_cv_lib_ipc_shmat" >&5
     68546+echo "$as_me:11010: result: $ac_cv_lib_ipc_shmat" >&5
    4963468547 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
    4963568548 if test $ac_cv_lib_ipc_shmat = yes; then
    4963668549   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
    49637 @@ -10342,7 +10957,7 @@
     68550@@ -10342,7 +11025,7 @@
    4963868551   # These have to be linked with before -lX11, unlike the other
    4963968552   # libraries we check for below, so use a different variable.
    4964068553   # John Interrante, Karl Berry
    4964168554-  echo "$as_me:10345: checking for IceConnectionNumber in -lICE" >&5
    49642 +  echo "$as_me:10960: checking for IceConnectionNumber in -lICE" >&5
     68555+  echo "$as_me:11028: checking for IceConnectionNumber in -lICE" >&5
    4964368556 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
    4964468557 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
    4964568558   echo $ECHO_N "(cached) $ECHO_C" >&6
    49646 @@ -10350,7 +10965,7 @@
     68559@@ -10350,7 +11033,7 @@
    4964768560   ac_check_lib_save_LIBS=$LIBS
    4964868561 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
    4964968562 cat >conftest.$ac_ext <<_ACEOF
    4965068563-#line 10353 "configure"
    49651 +#line 10968 "configure"
     68564+#line 11036 "configure"
    4965268565 #include "confdefs.h"
    4965368566 
    4965468567 /* Override any gcc2 internal prototype to avoid an error.  */
    49655 @@ -10369,16 +10984,16 @@
     68568@@ -10369,16 +11052,16 @@
    4965668569 }
    4965768570 _ACEOF
    4965868571 rm -f conftest.$ac_objext conftest$ac_exeext
    4965968572-if { (eval echo "$as_me:10372: \"$ac_link\"") >&5
    49660 +if { (eval echo "$as_me:10987: \"$ac_link\"") >&5
     68573+if { (eval echo "$as_me:11055: \"$ac_link\"") >&5
    4966168574   (eval $ac_link) 2>&5
    4966268575   ac_status=$?
    4966368576-  echo "$as_me:10375: \$? = $ac_status" >&5
    49664 +  echo "$as_me:10990: \$? = $ac_status" >&5
     68577+  echo "$as_me:11058: \$? = $ac_status" >&5
    4966568578   (exit $ac_status); } &&
    4966668579          { ac_try='test -s conftest$ac_exeext'
    4966768580-  { (eval echo "$as_me:10378: \"$ac_try\"") >&5
    49668 +  { (eval echo "$as_me:10993: \"$ac_try\"") >&5
     68581+  { (eval echo "$as_me:11061: \"$ac_try\"") >&5
    4966968582   (eval $ac_try) 2>&5
    4967068583   ac_status=$?
    4967168584-  echo "$as_me:10381: \$? = $ac_status" >&5
    49672 +  echo "$as_me:10996: \$? = $ac_status" >&5
     68585+  echo "$as_me:11064: \$? = $ac_status" >&5
    4967368586   (exit $ac_status); }; }; then
    4967468587   ac_cv_lib_ICE_IceConnectionNumber=yes
    4967568588 else
    49676 @@ -10389,7 +11004,7 @@
     68589@@ -10389,7 +11072,7 @@
    4967768590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4967868591 LIBS=$ac_check_lib_save_LIBS
    4967968592 fi
    4968068593-echo "$as_me:10392: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
    49681 +echo "$as_me:11007: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
     68594+echo "$as_me:11075: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
    4968268595 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
    4968368596 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
    4968468597   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
    49685 @@ -10401,7 +11016,7 @@
     68598@@ -10401,7 +11084,7 @@
    4968668599 
    4968768600 cf_x_athena=${cf_x_athena:-Xaw}
    4968868601 
    4968968602-echo "$as_me:10404: checking if you want to link with Xaw 3d library" >&5
    49690 +echo "$as_me:11019: checking if you want to link with Xaw 3d library" >&5
     68603+echo "$as_me:11087: checking if you want to link with Xaw 3d library" >&5
    4969168604 echo $ECHO_N "checking if you want to link with Xaw 3d library... $ECHO_C" >&6
    4969268605 withval=
    4969368606 
    49694 @@ -10412,14 +11027,14 @@
     68607@@ -10412,14 +11095,14 @@
    4969568608 fi;
    4969668609 if test "$withval" = yes ; then
    4969768610        cf_x_athena=Xaw3d
    4969868611-       echo "$as_me:10415: result: yes" >&5
    49699 +       echo "$as_me:11030: result: yes" >&5
     68612+       echo "$as_me:11098: result: yes" >&5
    4970068613 echo "${ECHO_T}yes" >&6
    4970168614 else
    4970268615-       echo "$as_me:10418: result: no" >&5
    49703 +       echo "$as_me:11033: result: no" >&5
     68616+       echo "$as_me:11101: result: no" >&5
    4970468617 echo "${ECHO_T}no" >&6
    4970568618 fi
    4970668619 
    4970768620-echo "$as_me:10422: checking if you want to link with neXT Athena library" >&5
    49708 +echo "$as_me:11037: checking if you want to link with neXT Athena library" >&5
     68621+echo "$as_me:11105: checking if you want to link with neXT Athena library" >&5
    4970968622 echo $ECHO_N "checking if you want to link with neXT Athena library... $ECHO_C" >&6
    4971068623 withval=
    4971168624 
    49712 @@ -10430,14 +11045,14 @@
     68625@@ -10430,14 +11113,14 @@
    4971368626 fi;
    4971468627 if test "$withval" = yes ; then
    4971568628        cf_x_athena=neXtaw
    4971668629-       echo "$as_me:10433: result: yes" >&5
    49717 +       echo "$as_me:11048: result: yes" >&5
     68630+       echo "$as_me:11116: result: yes" >&5
    4971868631 echo "${ECHO_T}yes" >&6
    4971968632 else
    4972068633-       echo "$as_me:10436: result: no" >&5
    49721 +       echo "$as_me:11051: result: no" >&5
     68634+       echo "$as_me:11119: result: no" >&5
    4972268635 echo "${ECHO_T}no" >&6
    4972368636 fi
    4972468637 
    4972568638-echo "$as_me:10440: checking if you want to link with Athena-Plus library" >&5
    49726 +echo "$as_me:11055: checking if you want to link with Athena-Plus library" >&5
     68639+echo "$as_me:11123: checking if you want to link with Athena-Plus library" >&5
    4972768640 echo $ECHO_N "checking if you want to link with Athena-Plus library... $ECHO_C" >&6
    4972868641 withval=
    4972968642 
    49730 @@ -10448,10 +11063,10 @@
     68643@@ -10448,10 +11131,10 @@
    4973168644 fi;
    4973268645 if test "$withval" = yes ; then
    4973368646        cf_x_athena=XawPlus
    4973468647-       echo "$as_me:10451: result: yes" >&5
    49735 +       echo "$as_me:11066: result: yes" >&5
     68648+       echo "$as_me:11134: result: yes" >&5
    4973668649 echo "${ECHO_T}yes" >&6
    4973768650 else
    4973868651-       echo "$as_me:10454: result: no" >&5
    49739 +       echo "$as_me:11069: result: no" >&5
     68652+       echo "$as_me:11137: result: no" >&5
    4974068653 echo "${ECHO_T}no" >&6
    4974168654 fi
    4974268655 
    49743 @@ -10471,17 +11086,17 @@
     68656@@ -10471,17 +11154,17 @@
    4974468657 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists $cf_athena_pkg; then
    4974568658        test -n "$verbose" && echo "    found package $cf_athena_pkg" 1>&6
    4974668659 
    4974768660-echo "${as_me:-configure}:10474: testing found package $cf_athena_pkg ..." 1>&5
    49748 +echo "${as_me:-configure}:11089: testing found package $cf_athena_pkg ..." 1>&5
     68661+echo "${as_me:-configure}:11157: testing found package $cf_athena_pkg ..." 1>&5
    4974968662 
    4975068663        cf_pkgconfig_incs="`$PKG_CONFIG --cflags $cf_athena_pkg 2>/dev/null`"
     
    4975368666 
    4975468667-echo "${as_me:-configure}:10480: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    49755 +echo "${as_me:-configure}:11095: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     68668+echo "${as_me:-configure}:11163: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    4975668669 
    4975768670        test -n "$verbose" && echo "    package $cf_athena_pkg LIBS: $cf_pkgconfig_libs" 1>&6
    4975868671 
    4975968672-echo "${as_me:-configure}:10484: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5
    49760 +echo "${as_me:-configure}:11099: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5
     68673+echo "${as_me:-configure}:11167: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5
    4976168674 
    4976268675 cf_fix_cppflags=no
    4976368676 cf_new_cflags=
    49764 @@ -10571,14 +11186,14 @@
     68677@@ -10571,14 +11254,14 @@
    4976568678 #define $cf_x_athena_LIBS 1
    4976668679 EOF
    4976768680 
    4976868681-echo "$as_me:10574: checking for usable $cf_x_athena/Xmu package" >&5
    49769 +echo "$as_me:11189: checking for usable $cf_x_athena/Xmu package" >&5
     68682+echo "$as_me:11257: checking for usable $cf_x_athena/Xmu package" >&5
    4977068683 echo $ECHO_N "checking for usable $cf_x_athena/Xmu package... $ECHO_C" >&6
    4977168684 if test "${cf_cv_xaw_compat+set}" = set; then
     
    4977568688 cat >conftest.$ac_ext <<_ACEOF
    4977668689-#line 10581 "configure"
    49777 +#line 11196 "configure"
     68690+#line 11264 "configure"
    4977868691 #include "confdefs.h"
    4977968692 
    4978068693 #include <X11/Xmu/CharSet.h>
    49781 @@ -10594,16 +11209,16 @@
     68694@@ -10594,16 +11277,16 @@
    4978268695 }
    4978368696 _ACEOF
    4978468697 rm -f conftest.$ac_objext conftest$ac_exeext
    4978568698-if { (eval echo "$as_me:10597: \"$ac_link\"") >&5
    49786 +if { (eval echo "$as_me:11212: \"$ac_link\"") >&5
     68699+if { (eval echo "$as_me:11280: \"$ac_link\"") >&5
    4978768700   (eval $ac_link) 2>&5
    4978868701   ac_status=$?
    4978968702-  echo "$as_me:10600: \$? = $ac_status" >&5
    49790 +  echo "$as_me:11215: \$? = $ac_status" >&5
     68703+  echo "$as_me:11283: \$? = $ac_status" >&5
    4979168704   (exit $ac_status); } &&
    4979268705          { ac_try='test -s conftest$ac_exeext'
    4979368706-  { (eval echo "$as_me:10603: \"$ac_try\"") >&5
    49794 +  { (eval echo "$as_me:11218: \"$ac_try\"") >&5
     68707+  { (eval echo "$as_me:11286: \"$ac_try\"") >&5
    4979568708   (eval $ac_try) 2>&5
    4979668709   ac_status=$?
    4979768710-  echo "$as_me:10606: \$? = $ac_status" >&5
    49798 +  echo "$as_me:11221: \$? = $ac_status" >&5
     68711+  echo "$as_me:11289: \$? = $ac_status" >&5
    4979968712   (exit $ac_status); }; }; then
    4980068713   cf_cv_xaw_compat=yes
    4980168714 else
    49802 @@ -10613,7 +11228,7 @@
     68715@@ -10613,7 +11296,7 @@
    4980368716 fi
    4980468717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4980568718 fi
    4980668719-echo "$as_me:10616: result: $cf_cv_xaw_compat" >&5
    49807 +echo "$as_me:11231: result: $cf_cv_xaw_compat" >&5
     68720+echo "$as_me:11299: result: $cf_cv_xaw_compat" >&5
    4980868721 echo "${ECHO_T}$cf_cv_xaw_compat" >&6
    4980968722 
    4981068723                        if test "$cf_cv_xaw_compat" = no
    49811 @@ -10625,22 +11240,22 @@
     68724@@ -10625,22 +11308,22 @@
    4981268725                                *)
    4981368726                                        test -n "$verbose" && echo "    work around broken package" 1>&6
    4981468727 
    4981568728-echo "${as_me:-configure}:10628: testing work around broken package ..." 1>&5
    49816 +echo "${as_me:-configure}:11243: testing work around broken package ..." 1>&5
     68729+echo "${as_me:-configure}:11311: testing work around broken package ..." 1>&5
    4981768730 
    4981868731 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xmu; then
     
    4982068733 
    4982168734-echo "${as_me:-configure}:10633: testing found package xmu ..." 1>&5
    49822 +echo "${as_me:-configure}:11248: testing found package xmu ..." 1>&5
     68735+echo "${as_me:-configure}:11316: testing found package xmu ..." 1>&5
    4982368736 
    4982468737        cf_pkgconfig_incs="`$PKG_CONFIG --cflags xmu 2>/dev/null`"
     
    4982768740 
    4982868741-echo "${as_me:-configure}:10639: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    49829 +echo "${as_me:-configure}:11254: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     68742+echo "${as_me:-configure}:11322: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    4983068743 
    4983168744        test -n "$verbose" && echo "    package xmu LIBS: $cf_pkgconfig_libs" 1>&6
    4983268745 
    4983368746-echo "${as_me:-configure}:10643: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5
    49834 +echo "${as_me:-configure}:11258: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5
     68747+echo "${as_me:-configure}:11326: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5
    4983568748 
    4983668749 cf_fix_cppflags=no
    4983768750 cf_new_cflags=
    49838 @@ -10726,12 +11341,12 @@
     68751@@ -10726,12 +11409,12 @@
    4983968752 
    4984068753 test -n "$verbose" && echo "   ...before $LIBS" 1>&6
    4984168754 
    4984268755-echo "${as_me:-configure}:10729: testing ...before $LIBS ..." 1>&5
    49843 +echo "${as_me:-configure}:11344: testing ...before $LIBS ..." 1>&5
     68756+echo "${as_me:-configure}:11412: testing ...before $LIBS ..." 1>&5
    4984468757 
    4984568758 LIBS=`echo "$LIBS" | sed -e "s/[       ][      ]*/ /g" -e "s,-lXt ,-lXt -lXmu ," -e 's/  / /g'`
     
    4984768760 
    4984868761-echo "${as_me:-configure}:10734: testing ...after  $LIBS ..." 1>&5
    49849 +echo "${as_me:-configure}:11349: testing ...after  $LIBS ..." 1>&5
    49850  
    49851  fi
    49852  
    49853 @@ -10752,17 +11367,17 @@
     68762+echo "${as_me:-configure}:11417: testing ...after  $LIBS ..." 1>&5
     68763 
     68764 fi
     68765 
     68766@@ -10752,17 +11435,17 @@
    4985468767 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists Xext; then
    4985568768        test -n "$verbose" && echo "    found package Xext" 1>&6
    4985668769 
    4985768770-echo "${as_me:-configure}:10755: testing found package Xext ..." 1>&5
    49858 +echo "${as_me:-configure}:11370: testing found package Xext ..." 1>&5
     68771+echo "${as_me:-configure}:11438: testing found package Xext ..." 1>&5
    4985968772 
    4986068773        cf_pkgconfig_incs="`$PKG_CONFIG --cflags Xext 2>/dev/null`"
     
    4986368776 
    4986468777-echo "${as_me:-configure}:10761: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    49865 +echo "${as_me:-configure}:11376: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     68778+echo "${as_me:-configure}:11444: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    4986668779 
    4986768780        test -n "$verbose" && echo "    package Xext LIBS: $cf_pkgconfig_libs" 1>&6
    4986868781 
    4986968782-echo "${as_me:-configure}:10765: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5
    49870 +echo "${as_me:-configure}:11380: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5
     68783+echo "${as_me:-configure}:11448: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5
    4987168784 
    4987268785 cf_fix_cppflags=no
    4987368786 cf_new_cflags=
    49874 @@ -10846,7 +11461,7 @@
     68787@@ -10846,7 +11529,7 @@
    4987568788        :
    4987668789 else
    4987768790 
    4987868791-       echo "$as_me:10849: checking for XextCreateExtension in -lXext" >&5
    49879 +       echo "$as_me:11464: checking for XextCreateExtension in -lXext" >&5
     68792+       echo "$as_me:11532: checking for XextCreateExtension in -lXext" >&5
    4988068793 echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6
    4988168794 if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
    4988268795   echo $ECHO_N "(cached) $ECHO_C" >&6
    49883 @@ -10854,7 +11469,7 @@
     68796@@ -10854,7 +11537,7 @@
    4988468797   ac_check_lib_save_LIBS=$LIBS
    4988568798 LIBS="-lXext  $LIBS"
    4988668799 cat >conftest.$ac_ext <<_ACEOF
    4988768800-#line 10857 "configure"
    49888 +#line 11472 "configure"
     68801+#line 11540 "configure"
    4988968802 #include "confdefs.h"
    4989068803 
    4989168804 /* Override any gcc2 internal prototype to avoid an error.  */
    49892 @@ -10873,16 +11488,16 @@
     68805@@ -10873,16 +11556,16 @@
    4989368806 }
    4989468807 _ACEOF
    4989568808 rm -f conftest.$ac_objext conftest$ac_exeext
    4989668809-if { (eval echo "$as_me:10876: \"$ac_link\"") >&5
    49897 +if { (eval echo "$as_me:11491: \"$ac_link\"") >&5
     68810+if { (eval echo "$as_me:11559: \"$ac_link\"") >&5
    4989868811   (eval $ac_link) 2>&5
    4989968812   ac_status=$?
    4990068813-  echo "$as_me:10879: \$? = $ac_status" >&5
    49901 +  echo "$as_me:11494: \$? = $ac_status" >&5
     68814+  echo "$as_me:11562: \$? = $ac_status" >&5
    4990268815   (exit $ac_status); } &&
    4990368816          { ac_try='test -s conftest$ac_exeext'
    4990468817-  { (eval echo "$as_me:10882: \"$ac_try\"") >&5
    49905 +  { (eval echo "$as_me:11497: \"$ac_try\"") >&5
     68818+  { (eval echo "$as_me:11565: \"$ac_try\"") >&5
    4990668819   (eval $ac_try) 2>&5
    4990768820   ac_status=$?
    4990868821-  echo "$as_me:10885: \$? = $ac_status" >&5
    49909 +  echo "$as_me:11500: \$? = $ac_status" >&5
     68822+  echo "$as_me:11568: \$? = $ac_status" >&5
    4991068823   (exit $ac_status); }; }; then
    4991168824   ac_cv_lib_Xext_XextCreateExtension=yes
    4991268825 else
    49913 @@ -10893,7 +11508,7 @@
     68826@@ -10893,7 +11576,7 @@
    4991468827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4991568828 LIBS=$ac_check_lib_save_LIBS
    4991668829 fi
    4991768830-echo "$as_me:10896: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
    49918 +echo "$as_me:11511: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
     68831+echo "$as_me:11579: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
    4991968832 echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6
    4992068833 if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
    4992168834   LIBS="-lXext $LIBS"
    49922 @@ -10906,17 +11521,17 @@
     68835@@ -10906,17 +11589,17 @@
    4992368836 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xt; then
    4992468837        test -n "$verbose" && echo "    found package xt" 1>&6
    4992568838 
    4992668839-echo "${as_me:-configure}:10909: testing found package xt ..." 1>&5
    49927 +echo "${as_me:-configure}:11524: testing found package xt ..." 1>&5
     68840+echo "${as_me:-configure}:11592: testing found package xt ..." 1>&5
    4992868841 
    4992968842        cf_pkgconfig_incs="`$PKG_CONFIG --cflags xt 2>/dev/null`"
     
    4993268845 
    4993368846-echo "${as_me:-configure}:10915: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    49934 +echo "${as_me:-configure}:11530: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     68847+echo "${as_me:-configure}:11598: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    4993568848 
    4993668849        test -n "$verbose" && echo "    package xt LIBS: $cf_pkgconfig_libs" 1>&6
    4993768850 
    4993868851-echo "${as_me:-configure}:10919: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5
    49939 +echo "${as_me:-configure}:11534: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5
     68852+echo "${as_me:-configure}:11602: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5
    4994068853 
    4994168854 cf_fix_cppflags=no
    4994268855 cf_new_cflags=
    49943 @@ -11003,14 +11618,14 @@
     68856@@ -11003,14 +11686,14 @@
    4994468857                ;;
    4994568858        *)
    4994668859 # we have an "xt" package, but it may omit Xt's dependency on X11
    4994768860-echo "$as_me:11006: checking for usable X dependency" >&5
    49948 +echo "$as_me:11621: checking for usable X dependency" >&5
     68861+echo "$as_me:11689: checking for usable X dependency" >&5
    4994968862 echo $ECHO_N "checking for usable X dependency... $ECHO_C" >&6
    4995068863 if test "${cf_cv_xt_x11_compat+set}" = set; then
     
    4995468867 cat >conftest.$ac_ext <<_ACEOF
    4995568868-#line 11013 "configure"
    49956 +#line 11628 "configure"
     68869+#line 11696 "configure"
    4995768870 #include "confdefs.h"
    4995868871 
    4995968872 #include <X11/Xlib.h>
    49960 @@ -11029,16 +11644,16 @@
     68873@@ -11029,16 +11712,16 @@
    4996168874 }
    4996268875 _ACEOF
    4996368876 rm -f conftest.$ac_objext conftest$ac_exeext
    4996468877-if { (eval echo "$as_me:11032: \"$ac_link\"") >&5
    49965 +if { (eval echo "$as_me:11647: \"$ac_link\"") >&5
     68878+if { (eval echo "$as_me:11715: \"$ac_link\"") >&5
    4996668879   (eval $ac_link) 2>&5
    4996768880   ac_status=$?
    4996868881-  echo "$as_me:11035: \$? = $ac_status" >&5
    49969 +  echo "$as_me:11650: \$? = $ac_status" >&5
     68882+  echo "$as_me:11718: \$? = $ac_status" >&5
    4997068883   (exit $ac_status); } &&
    4997168884          { ac_try='test -s conftest$ac_exeext'
    4997268885-  { (eval echo "$as_me:11038: \"$ac_try\"") >&5
    49973 +  { (eval echo "$as_me:11653: \"$ac_try\"") >&5
     68886+  { (eval echo "$as_me:11721: \"$ac_try\"") >&5
    4997468887   (eval $ac_try) 2>&5
    4997568888   ac_status=$?
    4997668889-  echo "$as_me:11041: \$? = $ac_status" >&5
    49977 +  echo "$as_me:11656: \$? = $ac_status" >&5
     68890+  echo "$as_me:11724: \$? = $ac_status" >&5
    4997868891   (exit $ac_status); }; }; then
    4997968892   cf_cv_xt_x11_compat=yes
    4998068893 else
    49981 @@ -11048,30 +11663,30 @@
     68894@@ -11048,30 +11731,30 @@
    4998268895 fi
    4998368896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4998468897 fi
    4998568898-echo "$as_me:11051: result: $cf_cv_xt_x11_compat" >&5
    49986 +echo "$as_me:11666: result: $cf_cv_xt_x11_compat" >&5
     68899+echo "$as_me:11734: result: $cf_cv_xt_x11_compat" >&5
    4998768900 echo "${ECHO_T}$cf_cv_xt_x11_compat" >&6
    4998868901                if test "$cf_cv_xt_x11_compat" = no
     
    4999168904 
    4999268905-echo "${as_me:-configure}:11057: testing work around broken X11 dependency ..." 1>&5
    49993 +echo "${as_me:-configure}:11672: testing work around broken X11 dependency ..." 1>&5
     68906+echo "${as_me:-configure}:11740: testing work around broken X11 dependency ..." 1>&5
    4999468907 
    4999568908                        # 2010/11/19 - good enough until a working Xt on Xcb is delivered.
     
    4999968912 
    5000068913-echo "${as_me:-configure}:11064: testing found package x11 ..." 1>&5
    50001 +echo "${as_me:-configure}:11679: testing found package x11 ..." 1>&5
     68914+echo "${as_me:-configure}:11747: testing found package x11 ..." 1>&5
    5000268915 
    5000368916        cf_pkgconfig_incs="`$PKG_CONFIG --cflags x11 2>/dev/null`"
     
    5000668919 
    5000768920-echo "${as_me:-configure}:11070: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    50008 +echo "${as_me:-configure}:11685: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     68921+echo "${as_me:-configure}:11753: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    5000968922 
    5001068923        test -n "$verbose" && echo "    package x11 LIBS: $cf_pkgconfig_libs" 1>&6
    5001168924 
    5001268925-echo "${as_me:-configure}:11074: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5
    50013 +echo "${as_me:-configure}:11689: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5
     68926+echo "${as_me:-configure}:11757: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5
    5001468927 
    5001568928 cf_fix_cppflags=no
    5001668929 cf_new_cflags=
    50017 @@ -11157,12 +11772,12 @@
     68930@@ -11157,12 +11840,12 @@
    5001868931 
    5001968932 test -n "$verbose" && echo "   ...before $LIBS" 1>&6
    5002068933 
    5002168934-echo "${as_me:-configure}:11160: testing ...before $LIBS ..." 1>&5
    50022 +echo "${as_me:-configure}:11775: testing ...before $LIBS ..." 1>&5
     68935+echo "${as_me:-configure}:11843: testing ...before $LIBS ..." 1>&5
    5002368936 
    5002468937 LIBS=`echo "$LIBS" | sed -e "s/[       ][      ]*/ /g" -e "s,-lXt ,-lXt -lX11 ," -e 's/  / /g'`
     
    5002668939 
    5002768940-echo "${as_me:-configure}:11165: testing ...after  $LIBS ..." 1>&5
    50028 +echo "${as_me:-configure}:11780: testing ...after  $LIBS ..." 1>&5
    50029  
    50030  fi
    50031  
    50032 @@ -11170,14 +11785,14 @@
     68941+echo "${as_me:-configure}:11848: testing ...after  $LIBS ..." 1>&5
     68942 
     68943 fi
     68944 
     68945@@ -11170,14 +11853,14 @@
    5003368946                ;;
    5003468947        esac
    5003568948 
    5003668949-echo "$as_me:11173: checking for usable X Toolkit package" >&5
    50037 +echo "$as_me:11788: checking for usable X Toolkit package" >&5
     68950+echo "$as_me:11856: checking for usable X Toolkit package" >&5
    5003868951 echo $ECHO_N "checking for usable X Toolkit package... $ECHO_C" >&6
    5003968952 if test "${cf_cv_xt_ice_compat+set}" = set; then
     
    5004368956 cat >conftest.$ac_ext <<_ACEOF
    5004468957-#line 11180 "configure"
    50045 +#line 11795 "configure"
     68958+#line 11863 "configure"
    5004668959 #include "confdefs.h"
    5004768960 
    5004868961 #include <X11/Shell.h>
    50049 @@ -11192,16 +11807,16 @@
     68962@@ -11192,16 +11875,16 @@
    5005068963 }
    5005168964 _ACEOF
    5005268965 rm -f conftest.$ac_objext conftest$ac_exeext
    5005368966-if { (eval echo "$as_me:11195: \"$ac_link\"") >&5
    50054 +if { (eval echo "$as_me:11810: \"$ac_link\"") >&5
     68967+if { (eval echo "$as_me:11878: \"$ac_link\"") >&5
    5005568968   (eval $ac_link) 2>&5
    5005668969   ac_status=$?
    5005768970-  echo "$as_me:11198: \$? = $ac_status" >&5
    50058 +  echo "$as_me:11813: \$? = $ac_status" >&5
     68971+  echo "$as_me:11881: \$? = $ac_status" >&5
    5005968972   (exit $ac_status); } &&
    5006068973          { ac_try='test -s conftest$ac_exeext'
    5006168974-  { (eval echo "$as_me:11201: \"$ac_try\"") >&5
    50062 +  { (eval echo "$as_me:11816: \"$ac_try\"") >&5
     68975+  { (eval echo "$as_me:11884: \"$ac_try\"") >&5
    5006368976   (eval $ac_try) 2>&5
    5006468977   ac_status=$?
    5006568978-  echo "$as_me:11204: \$? = $ac_status" >&5
    50066 +  echo "$as_me:11819: \$? = $ac_status" >&5
     68979+  echo "$as_me:11887: \$? = $ac_status" >&5
    5006768980   (exit $ac_status); }; }; then
    5006868981   cf_cv_xt_ice_compat=yes
    5006968982 else
    50070 @@ -11211,7 +11826,7 @@
     68983@@ -11211,7 +11894,7 @@
    5007168984 fi
    5007268985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5007368986 fi
    5007468987-echo "$as_me:11214: result: $cf_cv_xt_ice_compat" >&5
    50075 +echo "$as_me:11829: result: $cf_cv_xt_ice_compat" >&5
     68988+echo "$as_me:11897: result: $cf_cv_xt_ice_compat" >&5
    5007668989 echo "${ECHO_T}$cf_cv_xt_ice_compat" >&6
    5007768990 
    5007868991        if test "$cf_cv_xt_ice_compat" = no
    50079 @@ -11225,22 +11840,22 @@
     68992@@ -11225,22 +11908,22 @@
    5008068993                        *)
    5008168994                                test -n "$verbose" && echo "    work around broken ICE dependency" 1>&6
    5008268995 
    5008368996-echo "${as_me:-configure}:11228: testing work around broken ICE dependency ..." 1>&5
    50084 +echo "${as_me:-configure}:11843: testing work around broken ICE dependency ..." 1>&5
     68997+echo "${as_me:-configure}:11911: testing work around broken ICE dependency ..." 1>&5
    5008568998 
    5008668999 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists ice; then
     
    5008869001 
    5008969002-echo "${as_me:-configure}:11233: testing found package ice ..." 1>&5
    50090 +echo "${as_me:-configure}:11848: testing found package ice ..." 1>&5
     69003+echo "${as_me:-configure}:11916: testing found package ice ..." 1>&5
    5009169004 
    5009269005        cf_pkgconfig_incs="`$PKG_CONFIG --cflags ice 2>/dev/null`"
     
    5009569008 
    5009669009-echo "${as_me:-configure}:11239: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    50097 +echo "${as_me:-configure}:11854: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     69010+echo "${as_me:-configure}:11922: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    5009869011 
    5009969012        test -n "$verbose" && echo "    package ice LIBS: $cf_pkgconfig_libs" 1>&6
    5010069013 
    5010169014-echo "${as_me:-configure}:11243: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5
    50102 +echo "${as_me:-configure}:11858: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5
     69015+echo "${as_me:-configure}:11926: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5
    5010369016 
    5010469017 cf_fix_cppflags=no
    5010569018 cf_new_cflags=
    50106 @@ -11325,17 +11940,17 @@
     69019@@ -11325,17 +12008,17 @@
    5010769020 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists sm; then
    5010869021        test -n "$verbose" && echo "    found package sm" 1>&6
    5010969022 
    5011069023-echo "${as_me:-configure}:11328: testing found package sm ..." 1>&5
    50111 +echo "${as_me:-configure}:11943: testing found package sm ..." 1>&5
     69024+echo "${as_me:-configure}:12011: testing found package sm ..." 1>&5
    5011269025 
    5011369026        cf_pkgconfig_incs="`$PKG_CONFIG --cflags sm 2>/dev/null`"
     
    5011669029 
    5011769030-echo "${as_me:-configure}:11334: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    50118 +echo "${as_me:-configure}:11949: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5
     69031+echo "${as_me:-configure}:12017: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5
    5011969032 
    5012069033        test -n "$verbose" && echo "    package sm LIBS: $cf_pkgconfig_libs" 1>&6
    5012169034 
    5012269035-echo "${as_me:-configure}:11338: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5
    50123 +echo "${as_me:-configure}:11953: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5
     69036+echo "${as_me:-configure}:12021: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5
    5012469037 
    5012569038 cf_fix_cppflags=no
    5012669039 cf_new_cflags=
    50127 @@ -11425,12 +12040,12 @@
     69040@@ -11425,12 +12108,12 @@
    5012869041 
    5012969042 test -n "$verbose" && echo "   ...before $LIBS" 1>&6
    5013069043 
    5013169044-echo "${as_me:-configure}:11428: testing ...before $LIBS ..." 1>&5
    50132 +echo "${as_me:-configure}:12043: testing ...before $LIBS ..." 1>&5
     69045+echo "${as_me:-configure}:12111: testing ...before $LIBS ..." 1>&5
    5013369046 
    5013469047 LIBS=`echo "$LIBS" | sed -e "s/[       ][      ]*/ /g" -e "s,-lXt ,-lXt $X_PRE_LIBS ," -e 's/  / /g'`
     
    5013669049 
    5013769050-echo "${as_me:-configure}:11433: testing ...after  $LIBS ..." 1>&5
    50138 +echo "${as_me:-configure}:12048: testing ...after  $LIBS ..." 1>&5
    50139  
    50140  fi
    50141  
    50142 @@ -11448,7 +12063,7 @@
     69051+echo "${as_me:-configure}:12116: testing ...after  $LIBS ..." 1>&5
     69052 
     69053 fi
     69054 
     69055@@ -11448,7 +12131,7 @@
    5014369056 
    5014469057 test -n "$verbose" && echo "   checking additions to CFLAGS" 1>&6
    5014569058 
    5014669059-echo "${as_me:-configure}:11451: testing checking additions to CFLAGS ..." 1>&5
    50147 +echo "${as_me:-configure}:12066: testing checking additions to CFLAGS ..." 1>&5
     69060+echo "${as_me:-configure}:12134: testing checking additions to CFLAGS ..." 1>&5
    5014869061 
    5014969062 cf_check_cflags="$CFLAGS"
    5015069063 cf_check_cppflags="$CPPFLAGS"
    50151 @@ -11519,7 +12134,7 @@
     69064@@ -11519,7 +12202,7 @@
    5015269065 if test -n "$cf_new_cflags" ; then
    5015369066        test -n "$verbose" && echo "    add to \$CFLAGS $cf_new_cflags" 1>&6
    5015469067 
    5015569068-echo "${as_me:-configure}:11522: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    50156 +echo "${as_me:-configure}:12137: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
     69069+echo "${as_me:-configure}:12205: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    5015769070 
    5015869071        CFLAGS="$CFLAGS $cf_new_cflags"
    5015969072 fi
    50160 @@ -11527,7 +12142,7 @@
     69073@@ -11527,7 +12210,7 @@
    5016169074 if test -n "$cf_new_cppflags" ; then
    5016269075        test -n "$verbose" && echo "    add to \$CPPFLAGS $cf_new_cppflags" 1>&6
    5016369076 
    5016469077-echo "${as_me:-configure}:11530: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    50165 +echo "${as_me:-configure}:12145: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
     69078+echo "${as_me:-configure}:12213: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    5016669079 
    5016769080        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    5016869081 fi
    50169 @@ -11535,14 +12150,14 @@
     69082@@ -11535,14 +12218,14 @@
    5017069083 if test -n "$cf_new_extra_cppflags" ; then
    5017169084        test -n "$verbose" && echo "    add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
    5017269085 
    5017369086-echo "${as_me:-configure}:11538: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    50174 +echo "${as_me:-configure}:12153: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
     69087+echo "${as_me:-configure}:12221: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    5017569088 
    5017669089        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     
    5018069093 cat >conftest.$ac_ext <<_ACEOF
    5018169094-#line 11545 "configure"
    50182 +#line 12160 "configure"
     69095+#line 12228 "configure"
    5018369096 #include "confdefs.h"
    5018469097 #include <stdio.h>
    5018569098 int
    50186 @@ -11554,16 +12169,16 @@
     69099@@ -11554,16 +12237,16 @@
    5018769100 }
    5018869101 _ACEOF
    5018969102 rm -f conftest.$ac_objext conftest$ac_exeext
    5019069103-if { (eval echo "$as_me:11557: \"$ac_link\"") >&5
    50191 +if { (eval echo "$as_me:12172: \"$ac_link\"") >&5
     69104+if { (eval echo "$as_me:12240: \"$ac_link\"") >&5
    5019269105   (eval $ac_link) 2>&5
    5019369106   ac_status=$?
    5019469107-  echo "$as_me:11560: \$? = $ac_status" >&5
    50195 +  echo "$as_me:12175: \$? = $ac_status" >&5
     69108+  echo "$as_me:12243: \$? = $ac_status" >&5
    5019669109   (exit $ac_status); } &&
    5019769110          { ac_try='test -s conftest$ac_exeext'
    5019869111-  { (eval echo "$as_me:11563: \"$ac_try\"") >&5
    50199 +  { (eval echo "$as_me:12178: \"$ac_try\"") >&5
     69112+  { (eval echo "$as_me:12246: \"$ac_try\"") >&5
    5020069113   (eval $ac_try) 2>&5
    5020169114   ac_status=$?
    5020269115-  echo "$as_me:11566: \$? = $ac_status" >&5
    50203 +  echo "$as_me:12181: \$? = $ac_status" >&5
     69116+  echo "$as_me:12249: \$? = $ac_status" >&5
    5020469117   (exit $ac_status); }; }; then
    5020569118   :
    5020669119 else
    50207 @@ -11571,12 +12186,12 @@
     69120@@ -11571,12 +12254,12 @@
    5020869121 cat conftest.$ac_ext >&5
    5020969122 test -n "$verbose" && echo "   test-compile failed.  Undoing change to \$CFLAGS" 1>&6
    5021069123 
    5021169124-echo "${as_me:-configure}:11574: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    50212 +echo "${as_me:-configure}:12189: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
     69125+echo "${as_me:-configure}:12257: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    5021369126 
    5021469127         if test "$cf_check_cppflags" != "$CPPFLAGS" ; then
     
    5021669129 
    5021769130-echo "${as_me:-configure}:11579: testing but keeping change to \$CPPFLAGS ..." 1>&5
    50218 +echo "${as_me:-configure}:12194: testing but keeping change to \$CPPFLAGS ..." 1>&5
     69131+echo "${as_me:-configure}:12262: testing but keeping change to \$CPPFLAGS ..." 1>&5
    5021969132 
    5022069133         fi
    5022169134         CFLAGS="$cf_check_flags"
    50222 @@ -11584,13 +12199,13 @@
     69135@@ -11584,13 +12267,13 @@
    5022369136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5022469137 fi
    5022569138 
    5022669139-       echo "$as_me:11587: checking for XOpenDisplay" >&5
    50227 +       echo "$as_me:12202: checking for XOpenDisplay" >&5
     69140+       echo "$as_me:12270: checking for XOpenDisplay" >&5
    5022869141 echo $ECHO_N "checking for XOpenDisplay... $ECHO_C" >&6
    5022969142 if test "${ac_cv_func_XOpenDisplay+set}" = set; then
     
    5023269145   cat >conftest.$ac_ext <<_ACEOF
    5023369146-#line 11593 "configure"
    50234 +#line 12208 "configure"
     69147+#line 12276 "configure"
    5023569148 #include "confdefs.h"
    5023669149 /* System header to define __stub macros and hopefully few prototypes,
    5023769150     which can conflict with char XOpenDisplay (); below.  */
    50238 @@ -11621,16 +12236,16 @@
     69151@@ -11613,7 +12296,7 @@
     69152 #if defined (__stub_XOpenDisplay) || defined (__stub___XOpenDisplay)
     69153 choke me
     69154 #else
     69155-f = XOpenDisplay;
     69156+f = XOpenDisplay; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     69157 #endif
     69158 
     69159   ;
     69160@@ -11621,16 +12304,16 @@
    5023969161 }
    5024069162 _ACEOF
    5024169163 rm -f conftest.$ac_objext conftest$ac_exeext
    5024269164-if { (eval echo "$as_me:11624: \"$ac_link\"") >&5
    50243 +if { (eval echo "$as_me:12239: \"$ac_link\"") >&5
     69165+if { (eval echo "$as_me:12307: \"$ac_link\"") >&5
    5024469166   (eval $ac_link) 2>&5
    5024569167   ac_status=$?
    5024669168-  echo "$as_me:11627: \$? = $ac_status" >&5
    50247 +  echo "$as_me:12242: \$? = $ac_status" >&5
     69169+  echo "$as_me:12310: \$? = $ac_status" >&5
    5024869170   (exit $ac_status); } &&
    5024969171          { ac_try='test -s conftest$ac_exeext'
    5025069172-  { (eval echo "$as_me:11630: \"$ac_try\"") >&5
    50251 +  { (eval echo "$as_me:12245: \"$ac_try\"") >&5
     69173+  { (eval echo "$as_me:12313: \"$ac_try\"") >&5
    5025269174   (eval $ac_try) 2>&5
    5025369175   ac_status=$?
    5025469176-  echo "$as_me:11633: \$? = $ac_status" >&5
    50255 +  echo "$as_me:12248: \$? = $ac_status" >&5
     69177+  echo "$as_me:12316: \$? = $ac_status" >&5
    5025669178   (exit $ac_status); }; }; then
    5025769179   ac_cv_func_XOpenDisplay=yes
    5025869180 else
    50259 @@ -11640,13 +12255,13 @@
     69181@@ -11640,13 +12323,13 @@
    5026069182 fi
    5026169183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5026269184 fi
    5026369185-echo "$as_me:11643: result: $ac_cv_func_XOpenDisplay" >&5
    50264 +echo "$as_me:12258: result: $ac_cv_func_XOpenDisplay" >&5
     69186+echo "$as_me:12326: result: $ac_cv_func_XOpenDisplay" >&5
    5026569187 echo "${ECHO_T}$ac_cv_func_XOpenDisplay" >&6
    5026669188 if test $ac_cv_func_XOpenDisplay = yes; then
     
    5026969191 
    5027069192-       echo "$as_me:11649: checking for XOpenDisplay in -lX11" >&5
    50271 +       echo "$as_me:12264: checking for XOpenDisplay in -lX11" >&5
     69193+       echo "$as_me:12332: checking for XOpenDisplay in -lX11" >&5
    5027269194 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
    5027369195 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
    5027469196   echo $ECHO_N "(cached) $ECHO_C" >&6
    50275 @@ -11654,7 +12269,7 @@
     69197@@ -11654,7 +12337,7 @@
    5027669198   ac_check_lib_save_LIBS=$LIBS
    5027769199 LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
    5027869200 cat >conftest.$ac_ext <<_ACEOF
    5027969201-#line 11657 "configure"
    50280 +#line 12272 "configure"
     69202+#line 12340 "configure"
    5028169203 #include "confdefs.h"
    5028269204 
    5028369205 /* Override any gcc2 internal prototype to avoid an error.  */
    50284 @@ -11673,16 +12288,16 @@
     69206@@ -11673,16 +12356,16 @@
    5028569207 }
    5028669208 _ACEOF
    5028769209 rm -f conftest.$ac_objext conftest$ac_exeext
    5028869210-if { (eval echo "$as_me:11676: \"$ac_link\"") >&5
    50289 +if { (eval echo "$as_me:12291: \"$ac_link\"") >&5
     69211+if { (eval echo "$as_me:12359: \"$ac_link\"") >&5
    5029069212   (eval $ac_link) 2>&5
    5029169213   ac_status=$?
    5029269214-  echo "$as_me:11679: \$? = $ac_status" >&5
    50293 +  echo "$as_me:12294: \$? = $ac_status" >&5
     69215+  echo "$as_me:12362: \$? = $ac_status" >&5
    5029469216   (exit $ac_status); } &&
    5029569217          { ac_try='test -s conftest$ac_exeext'
    5029669218-  { (eval echo "$as_me:11682: \"$ac_try\"") >&5
    50297 +  { (eval echo "$as_me:12297: \"$ac_try\"") >&5
     69219+  { (eval echo "$as_me:12365: \"$ac_try\"") >&5
    5029869220   (eval $ac_try) 2>&5
    5029969221   ac_status=$?
    5030069222-  echo "$as_me:11685: \$? = $ac_status" >&5
    50301 +  echo "$as_me:12300: \$? = $ac_status" >&5
     69223+  echo "$as_me:12368: \$? = $ac_status" >&5
    5030269224   (exit $ac_status); }; }; then
    5030369225   ac_cv_lib_X11_XOpenDisplay=yes
    5030469226 else
    50305 @@ -11693,7 +12308,7 @@
     69227@@ -11693,7 +12376,7 @@
    5030669228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5030769229 LIBS=$ac_check_lib_save_LIBS
    5030869230 fi
    5030969231-echo "$as_me:11696: result: $ac_cv_lib_X11_XOpenDisplay" >&5
    50310 +echo "$as_me:12311: result: $ac_cv_lib_X11_XOpenDisplay" >&5
     69232+echo "$as_me:12379: result: $ac_cv_lib_X11_XOpenDisplay" >&5
    5031169233 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
    5031269234 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
    5031369235   LIBS="-lX11 $LIBS"
    50314 @@ -11701,13 +12316,13 @@
     69236@@ -11701,13 +12384,13 @@
    5031569237 
    5031669238 fi
    5031769239 
    5031869240-       echo "$as_me:11704: checking for XtAppInitialize" >&5
    50319 +       echo "$as_me:12319: checking for XtAppInitialize" >&5
     69241+       echo "$as_me:12387: checking for XtAppInitialize" >&5
    5032069242 echo $ECHO_N "checking for XtAppInitialize... $ECHO_C" >&6
    5032169243 if test "${ac_cv_func_XtAppInitialize+set}" = set; then
     
    5032469246   cat >conftest.$ac_ext <<_ACEOF
    5032569247-#line 11710 "configure"
    50326 +#line 12325 "configure"
     69248+#line 12393 "configure"
    5032769249 #include "confdefs.h"
    5032869250 /* System header to define __stub macros and hopefully few prototypes,
    5032969251     which can conflict with char XtAppInitialize (); below.  */
    50330 @@ -11738,16 +12353,16 @@
     69252@@ -11730,7 +12413,7 @@
     69253 #if defined (__stub_XtAppInitialize) || defined (__stub___XtAppInitialize)
     69254 choke me
     69255 #else
     69256-f = XtAppInitialize;
     69257+f = XtAppInitialize; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     69258 #endif
     69259 
     69260   ;
     69261@@ -11738,16 +12421,16 @@
    5033169262 }
    5033269263 _ACEOF
    5033369264 rm -f conftest.$ac_objext conftest$ac_exeext
    5033469265-if { (eval echo "$as_me:11741: \"$ac_link\"") >&5
    50335 +if { (eval echo "$as_me:12356: \"$ac_link\"") >&5
     69266+if { (eval echo "$as_me:12424: \"$ac_link\"") >&5
    5033669267   (eval $ac_link) 2>&5
    5033769268   ac_status=$?
    5033869269-  echo "$as_me:11744: \$? = $ac_status" >&5
    50339 +  echo "$as_me:12359: \$? = $ac_status" >&5
     69270+  echo "$as_me:12427: \$? = $ac_status" >&5
    5034069271   (exit $ac_status); } &&
    5034169272          { ac_try='test -s conftest$ac_exeext'
    5034269273-  { (eval echo "$as_me:11747: \"$ac_try\"") >&5
    50343 +  { (eval echo "$as_me:12362: \"$ac_try\"") >&5
     69274+  { (eval echo "$as_me:12430: \"$ac_try\"") >&5
    5034469275   (eval $ac_try) 2>&5
    5034569276   ac_status=$?
    5034669277-  echo "$as_me:11750: \$? = $ac_status" >&5
    50347 +  echo "$as_me:12365: \$? = $ac_status" >&5
     69278+  echo "$as_me:12433: \$? = $ac_status" >&5
    5034869279   (exit $ac_status); }; }; then
    5034969280   ac_cv_func_XtAppInitialize=yes
    5035069281 else
    50351 @@ -11757,13 +12372,13 @@
     69282@@ -11757,13 +12440,13 @@
    5035269283 fi
    5035369284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5035469285 fi
    5035569286-echo "$as_me:11760: result: $ac_cv_func_XtAppInitialize" >&5
    50356 +echo "$as_me:12375: result: $ac_cv_func_XtAppInitialize" >&5
     69287+echo "$as_me:12443: result: $ac_cv_func_XtAppInitialize" >&5
    5035769288 echo "${ECHO_T}$ac_cv_func_XtAppInitialize" >&6
    5035869289 if test $ac_cv_func_XtAppInitialize = yes; then
     
    5036169292 
    5036269293-       echo "$as_me:11766: checking for XtAppInitialize in -lXt" >&5
    50363 +       echo "$as_me:12381: checking for XtAppInitialize in -lXt" >&5
     69294+       echo "$as_me:12449: checking for XtAppInitialize in -lXt" >&5
    5036469295 echo $ECHO_N "checking for XtAppInitialize in -lXt... $ECHO_C" >&6
    5036569296 if test "${ac_cv_lib_Xt_XtAppInitialize+set}" = set; then
    5036669297   echo $ECHO_N "(cached) $ECHO_C" >&6
    50367 @@ -11771,7 +12386,7 @@
     69298@@ -11771,7 +12454,7 @@
    5036869299   ac_check_lib_save_LIBS=$LIBS
    5036969300 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
    5037069301 cat >conftest.$ac_ext <<_ACEOF
    5037169302-#line 11774 "configure"
    50372 +#line 12389 "configure"
     69303+#line 12457 "configure"
    5037369304 #include "confdefs.h"
    5037469305 
    5037569306 /* Override any gcc2 internal prototype to avoid an error.  */
    50376 @@ -11790,16 +12405,16 @@
     69307@@ -11790,16 +12473,16 @@
    5037769308 }
    5037869309 _ACEOF
    5037969310 rm -f conftest.$ac_objext conftest$ac_exeext
    5038069311-if { (eval echo "$as_me:11793: \"$ac_link\"") >&5
    50381 +if { (eval echo "$as_me:12408: \"$ac_link\"") >&5
     69312+if { (eval echo "$as_me:12476: \"$ac_link\"") >&5
    5038269313   (eval $ac_link) 2>&5
    5038369314   ac_status=$?
    5038469315-  echo "$as_me:11796: \$? = $ac_status" >&5
    50385 +  echo "$as_me:12411: \$? = $ac_status" >&5
     69316+  echo "$as_me:12479: \$? = $ac_status" >&5
    5038669317   (exit $ac_status); } &&
    5038769318          { ac_try='test -s conftest$ac_exeext'
    5038869319-  { (eval echo "$as_me:11799: \"$ac_try\"") >&5
    50389 +  { (eval echo "$as_me:12414: \"$ac_try\"") >&5
     69320+  { (eval echo "$as_me:12482: \"$ac_try\"") >&5
    5039069321   (eval $ac_try) 2>&5
    5039169322   ac_status=$?
    5039269323-  echo "$as_me:11802: \$? = $ac_status" >&5
    50393 +  echo "$as_me:12417: \$? = $ac_status" >&5
     69324+  echo "$as_me:12485: \$? = $ac_status" >&5
    5039469325   (exit $ac_status); }; }; then
    5039569326   ac_cv_lib_Xt_XtAppInitialize=yes
    5039669327 else
    50397 @@ -11810,7 +12425,7 @@
     69328@@ -11810,7 +12493,7 @@
    5039869329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5039969330 LIBS=$ac_check_lib_save_LIBS
    5040069331 fi
    5040169332-echo "$as_me:11813: result: $ac_cv_lib_Xt_XtAppInitialize" >&5
    50402 +echo "$as_me:12428: result: $ac_cv_lib_Xt_XtAppInitialize" >&5
     69333+echo "$as_me:12496: result: $ac_cv_lib_Xt_XtAppInitialize" >&5
    5040369334 echo "${ECHO_T}$ac_cv_lib_Xt_XtAppInitialize" >&6
    5040469335 if test $ac_cv_lib_Xt_XtAppInitialize = yes; then
    5040569336   cat >>confdefs.h <<\EOF
    50406 @@ -11826,7 +12441,7 @@
     69337@@ -11826,7 +12509,7 @@
    5040769338 fi
    5040869339 
    5040969340 if test $cf_have_X_LIBS = no ; then
    5041069341-       { echo "$as_me:11829: WARNING: Unable to successfully link X Toolkit library (-lXt) with
    50411 +       { echo "$as_me:12444: WARNING: Unable to successfully link X Toolkit library (-lXt) with
     69342+       { echo "$as_me:12512: WARNING: Unable to successfully link X Toolkit library (-lXt) with
    5041269343 test program.  You will have to check and add the proper libraries by hand
    5041369344 to makefile." >&5
    5041469345 echo "$as_me: WARNING: Unable to successfully link X Toolkit library (-lXt) with
    50415 @@ -11848,14 +12463,14 @@
     69346@@ -11848,14 +12531,14 @@
    5041669347                cf_test=X11/$cf_x_athena_root/SimpleMenu.h
    5041769348                if test $cf_path != default ; then
    5041869349                        CPPFLAGS="$cf_save -I$cf_path/include"
    5041969350-                       echo "$as_me:11851: checking for $cf_test in $cf_path" >&5
    50420 +                       echo "$as_me:12466: checking for $cf_test in $cf_path" >&5
     69351+                       echo "$as_me:12534: checking for $cf_test in $cf_path" >&5
    5042169352 echo $ECHO_N "checking for $cf_test in $cf_path... $ECHO_C" >&6
    5042269353                else
    5042369354-                       echo "$as_me:11854: checking for $cf_test" >&5
    50424 +                       echo "$as_me:12469: checking for $cf_test" >&5
     69355+                       echo "$as_me:12537: checking for $cf_test" >&5
    5042569356 echo $ECHO_N "checking for $cf_test... $ECHO_C" >&6
    5042669357                fi
    5042769358                cat >conftest.$ac_ext <<_ACEOF
    5042869359-#line 11858 "configure"
    50429 +#line 12473 "configure"
     69360+#line 12541 "configure"
    5043069361 #include "confdefs.h"
    5043169362 
    5043269363 #include <X11/Intrinsic.h>
    50433 @@ -11869,16 +12484,16 @@
     69364@@ -11869,16 +12552,16 @@
    5043469365 }
    5043569366 _ACEOF
    5043669367 rm -f conftest.$ac_objext
    5043769368-if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5
    50438 +if { (eval echo "$as_me:12487: \"$ac_compile\"") >&5
     69369+if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5
    5043969370   (eval $ac_compile) 2>&5
    5044069371   ac_status=$?
    5044169372-  echo "$as_me:11875: \$? = $ac_status" >&5
    50442 +  echo "$as_me:12490: \$? = $ac_status" >&5
     69373+  echo "$as_me:12558: \$? = $ac_status" >&5
    5044369374   (exit $ac_status); } &&
    5044469375          { ac_try='test -s conftest.$ac_objext'
    5044569376-  { (eval echo "$as_me:11878: \"$ac_try\"") >&5
    50446 +  { (eval echo "$as_me:12493: \"$ac_try\"") >&5
     69377+  { (eval echo "$as_me:12561: \"$ac_try\"") >&5
    5044769378   (eval $ac_try) 2>&5
    5044869379   ac_status=$?
    5044969380-  echo "$as_me:11881: \$? = $ac_status" >&5
    50450 +  echo "$as_me:12496: \$? = $ac_status" >&5
     69381+  echo "$as_me:12564: \$? = $ac_status" >&5
    5045169382   (exit $ac_status); }; }; then
    5045269383   cf_result=yes
    5045369384 else
    50454 @@ -11887,7 +12502,7 @@
     69385@@ -11887,7 +12570,7 @@
    5045569386 cf_result=no
    5045669387 fi
    5045769388 rm -f conftest.$ac_objext conftest.$ac_ext
    5045869389-               echo "$as_me:11890: result: $cf_result" >&5
    50459 +               echo "$as_me:12505: result: $cf_result" >&5
     69390+               echo "$as_me:12573: result: $cf_result" >&5
    5046069391 echo "${ECHO_T}$cf_result" >&6
    5046169392                if test "$cf_result" = yes ; then
    5046269393                        cf_x_athena_inc=$cf_path
    50463 @@ -11899,7 +12514,7 @@
     69394@@ -11899,7 +12582,7 @@
    5046469395 done
    5046569396 
    5046669397 if test -z "$cf_x_athena_inc" ; then
    5046769398-       { echo "$as_me:11902: WARNING: Unable to successfully find Athena header files with test program" >&5
    50468 +       { echo "$as_me:12517: WARNING: Unable to successfully find Athena header files with test program" >&5
     69399+       { echo "$as_me:12585: WARNING: Unable to successfully find Athena header files with test program" >&5
    5046969400 echo "$as_me: WARNING: Unable to successfully find Athena header files with test program" >&2;}
    5047069401 elif test "$cf_x_athena_inc" != default ; then
    5047169402        CPPFLAGS="$CPPFLAGS -I$cf_x_athena_inc"
    50472 @@ -11915,24 +12530,29 @@
     69403@@ -11915,24 +12598,29 @@
    5047369404        /usr/local
    5047469405 do
     
    5049469425-echo $ECHO_N "checking for $cf_lib in $cf_path... $ECHO_C" >&6
    5049569426+                               LIBS="-L$cf_path/lib $cf_libs $LIBS"
    50496 +                               echo "$as_me:12547: checking for $cf_libs in $cf_path" >&5
     69427+                               echo "$as_me:12615: checking for $cf_libs in $cf_path" >&5
    5049769428+echo $ECHO_N "checking for $cf_libs in $cf_path... $ECHO_C" >&6
    5049869429                        else
     
    5050169432-echo $ECHO_N "checking for $cf_test in $cf_lib... $ECHO_C" >&6
    5050269433+                               LIBS="$cf_libs $LIBS"
    50503 +                               echo "$as_me:12551: checking for $cf_test in $cf_libs" >&5
     69434+                               echo "$as_me:12619: checking for $cf_test in $cf_libs" >&5
    5050469435+echo $ECHO_N "checking for $cf_test in $cf_libs... $ECHO_C" >&6
    5050569436                        fi
    5050669437                        cat >conftest.$ac_ext <<_ACEOF
    5050769438-#line 11935 "configure"
    50508 +#line 12555 "configure"
     69439+#line 12623 "configure"
    5050969440 #include "confdefs.h"
    5051069441 
    5051169442 #include <X11/Intrinsic.h>
    50512 @@ -11948,16 +12568,16 @@
     69443@@ -11948,16 +12636,16 @@
    5051369444 }
    5051469445 _ACEOF
    5051569446 rm -f conftest.$ac_objext conftest$ac_exeext
    5051669447-if { (eval echo "$as_me:11951: \"$ac_link\"") >&5
    50517 +if { (eval echo "$as_me:12571: \"$ac_link\"") >&5
     69448+if { (eval echo "$as_me:12639: \"$ac_link\"") >&5
    5051869449   (eval $ac_link) 2>&5
    5051969450   ac_status=$?
    5052069451-  echo "$as_me:11954: \$? = $ac_status" >&5
    50521 +  echo "$as_me:12574: \$? = $ac_status" >&5
     69452+  echo "$as_me:12642: \$? = $ac_status" >&5
    5052269453   (exit $ac_status); } &&
    5052369454          { ac_try='test -s conftest$ac_exeext'
    5052469455-  { (eval echo "$as_me:11957: \"$ac_try\"") >&5
    50525 +  { (eval echo "$as_me:12577: \"$ac_try\"") >&5
     69456+  { (eval echo "$as_me:12645: \"$ac_try\"") >&5
    5052669457   (eval $ac_try) 2>&5
    5052769458   ac_status=$?
    5052869459-  echo "$as_me:11960: \$? = $ac_status" >&5
    50529 +  echo "$as_me:12580: \$? = $ac_status" >&5
     69460+  echo "$as_me:12648: \$? = $ac_status" >&5
    5053069461   (exit $ac_status); }; }; then
    5053169462   cf_result=yes
    5053269463 else
    50533 @@ -11966,19 +12586,21 @@
     69464@@ -11966,19 +12654,21 @@
    5053469465 cf_result=no
    5053569466 fi
    5053669467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5053769468-                       echo "$as_me:11969: result: $cf_result" >&5
    50538 +                       echo "$as_me:12589: result: $cf_result" >&5
     69469+                       echo "$as_me:12657: result: $cf_result" >&5
    5053969470 echo "${ECHO_T}$cf_result" >&6
    5054069471                        if test "$cf_result" = yes ; then
     
    5055369484 if test -z "$cf_x_athena_lib" ; then
    5055469485-       { { echo "$as_me:11981: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
    50555 +       { { echo "$as_me:12603: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
     69486+       { { echo "$as_me:12671: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
    5055669487 echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;}
    5055769488    { (exit 1); exit 1; }; }
    5055869489 fi
    50559 @@ -11991,48 +12613,86 @@
     69490@@ -11991,48 +12681,86 @@
    5056069491 
    5056169492 fi
     
    5056769498+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5056869499+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    50569 +echo "$as_me:12621: checking for $ac_word" >&5
     69500+echo "$as_me:12689: checking for $ac_word" >&5
    5057069501+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5057169502+if test "${ac_cv_prog_XCURSES_CONFIG+set}" = set; then
     
    5058269513+  $as_executable_p "$ac_dir/$ac_word" || continue
    5058369514+ac_cv_prog_XCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    50584 +echo "$as_me:12636: found $ac_dir/$ac_word" >&5
     69515+echo "$as_me:12704: found $ac_dir/$ac_word" >&5
    5058569516+break
    5058669517+done
     
    5059069521+XCURSES_CONFIG=$ac_cv_prog_XCURSES_CONFIG
    5059169522+if test -n "$XCURSES_CONFIG"; then
    50592 +  echo "$as_me:12644: result: $XCURSES_CONFIG" >&5
     69523+  echo "$as_me:12712: result: $XCURSES_CONFIG" >&5
    5059369524+echo "${ECHO_T}$XCURSES_CONFIG" >&6
    5059469525+else
    50595 +  echo "$as_me:12647: result: no" >&5
     69526+  echo "$as_me:12715: result: no" >&5
    5059669527+echo "${ECHO_T}no" >&6
    5059769528+fi
     
    5060769538 set dummy $ac_prog; ac_word=$2
    5060869539-echo "$as_me:11998: checking for $ac_word" >&5
    50609 +echo "$as_me:12660: checking for $ac_word" >&5
     69540+echo "$as_me:12728: checking for $ac_word" >&5
    5061069541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5061169542-if test "${ac_cv_path_XCURSES_CONFIG+set}" = set; then
     
    5063369564+  $as_executable_p "$ac_dir/$ac_word" || continue
    5063469565+ac_cv_prog_ac_ct_XCURSES_CONFIG="$ac_prog"
    50635 +echo "$as_me:12675: found $ac_dir/$ac_word" >&5
     69566+echo "$as_me:12743: found $ac_dir/$ac_word" >&5
    5063669567+break
    5063769568 done
     
    5064869579+ac_ct_XCURSES_CONFIG=$ac_cv_prog_ac_ct_XCURSES_CONFIG
    5064969580+if test -n "$ac_ct_XCURSES_CONFIG"; then
    50650 +  echo "$as_me:12683: result: $ac_ct_XCURSES_CONFIG" >&5
     69581+  echo "$as_me:12751: result: $ac_ct_XCURSES_CONFIG" >&5
    5065169582+echo "${ECHO_T}$ac_ct_XCURSES_CONFIG" >&6
    5065269583 else
    5065369584-  echo "$as_me:12029: result: no" >&5
    50654 +  echo "$as_me:12686: result: no" >&5
     69585+  echo "$as_me:12754: result: no" >&5
    5065569586 echo "${ECHO_T}no" >&6
    5065669587 fi
     
    5066769598 if test "$XCURSES_CONFIG" != none ; then
    5066869599 
    50669 @@ -12047,7 +12707,7 @@
     69600@@ -12047,7 +12775,7 @@
    5067069601 
    5067169602 test -n "$verbose" && echo "   checking additions to CFLAGS" 1>&6
    5067269603 
    5067369604-echo "${as_me:-configure}:12050: testing checking additions to CFLAGS ..." 1>&5
    50674 +echo "${as_me:-configure}:12710: testing checking additions to CFLAGS ..." 1>&5
     69605+echo "${as_me:-configure}:12778: testing checking additions to CFLAGS ..." 1>&5
    5067569606 
    5067669607 cf_check_cflags="$CFLAGS"
    5067769608 cf_check_cppflags="$CPPFLAGS"
    50678 @@ -12118,7 +12778,7 @@
     69609@@ -12118,7 +12846,7 @@
    5067969610 if test -n "$cf_new_cflags" ; then
    5068069611        test -n "$verbose" && echo "    add to \$CFLAGS $cf_new_cflags" 1>&6
    5068169612 
    5068269613-echo "${as_me:-configure}:12121: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    50683 +echo "${as_me:-configure}:12781: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
     69614+echo "${as_me:-configure}:12849: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    5068469615 
    5068569616        CFLAGS="$CFLAGS $cf_new_cflags"
    5068669617 fi
    50687 @@ -12126,7 +12786,7 @@
     69618@@ -12126,7 +12854,7 @@
    5068869619 if test -n "$cf_new_cppflags" ; then
    5068969620        test -n "$verbose" && echo "    add to \$CPPFLAGS $cf_new_cppflags" 1>&6
    5069069621 
    5069169622-echo "${as_me:-configure}:12129: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    50692 +echo "${as_me:-configure}:12789: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
     69623+echo "${as_me:-configure}:12857: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    5069369624 
    5069469625        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    5069569626 fi
    50696 @@ -12134,14 +12794,14 @@
     69627@@ -12134,14 +12862,14 @@
    5069769628 if test -n "$cf_new_extra_cppflags" ; then
    5069869629        test -n "$verbose" && echo "    add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
    5069969630 
    5070069631-echo "${as_me:-configure}:12137: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    50701 +echo "${as_me:-configure}:12797: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
     69632+echo "${as_me:-configure}:12865: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    5070269633 
    5070369634        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     
    5070769638 cat >conftest.$ac_ext <<_ACEOF
    5070869639-#line 12144 "configure"
    50709 +#line 12804 "configure"
     69640+#line 12872 "configure"
    5071069641 #include "confdefs.h"
    5071169642 #include <stdio.h>
    5071269643 int
    50713 @@ -12153,16 +12813,16 @@
     69644@@ -12153,16 +12881,16 @@
    5071469645 }
    5071569646 _ACEOF
    5071669647 rm -f conftest.$ac_objext conftest$ac_exeext
    5071769648-if { (eval echo "$as_me:12156: \"$ac_link\"") >&5
    50718 +if { (eval echo "$as_me:12816: \"$ac_link\"") >&5
     69649+if { (eval echo "$as_me:12884: \"$ac_link\"") >&5
    5071969650   (eval $ac_link) 2>&5
    5072069651   ac_status=$?
    5072169652-  echo "$as_me:12159: \$? = $ac_status" >&5
    50722 +  echo "$as_me:12819: \$? = $ac_status" >&5
     69653+  echo "$as_me:12887: \$? = $ac_status" >&5
    5072369654   (exit $ac_status); } &&
    5072469655          { ac_try='test -s conftest$ac_exeext'
    5072569656-  { (eval echo "$as_me:12162: \"$ac_try\"") >&5
    50726 +  { (eval echo "$as_me:12822: \"$ac_try\"") >&5
     69657+  { (eval echo "$as_me:12890: \"$ac_try\"") >&5
    5072769658   (eval $ac_try) 2>&5
    5072869659   ac_status=$?
    5072969660-  echo "$as_me:12165: \$? = $ac_status" >&5
    50730 +  echo "$as_me:12825: \$? = $ac_status" >&5
     69661+  echo "$as_me:12893: \$? = $ac_status" >&5
    5073169662   (exit $ac_status); }; }; then
    5073269663   :
    5073369664 else
    50734 @@ -12170,12 +12830,12 @@
     69665@@ -12170,12 +12898,12 @@
    5073569666 cat conftest.$ac_ext >&5
    5073669667 test -n "$verbose" && echo "   test-compile failed.  Undoing change to \$CFLAGS" 1>&6
    5073769668 
    5073869669-echo "${as_me:-configure}:12173: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    50739 +echo "${as_me:-configure}:12833: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
     69670+echo "${as_me:-configure}:12901: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    5074069671 
    5074169672         if test "$cf_check_cppflags" != "$CPPFLAGS" ; then
     
    5074369674 
    5074469675-echo "${as_me:-configure}:12178: testing but keeping change to \$CPPFLAGS ..." 1>&5
    50745 +echo "${as_me:-configure}:12838: testing but keeping change to \$CPPFLAGS ..." 1>&5
     69676+echo "${as_me:-configure}:12906: testing but keeping change to \$CPPFLAGS ..." 1>&5
    5074669677 
    5074769678         fi
    5074869679         CFLAGS="$cf_check_flags"
    50749 @@ -12183,7 +12843,7 @@
     69680@@ -12183,7 +12911,7 @@
    5075069681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5075169682 fi
    5075269683 
    5075369684-echo "$as_me:12186: checking for XOpenDisplay in -lX11" >&5
    50754 +echo "$as_me:12846: checking for XOpenDisplay in -lX11" >&5
     69685+echo "$as_me:12914: checking for XOpenDisplay in -lX11" >&5
    5075569686 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
    5075669687 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
    5075769688   echo $ECHO_N "(cached) $ECHO_C" >&6
    50758 @@ -12191,7 +12851,7 @@
     69689@@ -12191,7 +12919,7 @@
    5075969690   ac_check_lib_save_LIBS=$LIBS
    5076069691 LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
    5076169692 cat >conftest.$ac_ext <<_ACEOF
    5076269693-#line 12194 "configure"
    50763 +#line 12854 "configure"
     69694+#line 12922 "configure"
    5076469695 #include "confdefs.h"
    5076569696 
    5076669697 /* Override any gcc2 internal prototype to avoid an error.  */
    50767 @@ -12210,16 +12870,16 @@
     69698@@ -12210,16 +12938,16 @@
    5076869699 }
    5076969700 _ACEOF
    5077069701 rm -f conftest.$ac_objext conftest$ac_exeext
    5077169702-if { (eval echo "$as_me:12213: \"$ac_link\"") >&5
    50772 +if { (eval echo "$as_me:12873: \"$ac_link\"") >&5
     69703+if { (eval echo "$as_me:12941: \"$ac_link\"") >&5
    5077369704   (eval $ac_link) 2>&5
    5077469705   ac_status=$?
    5077569706-  echo "$as_me:12216: \$? = $ac_status" >&5
    50776 +  echo "$as_me:12876: \$? = $ac_status" >&5
     69707+  echo "$as_me:12944: \$? = $ac_status" >&5
    5077769708   (exit $ac_status); } &&
    5077869709          { ac_try='test -s conftest$ac_exeext'
    5077969710-  { (eval echo "$as_me:12219: \"$ac_try\"") >&5
    50780 +  { (eval echo "$as_me:12879: \"$ac_try\"") >&5
     69711+  { (eval echo "$as_me:12947: \"$ac_try\"") >&5
    5078169712   (eval $ac_try) 2>&5
    5078269713   ac_status=$?
    5078369714-  echo "$as_me:12222: \$? = $ac_status" >&5
    50784 +  echo "$as_me:12882: \$? = $ac_status" >&5
     69715+  echo "$as_me:12950: \$? = $ac_status" >&5
    5078569716   (exit $ac_status); }; }; then
    5078669717   ac_cv_lib_X11_XOpenDisplay=yes
    5078769718 else
    50788 @@ -12230,13 +12890,13 @@
     69719@@ -12230,13 +12958,13 @@
    5078969720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5079069721 LIBS=$ac_check_lib_save_LIBS
    5079169722 fi
    5079269723-echo "$as_me:12233: result: $ac_cv_lib_X11_XOpenDisplay" >&5
    50793 +echo "$as_me:12893: result: $ac_cv_lib_X11_XOpenDisplay" >&5
     69724+echo "$as_me:12961: result: $ac_cv_lib_X11_XOpenDisplay" >&5
    5079469725 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
    5079569726 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
     
    5079869729 
    5079969730-echo "$as_me:12239: checking for XCurses library" >&5
    50800 +echo "$as_me:12899: checking for XCurses library" >&5
     69731+echo "$as_me:12967: checking for XCurses library" >&5
    5080169732 echo $ECHO_N "checking for XCurses library... $ECHO_C" >&6
    5080269733 if test "${cf_cv_lib_XCurses+set}" = set; then
    5080369734   echo $ECHO_N "(cached) $ECHO_C" >&6
    50804 @@ -12244,7 +12904,7 @@
     69735@@ -12244,7 +12972,7 @@
    5080569736 
    5080669737 LIBS="-lXCurses $LIBS"
    5080769738 cat >conftest.$ac_ext <<_ACEOF
    5080869739-#line 12247 "configure"
    50809 +#line 12907 "configure"
     69740+#line 12975 "configure"
    5081069741 #include "confdefs.h"
    5081169742 
    5081269743 #include <xcurses.h>
    50813 @@ -12259,16 +12919,16 @@
     69744@@ -12259,16 +12987,16 @@
    5081469745 }
    5081569746 _ACEOF
    5081669747 rm -f conftest.$ac_objext conftest$ac_exeext
    5081769748-if { (eval echo "$as_me:12262: \"$ac_link\"") >&5
    50818 +if { (eval echo "$as_me:12922: \"$ac_link\"") >&5
     69749+if { (eval echo "$as_me:12990: \"$ac_link\"") >&5
    5081969750   (eval $ac_link) 2>&5
    5082069751   ac_status=$?
    5082169752-  echo "$as_me:12265: \$? = $ac_status" >&5
    50822 +  echo "$as_me:12925: \$? = $ac_status" >&5
     69753+  echo "$as_me:12993: \$? = $ac_status" >&5
    5082369754   (exit $ac_status); } &&
    5082469755          { ac_try='test -s conftest$ac_exeext'
    5082569756-  { (eval echo "$as_me:12268: \"$ac_try\"") >&5
    50826 +  { (eval echo "$as_me:12928: \"$ac_try\"") >&5
     69757+  { (eval echo "$as_me:12996: \"$ac_try\"") >&5
    5082769758   (eval $ac_try) 2>&5
    5082869759   ac_status=$?
    5082969760-  echo "$as_me:12271: \$? = $ac_status" >&5
    50830 +  echo "$as_me:12931: \$? = $ac_status" >&5
     69761+  echo "$as_me:12999: \$? = $ac_status" >&5
    5083169762   (exit $ac_status); }; }; then
    5083269763   cf_cv_lib_XCurses=yes
    5083369764 else
    50834 @@ -12279,7 +12939,7 @@
     69765@@ -12279,7 +13007,7 @@
    5083569766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5083669767 
    5083769768 fi
    5083869769-echo "$as_me:12282: result: $cf_cv_lib_XCurses" >&5
    50839 +echo "$as_me:12942: result: $cf_cv_lib_XCurses" >&5
     69770+echo "$as_me:13010: result: $cf_cv_lib_XCurses" >&5
    5084069771 echo "${ECHO_T}$cf_cv_lib_XCurses" >&6
    5084169772 
    5084269773 fi
    50843 @@ -12293,23 +12953,23 @@
     69774@@ -12293,23 +13021,23 @@
    5084469775 #define XCURSES 1
    5084569776 EOF
    5084669777 
    5084769778-       echo "$as_me:12296: checking for xcurses.h" >&5
    50848 +       echo "$as_me:12956: checking for xcurses.h" >&5
     69779+       echo "$as_me:13024: checking for xcurses.h" >&5
    5084969780 echo $ECHO_N "checking for xcurses.h... $ECHO_C" >&6
    5085069781 if test "${ac_cv_header_xcurses_h+set}" = set; then
     
    5085369784   cat >conftest.$ac_ext <<_ACEOF
    5085469785-#line 12302 "configure"
    50855 +#line 12962 "configure"
     69786+#line 13030 "configure"
    5085669787 #include "confdefs.h"
    5085769788 #include <xcurses.h>
    5085869789 _ACEOF
    5085969790-if { (eval echo "$as_me:12306: \"$ac_cpp conftest.$ac_ext\"") >&5
    50860 +if { (eval echo "$as_me:12966: \"$ac_cpp conftest.$ac_ext\"") >&5
     69791+if { (eval echo "$as_me:13034: \"$ac_cpp conftest.$ac_ext\"") >&5
    5086169792   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5086269793   ac_status=$?
     
    5086569796   cat conftest.err >&5
    5086669797-  echo "$as_me:12312: \$? = $ac_status" >&5
    50867 +  echo "$as_me:12972: \$? = $ac_status" >&5
     69798+  echo "$as_me:13040: \$? = $ac_status" >&5
    5086869799   (exit $ac_status); } >/dev/null; then
    5086969800   if test -s conftest.err; then
    5087069801     ac_cpp_err=$ac_c_preproc_warn_flag
    50871 @@ -12328,7 +12988,7 @@
     69802@@ -12328,7 +13056,7 @@
    5087269803 fi
    5087369804 rm -f conftest.err conftest.$ac_ext
    5087469805 fi
    5087569806-echo "$as_me:12331: result: $ac_cv_header_xcurses_h" >&5
    50876 +echo "$as_me:12991: result: $ac_cv_header_xcurses_h" >&5
     69807+echo "$as_me:13059: result: $ac_cv_header_xcurses_h" >&5
    5087769808 echo "${ECHO_T}$ac_cv_header_xcurses_h" >&6
    5087869809 if test $ac_cv_header_xcurses_h = yes; then
    5087969810   cat >>confdefs.h <<\EOF
    50880 @@ -12338,7 +12998,7 @@
     69811@@ -12338,7 +13066,7 @@
    5088169812 fi
    5088269813 
    5088369814 else
    5088469815-       { { echo "$as_me:12341: error: Cannot link with XCurses" >&5
    50885 +       { { echo "$as_me:13001: error: Cannot link with XCurses" >&5
     69816+       { { echo "$as_me:13069: error: Cannot link with XCurses" >&5
    5088669817 echo "$as_me: error: Cannot link with XCurses" >&2;}
    5088769818    { (exit 1); exit 1; }; }
    5088869819 fi
    50889 @@ -12346,6 +13006,122 @@
     69820@@ -12346,6 +13074,122 @@
    5089069821        ;;
    5089169822 esac
     
    5089469825+curses|curses_*)
    5089569826+
    50896 +echo "$as_me:13012: checking for NetBSD form.h" >&5
     69827+echo "$as_me:13080: checking for NetBSD form.h" >&5
    5089769828+echo $ECHO_N "checking for NetBSD form.h... $ECHO_C" >&6
    5089869829+if test "${cf_cv_netbsd_form_h+set}" = set; then
     
    5090169832+
    5090269833+cat >conftest.$ac_ext <<_ACEOF
    50903 +#line 13019 "configure"
     69834+#line 13087 "configure"
    5090469835+#include "confdefs.h"
    5090569836+
     
    5092069851+_ACEOF
    5092169852+rm -f conftest.$ac_objext
    50922 +if { (eval echo "$as_me:13038: \"$ac_compile\"") >&5
     69853+if { (eval echo "$as_me:13106: \"$ac_compile\"") >&5
    5092369854+  (eval $ac_compile) 2>&5
    5092469855+  ac_status=$?
    50925 +  echo "$as_me:13041: \$? = $ac_status" >&5
     69856+  echo "$as_me:13109: \$? = $ac_status" >&5
    5092669857+  (exit $ac_status); } &&
    5092769858+         { ac_try='test -s conftest.$ac_objext'
    50928 +  { (eval echo "$as_me:13044: \"$ac_try\"") >&5
     69859+  { (eval echo "$as_me:13112: \"$ac_try\"") >&5
    5092969860+  (eval $ac_try) 2>&5
    5093069861+  ac_status=$?
    50931 +  echo "$as_me:13047: \$? = $ac_status" >&5
     69862+  echo "$as_me:13115: \$? = $ac_status" >&5
    5093269863+  (exit $ac_status); }; }; then
    5093369864+  cf_cv_netbsd_form_h=yes
     
    5094169872+
    5094269873+fi
    50943 +echo "$as_me:13059: result: $cf_cv_netbsd_form_h" >&5
     69874+echo "$as_me:13127: result: $cf_cv_netbsd_form_h" >&5
    5094469875+echo "${ECHO_T}$cf_cv_netbsd_form_h" >&6
    5094569876+
     
    5094869879+EOF
    5094969880+
    50950 +echo "$as_me:13066: checking for NetBSD menu.h" >&5
     69881+echo "$as_me:13134: checking for NetBSD menu.h" >&5
    5095169882+echo $ECHO_N "checking for NetBSD menu.h... $ECHO_C" >&6
    5095269883+if test "${cf_cv_netbsd_menu_h+set}" = set; then
     
    5095569886+
    5095669887+cat >conftest.$ac_ext <<_ACEOF
    50957 +#line 13073 "configure"
     69888+#line 13141 "configure"
    5095869889+#include "confdefs.h"
    5095969890+
     
    5097369904+_ACEOF
    5097469905+rm -f conftest.$ac_objext
    50975 +if { (eval echo "$as_me:13091: \"$ac_compile\"") >&5
     69906+if { (eval echo "$as_me:13159: \"$ac_compile\"") >&5
    5097669907+  (eval $ac_compile) 2>&5
    5097769908+  ac_status=$?
    50978 +  echo "$as_me:13094: \$? = $ac_status" >&5
     69909+  echo "$as_me:13162: \$? = $ac_status" >&5
    5097969910+  (exit $ac_status); } &&
    5098069911+         { ac_try='test -s conftest.$ac_objext'
    50981 +  { (eval echo "$as_me:13097: \"$ac_try\"") >&5
     69912+  { (eval echo "$as_me:13165: \"$ac_try\"") >&5
    5098269913+  (eval $ac_try) 2>&5
    5098369914+  ac_status=$?
    50984 +  echo "$as_me:13100: \$? = $ac_status" >&5
     69915+  echo "$as_me:13168: \$? = $ac_status" >&5
    5098569916+  (exit $ac_status); }; }; then
    5098669917+  cf_cv_netbsd_menu_h=yes
     
    5099469925+
    5099569926+fi
    50996 +echo "$as_me:13112: result: $cf_cv_netbsd_menu_h" >&5
     69927+echo "$as_me:13180: result: $cf_cv_netbsd_menu_h" >&5
    5099769928+echo "${ECHO_T}$cf_cv_netbsd_menu_h" >&6
    5099869929+
     
    5101069941 pdcurses) #(vi
    5101169942        ;;
    51012 @@ -12353,7 +13129,7 @@
     69943@@ -12353,7 +13197,7 @@
    5101369944        # look for curses-related libraries
    5101469945 
    5101569946 as_ac_Lib=`echo "ac_cv_lib_panel$cf_cv_libtype''_new_panel" | $as_tr_sh`
    5101669947-echo "$as_me:12356: checking for new_panel in -lpanel$cf_cv_libtype" >&5
    51017 +echo "$as_me:13132: checking for new_panel in -lpanel$cf_cv_libtype" >&5
     69948+echo "$as_me:13200: checking for new_panel in -lpanel$cf_cv_libtype" >&5
    5101869949 echo $ECHO_N "checking for new_panel in -lpanel$cf_cv_libtype... $ECHO_C" >&6
    5101969950 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    5102069951   echo $ECHO_N "(cached) $ECHO_C" >&6
    51021 @@ -12361,7 +13137,7 @@
     69952@@ -12361,7 +13205,7 @@
    5102269953   ac_check_lib_save_LIBS=$LIBS
    5102369954 LIBS="-lpanel$cf_cv_libtype  $LIBS"
    5102469955 cat >conftest.$ac_ext <<_ACEOF
    5102569956-#line 12364 "configure"
    51026 +#line 13140 "configure"
     69957+#line 13208 "configure"
    5102769958 #include "confdefs.h"
    5102869959 
    5102969960 /* Override any gcc2 internal prototype to avoid an error.  */
    51030 @@ -12380,16 +13156,16 @@
     69961@@ -12380,16 +13224,16 @@
    5103169962 }
    5103269963 _ACEOF
    5103369964 rm -f conftest.$ac_objext conftest$ac_exeext
    5103469965-if { (eval echo "$as_me:12383: \"$ac_link\"") >&5
    51035 +if { (eval echo "$as_me:13159: \"$ac_link\"") >&5
     69966+if { (eval echo "$as_me:13227: \"$ac_link\"") >&5
    5103669967   (eval $ac_link) 2>&5
    5103769968   ac_status=$?
    5103869969-  echo "$as_me:12386: \$? = $ac_status" >&5
    51039 +  echo "$as_me:13162: \$? = $ac_status" >&5
     69970+  echo "$as_me:13230: \$? = $ac_status" >&5
    5104069971   (exit $ac_status); } &&
    5104169972          { ac_try='test -s conftest$ac_exeext'
    5104269973-  { (eval echo "$as_me:12389: \"$ac_try\"") >&5
    51043 +  { (eval echo "$as_me:13165: \"$ac_try\"") >&5
     69974+  { (eval echo "$as_me:13233: \"$ac_try\"") >&5
    5104469975   (eval $ac_try) 2>&5
    5104569976   ac_status=$?
    5104669977-  echo "$as_me:12392: \$? = $ac_status" >&5
    51047 +  echo "$as_me:13168: \$? = $ac_status" >&5
     69978+  echo "$as_me:13236: \$? = $ac_status" >&5
    5104869979   (exit $ac_status); }; }; then
    5104969980   eval "$as_ac_Lib=yes"
    5105069981 else
    51051 @@ -12400,7 +13176,7 @@
     69982@@ -12400,7 +13244,7 @@
    5105269983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5105369984 LIBS=$ac_check_lib_save_LIBS
    5105469985 fi
    5105569986-echo "$as_me:12403: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    51056 +echo "$as_me:13179: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     69987+echo "$as_me:13247: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    5105769988 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    5105869989 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    5105969990   cat >>confdefs.h <<EOF
    51060 @@ -12412,7 +13188,7 @@
     69991@@ -12412,7 +13256,7 @@
    5106169992 fi
    5106269993 
    5106369994 as_ac_Lib=`echo "ac_cv_lib_menu$cf_cv_libtype''_menu_driver" | $as_tr_sh`
    5106469995-echo "$as_me:12415: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
    51065 +echo "$as_me:13191: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
     69996+echo "$as_me:13259: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
    5106669997 echo $ECHO_N "checking for menu_driver in -lmenu$cf_cv_libtype... $ECHO_C" >&6
    5106769998 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    5106869999   echo $ECHO_N "(cached) $ECHO_C" >&6
    51069 @@ -12420,7 +13196,7 @@
     70000@@ -12420,7 +13264,7 @@
    5107070001   ac_check_lib_save_LIBS=$LIBS
    5107170002 LIBS="-lmenu$cf_cv_libtype  $LIBS"
    5107270003 cat >conftest.$ac_ext <<_ACEOF
    5107370004-#line 12423 "configure"
    51074 +#line 13199 "configure"
     70005+#line 13267 "configure"
    5107570006 #include "confdefs.h"
    5107670007 
    5107770008 /* Override any gcc2 internal prototype to avoid an error.  */
    51078 @@ -12439,16 +13215,16 @@
     70009@@ -12439,16 +13283,16 @@
    5107970010 }
    5108070011 _ACEOF
    5108170012 rm -f conftest.$ac_objext conftest$ac_exeext
    5108270013-if { (eval echo "$as_me:12442: \"$ac_link\"") >&5
    51083 +if { (eval echo "$as_me:13218: \"$ac_link\"") >&5
     70014+if { (eval echo "$as_me:13286: \"$ac_link\"") >&5
    5108470015   (eval $ac_link) 2>&5
    5108570016   ac_status=$?
    5108670017-  echo "$as_me:12445: \$? = $ac_status" >&5
    51087 +  echo "$as_me:13221: \$? = $ac_status" >&5
     70018+  echo "$as_me:13289: \$? = $ac_status" >&5
    5108870019   (exit $ac_status); } &&
    5108970020          { ac_try='test -s conftest$ac_exeext'
    5109070021-  { (eval echo "$as_me:12448: \"$ac_try\"") >&5
    51091 +  { (eval echo "$as_me:13224: \"$ac_try\"") >&5
     70022+  { (eval echo "$as_me:13292: \"$ac_try\"") >&5
    5109270023   (eval $ac_try) 2>&5
    5109370024   ac_status=$?
    5109470025-  echo "$as_me:12451: \$? = $ac_status" >&5
    51095 +  echo "$as_me:13227: \$? = $ac_status" >&5
     70026+  echo "$as_me:13295: \$? = $ac_status" >&5
    5109670027   (exit $ac_status); }; }; then
    5109770028   eval "$as_ac_Lib=yes"
    5109870029 else
    51099 @@ -12459,7 +13235,7 @@
     70030@@ -12459,7 +13303,7 @@
    5110070031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5110170032 LIBS=$ac_check_lib_save_LIBS
    5110270033 fi
    5110370034-echo "$as_me:12462: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    51104 +echo "$as_me:13238: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     70035+echo "$as_me:13306: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    5110570036 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    5110670037 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    5110770038   cat >>confdefs.h <<EOF
    51108 @@ -12471,7 +13247,7 @@
     70039@@ -12471,7 +13315,7 @@
    5110970040 fi
    5111070041 
    5111170042 as_ac_Lib=`echo "ac_cv_lib_form$cf_cv_libtype''_form_driver" | $as_tr_sh`
    5111270043-echo "$as_me:12474: checking for form_driver in -lform$cf_cv_libtype" >&5
    51113 +echo "$as_me:13250: checking for form_driver in -lform$cf_cv_libtype" >&5
     70044+echo "$as_me:13318: checking for form_driver in -lform$cf_cv_libtype" >&5
    5111470045 echo $ECHO_N "checking for form_driver in -lform$cf_cv_libtype... $ECHO_C" >&6
    5111570046 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    5111670047   echo $ECHO_N "(cached) $ECHO_C" >&6
    51117 @@ -12479,7 +13255,7 @@
     70048@@ -12479,7 +13323,7 @@
    5111870049   ac_check_lib_save_LIBS=$LIBS
    5111970050 LIBS="-lform$cf_cv_libtype  $LIBS"
    5112070051 cat >conftest.$ac_ext <<_ACEOF
    5112170052-#line 12482 "configure"
    51122 +#line 13258 "configure"
     70053+#line 13326 "configure"
    5112370054 #include "confdefs.h"
    5112470055 
    5112570056 /* Override any gcc2 internal prototype to avoid an error.  */
    51126 @@ -12498,16 +13274,16 @@
     70057@@ -12498,16 +13342,16 @@
    5112770058 }
    5112870059 _ACEOF
    5112970060 rm -f conftest.$ac_objext conftest$ac_exeext
    5113070061-if { (eval echo "$as_me:12501: \"$ac_link\"") >&5
    51131 +if { (eval echo "$as_me:13277: \"$ac_link\"") >&5
     70062+if { (eval echo "$as_me:13345: \"$ac_link\"") >&5
    5113270063   (eval $ac_link) 2>&5
    5113370064   ac_status=$?
    5113470065-  echo "$as_me:12504: \$? = $ac_status" >&5
    51135 +  echo "$as_me:13280: \$? = $ac_status" >&5
     70066+  echo "$as_me:13348: \$? = $ac_status" >&5
    5113670067   (exit $ac_status); } &&
    5113770068          { ac_try='test -s conftest$ac_exeext'
    5113870069-  { (eval echo "$as_me:12507: \"$ac_try\"") >&5
    51139 +  { (eval echo "$as_me:13283: \"$ac_try\"") >&5
     70070+  { (eval echo "$as_me:13351: \"$ac_try\"") >&5
    5114070071   (eval $ac_try) 2>&5
    5114170072   ac_status=$?
    5114270073-  echo "$as_me:12510: \$? = $ac_status" >&5
    51143 +  echo "$as_me:13286: \$? = $ac_status" >&5
     70074+  echo "$as_me:13354: \$? = $ac_status" >&5
    5114470075   (exit $ac_status); }; }; then
    5114570076   eval "$as_ac_Lib=yes"
    5114670077 else
    51147 @@ -12518,7 +13294,7 @@
     70078@@ -12518,7 +13362,7 @@
    5114870079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5114970080 LIBS=$ac_check_lib_save_LIBS
    5115070081 fi
    5115170082-echo "$as_me:12521: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    51152 +echo "$as_me:13297: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     70083+echo "$as_me:13365: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    5115370084 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    5115470085 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    5115570086   cat >>confdefs.h <<EOF
    51156 @@ -12541,23 +13317,23 @@
     70087@@ -12541,23 +13385,23 @@
    5115770088 
    5115870089 do
    5115970090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5116070091-echo "$as_me:12544: checking for $ac_header" >&5
    51161 +echo "$as_me:13320: checking for $ac_header" >&5
     70092+echo "$as_me:13388: checking for $ac_header" >&5
    5116270093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5116370094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    5116670097   cat >conftest.$ac_ext <<_ACEOF
    5116770098-#line 12550 "configure"
    51168 +#line 13326 "configure"
     70099+#line 13394 "configure"
    5116970100 #include "confdefs.h"
    5117070101 #include <$ac_header>
    5117170102 _ACEOF
    5117270103-if { (eval echo "$as_me:12554: \"$ac_cpp conftest.$ac_ext\"") >&5
    51173 +if { (eval echo "$as_me:13330: \"$ac_cpp conftest.$ac_ext\"") >&5
     70104+if { (eval echo "$as_me:13398: \"$ac_cpp conftest.$ac_ext\"") >&5
    5117470105   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5117570106   ac_status=$?
     
    5117870109   cat conftest.err >&5
    5117970110-  echo "$as_me:12560: \$? = $ac_status" >&5
    51180 +  echo "$as_me:13336: \$? = $ac_status" >&5
     70111+  echo "$as_me:13404: \$? = $ac_status" >&5
    5118170112   (exit $ac_status); } >/dev/null; then
    5118270113   if test -s conftest.err; then
    5118370114     ac_cpp_err=$ac_c_preproc_warn_flag
    51184 @@ -12576,7 +13352,7 @@
     70115@@ -12576,7 +13420,7 @@
    5118570116 fi
    5118670117 rm -f conftest.err conftest.$ac_ext
    5118770118 fi
    5118870119-echo "$as_me:12579: result: `eval echo '${'$as_ac_Header'}'`" >&5
    51189 +echo "$as_me:13355: result: `eval echo '${'$as_ac_Header'}'`" >&5
     70120+echo "$as_me:13423: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5119070121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5119170122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    5119270123   cat >>confdefs.h <<EOF
    51193 @@ -12589,13 +13365,13 @@
     70124@@ -12589,13 +13433,13 @@
    5119470125        ;;
    5119570126 esac
    5119670127 
    5119770128-echo "$as_me:12592: checking return type of signal handlers" >&5
    51198 +echo "$as_me:13368: checking return type of signal handlers" >&5
     70129+echo "$as_me:13436: checking return type of signal handlers" >&5
    5119970130 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    5120070131 if test "${ac_cv_type_signal+set}" = set; then
     
    5120370134   cat >conftest.$ac_ext <<_ACEOF
    5120470135-#line 12598 "configure"
    51205 +#line 13374 "configure"
     70136+#line 13442 "configure"
    5120670137 #include "confdefs.h"
    5120770138 #include <sys/types.h>
    5120870139 #include <signal.h>
    51209 @@ -12617,16 +13393,16 @@
     70140@@ -12617,16 +13461,16 @@
    5121070141 }
    5121170142 _ACEOF
    5121270143 rm -f conftest.$ac_objext
    5121370144-if { (eval echo "$as_me:12620: \"$ac_compile\"") >&5
    51214 +if { (eval echo "$as_me:13396: \"$ac_compile\"") >&5
     70145+if { (eval echo "$as_me:13464: \"$ac_compile\"") >&5
    5121570146   (eval $ac_compile) 2>&5
    5121670147   ac_status=$?
    5121770148-  echo "$as_me:12623: \$? = $ac_status" >&5
    51218 +  echo "$as_me:13399: \$? = $ac_status" >&5
     70149+  echo "$as_me:13467: \$? = $ac_status" >&5
    5121970150   (exit $ac_status); } &&
    5122070151          { ac_try='test -s conftest.$ac_objext'
    5122170152-  { (eval echo "$as_me:12626: \"$ac_try\"") >&5
    51222 +  { (eval echo "$as_me:13402: \"$ac_try\"") >&5
     70153+  { (eval echo "$as_me:13470: \"$ac_try\"") >&5
    5122370154   (eval $ac_try) 2>&5
    5122470155   ac_status=$?
    5122570156-  echo "$as_me:12629: \$? = $ac_status" >&5
    51226 +  echo "$as_me:13405: \$? = $ac_status" >&5
     70157+  echo "$as_me:13473: \$? = $ac_status" >&5
    5122770158   (exit $ac_status); }; }; then
    5122870159   ac_cv_type_signal=void
    5122970160 else
    51230 @@ -12636,20 +13412,20 @@
     70161@@ -12636,20 +13480,20 @@
    5123170162 fi
    5123270163 rm -f conftest.$ac_objext conftest.$ac_ext
    5123370164 fi
    5123470165-echo "$as_me:12639: result: $ac_cv_type_signal" >&5
    51235 +echo "$as_me:13415: result: $ac_cv_type_signal" >&5
     70166+echo "$as_me:13483: result: $ac_cv_type_signal" >&5
    5123670167 echo "${ECHO_T}$ac_cv_type_signal" >&6
    5123770168 
     
    5124170172 
    5124270173-echo "$as_me:12646: checking for ANSI C header files" >&5
    51243 +echo "$as_me:13422: checking for ANSI C header files" >&5
     70174+echo "$as_me:13490: checking for ANSI C header files" >&5
    5124470175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5124570176 if test "${ac_cv_header_stdc+set}" = set; then
     
    5124870179   cat >conftest.$ac_ext <<_ACEOF
    5124970180-#line 12652 "configure"
    51250 +#line 13428 "configure"
     70181+#line 13496 "configure"
    5125170182 #include "confdefs.h"
    5125270183 #include <stdlib.h>
    5125370184 #include <stdarg.h>
    51254 @@ -12657,13 +13433,13 @@
     70185@@ -12657,13 +13501,13 @@
    5125570186 #include <float.h>
    5125670187 
    5125770188 _ACEOF
    5125870189-if { (eval echo "$as_me:12660: \"$ac_cpp conftest.$ac_ext\"") >&5
    51259 +if { (eval echo "$as_me:13436: \"$ac_cpp conftest.$ac_ext\"") >&5
     70190+if { (eval echo "$as_me:13504: \"$ac_cpp conftest.$ac_ext\"") >&5
    5126070191   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5126170192   ac_status=$?
     
    5126470195   cat conftest.err >&5
    5126570196-  echo "$as_me:12666: \$? = $ac_status" >&5
    51266 +  echo "$as_me:13442: \$? = $ac_status" >&5
     70197+  echo "$as_me:13510: \$? = $ac_status" >&5
    5126770198   (exit $ac_status); } >/dev/null; then
    5126870199   if test -s conftest.err; then
    5126970200     ac_cpp_err=$ac_c_preproc_warn_flag
    51270 @@ -12685,7 +13461,7 @@
     70201@@ -12685,7 +13529,7 @@
    5127170202 if test $ac_cv_header_stdc = yes; then
    5127270203   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5127370204   cat >conftest.$ac_ext <<_ACEOF
    5127470205-#line 12688 "configure"
    51275 +#line 13464 "configure"
     70206+#line 13532 "configure"
    5127670207 #include "confdefs.h"
    5127770208 #include <string.h>
    5127870209 
    51279 @@ -12703,7 +13479,7 @@
     70210@@ -12703,7 +13547,7 @@
    5128070211 if test $ac_cv_header_stdc = yes; then
    5128170212   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5128270213   cat >conftest.$ac_ext <<_ACEOF
    5128370214-#line 12706 "configure"
    51284 +#line 13482 "configure"
     70215+#line 13550 "configure"
    5128570216 #include "confdefs.h"
    5128670217 #include <stdlib.h>
    5128770218 
    51288 @@ -12724,7 +13500,7 @@
     70219@@ -12724,7 +13568,7 @@
    5128970220   :
    5129070221 else
    5129170222   cat >conftest.$ac_ext <<_ACEOF
    5129270223-#line 12727 "configure"
    51293 +#line 13503 "configure"
     70224+#line 13571 "configure"
    5129470225 #include "confdefs.h"
    5129570226 #include <ctype.h>
    5129670227 #if ((' ' & 0x0FF) == 0x020)
    51297 @@ -12750,15 +13526,15 @@
     70228@@ -12750,15 +13594,15 @@
    5129870229 }
    5129970230 _ACEOF
    5130070231 rm -f conftest$ac_exeext
    5130170232-if { (eval echo "$as_me:12753: \"$ac_link\"") >&5
    51302 +if { (eval echo "$as_me:13529: \"$ac_link\"") >&5
     70233+if { (eval echo "$as_me:13597: \"$ac_link\"") >&5
    5130370234   (eval $ac_link) 2>&5
    5130470235   ac_status=$?
    5130570236-  echo "$as_me:12756: \$? = $ac_status" >&5
    51306 +  echo "$as_me:13532: \$? = $ac_status" >&5
     70237+  echo "$as_me:13600: \$? = $ac_status" >&5
    5130770238   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5130870239-  { (eval echo "$as_me:12758: \"$ac_try\"") >&5
    51309 +  { (eval echo "$as_me:13534: \"$ac_try\"") >&5
     70240+  { (eval echo "$as_me:13602: \"$ac_try\"") >&5
    5131070241   (eval $ac_try) 2>&5
    5131170242   ac_status=$?
    5131270243-  echo "$as_me:12761: \$? = $ac_status" >&5
    51313 +  echo "$as_me:13537: \$? = $ac_status" >&5
     70244+  echo "$as_me:13605: \$? = $ac_status" >&5
    5131470245   (exit $ac_status); }; }; then
    5131570246   :
    5131670247 else
    51317 @@ -12771,146 +13547,319 @@
     70248@@ -12771,146 +13615,319 @@
    5131870249 fi
    5131970250 fi
     
    5132570256-cat >>confdefs.h <<\EOF
    5132670257-#define STDC_HEADERS 1
    51327 +echo "$as_me:13550: result: $ac_cv_header_stdc" >&5
     70258+echo "$as_me:13618: result: $ac_cv_header_stdc" >&5
    5132870259+echo "${ECHO_T}$ac_cv_header_stdc" >&6
    5132970260+if test $ac_cv_header_stdc = yes; then
     
    5133570266+fi
    5133670267+
    51337 +echo "$as_me:13560: checking whether time.h and sys/time.h may both be included" >&5
     70268+echo "$as_me:13628: checking whether time.h and sys/time.h may both be included" >&5
    5133870269+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    5133970270+if test "${ac_cv_header_time+set}" = set; then
     
    5134170272+else
    5134270273+  cat >conftest.$ac_ext <<_ACEOF
    51343 +#line 13566 "configure"
     70274+#line 13634 "configure"
    5134470275+#include "confdefs.h"
    5134570276+#include <sys/types.h>
     
    5135770288+_ACEOF
    5135870289+rm -f conftest.$ac_objext
    51359 +if { (eval echo "$as_me:13582: \"$ac_compile\"") >&5
     70290+if { (eval echo "$as_me:13650: \"$ac_compile\"") >&5
    5136070291+  (eval $ac_compile) 2>&5
    5136170292+  ac_status=$?
    51362 +  echo "$as_me:13585: \$? = $ac_status" >&5
     70293+  echo "$as_me:13653: \$? = $ac_status" >&5
    5136370294+  (exit $ac_status); } &&
    5136470295+         { ac_try='test -s conftest.$ac_objext'
    51365 +  { (eval echo "$as_me:13588: \"$ac_try\"") >&5
     70296+  { (eval echo "$as_me:13656: \"$ac_try\"") >&5
    5136670297+  (eval $ac_try) 2>&5
    5136770298+  ac_status=$?
    51368 +  echo "$as_me:13591: \$? = $ac_status" >&5
     70299+  echo "$as_me:13659: \$? = $ac_status" >&5
    5136970300+  (exit $ac_status); }; }; then
    5137070301+  ac_cv_header_time=yes
     
    5137670307+rm -f conftest.$ac_objext conftest.$ac_ext
    5137770308+fi
    51378 +echo "$as_me:13601: result: $ac_cv_header_time" >&5
     70309+echo "$as_me:13669: result: $ac_cv_header_time" >&5
    5137970310+echo "${ECHO_T}$ac_cv_header_time" >&6
    5138070311+if test $ac_cv_header_time = yes; then
     
    5139970330+do
    5140070331+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    51401 +echo "$as_me:13624: checking for $ac_header" >&5
     70332+echo "$as_me:13692: checking for $ac_header" >&5
    5140270333+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5140370334+if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    5140570336+else
    5140670337+  cat >conftest.$ac_ext <<_ACEOF
    51407 +#line 13630 "configure"
     70338+#line 13698 "configure"
    5140870339+#include "confdefs.h"
    5140970340+#include <$ac_header>
    5141070341+_ACEOF
    51411 +if { (eval echo "$as_me:13634: \"$ac_cpp conftest.$ac_ext\"") >&5
     70342+if { (eval echo "$as_me:13702: \"$ac_cpp conftest.$ac_ext\"") >&5
    5141270343+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5141370344+  ac_status=$?
     
    5141570346+  rm -f conftest.er1
    5141670347+  cat conftest.err >&5
    51417 +  echo "$as_me:13640: \$? = $ac_status" >&5
     70348+  echo "$as_me:13708: \$? = $ac_status" >&5
    5141870349+  (exit $ac_status); } >/dev/null; then
    5141970350+  if test -s conftest.err; then
     
    5143470365+rm -f conftest.err conftest.$ac_ext
    5143570366+fi
    51436 +echo "$as_me:13659: result: `eval echo '${'$as_ac_Header'}'`" >&5
     70367+echo "$as_me:13727: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5143770368+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5143870369+if test `eval echo '${'$as_ac_Header'}'` = yes; then
     
    5144770378+do
    5144870379+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    51449 +echo "$as_me:13672: checking for $ac_header" >&5
     70380+echo "$as_me:13740: checking for $ac_header" >&5
    5145070381+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5145170382+if eval "test \"\${$as_ac_Header+set}\" = set"; then
     
    5145370384+else
    5145470385+  cat >conftest.$ac_ext <<_ACEOF
    51455 +#line 13678 "configure"
     70386+#line 13746 "configure"
    5145670387+#include "confdefs.h"
    5145770388+#include <$ac_header>
    5145870389+_ACEOF
    51459 +if { (eval echo "$as_me:13682: \"$ac_cpp conftest.$ac_ext\"") >&5
     70390+if { (eval echo "$as_me:13750: \"$ac_cpp conftest.$ac_ext\"") >&5
    5146070391+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5146170392+  ac_status=$?
     
    5146370394+  rm -f conftest.er1
    5146470395+  cat conftest.err >&5
    51465 +  echo "$as_me:13688: \$? = $ac_status" >&5
     70396+  echo "$as_me:13756: \$? = $ac_status" >&5
    5146670397+  (exit $ac_status); } >/dev/null; then
    5146770398+  if test -s conftest.err; then
     
    5148270413+rm -f conftest.err conftest.$ac_ext
    5148370414+fi
    51484 +echo "$as_me:13707: result: `eval echo '${'$as_ac_Header'}'`" >&5
     70415+echo "$as_me:13775: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5148570416+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5148670417+if test `eval echo '${'$as_ac_Header'}'` = yes; then
     
    5149570426-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    5149670427-if test "${ac_cv_header_time+set}" = set; then
    51497 +echo "$as_me:13717: checking for header declaring getopt variables" >&5
     70428+echo "$as_me:13785: checking for header declaring getopt variables" >&5
    5149870429+echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6
    5149970430+if test "${cf_cv_getopt_header+set}" = set; then
     
    5150770438+do
    5150870439+cat >conftest.$ac_ext <<_ACEOF
    51509 +#line 13727 "configure"
     70440+#line 13795 "configure"
    5151070441 #include "confdefs.h"
    5151170442-#include <sys/types.h>
     
    5152670457 rm -f conftest.$ac_objext
    5152770458-if { (eval echo "$as_me:12806: \"$ac_compile\"") >&5
    51528 +if { (eval echo "$as_me:13740: \"$ac_compile\"") >&5
     70459+if { (eval echo "$as_me:13808: \"$ac_compile\"") >&5
    5152970460   (eval $ac_compile) 2>&5
    5153070461   ac_status=$?
    5153170462-  echo "$as_me:12809: \$? = $ac_status" >&5
    51532 +  echo "$as_me:13743: \$? = $ac_status" >&5
     70463+  echo "$as_me:13811: \$? = $ac_status" >&5
    5153370464   (exit $ac_status); } &&
    5153470465          { ac_try='test -s conftest.$ac_objext'
    5153570466-  { (eval echo "$as_me:12812: \"$ac_try\"") >&5
    51536 +  { (eval echo "$as_me:13746: \"$ac_try\"") >&5
     70467+  { (eval echo "$as_me:13814: \"$ac_try\"") >&5
    5153770468   (eval $ac_try) 2>&5
    5153870469   ac_status=$?
    5153970470-  echo "$as_me:12815: \$? = $ac_status" >&5
    51540 +  echo "$as_me:13749: \$? = $ac_status" >&5
     70471+  echo "$as_me:13817: \$? = $ac_status" >&5
    5154170472   (exit $ac_status); }; }; then
    5154270473-  ac_cv_header_time=yes
     
    5155870489-#define TIME_WITH_SYS_TIME 1
    5155970490+fi
    51560 +echo "$as_me:13761: result: $cf_cv_getopt_header" >&5
     70491+echo "$as_me:13829: result: $cf_cv_getopt_header" >&5
    5156170492+echo "${ECHO_T}$cf_cv_getopt_header" >&6
    5156270493+if test $cf_cv_getopt_header != none ; then
     
    5158770518-if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5158870519+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    51589 +echo "$as_me:13776: checking for $ac_func" >&5
     70520+echo "$as_me:13844: checking for $ac_func" >&5
    5159070521+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5159170522+if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    5159470525   cat >conftest.$ac_ext <<_ACEOF
    5159570526-#line 12854 "configure"
    51596 +#line 13782 "configure"
     70527+#line 13850 "configure"
    5159770528 #include "confdefs.h"
    5159870529-#include <$ac_header>
     
    5161870549+choke me
    5161970550+#else
    51620 +f = $ac_func;
     70551+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
    5162170552+#endif
    5162270553+
     
    5162870559-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5162970560+rm -f conftest.$ac_objext conftest$ac_exeext
    51630 +if { (eval echo "$as_me:13813: \"$ac_link\"") >&5
     70561+if { (eval echo "$as_me:13881: \"$ac_link\"") >&5
    5163170562+  (eval $ac_link) 2>&5
    5163270563   ac_status=$?
     
    5164670577-if test -z "$ac_cpp_err"; then
    5164770578-  eval "$as_ac_Header=yes"
    51648 +  echo "$as_me:13816: \$? = $ac_status" >&5
     70579+  echo "$as_me:13884: \$? = $ac_status" >&5
    5164970580+  (exit $ac_status); } &&
    5165070581+         { ac_try='test -s conftest$ac_exeext'
    51651 +  { (eval echo "$as_me:13819: \"$ac_try\"") >&5
     70582+  { (eval echo "$as_me:13887: \"$ac_try\"") >&5
    5165270583+  (eval $ac_try) 2>&5
    5165370584+  ac_status=$?
    51654 +  echo "$as_me:13822: \$? = $ac_status" >&5
     70585+  echo "$as_me:13890: \$? = $ac_status" >&5
    5165570586+  (exit $ac_status); }; }; then
    5165670587+  eval "$as_ac_var=yes"
     
    5166870599-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5166970600-if test `eval echo '${'$as_ac_Header'}'` = yes; then
    51670 +echo "$as_me:13832: result: `eval echo '${'$as_ac_var'}'`" >&5
     70601+echo "$as_me:13900: result: `eval echo '${'$as_ac_var'}'`" >&5
    5167170602+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5167270603+if test `eval echo '${'$as_ac_var'}'` = yes; then
     
    5169670627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5169770628-echo "$as_me:12907: checking for $ac_func" >&5
    51698 +echo "$as_me:13856: checking for $ac_func" >&5
     70629+echo "$as_me:13924: checking for $ac_func" >&5
    5169970630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5170070631 if eval "test \"\${$as_ac_var+set}\" = set"; then
     
    5170370634   cat >conftest.$ac_ext <<_ACEOF
    5170470635-#line 12913 "configure"
    51705 +#line 13862 "configure"
     70636+#line 13930 "configure"
    5170670637 #include "confdefs.h"
    5170770638 /* System header to define __stub macros and hopefully few prototypes,
    5170870639     which can conflict with char $ac_func (); below.  */
    51709 @@ -12941,16 +13890,16 @@
     70640@@ -12933,7 +13950,7 @@
     70641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     70642 choke me
     70643 #else
     70644-f = $ac_func;
     70645+f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
     70646 #endif
     70647 
     70648   ;
     70649@@ -12941,16 +13958,16 @@
    5171070650 }
    5171170651 _ACEOF
    5171270652 rm -f conftest.$ac_objext conftest$ac_exeext
    5171370653-if { (eval echo "$as_me:12944: \"$ac_link\"") >&5
    51714 +if { (eval echo "$as_me:13893: \"$ac_link\"") >&5
     70654+if { (eval echo "$as_me:13961: \"$ac_link\"") >&5
    5171570655   (eval $ac_link) 2>&5
    5171670656   ac_status=$?
    5171770657-  echo "$as_me:12947: \$? = $ac_status" >&5
    51718 +  echo "$as_me:13896: \$? = $ac_status" >&5
     70658+  echo "$as_me:13964: \$? = $ac_status" >&5
    5171970659   (exit $ac_status); } &&
    5172070660          { ac_try='test -s conftest$ac_exeext'
    5172170661-  { (eval echo "$as_me:12950: \"$ac_try\"") >&5
    51722 +  { (eval echo "$as_me:13899: \"$ac_try\"") >&5
     70662+  { (eval echo "$as_me:13967: \"$ac_try\"") >&5
    5172370663   (eval $ac_try) 2>&5
    5172470664   ac_status=$?
    5172570665-  echo "$as_me:12953: \$? = $ac_status" >&5
    51726 +  echo "$as_me:13902: \$? = $ac_status" >&5
     70666+  echo "$as_me:13970: \$? = $ac_status" >&5
    5172770667   (exit $ac_status); }; }; then
    5172870668   eval "$as_ac_var=yes"
    5172970669 else
    51730 @@ -12960,7 +13909,7 @@
     70670@@ -12960,7 +13977,7 @@
    5173170671 fi
    5173270672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5173370673 fi
    5173470674-echo "$as_me:12963: result: `eval echo '${'$as_ac_var'}'`" >&5
    51735 +echo "$as_me:13912: result: `eval echo '${'$as_ac_var'}'`" >&5
     70675+echo "$as_me:13980: result: `eval echo '${'$as_ac_var'}'`" >&5
    5173670676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5173770677 if test `eval echo '${'$as_ac_var'}'` = yes; then
    5173870678   cat >>confdefs.h <<EOF
    51739 @@ -12970,14 +13919,16 @@
     70679@@ -12970,14 +13987,16 @@
    5174070680 fi
    5174170681 done
     
    5174470684+fi
    5174570685+
    51746 +echo "$as_me:13924: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
     70686+echo "$as_me:13992: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
    5174770687 echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6
    5174870688 if test "${cf_cv_need_xopen_extension+set}" = set; then
     
    5175270692 cat >conftest.$ac_ext <<_ACEOF
    5175370693-#line 12980 "configure"
    51754 +#line 13931 "configure"
     70694+#line 13999 "configure"
    5175570695 #include "confdefs.h"
    5175670696 
    5175770697 #include <stdlib.h>
    51758 @@ -12999,23 +13950,23 @@
     70698@@ -12999,23 +14018,23 @@
    5175970699 }
    5176070700 _ACEOF
    5176170701 rm -f conftest.$ac_objext conftest$ac_exeext
    5176270702-if { (eval echo "$as_me:13002: \"$ac_link\"") >&5
    51763 +if { (eval echo "$as_me:13953: \"$ac_link\"") >&5
     70703+if { (eval echo "$as_me:14021: \"$ac_link\"") >&5
    5176470704   (eval $ac_link) 2>&5
    5176570705   ac_status=$?
    5176670706-  echo "$as_me:13005: \$? = $ac_status" >&5
    51767 +  echo "$as_me:13956: \$? = $ac_status" >&5
     70707+  echo "$as_me:14024: \$? = $ac_status" >&5
    5176870708   (exit $ac_status); } &&
    5176970709          { ac_try='test -s conftest$ac_exeext'
    5177070710-  { (eval echo "$as_me:13008: \"$ac_try\"") >&5
    51771 +  { (eval echo "$as_me:13959: \"$ac_try\"") >&5
     70711+  { (eval echo "$as_me:14027: \"$ac_try\"") >&5
    5177270712   (eval $ac_try) 2>&5
    5177370713   ac_status=$?
    5177470714-  echo "$as_me:13011: \$? = $ac_status" >&5
    51775 +  echo "$as_me:13962: \$? = $ac_status" >&5
     70715+  echo "$as_me:14030: \$? = $ac_status" >&5
    5177670716   (exit $ac_status); }; }; then
    5177770717   cf_cv_need_xopen_extension=no
     
    5178170721 cat >conftest.$ac_ext <<_ACEOF
    5178270722-#line 13018 "configure"
    51783 +#line 13969 "configure"
     70723+#line 14037 "configure"
    5178470724 #include "confdefs.h"
    5178570725 
    5178670726 #define _XOPEN_SOURCE_EXTENDED
    51787 @@ -13037,16 +13988,16 @@
     70727@@ -13037,16 +14056,16 @@
    5178870728 }
    5178970729 _ACEOF
    5179070730 rm -f conftest.$ac_objext conftest$ac_exeext
    5179170731-if { (eval echo "$as_me:13040: \"$ac_link\"") >&5
    51792 +if { (eval echo "$as_me:13991: \"$ac_link\"") >&5
     70732+if { (eval echo "$as_me:14059: \"$ac_link\"") >&5
    5179370733   (eval $ac_link) 2>&5
    5179470734   ac_status=$?
    5179570735-  echo "$as_me:13043: \$? = $ac_status" >&5
    51796 +  echo "$as_me:13994: \$? = $ac_status" >&5
     70736+  echo "$as_me:14062: \$? = $ac_status" >&5
    5179770737   (exit $ac_status); } &&
    5179870738          { ac_try='test -s conftest$ac_exeext'
    5179970739-  { (eval echo "$as_me:13046: \"$ac_try\"") >&5
    51800 +  { (eval echo "$as_me:13997: \"$ac_try\"") >&5
     70740+  { (eval echo "$as_me:14065: \"$ac_try\"") >&5
    5180170741   (eval $ac_try) 2>&5
    5180270742   ac_status=$?
    5180370743-  echo "$as_me:13049: \$? = $ac_status" >&5
    51804 +  echo "$as_me:14000: \$? = $ac_status" >&5
     70744+  echo "$as_me:14068: \$? = $ac_status" >&5
    5180570745   (exit $ac_status); }; }; then
    5180670746   cf_cv_need_xopen_extension=yes
    5180770747 else
    51808 @@ -13058,11 +14009,11 @@
     70748@@ -13058,11 +14077,11 @@
    5180970749 fi
    5181070750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5181170751 fi
    5181270752-echo "$as_me:13061: result: $cf_cv_need_xopen_extension" >&5
    51813 +echo "$as_me:14012: result: $cf_cv_need_xopen_extension" >&5
     70753+echo "$as_me:14080: result: $cf_cv_need_xopen_extension" >&5
    5181470754 echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6
    5181570755 test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
    5181670756 
    5181770757-echo "$as_me:13065: checking for term.h" >&5
    51818 +echo "$as_me:14016: checking for term.h" >&5
     70758+echo "$as_me:14084: checking for term.h" >&5
    5181970759 echo $ECHO_N "checking for term.h... $ECHO_C" >&6
    5182070760 if test "${cf_cv_term_header+set}" = set; then
    5182170761   echo $ECHO_N "(cached) $ECHO_C" >&6
    51822 @@ -13070,12 +14021,20 @@
     70762@@ -13070,12 +14089,20 @@
    5182370763 
    5182470764 # If we found <ncurses/curses.h>, look for <ncurses/term.h>, but always look
     
    5184170781        cat >conftest.$ac_ext <<_ACEOF
    5184270782-#line 13078 "configure"
    51843 +#line 14037 "configure"
     70783+#line 14105 "configure"
    5184470784 #include "confdefs.h"
    5184570785 
    5184670786 #include <${cf_cv_ncurses_header:-curses.h}>
    51847 @@ -13089,16 +14048,16 @@
     70787@@ -13089,16 +14116,16 @@
    5184870788 }
    5184970789 _ACEOF
    5185070790 rm -f conftest.$ac_objext
    5185170791-if { (eval echo "$as_me:13092: \"$ac_compile\"") >&5
    51852 +if { (eval echo "$as_me:14051: \"$ac_compile\"") >&5
     70792+if { (eval echo "$as_me:14119: \"$ac_compile\"") >&5
    5185370793   (eval $ac_compile) 2>&5
    5185470794   ac_status=$?
    5185570795-  echo "$as_me:13095: \$? = $ac_status" >&5
    51856 +  echo "$as_me:14054: \$? = $ac_status" >&5
     70796+  echo "$as_me:14122: \$? = $ac_status" >&5
    5185770797   (exit $ac_status); } &&
    5185870798          { ac_try='test -s conftest.$ac_objext'
    5185970799-  { (eval echo "$as_me:13098: \"$ac_try\"") >&5
    51860 +  { (eval echo "$as_me:14057: \"$ac_try\"") >&5
     70800+  { (eval echo "$as_me:14125: \"$ac_try\"") >&5
    5186170801   (eval $ac_try) 2>&5
    5186270802   ac_status=$?
    5186370803-  echo "$as_me:13101: \$? = $ac_status" >&5
    51864 +  echo "$as_me:14060: \$? = $ac_status" >&5
     70804+  echo "$as_me:14128: \$? = $ac_status" >&5
    5186570805   (exit $ac_status); }; }; then
    5186670806   cf_cv_term_header=$cf_header
    5186770807         break
    51868 @@ -13117,7 +14076,7 @@
     70808@@ -13117,7 +14144,7 @@
    5186970809        for cf_header in ncurses/term.h ncursesw/term.h
    5187070810        do
    5187170811                cat >conftest.$ac_ext <<_ACEOF
    5187270812-#line 13120 "configure"
    51873 +#line 14079 "configure"
     70813+#line 14147 "configure"
    5187470814 #include "confdefs.h"
    5187570815 
    5187670816 #include <${cf_cv_ncurses_header:-curses.h}>
    51877 @@ -13135,16 +14094,16 @@
     70817@@ -13135,16 +14162,16 @@
    5187870818 }
    5187970819 _ACEOF
    5188070820 rm -f conftest.$ac_objext
    5188170821-if { (eval echo "$as_me:13138: \"$ac_compile\"") >&5
    51882 +if { (eval echo "$as_me:14097: \"$ac_compile\"") >&5
     70822+if { (eval echo "$as_me:14165: \"$ac_compile\"") >&5
    5188370823   (eval $ac_compile) 2>&5
    5188470824   ac_status=$?
    5188570825-  echo "$as_me:13141: \$? = $ac_status" >&5
    51886 +  echo "$as_me:14100: \$? = $ac_status" >&5
     70826+  echo "$as_me:14168: \$? = $ac_status" >&5
    5188770827   (exit $ac_status); } &&
    5188870828          { ac_try='test -s conftest.$ac_objext'
    5188970829-  { (eval echo "$as_me:13144: \"$ac_try\"") >&5
    51890 +  { (eval echo "$as_me:14103: \"$ac_try\"") >&5
     70830+  { (eval echo "$as_me:14171: \"$ac_try\"") >&5
    5189170831   (eval $ac_try) 2>&5
    5189270832   ac_status=$?
    5189370833-  echo "$as_me:13147: \$? = $ac_status" >&5
    51894 +  echo "$as_me:14106: \$? = $ac_status" >&5
     70834+  echo "$as_me:14174: \$? = $ac_status" >&5
    5189570835   (exit $ac_status); }; }; then
    5189670836   cf_cv_term_header=$cf_header
    5189770837                         break
    51898 @@ -13159,7 +14118,7 @@
     70838@@ -13159,7 +14186,7 @@
    5189970839 esac
    5190070840 
    5190170841 fi
    5190270842-echo "$as_me:13162: result: $cf_cv_term_header" >&5
    51903 +echo "$as_me:14121: result: $cf_cv_term_header" >&5
     70843+echo "$as_me:14189: result: $cf_cv_term_header" >&5
    5190470844 echo "${ECHO_T}$cf_cv_term_header" >&6
    5190570845 
    5190670846 case $cf_cv_term_header in #(vi
    51907 @@ -13183,7 +14142,96 @@
     70847@@ -13183,7 +14210,96 @@
    5190870848        ;;
    5190970849 esac
    5191070850 
    51911 +echo "$as_me:14145: checking for unctrl.h" >&5
     70851+echo "$as_me:14213: checking for unctrl.h" >&5
    5191270852+echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6
    5191370853+if test "${cf_cv_unctrl_header+set}" = set; then
     
    5193070870+do
    5193170871+       cat >conftest.$ac_ext <<_ACEOF
    51932 +#line 14166 "configure"
     70872+#line 14234 "configure"
    5193370873+#include "confdefs.h"
    5193470874+
     
    5194470884+_ACEOF
    5194570885+rm -f conftest.$ac_objext
    51946 +if { (eval echo "$as_me:14180: \"$ac_compile\"") >&5
     70886+if { (eval echo "$as_me:14248: \"$ac_compile\"") >&5
    5194770887+  (eval $ac_compile) 2>&5
    5194870888+  ac_status=$?
    51949 +  echo "$as_me:14183: \$? = $ac_status" >&5
     70889+  echo "$as_me:14251: \$? = $ac_status" >&5
    5195070890+  (exit $ac_status); } &&
    5195170891+         { ac_try='test -s conftest.$ac_objext'
    51952 +  { (eval echo "$as_me:14186: \"$ac_try\"") >&5
     70892+  { (eval echo "$as_me:14254: \"$ac_try\"") >&5
    5195370893+  (eval $ac_try) 2>&5
    5195470894+  ac_status=$?
    51955 +  echo "$as_me:14189: \$? = $ac_status" >&5
     70895+  echo "$as_me:14257: \$? = $ac_status" >&5
    5195670896+  (exit $ac_status); }; }; then
    5195770897+  cf_cv_unctrl_header=$cf_header
     
    5196770907+case $cf_cv_unctrl_header in #(vi
    5196870908+no)
    51969 +       { echo "$as_me:14203: WARNING: unctrl.h header not found" >&5
     70909+       { echo "$as_me:14271: WARNING: unctrl.h header not found" >&5
    5197070910+echo "$as_me: WARNING: unctrl.h header not found" >&2;}
    5197170911+       ;;
     
    5197370913+
    5197470914+fi
    51975 +echo "$as_me:14209: result: $cf_cv_unctrl_header" >&5
     70915+echo "$as_me:14277: result: $cf_cv_unctrl_header" >&5
    5197670916+echo "${ECHO_T}$cf_cv_unctrl_header" >&6
    5197770917+
     
    5200270942 color_set \
    5200370943 filter \
    52004 @@ -13210,8 +14258,10 @@
     70944@@ -13210,8 +14326,10 @@
    5200570945 tigetstr \
    5200670946 typeahead \
     
    5201470954 winsstr \
    5201570955 wresize \
    52016 @@ -13221,10 +14271,94 @@
     70956@@ -13221,10 +14339,94 @@
    5201770957 
    5201870958 cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
    5201970959 
    5202070960-       echo "$as_me:13224: checking for ${cf_func}" >&5
    52021 +       echo "$as_me:14274: checking for ${cf_func}" >&5
     70961+       echo "$as_me:14342: checking for ${cf_func}" >&5
    5202270962+echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6
    5202370963+
    52024 +echo "${as_me:-configure}:14277: testing ${cf_func} ..." 1>&5
     70964+echo "${as_me:-configure}:14345: testing ${cf_func} ..." 1>&5
    5202570965+
    5202670966+       if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
     
    5203170971+               if test ".$cf_result" != ".no"; then
    5203270972+                       cat >conftest.$ac_ext <<_ACEOF
    52033 +#line 14286 "configure"
     70973+#line 14354 "configure"
    5203470974+#include "confdefs.h"
    5203570975+
     
    5206371003+_ACEOF
    5206471004+rm -f conftest.$ac_objext conftest$ac_exeext
    52065 +if { (eval echo "$as_me:14318: \"$ac_link\"") >&5
     71005+if { (eval echo "$as_me:14386: \"$ac_link\"") >&5
    5206671006+  (eval $ac_link) 2>&5
    5206771007+  ac_status=$?
    52068 +  echo "$as_me:14321: \$? = $ac_status" >&5
     71008+  echo "$as_me:14389: \$? = $ac_status" >&5
    5206971009+  (exit $ac_status); } &&
    5207071010+         { ac_try='test -s conftest$ac_exeext'
    52071 +  { (eval echo "$as_me:14324: \"$ac_try\"") >&5
     71011+  { (eval echo "$as_me:14392: \"$ac_try\"") >&5
    5207271012+  (eval $ac_try) 2>&5
    5207371013+  ac_status=$?
    52074 +  echo "$as_me:14327: \$? = $ac_status" >&5
     71014+  echo "$as_me:14395: \$? = $ac_status" >&5
    5207571015+  (exit $ac_status); }; }; then
    5207671016+  cf_result=yes
     
    5208871028+       # use the computed/retrieved cache-value:
    5208971029+       eval 'cf_result=$cf_cv_func_'$cf_func
    52090 +       echo "$as_me:14343: result: $cf_result" >&5
     71030+       echo "$as_me:14411: result: $cf_result" >&5
    5209171031+echo "${ECHO_T}$cf_result" >&6
    5209271032+       if test $cf_result != no; then
     
    5210371043+cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
    5210471044+
    52105 +       echo "$as_me:14358: checking for ${cf_func}" >&5
     71045+       echo "$as_me:14426: checking for ${cf_func}" >&5
    5210671046 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6
    5210771047 
    5210871048-echo "${as_me:-configure}:13227: testing ${cf_func} ..." 1>&5
    52109 +echo "${as_me:-configure}:14361: testing ${cf_func} ..." 1>&5
     71049+echo "${as_me:-configure}:14429: testing ${cf_func} ..." 1>&5
    5211071050 
    5211171051        if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
    5211271052   echo $ECHO_N "(cached) $ECHO_C" >&6
    52113 @@ -13233,7 +14367,7 @@
     71053@@ -13233,7 +14435,7 @@
    5211471054                eval cf_result='$ac_cv_func_'$cf_func
    5211571055                if test ".$cf_result" != ".no"; then
    5211671056                        cat >conftest.$ac_ext <<_ACEOF
    5211771057-#line 13236 "configure"
    52118 +#line 14370 "configure"
     71058+#line 14438 "configure"
    5211971059 #include "confdefs.h"
    5212071060 
    5212171061 #ifdef HAVE_XCURSES
    52122 @@ -13256,7 +14390,8 @@
     71062@@ -13256,7 +14458,8 @@
    5212371063 
    5212471064 #ifndef ${cf_func}
     
    5213071070 
    5213171071   ;
    52132 @@ -13264,16 +14399,16 @@
     71072@@ -13264,16 +14467,16 @@
    5213371073 }
    5213471074 _ACEOF
    5213571075 rm -f conftest.$ac_objext conftest$ac_exeext
    5213671076-if { (eval echo "$as_me:13267: \"$ac_link\"") >&5
    52137 +if { (eval echo "$as_me:14402: \"$ac_link\"") >&5
     71077+if { (eval echo "$as_me:14470: \"$ac_link\"") >&5
    5213871078   (eval $ac_link) 2>&5
    5213971079   ac_status=$?
    5214071080-  echo "$as_me:13270: \$? = $ac_status" >&5
    52141 +  echo "$as_me:14405: \$? = $ac_status" >&5
     71081+  echo "$as_me:14473: \$? = $ac_status" >&5
    5214271082   (exit $ac_status); } &&
    5214371083          { ac_try='test -s conftest$ac_exeext'
    5214471084-  { (eval echo "$as_me:13273: \"$ac_try\"") >&5
    52145 +  { (eval echo "$as_me:14408: \"$ac_try\"") >&5
     71085+  { (eval echo "$as_me:14476: \"$ac_try\"") >&5
    5214671086   (eval $ac_try) 2>&5
    5214771087   ac_status=$?
    5214871088-  echo "$as_me:13276: \$? = $ac_status" >&5
    52149 +  echo "$as_me:14411: \$? = $ac_status" >&5
     71089+  echo "$as_me:14479: \$? = $ac_status" >&5
    5215071090   (exit $ac_status); }; }; then
    5215171091   cf_result=yes
    5215271092 else
    52153 @@ -13289,7 +14424,7 @@
     71093@@ -13289,7 +14492,7 @@
    5215471094 
    5215571095        # use the computed/retrieved cache-value:
    5215671096        eval 'cf_result=$cf_cv_func_'$cf_func
    5215771097-       echo "$as_me:13292: result: $cf_result" >&5
    52158 +       echo "$as_me:14427: result: $cf_result" >&5
     71098+       echo "$as_me:14495: result: $cf_result" >&5
    5215971099 echo "${ECHO_T}$cf_result" >&6
    5216071100        if test $cf_result != no; then
    5216171101                cat >>confdefs.h <<EOF
    52162 @@ -13299,14 +14434,82 @@
     71102@@ -13299,14 +14502,82 @@
    5216371103        fi
    5216471104 done
     
    5217971119+                       fi
    5218071120+                       cat >conftest.$ac_ext <<_ACEOF
    52181 +#line 14451 "configure"
     71121+#line 14519 "configure"
    5218271122+#include "confdefs.h"
    5218371123+
     
    5219971139+_ACEOF
    5220071140+rm -f conftest.$ac_objext
    52201 +if { (eval echo "$as_me:14471: \"$ac_compile\"") >&5
     71141+if { (eval echo "$as_me:14539: \"$ac_compile\"") >&5
    5220271142+  (eval $ac_compile) 2>&5
    5220371143+  ac_status=$?
    52204 +  echo "$as_me:14474: \$? = $ac_status" >&5
     71144+  echo "$as_me:14542: \$? = $ac_status" >&5
    5220571145+  (exit $ac_status); } &&
    5220671146+         { ac_try='test -s conftest.$ac_objext'
    52207 +  { (eval echo "$as_me:14477: \"$ac_try\"") >&5
     71147+  { (eval echo "$as_me:14545: \"$ac_try\"") >&5
    5220871148+  (eval $ac_try) 2>&5
    5220971149+  ac_status=$?
    52210 +  echo "$as_me:14480: \$? = $ac_status" >&5
     71150+  echo "$as_me:14548: \$? = $ac_status" >&5
    5221171151+  (exit $ac_status); }; }; then
    5221271152+
    5221371153+               test -n "$verbose" && echo "    prototype $cf_ret func($cf_arg value)" 1>&6
    5221471154+
    52215 +echo "${as_me:-configure}:14485: testing prototype $cf_ret func($cf_arg value) ..." 1>&5
     71155+echo "${as_me:-configure}:14553: testing prototype $cf_ret func($cf_arg value) ..." 1>&5
    5221671156+
    5221771157+               cat >>confdefs.h <<EOF
     
    5223371173+fi
    5223471174+
    52235 +echo "$as_me:14505: checking for ncurses extended functions" >&5
     71175+echo "$as_me:14573: checking for ncurses extended functions" >&5
    5223671176 echo $ECHO_N "checking for ncurses extended functions... $ECHO_C" >&6
    5223771177 if test "${cf_cv_ncurses_ext_funcs+set}" = set; then
     
    5224171181 cat >conftest.$ac_ext <<_ACEOF
    5224271182-#line 13309 "configure"
    52243 +#line 14512 "configure"
     71183+#line 14580 "configure"
    5224471184 #include "confdefs.h"
    5224571185 
    5224671186 #include <${cf_cv_ncurses_header:-curses.h}>
    52247 @@ -13321,16 +14524,16 @@
     71187@@ -13321,16 +14592,16 @@
    5224871188 }
    5224971189 _ACEOF
    5225071190 rm -f conftest.$ac_objext
    5225171191-if { (eval echo "$as_me:13324: \"$ac_compile\"") >&5
    52252 +if { (eval echo "$as_me:14527: \"$ac_compile\"") >&5
     71192+if { (eval echo "$as_me:14595: \"$ac_compile\"") >&5
    5225371193   (eval $ac_compile) 2>&5
    5225471194   ac_status=$?
    5225571195-  echo "$as_me:13327: \$? = $ac_status" >&5
    52256 +  echo "$as_me:14530: \$? = $ac_status" >&5
     71196+  echo "$as_me:14598: \$? = $ac_status" >&5
    5225771197   (exit $ac_status); } &&
    5225871198          { ac_try='test -s conftest.$ac_objext'
    5225971199-  { (eval echo "$as_me:13330: \"$ac_try\"") >&5
    52260 +  { (eval echo "$as_me:14533: \"$ac_try\"") >&5
     71200+  { (eval echo "$as_me:14601: \"$ac_try\"") >&5
    5226171201   (eval $ac_try) 2>&5
    5226271202   ac_status=$?
    5226371203-  echo "$as_me:13333: \$? = $ac_status" >&5
    52264 +  echo "$as_me:14536: \$? = $ac_status" >&5
     71204+  echo "$as_me:14604: \$? = $ac_status" >&5
    5226571205   (exit $ac_status); }; }; then
    5226671206   cf_cv_ncurses_ext_funcs=defined
    5226771207 else
    52268 @@ -13338,7 +14541,7 @@
     71208@@ -13338,7 +14609,7 @@
    5226971209 cat conftest.$ac_ext >&5
    5227071210 
    5227171211 cat >conftest.$ac_ext <<_ACEOF
    5227271212-#line 13341 "configure"
    52273 +#line 14544 "configure"
     71213+#line 14612 "configure"
    5227471214 #include "confdefs.h"
    5227571215 
    5227671216 #include <${cf_cv_ncurses_header:-curses.h}>
    52277 @@ -13363,16 +14566,16 @@
     71217@@ -13363,16 +14634,16 @@
    5227871218 }
    5227971219 _ACEOF
    5228071220 rm -f conftest.$ac_objext conftest$ac_exeext
    5228171221-if { (eval echo "$as_me:13366: \"$ac_link\"") >&5
    52282 +if { (eval echo "$as_me:14569: \"$ac_link\"") >&5
     71222+if { (eval echo "$as_me:14637: \"$ac_link\"") >&5
    5228371223   (eval $ac_link) 2>&5
    5228471224   ac_status=$?
    5228571225-  echo "$as_me:13369: \$? = $ac_status" >&5
    52286 +  echo "$as_me:14572: \$? = $ac_status" >&5
     71226+  echo "$as_me:14640: \$? = $ac_status" >&5
    5228771227   (exit $ac_status); } &&
    5228871228          { ac_try='test -s conftest$ac_exeext'
    5228971229-  { (eval echo "$as_me:13372: \"$ac_try\"") >&5
    52290 +  { (eval echo "$as_me:14575: \"$ac_try\"") >&5
     71230+  { (eval echo "$as_me:14643: \"$ac_try\"") >&5
    5229171231   (eval $ac_try) 2>&5
    5229271232   ac_status=$?
    5229371233-  echo "$as_me:13375: \$? = $ac_status" >&5
    52294 +  echo "$as_me:14578: \$? = $ac_status" >&5
     71234+  echo "$as_me:14646: \$? = $ac_status" >&5
    5229571235   (exit $ac_status); }; }; then
    5229671236   cf_cv_ncurses_ext_funcs=yes
    5229771237 else
    52298 @@ -13386,515 +14589,168 @@
     71238@@ -13386,515 +14657,168 @@
    5229971239 rm -f conftest.$ac_objext conftest.$ac_ext
    5230071240 
    5230171241 fi
    5230271242-echo "$as_me:13389: result: $cf_cv_ncurses_ext_funcs" >&5
    52303 +echo "$as_me:14592: result: $cf_cv_ncurses_ext_funcs" >&5
     71243+echo "$as_me:14660: result: $cf_cv_ncurses_ext_funcs" >&5
    5230471244 echo "${ECHO_T}$cf_cv_ncurses_ext_funcs" >&6
    5230571245 test "$cf_cv_ncurses_ext_funcs" = yes && cat >>confdefs.h <<\EOF
     
    5231971259+       then
    5232071260+               cf_define_xpg5=no
    52321 +               echo "$as_me:14605: checking if _XPG5 should be defined to enable wide-characters" >&5
     71261+               echo "$as_me:14673: checking if _XPG5 should be defined to enable wide-characters" >&5
    5232271262+echo $ECHO_N "checking if _XPG5 should be defined to enable wide-characters... $ECHO_C" >&6
    5232371263 
     
    5232571265-#line 13402 "configure"
    5232671266+               cat >conftest.$ac_ext <<_ACEOF
    52327 +#line 14609 "configure"
     71267+#line 14677 "configure"
    5232871268 #include "confdefs.h"
    5232971269 
     
    5233771277-       setcchar(&dst_cchar, src_wchar, A_NORMAL, 0, (void *) 0);
    5233871278-
    52339 +int x = _XPG5
    52340    ;
    52341    return 0;
    52342  }
    52343  _ACEOF
     71279-  ;
     71280-  return 0;
     71281-}
     71282-_ACEOF
    5234471283-rm -f conftest.$ac_objext conftest$ac_exeext
    5234571284-if { (eval echo "$as_me:13419: \"$ac_link\"") >&5
     
    5239471333-#include <$ac_header>
    5239571334-_ACEOF
    52396  rm -f conftest.$ac_objext
     71335-rm -f conftest.$ac_objext
    5239771336-if { (eval echo "$as_me:13471: \"$ac_compile\"") >&5
    52398 +if { (eval echo "$as_me:14622: \"$ac_compile\"") >&5
    52399    (eval $ac_compile) 2>&5
    52400    ac_status=$?
     71337-  (eval $ac_compile) 2>&5
     71338-  ac_status=$?
    5240171339-  echo "$as_me:13474: \$? = $ac_status" >&5
    52402 +  echo "$as_me:14625: \$? = $ac_status" >&5
    52403    (exit $ac_status); } &&
    52404           { ac_try='test -s conftest.$ac_objext'
     71340-  (exit $ac_status); } &&
     71341-         { ac_try='test -s conftest.$ac_objext'
    5240571342-  { (eval echo "$as_me:13477: \"$ac_try\"") >&5
    52406 +  { (eval echo "$as_me:14628: \"$ac_try\"") >&5
    52407    (eval $ac_try) 2>&5
    52408    ac_status=$?
     71343-  (eval $ac_try) 2>&5
     71344-  ac_status=$?
    5240971345-  echo "$as_me:13480: \$? = $ac_status" >&5
    52410 +  echo "$as_me:14631: \$? = $ac_status" >&5
    52411    (exit $ac_status); }; }; then
     71346-  (exit $ac_status); }; }; then
    5241271347-  eval "$as_ac_Header=yes"
    52413 +  :
    52414  else
    52415    echo "$as_me: failed program was:" >&5
    52416  cat conftest.$ac_ext >&5
     71348-else
     71349-  echo "$as_me: failed program was:" >&5
     71350-cat conftest.$ac_ext >&5
    5241771351-eval "$as_ac_Header=no"
    5241871352-fi
     
    5243671370-  cat >conftest.$ac_ext <<_ACEOF
    5243771371-#line 13506 "configure"
    52438 +cf_save_cppflags="$CPPFLAGS"
    52439 +                        CPPFLAGS="$CPPFLAGS -D_XPG5"
    52440 +                        cat >conftest.$ac_ext <<_ACEOF
    52441 +#line 14640 "configure"
    52442  #include "confdefs.h"
     71372-#include "confdefs.h"
    5244371373-$ac_includes_default
    52444 +
    52445 +#include <${cf_cv_ncurses_header:-curses.h}>
    52446  int
    52447  main ()
    52448  {
     71374-int
     71375-main ()
     71376-{
    5244971377-if ((pid_t *) 0)
    5245071378-  return 0;
     
    5245871386 rm -f conftest.$ac_objext
    5245971387-if { (eval echo "$as_me:13521: \"$ac_compile\"") >&5
    52460 +if { (eval echo "$as_me:14653: \"$ac_compile\"") >&5
     71388+if { (eval echo "$as_me:14690: \"$ac_compile\"") >&5
    5246171389   (eval $ac_compile) 2>&5
    5246271390   ac_status=$?
    5246371391-  echo "$as_me:13524: \$? = $ac_status" >&5
    52464 +  echo "$as_me:14656: \$? = $ac_status" >&5
     71392+  echo "$as_me:14693: \$? = $ac_status" >&5
    5246571393   (exit $ac_status); } &&
    5246671394          { ac_try='test -s conftest.$ac_objext'
    5246771395-  { (eval echo "$as_me:13527: \"$ac_try\"") >&5
    52468 -  (eval $ac_try) 2>&5
    52469 -  ac_status=$?
     71396+  { (eval echo "$as_me:14696: \"$ac_try\"") >&5
     71397   (eval $ac_try) 2>&5
     71398   ac_status=$?
    5247071399-  echo "$as_me:13530: \$? = $ac_status" >&5
    52471 -  (exit $ac_status); }; }; then
     71400+  echo "$as_me:14699: \$? = $ac_status" >&5
     71401   (exit $ac_status); }; }; then
    5247271402-  ac_cv_type_pid_t=yes
    5247371403-else
     
    5248171411-echo "${ECHO_T}$ac_cv_type_pid_t" >&6
    5248271412-if test $ac_cv_type_pid_t = yes; then
    52483 -  :
    52484 -else
     71413   :
     71414 else
    5248571415-
    5248671416-cat >>confdefs.h <<EOF
     
    5252271452-  eval "$as_ac_Header=yes"
    5252371453-else
    52524 -  echo "$as_me: failed program was:" >&5
     71454   echo "$as_me: failed program was:" >&5
    5252571455-  cat conftest.$ac_ext >&5
    5252671456-  eval "$as_ac_Header=no"
     
    5254871478-  cat >conftest.$ac_ext <<_ACEOF
    5254971479-#line 13609 "configure"
    52550 -#include "confdefs.h"
     71480+cat conftest.$ac_ext >&5
     71481+cf_save_cppflags="$CPPFLAGS"
     71482+                        CPPFLAGS="$CPPFLAGS -D_XPG5"
     71483+                        cat >conftest.$ac_ext <<_ACEOF
     71484+#line 14708 "configure"
     71485 #include "confdefs.h"
    5255171486-/* System header to define __stub macros and hopefully few prototypes,
    5255271487-    which can conflict with char $ac_func (); below.  */
     
    5256071495-char $ac_func ();
    5256171496-char (*f) ();
    52562 -
    52563 -int
    52564 -main ()
    52565 -{
     71497 
     71498+#include <${cf_cv_ncurses_header:-curses.h}>
     71499 int
     71500 main ()
     71501 {
    5256671502-/* The GNU C library defines this for functions which it implements
    5256771503-    to always fail with ENOSYS.  Some functions are actually named
     
    5257371509-#endif
    5257471510-
    52575 -  ;
    52576 -  return 0;
    52577 -}
    52578 -_ACEOF
     71511+int x = _XPG5
     71512   ;
     71513   return 0;
     71514 }
     71515 _ACEOF
    5257971516-rm -f conftest.$ac_objext conftest$ac_exeext
    5258071517-if { (eval echo "$as_me:13640: \"$ac_link\"") >&5
     
    5258571522-         { ac_try='test -s conftest$ac_exeext'
    5258671523-  { (eval echo "$as_me:13646: \"$ac_try\"") >&5
    52587 +  { (eval echo "$as_me:14659: \"$ac_try\"") >&5
    52588    (eval $ac_try) 2>&5
    52589    ac_status=$?
     71524-  (eval $ac_try) 2>&5
     71525-  ac_status=$?
    5259071526-  echo "$as_me:13649: \$? = $ac_status" >&5
    52591 +  echo "$as_me:14662: \$? = $ac_status" >&5
    52592    (exit $ac_status); }; }; then
     71527-  (exit $ac_status); }; }; then
    5259371528-  eval "$as_ac_var=yes"
    5259471529-else
     
    5263671571-if { (eval echo "$as_me:13694: \"$ac_link\"") >&5
    5263771572-  (eval $ac_link) 2>&5
    52638 -  ac_status=$?
     71573+rm -f conftest.$ac_objext
     71574+if { (eval echo "$as_me:14721: \"$ac_compile\"") >&5
     71575+  (eval $ac_compile) 2>&5
     71576   ac_status=$?
    5263971577-  echo "$as_me:13697: \$? = $ac_status" >&5
    5264071578-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5264171579-  { (eval echo "$as_me:13699: \"$ac_try\"") >&5
    52642 -  (eval $ac_try) 2>&5
    52643 -  ac_status=$?
     71580+  echo "$as_me:14724: \$? = $ac_status" >&5
     71581+  (exit $ac_status); } &&
     71582+         { ac_try='test -s conftest.$ac_objext'
     71583+  { (eval echo "$as_me:14727: \"$ac_try\"") >&5
     71584   (eval $ac_try) 2>&5
     71585   ac_status=$?
    5264471586-  echo "$as_me:13702: \$? = $ac_status" >&5
    52645 -  (exit $ac_status); }; }; then
     71587+  echo "$as_me:14730: \$? = $ac_status" >&5
     71588   (exit $ac_status); }; }; then
    5264671589-  ac_cv_func_fork_works=yes
    5264771590+  cf_define_xpg5=yes
     
    5266171604-echo "${ECHO_T}$ac_cv_func_fork_works" >&6
    5266271605+rm -f conftest.$ac_objext conftest.$ac_ext
    52663 +               echo "$as_me:14673: result: $cf_define_xpg5" >&5
     71606+               echo "$as_me:14741: result: $cf_define_xpg5" >&5
    5266471607+echo "${ECHO_T}$cf_define_xpg5" >&6
    5266571608 
     
    5268971632+       fi
    5269071633+
    52691 +       echo "$as_me:14682: checking for wide-character functions" >&5
     71634+       echo "$as_me:14750: checking for wide-character functions" >&5
    5269271635+echo $ECHO_N "checking for wide-character functions... $ECHO_C" >&6
    5269371636+if test "${cf_cv_widechar_funcs+set}" = set; then
     
    5270171644+
    5270271645+       cat >conftest.$ac_ext <<_ACEOF
    52703 +#line 14689 "configure"
     71646+#line 14757 "configure"
    5270471647 #include "confdefs.h"
    5270571648-/* Thanks to Paul Eggert for this test.  */
     
    5274771690-  pid_t parent = getpid ();
    5274871691-  pid_t child;
    52749  
     71692-
    5275071693-  sparc_address_test ();
     71694 
     71695-  child = vfork ();
    5275171696+               static wchar_t src_wchar[2];
    5275271697+               static cchar_t dst_cchar;
    5275371698+               setcchar(&dst_cchar, src_wchar, A_NORMAL, 0, (void *) 0);
    5275471699 
    52755 -  child = vfork ();
    52756 -
    5275771700-  if (child == 0) {
    5275871701-    /* Here is another test for sparc vfork register problems.  This
     
    5280671749-if { (eval echo "$as_me:13839: \"$ac_link\"") >&5
    5280771750+rm -f conftest.$ac_objext conftest$ac_exeext
    52808 +if { (eval echo "$as_me:14706: \"$ac_link\"") >&5
     71751+if { (eval echo "$as_me:14774: \"$ac_link\"") >&5
    5280971752   (eval $ac_link) 2>&5
    5281071753   ac_status=$?
     
    5281271755-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5281371756-  { (eval echo "$as_me:13844: \"$ac_try\"") >&5
    52814 +  echo "$as_me:14709: \$? = $ac_status" >&5
     71757+  echo "$as_me:14777: \$? = $ac_status" >&5
    5281571758+  (exit $ac_status); } &&
    5281671759+         { ac_try='test -s conftest$ac_exeext'
    52817 +  { (eval echo "$as_me:14712: \"$ac_try\"") >&5
     71760+  { (eval echo "$as_me:14780: \"$ac_try\"") >&5
    5281871761   (eval $ac_try) 2>&5
    5281971762   ac_status=$?
    5282071763-  echo "$as_me:13847: \$? = $ac_status" >&5
    52821 +  echo "$as_me:14715: \$? = $ac_status" >&5
     71764+  echo "$as_me:14783: \$? = $ac_status" >&5
    5282271765   (exit $ac_status); }; }; then
    5282371766-  ac_cv_func_vfork_works=yes
     
    5284971792-cat >>confdefs.h <<\EOF
    5285071793-#define HAVE_WORKING_VFORK 1
    52851 +echo "$as_me:14726: result: $cf_cv_widechar_funcs" >&5
     71794+echo "$as_me:14794: result: $cf_cv_widechar_funcs" >&5
    5285271795+echo "${ECHO_T}$cf_cv_widechar_funcs" >&6
    5285371796+       if test "$cf_cv_widechar_funcs" != no ; then
     
    5287971822 
    5288071823-echo "$as_me:13890: checking if sys/time.h works with sys/select.h" >&5
    52881 +echo "$as_me:14746: checking if sys/time.h works with sys/select.h" >&5
     71824+echo "$as_me:14814: checking if sys/time.h works with sys/select.h" >&5
    5288271825 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6
    5288371826 if test "${cf_cv_sys_time_select+set}" = set; then
     
    5288771830 cat >conftest.$ac_ext <<_ACEOF
    5288871831-#line 13897 "configure"
    52889 +#line 14753 "configure"
     71832+#line 14821 "configure"
    5289071833 #include "confdefs.h"
    5289171834 
    5289271835 #include <sys/types.h>
    52893 @@ -13914,16 +14770,16 @@
     71836@@ -13914,16 +14838,16 @@
    5289471837 }
    5289571838 _ACEOF
    5289671839 rm -f conftest.$ac_objext
    5289771840-if { (eval echo "$as_me:13917: \"$ac_compile\"") >&5
    52898 +if { (eval echo "$as_me:14773: \"$ac_compile\"") >&5
     71841+if { (eval echo "$as_me:14841: \"$ac_compile\"") >&5
    5289971842   (eval $ac_compile) 2>&5
    5290071843   ac_status=$?
    5290171844-  echo "$as_me:13920: \$? = $ac_status" >&5
    52902 +  echo "$as_me:14776: \$? = $ac_status" >&5
     71845+  echo "$as_me:14844: \$? = $ac_status" >&5
    5290371846   (exit $ac_status); } &&
    5290471847          { ac_try='test -s conftest.$ac_objext'
    5290571848-  { (eval echo "$as_me:13923: \"$ac_try\"") >&5
    52906 +  { (eval echo "$as_me:14779: \"$ac_try\"") >&5
     71849+  { (eval echo "$as_me:14847: \"$ac_try\"") >&5
    5290771850   (eval $ac_try) 2>&5
    5290871851   ac_status=$?
    5290971852-  echo "$as_me:13926: \$? = $ac_status" >&5
    52910 +  echo "$as_me:14782: \$? = $ac_status" >&5
     71853+  echo "$as_me:14850: \$? = $ac_status" >&5
    5291171854   (exit $ac_status); }; }; then
    5291271855   cf_cv_sys_time_select=yes
    5291371856 else
    52914 @@ -13935,13 +14791,13 @@
     71857@@ -13935,13 +14859,13 @@
    5291571858 
    5291671859 fi
    5291771860 
    5291871861-echo "$as_me:13938: result: $cf_cv_sys_time_select" >&5
    52919 +echo "$as_me:14794: result: $cf_cv_sys_time_select" >&5
     71862+echo "$as_me:14862: result: $cf_cv_sys_time_select" >&5
    5292071863 echo "${ECHO_T}$cf_cv_sys_time_select" >&6
    5292171864 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF
     
    5292471867 
    5292571868-echo "$as_me:13944: checking for function curses_version" >&5
    52926 +echo "$as_me:14800: checking for function curses_version" >&5
     71869+echo "$as_me:14868: checking for function curses_version" >&5
    5292771870 echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6
    5292871871 if test "${cf_cv_func_curses_version+set}" = set; then
    5292971872   echo $ECHO_N "(cached) $ECHO_C" >&6
    52930 @@ -13951,7 +14807,7 @@
     71873@@ -13951,7 +14875,7 @@
    5293171874   cf_cv_func_curses_version=unknown
    5293271875 else
    5293371876   cat >conftest.$ac_ext <<_ACEOF
    5293471877-#line 13954 "configure"
    52935 +#line 14810 "configure"
     71878+#line 14878 "configure"
    5293671879 #include "confdefs.h"
    5293771880 
    5293871881 #include <${cf_cv_ncurses_header:-curses.h}>
    52939 @@ -13964,15 +14820,15 @@
     71882@@ -13964,15 +14888,15 @@
    5294071883 
    5294171884 _ACEOF
    5294271885 rm -f conftest$ac_exeext
    5294371886-if { (eval echo "$as_me:13967: \"$ac_link\"") >&5
    52944 +if { (eval echo "$as_me:14823: \"$ac_link\"") >&5
     71887+if { (eval echo "$as_me:14891: \"$ac_link\"") >&5
    5294571888   (eval $ac_link) 2>&5
    5294671889   ac_status=$?
    5294771890-  echo "$as_me:13970: \$? = $ac_status" >&5
    52948 +  echo "$as_me:14826: \$? = $ac_status" >&5
     71891+  echo "$as_me:14894: \$? = $ac_status" >&5
    5294971892   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5295071893-  { (eval echo "$as_me:13972: \"$ac_try\"") >&5
    52951 +  { (eval echo "$as_me:14828: \"$ac_try\"") >&5
     71894+  { (eval echo "$as_me:14896: \"$ac_try\"") >&5
    5295271895   (eval $ac_try) 2>&5
    5295371896   ac_status=$?
    5295471897-  echo "$as_me:13975: \$? = $ac_status" >&5
    52955 +  echo "$as_me:14831: \$? = $ac_status" >&5
     71898+  echo "$as_me:14899: \$? = $ac_status" >&5
    5295671899   (exit $ac_status); }; }; then
    5295771900   cf_cv_func_curses_version=yes
    5295871901 
    52959 @@ -13987,13 +14843,13 @@
     71902@@ -13987,13 +14911,13 @@
    5296071903 fi
    5296171904 rm -f core
    5296271905 fi
    5296371906-echo "$as_me:13990: result: $cf_cv_func_curses_version" >&5
    52964 +echo "$as_me:14846: result: $cf_cv_func_curses_version" >&5
     71907+echo "$as_me:14914: result: $cf_cv_func_curses_version" >&5
    5296571908 echo "${ECHO_T}$cf_cv_func_curses_version" >&6
    5296671909 test "$cf_cv_func_curses_version" = yes && cat >>confdefs.h <<\EOF
     
    5296971912 
    5297071913-echo "$as_me:13996: checking for ncurses wrap-prefix" >&5
    52971 +echo "$as_me:14852: checking for ncurses wrap-prefix" >&5
     71914+echo "$as_me:14920: checking for ncurses wrap-prefix" >&5
    5297271915 echo $ECHO_N "checking for ncurses wrap-prefix... $ECHO_C" >&6
    5297371916 
    5297471917 # Check whether --with-ncurses-wrap-prefix or --without-ncurses-wrap-prefix was given.
    52975 @@ -14003,10 +14859,10 @@
     71918@@ -14003,10 +14927,10 @@
    5297671919 else
    5297771920   NCURSES_WRAP_PREFIX=_nc_
    5297871921 fi;
    5297971922-echo "$as_me:14006: result: $NCURSES_WRAP_PREFIX" >&5
    52980 +echo "$as_me:14862: result: $NCURSES_WRAP_PREFIX" >&5
     71923+echo "$as_me:14930: result: $NCURSES_WRAP_PREFIX" >&5
    5298171924 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6
    5298271925 
    5298371926-echo "$as_me:14009: checking for alternate character set array" >&5
    52984 +echo "$as_me:14865: checking for alternate character set array" >&5
     71927+echo "$as_me:14933: checking for alternate character set array" >&5
    5298571928 echo $ECHO_N "checking for alternate character set array... $ECHO_C" >&6
    5298671929 if test "${cf_cv_curses_acs_map+set}" = set; then
    5298771930   echo $ECHO_N "(cached) $ECHO_C" >&6
    52988 @@ -14016,7 +14872,7 @@
     71931@@ -14016,7 +14940,7 @@
    5298971932 for name in acs_map _acs_map __acs_map ${NCURSES_WRAP_PREFIX}acs_map
    5299071933 do
    5299171934 cat >conftest.$ac_ext <<_ACEOF
    5299271935-#line 14019 "configure"
    52993 +#line 14875 "configure"
     71936+#line 14943 "configure"
    5299471937 #include "confdefs.h"
    5299571938 
    5299671939 #include <${cf_cv_ncurses_header:-curses.h}>
    52997 @@ -14032,16 +14888,16 @@
     71940@@ -14032,16 +14956,16 @@
    5299871941 }
    5299971942 _ACEOF
    5300071943 rm -f conftest.$ac_objext conftest$ac_exeext
    5300171944-if { (eval echo "$as_me:14035: \"$ac_link\"") >&5
    53002 +if { (eval echo "$as_me:14891: \"$ac_link\"") >&5
     71945+if { (eval echo "$as_me:14959: \"$ac_link\"") >&5
    5300371946   (eval $ac_link) 2>&5
    5300471947   ac_status=$?
    5300571948-  echo "$as_me:14038: \$? = $ac_status" >&5
    53006 +  echo "$as_me:14894: \$? = $ac_status" >&5
     71949+  echo "$as_me:14962: \$? = $ac_status" >&5
    5300771950   (exit $ac_status); } &&
    5300871951          { ac_try='test -s conftest$ac_exeext'
    5300971952-  { (eval echo "$as_me:14041: \"$ac_try\"") >&5
    53010 +  { (eval echo "$as_me:14897: \"$ac_try\"") >&5
     71953+  { (eval echo "$as_me:14965: \"$ac_try\"") >&5
    5301171954   (eval $ac_try) 2>&5
    5301271955   ac_status=$?
    5301371956-  echo "$as_me:14044: \$? = $ac_status" >&5
    53014 +  echo "$as_me:14900: \$? = $ac_status" >&5
     71957+  echo "$as_me:14968: \$? = $ac_status" >&5
    5301571958   (exit $ac_status); }; }; then
    5301671959   cf_cv_curses_acs_map=$name; break
    5301771960 else
    53018 @@ -14052,14 +14908,16 @@
     71961@@ -14052,14 +14976,16 @@
    5301971962 done
    5302071963 
    5302171964 fi
    5302271965-echo "$as_me:14055: result: $cf_cv_curses_acs_map" >&5
    53023 +echo "$as_me:14911: result: $cf_cv_curses_acs_map" >&5
     71966+echo "$as_me:14979: result: $cf_cv_curses_acs_map" >&5
    5302471967 echo "${ECHO_T}$cf_cv_curses_acs_map" >&6
    5302571968 
     
    5303171974+if test "$cf_enable_widec" = yes; then
    5303271975+
    53033 +echo "$as_me:14920: checking for wide alternate character set array" >&5
     71976+echo "$as_me:14988: checking for wide alternate character set array" >&5
    5303471977 echo $ECHO_N "checking for wide alternate character set array... $ECHO_C" >&6
    5303571978 if test "${cf_cv_curses_wacs_map+set}" = set; then
    5303671979   echo $ECHO_N "(cached) $ECHO_C" >&6
    53037 @@ -14069,7 +14927,7 @@
     71980@@ -14069,7 +14995,7 @@
    5303871981        for name in wacs_map _wacs_map __wacs_map _nc_wacs _wacs_char
    5303971982        do
    5304071983        cat >conftest.$ac_ext <<_ACEOF
    5304171984-#line 14072 "configure"
    53042 +#line 14930 "configure"
     71985+#line 14998 "configure"
    5304371986 #include "confdefs.h"
    5304471987 
    5304571988 #ifndef _XOPEN_SOURCE_EXTENDED
    53046 @@ -14085,16 +14943,16 @@
     71989@@ -14085,16 +15011,16 @@
    5304771990 }
    5304871991 _ACEOF
    5304971992 rm -f conftest.$ac_objext conftest$ac_exeext
    5305071993-if { (eval echo "$as_me:14088: \"$ac_link\"") >&5
    53051 +if { (eval echo "$as_me:14946: \"$ac_link\"") >&5
     71994+if { (eval echo "$as_me:15014: \"$ac_link\"") >&5
    5305271995   (eval $ac_link) 2>&5
    5305371996   ac_status=$?
    5305471997-  echo "$as_me:14091: \$? = $ac_status" >&5
    53055 +  echo "$as_me:14949: \$? = $ac_status" >&5
     71998+  echo "$as_me:15017: \$? = $ac_status" >&5
    5305671999   (exit $ac_status); } &&
    5305772000          { ac_try='test -s conftest$ac_exeext'
    5305872001-  { (eval echo "$as_me:14094: \"$ac_try\"") >&5
    53059 +  { (eval echo "$as_me:14952: \"$ac_try\"") >&5
     72002+  { (eval echo "$as_me:15020: \"$ac_try\"") >&5
    5306072003   (eval $ac_try) 2>&5
    5306172004   ac_status=$?
    5306272005-  echo "$as_me:14097: \$? = $ac_status" >&5
    53063 +  echo "$as_me:14955: \$? = $ac_status" >&5
     72006+  echo "$as_me:15023: \$? = $ac_status" >&5
    5306472007   (exit $ac_status); }; }; then
    5306572008   cf_cv_curses_wacs_map=$name
    5306672009         break
    53067 @@ -14105,14 +14963,14 @@
     72010@@ -14105,14 +15031,14 @@
    5306872011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5306972012        done
    5307072013 fi
    5307172014-echo "$as_me:14108: result: $cf_cv_curses_wacs_map" >&5
    53072 +echo "$as_me:14966: result: $cf_cv_curses_wacs_map" >&5
     72015+echo "$as_me:15034: result: $cf_cv_curses_wacs_map" >&5
    5307372016 echo "${ECHO_T}$cf_cv_curses_wacs_map" >&6
    5307472017 
     
    5307872021 
    5307972022-echo "$as_me:14115: checking for wide alternate character constants" >&5
    53080 +echo "$as_me:14973: checking for wide alternate character constants" >&5
     72023+echo "$as_me:15041: checking for wide alternate character constants" >&5
    5308172024 echo $ECHO_N "checking for wide alternate character constants... $ECHO_C" >&6
    5308272025 if test "${cf_cv_curses_wacs_symbols+set}" = set; then
    5308372026   echo $ECHO_N "(cached) $ECHO_C" >&6
    53084 @@ -14122,7 +14980,7 @@
     72027@@ -14122,7 +15048,7 @@
    5308572028 if test "$cf_cv_curses_wacs_map" != unknown
    5308672029 then
    5308772030        cat >conftest.$ac_ext <<_ACEOF
    5308872031-#line 14125 "configure"
    53089 +#line 14983 "configure"
     72032+#line 15051 "configure"
    5309072033 #include "confdefs.h"
    5309172034 
    5309272035 #ifndef _XOPEN_SOURCE_EXTENDED
    53093 @@ -14139,16 +14997,16 @@
     72036@@ -14139,16 +15065,16 @@
    5309472037 }
    5309572038 _ACEOF
    5309672039 rm -f conftest.$ac_objext conftest$ac_exeext
    5309772040-if { (eval echo "$as_me:14142: \"$ac_link\"") >&5
    53098 +if { (eval echo "$as_me:15000: \"$ac_link\"") >&5
     72041+if { (eval echo "$as_me:15068: \"$ac_link\"") >&5
    5309972042   (eval $ac_link) 2>&5
    5310072043   ac_status=$?
    5310172044-  echo "$as_me:14145: \$? = $ac_status" >&5
    53102 +  echo "$as_me:15003: \$? = $ac_status" >&5
     72045+  echo "$as_me:15071: \$? = $ac_status" >&5
    5310372046   (exit $ac_status); } &&
    5310472047          { ac_try='test -s conftest$ac_exeext'
    5310572048-  { (eval echo "$as_me:14148: \"$ac_try\"") >&5
    53106 +  { (eval echo "$as_me:15006: \"$ac_try\"") >&5
     72049+  { (eval echo "$as_me:15074: \"$ac_try\"") >&5
    5310772050   (eval $ac_try) 2>&5
    5310872051   ac_status=$?
    5310972052-  echo "$as_me:14151: \$? = $ac_status" >&5
    53110 +  echo "$as_me:15009: \$? = $ac_status" >&5
     72053+  echo "$as_me:15077: \$? = $ac_status" >&5
    5311172054   (exit $ac_status); }; }; then
    5311272055   cf_cv_curses_wacs_symbols=yes
    5311372056 else
    53114 @@ -14158,7 +15016,7 @@
     72057@@ -14158,7 +15084,7 @@
    5311572058 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5311672059 else
    5311772060        cat >conftest.$ac_ext <<_ACEOF
    5311872061-#line 14161 "configure"
    53119 +#line 15019 "configure"
     72062+#line 15087 "configure"
    5312072063 #include "confdefs.h"
    5312172064 
    5312272065 #ifndef _XOPEN_SOURCE_EXTENDED
    53123 @@ -14174,16 +15032,16 @@
     72066@@ -14174,16 +15100,16 @@
    5312472067 }
    5312572068 _ACEOF
    5312672069 rm -f conftest.$ac_objext conftest$ac_exeext
    5312772070-if { (eval echo "$as_me:14177: \"$ac_link\"") >&5
    53128 +if { (eval echo "$as_me:15035: \"$ac_link\"") >&5
     72071+if { (eval echo "$as_me:15103: \"$ac_link\"") >&5
    5312972072   (eval $ac_link) 2>&5
    5313072073   ac_status=$?
    5313172074-  echo "$as_me:14180: \$? = $ac_status" >&5
    53132 +  echo "$as_me:15038: \$? = $ac_status" >&5
     72075+  echo "$as_me:15106: \$? = $ac_status" >&5
    5313372076   (exit $ac_status); } &&
    5313472077          { ac_try='test -s conftest$ac_exeext'
    5313572078-  { (eval echo "$as_me:14183: \"$ac_try\"") >&5
    53136 +  { (eval echo "$as_me:15041: \"$ac_try\"") >&5
     72079+  { (eval echo "$as_me:15109: \"$ac_try\"") >&5
    5313772080   (eval $ac_try) 2>&5
    5313872081   ac_status=$?
    5313972082-  echo "$as_me:14186: \$? = $ac_status" >&5
    53140 +  echo "$as_me:15044: \$? = $ac_status" >&5
     72083+  echo "$as_me:15112: \$? = $ac_status" >&5
    5314172084   (exit $ac_status); }; }; then
    5314272085   cf_cv_curses_wacs_symbols=yes
    5314372086 else
    53144 @@ -14194,17 +15052,19 @@
     72087@@ -14194,17 +15120,19 @@
    5314572088 fi
    5314672089 
    5314772090 fi
    5314872091-echo "$as_me:14197: result: $cf_cv_curses_wacs_symbols" >&5
    53149 +echo "$as_me:15055: result: $cf_cv_curses_wacs_symbols" >&5
     72092+echo "$as_me:15123: result: $cf_cv_curses_wacs_symbols" >&5
    5315072093 echo "${ECHO_T}$cf_cv_curses_wacs_symbols" >&6
    5315172094 
     
    5315772100+fi
    5315872101+
    53159 +echo "$as_me:15064: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     72102+echo "$as_me:15132: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    5316072103 echo $ECHO_N "checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5316172104 cat >conftest.$ac_ext <<_ACEOF
    5316272105-#line 14207 "configure"
    53163 +#line 15067 "configure"
     72106+#line 15135 "configure"
    5316472107 #include "confdefs.h"
    5316572108 
    5316672109 #ifndef _XOPEN_SOURCE_EXTENDED
    53167 @@ -14222,16 +15082,16 @@
     72110@@ -14222,16 +15150,16 @@
    5316872111 }
    5316972112 _ACEOF
    5317072113 rm -f conftest.$ac_objext
    5317172114-if { (eval echo "$as_me:14225: \"$ac_compile\"") >&5
    53172 +if { (eval echo "$as_me:15085: \"$ac_compile\"") >&5
     72115+if { (eval echo "$as_me:15153: \"$ac_compile\"") >&5
    5317372116   (eval $ac_compile) 2>&5
    5317472117   ac_status=$?
    5317572118-  echo "$as_me:14228: \$? = $ac_status" >&5
    53176 +  echo "$as_me:15088: \$? = $ac_status" >&5
     72119+  echo "$as_me:15156: \$? = $ac_status" >&5
    5317772120   (exit $ac_status); } &&
    5317872121          { ac_try='test -s conftest.$ac_objext'
    5317972122-  { (eval echo "$as_me:14231: \"$ac_try\"") >&5
    53180 +  { (eval echo "$as_me:15091: \"$ac_try\"") >&5
     72123+  { (eval echo "$as_me:15159: \"$ac_try\"") >&5
    5318172124   (eval $ac_try) 2>&5
    5318272125   ac_status=$?
    5318372126-  echo "$as_me:14234: \$? = $ac_status" >&5
    53184 +  echo "$as_me:15094: \$? = $ac_status" >&5
     72127+  echo "$as_me:15162: \$? = $ac_status" >&5
    5318572128   (exit $ac_status); }; }; then
    5318672129   cf_result=yes
    5318772130 else
    53188 @@ -14240,7 +15100,7 @@
     72131@@ -14240,7 +15168,7 @@
    5318972132 cf_result=no
    5319072133 fi
    5319172134 rm -f conftest.$ac_objext conftest.$ac_ext
    5319272135-echo "$as_me:14243: result: $cf_result" >&5
    53193 +echo "$as_me:15103: result: $cf_result" >&5
     72136+echo "$as_me:15171: result: $cf_result" >&5
    5319472137 echo "${ECHO_T}$cf_result" >&6
    5319572138 if test $cf_result = yes ; then
    5319672139 
    53197 @@ -14257,15 +15117,17 @@
     72140@@ -14257,15 +15185,17 @@
    5319872141 
    5319972142 fi
     
    5320372146 # This is needed on Tru64 5.0 to declare mbstate_t
    5320472147-echo "$as_me:14261: checking if we must include wchar.h to declare mbstate_t" >&5
    53205 +echo "$as_me:15123: checking if we must include wchar.h to declare mbstate_t" >&5
     72148+echo "$as_me:15191: checking if we must include wchar.h to declare mbstate_t" >&5
    5320672149 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6
    5320772150 if test "${cf_cv_mbstate_t+set}" = set; then
     
    5321172154 cat >conftest.$ac_ext <<_ACEOF
    5321272155-#line 14268 "configure"
    53213 +#line 15130 "configure"
     72156+#line 15198 "configure"
    5321472157 #include "confdefs.h"
    5321572158 
    5321672159 #include <stdlib.h>
    53217 @@ -14283,23 +15145,23 @@
     72160@@ -14283,23 +15213,23 @@
    5321872161 }
    5321972162 _ACEOF
    5322072163 rm -f conftest.$ac_objext
    5322172164-if { (eval echo "$as_me:14286: \"$ac_compile\"") >&5
    53222 +if { (eval echo "$as_me:15148: \"$ac_compile\"") >&5
     72165+if { (eval echo "$as_me:15216: \"$ac_compile\"") >&5
    5322372166   (eval $ac_compile) 2>&5
    5322472167   ac_status=$?
    5322572168-  echo "$as_me:14289: \$? = $ac_status" >&5
    53226 +  echo "$as_me:15151: \$? = $ac_status" >&5
     72169+  echo "$as_me:15219: \$? = $ac_status" >&5
    5322772170   (exit $ac_status); } &&
    5322872171          { ac_try='test -s conftest.$ac_objext'
    5322972172-  { (eval echo "$as_me:14292: \"$ac_try\"") >&5
    53230 +  { (eval echo "$as_me:15154: \"$ac_try\"") >&5
     72173+  { (eval echo "$as_me:15222: \"$ac_try\"") >&5
    5323172174   (eval $ac_try) 2>&5
    5323272175   ac_status=$?
    5323372176-  echo "$as_me:14295: \$? = $ac_status" >&5
    53234 +  echo "$as_me:15157: \$? = $ac_status" >&5
     72177+  echo "$as_me:15225: \$? = $ac_status" >&5
    5323572178   (exit $ac_status); }; }; then
    5323672179   cf_cv_mbstate_t=no
     
    5324072183 cat >conftest.$ac_ext <<_ACEOF
    5324172184-#line 14302 "configure"
    53242 +#line 15164 "configure"
     72185+#line 15232 "configure"
    5324372186 #include "confdefs.h"
    5324472187 
    5324572188 #include <stdlib.h>
    53246 @@ -14318,16 +15180,16 @@
     72189@@ -14318,16 +15248,16 @@
    5324772190 }
    5324872191 _ACEOF
    5324972192 rm -f conftest.$ac_objext
    5325072193-if { (eval echo "$as_me:14321: \"$ac_compile\"") >&5
    53251 +if { (eval echo "$as_me:15183: \"$ac_compile\"") >&5
     72194+if { (eval echo "$as_me:15251: \"$ac_compile\"") >&5
    5325272195   (eval $ac_compile) 2>&5
    5325372196   ac_status=$?
    5325472197-  echo "$as_me:14324: \$? = $ac_status" >&5
    53255 +  echo "$as_me:15186: \$? = $ac_status" >&5
     72198+  echo "$as_me:15254: \$? = $ac_status" >&5
    5325672199   (exit $ac_status); } &&
    5325772200          { ac_try='test -s conftest.$ac_objext'
    5325872201-  { (eval echo "$as_me:14327: \"$ac_try\"") >&5
    53259 +  { (eval echo "$as_me:15189: \"$ac_try\"") >&5
     72202+  { (eval echo "$as_me:15257: \"$ac_try\"") >&5
    5326072203   (eval $ac_try) 2>&5
    5326172204   ac_status=$?
    5326272205-  echo "$as_me:14330: \$? = $ac_status" >&5
    53263 +  echo "$as_me:15192: \$? = $ac_status" >&5
     72206+  echo "$as_me:15260: \$? = $ac_status" >&5
    5326472207   (exit $ac_status); }; }; then
    5326572208   cf_cv_mbstate_t=yes
    5326672209 else
    53267 @@ -14339,7 +15201,7 @@
     72210@@ -14339,7 +15269,7 @@
    5326872211 fi
    5326972212 rm -f conftest.$ac_objext conftest.$ac_ext
    5327072213 fi
    5327172214-echo "$as_me:14342: result: $cf_cv_mbstate_t" >&5
    53272 +echo "$as_me:15204: result: $cf_cv_mbstate_t" >&5
     72215+echo "$as_me:15272: result: $cf_cv_mbstate_t" >&5
    5327372216 echo "${ECHO_T}$cf_cv_mbstate_t" >&6
    5327472217 
    5327572218 if test "$cf_cv_mbstate_t" = yes ; then
    53276 @@ -14361,14 +15223,14 @@
     72219@@ -14361,14 +15291,14 @@
    5327772220 fi
    5327872221 
    5327972222 # This is needed on Tru64 5.0 to declare wchar_t
    5328072223-echo "$as_me:14364: checking if we must include wchar.h to declare wchar_t" >&5
    53281 +echo "$as_me:15226: checking if we must include wchar.h to declare wchar_t" >&5
     72224+echo "$as_me:15294: checking if we must include wchar.h to declare wchar_t" >&5
    5328272225 echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6
    5328372226 if test "${cf_cv_wchar_t+set}" = set; then
     
    5328772230 cat >conftest.$ac_ext <<_ACEOF
    5328872231-#line 14371 "configure"
    53289 +#line 15233 "configure"
     72232+#line 15301 "configure"
    5329072233 #include "confdefs.h"
    5329172234 
    5329272235 #include <stdlib.h>
    53293 @@ -14386,23 +15248,23 @@
     72236@@ -14386,23 +15316,23 @@
    5329472237 }
    5329572238 _ACEOF
    5329672239 rm -f conftest.$ac_objext
    5329772240-if { (eval echo "$as_me:14389: \"$ac_compile\"") >&5
    53298 +if { (eval echo "$as_me:15251: \"$ac_compile\"") >&5
     72241+if { (eval echo "$as_me:15319: \"$ac_compile\"") >&5
    5329972242   (eval $ac_compile) 2>&5
    5330072243   ac_status=$?
    5330172244-  echo "$as_me:14392: \$? = $ac_status" >&5
    53302 +  echo "$as_me:15254: \$? = $ac_status" >&5
     72245+  echo "$as_me:15322: \$? = $ac_status" >&5
    5330372246   (exit $ac_status); } &&
    5330472247          { ac_try='test -s conftest.$ac_objext'
    5330572248-  { (eval echo "$as_me:14395: \"$ac_try\"") >&5
    53306 +  { (eval echo "$as_me:15257: \"$ac_try\"") >&5
     72249+  { (eval echo "$as_me:15325: \"$ac_try\"") >&5
    5330772250   (eval $ac_try) 2>&5
    5330872251   ac_status=$?
    5330972252-  echo "$as_me:14398: \$? = $ac_status" >&5
    53310 +  echo "$as_me:15260: \$? = $ac_status" >&5
     72253+  echo "$as_me:15328: \$? = $ac_status" >&5
    5331172254   (exit $ac_status); }; }; then
    5331272255   cf_cv_wchar_t=no
     
    5331672259 cat >conftest.$ac_ext <<_ACEOF
    5331772260-#line 14405 "configure"
    53318 +#line 15267 "configure"
     72261+#line 15335 "configure"
    5331972262 #include "confdefs.h"
    5332072263 
    5332172264 #include <stdlib.h>
    53322 @@ -14421,16 +15283,16 @@
     72265@@ -14421,16 +15351,16 @@
    5332372266 }
    5332472267 _ACEOF
    5332572268 rm -f conftest.$ac_objext
    5332672269-if { (eval echo "$as_me:14424: \"$ac_compile\"") >&5
    53327 +if { (eval echo "$as_me:15286: \"$ac_compile\"") >&5
     72270+if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5
    5332872271   (eval $ac_compile) 2>&5
    5332972272   ac_status=$?
    5333072273-  echo "$as_me:14427: \$? = $ac_status" >&5
    53331 +  echo "$as_me:15289: \$? = $ac_status" >&5
     72274+  echo "$as_me:15357: \$? = $ac_status" >&5
    5333272275   (exit $ac_status); } &&
    5333372276          { ac_try='test -s conftest.$ac_objext'
    5333472277-  { (eval echo "$as_me:14430: \"$ac_try\"") >&5
    53335 +  { (eval echo "$as_me:15292: \"$ac_try\"") >&5
     72278+  { (eval echo "$as_me:15360: \"$ac_try\"") >&5
    5333672279   (eval $ac_try) 2>&5
    5333772280   ac_status=$?
    5333872281-  echo "$as_me:14433: \$? = $ac_status" >&5
    53339 +  echo "$as_me:15295: \$? = $ac_status" >&5
     72282+  echo "$as_me:15363: \$? = $ac_status" >&5
    5334072283   (exit $ac_status); }; }; then
    5334172284   cf_cv_wchar_t=yes
    5334272285 else
    53343 @@ -14442,7 +15304,7 @@
     72286@@ -14442,7 +15372,7 @@
    5334472287 fi
    5334572288 rm -f conftest.$ac_objext conftest.$ac_ext
    5334672289 fi
    5334772290-echo "$as_me:14445: result: $cf_cv_wchar_t" >&5
    53348 +echo "$as_me:15307: result: $cf_cv_wchar_t" >&5
     72291+echo "$as_me:15375: result: $cf_cv_wchar_t" >&5
    5334972292 echo "${ECHO_T}$cf_cv_wchar_t" >&6
    5335072293 
    5335172294 if test "$cf_cv_wchar_t" = yes ; then
    53352 @@ -14464,14 +15326,14 @@
     72295@@ -14464,14 +15394,14 @@
    5335372296 fi
    5335472297 
    5335572298 # This is needed on Tru64 5.0 to declare wint_t
    5335672299-echo "$as_me:14467: checking if we must include wchar.h to declare wint_t" >&5
    53357 +echo "$as_me:15329: checking if we must include wchar.h to declare wint_t" >&5
     72300+echo "$as_me:15397: checking if we must include wchar.h to declare wint_t" >&5
    5335872301 echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6
    5335972302 if test "${cf_cv_wint_t+set}" = set; then
     
    5336372306 cat >conftest.$ac_ext <<_ACEOF
    5336472307-#line 14474 "configure"
    53365 +#line 15336 "configure"
     72308+#line 15404 "configure"
    5336672309 #include "confdefs.h"
    5336772310 
    5336872311 #include <stdlib.h>
    53369 @@ -14489,23 +15351,23 @@
     72312@@ -14489,23 +15419,23 @@
    5337072313 }
    5337172314 _ACEOF
    5337272315 rm -f conftest.$ac_objext
    5337372316-if { (eval echo "$as_me:14492: \"$ac_compile\"") >&5
    53374 +if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5
     72317+if { (eval echo "$as_me:15422: \"$ac_compile\"") >&5
    5337572318   (eval $ac_compile) 2>&5
    5337672319   ac_status=$?
    5337772320-  echo "$as_me:14495: \$? = $ac_status" >&5
    53378 +  echo "$as_me:15357: \$? = $ac_status" >&5
     72321+  echo "$as_me:15425: \$? = $ac_status" >&5
    5337972322   (exit $ac_status); } &&
    5338072323          { ac_try='test -s conftest.$ac_objext'
    5338172324-  { (eval echo "$as_me:14498: \"$ac_try\"") >&5
    53382 +  { (eval echo "$as_me:15360: \"$ac_try\"") >&5
     72325+  { (eval echo "$as_me:15428: \"$ac_try\"") >&5
    5338372326   (eval $ac_try) 2>&5
    5338472327   ac_status=$?
    5338572328-  echo "$as_me:14501: \$? = $ac_status" >&5
    53386 +  echo "$as_me:15363: \$? = $ac_status" >&5
     72329+  echo "$as_me:15431: \$? = $ac_status" >&5
    5338772330   (exit $ac_status); }; }; then
    5338872331   cf_cv_wint_t=no
     
    5339272335 cat >conftest.$ac_ext <<_ACEOF
    5339372336-#line 14508 "configure"
    53394 +#line 15370 "configure"
     72337+#line 15438 "configure"
    5339572338 #include "confdefs.h"
    5339672339 
    5339772340 #include <stdlib.h>
    53398 @@ -14524,16 +15386,16 @@
     72341@@ -14524,16 +15454,16 @@
    5339972342 }
    5340072343 _ACEOF
    5340172344 rm -f conftest.$ac_objext
    5340272345-if { (eval echo "$as_me:14527: \"$ac_compile\"") >&5
    53403 +if { (eval echo "$as_me:15389: \"$ac_compile\"") >&5
     72346+if { (eval echo "$as_me:15457: \"$ac_compile\"") >&5
    5340472347   (eval $ac_compile) 2>&5
    5340572348   ac_status=$?
    5340672349-  echo "$as_me:14530: \$? = $ac_status" >&5
    53407 +  echo "$as_me:15392: \$? = $ac_status" >&5
     72350+  echo "$as_me:15460: \$? = $ac_status" >&5
    5340872351   (exit $ac_status); } &&
    5340972352          { ac_try='test -s conftest.$ac_objext'
    5341072353-  { (eval echo "$as_me:14533: \"$ac_try\"") >&5
    53411 +  { (eval echo "$as_me:15395: \"$ac_try\"") >&5
     72354+  { (eval echo "$as_me:15463: \"$ac_try\"") >&5
    5341272355   (eval $ac_try) 2>&5
    5341372356   ac_status=$?
    5341472357-  echo "$as_me:14536: \$? = $ac_status" >&5
    53415 +  echo "$as_me:15398: \$? = $ac_status" >&5
     72358+  echo "$as_me:15466: \$? = $ac_status" >&5
    5341672359   (exit $ac_status); }; }; then
    5341772360   cf_cv_wint_t=yes
    5341872361 else
    53419 @@ -14545,7 +15407,7 @@
     72362@@ -14545,7 +15475,7 @@
    5342072363 fi
    5342172364 rm -f conftest.$ac_objext conftest.$ac_ext
    5342272365 fi
    5342372366-echo "$as_me:14548: result: $cf_cv_wint_t" >&5
    53424 +echo "$as_me:15410: result: $cf_cv_wint_t" >&5
     72367+echo "$as_me:15478: result: $cf_cv_wint_t" >&5
    5342572368 echo "${ECHO_T}$cf_cv_wint_t" >&6
    5342672369 
    5342772370 if test "$cf_cv_wint_t" = yes ; then
    53428 @@ -14566,12 +15428,12 @@
     72371@@ -14566,12 +15496,12 @@
    5342972372        NCURSES_OK_WINT_T=1
    5343072373 fi
     
    5343472377 
    5343572378-echo "$as_me:14571: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    53436 +echo "$as_me:15433: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     72379+echo "$as_me:15501: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    5343772380 echo $ECHO_N "checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5343872381 cat >conftest.$ac_ext <<_ACEOF
    5343972382-#line 14574 "configure"
    53440 +#line 15436 "configure"
     72383+#line 15504 "configure"
    5344172384 #include "confdefs.h"
    5344272385 
    5344372386 #ifndef _XOPEN_SOURCE_EXTENDED
    53444 @@ -14589,16 +15451,16 @@
     72387@@ -14589,16 +15519,16 @@
    5344572388 }
    5344672389 _ACEOF
    5344772390 rm -f conftest.$ac_objext
    5344872391-if { (eval echo "$as_me:14592: \"$ac_compile\"") >&5
    53449 +if { (eval echo "$as_me:15454: \"$ac_compile\"") >&5
     72392+if { (eval echo "$as_me:15522: \"$ac_compile\"") >&5
    5345072393   (eval $ac_compile) 2>&5
    5345172394   ac_status=$?
    5345272395-  echo "$as_me:14595: \$? = $ac_status" >&5
    53453 +  echo "$as_me:15457: \$? = $ac_status" >&5
     72396+  echo "$as_me:15525: \$? = $ac_status" >&5
    5345472397   (exit $ac_status); } &&
    5345572398          { ac_try='test -s conftest.$ac_objext'
    5345672399-  { (eval echo "$as_me:14598: \"$ac_try\"") >&5
    53457 +  { (eval echo "$as_me:15460: \"$ac_try\"") >&5
     72400+  { (eval echo "$as_me:15528: \"$ac_try\"") >&5
    5345872401   (eval $ac_try) 2>&5
    5345972402   ac_status=$?
    5346072403-  echo "$as_me:14601: \$? = $ac_status" >&5
    53461 +  echo "$as_me:15463: \$? = $ac_status" >&5
     72404+  echo "$as_me:15531: \$? = $ac_status" >&5
    5346272405   (exit $ac_status); }; }; then
    5346372406   cf_result=yes
    5346472407 else
    53465 @@ -14607,7 +15469,7 @@
     72408@@ -14607,7 +15537,7 @@
    5346672409 cf_result=no
    5346772410 fi
    5346872411 rm -f conftest.$ac_objext conftest.$ac_ext
    5346972412-echo "$as_me:14610: result: $cf_result" >&5
    53470 +echo "$as_me:15472: result: $cf_result" >&5
     72413+echo "$as_me:15540: result: $cf_result" >&5
    5347172414 echo "${ECHO_T}$cf_result" >&6
    5347272415 if test $cf_result = yes ; then
    5347372416 
    53474 @@ -14624,14 +15486,14 @@
     72417@@ -14624,14 +15554,14 @@
    5347572418 
    5347672419 fi
     
    5348372426 
    5348472427-echo "$as_me:14631: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    53485 +echo "$as_me:15493: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     72428+echo "$as_me:15561: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    5348672429 echo $ECHO_N "checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5348772430 cat >conftest.$ac_ext <<_ACEOF
    5348872431-#line 14634 "configure"
    53489 +#line 15496 "configure"
     72432+#line 15564 "configure"
    5349072433 #include "confdefs.h"
    5349172434 
    5349272435 #ifndef _XOPEN_SOURCE_EXTENDED
    53493 @@ -14649,16 +15511,16 @@
     72436@@ -14649,16 +15579,16 @@
    5349472437 }
    5349572438 _ACEOF
    5349672439 rm -f conftest.$ac_objext
    5349772440-if { (eval echo "$as_me:14652: \"$ac_compile\"") >&5
    53498 +if { (eval echo "$as_me:15514: \"$ac_compile\"") >&5
     72441+if { (eval echo "$as_me:15582: \"$ac_compile\"") >&5
    5349972442   (eval $ac_compile) 2>&5
    5350072443   ac_status=$?
    5350172444-  echo "$as_me:14655: \$? = $ac_status" >&5
    53502 +  echo "$as_me:15517: \$? = $ac_status" >&5
     72445+  echo "$as_me:15585: \$? = $ac_status" >&5
    5350372446   (exit $ac_status); } &&
    5350472447          { ac_try='test -s conftest.$ac_objext'
    5350572448-  { (eval echo "$as_me:14658: \"$ac_try\"") >&5
    53506 +  { (eval echo "$as_me:15520: \"$ac_try\"") >&5
     72449+  { (eval echo "$as_me:15588: \"$ac_try\"") >&5
    5350772450   (eval $ac_try) 2>&5
    5350872451   ac_status=$?
    5350972452-  echo "$as_me:14661: \$? = $ac_status" >&5
    53510 +  echo "$as_me:15523: \$? = $ac_status" >&5
     72453+  echo "$as_me:15591: \$? = $ac_status" >&5
    5351172454   (exit $ac_status); }; }; then
    5351272455   cf_result=yes
    5351372456 else
    53514 @@ -14667,7 +15529,7 @@
     72457@@ -14667,7 +15597,7 @@
    5351572458 cf_result=no
    5351672459 fi
    5351772460 rm -f conftest.$ac_objext conftest.$ac_ext
    5351872461-echo "$as_me:14670: result: $cf_result" >&5
    53519 +echo "$as_me:15532: result: $cf_result" >&5
     72462+echo "$as_me:15600: result: $cf_result" >&5
    5352072463 echo "${ECHO_T}$cf_result" >&6
    5352172464 if test $cf_result = yes ; then
    5352272465 
    53523 @@ -14684,14 +15546,14 @@
     72466@@ -14684,14 +15614,14 @@
    5352472467 
    5352572468 fi
     
    5353272475 
    5353372476-echo "$as_me:14691: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    53534 +echo "$as_me:15553: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     72477+echo "$as_me:15621: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    5353572478 echo $ECHO_N "checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5353672479 cat >conftest.$ac_ext <<_ACEOF
    5353772480-#line 14694 "configure"
    53538 +#line 15556 "configure"
     72481+#line 15624 "configure"
    5353972482 #include "confdefs.h"
    5354072483 
    5354172484 #ifndef _XOPEN_SOURCE_EXTENDED
    53542 @@ -14709,16 +15571,16 @@
     72485@@ -14709,16 +15639,16 @@
    5354372486 }
    5354472487 _ACEOF
    5354572488 rm -f conftest.$ac_objext
    5354672489-if { (eval echo "$as_me:14712: \"$ac_compile\"") >&5
    53547 +if { (eval echo "$as_me:15574: \"$ac_compile\"") >&5
     72490+if { (eval echo "$as_me:15642: \"$ac_compile\"") >&5
    5354872491   (eval $ac_compile) 2>&5
    5354972492   ac_status=$?
    5355072493-  echo "$as_me:14715: \$? = $ac_status" >&5
    53551 +  echo "$as_me:15577: \$? = $ac_status" >&5
     72494+  echo "$as_me:15645: \$? = $ac_status" >&5
    5355272495   (exit $ac_status); } &&
    5355372496          { ac_try='test -s conftest.$ac_objext'
    5355472497-  { (eval echo "$as_me:14718: \"$ac_try\"") >&5
    53555 +  { (eval echo "$as_me:15580: \"$ac_try\"") >&5
     72498+  { (eval echo "$as_me:15648: \"$ac_try\"") >&5
    5355672499   (eval $ac_try) 2>&5
    5355772500   ac_status=$?
    5355872501-  echo "$as_me:14721: \$? = $ac_status" >&5
    53559 +  echo "$as_me:15583: \$? = $ac_status" >&5
     72502+  echo "$as_me:15651: \$? = $ac_status" >&5
    5356072503   (exit $ac_status); }; }; then
    5356172504   cf_result=yes
    5356272505 else
    53563 @@ -14727,7 +15589,7 @@
     72506@@ -14727,7 +15657,7 @@
    5356472507 cf_result=no
    5356572508 fi
    5356672509 rm -f conftest.$ac_objext conftest.$ac_ext
    5356772510-echo "$as_me:14730: result: $cf_result" >&5
    53568 +echo "$as_me:15592: result: $cf_result" >&5
     72511+echo "$as_me:15660: result: $cf_result" >&5
    5356972512 echo "${ECHO_T}$cf_result" >&6
    5357072513 if test $cf_result = yes ; then
    5357172514 
    53572 @@ -14744,13 +15606,14 @@
     72515@@ -14744,13 +15674,14 @@
    5357372516 
    5357472517 fi
     
    5357872521 
    5357972522-echo "$as_me:14749: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
    53580 +echo "$as_me:15612: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
     72523+echo "$as_me:15680: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
    5358172524 echo $ECHO_N "checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5358272525 
    5358372526 cat >conftest.$ac_ext <<_ACEOF
    5358472527-#line 14753 "configure"
    53585 +#line 15616 "configure"
     72528+#line 15684 "configure"
    5358672529 #include "confdefs.h"
    5358772530 
    5358872531 #ifdef HAVE_XCURSES
    53589 @@ -14778,16 +15641,16 @@
     72532@@ -14778,16 +15709,16 @@
    5359072533 }
    5359172534 _ACEOF
    5359272535 rm -f conftest.$ac_objext
    5359372536-if { (eval echo "$as_me:14781: \"$ac_compile\"") >&5
    53594 +if { (eval echo "$as_me:15644: \"$ac_compile\"") >&5
     72537+if { (eval echo "$as_me:15712: \"$ac_compile\"") >&5
    5359572538   (eval $ac_compile) 2>&5
    5359672539   ac_status=$?
    5359772540-  echo "$as_me:14784: \$? = $ac_status" >&5
    53598 +  echo "$as_me:15647: \$? = $ac_status" >&5
     72541+  echo "$as_me:15715: \$? = $ac_status" >&5
    5359972542   (exit $ac_status); } &&
    5360072543          { ac_try='test -s conftest.$ac_objext'
    5360172544-  { (eval echo "$as_me:14787: \"$ac_try\"") >&5
    53602 +  { (eval echo "$as_me:15650: \"$ac_try\"") >&5
     72545+  { (eval echo "$as_me:15718: \"$ac_try\"") >&5
    5360372546   (eval $ac_try) 2>&5
    5360472547   ac_status=$?
    5360572548-  echo "$as_me:14790: \$? = $ac_status" >&5
    53606 +  echo "$as_me:15653: \$? = $ac_status" >&5
     72549+  echo "$as_me:15721: \$? = $ac_status" >&5
    5360772550   (exit $ac_status); }; }; then
    5360872551   cf_result=yes
    5360972552 else
    53610 @@ -14796,7 +15659,7 @@
     72553@@ -14796,7 +15727,7 @@
    5361172554 cf_result=no
    5361272555 fi
    5361372556 rm -f conftest.$ac_objext conftest.$ac_ext
    5361472557-echo "$as_me:14799: result: $cf_result" >&5
    53615 +echo "$as_me:15662: result: $cf_result" >&5
     72558+echo "$as_me:15730: result: $cf_result" >&5
    5361672559 echo "${ECHO_T}$cf_result" >&6
    5361772560 
    5361872561 if test $cf_result = yes ; then
    53619 @@ -14808,14 +15671,14 @@
     72562@@ -14808,14 +15739,14 @@
    5362072563 EOF
    5362172564 
    5362272565 else
    5362372566-       echo "$as_me:14811: checking for data boolnames in library" >&5
    53624 +       echo "$as_me:15674: checking for data boolnames in library" >&5
     72567+       echo "$as_me:15742: checking for data boolnames in library" >&5
    5362572568 echo $ECHO_N "checking for data boolnames in library... $ECHO_C" >&6
    5362672569        # BSD linkers insist on making weak linkage, but resolve at runtime.
     
    5363072573        cat >conftest.$ac_ext <<_ACEOF
    5363172574-#line 14818 "configure"
    53632 +#line 15681 "configure"
     72575+#line 15749 "configure"
    5363372576 #include "confdefs.h"
    5363472577 
    5363572578 #ifdef HAVE_XCURSES
    53636 @@ -14847,16 +15710,16 @@
     72579@@ -14847,16 +15778,16 @@
    5363772580 }
    5363872581 _ACEOF
    5363972582 rm -f conftest.$ac_objext conftest$ac_exeext
    5364072583-if { (eval echo "$as_me:14850: \"$ac_link\"") >&5
    53641 +if { (eval echo "$as_me:15713: \"$ac_link\"") >&5
     72584+if { (eval echo "$as_me:15781: \"$ac_link\"") >&5
    5364272585   (eval $ac_link) 2>&5
    5364372586   ac_status=$?
    5364472587-  echo "$as_me:14853: \$? = $ac_status" >&5
    53645 +  echo "$as_me:15716: \$? = $ac_status" >&5
     72588+  echo "$as_me:15784: \$? = $ac_status" >&5
    5364672589   (exit $ac_status); } &&
    5364772590          { ac_try='test -s conftest$ac_exeext'
    5364872591-  { (eval echo "$as_me:14856: \"$ac_try\"") >&5
    53649 +  { (eval echo "$as_me:15719: \"$ac_try\"") >&5
     72592+  { (eval echo "$as_me:15787: \"$ac_try\"") >&5
    5365072593   (eval $ac_try) 2>&5
    5365172594   ac_status=$?
    5365272595-  echo "$as_me:14859: \$? = $ac_status" >&5
    53653 +  echo "$as_me:15722: \$? = $ac_status" >&5
     72596+  echo "$as_me:15790: \$? = $ac_status" >&5
    5365472597   (exit $ac_status); }; }; then
    5365572598   cf_result=yes
    5365672599 else
    53657 @@ -14868,7 +15731,7 @@
     72600@@ -14868,7 +15799,7 @@
    5365872601 
    5365972602 else
    5366072603   cat >conftest.$ac_ext <<_ACEOF
    5366172604-#line 14871 "configure"
    53662 +#line 15734 "configure"
     72605+#line 15802 "configure"
    5366372606 #include "confdefs.h"
    5366472607 
    5366572608 #ifdef HAVE_XCURSES
    53666 @@ -14893,15 +15756,15 @@
     72609@@ -14893,15 +15824,15 @@
    5366772610 }
    5366872611 _ACEOF
    5366972612 rm -f conftest$ac_exeext
    5367072613-if { (eval echo "$as_me:14896: \"$ac_link\"") >&5
    53671 +if { (eval echo "$as_me:15759: \"$ac_link\"") >&5
     72614+if { (eval echo "$as_me:15827: \"$ac_link\"") >&5
    5367272615   (eval $ac_link) 2>&5
    5367372616   ac_status=$?
    5367472617-  echo "$as_me:14899: \$? = $ac_status" >&5
    53675 +  echo "$as_me:15762: \$? = $ac_status" >&5
     72618+  echo "$as_me:15830: \$? = $ac_status" >&5
    5367672619   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5367772620-  { (eval echo "$as_me:14901: \"$ac_try\"") >&5
    53678 +  { (eval echo "$as_me:15764: \"$ac_try\"") >&5
     72621+  { (eval echo "$as_me:15832: \"$ac_try\"") >&5
    5367972622   (eval $ac_try) 2>&5
    5368072623   ac_status=$?
    5368172624-  echo "$as_me:14904: \$? = $ac_status" >&5
    53682 +  echo "$as_me:15767: \$? = $ac_status" >&5
     72625+  echo "$as_me:15835: \$? = $ac_status" >&5
    5368372626   (exit $ac_status); }; }; then
    5368472627   cf_result=yes
    5368572628 else
    53686 @@ -14912,7 +15775,7 @@
     72629@@ -14912,7 +15843,7 @@
    5368772630 fi
    5368872631 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5368972632 fi
    5369072633-       echo "$as_me:14915: result: $cf_result" >&5
    53691 +       echo "$as_me:15778: result: $cf_result" >&5
     72634+       echo "$as_me:15846: result: $cf_result" >&5
    5369272635 echo "${ECHO_T}$cf_result" >&6
    5369372636        if test $cf_result = yes ; then
    5369472637 
    53695 @@ -14925,11 +15788,11 @@
     72638@@ -14925,11 +15856,11 @@
    5369672639        fi
    5369772640 fi
    5369872641 
    5369972642-echo "$as_me:14928: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
    53700 +echo "$as_me:15791: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
     72643+echo "$as_me:15859: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
    5370172644 echo $ECHO_N "checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
    5370272645 
    5370372646 cat >conftest.$ac_ext <<_ACEOF
    5370472647-#line 14932 "configure"
    53705 +#line 15795 "configure"
     72648+#line 15863 "configure"
    5370672649 #include "confdefs.h"
    5370772650 
    5370872651 #ifdef HAVE_XCURSES
    53709 @@ -14957,16 +15820,16 @@
     72652@@ -14957,16 +15888,16 @@
    5371072653 }
    5371172654 _ACEOF
    5371272655 rm -f conftest.$ac_objext
    5371372656-if { (eval echo "$as_me:14960: \"$ac_compile\"") >&5
    53714 +if { (eval echo "$as_me:15823: \"$ac_compile\"") >&5
     72657+if { (eval echo "$as_me:15891: \"$ac_compile\"") >&5
    5371572658   (eval $ac_compile) 2>&5
    5371672659   ac_status=$?
    5371772660-  echo "$as_me:14963: \$? = $ac_status" >&5
    53718 +  echo "$as_me:15826: \$? = $ac_status" >&5
     72661+  echo "$as_me:15894: \$? = $ac_status" >&5
    5371972662   (exit $ac_status); } &&
    5372072663          { ac_try='test -s conftest.$ac_objext'
    5372172664-  { (eval echo "$as_me:14966: \"$ac_try\"") >&5
    53722 +  { (eval echo "$as_me:15829: \"$ac_try\"") >&5
     72665+  { (eval echo "$as_me:15897: \"$ac_try\"") >&5
    5372372666   (eval $ac_try) 2>&5
    5372472667   ac_status=$?
    5372572668-  echo "$as_me:14969: \$? = $ac_status" >&5
    53726 +  echo "$as_me:15832: \$? = $ac_status" >&5
     72669+  echo "$as_me:15900: \$? = $ac_status" >&5
    5372772670   (exit $ac_status); }; }; then
    5372872671   cf_result=yes
    5372972672 else
    53730 @@ -14975,7 +15838,7 @@
     72673@@ -14975,7 +15906,7 @@
    5373172674 cf_result=no
    5373272675 fi
    5373372676 rm -f conftest.$ac_objext conftest.$ac_ext
    5373472677-echo "$as_me:14978: result: $cf_result" >&5
    53735 +echo "$as_me:15841: result: $cf_result" >&5
     72678+echo "$as_me:15909: result: $cf_result" >&5
    5373672679 echo "${ECHO_T}$cf_result" >&6
    5373772680 
    5373872681 if test $cf_result = yes ; then
    53739 @@ -14987,14 +15850,14 @@
     72682@@ -14987,14 +15918,14 @@
    5374072683 EOF
    5374172684 
    5374272685 else
    5374372686-       echo "$as_me:14990: checking for data boolfnames in library" >&5
    53744 +       echo "$as_me:15853: checking for data boolfnames in library" >&5
     72687+       echo "$as_me:15921: checking for data boolfnames in library" >&5
    5374572688 echo $ECHO_N "checking for data boolfnames in library... $ECHO_C" >&6
    5374672689        # BSD linkers insist on making weak linkage, but resolve at runtime.
     
    5375072693        cat >conftest.$ac_ext <<_ACEOF
    5375172694-#line 14997 "configure"
    53752 +#line 15860 "configure"
     72695+#line 15928 "configure"
    5375372696 #include "confdefs.h"
    5375472697 
    5375572698 #ifdef HAVE_XCURSES
    53756 @@ -15026,16 +15889,16 @@
     72699@@ -15026,16 +15957,16 @@
    5375772700 }
    5375872701 _ACEOF
    5375972702 rm -f conftest.$ac_objext conftest$ac_exeext
    5376072703-if { (eval echo "$as_me:15029: \"$ac_link\"") >&5
    53761 +if { (eval echo "$as_me:15892: \"$ac_link\"") >&5
     72704+if { (eval echo "$as_me:15960: \"$ac_link\"") >&5
    5376272705   (eval $ac_link) 2>&5
    5376372706   ac_status=$?
    5376472707-  echo "$as_me:15032: \$? = $ac_status" >&5
    53765 +  echo "$as_me:15895: \$? = $ac_status" >&5
     72708+  echo "$as_me:15963: \$? = $ac_status" >&5
    5376672709   (exit $ac_status); } &&
    5376772710          { ac_try='test -s conftest$ac_exeext'
    5376872711-  { (eval echo "$as_me:15035: \"$ac_try\"") >&5
    53769 +  { (eval echo "$as_me:15898: \"$ac_try\"") >&5
     72712+  { (eval echo "$as_me:15966: \"$ac_try\"") >&5
    5377072713   (eval $ac_try) 2>&5
    5377172714   ac_status=$?
    5377272715-  echo "$as_me:15038: \$? = $ac_status" >&5
    53773 +  echo "$as_me:15901: \$? = $ac_status" >&5
     72716+  echo "$as_me:15969: \$? = $ac_status" >&5
    5377472717   (exit $ac_status); }; }; then
    5377572718   cf_result=yes
    5377672719 else
    53777 @@ -15047,7 +15910,7 @@
     72720@@ -15047,7 +15978,7 @@
    5377872721 
    5377972722 else
    5378072723   cat >conftest.$ac_ext <<_ACEOF
    5378172724-#line 15050 "configure"
    53782 +#line 15913 "configure"
     72725+#line 15981 "configure"
    5378372726 #include "confdefs.h"
    5378472727 
    5378572728 #ifdef HAVE_XCURSES
    53786 @@ -15072,15 +15935,15 @@
     72729@@ -15072,15 +16003,15 @@
    5378772730 }
    5378872731 _ACEOF
    5378972732 rm -f conftest$ac_exeext
    5379072733-if { (eval echo "$as_me:15075: \"$ac_link\"") >&5
    53791 +if { (eval echo "$as_me:15938: \"$ac_link\"") >&5
     72734+if { (eval echo "$as_me:16006: \"$ac_link\"") >&5
    5379272735   (eval $ac_link) 2>&5
    5379372736   ac_status=$?
    5379472737-  echo "$as_me:15078: \$? = $ac_status" >&5
    53795 +  echo "$as_me:15941: \$? = $ac_status" >&5
     72738+  echo "$as_me:16009: \$? = $ac_status" >&5
    5379672739   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5379772740-  { (eval echo "$as_me:15080: \"$ac_try\"") >&5
    53798 +  { (eval echo "$as_me:15943: \"$ac_try\"") >&5
     72741+  { (eval echo "$as_me:16011: \"$ac_try\"") >&5
    5379972742   (eval $ac_try) 2>&5
    5380072743   ac_status=$?
    5380172744-  echo "$as_me:15083: \$? = $ac_status" >&5
    53802 +  echo "$as_me:15946: \$? = $ac_status" >&5
     72745+  echo "$as_me:16014: \$? = $ac_status" >&5
    5380372746   (exit $ac_status); }; }; then
    5380472747   cf_result=yes
    5380572748 else
    53806 @@ -15091,7 +15954,7 @@
     72749@@ -15091,7 +16022,7 @@
    5380772750 fi
    5380872751 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5380972752 fi
    5381072753-       echo "$as_me:15094: result: $cf_result" >&5
    53811 +       echo "$as_me:15957: result: $cf_result" >&5
     72754+       echo "$as_me:16025: result: $cf_result" >&5
    5381272755 echo "${ECHO_T}$cf_result" >&6
    5381372756        if test $cf_result = yes ; then
    5381472757 
    53815 @@ -15104,6 +15967,335 @@
     72758@@ -15104,6 +16035,335 @@
    5381672759        fi
    5381772760 fi
    5381872761 
    5381972762+LD_RPATH_OPT=
    53820 +echo "$as_me:15971: checking for an rpath option" >&5
     72763+echo "$as_me:16039: checking for an rpath option" >&5
    5382172764+echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
    5382272765+case $cf_cv_system_name in #(vi
     
    5384972792+       ;;
    5385072793+esac
    53851 +echo "$as_me:16002: result: $LD_RPATH_OPT" >&5
     72794+echo "$as_me:16070: result: $LD_RPATH_OPT" >&5
    5385272795+echo "${ECHO_T}$LD_RPATH_OPT" >&6
    5385372796+
    5385472797+case "x$LD_RPATH_OPT" in #(vi
    5385572798+x-R*)
    53856 +       echo "$as_me:16007: checking if we need a space after rpath option" >&5
     72799+       echo "$as_me:16075: checking if we need a space after rpath option" >&5
    5385772800+echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6
    5385872801+       cf_save_LIBS="$LIBS"
    5385972802+       LIBS="${LD_RPATH_OPT}$libdir $LIBS"
    5386072803+       cat >conftest.$ac_ext <<_ACEOF
    53861 +#line 16012 "configure"
     72804+#line 16080 "configure"
    5386272805+#include "confdefs.h"
    5386372806+
     
    5387172814+_ACEOF
    5387272815+rm -f conftest.$ac_objext conftest$ac_exeext
    53873 +if { (eval echo "$as_me:16024: \"$ac_link\"") >&5
     72816+if { (eval echo "$as_me:16092: \"$ac_link\"") >&5
    5387472817+  (eval $ac_link) 2>&5
    5387572818+  ac_status=$?
    53876 +  echo "$as_me:16027: \$? = $ac_status" >&5
     72819+  echo "$as_me:16095: \$? = $ac_status" >&5
    5387772820+  (exit $ac_status); } &&
    5387872821+         { ac_try='test -s conftest$ac_exeext'
    53879 +  { (eval echo "$as_me:16030: \"$ac_try\"") >&5
     72822+  { (eval echo "$as_me:16098: \"$ac_try\"") >&5
    5388072823+  (eval $ac_try) 2>&5
    5388172824+  ac_status=$?
    53882 +  echo "$as_me:16033: \$? = $ac_status" >&5
     72825+  echo "$as_me:16101: \$? = $ac_status" >&5
    5388372826+  (exit $ac_status); }; }; then
    5388472827+  cf_rpath_space=no
     
    5389072833+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5389172834+       LIBS="$cf_save_LIBS"
    53892 +       echo "$as_me:16043: result: $cf_rpath_space" >&5
     72835+       echo "$as_me:16111: result: $cf_rpath_space" >&5
    5389372836+echo "${ECHO_T}$cf_rpath_space" >&6
    5389472837+       test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT "
     
    5389672839+esac
    5389772840+
    53898 +echo "$as_me:16049: checking if rpath-hack should be disabled" >&5
     72841+echo "$as_me:16117: checking if rpath-hack should be disabled" >&5
    5389972842+echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6
    5390072843+
     
    5391372856+
    5391472857+fi;
    53915 +echo "$as_me:16066: result: $cf_disable_rpath_hack" >&5
     72858+echo "$as_me:16134: result: $cf_disable_rpath_hack" >&5
    5391672859+echo "${ECHO_T}$cf_disable_rpath_hack" >&6
    5391772860+if test "$cf_disable_rpath_hack" = no ; then
    5391872861+
    53919 +echo "$as_me:16070: checking for updated LDFLAGS" >&5
     72862+echo "$as_me:16138: checking for updated LDFLAGS" >&5
    5392072863+echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6
    5392172864+if test -n "$LD_RPATH_OPT" ; then
    53922 +       echo "$as_me:16073: result: maybe" >&5
     72865+       echo "$as_me:16141: result: maybe" >&5
    5392372866+echo "${ECHO_T}maybe" >&6
    5392472867+
     
    5392772870+  # Extract the first word of "$ac_prog", so it can be a program name with args.
    5392872871+set dummy $ac_prog; ac_word=$2
    53929 +echo "$as_me:16080: checking for $ac_word" >&5
     72872+echo "$as_me:16148: checking for $ac_word" >&5
    5393072873+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5393172874+if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then
     
    5394272885+  $as_executable_p "$ac_dir/$ac_word" || continue
    5394372886+ac_cv_prog_cf_ldd_prog="$ac_prog"
    53944 +echo "$as_me:16095: found $ac_dir/$ac_word" >&5
     72887+echo "$as_me:16163: found $ac_dir/$ac_word" >&5
    5394572888+break
    5394672889+done
     
    5395072893+cf_ldd_prog=$ac_cv_prog_cf_ldd_prog
    5395172894+if test -n "$cf_ldd_prog"; then
    53952 +  echo "$as_me:16103: result: $cf_ldd_prog" >&5
     72895+  echo "$as_me:16171: result: $cf_ldd_prog" >&5
    5395372896+echo "${ECHO_T}$cf_ldd_prog" >&6
    5395472897+else
    53955 +  echo "$as_me:16106: result: no" >&5
     72898+  echo "$as_me:16174: result: no" >&5
    5395672899+echo "${ECHO_T}no" >&6
    5395772900+fi
     
    5396772910+
    5396872911+cat >conftest.$ac_ext <<_ACEOF
    53969 +#line 16120 "configure"
     72912+#line 16188 "configure"
    5397072913+#include "confdefs.h"
    5397172914+#include <stdio.h>
     
    5397972922+_ACEOF
    5398072923+rm -f conftest.$ac_objext conftest$ac_exeext
    53981 +if { (eval echo "$as_me:16132: \"$ac_link\"") >&5
     72924+if { (eval echo "$as_me:16200: \"$ac_link\"") >&5
    5398272925+  (eval $ac_link) 2>&5
    5398372926+  ac_status=$?
    53984 +  echo "$as_me:16135: \$? = $ac_status" >&5
     72927+  echo "$as_me:16203: \$? = $ac_status" >&5
    5398572928+  (exit $ac_status); } &&
    5398672929+         { ac_try='test -s conftest$ac_exeext'
    53987 +  { (eval echo "$as_me:16138: \"$ac_try\"") >&5
     72930+  { (eval echo "$as_me:16206: \"$ac_try\"") >&5
    5398872931+  (eval $ac_try) 2>&5
    5398972932+  ac_status=$?
    53990 +  echo "$as_me:16141: \$? = $ac_status" >&5
     72933+  echo "$as_me:16209: \$? = $ac_status" >&5
    5399172934+  (exit $ac_status); }; }; then
    5399272935+  cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort -u`
     
    5401672959+                                               test -n "$verbose" && echo "    ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6
    5401772960+
    54018 +echo "${as_me:-configure}:16169: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
     72961+echo "${as_me:-configure}:16237: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
    5401972962+
    5402072963+                                               LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
     
    5402872971+       test -n "$verbose" && echo "    ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
    5402972972+
    54030 +echo "${as_me:-configure}:16181: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     72973+echo "${as_me:-configure}:16249: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    5403172974+
    5403272975+test -n "$verbose" && echo "   ...checking LDFLAGS $LDFLAGS" 1>&6
    5403372976+
    54034 +echo "${as_me:-configure}:16185: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
     72977+echo "${as_me:-configure}:16253: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
    5403572978+
    5403672979+cf_rpath_dst=
     
    5406973012+                               test -n "$verbose" && echo "    ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
    5407073013+
    54071 +echo "${as_me:-configure}:16222: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     73014+echo "${as_me:-configure}:16290: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    5407273015+
    5407373016+                               EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
     
    5408273025+test -n "$verbose" && echo "   ...checked LDFLAGS $LDFLAGS" 1>&6
    5408373026+
    54084 +echo "${as_me:-configure}:16235: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
     73027+echo "${as_me:-configure}:16303: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
    5408573028+
    5408673029+test -n "$verbose" && echo "   ...checking LIBS $LIBS" 1>&6
    5408773030+
    54088 +echo "${as_me:-configure}:16239: testing ...checking LIBS $LIBS ..." 1>&5
     73031+echo "${as_me:-configure}:16307: testing ...checking LIBS $LIBS ..." 1>&5
    5408973032+
    5409073033+cf_rpath_dst=
     
    5412373066+                               test -n "$verbose" && echo "    ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
    5412473067+
    54125 +echo "${as_me:-configure}:16276: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     73068+echo "${as_me:-configure}:16344: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    5412673069+
    5412773070+                               EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
     
    5413673079+test -n "$verbose" && echo "   ...checked LIBS $LIBS" 1>&6
    5413773080+
    54138 +echo "${as_me:-configure}:16289: testing ...checked LIBS $LIBS ..." 1>&5
     73081+echo "${as_me:-configure}:16357: testing ...checked LIBS $LIBS ..." 1>&5
    5413973082+
    5414073083+       test -n "$verbose" && echo "    ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
    5414173084+
    54142 +echo "${as_me:-configure}:16293: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     73085+echo "${as_me:-configure}:16361: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    5414373086+
    5414473087+fi
     
    5414973092 LIBS=
    5415073093 
    54151 @@ -15188,7 +16380,7 @@
     73094@@ -15188,7 +16448,7 @@
    5415273095 : ${CONFIG_STATUS=./config.status}
    5415373096 ac_clean_files_save=$ac_clean_files
    5415473097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    5415573098-{ echo "$as_me:15191: creating $CONFIG_STATUS" >&5
    54156 +{ echo "$as_me:16383: creating $CONFIG_STATUS" >&5
     73099+{ echo "$as_me:16451: creating $CONFIG_STATUS" >&5
    5415773100 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    5415873101 cat >$CONFIG_STATUS <<_ACEOF
    5415973102 #! $SHELL
    54160 @@ -15364,7 +16556,7 @@
     73103@@ -15320,7 +16580,7 @@
     73104 cat >>$CONFIG_STATUS <<EOF
     73105 ac_cs_version="\\
     73106 config.status
     73107-configured by $0, generated by GNU Autoconf 2.52.20101002,
     73108+configured by $0, generated by GNU Autoconf 2.52.20120811,
     73109   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     73110 
     73111 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     73112@@ -15364,7 +16624,7 @@
    5416173113     echo "$ac_cs_version"; exit 0 ;;
    5416273114   --he | --h)
    5416373115     # Conflict between --help and --header
    5416473116-    { { echo "$as_me:15367: error: ambiguous option: $1
    54165 +    { { echo "$as_me:16559: error: ambiguous option: $1
     73117+    { { echo "$as_me:16627: error: ambiguous option: $1
    5416673118 Try \`$0 --help' for more information." >&5
    5416773119 echo "$as_me: error: ambiguous option: $1
    5416873120 Try \`$0 --help' for more information." >&2;}
    54169 @@ -15383,7 +16575,7 @@
     73121@@ -15383,7 +16643,7 @@
    5417073122     ac_need_defaults=false;;
    5417173123 
    5417273124   # This is an error.
    5417373125-  -*) { { echo "$as_me:15386: error: unrecognized option: $1
    54174 +  -*) { { echo "$as_me:16578: error: unrecognized option: $1
     73126+  -*) { { echo "$as_me:16646: error: unrecognized option: $1
    5417573127 Try \`$0 --help' for more information." >&5
    5417673128 echo "$as_me: error: unrecognized option: $1
    5417773129 Try \`$0 --help' for more information." >&2;}
    54178 @@ -15431,7 +16623,7 @@
     73130@@ -15402,7 +16662,7 @@
     73131 ## Running config.status.  ##
     73132 ## ----------------------- ##
     73133 
     73134-This file was extended by $as_me 2.52.20101002, executed with
     73135+This file was extended by $as_me 2.52.20120811, executed with
     73136   CONFIG_FILES    = $CONFIG_FILES
     73137   CONFIG_HEADERS  = $CONFIG_HEADERS
     73138   CONFIG_LINKS    = $CONFIG_LINKS
     73139@@ -15419,7 +16679,9 @@
     73140 #
     73141 
     73142 AWK="$AWK"
     73143+ECHO_CC="$ECHO_CC"
     73144 ECHO_LD="$ECHO_LD"
     73145+SHOW_CC="$SHOW_LD"
     73146 
     73147 EOF
     73148 
     73149@@ -15431,7 +16693,7 @@
    5417973150   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    5418073151   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    5418173152   "ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ncurses_cfg.h:ncurses_tst.hin" ;;
    5418273153-  *) { { echo "$as_me:15434: error: invalid argument: $ac_config_target" >&5
    54183 +  *) { { echo "$as_me:16626: error: invalid argument: $ac_config_target" >&5
     73154+  *) { { echo "$as_me:16696: error: invalid argument: $ac_config_target" >&5
    5418473155 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    5418573156    { (exit 1); exit 1; }; };;
    5418673157   esac
    54187 @@ -15541,6 +16733,7 @@
     73158@@ -15490,6 +16752,7 @@
     73159 s,@bindir@,$bindir,;t t
     73160 s,@sbindir@,$sbindir,;t t
     73161 s,@libexecdir@,$libexecdir,;t t
     73162+s,@datarootdir@,$datarootdir,;t t
     73163 s,@datadir@,$datadir,;t t
     73164 s,@sysconfdir@,$sysconfdir,;t t
     73165 s,@sharedstatedir@,$sharedstatedir,;t t
     73166@@ -15541,6 +16804,7 @@
    5418873167 s,@MAKE_LOWER_TAGS@,$MAKE_LOWER_TAGS,;t t
    5418973168 s,@MAKE_UPPER_TAGS@,$MAKE_UPPER_TAGS,;t t
     
    5419373172 s,@CC_SHARED_OPTS@,$CC_SHARED_OPTS,;t t
    5419473173 s,@DFT_DEP_SUFFIX@,$DFT_DEP_SUFFIX,;t t
    54195 @@ -15561,7 +16754,8 @@
     73174@@ -15561,7 +16825,8 @@
    5419673175 s,@TEST_ARGS@,$TEST_ARGS,;t t
    5419773176 s,@TEST_DEPS@,$TEST_DEPS,;t t
     
    5420373182 s,@cf_cv_rel_version@,$cf_cv_rel_version,;t t
    5420473183 s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t
    54205 @@ -15572,6 +16766,7 @@
     73184@@ -15572,6 +16837,7 @@
    5420673185 s,@ECHO_CC@,$ECHO_CC,;t t
    5420773186 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
     
    5421173190 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
    5421273191 s,@X_CFLAGS@,$X_CFLAGS,;t t
    54213 @@ -15579,7 +16774,10 @@
     73192@@ -15579,7 +16845,10 @@
    5421473193 s,@X_LIBS@,$X_LIBS,;t t
    5421573194 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
     
    5422273201 
    5422373202 EOF
    54224 @@ -15694,7 +16892,7 @@
     73203@@ -15694,7 +16963,7 @@
    5422573204   esac
    5422673205 
    5422773206   if test x"$ac_file" != x-; then
    5422873207-    { echo "$as_me:15697: creating $ac_file" >&5
    54229 +    { echo "$as_me:16895: creating $ac_file" >&5
     73208+    { echo "$as_me:16966: creating $ac_file" >&5
    5423073209 echo "$as_me: creating $ac_file" >&6;}
    5423173210     rm -f "$ac_file"
    5423273211   fi
    54233 @@ -15712,7 +16910,7 @@
     73212@@ -15712,7 +16981,7 @@
    5423473213       -) echo $tmp/stdin ;;
    5423573214       [\\/$]*)
    5423673215          # Absolute (can't be DOS-style, as IFS=:)
    5423773216-         test -f "$f" || { { echo "$as_me:15715: error: cannot find input file: $f" >&5
    54238 +         test -f "$f" || { { echo "$as_me:16913: error: cannot find input file: $f" >&5
     73217+         test -f "$f" || { { echo "$as_me:16984: error: cannot find input file: $f" >&5
    5423973218 echo "$as_me: error: cannot find input file: $f" >&2;}
    5424073219    { (exit 1); exit 1; }; }
    5424173220          echo $f;;
    54242 @@ -15725,7 +16923,7 @@
     73221@@ -15725,7 +16994,7 @@
    5424373222            echo $srcdir/$f
    5424473223          else
    5424573224            # /dev/null tree
    5424673225-           { { echo "$as_me:15728: error: cannot find input file: $f" >&5
    54247 +           { { echo "$as_me:16926: error: cannot find input file: $f" >&5
     73226+           { { echo "$as_me:16997: error: cannot find input file: $f" >&5
    5424873227 echo "$as_me: error: cannot find input file: $f" >&2;}
    5424973228    { (exit 1); exit 1; }; }
    5425073229          fi;;
    54251 @@ -15791,7 +16989,7 @@
     73230@@ -15791,7 +17060,7 @@
    5425273231   * )   ac_file_in=$ac_file.in ;;
    5425373232   esac
    5425473233 
    5425573234-  test x"$ac_file" != x- && { echo "$as_me:15794: creating $ac_file" >&5
    54256 +  test x"$ac_file" != x- && { echo "$as_me:16992: creating $ac_file" >&5
     73235+  test x"$ac_file" != x- && { echo "$as_me:17063: creating $ac_file" >&5
    5425773236 echo "$as_me: creating $ac_file" >&6;}
    5425873237 
    5425973238   # First look for the input files in the build tree, otherwise in the
    54260 @@ -15802,7 +17000,7 @@
     73239@@ -15802,7 +17071,7 @@
    5426173240       -) echo $tmp/stdin ;;
    5426273241       [\\/$]*)
    5426373242          # Absolute (can't be DOS-style, as IFS=:)
    5426473243-         test -f "$f" || { { echo "$as_me:15805: error: cannot find input file: $f" >&5
    54265 +         test -f "$f" || { { echo "$as_me:17003: error: cannot find input file: $f" >&5
     73244+         test -f "$f" || { { echo "$as_me:17074: error: cannot find input file: $f" >&5
    5426673245 echo "$as_me: error: cannot find input file: $f" >&2;}
    5426773246    { (exit 1); exit 1; }; }
    5426873247          echo $f;;
    54269 @@ -15815,7 +17013,7 @@
     73248@@ -15815,7 +17084,7 @@
    5427073249            echo $srcdir/$f
    5427173250          else
    5427273251            # /dev/null tree
    5427373252-           { { echo "$as_me:15818: error: cannot find input file: $f" >&5
    54274 +           { { echo "$as_me:17016: error: cannot find input file: $f" >&5
     73253+           { { echo "$as_me:17087: error: cannot find input file: $f" >&5
    5427573254 echo "$as_me: error: cannot find input file: $f" >&2;}
    5427673255    { (exit 1); exit 1; }; }
    5427773256          fi;;
    54278 @@ -15873,7 +17071,7 @@
     73257@@ -15873,7 +17142,7 @@
    5427973258   rm -f $tmp/in
    5428073259   if test x"$ac_file" != x-; then
    5428173260     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    5428273261-      { echo "$as_me:15876: $ac_file is unchanged" >&5
    54283 +      { echo "$as_me:17074: $ac_file is unchanged" >&5
     73262+      { echo "$as_me:17145: $ac_file is unchanged" >&5
    5428473263 echo "$as_me: $ac_file is unchanged" >&6;}
    5428573264     else
    5428673265       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     73266@@ -15949,7 +17218,8 @@
     73267 \$(MODEL)/$N.o : \$(srcdir)/$N.c \\
     73268        \$(srcdir)/test.priv.h \\
     73269        ncurses_cfg.h
     73270-       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
     73271+       $SHOW_CC
     73272+       $ECHO_CC\$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
     73273 TEST_EOF
     73274 done
     73275 
    5428773276diff -Naur ncurses-5.9.orig/test/configure.in ncurses-5.9/test/configure.in
    54288 --- ncurses-5.9.orig/test/configure.in  2012-02-16 18:25:12.635809407 +0000
    54289 +++ ncurses-5.9/test/configure.in       2012-02-16 18:25:13.215824712 +0000
     73277--- ncurses-5.9.orig/test/configure.in  2012-08-25 19:57:59.403234265 +0000
     73278+++ ncurses-5.9/test/configure.in       2012-08-25 19:58:01.046559827 +0000
    5429073279@@ -1,5 +1,5 @@
    5429173280 dnl***************************************************************************
     
    5430073289 dnl
    5430173290-dnl $Id: configure.in,v 1.90 2011/03/22 09:15:08 tom Exp $
    54302 +dnl $Id: configure.in,v 1.103 2012/01/21 23:55:49 tom Exp $
     73291+dnl $Id: configure.in,v 1.104 2012/03/17 17:29:03 tom Exp $
    5430373292 dnl This is a simple configuration-script for the ncurses test programs that
    5430473293 dnl allows the test-directory to be separately configured against a reference
     
    5453973528 LIBS=
    5454073529 
     73530@@ -302,7 +333,8 @@
     73531 \$(MODEL)/$N.o : \$(srcdir)/$N.c \\
     73532        \$(srcdir)/test.priv.h \\
     73533        ncurses_cfg.h
     73534-       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
     73535+       $SHOW_CC
     73536+       $ECHO_CC\$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
     73537 TEST_EOF
     73538 done
     73539 
     73540@@ -317,5 +349,7 @@
     73541 fi
     73542 ],[
     73543 AWK="$AWK"
     73544+ECHO_CC="$ECHO_CC"
     73545 ECHO_LD="$ECHO_LD"
     73546+SHOW_CC="$SHOW_LD"
     73547 ],cat)
     73548diff -Naur ncurses-5.9.orig/test/demo_forms.c ncurses-5.9/test/demo_forms.c
     73549--- ncurses-5.9.orig/test/demo_forms.c  2012-08-25 19:57:59.403234265 +0000
     73550+++ ncurses-5.9/test/demo_forms.c       2012-08-25 19:58:01.779889693 +0000
     73551@@ -1,5 +1,5 @@
     73552 /****************************************************************************
     73553- * Copyright (c) 2003-2010,2011 Free Software Foundation, Inc.              *
     73554+ * Copyright (c) 2003-2011,2012 Free Software Foundation, Inc.              *
     73555  *                                                                          *
     73556  * Permission is hereby granted, free of charge, to any person obtaining a  *
     73557  * copy of this software and associated documentation files (the            *
     73558@@ -26,7 +26,7 @@
     73559  * authorization.                                                           *
     73560  ****************************************************************************/
     73561 /*
     73562- * $Id: demo_forms.c,v 1.38 2011/01/15 18:15:11 tom Exp $
     73563+ * $Id: demo_forms.c,v 1.39 2012/06/09 20:30:32 tom Exp $
     73564  *
     73565  * Demonstrate a variety of functions from the form library.
     73566  * Thomas Dickey - 2003/4/26
     73567@@ -108,7 +108,7 @@
     73568        set_field_just(f, j_value);
     73569        if (d_option) {
     73570            if (has_colors()) {
     73571-               set_field_fore(f, COLOR_PAIR(2));
     73572+               set_field_fore(f, (chtype) COLOR_PAIR(2));
     73573                set_field_back(f, A_UNDERLINE | COLOR_PAIR(3));
     73574            } else {
     73575                set_field_fore(f, A_BOLD);
     73576@@ -257,7 +257,7 @@
     73577     int currow, curcol;
     73578 
     73579     if (has_colors()) {
     73580-       wbkgd(win, COLOR_PAIR(1));
     73581+       wbkgd(win, (chtype) COLOR_PAIR(1));
     73582     }
     73583     werase(win);
     73584     form_getyx(form, currow, curcol);
     73585@@ -309,15 +309,15 @@
     73586        }
     73587 
     73588        waddch(win, ' ');
     73589-       (void) wattrset(win, field_fore(field));
     73590+       (void) wattrset(win, (int) field_fore(field));
     73591        waddstr(win, "fore");
     73592-       wattroff(win, field_fore(field));
     73593+       wattroff(win, (int) field_fore(field));
     73594 
     73595        waddch(win, '/');
     73596 
     73597-       (void) wattrset(win, field_back(field));
     73598+       (void) wattrset(win, (int) field_back(field));
     73599        waddstr(win, "back");
     73600-       wattroff(win, field_back(field));
     73601+       wattroff(win, (int) field_back(field));
     73602 
     73603        wprintw(win, ", pad '%c'",
     73604                field_pad(field));
     73605@@ -531,7 +531,7 @@
     73606        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     73607        init_pair(2, COLOR_GREEN, COLOR_BLACK);
     73608        init_pair(3, COLOR_CYAN, COLOR_BLACK);
     73609-       bkgd(COLOR_PAIR(1));
     73610+       bkgd((chtype) COLOR_PAIR(1));
     73611        refresh();
     73612     }
     73613 
     73614@@ -540,6 +540,7 @@
     73615     endwin();
     73616     ExitProgram(EXIT_SUCCESS);
     73617 }
     73618+
     73619 #else
     73620 int
     73621 main(void)
    5454173622diff -Naur ncurses-5.9.orig/test/demo_menus.c ncurses-5.9/test/demo_menus.c
    54542 --- ncurses-5.9.orig/test/demo_menus.c  2012-02-16 18:25:12.635809407 +0000
    54543 +++ ncurses-5.9/test/demo_menus.c       2012-02-16 18:25:13.155823127 +0000
     73623--- ncurses-5.9.orig/test/demo_menus.c  2012-08-25 19:57:59.403234265 +0000
     73624+++ ncurses-5.9/test/demo_menus.c       2012-08-25 19:58:01.783223010 +0000
    5454473625@@ -1,5 +1,5 @@
    5454573626 /****************************************************************************
     
    5455473635 /*
    5455573636- * $Id: demo_menus.c,v 1.32 2011/01/15 20:02:47 tom Exp $
    54556 + * $Id: demo_menus.c,v 1.33 2012/01/14 17:20:39 tom Exp $
     73637+ * $Id: demo_menus.c,v 1.34 2012/06/09 20:30:33 tom Exp $
    5455773638  *
    5455873639  * Demonstrate a variety of functions from the menu library.
    5455973640  * Thomas Dickey - 2005/4/9
     73641@@ -225,8 +225,8 @@
     73642     result = new_menu(items);
     73643 
     73644     if (has_colors()) {
     73645-       set_menu_fore(result, COLOR_PAIR(1));
     73646-       set_menu_back(result, COLOR_PAIR(2));
     73647+       set_menu_fore(result, (chtype) COLOR_PAIR(1));
     73648+       set_menu_back(result, (chtype) COLOR_PAIR(2));
     73649     }
     73650 
     73651     set_menu_format(result, maxrow, maxcol);
    5456073652@@ -831,7 +831,7 @@
    5456173653 {
     
    5456773659        ,"Options:"
    5456873660 #if HAVE_RIPOFFLINE
     73661diff -Naur ncurses-5.9.orig/test/demo_termcap.c ncurses-5.9/test/demo_termcap.c
     73662--- ncurses-5.9.orig/test/demo_termcap.c        2012-08-25 19:57:59.406567583 +0000
     73663+++ ncurses-5.9/test/demo_termcap.c     2012-08-25 19:58:01.896555808 +0000
     73664@@ -1,5 +1,5 @@
     73665 /****************************************************************************
     73666- * Copyright (c) 2005-2010,2011 Free Software Foundation, Inc.              *
     73667+ * Copyright (c) 2005-2011,2012 Free Software Foundation, Inc.              *
     73668  *                                                                          *
     73669  * Permission is hereby granted, free of charge, to any person obtaining a  *
     73670  * copy of this software and associated documentation files (the            *
     73671@@ -29,7 +29,7 @@
     73672 /*
     73673  * Author: Thomas E. Dickey
     73674  *
     73675- * $Id: demo_termcap.c,v 1.14 2011/01/15 21:41:27 tom Exp $
     73676+ * $Id: demo_termcap.c,v 1.22 2012/07/07 23:37:27 tom Exp $
     73677  *
     73678  * A simple demo of the termcap interface.
     73679  */
     73680@@ -50,11 +50,112 @@
     73681 #if USE_CODE_LISTS
     73682 static bool b_opt = FALSE;
     73683 static bool n_opt = FALSE;
     73684+static bool q_opt = FALSE;
     73685 static bool s_opt = FALSE;
     73686 #endif
     73687 
     73688+static char *d_opt;
     73689+static char *e_opt;
     73690+static char **db_list;
     73691+static int db_item;
     73692+
     73693+static long total_values;
     73694+
     73695 #define isCapName(c) (isgraph(c) && strchr("^#=:\\", c) == 0)
     73696 
     73697+#if NO_LEAKS && USE_CODE_LISTS
     73698+
     73699+#define MYSCR struct _myscr
     73700+MYSCR {
     73701+    MYSCR *next;
     73702+    TERMINAL *term;
     73703+};
     73704+
     73705+static MYSCR *my_screens;
     73706+
     73707+static void
     73708+save_screen(void)
     73709+{
     73710+    MYSCR *obj = malloc(sizeof(MYSCR));
     73711+    obj->next = my_screens;
     73712+    obj->term = cur_term;
     73713+    my_screens = obj;
     73714+}
     73715+#else
     73716+#define save_screen()          /* nothing */
     73717+#endif
     73718+
     73719+static char *
     73720+make_dbitem(char *p, char *q)
     73721+{
     73722+    char *result = malloc(strlen(e_opt) + 2 + (size_t) (p - q));
     73723+    sprintf(result, "%s=%.*s", e_opt, (int) (p - q), q);
     73724+    return result;
     73725+}
     73726+
     73727+static void
     73728+make_dblist(void)
     73729+{
     73730+    if (d_opt && e_opt) {
     73731+       int pass;
     73732+
     73733+       for (pass = 0; pass < 2; ++pass) {
     73734+           char *p, *q;
     73735+           size_t count = 0;
     73736+
     73737+           for (p = q = d_opt; *p != '\0'; ++p) {
     73738+               if (*p == ':') {
     73739+                   if (p != q + 1) {
     73740+                       if (pass) {
     73741+                           db_list[count] = make_dbitem(p, q);
     73742+                       }
     73743+                       count++;
     73744+                   }
     73745+                   q = p + 1;
     73746+               }
     73747+           }
     73748+           if (p != q + 1) {
     73749+               if (pass) {
     73750+                   db_list[count] = make_dbitem(p, q);
     73751+               }
     73752+               count++;
     73753+           }
     73754+           if (!pass) {
     73755+               db_list = typeCalloc(char *, count + 1);
     73756+           }
     73757+       }
     73758+    }
     73759+}
     73760+
     73761+static char *
     73762+next_dbitem(void)
     73763+{
     73764+    char *result = 0;
     73765+
     73766+    if (db_list) {
     73767+       if ((result = db_list[db_item]) == 0) {
     73768+           db_item = 0;
     73769+           result = db_list[0];
     73770+       } else {
     73771+           db_item++;
     73772+       }
     73773+    }
     73774+    printf("** %s\n", result);
     73775+    return result;
     73776+}
     73777+
     73778+static void
     73779+free_dblist(void)
     73780+{
     73781+    if (db_list) {
     73782+       int n;
     73783+       for (n = 0; db_list[n]; ++n)
     73784+           free(db_list[n]);
     73785+       free(db_list);
     73786+       db_list = 0;
     73787+    }
     73788+}
     73789+
     73790 static void
     73791 dumpit(NCURSES_CONST char *cap)
     73792 {
     73793@@ -70,66 +171,77 @@
     73794     int num;
     73795 
     73796     if ((str = tgetstr(cap, &ap)) != 0) {
     73797-       /*
     73798-        * Note that the strings returned are mostly terminfo format, since
     73799-        * ncurses does not convert except for a handful of special cases.
     73800-        */
     73801-       printf(FNAME(str), cap);
     73802-       while (*str != 0) {
     73803-           int ch = UChar(*str++);
     73804-           switch (ch) {
     73805-           case '\177':
     73806-               fputs("^?", stdout);
     73807-               break;
     73808-           case '\033':
     73809-               fputs("\\E", stdout);
     73810-               break;
     73811-           case '\b':
     73812-               fputs("\\b", stdout);
     73813-               break;
     73814-           case '\f':
     73815-               fputs("\\f", stdout);
     73816-               break;
     73817-           case '\n':
     73818-               fputs("\\n", stdout);
     73819-               break;
     73820-           case '\r':
     73821-               fputs("\\r", stdout);
     73822-               break;
     73823-           case ' ':
     73824-               fputs("\\s", stdout);
     73825-               break;
     73826-           case '\t':
     73827-               fputs("\\t", stdout);
     73828-               break;
     73829-           case '^':
     73830-               fputs("\\^", stdout);
     73831-               break;
     73832-           case ':':
     73833-               fputs("\\072", stdout);
     73834-               break;
     73835-           case '\\':
     73836-               fputs("\\\\", stdout);
     73837-               break;
     73838-           default:
     73839-               if (isgraph(ch))
     73840-                   fputc(ch, stdout);
     73841-               else if (ch < 32)
     73842-                   printf("^%c", ch + '@');
     73843-               else
     73844-                   printf("\\%03o", ch);
     73845-               break;
     73846+       total_values++;
     73847+       if (!q_opt) {
     73848+           /*
     73849+            * Note that the strings returned are mostly terminfo format, since
     73850+            * ncurses does not convert except for a handful of special cases.
     73851+            */
     73852+           printf(FNAME(str), cap);
     73853+           while (*str != 0) {
     73854+               int ch = UChar(*str++);
     73855+               switch (ch) {
     73856+               case '\177':
     73857+                   fputs("^?", stdout);
     73858+                   break;
     73859+               case '\033':
     73860+                   fputs("\\E", stdout);
     73861+                   break;
     73862+               case '\b':
     73863+                   fputs("\\b", stdout);
     73864+                   break;
     73865+               case '\f':
     73866+                   fputs("\\f", stdout);
     73867+                   break;
     73868+               case '\n':
     73869+                   fputs("\\n", stdout);
     73870+                   break;
     73871+               case '\r':
     73872+                   fputs("\\r", stdout);
     73873+                   break;
     73874+               case ' ':
     73875+                   fputs("\\s", stdout);
     73876+                   break;
     73877+               case '\t':
     73878+                   fputs("\\t", stdout);
     73879+                   break;
     73880+               case '^':
     73881+                   fputs("\\^", stdout);
     73882+                   break;
     73883+               case ':':
     73884+                   fputs("\\072", stdout);
     73885+                   break;
     73886+               case '\\':
     73887+                   fputs("\\\\", stdout);
     73888+                   break;
     73889+               default:
     73890+                   if (isgraph(ch))
     73891+                       fputc(ch, stdout);
     73892+                   else if (ch < 32)
     73893+                       printf("^%c", ch + '@');
     73894+                   else
     73895+                       printf("\\%03o", ch);
     73896+                   break;
     73897+               }
     73898            }
     73899+           printf("\n");
     73900        }
     73901-       printf("\n");
     73902     } else if ((num = tgetnum(cap)) >= 0) {
     73903-       printf(FNAME(num), cap);
     73904-       printf(" %d\n", num);
     73905+       total_values++;
     73906+       if (!q_opt) {
     73907+           printf(FNAME(num), cap);
     73908+           printf(" %d\n", num);
     73909+       }
     73910     } else if (tgetflag(cap) > 0) {
     73911-       printf(FNAME(flg), cap);
     73912-       printf("%s\n", "true");
     73913+       ++total_values;
     73914+       if (!q_opt) {
     73915+           printf(FNAME(flg), cap);
     73916+           printf("%s\n", "true");
     73917+       }
     73918     }
     73919-    fflush(stdout);
     73920+
     73921+    if (!q_opt)
     73922+       fflush(stdout);
     73923 }
     73924 
     73925 static void
     73926@@ -137,6 +249,9 @@
     73927 {
     73928     char buffer[1024];
     73929 
     73930+    if (db_list) {
     73931+       putenv(next_dbitem());
     73932+    }
     73933     printf("Terminal type %s\n", name);
     73934     if (tgetent(buffer, name) >= 0) {
     73935        char cap[3];
     73936@@ -159,17 +274,21 @@
     73937 
     73938 #if USE_CODE_LISTS
     73939 static void
     73940-demo_terminfo(NCURSES_CONST char *name)
     73941+demo_termcap(NCURSES_CONST char *name)
     73942 {
     73943     unsigned n;
     73944     NCURSES_CONST char *cap;
     73945 
     73946+    if (db_list) {
     73947+       putenv(next_dbitem());
     73948+    }
     73949     printf("Terminal type \"%s\"\n", name);
     73950 #if HAVE_SETUPTERM
     73951     setupterm(name, 1, (int *) 0);
     73952 #else
     73953     setterm(name);
     73954 #endif
     73955+    save_screen();
     73956 
     73957     if (b_opt) {
     73958        for (n = 0;; ++n) {
     73959@@ -204,7 +323,7 @@
     73960 {
     73961     static const char *msg[] =
     73962     {
     73963-       "Usage: demo_terminfo [options] [terminal]",
     73964+       "Usage: demo_termcap [options] [terminal]",
     73965        "",
     73966        "If no options are given, print all (boolean, numeric, string)",
     73967        "capabilities for the given terminal, using short names.",
     73968@@ -212,7 +331,10 @@
     73969        "Options:",
     73970        " -a       try all names, print capabilities found",
     73971        " -b       print boolean-capabilities",
     73972+       " -d LIST  colon-separated list of databases to use",
     73973+       " -e NAME  environment variable to set with -d option",
     73974        " -n       print numeric-capabilities",
     73975+       " -q       quiet (prints only counts)",
     73976        " -r COUNT repeat for given count",
     73977        " -s       print string-capabilities",
     73978     };
     73979@@ -235,7 +357,7 @@
     73980     int repeat;
     73981     int r_opt = 1;
     73982 
     73983-    while ((n = getopt(argc, argv, "abnr:s")) != -1) {
     73984+    while ((n = getopt(argc, argv, "abd:e:nqr:s")) != -1) {
     73985        switch (n) {
     73986        case 'a':
     73987            a_opt = TRUE;
     73988@@ -243,9 +365,18 @@
     73989        case 'b':
     73990            b_opt = TRUE;
     73991            break;
     73992+       case 'd':
     73993+           d_opt = optarg;
     73994+           break;
     73995+       case 'e':
     73996+           e_opt = optarg;
     73997+           break;
     73998        case 'n':
     73999            n_opt = TRUE;
     74000            break;
     74001+       case 'q':
     74002+           q_opt = TRUE;
     74003+           break;
     74004        case 'r':
     74005            if ((r_opt = atoi(optarg)) <= 0)
     74006                usage();
     74007@@ -268,6 +399,8 @@
     74008     a_opt = TRUE;
     74009 #endif
     74010 
     74011+    make_dblist();
     74012+
     74013     if (a_opt) {
     74014        if (optind < argc) {
     74015            for (n = optind; n < argc; ++n) {
     74016@@ -285,17 +418,35 @@
     74017        for (repeat = 0; repeat < r_opt; ++repeat) {
     74018            if (optind < argc) {
     74019                for (n = optind; n < argc; ++n) {
     74020-                   demo_terminfo(argv[n]);
     74021+                   demo_termcap(argv[n]);
     74022                }
     74023            } else if ((name = getenv("TERM")) != 0) {
     74024-               demo_terminfo(name);
     74025+               demo_termcap(name);
     74026            } else {
     74027                static char dumb[] = "dumb";
     74028-               demo_terminfo(dumb);
     74029+               demo_termcap(dumb);
     74030            }
     74031        }
     74032-    }
     74033+#if NO_LEAKS
     74034+       /*
     74035+        * ncurses' tgetent() interface caches some entries and its no-leaks
     74036+        * code discards those.  The calls to setupterm() on the other hand
     74037+        * are not cached, and each call allocates a chunk of memory, even
     74038+        * if the same terminal type is requested repeatedly.
     74039+        */
     74040+       while (my_screens != 0) {
     74041+           MYSCR *next = my_screens->next;
     74042+           del_curterm(my_screens->term);
     74043+           free(my_screens);
     74044+           my_screens = next;
     74045+       }
     74046 #endif
     74047+    }
     74048+#endif /* USE_CODE_LISTS */
     74049+
     74050+    printf("%ld values\n", total_values);
     74051+
     74052+    free_dblist();
     74053 
     74054     ExitProgram(EXIT_SUCCESS);
     74055 }
     74056@@ -306,6 +457,6 @@
     74057      char *argv[]GCC_UNUSED)
     74058 {
     74059     printf("This program requires termcap\n");
     74060-    exit(EXIT_FAILURE);
     74061+    ExitProgram(EXIT_FAILURE);
     74062 }
     74063 #endif
     74064diff -Naur ncurses-5.9.orig/test/demo_terminfo.c ncurses-5.9/test/demo_terminfo.c
     74065--- ncurses-5.9.orig/test/demo_terminfo.c       2012-08-25 19:57:59.403234265 +0000
     74066+++ ncurses-5.9/test/demo_terminfo.c    2012-08-25 19:58:01.896555808 +0000
     74067@@ -1,5 +1,5 @@
     74068 /****************************************************************************
     74069- * Copyright (c) 2009,2010 Free Software Foundation, Inc.                   *
     74070+ * Copyright (c) 2009-2010,2012 Free Software Foundation, Inc.              *
     74071  *                                                                          *
     74072  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74073  * copy of this software and associated documentation files (the            *
     74074@@ -29,7 +29,7 @@
     74075 /*
     74076  * Author: Thomas E. Dickey
     74077  *
     74078- * $Id: demo_terminfo.c,v 1.9 2010/11/28 00:15:27 tom Exp $
     74079+ * $Id: demo_terminfo.c,v 1.13 2012/07/07 23:37:13 tom Exp $
     74080  *
     74081  * A simple demo of the terminfo interface.
     74082  */
     74083@@ -52,12 +52,90 @@
     74084 static bool b_opt = FALSE;
     74085 static bool f_opt = FALSE;
     74086 static bool n_opt = FALSE;
     74087+static bool q_opt = FALSE;
     74088 static bool s_opt = FALSE;
     74089 static bool x_opt = FALSE;
     74090 
     74091+static char *d_opt;
     74092+static char *e_opt;
     74093+static char **db_list;
     74094+static int db_item;
     74095+
     74096+static long total_values;
     74097+
     74098 #define FCOLS 8
     74099 #define FNAME(type) "%s %-*s = ", #type, FCOLS
     74100 
     74101+static char *
     74102+make_dbitem(char *p, char *q)
     74103+{
     74104+    char *result = malloc(strlen(e_opt) + 2 + (size_t) (p - q));
     74105+    sprintf(result, "%s=%.*s", e_opt, (int) (p - q), q);
     74106+    return result;
     74107+}
     74108+
     74109+static void
     74110+make_dblist(void)
     74111+{
     74112+    if (d_opt && e_opt) {
     74113+       int pass;
     74114+
     74115+       for (pass = 0; pass < 2; ++pass) {
     74116+           char *p, *q;
     74117+           size_t count = 0;
     74118+
     74119+           for (p = q = d_opt; *p != '\0'; ++p) {
     74120+               if (*p == ':') {
     74121+                   if (p != q + 1) {
     74122+                       if (pass) {
     74123+                           db_list[count] = make_dbitem(p, q);
     74124+                       }
     74125+                       count++;
     74126+                   }
     74127+                   q = p + 1;
     74128+               }
     74129+           }
     74130+           if (p != q + 1) {
     74131+               if (pass) {
     74132+                   db_list[count] = make_dbitem(p, q);
     74133+               }
     74134+               count++;
     74135+           }
     74136+           if (!pass) {
     74137+               db_list = typeCalloc(char *, count + 1);
     74138+           }
     74139+       }
     74140+    }
     74141+}
     74142+
     74143+static char *
     74144+next_dbitem(void)
     74145+{
     74146+    char *result = 0;
     74147+
     74148+    if (db_list) {
     74149+       if ((result = db_list[db_item]) == 0) {
     74150+           db_item = 0;
     74151+           result = db_list[0];
     74152+       } else {
     74153+           db_item++;
     74154+       }
     74155+    }
     74156+    printf("** %s\n", result);
     74157+    return result;
     74158+}
     74159+
     74160+static void
     74161+free_dblist(void)
     74162+{
     74163+    if (db_list) {
     74164+       int n;
     74165+       for (n = 0; db_list[n]; ++n)
     74166+           free(db_list[n]);
     74167+       free(db_list);
     74168+       db_list = 0;
     74169+    }
     74170+}
     74171 static void
     74172 dumpit(NCURSES_CONST char *cap)
     74173 {
     74174@@ -72,66 +150,77 @@
     74175     int num;
     74176 
     74177     if ((str = tigetstr(cap)) != 0 && (str != (char *) -1)) {
     74178-       /*
     74179-        * Note that the strings returned are mostly terminfo format, since
     74180-        * ncurses does not convert except for a handful of special cases.
     74181-        */
     74182-       printf(FNAME(str), cap);
     74183-       while (*str != 0) {
     74184-           int ch = UChar(*str++);
     74185-           switch (ch) {
     74186-           case '\177':
     74187-               fputs("^?", stdout);
     74188-               break;
     74189-           case '\033':
     74190-               fputs("\\E", stdout);
     74191-               break;
     74192-           case '\b':
     74193-               fputs("\\b", stdout);
     74194-               break;
     74195-           case '\f':
     74196-               fputs("\\f", stdout);
     74197-               break;
     74198-           case '\n':
     74199-               fputs("\\n", stdout);
     74200-               break;
     74201-           case '\r':
     74202-               fputs("\\r", stdout);
     74203-               break;
     74204-           case ' ':
     74205-               fputs("\\s", stdout);
     74206-               break;
     74207-           case '\t':
     74208-               fputs("\\t", stdout);
     74209-               break;
     74210-           case '^':
     74211-               fputs("\\^", stdout);
     74212-               break;
     74213-           case ':':
     74214-               fputs("\\072", stdout);
     74215-               break;
     74216-           case '\\':
     74217-               fputs("\\\\", stdout);
     74218-               break;
     74219-           default:
     74220-               if (isgraph(ch))
     74221-                   fputc(ch, stdout);
     74222-               else if (ch < 32)
     74223-                   printf("^%c", ch + '@');
     74224-               else
     74225-                   printf("\\%03o", ch);
     74226-               break;
     74227+       total_values++;
     74228+       if (!q_opt) {
     74229+           /*
     74230+            * Note that the strings returned are mostly terminfo format, since
     74231+            * ncurses does not convert except for a handful of special cases.
     74232+            */
     74233+           printf(FNAME(str), cap);
     74234+           while (*str != 0) {
     74235+               int ch = UChar(*str++);
     74236+               switch (ch) {
     74237+               case '\177':
     74238+                   fputs("^?", stdout);
     74239+                   break;
     74240+               case '\033':
     74241+                   fputs("\\E", stdout);
     74242+                   break;
     74243+               case '\b':
     74244+                   fputs("\\b", stdout);
     74245+                   break;
     74246+               case '\f':
     74247+                   fputs("\\f", stdout);
     74248+                   break;
     74249+               case '\n':
     74250+                   fputs("\\n", stdout);
     74251+                   break;
     74252+               case '\r':
     74253+                   fputs("\\r", stdout);
     74254+                   break;
     74255+               case ' ':
     74256+                   fputs("\\s", stdout);
     74257+                   break;
     74258+               case '\t':
     74259+                   fputs("\\t", stdout);
     74260+                   break;
     74261+               case '^':
     74262+                   fputs("\\^", stdout);
     74263+                   break;
     74264+               case ':':
     74265+                   fputs("\\072", stdout);
     74266+                   break;
     74267+               case '\\':
     74268+                   fputs("\\\\", stdout);
     74269+                   break;
     74270+               default:
     74271+                   if (isgraph(ch))
     74272+                       fputc(ch, stdout);
     74273+                   else if (ch < 32)
     74274+                       printf("^%c", ch + '@');
     74275+                   else
     74276+                       printf("\\%03o", ch);
     74277+                   break;
     74278+               }
     74279            }
     74280+           printf("\n");
     74281        }
     74282-       printf("\n");
     74283     } else if ((num = tigetnum(cap)) >= 0) {
     74284-       printf(FNAME(num), cap);
     74285-       printf(" %d\n", num);
     74286+       total_values++;
     74287+       if (!q_opt) {
     74288+           printf(FNAME(num), cap);
     74289+           printf(" %d\n", num);
     74290+       }
     74291     } else if ((num = tigetflag(cap)) >= 0) {
     74292-       printf(FNAME(flg), cap);
     74293-       printf("%s\n", num ? "true" : "false");
     74294+       total_values++;
     74295+       if (!q_opt) {
     74296+           printf(FNAME(flg), cap);
     74297+           printf("%s\n", num ? "true" : "false");
     74298+       }
     74299     }
     74300-    fflush(stdout);
     74301+
     74302+    if (!q_opt)
     74303+       fflush(stdout);
     74304 }
     74305 
     74306 static void
     74307@@ -140,6 +229,9 @@
     74308     unsigned n;
     74309     NCURSES_CONST char *cap;
     74310 
     74311+    if (db_list) {
     74312+       putenv(next_dbitem());
     74313+    }
     74314     printf("Terminal type \"%s\"\n", name);
     74315     setupterm(name, 1, (int *) 0);
     74316 
     74317@@ -224,8 +316,11 @@
     74318        "",
     74319        "Options:",
     74320        " -b       print boolean-capabilities",
     74321+       " -d LIST  colon-separated list of databases to use",
     74322+       " -e NAME  environment variable to set with -d option",
     74323        " -f       print full names",
     74324        " -n       print numeric-capabilities",
     74325+       " -q       quiet (prints only counts)",
     74326        " -r COUNT repeat for given count",
     74327        " -s       print string-capabilities",
     74328 #ifdef NCURSES_VERSION
     74329@@ -247,17 +342,26 @@
     74330     char *name;
     74331     int r_opt = 1;
     74332 
     74333-    while ((n = getopt(argc, argv, "bfnr:sx")) != -1) {
     74334+    while ((n = getopt(argc, argv, "bd:e:fnqr:sx")) != -1) {
     74335        switch (n) {
     74336        case 'b':
     74337            b_opt = TRUE;
     74338            break;
     74339+       case 'd':
     74340+           d_opt = optarg;
     74341+           break;
     74342+       case 'e':
     74343+           e_opt = optarg;
     74344+           break;
     74345        case 'f':
     74346            f_opt = TRUE;
     74347            break;
     74348        case 'n':
     74349            n_opt = TRUE;
     74350            break;
     74351+       case 'q':
     74352+           q_opt = TRUE;
     74353+           break;
     74354        case 'r':
     74355            if ((r_opt = atoi(optarg)) <= 0)
     74356                usage();
     74357@@ -283,6 +387,8 @@
     74358        s_opt = TRUE;
     74359     }
     74360 
     74361+    make_dblist();
     74362+
     74363     for (repeat = 0; repeat < r_opt; ++repeat) {
     74364        if (optind < argc) {
     74365            for (n = optind; n < argc; ++n) {
     74366@@ -296,6 +402,10 @@
     74367        }
     74368     }
     74369 
     74370+    printf("%ld values\n", total_values);
     74371+
     74372+    free_dblist();
     74373+
     74374     ExitProgram(EXIT_SUCCESS);
     74375 }
     74376 
    5456974377diff -Naur ncurses-5.9.orig/test/ditto.c ncurses-5.9/test/ditto.c
    54570 --- ncurses-5.9.orig/test/ditto.c       2012-02-16 18:25:12.635809407 +0000
    54571 +++ ncurses-5.9/test/ditto.c    2012-02-16 18:25:13.031819857 +0000
     74378--- ncurses-5.9.orig/test/ditto.c       2012-08-25 19:57:59.403234265 +0000
     74379+++ ncurses-5.9/test/ditto.c    2012-08-25 19:58:00.086564367 +0000
    5457274380@@ -1,5 +1,5 @@
    5457374381 /****************************************************************************
     
    5459774405 {
    5459874406diff -Naur ncurses-5.9.orig/test/dots.c ncurses-5.9/test/dots.c
    54599 --- ncurses-5.9.orig/test/dots.c        2012-02-16 18:25:12.635809407 +0000
    54600 +++ ncurses-5.9/test/dots.c     2012-02-16 18:25:13.031819857 +0000
     74407--- ncurses-5.9.orig/test/dots.c        2012-08-25 19:57:59.406567583 +0000
     74408+++ ncurses-5.9/test/dots.c     2012-08-25 19:58:00.086564367 +0000
    5460174409@@ -29,7 +29,7 @@
    5460274410 /*
     
    5462974437 static bool
    5463074438diff -Naur ncurses-5.9.orig/test/dots_mvcur.c ncurses-5.9/test/dots_mvcur.c
    54631 --- ncurses-5.9.orig/test/dots_mvcur.c  2012-02-16 18:25:12.635809407 +0000
    54632 +++ ncurses-5.9/test/dots_mvcur.c       2012-02-16 18:25:13.035819963 +0000
     74439--- ncurses-5.9.orig/test/dots_mvcur.c  2012-08-25 19:57:59.403234265 +0000
     74440+++ ncurses-5.9/test/dots_mvcur.c       2012-08-25 19:58:00.086564367 +0000
    5463374441@@ -29,7 +29,7 @@
    5463474442 /*
     
    5466074468 
    5466174469 static bool
     74470diff -Naur ncurses-5.9.orig/test/echochar.c ncurses-5.9/test/echochar.c
     74471--- ncurses-5.9.orig/test/echochar.c    2012-08-25 19:57:59.399900947 +0000
     74472+++ ncurses-5.9/test/echochar.c 2012-08-25 19:58:01.783223010 +0000
     74473@@ -1,5 +1,5 @@
     74474 /****************************************************************************
     74475- * Copyright (c) 2006-2008,2010 Free Software Foundation, Inc.              *
     74476+ * Copyright (c) 2006-2010,2012 Free Software Foundation, Inc.              *
     74477  *                                                                          *
     74478  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74479  * copy of this software and associated documentation files (the            *
     74480@@ -26,7 +26,7 @@
     74481  * authorization.                                                           *
     74482  ****************************************************************************/
     74483 /*
     74484- * $Id: echochar.c,v 1.8 2010/11/14 01:00:44 tom Exp $
     74485+ * $Id: echochar.c,v 1.9 2012/06/09 20:30:32 tom Exp $
     74486  *
     74487  * Demonstrate the echochar function (compare to dots.c).
     74488  * Thomas Dickey - 2006/11/4
     74489@@ -74,7 +74,7 @@
     74490                  (short) fg,
     74491                  (short) bg);
     74492     }
     74493-    attron(COLOR_PAIR(pair));
     74494+    attron((attr_t) COLOR_PAIR(pair));
     74495 }
     74496 
     74497 int
    5466274498diff -Naur ncurses-5.9.orig/test/filter.c ncurses-5.9/test/filter.c
    54663 --- ncurses-5.9.orig/test/filter.c      2012-02-16 18:25:12.635809407 +0000
    54664 +++ ncurses-5.9/test/filter.c   2012-02-16 18:25:13.035819963 +0000
     74499--- ncurses-5.9.orig/test/filter.c      2012-08-25 19:57:59.403234265 +0000
     74500+++ ncurses-5.9/test/filter.c   2012-08-25 19:58:01.783223010 +0000
    5466574501@@ -1,5 +1,5 @@
    5466674502 /****************************************************************************
    5466774503- * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.              *
    54668 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     74504+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    5466974505  *                                                                          *
    5467074506  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    5467574511  *
    5467674512- * $Id: filter.c,v 1.13 2010/11/13 20:55:54 tom Exp $
    54677 + * $Id: filter.c,v 1.14 2011/04/23 20:13:32 tom Exp $
     74513+ * $Id: filter.c,v 1.15 2012/06/09 20:30:32 tom Exp $
    5467874514  */
    5467974515 #include <test.priv.h>
    5468074516 
     74517@@ -133,7 +133,7 @@
     74518            background = -1;
     74519 #endif
     74520        init_pair(1, COLOR_CYAN, (short) background);
     74521-       underline = COLOR_PAIR(1);
     74522+       underline = (attr_t) COLOR_PAIR(1);
     74523     } else {
     74524        underline = A_UNDERLINE;
     74525     }
    5468174526@@ -143,7 +143,7 @@
    5468274527        reset_shell_mode();
     
    5468874533        touchwin(stdscr);
    5468974534        erase();
     74535diff -Naur ncurses-5.9.orig/test/gdc.c ncurses-5.9/test/gdc.c
     74536--- ncurses-5.9.orig/test/gdc.c 2012-08-25 19:57:59.403234265 +0000
     74537+++ ncurses-5.9/test/gdc.c      2012-08-25 19:58:01.786556327 +0000
     74538@@ -1,5 +1,5 @@
     74539 /****************************************************************************
     74540- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     74541+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     74542  *                                                                          *
     74543  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74544  * copy of this software and associated documentation files (the            *
     74545@@ -33,7 +33,7 @@
     74546  * modified 10-18-89 for curses (jrl)
     74547  * 10-18-89 added signal handling
     74548  *
     74549- * $Id: gdc.c,v 1.34 2010/11/13 21:01:23 tom Exp $
     74550+ * $Id: gdc.c,v 1.35 2012/06/09 20:30:32 tom Exp $
     74551  */
     74552 
     74553 #include <test.priv.h>
     74554@@ -78,7 +78,7 @@
     74555     int n;
     74556 
     74557     if (hascolor)
     74558-       (void) attrset(COLOR_PAIR(PAIR_FRAMES));
     74559+       (void) attrset((attr_t) COLOR_PAIR(PAIR_FRAMES));
     74560 
     74561     MvAddCh(YBASE - 1, XBASE - 1, ACS_ULCORNER);
     74562     hline(ACS_HLINE, XLENGTH);
     74563@@ -102,7 +102,7 @@
     74564     vline(ACS_VLINE, YDEPTH);
     74565 
     74566     if (hascolor)
     74567-       (void) attrset(COLOR_PAIR(PAIR_OTHERS));
     74568+       (void) attrset((attr_t) COLOR_PAIR(PAIR_OTHERS));
     74569 }
     74570 
     74571 static void
     74572@@ -110,13 +110,13 @@
     74573 {
     74574     if (on) {
     74575        if (hascolor) {
     74576-           attron(COLOR_PAIR(PAIR_DIGITS));
     74577+           attron((attr_t) COLOR_PAIR(PAIR_DIGITS));
     74578        } else {
     74579            attron(A_STANDOUT);
     74580        }
     74581     } else {
     74582        if (hascolor) {
     74583-           attron(COLOR_PAIR(PAIR_OTHERS));
     74584+           attron((attr_t) COLOR_PAIR(PAIR_OTHERS));
     74585        } else {
     74586            attroff(A_STANDOUT);
     74587        }
     74588@@ -220,7 +220,7 @@
     74589        init_pair(PAIR_DIGITS, COLOR_BLACK, COLOR_RED);
     74590        init_pair(PAIR_OTHERS, COLOR_RED, bg);
     74591        init_pair(PAIR_FRAMES, COLOR_WHITE, bg);
     74592-       (void) attrset(COLOR_PAIR(PAIR_OTHERS));
     74593+       (void) attrset((attr_t) COLOR_PAIR(PAIR_OTHERS));
     74594     }
     74595 
     74596   restart:
     74597diff -Naur ncurses-5.9.orig/test/hanoi.c ncurses-5.9/test/hanoi.c
     74598--- ncurses-5.9.orig/test/hanoi.c       2012-08-25 19:57:59.403234265 +0000
     74599+++ ncurses-5.9/test/hanoi.c    2012-08-25 19:58:01.786556327 +0000
     74600@@ -1,5 +1,5 @@
     74601 /****************************************************************************
     74602- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
     74603+ * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
     74604  *                                                                          *
     74605  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74606  * copy of this software and associated documentation files (the            *
     74607@@ -41,7 +41,7 @@
     74608  *
     74609  *     Date: 05.Nov.90
     74610  *
     74611- * $Id: hanoi.c,v 1.31 2010/11/14 01:01:07 tom Exp $
     74612+ * $Id: hanoi.c,v 1.32 2012/06/09 20:30:32 tom Exp $
     74613  */
     74614 
     74615 #include <test.priv.h>
     74616@@ -57,7 +57,7 @@
     74617 #define MIDPEG                 39
     74618 #define RIGHTPEG               59
     74619 
     74620-#define LENTOIND(x)            (((x)-1)/2)
     74621+#define LENTOIND(x)            (((int)(x)-1)/2)
     74622 #define OTHER(a,b)             (3-((a)+(b)))
     74623 
     74624 struct Peg {
     74625@@ -255,7 +255,7 @@
     74626                memset(TileBuf, ' ', len);
     74627                TileBuf[len] = '\0';
     74628                if (has_colors())
     74629-                   (void) attrset(COLOR_PAIR(LENTOIND(len)));
     74630+                   (void) attrset((attr_t) COLOR_PAIR(LENTOIND(len)));
     74631                else
     74632                    (void) attrset(A_REVERSE);
     74633                MvAddStr(BASELINE - (SlotNo + 1),
    5469074634diff -Naur ncurses-5.9.orig/test/ins_wide.c ncurses-5.9/test/ins_wide.c
    54691 --- ncurses-5.9.orig/test/ins_wide.c    2012-02-16 18:25:12.635809407 +0000
    54692 +++ ncurses-5.9/test/ins_wide.c 2012-02-16 18:25:13.035819963 +0000
     74635--- ncurses-5.9.orig/test/ins_wide.c    2012-08-25 19:57:59.403234265 +0000
     74636+++ ncurses-5.9/test/ins_wide.c 2012-08-25 19:58:01.786556327 +0000
     74637@@ -1,5 +1,5 @@
     74638 /****************************************************************************
     74639- * Copyright (c) 2002-2009,2010 Free Software Foundation, Inc.              *
     74640+ * Copyright (c) 2002-2010,2012 Free Software Foundation, Inc.              *
     74641  *                                                                          *
     74642  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74643  * copy of this software and associated documentation files (the            *
    5469374644@@ -26,7 +26,7 @@
    5469474645  * authorization.                                                           *
     
    5469674647 /*
    5469774648- * $Id: ins_wide.c,v 1.15 2010/12/12 00:20:14 tom Exp $
    54698 + * $Id: ins_wide.c,v 1.16 2011/12/10 19:54:43 tom Exp $
     74649+ * $Id: ins_wide.c,v 1.17 2012/06/09 20:29:33 tom Exp $
    5469974650  *
    5470074651  * Demonstrate the wins_wstr() and wins_wch functions.
     
    5471274663     if (first) {
    5471374664        static char cmd[80];
     74665@@ -281,7 +282,7 @@
     74666     if (has_colors()) {
     74667        start_color();
     74668        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     74669-       wbkgdset(work, COLOR_PAIR(1) | ' ');
     74670+       wbkgdset(work, (chtype) (COLOR_PAIR(1) | ' '));
     74671     }
     74672 
     74673     while ((ch = read_linedata(work)) != ERR && !isQUIT(ch)) {
     74674diff -Naur ncurses-5.9.orig/test/insdelln.c ncurses-5.9/test/insdelln.c
     74675--- ncurses-5.9.orig/test/insdelln.c    2012-08-25 19:57:59.403234265 +0000
     74676+++ ncurses-5.9/test/insdelln.c 2012-08-25 19:58:01.789889645 +0000
     74677@@ -1,5 +1,5 @@
     74678 /****************************************************************************
     74679- * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc.              *
     74680+ * Copyright (c) 2008-2010,2012 Free Software Foundation, Inc.              *
     74681  *                                                                          *
     74682  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74683  * copy of this software and associated documentation files (the            *
     74684@@ -26,7 +26,7 @@
     74685  * authorization.                                                           *
     74686  ****************************************************************************/
     74687 /*
     74688- * $Id: insdelln.c,v 1.5 2010/11/13 23:39:38 tom Exp $
     74689+ * $Id: insdelln.c,v 1.6 2012/06/09 20:29:33 tom Exp $
     74690  *
     74691  * test-driver for deleteln, wdeleteln, insdelln, winsdelln, insertln, winsertln
     74692  */
     74693@@ -300,7 +300,7 @@
     74694     init_status(win, &st);
     74695 
     74696     do {
     74697-       (void) wattrset(win, st.attr | (attr_t) COLOR_PAIR(st.pair));
     74698+       (void) wattrset(win, (int) (st.attr | (attr_t) COLOR_PAIR(st.pair)));
     74699        switch (st.ch) {
     74700        case 'i':
     74701            for (n = 0; n < st.count; ++n)
     74702diff -Naur ncurses-5.9.orig/test/inserts.c ncurses-5.9/test/inserts.c
     74703--- ncurses-5.9.orig/test/inserts.c     2012-08-25 19:57:59.403234265 +0000
     74704+++ ncurses-5.9/test/inserts.c  2012-08-25 19:58:01.789889645 +0000
     74705@@ -1,5 +1,5 @@
     74706 /****************************************************************************
     74707- * Copyright (c) 2002-2009,2010 Free Software Foundation, Inc.              *
     74708+ * Copyright (c) 2002-2010,2012 Free Software Foundation, Inc.              *
     74709  *                                                                          *
     74710  * Permission is hereby granted, free of charge, to any person obtaining a  *
     74711  * copy of this software and associated documentation files (the            *
     74712@@ -26,7 +26,7 @@
     74713  * authorization.                                                           *
     74714  ****************************************************************************/
     74715 /*
     74716- * $Id: inserts.c,v 1.23 2010/12/12 00:19:55 tom Exp $
     74717+ * $Id: inserts.c,v 1.24 2012/06/09 20:29:33 tom Exp $
     74718  *
     74719  * Demonstrate the winsstr() and winsch functions.
     74720  * Thomas Dickey - 2002/10/19
     74721@@ -207,7 +207,7 @@
     74722     if (has_colors()) {
     74723        start_color();
     74724        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     74725-       wbkgdset(work, COLOR_PAIR(1) | ' ');
     74726+       wbkgdset(work, (chtype) (COLOR_PAIR(1) | ' '));
     74727     }
     74728 
     74729     while ((ch = read_linedata(work)) != ERR && !isQUIT(ch)) {
    5471474730diff -Naur ncurses-5.9.orig/test/movewindow.c ncurses-5.9/test/movewindow.c
    54715 --- ncurses-5.9.orig/test/movewindow.c  2012-02-16 18:25:12.631809302 +0000
    54716 +++ ncurses-5.9/test/movewindow.c       2012-02-16 18:25:13.243825451 +0000
     74731--- ncurses-5.9.orig/test/movewindow.c  2012-08-25 19:57:59.403234265 +0000
     74732+++ ncurses-5.9/test/movewindow.c       2012-08-25 19:58:01.793222963 +0000
    5471774733@@ -1,5 +1,5 @@
    5471874734 /****************************************************************************
     
    5472774743 /*
    5472874744- * $Id: movewindow.c,v 1.24 2010/11/13 23:34:55 tom Exp $
    54729 + * $Id: movewindow.c,v 1.34 2012/02/05 01:16:47 tom Exp $
     74745+ * $Id: movewindow.c,v 1.35 2012/06/09 20:30:32 tom Exp $
    5473074746  *
    5473174747  * Demonstrate move functions for windows and derived windows from the curses
     
    5500375019+    for (y = 0; y < y1; ++y) {
    5500475020+       for (x = 0; x < x1; ++x) {
    55005 +           MvWAddCh(win, y, x, ch);
     75021+           MvWAddCh(win, y, x, (chtype) ch);
    5500675022+           if (++ch > 'z')
    5500775023+               ch = 'a';
     
    5508375099            continue;
    5508475100diff -Naur ncurses-5.9.orig/test/ncurses.c ncurses-5.9/test/ncurses.c
    55085 --- ncurses-5.9.orig/test/ncurses.c     2012-02-16 18:25:12.635809407 +0000
    55086 +++ ncurses-5.9/test/ncurses.c  2012-02-16 18:25:13.035819963 +0000
     75101--- ncurses-5.9.orig/test/ncurses.c     2012-08-25 19:57:59.403234265 +0000
     75102+++ ncurses-5.9/test/ncurses.c  2012-08-25 19:58:02.029888511 +0000
     75103@@ -1,5 +1,5 @@
     75104 /****************************************************************************
     75105- * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     75106+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
     75107  *                                                                          *
     75108  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75109  * copy of this software and associated documentation files (the            *
    5508775110@@ -40,7 +40,7 @@
    5508875111    Author: Eric S. Raymond <esr@snark.thyrsus.com> 1993
     
    5509075113 
    5509175114-$Id: ncurses.c,v 1.365 2011/01/22 19:48:33 tom Exp $
    55092 +$Id: ncurses.c,v 1.370 2011/09/17 21:57:49 tom Exp $
     75115+$Id: ncurses.c,v 1.373 2012/07/21 17:40:21 tom Exp $
    5509375116 
    5509475117 ***************************************************************************/
     
    5510375126     if (message)
    5510475127        addstr("returned from shellout.\n");
    55105 @@ -777,7 +777,7 @@
     75128@@ -777,12 +777,21 @@
    5510675129     }
    5510775130     doupdate();
     
    5511275135 #define forget_boxes()         /* nothing */
    5511375136 #define remember_boxes(level,text,frame)       /* nothing */
    55114 @@ -1394,7 +1394,7 @@
     75137 #endif
     75138 
     75139+/*
     75140+ * Return-code is OK/ERR or a keyname.
     75141+ */
     75142+static const char *
     75143+ok_keyname(int code)
     75144+{
     75145+    return ((code == OK) ? "OK" : ((code == ERR) ? "ERR" : keyname(code)));
     75146+}
     75147+
     75148 static void
     75149 wgetch_test(unsigned level, WINDOW *win, int delay)
     75150 {
     75151@@ -824,9 +833,11 @@
     75152        } else if (c == 'g') {
     75153            waddstr(win, "getstr test: ");
     75154            echo();
     75155-           wgetnstr(win, buf, sizeof(buf) - 1);
     75156+           c = wgetnstr(win, buf, sizeof(buf) - 1);
     75157            noecho();
     75158-           wprintw(win, "I saw %d characters:\n\t`%s'.", (int) strlen(buf), buf);
     75159+           wprintw(win, "I saw %d characters:\n\t`%s' (%s).",
     75160+                   (int) strlen(buf), buf,
     75161+                   ok_keyname(c));
     75162            wclrtoeol(win);
     75163            wgetch_wrap(win, first_y);
     75164        } else if (c == 'k') {
     75165@@ -1394,7 +1405,7 @@
    5511575166        if (!(termattrs() & test)) {
    5511675167            printw(" (N/A)");
     
    5512175172                {
    5512275173                    A_STANDOUT,
    55123 @@ -1675,8 +1675,8 @@
     75174@@ -1675,8 +1686,8 @@
    5512475175            add_wch(&ch);
    5512575176        }
     
    5513275183        (void) attr_get(&old_attr, &old_pair, 0);
    5513375184        (void) attr_set(attr, pair, 0);
    55134 @@ -3360,6 +3360,7 @@
     75185@@ -2972,7 +2983,7 @@
     75186 #endif
     75187        default:
     75188            if (cycle_attr(c, &at_code, &attr)) {
     75189-               slk_attr_set(attr, (fg || bg), NULL);
     75190+               slk_attr_set(attr, (short) (fg || bg), NULL);
     75191                slk_touch();
     75192                slk_noutrefresh();
     75193                break;
     75194@@ -3360,6 +3371,7 @@
    5513575195             * The repeat-count may make text wrap - avoid that.
    5513675196             */
     
    5514075200                break;
    5514175201        } while (--count > 0);
    55142 @@ -4269,8 +4270,10 @@
     75202@@ -4269,8 +4281,10 @@
    5514375203 
    5514475204                    neww->next = current ? current->next : 0;
     
    5515375213                    neww->wind = getwin(fp);
    5515475214 
    55155 @@ -6772,7 +6775,7 @@
     75215@@ -5226,7 +5240,7 @@
     75216 #ifdef A_COLOR
     75217     if (use_colors) {
     75218        init_pair(2, COLOR_CYAN, COLOR_BLUE);
     75219-       wbkgd(subWin, COLOR_PAIR(2) | ' ');
     75220+       wbkgd(subWin, (chtype) (COLOR_PAIR(2) | ' '));
     75221     }
     75222 #endif
     75223     (void) wattrset(subWin, A_BOLD);
     75224@@ -6056,11 +6070,11 @@
     75225        break;
     75226     case 2:
     75227        init_pair(cpair, COLOR_BLUE, COLOR_WHITE);
     75228-       (void) wattrset(win, (attr_t) COLOR_PAIR(cpair) | A_NORMAL);
     75229+       (void) wattrset(win, (int) (COLOR_PAIR(cpair) | A_NORMAL));
     75230        break;
     75231     case 3:
     75232        init_pair(cpair, COLOR_WHITE, COLOR_BLUE);
     75233-       (void) wattrset(win, (attr_t) COLOR_PAIR(cpair) | A_BOLD);
     75234+       (void) wattrset(win, (int) (COLOR_PAIR(cpair) | A_BOLD));
     75235        break;
     75236     }
     75237 }
     75238@@ -6483,6 +6497,7 @@
     75239        ,"  -a f,b   set default-colors (assumed white-on-black)"
     75240        ,"  -d       use default-colors if terminal supports them"
     75241 #endif
     75242+       ,"  -E       call use_env(FALSE) to ignore $LINES and $COLUMNS"
     75243 #if USE_SOFTKEYS
     75244        ,"  -e fmt   specify format for soft-keys test (e)"
     75245 #endif
     75246@@ -6495,6 +6510,9 @@
     75247 #if USE_LIBPANEL
     75248        ,"  -s msec  specify nominal time for panel-demo (default: 1, to hold)"
     75249 #endif
     75250+#if defined(NCURSES_VERSION_PATCH) && (NCURSES_VERSION_PATCH >= 20120714)
     75251+       ,"  -T       call use_tioctl(TRUE) to allow SIGWINCH to override environment"
     75252+#endif
     75253 #ifdef TRACE
     75254        ,"  -t mask  specify default trace-level (may toggle with ^T)"
     75255 #endif
     75256@@ -6681,7 +6699,7 @@
     75257 
     75258     setlocale(LC_ALL, "");
     75259 
     75260-    while ((c = getopt(argc, argv, "a:de:fhmp:s:t:")) != -1) {
     75261+    while ((c = getopt(argc, argv, "a:dEe:fhmp:s:Tt:")) != -1) {
     75262        switch (c) {
     75263 #ifdef NCURSES_VERSION
     75264        case 'a':
     75265@@ -6692,6 +6710,9 @@
     75266            default_colors = TRUE;
     75267            break;
     75268 #endif
     75269+       case 'E':
     75270+           use_env(FALSE);
     75271+           break;
     75272        case 'e':
     75273            my_e_param = atoi(optarg);
     75274 #ifdef NCURSES_VERSION
     75275@@ -6721,6 +6742,11 @@
     75276            nap_msec = (int) atol(optarg);
     75277            break;
     75278 #endif
     75279+#if defined(NCURSES_VERSION_PATCH) && (NCURSES_VERSION_PATCH >= 20120714)
     75280+       case 'T':
     75281+           use_tioctl(TRUE);
     75282+           break;
     75283+#endif
     75284 #ifdef TRACE
     75285        case 't':
     75286            save_trace = (unsigned) strtol(optarg, 0, 0);
     75287@@ -6772,7 +6798,7 @@
    5515675288            use_default_colors();
    5515775289            min_colors = -1;
     
    5516275294            assume_default_colors(default_fg, default_bg);
    5516375295 #endif
     75296diff -Naur ncurses-5.9.orig/test/newdemo.c ncurses-5.9/test/newdemo.c
     75297--- ncurses-5.9.orig/test/newdemo.c     2012-08-25 19:57:59.403234265 +0000
     75298+++ ncurses-5.9/test/newdemo.c  2012-08-25 19:58:01.799889599 +0000
     75299@@ -2,7 +2,7 @@
     75300  *  newdemo.c  -       A demo program using PDCurses. The program illustrate
     75301  *                     the use of colours for text output.
     75302  *
     75303- * $Id: newdemo.c,v 1.35 2010/12/12 00:19:15 tom Exp $
     75304+ * $Id: newdemo.c,v 1.36 2012/06/09 19:17:29 tom Exp $
     75305  */
     75306 
     75307 #include <test.priv.h>
     75308@@ -84,7 +84,7 @@
     75309        if (pair > COLOR_PAIRS)
     75310            pair = COLOR_PAIRS;
     75311        init_pair((short) pair, (short) foreground, (short) background);
     75312-       (void) wattrset(win, (attr_t) COLOR_PAIR(pair));
     75313+       (void) wattrset(win, (int) COLOR_PAIR(pair));
     75314     }
     75315 }
     75316 
     75317@@ -96,7 +96,7 @@
     75318            pair = COLOR_PAIRS;
     75319        attrs |= (chtype) COLOR_PAIR(pair);
     75320     }
     75321-    (void) wattrset(win, attrs);
     75322+    (void) wattrset(win, (int) attrs);
     75323     return attrs;
     75324 }
     75325 
    5516475326diff -Naur ncurses-5.9.orig/test/railroad.c ncurses-5.9/test/railroad.c
    55165 --- ncurses-5.9.orig/test/railroad.c    2012-02-16 18:25:12.631809302 +0000
    55166 +++ ncurses-5.9/test/railroad.c 2012-02-16 18:25:13.035819963 +0000
     75327--- ncurses-5.9.orig/test/railroad.c    2012-08-25 19:57:59.403234265 +0000
     75328+++ ncurses-5.9/test/railroad.c 2012-08-25 19:58:00.089897685 +0000
    5516775329@@ -29,7 +29,7 @@
    5516875330 /*
     
    5519575357 static void
    5519675358diff -Naur ncurses-5.9.orig/test/rain.c ncurses-5.9/test/rain.c
    55197 --- ncurses-5.9.orig/test/rain.c        2012-02-16 18:25:12.631809302 +0000
    55198 +++ ncurses-5.9/test/rain.c     2012-02-16 18:25:13.215824712 +0000
     75359--- ncurses-5.9.orig/test/rain.c        2012-08-25 19:57:59.403234265 +0000
     75360+++ ncurses-5.9/test/rain.c     2012-08-25 19:58:00.506562380 +0000
    5519975361@@ -1,5 +1,5 @@
    5520075362 /****************************************************************************
     
    5523275394  * waiting when we want a thread past that limit.
    5523375395diff -Naur ncurses-5.9.orig/test/redraw.c ncurses-5.9/test/redraw.c
    55234 --- ncurses-5.9.orig/test/redraw.c      2012-02-16 18:25:12.635809407 +0000
    55235 +++ ncurses-5.9/test/redraw.c   2012-02-16 18:25:13.035819963 +0000
     75396--- ncurses-5.9.orig/test/redraw.c      2012-08-25 19:57:59.399900947 +0000
     75397+++ ncurses-5.9/test/redraw.c   2012-08-25 19:58:00.089897685 +0000
    5523675398@@ -1,5 +1,5 @@
    5523775399 /****************************************************************************
     
    5526875430            break;
    5526975431 #endif
     75432diff -Naur ncurses-5.9.orig/test/tclock.c ncurses-5.9/test/tclock.c
     75433--- ncurses-5.9.orig/test/tclock.c      2012-08-25 19:57:59.403234265 +0000
     75434+++ ncurses-5.9/test/tclock.c   2012-08-25 19:58:01.799889599 +0000
     75435@@ -1,4 +1,4 @@
     75436-/* $Id: tclock.c,v 1.30 2011/03/22 09:16:00 tom Exp $ */
     75437+/* $Id: tclock.c,v 1.31 2012/06/09 19:17:02 tom Exp $ */
     75438 
     75439 #include <test.priv.h>
     75440 
     75441@@ -216,12 +216,12 @@
     75442        attroff(A_REVERSE);
     75443 
     75444        if (has_colors())
     75445-           (void) attrset(COLOR_PAIR(1));
     75446+           (void) attrset((attr_t) COLOR_PAIR(1));
     75447 
     75448        dline(1, cx, cy, cx + sdx, cy - sdy, 'O');
     75449 
     75450        if (has_colors())
     75451-           (void) attrset(COLOR_PAIR(0));
     75452+           (void) attrset((attr_t) COLOR_PAIR(0));
     75453 
     75454        text = ctime(&tim);
     75455        MvPrintw(2, 0, "%.*s", (int) (strlen(text) - 1), text);
    5527075456diff -Naur ncurses-5.9.orig/test/test.priv.h ncurses-5.9/test/test.priv.h
    55271 --- ncurses-5.9.orig/test/test.priv.h   2012-02-16 18:25:12.631809302 +0000
    55272 +++ ncurses-5.9/test/test.priv.h        2012-02-16 18:25:13.035819963 +0000
     75457--- ncurses-5.9.orig/test/test.priv.h   2012-08-25 19:57:59.403234265 +0000
     75458+++ ncurses-5.9/test/test.priv.h        2012-08-25 19:58:00.089897685 +0000
    5527375459@@ -29,7 +29,7 @@
    5527475460 /****************************************************************************
     
    5543375619 #define USING_WINDOW(w,func) use_window(w, (NCURSES_WINDOW_CB) func, w)
    5543475620 #define USING_WINDOW2(w,func,data) use_window(w, (NCURSES_WINDOW_CB) func, data)
     75621diff -Naur ncurses-5.9.orig/test/test_add_wchstr.c ncurses-5.9/test/test_add_wchstr.c
     75622--- ncurses-5.9.orig/test/test_add_wchstr.c     2012-08-25 19:57:59.399900947 +0000
     75623+++ ncurses-5.9/test/test_add_wchstr.c  2012-08-25 19:58:01.803222916 +0000
     75624@@ -1,5 +1,5 @@
     75625 /****************************************************************************
     75626- * Copyright (c) 2009,2010,2011 Free Software Foundation, Inc.                   *
     75627+ * Copyright (c) 2010,2011,2012 Free Software Foundation, Inc.                   *
     75628  *                                                                          *
     75629  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75630  * copy of this software and associated documentation files (the            *
     75631@@ -26,7 +26,7 @@
     75632  * authorization.                                                           *
     75633  ****************************************************************************/
     75634 /*
     75635- * $Id: test_add_wchstr.c,v 1.15 2011/01/15 18:15:11 tom Exp $
     75636+ * $Id: test_add_wchstr.c,v 1.16 2012/06/09 20:29:33 tom Exp $
     75637  *
     75638  * Demonstrate the waddwchstr() and wadd_wch functions.
     75639  * Thomas Dickey - 2009/9/12
     75640@@ -357,7 +357,7 @@
     75641     if (has_colors()) {
     75642        start_color();
     75643        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     75644-       wbkgdset(work, COLOR_PAIR(1) | ' ');
     75645+       wbkgdset(work, (chtype) (COLOR_PAIR(1) | ' '));
     75646     }
     75647 
     75648     while ((ch = read_linedata(work)) != ERR && !isQUIT(ch)) {
     75649diff -Naur ncurses-5.9.orig/test/test_addchstr.c ncurses-5.9/test/test_addchstr.c
     75650--- ncurses-5.9.orig/test/test_addchstr.c       2012-08-25 19:57:59.399900947 +0000
     75651+++ ncurses-5.9/test/test_addchstr.c    2012-08-25 19:58:01.803222916 +0000
     75652@@ -1,5 +1,5 @@
     75653 /****************************************************************************
     75654- * Copyright (c) 2009,2010 Free Software Foundation, Inc.                   *
     75655+ * Copyright (c) 2009-2010,2012 Free Software Foundation, Inc.              *
     75656  *                                                                          *
     75657  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75658  * copy of this software and associated documentation files (the            *
     75659@@ -26,7 +26,7 @@
     75660  * authorization.                                                           *
     75661  ****************************************************************************/
     75662 /*
     75663- * $Id: test_addchstr.c,v 1.13 2010/12/12 01:28:24 tom Exp $
     75664+ * $Id: test_addchstr.c,v 1.14 2012/06/09 20:29:33 tom Exp $
     75665  *
     75666  * Demonstrate the waddchstr() and waddch functions.
     75667  * Thomas Dickey - 2009/9/12
     75668@@ -277,7 +277,7 @@
     75669     if (has_colors()) {
     75670        start_color();
     75671        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     75672-       show_attr = COLOR_PAIR(1);
     75673+       show_attr = (attr_t) COLOR_PAIR(1);
     75674        wbkgdset(work, show_attr | ' ');
     75675     } else {
     75676        show_attr = A_STANDOUT;
     75677diff -Naur ncurses-5.9.orig/test/test_addstr.c ncurses-5.9/test/test_addstr.c
     75678--- ncurses-5.9.orig/test/test_addstr.c 2012-08-25 19:57:59.403234265 +0000
     75679+++ ncurses-5.9/test/test_addstr.c      2012-08-25 19:58:01.803222916 +0000
     75680@@ -1,5 +1,5 @@
     75681 /****************************************************************************
     75682- * Copyright (c) 2009,2010 Free Software Foundation, Inc.                   *
     75683+ * Copyright (c) 2009-2010,2012 Free Software Foundation, Inc.              *
     75684  *                                                                          *
     75685  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75686  * copy of this software and associated documentation files (the            *
     75687@@ -26,7 +26,7 @@
     75688  * authorization.                                                           *
     75689  ****************************************************************************/
     75690 /*
     75691- * $Id: test_addstr.c,v 1.6 2010/12/12 00:17:37 tom Exp $
     75692+ * $Id: test_addstr.c,v 1.7 2012/06/09 20:29:33 tom Exp $
     75693  *
     75694  * Demonstrate the waddstr() and waddch functions.
     75695  * Thomas Dickey - 2009/9/12
     75696@@ -201,7 +201,7 @@
     75697     if (has_colors()) {
     75698        start_color();
     75699        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     75700-       wbkgdset(work, COLOR_PAIR(1) | ' ');
     75701+       wbkgdset(work, (chtype) (COLOR_PAIR(1) | ' '));
     75702     }
     75703 
     75704     while ((ch = read_linedata(work)) != ERR && !isQUIT(ch)) {
    5543575705diff -Naur ncurses-5.9.orig/test/test_addwstr.c ncurses-5.9/test/test_addwstr.c
    55436 --- ncurses-5.9.orig/test/test_addwstr.c        2012-02-16 18:25:12.635809407 +0000
    55437 +++ ncurses-5.9/test/test_addwstr.c     2012-02-16 18:25:13.039820069 +0000
     75706--- ncurses-5.9.orig/test/test_addwstr.c        2012-08-25 19:57:59.399900947 +0000
     75707+++ ncurses-5.9/test/test_addwstr.c     2012-08-25 19:58:01.803222916 +0000
     75708@@ -1,5 +1,5 @@
     75709 /****************************************************************************
     75710- * Copyright (c) 2009,2010 Free Software Foundation, Inc.                   *
     75711+ * Copyright (c) 2009-2010,2012 Free Software Foundation, Inc.              *
     75712  *                                                                          *
     75713  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75714  * copy of this software and associated documentation files (the            *
    5543875715@@ -26,7 +26,7 @@
    5543975716  * authorization.                                                           *
     
    5544175718 /*
    5544275719- * $Id: test_addwstr.c,v 1.6 2010/12/12 00:18:00 tom Exp $
    55443 + * $Id: test_addwstr.c,v 1.7 2011/12/10 19:55:10 tom Exp $
     75720+ * $Id: test_addwstr.c,v 1.8 2012/06/09 20:29:33 tom Exp $
    5544475721  *
    5544575722  * Demonstrate the waddwstr() and wadd_wch functions.
     
    5545775734     if (first) {
    5545875735        static char cmd[80];
     75736@@ -286,7 +287,7 @@
     75737     if (has_colors()) {
     75738        start_color();
     75739        init_pair(1, COLOR_WHITE, COLOR_BLUE);
     75740-       wbkgdset(work, COLOR_PAIR(1) | ' ');
     75741+       wbkgdset(work, (chtype) (COLOR_PAIR(1) | ' '));
     75742     }
     75743 
     75744     while ((ch = read_linedata(work)) != ERR && !isQUIT(ch)) {
     75745diff -Naur ncurses-5.9.orig/test/test_getstr.c ncurses-5.9/test/test_getstr.c
     75746--- ncurses-5.9.orig/test/test_getstr.c 2012-08-25 19:57:59.399900947 +0000
     75747+++ ncurses-5.9/test/test_getstr.c      2012-08-25 19:58:01.903222442 +0000
     75748@@ -1,5 +1,5 @@
     75749 /****************************************************************************
     75750- * Copyright (c) 2007-2008,2009 Free Software Foundation, Inc.              *
     75751+ * Copyright (c) 2007-2009,2012 Free Software Foundation, Inc.              *
     75752  *                                                                          *
     75753  * Permission is hereby granted, free of charge, to any person obtaining a  *
     75754  * copy of this software and associated documentation files (the            *
     75755@@ -26,7 +26,7 @@
     75756  * authorization.                                                           *
     75757  ****************************************************************************/
     75758 /*
     75759- * $Id: test_getstr.c,v 1.9 2009/08/29 19:02:25 tom Exp $
     75760+ * $Id: test_getstr.c,v 1.10 2012/07/07 18:22:49 tom Exp $
     75761  *
     75762  * Author: Thomas E Dickey
     75763  *
     75764@@ -58,6 +58,15 @@
     75765     eMaxFlavor
     75766 } Flavors;
     75767 
     75768+/*
     75769+ * Return-code is OK/ERR or a keyname.
     75770+ */
     75771+static const char *
     75772+ok_keyname(int code)
     75773+{
     75774+    return ((code == OK) ? "OK" : ((code == ERR) ? "ERR" : keyname(code)));
     75775+}
     75776+
     75777 static bool
     75778 Quit(int ch)
     75779 {
     75780@@ -310,7 +319,7 @@
     75781            }
     75782            noecho();
     75783            (void) wattrset(txtwin, A_NORMAL);
     75784-           wprintw(strwin, "%d:%s", rc, buffer);
     75785+           wprintw(strwin, "%s:%s", ok_keyname(rc), buffer);
     75786            wnoutrefresh(strwin);
     75787            break;
     75788        default:
    5545975789diff -Naur ncurses-5.9.orig/test/testaddch.c ncurses-5.9/test/testaddch.c
    55460 --- ncurses-5.9.orig/test/testaddch.c   2012-02-16 18:25:12.631809302 +0000
    55461 +++ ncurses-5.9/test/testaddch.c        2012-02-16 18:25:13.039820069 +0000
     75790--- ncurses-5.9.orig/test/testaddch.c   2012-08-25 19:57:59.403234265 +0000
     75791+++ ncurses-5.9/test/testaddch.c        2012-08-25 19:58:00.093231002 +0000
    5546275792@@ -1,5 +1,5 @@
    5546375793 /****************************************************************************
     
    5549475824        bkgdset(back);
    5549575825        (void) attrset(set);
     75826diff -Naur ncurses-5.9.orig/test/testcurs.c ncurses-5.9/test/testcurs.c
     75827--- ncurses-5.9.orig/test/testcurs.c    2012-08-25 19:57:59.399900947 +0000
     75828+++ ncurses-5.9/test/testcurs.c 2012-08-25 19:58:01.803222916 +0000
     75829@@ -6,7 +6,7 @@
     75830  *  wrs(5/28/93) -- modified to be consistent (perform identically) with either
     75831  *                  PDCurses or under Unix System V, R4
     75832  *
     75833- * $Id: testcurs.c,v 1.43 2010/11/13 21:02:28 tom Exp $
     75834+ * $Id: testcurs.c,v 1.44 2012/06/09 19:10:45 tom Exp $
     75835  */
     75836 
     75837 #include <test.priv.h>
     75838@@ -85,7 +85,7 @@
     75839 #ifdef A_COLOR
     75840        if (has_colors()) {
     75841            init_pair(1, COLOR_WHITE, COLOR_BLUE);
     75842-           wbkgd(win, COLOR_PAIR(1));
     75843+           wbkgd(win, (chtype) COLOR_PAIR(1));
     75844        } else
     75845            wbkgd(win, A_REVERSE);
     75846 #else
     75847@@ -491,7 +491,7 @@
     75848 #ifdef A_COLOR
     75849        if (has_colors()) {
     75850            init_pair(3, COLOR_BLUE, COLOR_WHITE);
     75851-           wbkgd(win1, COLOR_PAIR(3));
     75852+           wbkgd(win1, (chtype) COLOR_PAIR(3));
     75853        } else
     75854            wbkgd(win1, A_NORMAL);
     75855 #else
    5549675856diff -Naur ncurses-5.9.orig/test/view.c ncurses-5.9/test/view.c
    55497 --- ncurses-5.9.orig/test/view.c        2012-02-16 18:25:12.635809407 +0000
    55498 +++ ncurses-5.9/test/view.c     2012-02-16 18:25:13.039820069 +0000
     75857--- ncurses-5.9.orig/test/view.c        2012-08-25 19:57:59.403234265 +0000
     75858+++ ncurses-5.9/test/view.c     2012-08-25 19:58:01.806556233 +0000
    5549975859@@ -1,5 +1,5 @@
    5550075860 /****************************************************************************
    5550175861- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    55502 + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
     75862+ * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
    5550375863  *                                                                          *
    5550475864  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    5550975869  *
    5551075870- * $Id: view.c,v 1.81 2010/11/14 01:06:02 tom Exp $
    55511 + * $Id: view.c,v 1.84 2011/12/10 15:42:34 tom Exp $
     75871+ * $Id: view.c,v 1.85 2012/06/09 20:29:33 tom Exp $
    5551275872  */
    5551375873 
     
    5554275902     wchar_t wstr[CCHARW_MAX + 1];
    5554375903     wchar_t wch;
     75904@@ -354,7 +356,7 @@
     75905        if (has_colors()) {
     75906            start_color();
     75907            init_pair(my_pair, COLOR_WHITE, COLOR_BLUE);
     75908-           bkgd(COLOR_PAIR(my_pair));
     75909+           bkgd((chtype) COLOR_PAIR(my_pair));
     75910        } else {
     75911            try_color = FALSE;
     75912        }
    5554475913@@ -373,10 +375,12 @@
    5554575914                adjust(0);
Note: See TracChangeset for help on using the changeset viewer.