Changeset 06b2d12
- Timestamp:
- Aug 26, 2012, 6:48:21 PM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 68a11fb
- Parents:
- 6ecbe33
- Location:
- patches
- Files:
-
- 5 added
- 4 deleted
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/ncurses-5.9-branch_update-4.patch
r6ecbe33 r06b2d12 1 1 Submitted By: Jonathan Norman (jonathan at bluesquarelinux dot co dot uk) 2 Date: 2012-0 2-162 Date: 2012-08-25 3 3 Initial Package Version: 5.9 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 5.9-201 112246 Description: Contains all upstream patches up to 5.9-20120616 7 7 8 8 diff -Naur ncurses-5.9.orig/Ada95/aclocal.m4 ncurses-5.9/Ada95/aclocal.m4 9 --- ncurses-5.9.orig/Ada95/aclocal.m4 2012-0 2-16 18:25:12.619808985+000010 +++ ncurses-5.9/Ada95/aclocal.m4 2012-0 2-16 18:25:13.167823445+00009 --- 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 11 11 @@ -1,5 +1,5 @@ 12 12 dnl*************************************************************************** … … 21 21 dnl 22 22 -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:42tom Exp $23 +dnl $Id: aclocal.m4,v 1.52 2012/08/04 18:12:47 tom Exp $ 24 24 dnl Macros used in NCURSES Ada95 auto-configuration script. 25 25 dnl … … 94 94 cf_cv_ansi_cc=no 95 95 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 @@ 97 133 AC_SUBST(BUILD_OBJEXT) 98 134 ])dnl … … 103 139 dnl Determine the default configuration into which we'll install ncurses. This 104 140 dnl can be overridden by the user's command-line options. There's two items to 105 @@ -522,7 +5 68,7 @@141 @@ -522,7 +597,7 @@ 106 142 if test "x$prefix" = "xNONE" ; then 107 143 case "$cf_cv_system_name" in … … 112 148 ;; 113 149 *) prefix=$ac_default_prefix 114 @@ -593,7 +6 39,7@@150 @@ -593,7 +668,40 @@ 115 151 fi 116 152 ])dnl 117 153 dnl --------------------------------------------------------------------------- 118 154 -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 --------------------------------------------------------------------------- 119 188 +dnl CF_CURSES_HEADER version: 3 updated: 2011/05/01 19:47:45 120 189 dnl ---------------- 121 190 dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common 122 191 dnl variations of ncurses' installs. 123 @@ -603,10 + 649,10 @@192 @@ -603,10 +711,10 @@ 124 193 AC_CACHE_CHECK(if we have identified curses headers,cf_cv_ncurses_header,[ 125 194 cf_cv_ncurses_header=none … … 136 205 AC_TRY_COMPILE([#include <${cf_header}>], 137 206 [initscr(); tgoto("?", 0,0)], 138 @@ -627,6 + 673,31@@207 @@ -627,6 +735,67 @@ 139 208 dnl "dirname" is not portable, so we fake it with a shell script. 140 209 AC_DEFUN([CF_DIRNAME],[$1=`echo $2 | sed -e 's%/[[^/]]*$%%'`])dnl 141 210 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 143 249 +dnl ------------------ 144 250 +dnl This is the "--enable-pc-files" option, which is available if there is a … … 149 255 + 150 256 +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) 161 266 + fi 162 267 +else … … 168 273 dnl --------------- 169 274 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 @@ 171 333 AC_SUBST(cf_generic_objects) 172 334 ])dnl … … 222 384 dnl -------------------- 223 385 dnl Check if the gnat pragma "Unreferenced" works. 224 @@ -1253,6 +1 277,53 @@386 @@ -1253,6 +1402,53 @@ 225 387 AC_SUBST(USE_GNAT_LIBRARIES) 226 388 ])dnl … … 276 438 dnl ---------------- 277 439 dnl Verify that a test program compiles/links with GNAT. 278 @@ -1311,7 +1 382,7 @@440 @@ -1311,7 +1507,7 @@ 279 441 rm -rf conftest* *~conftest* 280 442 ])dnl … … 285 447 dnl Verify version of GNAT. 286 448 AC_DEFUN([CF_GNAT_VERSION], 287 @@ -1323,7 +1 394,7 @@449 @@ -1323,7 +1519,7 @@ 288 450 AC_MSG_RESULT($cf_gnat_version) 289 451 … … 294 456 ;; 295 457 *) 296 @@ -1518,7 +1 589,7 @@458 @@ -1518,7 +1714,7 @@ 297 459 ]) 298 460 ]) … … 303 465 dnl For the given system and compiler, find the compiler flags to pass to the 304 466 dnl loader to use the "rpath" feature. 305 @@ -1539,10 +1 610,10 @@467 @@ -1539,10 +1735,10 @@ 306 468 linux*|gnu*|k*bsd*-gnu) #(vi 307 469 LD_RPATH_OPT="-Wl,-rpath," … … 316 478 ;; 317 479 netbsd*) #(vi 318 @@ -1601,11 +1 672,11 @@480 @@ -1601,11 +1797,11 @@ 319 481 $1="$cf_library_path_list [$]$1" 320 482 ])dnl … … 330 492 case $cf_cv_system_name in #(vi 331 493 OS/2*|os2*) #(vi 332 @@ -1655,7 +1 726,7 @@494 @@ -1655,7 +1851,7 @@ 333 495 ]) 334 496 ]) 335 497 dnl --------------------------------------------------------------------------- 336 498 -dnl CF_LIB_SUFFIX version: 16 updated: 2008/12/27 12:30:03 337 +dnl CF_LIB_SUFFIX version: 1 7 updated: 2011/07/02 15:36:04499 +dnl CF_LIB_SUFFIX version: 18 updated: 2012/02/25 15:20:07 338 500 dnl ------------- 339 501 dnl Compute the library file-suffix from the given model name 340 502 dnl $1 = model name 341 @@ -1684, 7 +1755,7@@503 @@ -1684,11 +1880,11 @@ 342 504 ;; 343 505 shared) #(vi … … 348 510 $3=[$]$2 349 511 ;; 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 @@ 351 541 ,[$1=no]) 352 542 ])dnl … … 357 547 dnl Tie together the configure-script macros for ncurses. 358 548 dnl Prefer the "-config" script from ncurses 6.x, to simplify analysis. 359 @@ -2153,7 +2 224,10 @@549 @@ -2153,7 +2351,10 @@ 360 550 cf_ncuconfig_root=ifelse($1,,ncurses,$1) 361 551 … … 369 559 if test "$NCURSES_CONFIG" != none ; then 370 560 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 @@ 372 580 esac 373 581 ])dnl … … 378 586 dnl Check for the package-config program, unless disabled by command-line. 379 587 AC_DEFUN([CF_PKG_CONFIG], 380 @@ -2563,7 +2 637,9 @@588 @@ -2563,7 +2764,9 @@ 381 589 PKG_CONFIG=none 382 590 ;; … … 389 597 *) 390 598 PKG_CONFIG=$withval 391 @@ -2746,7 +2 822,7 @@599 @@ -2746,7 +2949,7 @@ 392 600 test -n "$PROG_EXT" && AC_DEFINE_UNQUOTED(PROG_EXT,"$PROG_EXT") 393 601 ])dnl … … 398 606 dnl Check for gnatmake, ensure that it is complete. 399 607 AC_DEFUN([CF_PROG_GNAT],[ 400 @@ -2754,6 +2 830,7 @@608 @@ -2754,6 +2957,7 @@ 401 609 AC_CHECK_PROG(gnat_exists, $cf_ada_make, yes, no) 402 610 if test "$ac_cv_prog_gnat_exists" = no; then … … 406 614 CF_GNAT_VERSION 407 615 AC_CHECK_PROG(M4_exists, m4, yes, no) 408 @@ -2831,7 + 2908,7 @@616 @@ -2831,7 +3035,7 @@ 409 617 $1=`echo "$2" | sed -e 's/-l$3[[ ]]//g' -e 's/-l$3[$]//'` 410 618 ])dnl 411 619 dnl --------------------------------------------------------------------------- 412 620 -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:39621 +dnl CF_SHARED_OPTS version: 70 updated: 2012/02/25 15:20:07 414 622 dnl -------------- 415 623 dnl -------------- 416 624 dnl Attempt to determine the appropriate CC/LD options for creating a shared 417 @@ -2906,10 + 2983,14 @@625 @@ -2906,10 +3110,14 @@ 418 626 cf_cv_shlib_version_infix=no 419 627 … … 432 640 ;; 433 641 beos*) #(vi 434 @@ -2962,9 +3 043,19 @@642 @@ -2962,9 +3170,19 @@ 435 643 # readonly to exploit a quirk in the memory manager. 436 644 INSTALL_LIB="-m 555" … … 453 661 # tested with IRIX 5.2 and 'cc'. 454 662 if test "$GCC" != yes; then 455 @@ -2981,18 +3 072,18@@663 @@ -2981,18 +3199,39 @@ 456 664 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" 457 665 fi … … 464 672 ;; 465 673 - 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 + ;; 466 695 + openbsd[[2-9]].*|mirbsd*) #(vi 467 696 if test "$DFT_LWR_MODEL" = "shared" ; then … … 475 704 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" 476 705 CF_SHARED_SONAME 477 @@ -3003,12 +3 094,12 @@706 @@ -3003,12 +3242,12 @@ 478 707 MK_SHARED_LIB='${LD} -Bshareable -o $[@]' 479 708 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel … … 491 720 CF_SHARED_SONAME 492 721 MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]' 493 @@ -3018,7 +3 109,7 @@722 @@ -3018,7 +3257,7 @@ 494 723 if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then 495 724 LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)" … … 500 729 if test -f /usr/libexec/ld.elf_so; then 501 730 cf_cv_shlib_version=abi 502 @@ -3123,9 +3 214,9@@731 @@ -3123,9 +3362,12 @@ 503 732 ;; 504 733 esac … … 510 739 + test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}" 511 740 + 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) 512 744 513 745 AC_SUBST(CC_SHARED_OPTS) 514 746 AC_SUBST(LD_RPATH_OPT) 515 @@ -3137,6 +3 228,7 @@747 @@ -3137,6 +3379,7 @@ 516 748 AC_SUBST(LOCAL_LDFLAGS) 517 749 AC_SUBST(LOCAL_LDFLAGS2) … … 521 753 dnl --------------------------------------------------------------------------- 522 754 dnl CF_SHARED_SONAME version: 3 updated: 2008/09/08 18:34:43 523 @@ -3253,6 +3 345,45 @@755 @@ -3253,6 +3496,45 @@ 524 756 AC_SUBST(top_builddir) 525 757 ])dnl … … 567 799 dnl -------- 568 800 dnl Make an uppercase version of a variable 569 @@ -3415,6 +3 546,32 @@801 @@ -3415,6 +3697,32 @@ 570 802 fi 571 803 ])dnl … … 600 832 dnl ------------ 601 833 dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just 602 @@ -3436,7 +3 593,50 @@834 @@ -3436,7 +3744,50 @@ 603 835 AC_SUBST($3)dnl 604 836 ])dnl … … 652 884 dnl Check for POSIX thread library. 653 885 AC_DEFUN([CF_WITH_PTHREAD], 654 @@ -3452,28 +3 652,33 @@886 @@ -3452,28 +3803,33 @@ 655 887 AC_CHECK_HEADER(pthread.h,[ 656 888 AC_DEFINE(HAVE_PTHREADS_H) … … 700 932 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, 701 933 dnl or adapt to the vendor's definitions to get equivalent functionality, 702 @@ -3489,7 +3 694,7 @@934 @@ -3489,7 +3845,7 @@ 703 935 cf_xopen_source= 704 936 … … 709 941 ;; 710 942 cygwin) #(vi 711 @@ -3500,6 +3 705,7 @@943 @@ -3500,6 +3856,7 @@ 712 944 ;; 713 945 darwin*) #(vi … … 717 949 freebsd*|dragonfly*) #(vi 718 950 # 5.x headers associate 719 @@ -3517,15 +3 723,23 @@951 @@ -3517,15 +3874,23 @@ 720 952 ;; 721 953 irix[[56]].*) #(vi … … 743 975 openbsd*) #(vi 744 976 # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw 745 @@ -3539,36 +3 753,11 @@977 @@ -3539,36 +3904,11 @@ 746 978 sco*) #(vi 747 979 # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer … … 782 1014 ;; 783 1015 esac 784 @@ -3576,4 +3 765,33 @@1016 @@ -3576,4 +3916,33 @@ 785 1017 if test -n "$cf_xopen_source" ; then 786 1018 CF_ADD_CFLAGS($cf_xopen_source) … … 817 1049 ]) 818 1050 diff -Naur ncurses-5.9.orig/Ada95/configure ncurses-5.9/Ada95/configure 819 --- ncurses-5.9.orig/Ada95/configure 2012-0 2-16 18:25:12.619808985+0000820 +++ ncurses-5.9/Ada95/configure 2012-0 2-16 18:25:13.179823762+0000821 @@ -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 @@ 822 1054 #! /bin/sh 823 1055 -# From configure.in Revision: 1.30 . 824 +# From configure.in Revision: 1. 38.1056 +# From configure.in Revision: 1.41 . 825 1057 # 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. 827 1060 # 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 @@ 829 1127 830 1128 --with-system-type=XXX test: override derived host system-type … … 834 1132 --without-tests suppress build with test-programs 835 1133 --enable-mixed-case tic should assume mixed-case filenames 836 @@ -660,6 +6 61,7 @@1134 @@ -660,6 +670,7 @@ 837 1135 --with-shared generate shared C-objects (needed for --with-ada-sharedlib) 838 1136 --enable-widec compile with wide-char/UTF-8 code … … 842 1140 --enable-rpath-link link sample programs with rpath option 843 1141 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 @@ 845 1161 fi 846 1162 for ac_site_file in $CONFIG_SITE; do 847 1163 if test -r "$ac_site_file"; then 848 1164 - { echo "$as_me:884: loading site script $ac_site_file" >&5 849 + { echo "$as_me:8 86: loading site script $ac_site_file" >&51165 + { echo "$as_me:895: loading site script $ac_site_file" >&5 850 1166 echo "$as_me: loading site script $ac_site_file" >&6;} 851 1167 cat "$ac_site_file" >&5 852 1168 . "$ac_site_file" 853 @@ -892,7 + 894,7 @@1169 @@ -892,7 +903,7 @@ 854 1170 # Some versions of bash will fail to source /dev/null (special 855 1171 # files actually), so we avoid doing that. 856 1172 if test -f "$cache_file"; then 857 1173 - { echo "$as_me:895: loading cache $cache_file" >&5 858 + { echo "$as_me: 897: loading cache $cache_file" >&51174 + { echo "$as_me:906: loading cache $cache_file" >&5 859 1175 echo "$as_me: loading cache $cache_file" >&6;} 860 1176 case $cache_file in 861 1177 [\\/]* | ?:[\\/]* ) . $cache_file;; 862 @@ -900,7 +9 02,7 @@1178 @@ -900,7 +911,7 @@ 863 1179 esac 864 1180 fi 865 1181 else 866 1182 - { echo "$as_me:903: creating cache $cache_file" >&5 867 + { echo "$as_me:9 05: creating cache $cache_file" >&51183 + { echo "$as_me:914: creating cache $cache_file" >&5 868 1184 echo "$as_me: creating cache $cache_file" >&6;} 869 1185 >$cache_file 870 1186 fi 871 @@ -916,21 +9 18,21 @@1187 @@ -916,21 +927,21 @@ 872 1188 eval ac_new_val="\$ac_env_${ac_var}_value" 873 1189 case $ac_old_set,$ac_new_set in 874 1190 set,) 875 1191 - { echo "$as_me:919: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 876 + { echo "$as_me:9 21: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51192 + { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 877 1193 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 878 1194 ac_cache_corrupted=: ;; 879 1195 ,set) 880 1196 - { echo "$as_me:923: error: \`$ac_var' was not set in the previous run" >&5 881 + { echo "$as_me:9 25: error: \`$ac_var' was not set in the previous run" >&51197 + { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5 882 1198 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 883 1199 ac_cache_corrupted=: ;; … … 886 1202 if test "x$ac_old_val" != "x$ac_new_val"; then 887 1203 - { echo "$as_me:929: error: \`$ac_var' has changed since the previous run:" >&5 888 + { echo "$as_me:9 31: error: \`$ac_var' has changed since the previous run:" >&51204 + { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5 889 1205 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 890 1206 - { echo "$as_me:931: former value: $ac_old_val" >&5 891 + { echo "$as_me:9 33: former value: $ac_old_val" >&51207 + { echo "$as_me:942: former value: $ac_old_val" >&5 892 1208 echo "$as_me: former value: $ac_old_val" >&2;} 893 1209 - { echo "$as_me:933: current value: $ac_new_val" >&5 894 + { echo "$as_me:9 35: current value: $ac_new_val" >&51210 + { echo "$as_me:944: current value: $ac_new_val" >&5 895 1211 echo "$as_me: current value: $ac_new_val" >&2;} 896 1212 ac_cache_corrupted=: 897 1213 fi;; 898 @@ -949,9 +9 51,9 @@1214 @@ -949,9 +960,9 @@ 899 1215 fi 900 1216 done 901 1217 if $ac_cache_corrupted; then 902 1218 - { echo "$as_me:952: error: changes in the environment can compromise the build" >&5 903 + { echo "$as_me:9 54: error: changes in the environment can compromise the build" >&51219 + { echo "$as_me:963: error: changes in the environment can compromise the build" >&5 904 1220 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 905 1221 - { { echo "$as_me:954: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 906 + { { echo "$as_me:9 56: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51222 + { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 907 1223 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 908 1224 { (exit 1); exit 1; }; } 909 1225 fi 910 @@ -972,10 +9 74,10 @@1226 @@ -972,10 +983,10 @@ 911 1227 echo "#! $SHELL" >conftest.sh 912 1228 echo "exit 0" >>conftest.sh 913 1229 chmod +x conftest.sh 914 1230 -if { (echo "$as_me:975: PATH=\".;.\"; conftest.sh") >&5 915 +if { (echo "$as_me:9 77: PATH=\".;.\"; conftest.sh") >&51231 +if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5 916 1232 (PATH=".;."; conftest.sh) 2>&5 917 1233 ac_status=$? 918 1234 - echo "$as_me:978: \$? = $ac_status" >&5 919 + echo "$as_me:98 0: \$? = $ac_status" >&51235 + echo "$as_me:989: \$? = $ac_status" >&5 920 1236 (exit $ac_status); }; then 921 1237 ac_path_separator=';' 922 1238 else 923 @@ -1005,7 +10 07,7 @@1239 @@ -1005,7 +1016,7 @@ 924 1240 fi 925 1241 done 926 1242 if test -z "$ac_aux_dir"; then 927 1243 - { { echo "$as_me:1008: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 928 + { { echo "$as_me:101 0: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51244 + { { echo "$as_me:1019: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 929 1245 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 930 1246 { (exit 1); exit 1; }; } 931 1247 fi 932 @@ -1015,11 +10 17,11 @@1248 @@ -1015,11 +1026,11 @@ 933 1249 934 1250 # Make sure we can run config.sub. 935 1251 $ac_config_sub sun4 >/dev/null 2>&1 || 936 1252 - { { echo "$as_me:1018: error: cannot run $ac_config_sub" >&5 937 + { { echo "$as_me:102 0: error: cannot run $ac_config_sub" >&51253 + { { echo "$as_me:1029: error: cannot run $ac_config_sub" >&5 938 1254 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 939 1255 { (exit 1); exit 1; }; } 940 1256 941 1257 -echo "$as_me:1022: checking build system type" >&5 942 +echo "$as_me:10 24: checking build system type" >&51258 +echo "$as_me:1033: checking build system type" >&5 943 1259 echo $ECHO_N "checking build system type... $ECHO_C" >&6 944 1260 if test "${ac_cv_build+set}" = set; then 945 1261 echo $ECHO_N "(cached) $ECHO_C" >&6 946 @@ -1028,23 +103 0,23 @@1262 @@ -1028,23 +1039,23 @@ 947 1263 test -z "$ac_cv_build_alias" && 948 1264 ac_cv_build_alias=`$ac_config_guess` 949 1265 test -z "$ac_cv_build_alias" && 950 1266 - { { echo "$as_me:1031: error: cannot guess build type; you must specify one" >&5 951 + { { echo "$as_me:10 33: error: cannot guess build type; you must specify one" >&51267 + { { echo "$as_me:1042: error: cannot guess build type; you must specify one" >&5 952 1268 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 953 1269 { (exit 1); exit 1; }; } 954 1270 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 955 1271 - { { echo "$as_me:1035: error: $ac_config_sub $ac_cv_build_alias failed." >&5 956 + { { echo "$as_me:10 37: error: $ac_config_sub $ac_cv_build_alias failed." >&51272 + { { echo "$as_me:1046: error: $ac_config_sub $ac_cv_build_alias failed." >&5 957 1273 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 958 1274 { (exit 1); exit 1; }; } … … 960 1276 fi 961 1277 -echo "$as_me:1040: result: $ac_cv_build" >&5 962 +echo "$as_me:10 42: result: $ac_cv_build" >&51278 +echo "$as_me:1051: result: $ac_cv_build" >&5 963 1279 echo "${ECHO_T}$ac_cv_build" >&6 964 1280 build=$ac_cv_build … … 968 1284 969 1285 -echo "$as_me:1047: checking host system type" >&5 970 +echo "$as_me:10 49: checking host system type" >&51286 +echo "$as_me:1058: checking host system type" >&5 971 1287 echo $ECHO_N "checking host system type... $ECHO_C" >&6 972 1288 if test "${ac_cv_host+set}" = set; then 973 1289 echo $ECHO_N "(cached) $ECHO_C" >&6 974 @@ -1053,12 +10 55,12 @@1290 @@ -1053,12 +1064,12 @@ 975 1291 test -z "$ac_cv_host_alias" && 976 1292 ac_cv_host_alias=$ac_cv_build_alias 977 1293 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 978 1294 - { { echo "$as_me:1056: error: $ac_config_sub $ac_cv_host_alias failed" >&5 979 + { { echo "$as_me:10 58: error: $ac_config_sub $ac_cv_host_alias failed" >&51295 + { { echo "$as_me:1067: error: $ac_config_sub $ac_cv_host_alias failed" >&5 980 1296 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 981 1297 { (exit 1); exit 1; }; } … … 983 1299 fi 984 1300 -echo "$as_me:1061: result: $ac_cv_host" >&5 985 +echo "$as_me:10 63: result: $ac_cv_host" >&51301 +echo "$as_me:1072: result: $ac_cv_host" >&5 986 1302 echo "${ECHO_T}$ac_cv_host" >&6 987 1303 host=$ac_cv_host 988 1304 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 989 @@ -1066,7 +10 68,7 @@1305 @@ -1066,7 +1077,7 @@ 990 1306 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 991 1307 992 1308 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then 993 1309 - echo "$as_me:1069: checking target system type" >&5 994 + echo "$as_me:10 71: checking target system type" >&51310 + echo "$as_me:1080: checking target system type" >&5 995 1311 echo $ECHO_N "checking target system type... $ECHO_C" >&6 996 1312 if test "${ac_cv_target+set}" = set; then 997 1313 echo $ECHO_N "(cached) $ECHO_C" >&6 998 @@ -1075,12 +10 77,12 @@1314 @@ -1075,12 +1086,12 @@ 999 1315 test "x$ac_cv_target_alias" = "x" && 1000 1316 ac_cv_target_alias=$ac_cv_host_alias 1001 1317 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1002 1318 - { { echo "$as_me:1078: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1003 + { { echo "$as_me:108 0: error: $ac_config_sub $ac_cv_target_alias failed" >&51319 + { { echo "$as_me:1089: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1004 1320 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1005 1321 { (exit 1); exit 1; }; } … … 1007 1323 fi 1008 1324 -echo "$as_me:1083: result: $ac_cv_target" >&5 1009 +echo "$as_me:10 85: result: $ac_cv_target" >&51325 +echo "$as_me:1094: result: $ac_cv_target" >&5 1010 1326 echo "${ECHO_T}$ac_cv_target" >&6 1011 1327 target=$ac_cv_target 1012 1328 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1013 @@ -1111,13 +11 13,13 @@1329 @@ -1111,13 +1122,13 @@ 1014 1330 fi 1015 1331 1016 1332 test -z "$system_name" && system_name="$cf_cv_system_name" 1017 1333 -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:11 16: result: Configuring for $cf_cv_system_name" >&51334 +test -n "$cf_cv_system_name" && echo "$as_me:1125: result: Configuring for $cf_cv_system_name" >&5 1019 1335 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 1020 1336 1021 1337 if test ".$system_name" != ".$cf_cv_system_name" ; then 1022 1338 - echo "$as_me:1118: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 1023 + echo "$as_me:112 0: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&51339 + echo "$as_me:1129: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 1024 1340 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 1025 1341 - { { echo "$as_me:1120: error: \"Please remove config.cache and try again.\"" >&5 1026 + { { echo "$as_me:11 22: error: \"Please remove config.cache and try again.\"" >&51342 + { { echo "$as_me:1131: error: \"Please remove config.cache and try again.\"" >&5 1027 1343 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} 1028 1344 { (exit 1); exit 1; }; } 1029 1345 fi 1030 @@ -1125,7 +11 27,7 @@1346 @@ -1125,7 +1136,7 @@ 1031 1347 # Check whether --with-system-type or --without-system-type was given. 1032 1348 if test "${with_system_type+set}" = set; then 1033 1349 withval="$with_system_type" 1034 1350 - { echo "$as_me:1128: WARNING: overriding system type to $withval" >&5 1035 + { echo "$as_me:113 0: WARNING: overriding system type to $withval" >&51351 + { echo "$as_me:1139: WARNING: overriding system type to $withval" >&5 1036 1352 echo "$as_me: WARNING: overriding system type to $withval" >&2;} 1037 1353 cf_cv_system_name=$withval 1038 1354 fi; 1039 @@ -1135,23 +11 37,23 @@1355 @@ -1135,23 +1146,23 @@ 1040 1356 1041 1357 ### Default install-location 1042 1358 1043 1359 -echo "$as_me:1138: checking for prefix" >&5 1044 +echo "$as_me:114 0: checking for prefix" >&51360 +echo "$as_me:1149: checking for prefix" >&5 1045 1361 echo $ECHO_N "checking for prefix... $ECHO_C" >&6 1046 1362 if test "x$prefix" = "xNONE" ; then … … 1056 1372 fi 1057 1373 -echo "$as_me:1150: result: $prefix" >&5 1058 +echo "$as_me:11 52: result: $prefix" >&51374 +echo "$as_me:1161: result: $prefix" >&5 1059 1375 echo "${ECHO_T}$prefix" >&6 1060 1376 1061 1377 if test "x$prefix" = "xNONE" ; then 1062 1378 -echo "$as_me:1154: checking for default include-directory" >&5 1063 +echo "$as_me:11 56: checking for default include-directory" >&51379 +echo "$as_me:1165: checking for default include-directory" >&5 1064 1380 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6 1065 1381 test -n "$verbose" && echo 1>&6 1066 1382 for cf_symbol in \ 1067 @@ -1174,7 +11 76,7 @@1383 @@ -1174,7 +1185,7 @@ 1068 1384 fi 1069 1385 test -n "$verbose" && echo " tested $cf_dir" 1>&6 1070 1386 done 1071 1387 -echo "$as_me:1177: result: $includedir" >&5 1072 +echo "$as_me:11 79: result: $includedir" >&51388 +echo "$as_me:1188: result: $includedir" >&5 1073 1389 echo "${ECHO_T}$includedir" >&6 1074 1390 fi 1075 1391 1076 @@ -1188,7 +1190,7 @@ 1392 @@ -1186,213 +1197,11 @@ 1393 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1394 ac_main_return=return 1077 1395 if test -n "$ac_tool_prefix"; then 1078 1079 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 1080 1398 -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" 1089 1413 -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 1098 1421 - 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 1102 1424 - 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 1109 1110 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 1111 1433 -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" 1120 1448 -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 1129 1456 - 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 1133 1459 - 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 1142 1472 -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" 1151 1487 -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 1160 1495 - 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 1164 1498 - 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 1171 1172 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 1173 1507 -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" 1182 1522 -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 1191 1530 - 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 1195 1533 - 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 1204 1546 -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" 1213 1566 -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 1222 1588 - 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 1226 1591 - 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 1232 1600 do 1233 1601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1234 1602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1235 1603 -echo "$as_me:1395: checking for $ac_word" >&5 1236 +echo "$as_me:1 397: checking for $ac_word" >&51604 +echo "$as_me:1204: checking for $ac_word" >&5 1237 1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1238 1606 if test "${ac_cv_prog_CC+set}" = set; then 1239 1607 echo $ECHO_N "(cached) $ECHO_C" >&6 1240 @@ -1407,7 +1 409,7 @@1608 @@ -1407,7 +1216,7 @@ 1241 1609 test -z "$ac_dir" && ac_dir=. 1242 1610 $as_executable_p "$ac_dir/$ac_word" || continue 1243 1611 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1244 1612 -echo "$as_me:1410: found $ac_dir/$ac_word" >&5 1245 +echo "$as_me:1 412: found $ac_dir/$ac_word" >&51613 +echo "$as_me:1219: found $ac_dir/$ac_word" >&5 1246 1614 break 1247 1615 done 1248 1616 1249 @@ -1415,10 +1 417,10 @@1617 @@ -1415,10 +1224,10 @@ 1250 1618 fi 1251 1619 CC=$ac_cv_prog_CC 1252 1620 if test -n "$CC"; then 1253 1621 - echo "$as_me:1418: result: $CC" >&5 1254 + echo "$as_me:1 420: result: $CC" >&51622 + echo "$as_me:1227: result: $CC" >&5 1255 1623 echo "${ECHO_T}$CC" >&6 1256 1624 else 1257 1625 - echo "$as_me:1421: result: no" >&5 1258 + echo "$as_me:1 423: result: no" >&51626 + echo "$as_me:1230: result: no" >&5 1259 1627 echo "${ECHO_T}no" >&6 1260 1628 fi 1261 1629 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 1263 1636 do 1264 1637 # Extract the first word of "$ac_prog", so it can be a program name with args. 1265 1638 set dummy $ac_prog; ac_word=$2 1266 1639 -echo "$as_me:1434: checking for $ac_word" >&5 1267 +echo "$as_me:1 436: checking for $ac_word" >&51640 +echo "$as_me:1243: checking for $ac_word" >&5 1268 1641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1269 1642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1270 1643 echo $ECHO_N "(cached) $ECHO_C" >&6 1271 @@ -1446,7 +1 448,7 @@1644 @@ -1446,7 +1255,7 @@ 1272 1645 test -z "$ac_dir" && ac_dir=. 1273 1646 $as_executable_p "$ac_dir/$ac_word" || continue 1274 1647 ac_cv_prog_ac_ct_CC="$ac_prog" 1275 1648 -echo "$as_me:1449: found $ac_dir/$ac_word" >&5 1276 +echo "$as_me:1 451: found $ac_dir/$ac_word" >&51649 +echo "$as_me:1258: found $ac_dir/$ac_word" >&5 1277 1650 break 1278 1651 done 1279 1652 1280 @@ -1454,10 +1 456,10 @@1653 @@ -1454,10 +1263,10 @@ 1281 1654 fi 1282 1655 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1283 1656 if test -n "$ac_ct_CC"; then 1284 1657 - echo "$as_me:1457: result: $ac_ct_CC" >&5 1285 + echo "$as_me:1 459: result: $ac_ct_CC" >&51658 + echo "$as_me:1266: result: $ac_ct_CC" >&5 1286 1659 echo "${ECHO_T}$ac_ct_CC" >&6 1287 1660 else 1288 1661 - echo "$as_me:1460: result: no" >&5 1289 + echo "$as_me:1 462: result: no" >&51662 + echo "$as_me:1269: result: no" >&5 1290 1663 echo "${ECHO_T}no" >&6 1291 1664 fi 1292 1665 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 - 1297 1672 -test -z "$CC" && { { echo "$as_me:1472: error: no acceptable cc found in \$PATH" >&5 1298 +test -z "$CC" && { { echo "$as_me:1 474: error: no acceptable cc found in \$PATH" >&51673 +test -z "$CC" && { { echo "$as_me:1279: error: no acceptable cc found in \$PATH" >&5 1299 1674 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1300 1675 { (exit 1); exit 1; }; } … … 1302 1677 # Provide some information about the compiler. 1303 1678 -echo "$as_me:1477:" \ 1304 +echo "$as_me:1 479:" \1679 +echo "$as_me:1284:" \ 1305 1680 "checking for C compiler version" >&5 1306 1681 ac_compiler=`set X $ac_compile; echo $2` 1307 1682 -{ (eval echo "$as_me:1480: \"$ac_compiler --version </dev/null >&5\"") >&5 1308 +{ (eval echo "$as_me:1 482: \"$ac_compiler --version </dev/null >&5\"") >&51683 +{ (eval echo "$as_me:1287: \"$ac_compiler --version </dev/null >&5\"") >&5 1309 1684 (eval $ac_compiler --version </dev/null >&5) 2>&5 1310 1685 ac_status=$? 1311 1686 - echo "$as_me:1483: \$? = $ac_status" >&5 1312 + echo "$as_me:1 485: \$? = $ac_status" >&51687 + echo "$as_me:1290: \$? = $ac_status" >&5 1313 1688 (exit $ac_status); } 1314 1689 -{ (eval echo "$as_me:1485: \"$ac_compiler -v </dev/null >&5\"") >&5 1315 +{ (eval echo "$as_me:1 487: \"$ac_compiler -v </dev/null >&5\"") >&51690 +{ (eval echo "$as_me:1292: \"$ac_compiler -v </dev/null >&5\"") >&5 1316 1691 (eval $ac_compiler -v </dev/null >&5) 2>&5 1317 1692 ac_status=$? 1318 1693 - echo "$as_me:1488: \$? = $ac_status" >&5 1319 + echo "$as_me:1 490: \$? = $ac_status" >&51694 + echo "$as_me:1295: \$? = $ac_status" >&5 1320 1695 (exit $ac_status); } 1321 1696 -{ (eval echo "$as_me:1490: \"$ac_compiler -V </dev/null >&5\"") >&5 1322 +{ (eval echo "$as_me:1 492: \"$ac_compiler -V </dev/null >&5\"") >&51697 +{ (eval echo "$as_me:1297: \"$ac_compiler -V </dev/null >&5\"") >&5 1323 1698 (eval $ac_compiler -V </dev/null >&5) 2>&5 1324 1699 ac_status=$? 1325 1700 - echo "$as_me:1493: \$? = $ac_status" >&5 1326 + echo "$as_me:1 495: \$? = $ac_status" >&51701 + echo "$as_me:1300: \$? = $ac_status" >&5 1327 1702 (exit $ac_status); } 1328 1703 1329 1704 cat >conftest.$ac_ext <<_ACEOF 1330 1705 -#line 1497 "configure" 1331 +#line 1 499"configure"1706 +#line 1304 "configure" 1332 1707 #include "confdefs.h" 1333 1708 1334 1709 int 1335 @@ -1510,13 +1 512,13 @@1710 @@ -1510,13 +1317,13 @@ 1336 1711 # Try to create an executable without -o first, disregard a.out. 1337 1712 # It will help us diagnose broken compilers, and finding out an intuition 1338 1713 # of exeext. 1339 1714 -echo "$as_me:1513: checking for C compiler default output" >&5 1340 +echo "$as_me:1 515: checking for C compiler default output" >&51715 +echo "$as_me:1320: checking for C compiler default output" >&5 1341 1716 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1342 1717 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1343 1718 -if { (eval echo "$as_me:1516: \"$ac_link_default\"") >&5 1344 +if { (eval echo "$as_me:1 518: \"$ac_link_default\"") >&51719 +if { (eval echo "$as_me:1323: \"$ac_link_default\"") >&5 1345 1720 (eval $ac_link_default) 2>&5 1346 1721 ac_status=$? 1347 1722 - echo "$as_me:1519: \$? = $ac_status" >&5 1348 + echo "$as_me:1 521: \$? = $ac_status" >&51723 + echo "$as_me:1326: \$? = $ac_status" >&5 1349 1724 (exit $ac_status); }; then 1350 1725 # Find the output, starting from the most likely. This scheme is 1351 1726 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1352 @@ -1539,34 +1 541,34 @@1727 @@ -1539,34 +1346,34 @@ 1353 1728 else 1354 1729 echo "$as_me: failed program was:" >&5 1355 1730 cat conftest.$ac_ext >&5 1356 1731 -{ { echo "$as_me:1542: error: C compiler cannot create executables" >&5 1357 +{ { echo "$as_me:1 544: error: C compiler cannot create executables" >&51732 +{ { echo "$as_me:1349: error: C compiler cannot create executables" >&5 1358 1733 echo "$as_me: error: C compiler cannot create executables" >&2;} 1359 1734 { (exit 77); exit 77; }; } … … 1362 1737 ac_exeext=$ac_cv_exeext 1363 1738 -echo "$as_me:1548: result: $ac_file" >&5 1364 +echo "$as_me:1 550: result: $ac_file" >&51739 +echo "$as_me:1355: result: $ac_file" >&5 1365 1740 echo "${ECHO_T}$ac_file" >&6 1366 1741 … … 1368 1743 # the compiler is broken, or we cross compile. 1369 1744 -echo "$as_me:1553: checking whether the C compiler works" >&5 1370 +echo "$as_me:1 555: checking whether the C compiler works" >&51745 +echo "$as_me:1360: checking whether the C compiler works" >&5 1371 1746 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1372 1747 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1375 1750 if { ac_try='./$ac_file' 1376 1751 - { (eval echo "$as_me:1559: \"$ac_try\"") >&5 1377 + { (eval echo "$as_me:1 561: \"$ac_try\"") >&51752 + { (eval echo "$as_me:1366: \"$ac_try\"") >&5 1378 1753 (eval $ac_try) 2>&5 1379 1754 ac_status=$? 1380 1755 - echo "$as_me:1562: \$? = $ac_status" >&5 1381 + echo "$as_me:1 564: \$? = $ac_status" >&51756 + echo "$as_me:1369: \$? = $ac_status" >&5 1382 1757 (exit $ac_status); }; }; then 1383 1758 cross_compiling=no … … 1387 1762 else 1388 1763 - { { echo "$as_me:1569: error: cannot run C compiled programs. 1389 + { { echo "$as_me:1 571: error: cannot run C compiled programs.1764 + { { echo "$as_me:1376: error: cannot run C compiled programs. 1390 1765 If you meant to cross compile, use \`--host'." >&5 1391 1766 echo "$as_me: error: cannot run C compiled programs. 1392 1767 If you meant to cross compile, use \`--host'." >&2;} 1393 @@ -1574,24 +1 576,24 @@1768 @@ -1574,24 +1381,24 @@ 1394 1769 fi 1395 1770 fi 1396 1771 fi 1397 1772 -echo "$as_me:1577: result: yes" >&5 1398 +echo "$as_me:1 579: result: yes" >&51773 +echo "$as_me:1384: result: yes" >&5 1399 1774 echo "${ECHO_T}yes" >&6 1400 1775 … … 1404 1779 # the compiler is broken, or we cross compile. 1405 1780 -echo "$as_me:1584: checking whether we are cross compiling" >&5 1406 +echo "$as_me:1 586: checking whether we are cross compiling" >&51781 +echo "$as_me:1391: checking whether we are cross compiling" >&5 1407 1782 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1408 1783 -echo "$as_me:1586: result: $cross_compiling" >&5 1409 +echo "$as_me:1 588: result: $cross_compiling" >&51784 +echo "$as_me:1393: result: $cross_compiling" >&5 1410 1785 echo "${ECHO_T}$cross_compiling" >&6 1411 1786 1412 1787 -echo "$as_me:1589: checking for executable suffix" >&5 1413 +echo "$as_me:1 591: checking for executable suffix" >&51788 +echo "$as_me:1396: checking for executable suffix" >&5 1414 1789 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1415 1790 -if { (eval echo "$as_me:1591: \"$ac_link\"") >&5 1416 +if { (eval echo "$as_me:1 593: \"$ac_link\"") >&51791 +if { (eval echo "$as_me:1398: \"$ac_link\"") >&5 1417 1792 (eval $ac_link) 2>&5 1418 1793 ac_status=$? 1419 1794 - echo "$as_me:1594: \$? = $ac_status" >&5 1420 + echo "$as_me:1 596: \$? = $ac_status" >&51795 + echo "$as_me:1401: \$? = $ac_status" >&5 1421 1796 (exit $ac_status); }; then 1422 1797 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1423 1798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1424 @@ -1607,25 +1 609,25 @@1799 @@ -1607,25 +1414,25 @@ 1425 1800 esac 1426 1801 done 1427 1802 else 1428 1803 - { { echo "$as_me:1610: error: cannot compute EXEEXT: cannot compile and link" >&5 1429 + { { echo "$as_me:1 612: error: cannot compute EXEEXT: cannot compile and link" >&51804 + { { echo "$as_me:1417: error: cannot compute EXEEXT: cannot compile and link" >&5 1430 1805 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1431 1806 { (exit 1); exit 1; }; } … … 1434 1809 rm -f conftest$ac_cv_exeext 1435 1810 -echo "$as_me:1616: result: $ac_cv_exeext" >&5 1436 +echo "$as_me:1 618: result: $ac_cv_exeext" >&51811 +echo "$as_me:1423: result: $ac_cv_exeext" >&5 1437 1812 echo "${ECHO_T}$ac_cv_exeext" >&6 1438 1813 … … 1441 1816 ac_exeext=$EXEEXT 1442 1817 -echo "$as_me:1622: checking for object suffix" >&5 1443 +echo "$as_me:1 624: checking for object suffix" >&51818 +echo "$as_me:1429: checking for object suffix" >&5 1444 1819 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1445 1820 if test "${ac_cv_objext+set}" = set; then … … 1448 1823 cat >conftest.$ac_ext <<_ACEOF 1449 1824 -#line 1628 "configure" 1450 +#line 1 630"configure"1825 +#line 1435 "configure" 1451 1826 #include "confdefs.h" 1452 1827 1453 1828 int 1454 @@ -1637,10 +1 639,10 @@1829 @@ -1637,10 +1444,10 @@ 1455 1830 } 1456 1831 _ACEOF 1457 1832 rm -f conftest.o conftest.obj 1458 1833 -if { (eval echo "$as_me:1640: \"$ac_compile\"") >&5 1459 +if { (eval echo "$as_me:1 642: \"$ac_compile\"") >&51834 +if { (eval echo "$as_me:1447: \"$ac_compile\"") >&5 1460 1835 (eval $ac_compile) 2>&5 1461 1836 ac_status=$? 1462 1837 - echo "$as_me:1643: \$? = $ac_status" >&5 1463 + echo "$as_me:1 645: \$? = $ac_status" >&51838 + echo "$as_me:1450: \$? = $ac_status" >&5 1464 1839 (exit $ac_status); }; then 1465 1840 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1466 1841 case $ac_file in 1467 @@ -1652,24 +1 654,24 @@1842 @@ -1652,24 +1459,24 @@ 1468 1843 else 1469 1844 echo "$as_me: failed program was:" >&5 1470 1845 cat conftest.$ac_ext >&5 1471 1846 -{ { echo "$as_me:1655: error: cannot compute OBJEXT: cannot compile" >&5 1472 +{ { echo "$as_me:1 657: error: cannot compute OBJEXT: cannot compile" >&51847 +{ { echo "$as_me:1462: error: cannot compute OBJEXT: cannot compile" >&5 1473 1848 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1474 1849 { (exit 1); exit 1; }; } … … 1478 1853 fi 1479 1854 -echo "$as_me:1662: result: $ac_cv_objext" >&5 1480 +echo "$as_me:1 664: result: $ac_cv_objext" >&51855 +echo "$as_me:1469: result: $ac_cv_objext" >&5 1481 1856 echo "${ECHO_T}$ac_cv_objext" >&6 1482 1857 OBJEXT=$ac_cv_objext 1483 1858 ac_objext=$OBJEXT 1484 1859 -echo "$as_me:1666: checking whether we are using the GNU C compiler" >&5 1485 +echo "$as_me:1 668: checking whether we are using the GNU C compiler" >&51860 +echo "$as_me:1473: checking whether we are using the GNU C compiler" >&5 1486 1861 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1487 1862 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1490 1865 cat >conftest.$ac_ext <<_ACEOF 1491 1866 -#line 1672 "configure" 1492 +#line 1 674"configure"1867 +#line 1479 "configure" 1493 1868 #include "confdefs.h" 1494 1869 1495 1870 int 1496 @@ -1684,16 +1 686,16 @@1871 @@ -1684,16 +1491,16 @@ 1497 1872 } 1498 1873 _ACEOF 1499 1874 rm -f conftest.$ac_objext 1500 1875 -if { (eval echo "$as_me:1687: \"$ac_compile\"") >&5 1501 +if { (eval echo "$as_me:1 689: \"$ac_compile\"") >&51876 +if { (eval echo "$as_me:1494: \"$ac_compile\"") >&5 1502 1877 (eval $ac_compile) 2>&5 1503 1878 ac_status=$? 1504 1879 - echo "$as_me:1690: \$? = $ac_status" >&5 1505 + echo "$as_me:1 692: \$? = $ac_status" >&51880 + echo "$as_me:1497: \$? = $ac_status" >&5 1506 1881 (exit $ac_status); } && 1507 1882 { ac_try='test -s conftest.$ac_objext' 1508 1883 - { (eval echo "$as_me:1693: \"$ac_try\"") >&5 1509 + { (eval echo "$as_me:1 695: \"$ac_try\"") >&51884 + { (eval echo "$as_me:1500: \"$ac_try\"") >&5 1510 1885 (eval $ac_try) 2>&5 1511 1886 ac_status=$? 1512 1887 - echo "$as_me:1696: \$? = $ac_status" >&5 1513 + echo "$as_me:1 698: \$? = $ac_status" >&51888 + echo "$as_me:1503: \$? = $ac_status" >&5 1514 1889 (exit $ac_status); }; }; then 1515 1890 ac_compiler_gnu=yes 1516 1891 else 1517 @@ -1705,19 +1 707,19 @@1892 @@ -1705,19 +1512,19 @@ 1518 1893 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1519 1894 1520 1895 fi 1521 1896 -echo "$as_me:1708: result: $ac_cv_c_compiler_gnu" >&5 1522 +echo "$as_me:1 710: result: $ac_cv_c_compiler_gnu" >&51897 +echo "$as_me:1515: result: $ac_cv_c_compiler_gnu" >&5 1523 1898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1524 1899 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 1527 1902 CFLAGS="-g" 1528 1903 -echo "$as_me:1714: checking whether $CC accepts -g" >&5 1529 +echo "$as_me:1 716: checking whether $CC accepts -g" >&51904 +echo "$as_me:1521: checking whether $CC accepts -g" >&5 1530 1905 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1531 1906 if test "${ac_cv_prog_cc_g+set}" = set; then … … 1534 1909 cat >conftest.$ac_ext <<_ACEOF 1535 1910 -#line 1720 "configure" 1536 +#line 1 722"configure"1911 +#line 1527 "configure" 1537 1912 #include "confdefs.h" 1538 1913 1539 1914 int 1540 @@ -1729,16 +1 731,16 @@1915 @@ -1729,16 +1536,16 @@ 1541 1916 } 1542 1917 _ACEOF 1543 1918 rm -f conftest.$ac_objext 1544 1919 -if { (eval echo "$as_me:1732: \"$ac_compile\"") >&5 1545 +if { (eval echo "$as_me:1 734: \"$ac_compile\"") >&51920 +if { (eval echo "$as_me:1539: \"$ac_compile\"") >&5 1546 1921 (eval $ac_compile) 2>&5 1547 1922 ac_status=$? 1548 1923 - echo "$as_me:1735: \$? = $ac_status" >&5 1549 + echo "$as_me:1 737: \$? = $ac_status" >&51924 + echo "$as_me:1542: \$? = $ac_status" >&5 1550 1925 (exit $ac_status); } && 1551 1926 { ac_try='test -s conftest.$ac_objext' 1552 1927 - { (eval echo "$as_me:1738: \"$ac_try\"") >&5 1553 + { (eval echo "$as_me:1 740: \"$ac_try\"") >&51928 + { (eval echo "$as_me:1545: \"$ac_try\"") >&5 1554 1929 (eval $ac_try) 2>&5 1555 1930 ac_status=$? 1556 1931 - echo "$as_me:1741: \$? = $ac_status" >&5 1557 + echo "$as_me:1 743: \$? = $ac_status" >&51932 + echo "$as_me:1548: \$? = $ac_status" >&5 1558 1933 (exit $ac_status); }; }; then 1559 1934 ac_cv_prog_cc_g=yes 1560 1935 else 1561 @@ -1748,7 +1 750,7 @@1936 @@ -1748,7 +1555,7 @@ 1562 1937 fi 1563 1938 rm -f conftest.$ac_objext conftest.$ac_ext 1564 1939 fi 1565 1940 -echo "$as_me:1751: result: $ac_cv_prog_cc_g" >&5 1566 +echo "$as_me:1 753: result: $ac_cv_prog_cc_g" >&51941 +echo "$as_me:1558: result: $ac_cv_prog_cc_g" >&5 1567 1942 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1568 1943 if test "$ac_test_CFLAGS" = set; then 1569 1944 CFLAGS=$ac_save_CFLAGS 1570 @@ -1775,16 +1 777,16 @@1945 @@ -1775,16 +1582,16 @@ 1571 1946 #endif 1572 1947 _ACEOF 1573 1948 rm -f conftest.$ac_objext 1574 1949 -if { (eval echo "$as_me:1778: \"$ac_compile\"") >&5 1575 +if { (eval echo "$as_me:1 780: \"$ac_compile\"") >&51950 +if { (eval echo "$as_me:1585: \"$ac_compile\"") >&5 1576 1951 (eval $ac_compile) 2>&5 1577 1952 ac_status=$? 1578 1953 - echo "$as_me:1781: \$? = $ac_status" >&5 1579 + echo "$as_me:1 783: \$? = $ac_status" >&51954 + echo "$as_me:1588: \$? = $ac_status" >&5 1580 1955 (exit $ac_status); } && 1581 1956 { ac_try='test -s conftest.$ac_objext' 1582 1957 - { (eval echo "$as_me:1784: \"$ac_try\"") >&5 1583 + { (eval echo "$as_me:1 786: \"$ac_try\"") >&51958 + { (eval echo "$as_me:1591: \"$ac_try\"") >&5 1584 1959 (eval $ac_try) 2>&5 1585 1960 ac_status=$? 1586 1961 - echo "$as_me:1787: \$? = $ac_status" >&5 1587 + echo "$as_me:1 789: \$? = $ac_status" >&51962 + echo "$as_me:1594: \$? = $ac_status" >&5 1588 1963 (exit $ac_status); }; }; then 1589 1964 for ac_declaration in \ 1590 1965 ''\ 1591 @@ -1796,7 +1 798,7 @@1966 @@ -1796,7 +1603,7 @@ 1592 1967 'void exit (int);' 1593 1968 do 1594 1969 cat >conftest.$ac_ext <<_ACEOF 1595 1970 -#line 1799 "configure" 1596 +#line 1 801"configure"1971 +#line 1606 "configure" 1597 1972 #include "confdefs.h" 1598 1973 #include <stdlib.h> 1599 1974 $ac_declaration 1600 @@ -1809,16 +1 811,16 @@1975 @@ -1809,16 +1616,16 @@ 1601 1976 } 1602 1977 _ACEOF 1603 1978 rm -f conftest.$ac_objext 1604 1979 -if { (eval echo "$as_me:1812: \"$ac_compile\"") >&5 1605 +if { (eval echo "$as_me:1 814: \"$ac_compile\"") >&51980 +if { (eval echo "$as_me:1619: \"$ac_compile\"") >&5 1606 1981 (eval $ac_compile) 2>&5 1607 1982 ac_status=$? 1608 1983 - echo "$as_me:1815: \$? = $ac_status" >&5 1609 + echo "$as_me:1 817: \$? = $ac_status" >&51984 + echo "$as_me:1622: \$? = $ac_status" >&5 1610 1985 (exit $ac_status); } && 1611 1986 { ac_try='test -s conftest.$ac_objext' 1612 1987 - { (eval echo "$as_me:1818: \"$ac_try\"") >&5 1613 + { (eval echo "$as_me:1 820: \"$ac_try\"") >&51988 + { (eval echo "$as_me:1625: \"$ac_try\"") >&5 1614 1989 (eval $ac_try) 2>&5 1615 1990 ac_status=$? 1616 1991 - echo "$as_me:1821: \$? = $ac_status" >&5 1617 + echo "$as_me:1 823: \$? = $ac_status" >&51992 + echo "$as_me:1628: \$? = $ac_status" >&5 1618 1993 (exit $ac_status); }; }; then 1619 1994 : 1620 1995 else 1621 @@ -1828,7 +1 830,7 @@1996 @@ -1828,7 +1635,7 @@ 1622 1997 fi 1623 1998 rm -f conftest.$ac_objext conftest.$ac_ext 1624 1999 cat >conftest.$ac_ext <<_ACEOF 1625 2000 -#line 1831 "configure" 1626 +#line 1 833"configure"2001 +#line 1638 "configure" 1627 2002 #include "confdefs.h" 1628 2003 $ac_declaration 1629 2004 int 1630 @@ -1840,16 +1 842,16 @@2005 @@ -1840,16 +1647,16 @@ 1631 2006 } 1632 2007 _ACEOF 1633 2008 rm -f conftest.$ac_objext 1634 2009 -if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5 1635 +if { (eval echo "$as_me:1 845: \"$ac_compile\"") >&52010 +if { (eval echo "$as_me:1650: \"$ac_compile\"") >&5 1636 2011 (eval $ac_compile) 2>&5 1637 2012 ac_status=$? 1638 2013 - echo "$as_me:1846: \$? = $ac_status" >&5 1639 + echo "$as_me:1 848: \$? = $ac_status" >&52014 + echo "$as_me:1653: \$? = $ac_status" >&5 1640 2015 (exit $ac_status); } && 1641 2016 { ac_try='test -s conftest.$ac_objext' 1642 2017 - { (eval echo "$as_me:1849: \"$ac_try\"") >&5 1643 + { (eval echo "$as_me:1 851: \"$ac_try\"") >&52018 + { (eval echo "$as_me:1656: \"$ac_try\"") >&5 1644 2019 (eval $ac_try) 2>&5 1645 2020 ac_status=$? 1646 2021 - echo "$as_me:1852: \$? = $ac_status" >&5 1647 + echo "$as_me:1 854: \$? = $ac_status" >&52022 + echo "$as_me:1659: \$? = $ac_status" >&5 1648 2023 (exit $ac_status); }; }; then 1649 2024 break 1650 2025 else 1651 @@ -1879,11 +1 881,11 @@2026 @@ -1879,11 +1686,11 @@ 1652 2027 1653 2028 GCC_VERSION=none 1654 2029 if test "$GCC" = yes ; then 1655 2030 - echo "$as_me:1882: checking version of $CC" >&5 1656 + echo "$as_me:1 884: checking version of $CC" >&52031 + echo "$as_me:1689: checking version of $CC" >&5 1657 2032 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 1658 2033 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" 1659 2034 test -z "$GCC_VERSION" && GCC_VERSION=unknown 1660 2035 - echo "$as_me:1886: result: $GCC_VERSION" >&5 1661 + echo "$as_me:1 888: result: $GCC_VERSION" >&52036 + echo "$as_me:1693: result: $GCC_VERSION" >&5 1662 2037 echo "${ECHO_T}$GCC_VERSION" >&6 1663 2038 fi 1664 2039 1665 @@ -1893,7 +1 895,7 @@2040 @@ -1893,7 +1700,7 @@ 1666 2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1667 2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1668 2043 ac_main_return=return 1669 2044 -echo "$as_me:1896: checking how to run the C preprocessor" >&5 1670 +echo "$as_me:1 898: checking how to run the C preprocessor" >&52045 +echo "$as_me:1703: checking how to run the C preprocessor" >&5 1671 2046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 1672 2047 # On Suns, sometimes $CPP names a directory. 1673 2048 if test -n "$CPP" && test -d "$CPP"; then 1674 @@ -1914,18 +1 916,18 @@2049 @@ -1914,18 +1721,18 @@ 1675 2050 # On the NeXT, cc -E runs the code through the compiler's parser, 1676 2051 # not just through cpp. "Syntax error" is here to catch this case. 1677 2052 cat >conftest.$ac_ext <<_ACEOF 1678 2053 -#line 1917 "configure" 1679 +#line 1 919"configure"2054 +#line 1724 "configure" 1680 2055 #include "confdefs.h" 1681 2056 #include <assert.h> … … 1683 2058 _ACEOF 1684 2059 -if { (eval echo "$as_me:1922: \"$ac_cpp conftest.$ac_ext\"") >&5 1685 +if { (eval echo "$as_me:1 924: \"$ac_cpp conftest.$ac_ext\"") >&52060 +if { (eval echo "$as_me:1729: \"$ac_cpp conftest.$ac_ext\"") >&5 1686 2061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1687 2062 ac_status=$? … … 1690 2065 cat conftest.err >&5 1691 2066 - echo "$as_me:1928: \$? = $ac_status" >&5 1692 + echo "$as_me:1 930: \$? = $ac_status" >&52067 + echo "$as_me:1735: \$? = $ac_status" >&5 1693 2068 (exit $ac_status); } >/dev/null; then 1694 2069 if test -s conftest.err; then 1695 2070 ac_cpp_err=$ac_c_preproc_warn_flag 1696 @@ -1948,17 +1 950,17 @@2071 @@ -1948,17 +1755,17 @@ 1697 2072 # OK, works on sane cases. Now check whether non-existent headers 1698 2073 # can be detected and how. 1699 2074 cat >conftest.$ac_ext <<_ACEOF 1700 2075 -#line 1951 "configure" 1701 +#line 1 953"configure"2076 +#line 1758 "configure" 1702 2077 #include "confdefs.h" 1703 2078 #include <ac_nonexistent.h> 1704 2079 _ACEOF 1705 2080 -if { (eval echo "$as_me:1955: \"$ac_cpp conftest.$ac_ext\"") >&5 1706 +if { (eval echo "$as_me:1 957: \"$ac_cpp conftest.$ac_ext\"") >&52081 +if { (eval echo "$as_me:1762: \"$ac_cpp conftest.$ac_ext\"") >&5 1707 2082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1708 2083 ac_status=$? … … 1711 2086 cat conftest.err >&5 1712 2087 - echo "$as_me:1961: \$? = $ac_status" >&5 1713 + echo "$as_me:1 963: \$? = $ac_status" >&52088 + echo "$as_me:1768: \$? = $ac_status" >&5 1714 2089 (exit $ac_status); } >/dev/null; then 1715 2090 if test -s conftest.err; then 1716 2091 ac_cpp_err=$ac_c_preproc_warn_flag 1717 @@ -1995,7 +1 997,7 @@2092 @@ -1995,7 +1802,7 @@ 1718 2093 else 1719 2094 ac_cv_prog_CPP=$CPP 1720 2095 fi 1721 2096 -echo "$as_me:1998: result: $CPP" >&5 1722 +echo "$as_me: 2000: result: $CPP" >&52097 +echo "$as_me:1805: result: $CPP" >&5 1723 2098 echo "${ECHO_T}$CPP" >&6 1724 2099 ac_preproc_ok=false 1725 2100 for ac_c_preproc_warn_flag in '' yes 1726 @@ -2005,18 + 2007,18 @@2101 @@ -2005,18 +1812,18 @@ 1727 2102 # On the NeXT, cc -E runs the code through the compiler's parser, 1728 2103 # not just through cpp. "Syntax error" is here to catch this case. 1729 2104 cat >conftest.$ac_ext <<_ACEOF 1730 2105 -#line 2008 "configure" 1731 +#line 2010"configure"2106 +#line 1815 "configure" 1732 2107 #include "confdefs.h" 1733 2108 #include <assert.h> … … 1735 2110 _ACEOF 1736 2111 -if { (eval echo "$as_me:2013: \"$ac_cpp conftest.$ac_ext\"") >&5 1737 +if { (eval echo "$as_me: 2015: \"$ac_cpp conftest.$ac_ext\"") >&52112 +if { (eval echo "$as_me:1820: \"$ac_cpp conftest.$ac_ext\"") >&5 1738 2113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1739 2114 ac_status=$? … … 1742 2117 cat conftest.err >&5 1743 2118 - echo "$as_me:2019: \$? = $ac_status" >&5 1744 + echo "$as_me: 2021: \$? = $ac_status" >&52119 + echo "$as_me:1826: \$? = $ac_status" >&5 1745 2120 (exit $ac_status); } >/dev/null; then 1746 2121 if test -s conftest.err; then 1747 2122 ac_cpp_err=$ac_c_preproc_warn_flag 1748 @@ -2039,17 + 2041,17 @@2123 @@ -2039,17 +1846,17 @@ 1749 2124 # OK, works on sane cases. Now check whether non-existent headers 1750 2125 # can be detected and how. 1751 2126 cat >conftest.$ac_ext <<_ACEOF 1752 2127 -#line 2042 "configure" 1753 +#line 2044"configure"2128 +#line 1849 "configure" 1754 2129 #include "confdefs.h" 1755 2130 #include <ac_nonexistent.h> 1756 2131 _ACEOF 1757 2132 -if { (eval echo "$as_me:2046: \"$ac_cpp conftest.$ac_ext\"") >&5 1758 +if { (eval echo "$as_me: 2048: \"$ac_cpp conftest.$ac_ext\"") >&52133 +if { (eval echo "$as_me:1853: \"$ac_cpp conftest.$ac_ext\"") >&5 1759 2134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1760 2135 ac_status=$? … … 1763 2138 cat conftest.err >&5 1764 2139 - echo "$as_me:2052: \$? = $ac_status" >&5 1765 + echo "$as_me: 2054: \$? = $ac_status" >&52140 + echo "$as_me:1859: \$? = $ac_status" >&5 1766 2141 (exit $ac_status); } >/dev/null; then 1767 2142 if test -s conftest.err; then 1768 2143 ac_cpp_err=$ac_c_preproc_warn_flag 1769 @@ -2077,7 + 2079,7 @@2144 @@ -2077,7 +1884,7 @@ 1770 2145 if $ac_preproc_ok; then 1771 2146 : 1772 2147 else 1773 2148 - { { echo "$as_me:2080: error: C preprocessor \"$CPP\" fails sanity check" >&5 1774 + { { echo "$as_me: 2082: error: C preprocessor \"$CPP\" fails sanity check" >&52149 + { { echo "$as_me:1887: error: C preprocessor \"$CPP\" fails sanity check" >&5 1775 2150 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 1776 2151 { (exit 1); exit 1; }; } 1777 2152 fi 1778 @@ -2090,14 + 2092,14 @@2153 @@ -2090,14 +1897,14 @@ 1779 2154 ac_main_return=return 1780 2155 1781 2156 if test $ac_cv_c_compiler_gnu = yes; then 1782 2157 - echo "$as_me:2093: checking whether $CC needs -traditional" >&5 1783 + echo "$as_me: 2095: checking whether $CC needs -traditional" >&52158 + echo "$as_me:1900: checking whether $CC needs -traditional" >&5 1784 2159 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 1785 2160 if test "${ac_cv_prog_gcc_traditional+set}" = set; then … … 1789 2164 cat >conftest.$ac_ext <<_ACEOF 1790 2165 -#line 2100 "configure" 1791 +#line 2102"configure"2166 +#line 1907 "configure" 1792 2167 #include "confdefs.h" 1793 2168 #include <sgtty.h> 1794 2169 int Autoconf = TIOCGETP; 1795 @@ -2112,7 + 2114,7 @@2170 @@ -2112,7 +1919,7 @@ 1796 2171 1797 2172 if test $ac_cv_prog_gcc_traditional = no; then 1798 2173 cat >conftest.$ac_ext <<_ACEOF 1799 2174 -#line 2115 "configure" 1800 +#line 2117"configure"2175 +#line 1922 "configure" 1801 2176 #include "confdefs.h" 1802 2177 #include <termio.h> 1803 2178 int Autoconf = TCGETA; 1804 @@ -2125,14 + 2127,14 @@2179 @@ -2125,14 +1932,14 @@ 1805 2180 1806 2181 fi 1807 2182 fi 1808 2183 -echo "$as_me:2128: result: $ac_cv_prog_gcc_traditional" >&5 1809 +echo "$as_me: 2130: result: $ac_cv_prog_gcc_traditional" >&52184 +echo "$as_me:1935: result: $ac_cv_prog_gcc_traditional" >&5 1810 2185 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 1811 2186 if test $ac_cv_prog_gcc_traditional = yes; then … … 1815 2190 1816 2191 -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" >&52192 +echo "$as_me:1942: checking whether $CC understands -c and -o together" >&5 1818 2193 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6 1819 2194 if test "${cf_cv_prog_CC_c_o+set}" = set; then 1820 2195 echo $ECHO_N "(cached) $ECHO_C" >&6 1821 @@ -2148,15 + 2150,15 @@2196 @@ -2148,15 +1955,15 @@ 1822 2197 # We do the test twice because some compilers refuse to overwrite an 1823 2198 # existing .o file with -o, though they will create one. 1824 2199 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 1825 2200 -if { (eval echo "$as_me:2151: \"$ac_try\"") >&5 1826 +if { (eval echo "$as_me: 2153: \"$ac_try\"") >&52201 +if { (eval echo "$as_me:1958: \"$ac_try\"") >&5 1827 2202 (eval $ac_try) 2>&5 1828 2203 ac_status=$? 1829 2204 - echo "$as_me:2154: \$? = $ac_status" >&5 1830 + echo "$as_me: 2156: \$? = $ac_status" >&52205 + echo "$as_me:1961: \$? = $ac_status" >&5 1831 2206 (exit $ac_status); } && 1832 2207 - 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\"") >&52208 + test -f conftest2.$ac_objext && { (eval echo "$as_me:1963: \"$ac_try\"") >&5 1834 2209 (eval $ac_try) 2>&5 1835 2210 ac_status=$? 1836 2211 - echo "$as_me:2159: \$? = $ac_status" >&5 1837 + echo "$as_me: 2161: \$? = $ac_status" >&52212 + echo "$as_me:1966: \$? = $ac_status" >&5 1838 2213 (exit $ac_status); }; 1839 2214 then 1840 2215 eval cf_cv_prog_CC_c_o=yes 1841 @@ -2167,19 + 2169,19 @@2216 @@ -2167,19 +1974,19 @@ 1842 2217 1843 2218 fi 1844 2219 if test $cf_cv_prog_CC_c_o = yes; then 1845 2220 - echo "$as_me:2170: result: yes" >&5 1846 + echo "$as_me: 2172: result: yes" >&52221 + echo "$as_me:1977: result: yes" >&5 1847 2222 echo "${ECHO_T}yes" >&6 1848 2223 else 1849 2224 - echo "$as_me:2173: result: no" >&5 1850 + echo "$as_me: 2175: result: no" >&52225 + echo "$as_me:1980: result: no" >&5 1851 2226 echo "${ECHO_T}no" >&6 1852 2227 fi 1853 2228 1854 2229 -echo "$as_me:2177: checking for POSIXized ISC" >&5 1855 +echo "$as_me: 2179: checking for POSIXized ISC" >&52230 +echo "$as_me:1984: checking for POSIXized ISC" >&5 1856 2231 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 1857 2232 if test -d /etc/conf/kconfig.d && … … 1859 2234 then 1860 2235 - echo "$as_me:2182: result: yes" >&5 1861 + echo "$as_me: 2184: result: yes" >&52236 + echo "$as_me:1989: result: yes" >&5 1862 2237 echo "${ECHO_T}yes" >&6 1863 2238 ISC=yes # If later tests want to check for ISC. 1864 2239 1865 @@ -2193,12 +2 195,115 @@2240 @@ -2193,12 +2000,115 @@ 1866 2241 CC="$CC -Xp" 1867 2242 fi 1868 2243 else 1869 2244 - echo "$as_me:2196: result: no" >&5 1870 + echo "$as_me:2 198: result: no" >&52245 + echo "$as_me:2003: result: no" >&5 1871 2246 echo "${ECHO_T}no" >&6 1872 2247 ISC= … … 1880 2255 +# into CC. This will not help with broken scripts that wrap the compiler with 1881 2256 +# options, but eliminates a more common category of user confusion. 1882 +echo "$as_me:2 209: checking \$CC variable" >&52257 +echo "$as_me:2014: checking \$CC variable" >&5 1883 2258 +echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 1884 2259 +case "$CC" in #(vi 1885 2260 +*[\ \ ]-[IUD]*) 1886 + echo "$as_me:2 213: result: broken" >&52261 + echo "$as_me:2018: result: broken" >&5 1887 2262 +echo "${ECHO_T}broken" >&6 1888 + { echo "$as_me:2 215: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&52263 + { echo "$as_me:2020: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 1889 2264 +echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} 1890 2265 + # humor him... … … 1972 2347 + ;; 1973 2348 +*) 1974 + echo "$as_me:2 301: result: ok" >&52349 + echo "$as_me:2106: result: ok" >&5 1975 2350 +echo "${ECHO_T}ok" >&6 1976 2351 + ;; 1977 2352 +esac 1978 2353 + 1979 +echo "$as_me:2 306: checking for ${CC:-cc} option to accept ANSI C" >&52354 +echo "$as_me:2111: checking for ${CC:-cc} option to accept ANSI C" >&5 1980 2355 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6 1981 2356 if test "${cf_cv_ansi_cc+set}" = set; then 1982 2357 echo $ECHO_N "(cached) $ECHO_C" >&6 1983 @@ -2302,7 +2 407,7 @@2358 @@ -2302,7 +2212,7 @@ 1984 2359 fi 1985 2360 1986 2361 cat >conftest.$ac_ext <<_ACEOF 1987 2362 -#line 2305 "configure" 1988 +#line 2 410"configure"2363 +#line 2215 "configure" 1989 2364 #include "confdefs.h" 1990 2365 1991 2366 #ifndef CC_HAS_PROTOS 1992 @@ -2323,16 +2 428,16 @@2367 @@ -2323,16 +2233,16 @@ 1993 2368 } 1994 2369 _ACEOF 1995 2370 rm -f conftest.$ac_objext 1996 2371 -if { (eval echo "$as_me:2326: \"$ac_compile\"") >&5 1997 +if { (eval echo "$as_me:2 431: \"$ac_compile\"") >&52372 +if { (eval echo "$as_me:2236: \"$ac_compile\"") >&5 1998 2373 (eval $ac_compile) 2>&5 1999 2374 ac_status=$? 2000 2375 - echo "$as_me:2329: \$? = $ac_status" >&5 2001 + echo "$as_me:2 434: \$? = $ac_status" >&52376 + echo "$as_me:2239: \$? = $ac_status" >&5 2002 2377 (exit $ac_status); } && 2003 2378 { ac_try='test -s conftest.$ac_objext' 2004 2379 - { (eval echo "$as_me:2332: \"$ac_try\"") >&5 2005 + { (eval echo "$as_me:2 437: \"$ac_try\"") >&52380 + { (eval echo "$as_me:2242: \"$ac_try\"") >&5 2006 2381 (eval $ac_try) 2>&5 2007 2382 ac_status=$? 2008 2383 - echo "$as_me:2335: \$? = $ac_status" >&5 2009 + echo "$as_me:2 440: \$? = $ac_status" >&52384 + echo "$as_me:2245: \$? = $ac_status" >&5 2010 2385 (exit $ac_status); }; }; then 2011 2386 cf_cv_ansi_cc="$cf_arg"; break 2012 2387 else 2013 @@ -2345,7 +2 450,7 @@2388 @@ -2345,7 +2255,7 @@ 2014 2389 CPPFLAGS="$cf_save_CPPFLAGS" 2015 2390 2016 2391 fi 2017 2392 -echo "$as_me:2348: result: $cf_cv_ansi_cc" >&5 2018 +echo "$as_me:2 453: result: $cf_cv_ansi_cc" >&52393 +echo "$as_me:2258: result: $cf_cv_ansi_cc" >&5 2019 2394 echo "${ECHO_T}$cf_cv_ansi_cc" >&6 2020 2395 2021 2396 if test "$cf_cv_ansi_cc" != "no"; then 2022 @@ -2438,7 +2 543,7 @@2397 @@ -2438,7 +2348,7 @@ 2023 2398 fi 2024 2399 2025 2400 if test "$cf_cv_ansi_cc" = "no"; then 2026 2401 - { { echo "$as_me:2441: error: Your compiler does not appear to recognize prototypes. 2027 + { { echo "$as_me:2 546: error: Your compiler does not appear to recognize prototypes.2402 + { { echo "$as_me:2351: error: Your compiler does not appear to recognize prototypes. 2028 2403 You have the following choices: 2029 2404 a. adjust your compiler options 2030 2405 b. get an up-to-date compiler 2031 @@ -2485,7 +2 590,7 @@2406 @@ -2485,7 +2395,7 @@ 2032 2407 do 2033 2408 # Extract the first word of "$ac_prog", so it can be a program name with args. 2034 2409 set dummy $ac_prog; ac_word=$2 2035 2410 -echo "$as_me:2488: checking for $ac_word" >&5 2036 +echo "$as_me:2 593: checking for $ac_word" >&52411 +echo "$as_me:2398: checking for $ac_word" >&5 2037 2412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2038 2413 if test "${ac_cv_prog_AWK+set}" = set; then 2039 2414 echo $ECHO_N "(cached) $ECHO_C" >&6 2040 @@ -2500,7 +2 605,7 @@2415 @@ -2500,7 +2410,7 @@ 2041 2416 test -z "$ac_dir" && ac_dir=. 2042 2417 $as_executable_p "$ac_dir/$ac_word" || continue 2043 2418 ac_cv_prog_AWK="$ac_prog" 2044 2419 -echo "$as_me:2503: found $ac_dir/$ac_word" >&5 2045 +echo "$as_me:2 608: found $ac_dir/$ac_word" >&52420 +echo "$as_me:2413: found $ac_dir/$ac_word" >&5 2046 2421 break 2047 2422 done 2048 2423 2049 @@ -2508,21 +2 613,21 @@2424 @@ -2508,21 +2418,21 @@ 2050 2425 fi 2051 2426 AWK=$ac_cv_prog_AWK 2052 2427 if test -n "$AWK"; then 2053 2428 - echo "$as_me:2511: result: $AWK" >&5 2054 + echo "$as_me:2 616: result: $AWK" >&52429 + echo "$as_me:2421: result: $AWK" >&5 2055 2430 echo "${ECHO_T}$AWK" >&6 2056 2431 else 2057 2432 - echo "$as_me:2514: result: no" >&5 2058 + echo "$as_me:2 619: result: no" >&52433 + echo "$as_me:2424: result: no" >&5 2059 2434 echo "${ECHO_T}no" >&6 2060 2435 fi … … 2064 2439 2065 2440 -test -z "$AWK" && { { echo "$as_me:2521: error: No awk program found" >&5 2066 +test -z "$AWK" && { { echo "$as_me:2 626: error: No awk program found" >&52441 +test -z "$AWK" && { { echo "$as_me:2431: error: No awk program found" >&5 2067 2442 echo "$as_me: error: No awk program found" >&2;} 2068 2443 { (exit 1); exit 1; }; } 2069 2444 2070 2445 -echo "$as_me:2525: checking for egrep" >&5 2071 +echo "$as_me:2 630: checking for egrep" >&52446 +echo "$as_me:2435: checking for egrep" >&5 2072 2447 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2073 2448 if test "${ac_cv_prog_egrep+set}" = set; then 2074 2449 echo $ECHO_N "(cached) $ECHO_C" >&6 2075 @@ -2532,11 +2 637,11 @@2450 @@ -2532,11 +2442,11 @@ 2076 2451 else ac_cv_prog_egrep='egrep' 2077 2452 fi 2078 2453 fi 2079 2454 -echo "$as_me:2535: result: $ac_cv_prog_egrep" >&5 2080 +echo "$as_me:2 640: result: $ac_cv_prog_egrep" >&52455 +echo "$as_me:2445: result: $ac_cv_prog_egrep" >&5 2081 2456 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2082 2457 EGREP=$ac_cv_prog_egrep 2083 2458 2084 2459 -test -z "$EGREP" && { { echo "$as_me:2539: error: No egrep program found" >&5 2085 +test -z "$EGREP" && { { echo "$as_me:2 644: error: No egrep program found" >&52460 +test -z "$EGREP" && { { echo "$as_me:2449: error: No egrep program found" >&5 2086 2461 echo "$as_me: error: No egrep program found" >&2;} 2087 2462 { (exit 1); exit 1; }; } 2088 2463 2089 @@ -2552,7 +2 657,7 @@2464 @@ -2552,7 +2462,7 @@ 2090 2465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2091 2466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2092 2467 # ./install, which can be erroneously created by make from ./install.sh. 2093 2468 -echo "$as_me:2555: checking for a BSD compatible install" >&5 2094 +echo "$as_me:2 660: checking for a BSD compatible install" >&52469 +echo "$as_me:2465: checking for a BSD compatible install" >&5 2095 2470 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2096 2471 if test -z "$INSTALL"; then 2097 2472 if test "${ac_cv_path_install+set}" = set; then 2098 @@ -2601,7 +2 706,7 @@2473 @@ -2601,7 +2511,7 @@ 2099 2474 INSTALL=$ac_install_sh 2100 2475 fi 2101 2476 fi 2102 2477 -echo "$as_me:2604: result: $INSTALL" >&5 2103 +echo "$as_me:2 709: result: $INSTALL" >&52478 +echo "$as_me:2514: result: $INSTALL" >&5 2104 2479 echo "${ECHO_T}$INSTALL" >&6 2105 2480 2106 2481 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2107 @@ -2612,18 +2 717,18 @@2482 @@ -2612,18 +2522,18 @@ 2108 2483 2109 2484 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2110 2485 2111 2486 -echo "$as_me:2615: checking whether ln -s works" >&5 2112 +echo "$as_me:2 720: checking whether ln -s works" >&52487 +echo "$as_me:2525: checking whether ln -s works" >&5 2113 2488 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2114 2489 LN_S=$as_ln_s 2115 2490 if test "$LN_S" = "ln -s"; then 2116 2491 - echo "$as_me:2619: result: yes" >&5 2117 + echo "$as_me:2 724: result: yes" >&52492 + echo "$as_me:2529: result: yes" >&5 2118 2493 echo "${ECHO_T}yes" >&6 2119 2494 else 2120 2495 - echo "$as_me:2622: result: no, using $LN_S" >&5 2121 + echo "$as_me:2 727: result: no, using $LN_S" >&52496 + echo "$as_me:2532: result: no, using $LN_S" >&5 2122 2497 echo "${ECHO_T}no, using $LN_S" >&6 2123 2498 fi 2124 2499 2125 2500 -echo "$as_me:2626: checking if $LN_S -f options work" >&5 2126 +echo "$as_me:2 731: checking if $LN_S -f options work" >&52501 +echo "$as_me:2536: checking if $LN_S -f options work" >&5 2127 2502 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6 2128 2503 2129 2504 rm -f conf$$.src conf$$dst 2130 @@ -2635,12 +2 740,12 @@2505 @@ -2635,12 +2545,12 @@ 2131 2506 cf_prog_ln_sf=no 2132 2507 fi 2133 2508 rm -f conf$$.dst conf$$src 2134 2509 -echo "$as_me:2638: result: $cf_prog_ln_sf" >&5 2135 +echo "$as_me:2 743: result: $cf_prog_ln_sf" >&52510 +echo "$as_me:2548: result: $cf_prog_ln_sf" >&5 2136 2511 echo "${ECHO_T}$cf_prog_ln_sf" >&6 2137 2512 … … 2139 2514 2140 2515 -echo "$as_me:2643: checking for long file names" >&5 2141 +echo "$as_me:2 748: checking for long file names" >&52516 +echo "$as_me:2553: checking for long file names" >&5 2142 2517 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 2143 2518 if test "${ac_cv_sys_long_file_names+set}" = set; then 2144 2519 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 @@ -2679,7 +2 784,7 @@2520 @@ -2679,7 +2589,7 @@ 2146 2521 rm -rf $ac_xdir 2>/dev/null 2147 2522 done 2148 2523 fi 2149 2524 -echo "$as_me:2682: result: $ac_cv_sys_long_file_names" >&5 2150 +echo "$as_me:2 787: result: $ac_cv_sys_long_file_names" >&52525 +echo "$as_me:2592: result: $ac_cv_sys_long_file_names" >&5 2151 2526 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 2152 2527 if test $ac_cv_sys_long_file_names = yes; then 2153 2528 2154 @@ -2691,7 +2 796,7 @@2529 @@ -2691,7 +2601,7 @@ 2155 2530 2156 2531 # if we find pkg-config, check if we should install the ".pc" files. 2157 2532 2158 2533 -echo "$as_me:2694: checking if you want to use pkg-config" >&5 2159 +echo "$as_me:2 799: checking if you want to use pkg-config" >&52534 +echo "$as_me:2604: checking if you want to use pkg-config" >&5 2160 2535 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6 2161 2536 2162 2537 # Check whether --with-pkg-config or --without-pkg-config was given. 2163 @@ -2701,7 +2 806,7 @@2538 @@ -2701,7 +2611,7 @@ 2164 2539 else 2165 2540 cf_pkg_config=yes 2166 2541 fi; 2167 2542 -echo "$as_me:2704: result: $cf_pkg_config" >&5 2168 +echo "$as_me:2 809: result: $cf_pkg_config" >&52543 +echo "$as_me:2614: result: $cf_pkg_config" >&5 2169 2544 echo "${ECHO_T}$cf_pkg_config" >&6 2170 2545 2171 2546 case $cf_pkg_config in #(vi 2172 @@ -2709,10 +2 814,11 @@2547 @@ -2709,10 +2619,11 @@ 2173 2548 PKG_CONFIG=none 2174 2549 ;; … … 2180 2555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2181 2556 -echo "$as_me:2715: checking for $ac_word" >&5 2182 +echo "$as_me:2 821: checking for $ac_word" >&52557 +echo "$as_me:2626: checking for $ac_word" >&5 2183 2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2184 2559 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2185 2560 echo $ECHO_N "(cached) $ECHO_C" >&6 2186 @@ -2729,7 +2 835,7 @@2561 @@ -2729,7 +2640,7 @@ 2187 2562 test -z "$ac_dir" && ac_dir=. 2188 2563 if $as_executable_p "$ac_dir/$ac_word"; then 2189 2564 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" 2190 2565 - echo "$as_me:2732: found $ac_dir/$ac_word" >&5 2191 + echo "$as_me:2 838: found $ac_dir/$ac_word" >&52566 + echo "$as_me:2643: found $ac_dir/$ac_word" >&5 2192 2567 break 2193 2568 fi 2194 2569 done 2195 @@ -2740,10 +2 846,10 @@2570 @@ -2740,10 +2651,10 @@ 2196 2571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2197 2572 2198 2573 if test -n "$PKG_CONFIG"; then 2199 2574 - echo "$as_me:2743: result: $PKG_CONFIG" >&5 2200 + echo "$as_me:2 849: result: $PKG_CONFIG" >&52575 + echo "$as_me:2654: result: $PKG_CONFIG" >&5 2201 2576 echo "${ECHO_T}$PKG_CONFIG" >&6 2202 2577 else 2203 2578 - echo "$as_me:2746: result: no" >&5 2204 + echo "$as_me:2 852: result: no" >&52579 + echo "$as_me:2657: result: no" >&5 2205 2580 echo "${ECHO_T}no" >&6 2206 2581 fi 2207 2582 2208 @@ -2752,7 +2 858,7 @@2583 @@ -2752,7 +2663,7 @@ 2209 2584 ac_pt_PKG_CONFIG=$PKG_CONFIG 2210 2585 # Extract the first word of "pkg-config", so it can be a program name with args. 2211 2586 set dummy pkg-config; ac_word=$2 2212 2587 -echo "$as_me:2755: checking for $ac_word" >&5 2213 +echo "$as_me:2 861: checking for $ac_word" >&52588 +echo "$as_me:2666: checking for $ac_word" >&5 2214 2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2215 2590 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 2216 2591 echo $ECHO_N "(cached) $ECHO_C" >&6 2217 @@ -2769,7 +2 875,7 @@2592 @@ -2769,7 +2680,7 @@ 2218 2593 test -z "$ac_dir" && ac_dir=. 2219 2594 if $as_executable_p "$ac_dir/$ac_word"; then 2220 2595 ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word" 2221 2596 - echo "$as_me:2772: found $ac_dir/$ac_word" >&5 2222 + echo "$as_me:2 878: found $ac_dir/$ac_word" >&52597 + echo "$as_me:2683: found $ac_dir/$ac_word" >&5 2223 2598 break 2224 2599 fi 2225 2600 done 2226 @@ -2781,10 +2 887,10 @@2601 @@ -2781,10 +2692,10 @@ 2227 2602 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2228 2603 2229 2604 if test -n "$ac_pt_PKG_CONFIG"; then 2230 2605 - echo "$as_me:2784: result: $ac_pt_PKG_CONFIG" >&5 2231 + echo "$as_me:2 890: result: $ac_pt_PKG_CONFIG" >&52606 + echo "$as_me:2695: result: $ac_pt_PKG_CONFIG" >&5 2232 2607 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 2233 2608 else 2234 2609 - echo "$as_me:2787: result: no" >&5 2235 + echo "$as_me:2 893: result: no" >&52610 + echo "$as_me:2698: result: no" >&5 2236 2611 echo "${ECHO_T}no" >&6 2237 2612 fi 2238 2613 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 @@ 2240 2624 PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%` 2241 2625 ;; 2242 2626 *) 2243 2627 - { { echo "$as_me:2830: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 2244 + { { echo "$as_me:2 936: error: expected a pathname, not \"$PKG_CONFIG\"" >&52628 + { { echo "$as_me:2741: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 2245 2629 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;} 2246 2630 { (exit 1); exit 1; }; } 2247 2631 ;; 2248 @@ -2836, 15 +2942,51@@2632 @@ -2836,35 +2747,100 @@ 2249 2633 fi 2250 2634 … … 2252 2636 - echo "$as_me:2839: checking if we should install .pc files for $PKG_CONFIG" >&5 2253 2637 -echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6 2254 + echo "$as_me:2 945: checking for $PKG_CONFIG library directory" >&52638 + echo "$as_me:2750: checking for $PKG_CONFIG library directory" >&5 2255 2639 +echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6 2256 2640 … … 2260 2644 - fi 2261 2645 - 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 2262 2652 +# Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given. 2263 2653 +if test "${with_pkg_config_libdir+set}" = set; then 2264 2654 + withval="$with_pkg_config_libdir" 2265 2655 + PKG_CONFIG_LIBDIR=$withval 2266 +else 2656 else 2657 - enable_pc_files=no 2267 2658 + 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 2270 2672 + case x$PKG_CONFIG_LIBDIR in #(vi 2271 2673 + x/*) #(vi … … 2294 2696 + esac 2295 2697 + 2296 + echo "$as_me:2 982: result: $PKG_CONFIG_LIBDIR" >&52698 + echo "$as_me:2787: result: $PKG_CONFIG_LIBDIR" >&5 2297 2699 +echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6 2298 2700 +fi 2299 2701 + 2300 2702 +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 2303 2704 +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 2324 2750 +else 2325 2751 + 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 2330 2755 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6 2331 2756 2332 2757 # Check whether --with-tests or --without-tests was given. 2333 @@ -2874,10 + 3016,10 @@2758 @@ -2874,10 +2850,10 @@ 2334 2759 else 2335 2760 cf_with_tests=yes 2336 2761 fi; 2337 2762 -echo "$as_me:2877: result: $cf_with_tests" >&5 2338 +echo "$as_me: 3019: result: $cf_with_tests" >&52763 +echo "$as_me:2853: result: $cf_with_tests" >&5 2339 2764 echo "${ECHO_T}$cf_with_tests" >&6 2340 2765 2341 2766 -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" >&52767 +echo "$as_me:2856: checking if we should assume mixed-case filenames" >&5 2343 2768 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6 2344 2769 2345 2770 # Check whether --enable-mixed-case or --disable-mixed-case was given. 2346 @@ -2887,11 + 3029,11 @@2771 @@ -2887,11 +2863,11 @@ 2347 2772 else 2348 2773 enable_mixedcase=auto 2349 2774 fi; 2350 2775 -echo "$as_me:2890: result: $enable_mixedcase" >&5 2351 +echo "$as_me: 3032: result: $enable_mixedcase" >&52776 +echo "$as_me:2866: result: $enable_mixedcase" >&5 2352 2777 echo "${ECHO_T}$enable_mixedcase" >&6 2353 2778 if test "$enable_mixedcase" = "auto" ; then 2354 2779 2355 2780 -echo "$as_me:2894: checking if filesystem supports mixed-case filenames" >&5 2356 +echo "$as_me: 3036: checking if filesystem supports mixed-case filenames" >&52781 +echo "$as_me:2870: checking if filesystem supports mixed-case filenames" >&5 2357 2782 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6 2358 2783 if test "${cf_cv_mixedcase+set}" = set; then 2359 2784 echo $ECHO_N "(cached) $ECHO_C" >&6 2360 @@ -2918,7 + 3060,7 @@2785 @@ -2918,7 +2894,7 @@ 2361 2786 fi 2362 2787 2363 2788 fi 2364 2789 -echo "$as_me:2921: result: $cf_cv_mixedcase" >&5 2365 +echo "$as_me: 3063: result: $cf_cv_mixedcase" >&52790 +echo "$as_me:2897: result: $cf_cv_mixedcase" >&5 2366 2791 echo "${ECHO_T}$cf_cv_mixedcase" >&6 2367 2792 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF 2368 2793 #define MIXEDCASE_FILENAMES 1 2369 @@ -2935,7 + 3077,7 @@2794 @@ -2935,7 +2911,7 @@ 2370 2795 fi 2371 2796 2372 2797 # do this after mixed-case option (tags/TAGS is not as important as tic). 2373 2798 -echo "$as_me:2938: checking whether ${MAKE-make} sets \${MAKE}" >&5 2374 +echo "$as_me: 3080: checking whether ${MAKE-make} sets \${MAKE}" >&52799 +echo "$as_me:2914: checking whether ${MAKE-make} sets \${MAKE}" >&5 2375 2800 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 2376 2801 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 2377 2802 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2378 @@ -2955,11 + 3097,11 @@2803 @@ -2955,11 +2931,11 @@ 2379 2804 rm -f conftest.make 2380 2805 fi 2381 2806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2382 2807 - echo "$as_me:2958: result: yes" >&5 2383 + echo "$as_me: 3100: result: yes" >&52808 + echo "$as_me:2934: result: yes" >&5 2384 2809 echo "${ECHO_T}yes" >&6 2385 2810 SET_MAKE= 2386 2811 else 2387 2812 - echo "$as_me:2962: result: no" >&5 2388 + echo "$as_me: 3104: result: no" >&52813 + echo "$as_me:2938: result: no" >&5 2389 2814 echo "${ECHO_T}no" >&6 2390 2815 SET_MAKE="MAKE=${MAKE-make}" 2391 2816 fi 2392 @@ -2968,7 + 3110,7 @@2817 @@ -2968,7 +2944,7 @@ 2393 2818 do 2394 2819 # Extract the first word of "$ac_prog", so it can be a program name with args. 2395 2820 set dummy $ac_prog; ac_word=$2 2396 2821 -echo "$as_me:2971: checking for $ac_word" >&5 2397 +echo "$as_me: 3113: checking for $ac_word" >&52822 +echo "$as_me:2947: checking for $ac_word" >&5 2398 2823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2399 2824 if test "${ac_cv_prog_CTAGS+set}" = set; then 2400 2825 echo $ECHO_N "(cached) $ECHO_C" >&6 2401 @@ -2983,7 + 3125,7 @@2826 @@ -2983,7 +2959,7 @@ 2402 2827 test -z "$ac_dir" && ac_dir=. 2403 2828 $as_executable_p "$ac_dir/$ac_word" || continue 2404 2829 ac_cv_prog_CTAGS="$ac_prog" 2405 2830 -echo "$as_me:2986: found $ac_dir/$ac_word" >&5 2406 +echo "$as_me: 3128: found $ac_dir/$ac_word" >&52831 +echo "$as_me:2962: found $ac_dir/$ac_word" >&5 2407 2832 break 2408 2833 done 2409 2834 2410 @@ -2991,10 + 3133,10 @@2835 @@ -2991,10 +2967,10 @@ 2411 2836 fi 2412 2837 CTAGS=$ac_cv_prog_CTAGS 2413 2838 if test -n "$CTAGS"; then 2414 2839 - echo "$as_me:2994: result: $CTAGS" >&5 2415 + echo "$as_me: 3136: result: $CTAGS" >&52840 + echo "$as_me:2970: result: $CTAGS" >&5 2416 2841 echo "${ECHO_T}$CTAGS" >&6 2417 2842 else 2418 2843 - echo "$as_me:2997: result: no" >&5 2419 + echo "$as_me: 3139: result: no" >&52844 + echo "$as_me:2973: result: no" >&5 2420 2845 echo "${ECHO_T}no" >&6 2421 2846 fi 2422 2847 2423 @@ -3005,7 + 3147,7 @@2848 @@ -3005,7 +2981,7 @@ 2424 2849 do 2425 2850 # Extract the first word of "$ac_prog", so it can be a program name with args. 2426 2851 set dummy $ac_prog; ac_word=$2 2427 2852 -echo "$as_me:3008: checking for $ac_word" >&5 2428 +echo "$as_me: 3150: checking for $ac_word" >&52853 +echo "$as_me:2984: checking for $ac_word" >&5 2429 2854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2430 2855 if test "${ac_cv_prog_ETAGS+set}" = set; then 2431 2856 echo $ECHO_N "(cached) $ECHO_C" >&6 2432 @@ -3020,7 + 3162,7 @@2857 @@ -3020,7 +2996,7 @@ 2433 2858 test -z "$ac_dir" && ac_dir=. 2434 2859 $as_executable_p "$ac_dir/$ac_word" || continue 2435 2860 ac_cv_prog_ETAGS="$ac_prog" 2436 2861 -echo "$as_me:3023: found $ac_dir/$ac_word" >&5 2437 +echo "$as_me: 3165: found $ac_dir/$ac_word" >&52862 +echo "$as_me:2999: found $ac_dir/$ac_word" >&5 2438 2863 break 2439 2864 done 2440 2865 2441 @@ -3028,10 +3 170,10 @@2866 @@ -3028,10 +3004,10 @@ 2442 2867 fi 2443 2868 ETAGS=$ac_cv_prog_ETAGS 2444 2869 if test -n "$ETAGS"; then 2445 2870 - echo "$as_me:3031: result: $ETAGS" >&5 2446 + echo "$as_me:3 173: result: $ETAGS" >&52871 + echo "$as_me:3007: result: $ETAGS" >&5 2447 2872 echo "${ECHO_T}$ETAGS" >&6 2448 2873 else 2449 2874 - echo "$as_me:3034: result: no" >&5 2450 + echo "$as_me:3 176: result: no" >&52875 + echo "$as_me:3010: result: no" >&5 2451 2876 echo "${ECHO_T}no" >&6 2452 2877 fi 2453 2878 2454 @@ -3040,7 +3 182,7 @@2879 @@ -3040,7 +3016,7 @@ 2455 2880 2456 2881 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. 2457 2882 set dummy ${CTAGS:-ctags}; ac_word=$2 2458 2883 -echo "$as_me:3043: checking for $ac_word" >&5 2459 +echo "$as_me:3 185: checking for $ac_word" >&52884 +echo "$as_me:3019: checking for $ac_word" >&5 2460 2885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2461 2886 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then 2462 2887 echo $ECHO_N "(cached) $ECHO_C" >&6 2463 @@ -3055,7 +3 197,7 @@2888 @@ -3055,7 +3031,7 @@ 2464 2889 test -z "$ac_dir" && ac_dir=. 2465 2890 $as_executable_p "$ac_dir/$ac_word" || continue 2466 2891 ac_cv_prog_MAKE_LOWER_TAGS="yes" 2467 2892 -echo "$as_me:3058: found $ac_dir/$ac_word" >&5 2468 +echo "$as_me:3 200: found $ac_dir/$ac_word" >&52893 +echo "$as_me:3034: found $ac_dir/$ac_word" >&5 2469 2894 break 2470 2895 done 2471 2896 2472 @@ -3064,17 +3 206,17 @@2897 @@ -3064,17 +3040,17 @@ 2473 2898 fi 2474 2899 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS 2475 2900 if test -n "$MAKE_LOWER_TAGS"; then 2476 2901 - echo "$as_me:3067: result: $MAKE_LOWER_TAGS" >&5 2477 + echo "$as_me:3 209: result: $MAKE_LOWER_TAGS" >&52902 + echo "$as_me:3043: result: $MAKE_LOWER_TAGS" >&5 2478 2903 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 2479 2904 else 2480 2905 - echo "$as_me:3070: result: no" >&5 2481 + echo "$as_me:3 212: result: no" >&52906 + echo "$as_me:3046: result: no" >&5 2482 2907 echo "${ECHO_T}no" >&6 2483 2908 fi … … 2487 2912 set dummy ${ETAGS:-etags}; ac_word=$2 2488 2913 -echo "$as_me:3077: checking for $ac_word" >&5 2489 +echo "$as_me:3 219: checking for $ac_word" >&52914 +echo "$as_me:3053: checking for $ac_word" >&5 2490 2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2491 2916 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then 2492 2917 echo $ECHO_N "(cached) $ECHO_C" >&6 2493 @@ -3089,7 +3 231,7 @@2918 @@ -3089,7 +3065,7 @@ 2494 2919 test -z "$ac_dir" && ac_dir=. 2495 2920 $as_executable_p "$ac_dir/$ac_word" || continue 2496 2921 ac_cv_prog_MAKE_UPPER_TAGS="yes" 2497 2922 -echo "$as_me:3092: found $ac_dir/$ac_word" >&5 2498 +echo "$as_me:3 234: found $ac_dir/$ac_word" >&52923 +echo "$as_me:3068: found $ac_dir/$ac_word" >&5 2499 2924 break 2500 2925 done 2501 2926 2502 @@ -3098,10 +3 240,10 @@2927 @@ -3098,10 +3074,10 @@ 2503 2928 fi 2504 2929 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS 2505 2930 if test -n "$MAKE_UPPER_TAGS"; then 2506 2931 - echo "$as_me:3101: result: $MAKE_UPPER_TAGS" >&5 2507 + echo "$as_me:3 243: result: $MAKE_UPPER_TAGS" >&52932 + echo "$as_me:3077: result: $MAKE_UPPER_TAGS" >&5 2508 2933 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 2509 2934 else 2510 2935 - echo "$as_me:3104: result: no" >&5 2511 + echo "$as_me:3 246: result: no" >&52936 + echo "$as_me:3080: result: no" >&5 2512 2937 echo "${ECHO_T}no" >&6 2513 2938 fi 2514 2939 2515 @@ -3121,7 +3 263,7 @@2940 @@ -3121,7 +3097,7 @@ 2516 2941 MAKE_LOWER_TAGS="#" 2517 2942 fi 2518 2943 2519 2944 -echo "$as_me:3124: checking for makeflags variable" >&5 2520 +echo "$as_me:3 266: checking for makeflags variable" >&52945 +echo "$as_me:3100: checking for makeflags variable" >&5 2521 2946 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6 2522 2947 if test "${cf_cv_makeflags+set}" = set; then 2523 2948 echo $ECHO_N "(cached) $ECHO_C" >&6 2524 @@ -3155,13 +3 297,13 @@2949 @@ -3155,13 +3131,13 @@ 2525 2950 rm -f cf_makeflags.tmp 2526 2951 2527 2952 fi 2528 2953 -echo "$as_me:3158: result: $cf_cv_makeflags" >&5 2529 +echo "$as_me:3 300: result: $cf_cv_makeflags" >&52954 +echo "$as_me:3134: result: $cf_cv_makeflags" >&5 2530 2955 echo "${ECHO_T}$cf_cv_makeflags" >&6 2531 2956 … … 2534 2959 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2535 2960 -echo "$as_me:3164: checking for $ac_word" >&5 2536 +echo "$as_me:3 306: checking for $ac_word" >&52961 +echo "$as_me:3140: checking for $ac_word" >&5 2537 2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2538 2963 if test "${ac_cv_prog_RANLIB+set}" = set; then 2539 2964 echo $ECHO_N "(cached) $ECHO_C" >&6 2540 @@ -3176,7 +3 318,7 @@2965 @@ -3176,7 +3152,7 @@ 2541 2966 test -z "$ac_dir" && ac_dir=. 2542 2967 $as_executable_p "$ac_dir/$ac_word" || continue 2543 2968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2544 2969 -echo "$as_me:3179: found $ac_dir/$ac_word" >&5 2545 +echo "$as_me:3 321: found $ac_dir/$ac_word" >&52970 +echo "$as_me:3155: found $ac_dir/$ac_word" >&5 2546 2971 break 2547 2972 done 2548 2973 2549 @@ -3184,10 +3 326,10 @@2974 @@ -3184,10 +3160,10 @@ 2550 2975 fi 2551 2976 RANLIB=$ac_cv_prog_RANLIB 2552 2977 if test -n "$RANLIB"; then 2553 2978 - echo "$as_me:3187: result: $RANLIB" >&5 2554 + echo "$as_me:3 329: result: $RANLIB" >&52979 + echo "$as_me:3163: result: $RANLIB" >&5 2555 2980 echo "${ECHO_T}$RANLIB" >&6 2556 2981 else 2557 2982 - echo "$as_me:3190: result: no" >&5 2558 + echo "$as_me:3 332: result: no" >&52983 + echo "$as_me:3166: result: no" >&5 2559 2984 echo "${ECHO_T}no" >&6 2560 2985 fi 2561 2986 2562 @@ -3196,7 +3 338,7 @@2987 @@ -3196,7 +3172,7 @@ 2563 2988 ac_ct_RANLIB=$RANLIB 2564 2989 # Extract the first word of "ranlib", so it can be a program name with args. 2565 2990 set dummy ranlib; ac_word=$2 2566 2991 -echo "$as_me:3199: checking for $ac_word" >&5 2567 +echo "$as_me:3 341: checking for $ac_word" >&52992 +echo "$as_me:3175: checking for $ac_word" >&5 2568 2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2569 2994 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2570 2995 echo $ECHO_N "(cached) $ECHO_C" >&6 2571 @@ -3211,7 +3 353,7 @@2996 @@ -3211,7 +3187,7 @@ 2572 2997 test -z "$ac_dir" && ac_dir=. 2573 2998 $as_executable_p "$ac_dir/$ac_word" || continue 2574 2999 ac_cv_prog_ac_ct_RANLIB="ranlib" 2575 3000 -echo "$as_me:3214: found $ac_dir/$ac_word" >&5 2576 +echo "$as_me:3 356: found $ac_dir/$ac_word" >&53001 +echo "$as_me:3190: found $ac_dir/$ac_word" >&5 2577 3002 break 2578 3003 done 2579 3004 2580 @@ -3220,10 +3 362,10 @@3005 @@ -3220,10 +3196,10 @@ 2581 3006 fi 2582 3007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2583 3008 if test -n "$ac_ct_RANLIB"; then 2584 3009 - echo "$as_me:3223: result: $ac_ct_RANLIB" >&5 2585 + echo "$as_me:3 365: result: $ac_ct_RANLIB" >&53010 + echo "$as_me:3199: result: $ac_ct_RANLIB" >&5 2586 3011 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2587 3012 else 2588 3013 - echo "$as_me:3226: result: no" >&5 2589 + echo "$as_me:3 368: result: no" >&53014 + echo "$as_me:3202: result: no" >&5 2590 3015 echo "${ECHO_T}no" >&6 2591 3016 fi 2592 3017 2593 @@ -3235,7 +3 377,7 @@3018 @@ -3235,7 +3211,7 @@ 2594 3019 if test -n "$ac_tool_prefix"; then 2595 3020 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. 2596 3021 set dummy ${ac_tool_prefix}ld; ac_word=$2 2597 3022 -echo "$as_me:3238: checking for $ac_word" >&5 2598 +echo "$as_me:3 380: checking for $ac_word" >&53023 +echo "$as_me:3214: checking for $ac_word" >&5 2599 3024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2600 3025 if test "${ac_cv_prog_LD+set}" = set; then 2601 3026 echo $ECHO_N "(cached) $ECHO_C" >&6 2602 @@ -3250,7 +3 392,7 @@3027 @@ -3250,7 +3226,7 @@ 2603 3028 test -z "$ac_dir" && ac_dir=. 2604 3029 $as_executable_p "$ac_dir/$ac_word" || continue 2605 3030 ac_cv_prog_LD="${ac_tool_prefix}ld" 2606 3031 -echo "$as_me:3253: found $ac_dir/$ac_word" >&5 2607 +echo "$as_me:3 395: found $ac_dir/$ac_word" >&53032 +echo "$as_me:3229: found $ac_dir/$ac_word" >&5 2608 3033 break 2609 3034 done 2610 3035 2611 @@ -3258,10 +3 400,10 @@3036 @@ -3258,10 +3234,10 @@ 2612 3037 fi 2613 3038 LD=$ac_cv_prog_LD 2614 3039 if test -n "$LD"; then 2615 3040 - echo "$as_me:3261: result: $LD" >&5 2616 + echo "$as_me:3 403: result: $LD" >&53041 + echo "$as_me:3237: result: $LD" >&5 2617 3042 echo "${ECHO_T}$LD" >&6 2618 3043 else 2619 3044 - echo "$as_me:3264: result: no" >&5 2620 + echo "$as_me:3 406: result: no" >&53045 + echo "$as_me:3240: result: no" >&5 2621 3046 echo "${ECHO_T}no" >&6 2622 3047 fi 2623 3048 2624 @@ -3270,7 +3 412,7 @@3049 @@ -3270,7 +3246,7 @@ 2625 3050 ac_ct_LD=$LD 2626 3051 # Extract the first word of "ld", so it can be a program name with args. 2627 3052 set dummy ld; ac_word=$2 2628 3053 -echo "$as_me:3273: checking for $ac_word" >&5 2629 +echo "$as_me:3 415: checking for $ac_word" >&53054 +echo "$as_me:3249: checking for $ac_word" >&5 2630 3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2631 3056 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then 2632 3057 echo $ECHO_N "(cached) $ECHO_C" >&6 2633 @@ -3285,7 +3 427,7 @@3058 @@ -3285,7 +3261,7 @@ 2634 3059 test -z "$ac_dir" && ac_dir=. 2635 3060 $as_executable_p "$ac_dir/$ac_word" || continue 2636 3061 ac_cv_prog_ac_ct_LD="ld" 2637 3062 -echo "$as_me:3288: found $ac_dir/$ac_word" >&5 2638 +echo "$as_me:3 430: found $ac_dir/$ac_word" >&53063 +echo "$as_me:3264: found $ac_dir/$ac_word" >&5 2639 3064 break 2640 3065 done 2641 3066 2642 @@ -3294,10 +3 436,10 @@3067 @@ -3294,10 +3270,10 @@ 2643 3068 fi 2644 3069 ac_ct_LD=$ac_cv_prog_ac_ct_LD 2645 3070 if test -n "$ac_ct_LD"; then 2646 3071 - echo "$as_me:3297: result: $ac_ct_LD" >&5 2647 + echo "$as_me:3 439: result: $ac_ct_LD" >&53072 + echo "$as_me:3273: result: $ac_ct_LD" >&5 2648 3073 echo "${ECHO_T}$ac_ct_LD" >&6 2649 3074 else 2650 3075 - echo "$as_me:3300: result: no" >&5 2651 + echo "$as_me:3 442: result: no" >&53076 + echo "$as_me:3276: result: no" >&5 2652 3077 echo "${ECHO_T}no" >&6 2653 3078 fi 2654 3079 2655 @@ -3309,7 +3 451,7 @@3080 @@ -3309,7 +3285,7 @@ 2656 3081 if test -n "$ac_tool_prefix"; then 2657 3082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2658 3083 set dummy ${ac_tool_prefix}ar; ac_word=$2 2659 3084 -echo "$as_me:3312: checking for $ac_word" >&5 2660 +echo "$as_me:3 454: checking for $ac_word" >&53085 +echo "$as_me:3288: checking for $ac_word" >&5 2661 3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2662 3087 if test "${ac_cv_prog_AR+set}" = set; then 2663 3088 echo $ECHO_N "(cached) $ECHO_C" >&6 2664 @@ -3324,7 +3 466,7 @@3089 @@ -3324,7 +3300,7 @@ 2665 3090 test -z "$ac_dir" && ac_dir=. 2666 3091 $as_executable_p "$ac_dir/$ac_word" || continue 2667 3092 ac_cv_prog_AR="${ac_tool_prefix}ar" 2668 3093 -echo "$as_me:3327: found $ac_dir/$ac_word" >&5 2669 +echo "$as_me:3 469: found $ac_dir/$ac_word" >&53094 +echo "$as_me:3303: found $ac_dir/$ac_word" >&5 2670 3095 break 2671 3096 done 2672 3097 2673 @@ -3332,10 +3 474,10 @@3098 @@ -3332,10 +3308,10 @@ 2674 3099 fi 2675 3100 AR=$ac_cv_prog_AR 2676 3101 if test -n "$AR"; then 2677 3102 - echo "$as_me:3335: result: $AR" >&5 2678 + echo "$as_me:3 477: result: $AR" >&53103 + echo "$as_me:3311: result: $AR" >&5 2679 3104 echo "${ECHO_T}$AR" >&6 2680 3105 else 2681 3106 - echo "$as_me:3338: result: no" >&5 2682 + echo "$as_me:3 480: result: no" >&53107 + echo "$as_me:3314: result: no" >&5 2683 3108 echo "${ECHO_T}no" >&6 2684 3109 fi 2685 3110 2686 @@ -3344,7 +3 486,7 @@3111 @@ -3344,7 +3320,7 @@ 2687 3112 ac_ct_AR=$AR 2688 3113 # Extract the first word of "ar", so it can be a program name with args. 2689 3114 set dummy ar; ac_word=$2 2690 3115 -echo "$as_me:3347: checking for $ac_word" >&5 2691 +echo "$as_me:3 489: checking for $ac_word" >&53116 +echo "$as_me:3323: checking for $ac_word" >&5 2692 3117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2693 3118 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 2694 3119 echo $ECHO_N "(cached) $ECHO_C" >&6 2695 @@ -3359,7 +3 501,7 @@3120 @@ -3359,7 +3335,7 @@ 2696 3121 test -z "$ac_dir" && ac_dir=. 2697 3122 $as_executable_p "$ac_dir/$ac_word" || continue 2698 3123 ac_cv_prog_ac_ct_AR="ar" 2699 3124 -echo "$as_me:3362: found $ac_dir/$ac_word" >&5 2700 +echo "$as_me:3 504: found $ac_dir/$ac_word" >&53125 +echo "$as_me:3338: found $ac_dir/$ac_word" >&5 2701 3126 break 2702 3127 done 2703 3128 2704 @@ -3368,10 +3 510,10 @@3129 @@ -3368,10 +3344,10 @@ 2705 3130 fi 2706 3131 ac_ct_AR=$ac_cv_prog_ac_ct_AR 2707 3132 if test -n "$ac_ct_AR"; then 2708 3133 - echo "$as_me:3371: result: $ac_ct_AR" >&5 2709 + echo "$as_me:3 513: result: $ac_ct_AR" >&53134 + echo "$as_me:3347: result: $ac_ct_AR" >&5 2710 3135 echo "${ECHO_T}$ac_ct_AR" >&6 2711 3136 else 2712 3137 - echo "$as_me:3374: result: no" >&5 2713 + echo "$as_me:3 516: result: no" >&53138 + echo "$as_me:3350: result: no" >&5 2714 3139 echo "${ECHO_T}no" >&6 2715 3140 fi 2716 3141 2717 @@ -3383,7 +3 525,7 @@3142 @@ -3383,7 +3359,7 @@ 2718 3143 if test -n "$ac_tool_prefix"; then 2719 3144 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2720 3145 set dummy ${ac_tool_prefix}ar; ac_word=$2 2721 3146 -echo "$as_me:3386: checking for $ac_word" >&5 2722 +echo "$as_me:3 528: checking for $ac_word" >&53147 +echo "$as_me:3362: checking for $ac_word" >&5 2723 3148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2724 3149 if test "${ac_cv_prog_AR+set}" = set; then 2725 3150 echo $ECHO_N "(cached) $ECHO_C" >&6 2726 @@ -3398,7 +3 540,7 @@3151 @@ -3398,7 +3374,7 @@ 2727 3152 test -z "$ac_dir" && ac_dir=. 2728 3153 $as_executable_p "$ac_dir/$ac_word" || continue 2729 3154 ac_cv_prog_AR="${ac_tool_prefix}ar" 2730 3155 -echo "$as_me:3401: found $ac_dir/$ac_word" >&5 2731 +echo "$as_me:3 543: found $ac_dir/$ac_word" >&53156 +echo "$as_me:3377: found $ac_dir/$ac_word" >&5 2732 3157 break 2733 3158 done 2734 3159 2735 @@ -3406,10 +3 548,10 @@3160 @@ -3406,10 +3382,10 @@ 2736 3161 fi 2737 3162 AR=$ac_cv_prog_AR 2738 3163 if test -n "$AR"; then 2739 3164 - echo "$as_me:3409: result: $AR" >&5 2740 + echo "$as_me:3 551: result: $AR" >&53165 + echo "$as_me:3385: result: $AR" >&5 2741 3166 echo "${ECHO_T}$AR" >&6 2742 3167 else 2743 3168 - echo "$as_me:3412: result: no" >&5 2744 + echo "$as_me:3 554: result: no" >&53169 + echo "$as_me:3388: result: no" >&5 2745 3170 echo "${ECHO_T}no" >&6 2746 3171 fi 2747 3172 2748 @@ -3418,7 +3 560,7 @@3173 @@ -3418,7 +3394,7 @@ 2749 3174 ac_ct_AR=$AR 2750 3175 # Extract the first word of "ar", so it can be a program name with args. 2751 3176 set dummy ar; ac_word=$2 2752 3177 -echo "$as_me:3421: checking for $ac_word" >&5 2753 +echo "$as_me:3 563: checking for $ac_word" >&53178 +echo "$as_me:3397: checking for $ac_word" >&5 2754 3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2755 3180 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 2756 3181 echo $ECHO_N "(cached) $ECHO_C" >&6 2757 @@ -3433,7 +3 575,7 @@3182 @@ -3433,7 +3409,7 @@ 2758 3183 test -z "$ac_dir" && ac_dir=. 2759 3184 $as_executable_p "$ac_dir/$ac_word" || continue 2760 3185 ac_cv_prog_ac_ct_AR="ar" 2761 3186 -echo "$as_me:3436: found $ac_dir/$ac_word" >&5 2762 +echo "$as_me:3 578: found $ac_dir/$ac_word" >&53187 +echo "$as_me:3412: found $ac_dir/$ac_word" >&5 2763 3188 break 2764 3189 done 2765 3190 2766 @@ -3442,10 +3 584,10 @@3191 @@ -3442,10 +3418,10 @@ 2767 3192 fi 2768 3193 ac_ct_AR=$ac_cv_prog_ac_ct_AR 2769 3194 if test -n "$ac_ct_AR"; then 2770 3195 - echo "$as_me:3445: result: $ac_ct_AR" >&5 2771 + echo "$as_me:3 587: result: $ac_ct_AR" >&53196 + echo "$as_me:3421: result: $ac_ct_AR" >&5 2772 3197 echo "${ECHO_T}$ac_ct_AR" >&6 2773 3198 else 2774 3199 - echo "$as_me:3448: result: no" >&5 2775 + echo "$as_me:3 590: result: no" >&53200 + echo "$as_me:3424: result: no" >&5 2776 3201 echo "${ECHO_T}no" >&6 2777 3202 fi 2778 3203 2779 @@ -3454,7 +3 596,7 @@3204 @@ -3454,7 +3430,7 @@ 2780 3205 AR="$ac_cv_prog_AR" 2781 3206 fi 2782 3207 2783 3208 -echo "$as_me:3457: checking for options to update archives" >&5 2784 +echo "$as_me:3 599: checking for options to update archives" >&53209 +echo "$as_me:3433: checking for options to update archives" >&5 2785 3210 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6 2786 3211 if test "${cf_cv_ar_flags+set}" = set; then 2787 3212 echo $ECHO_N "(cached) $ECHO_C" >&6 2788 @@ -3477,13 +3 619,13 @@3213 @@ -3477,13 +3453,13 @@ 2789 3214 rm -f conftest.a 2790 3215 2791 3216 cat >conftest.$ac_ext <<EOF 2792 3217 -#line 3480 "configure" 2793 +#line 3 622"configure"3218 +#line 3456 "configure" 2794 3219 int testdata[3] = { 123, 456, 789 }; 2795 3220 EOF 2796 3221 - if { (eval echo "$as_me:3483: \"$ac_compile\"") >&5 2797 + if { (eval echo "$as_me:3 625: \"$ac_compile\"") >&53222 + if { (eval echo "$as_me:3459: \"$ac_compile\"") >&5 2798 3223 (eval $ac_compile) 2>&5 2799 3224 ac_status=$? 2800 3225 - echo "$as_me:3486: \$? = $ac_status" >&5 2801 + echo "$as_me:3 628: \$? = $ac_status" >&53226 + echo "$as_me:3462: \$? = $ac_status" >&5 2802 3227 (exit $ac_status); } ; then 2803 3228 echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5 2804 3229 $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null 2805 @@ -3494,7 +3 636,7 @@3230 @@ -3494,7 +3470,7 @@ 2806 3231 else 2807 3232 test -n "$verbose" && echo " cannot compile test-program" 1>&6 2808 3233 2809 3234 -echo "${as_me:-configure}:3497: testing cannot compile test-program ..." 1>&5 2810 +echo "${as_me:-configure}:3 639: testing cannot compile test-program ..." 1>&53235 +echo "${as_me:-configure}:3473: testing cannot compile test-program ..." 1>&5 2811 3236 2812 3237 break 2813 3238 fi 2814 @@ -3502,7 +3 644,7 @@3239 @@ -3502,7 +3478,7 @@ 2815 3240 rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext 2816 3241 2817 3242 fi 2818 3243 -echo "$as_me:3505: result: $cf_cv_ar_flags" >&5 2819 +echo "$as_me:3 647: result: $cf_cv_ar_flags" >&53244 +echo "$as_me:3481: result: $cf_cv_ar_flags" >&5 2820 3245 echo "${ECHO_T}$cf_cv_ar_flags" >&6 2821 3246 2822 3247 if test -n "$ARFLAGS" ; then 2823 @@ -3513,7 +3 655,7 @@3248 @@ -3513,7 +3489,7 @@ 2824 3249 ARFLAGS=$cf_cv_ar_flags 2825 3250 fi 2826 3251 2827 3252 -echo "$as_me:3516: checking if you have specified an install-prefix" >&5 2828 +echo "$as_me:3 658: checking if you have specified an install-prefix" >&53253 +echo "$as_me:3492: checking if you have specified an install-prefix" >&5 2829 3254 echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6 2830 3255 2831 3256 # Check whether --with-install-prefix or --without-install-prefix was given. 2832 @@ -3526,7 +3 668,7 @@3257 @@ -3526,7 +3502,7 @@ 2833 3258 ;; 2834 3259 esac 2835 3260 fi; 2836 3261 -echo "$as_me:3529: result: $DESTDIR" >&5 2837 +echo "$as_me:3 671: result: $DESTDIR" >&53262 +echo "$as_me:3505: result: $DESTDIR" >&5 2838 3263 echo "${ECHO_T}$DESTDIR" >&6 2839 3264 2840 3265 ############################################################################### 2841 @@ -3554,7 +3 696,7 @@3266 @@ -3554,7 +3530,7 @@ 2842 3267 do 2843 3268 # Extract the first word of "$ac_prog", so it can be a program name with args. 2844 3269 set dummy $ac_prog; ac_word=$2 2845 3270 -echo "$as_me:3557: checking for $ac_word" >&5 2846 +echo "$as_me:3 699: checking for $ac_word" >&53271 +echo "$as_me:3533: checking for $ac_word" >&5 2847 3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2848 3273 if test "${ac_cv_prog_BUILD_CC+set}" = set; then 2849 3274 echo $ECHO_N "(cached) $ECHO_C" >&6 2850 @@ -3569,7 +3 711,7 @@3275 @@ -3569,7 +3545,7 @@ 2851 3276 test -z "$ac_dir" && ac_dir=. 2852 3277 $as_executable_p "$ac_dir/$ac_word" || continue 2853 3278 ac_cv_prog_BUILD_CC="$ac_prog" 2854 3279 -echo "$as_me:3572: found $ac_dir/$ac_word" >&5 2855 +echo "$as_me:3 714: found $ac_dir/$ac_word" >&53280 +echo "$as_me:3548: found $ac_dir/$ac_word" >&5 2856 3281 break 2857 3282 done 2858 3283 2859 @@ -3577,10 +3 719,10 @@3284 @@ -3577,10 +3553,10 @@ 2860 3285 fi 2861 3286 BUILD_CC=$ac_cv_prog_BUILD_CC 2862 3287 if test -n "$BUILD_CC"; then 2863 3288 - echo "$as_me:3580: result: $BUILD_CC" >&5 2864 + echo "$as_me:3 722: result: $BUILD_CC" >&53289 + echo "$as_me:3556: result: $BUILD_CC" >&5 2865 3290 echo "${ECHO_T}$BUILD_CC" >&6 2866 3291 else 2867 3292 - echo "$as_me:3583: result: no" >&5 2868 + echo "$as_me:3 725: result: no" >&53293 + echo "$as_me:3559: result: no" >&5 2869 3294 echo "${ECHO_T}no" >&6 2870 3295 fi 2871 3296 2872 @@ -3588,12 +3 730,12 @@3297 @@ -3588,12 +3564,12 @@ 2873 3298 done 2874 3299 2875 3300 fi; 2876 3301 - echo "$as_me:3591: checking for native build C compiler" >&5 2877 + echo "$as_me:3 733: checking for native build C compiler" >&53302 + echo "$as_me:3567: checking for native build C compiler" >&5 2878 3303 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6 2879 3304 - echo "$as_me:3593: result: $BUILD_CC" >&5 2880 + echo "$as_me:3 735: result: $BUILD_CC" >&53305 + echo "$as_me:3569: result: $BUILD_CC" >&5 2881 3306 echo "${ECHO_T}$BUILD_CC" >&6 2882 3307 2883 3308 - echo "$as_me:3596: checking for native build C preprocessor" >&5 2884 + echo "$as_me:3 738: checking for native build C preprocessor" >&53309 + echo "$as_me:3572: checking for native build C preprocessor" >&5 2885 3310 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6 2886 3311 2887 3312 # Check whether --with-build-cpp or --without-build-cpp was given. 2888 @@ -3603,10 +3 745,10 @@3313 @@ -3603,10 +3579,10 @@ 2889 3314 else 2890 3315 BUILD_CPP='${BUILD_CC} -E' 2891 3316 fi; 2892 3317 - echo "$as_me:3606: result: $BUILD_CPP" >&5 2893 + echo "$as_me:3 748: result: $BUILD_CPP" >&53318 + echo "$as_me:3582: result: $BUILD_CPP" >&5 2894 3319 echo "${ECHO_T}$BUILD_CPP" >&6 2895 3320 2896 3321 - echo "$as_me:3609: checking for native build C flags" >&5 2897 + echo "$as_me:3 751: checking for native build C flags" >&53322 + echo "$as_me:3585: checking for native build C flags" >&5 2898 3323 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6 2899 3324 2900 3325 # Check whether --with-build-cflags or --without-build-cflags was given. 2901 @@ -3614,10 +3 756,10 @@3326 @@ -3614,10 +3590,10 @@ 2902 3327 withval="$with_build_cflags" 2903 3328 BUILD_CFLAGS="$withval" 2904 3329 fi; 2905 3330 - echo "$as_me:3617: result: $BUILD_CFLAGS" >&5 2906 + echo "$as_me:3 759: result: $BUILD_CFLAGS" >&53331 + echo "$as_me:3593: result: $BUILD_CFLAGS" >&5 2907 3332 echo "${ECHO_T}$BUILD_CFLAGS" >&6 2908 3333 2909 3334 - echo "$as_me:3620: checking for native build C preprocessor-flags" >&5 2910 + echo "$as_me:3 762: checking for native build C preprocessor-flags" >&53335 + echo "$as_me:3596: checking for native build C preprocessor-flags" >&5 2911 3336 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6 2912 3337 2913 3338 # Check whether --with-build-cppflags or --without-build-cppflags was given. 2914 @@ -3625,10 +3 767,10 @@3339 @@ -3625,10 +3601,10 @@ 2915 3340 withval="$with_build_cppflags" 2916 3341 BUILD_CPPFLAGS="$withval" 2917 3342 fi; 2918 3343 - echo "$as_me:3628: result: $BUILD_CPPFLAGS" >&5 2919 + echo "$as_me:3 770: result: $BUILD_CPPFLAGS" >&53344 + echo "$as_me:3604: result: $BUILD_CPPFLAGS" >&5 2920 3345 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6 2921 3346 2922 3347 - echo "$as_me:3631: checking for native build linker-flags" >&5 2923 + echo "$as_me:3 773: checking for native build linker-flags" >&53348 + echo "$as_me:3607: checking for native build linker-flags" >&5 2924 3349 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6 2925 3350 2926 3351 # Check whether --with-build-ldflags or --without-build-ldflags was given. 2927 @@ -3636,10 +3 778,10 @@3352 @@ -3636,10 +3612,10 @@ 2928 3353 withval="$with_build_ldflags" 2929 3354 BUILD_LDFLAGS="$withval" 2930 3355 fi; 2931 3356 - echo "$as_me:3639: result: $BUILD_LDFLAGS" >&5 2932 + echo "$as_me:3 781: result: $BUILD_LDFLAGS" >&53357 + echo "$as_me:3615: result: $BUILD_LDFLAGS" >&5 2933 3358 echo "${ECHO_T}$BUILD_LDFLAGS" >&6 2934 3359 2935 3360 - echo "$as_me:3642: checking for native build linker-libraries" >&5 2936 + echo "$as_me:3 784: checking for native build linker-libraries" >&53361 + echo "$as_me:3618: checking for native build linker-libraries" >&5 2937 3362 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6 2938 3363 2939 3364 # Check whether --with-build-libs or --without-build-libs was given. 2940 @@ -3647,7 +3 789,7 @@3365 @@ -3647,7 +3623,7 @@ 2941 3366 withval="$with_build_libs" 2942 3367 BUILD_LIBS="$withval" 2943 3368 fi; 2944 3369 - echo "$as_me:3650: result: $BUILD_LIBS" >&5 2945 + echo "$as_me:3 792: result: $BUILD_LIBS" >&53370 + echo "$as_me:3626: result: $BUILD_LIBS" >&5 2946 3371 echo "${ECHO_T}$BUILD_LIBS" >&6 2947 3372 2948 3373 # this assumes we're on Unix. 2949 @@ -3657,7 +3 799,7 @@3374 @@ -3657,7 +3633,7 @@ 2950 3375 : ${BUILD_CC:='${CC}'} 2951 3376 2952 3377 if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then 2953 3378 - { { echo "$as_me:3660: error: Cross-build requires two compilers. 2954 + { { echo "$as_me:3 802: error: Cross-build requires two compilers.3379 + { { echo "$as_me:3636: error: Cross-build requires two compilers. 2955 3380 Use --with-build-cc to specify the native compiler." >&5 2956 3381 echo "$as_me: error: Cross-build requires two compilers. 2957 3382 Use --with-build-cc to specify the native compiler." >&2;} 2958 @@ -3682,7 +3 824,7 @@3383 @@ -3682,7 +3658,7 @@ 2959 3384 ### shared, for example. 2960 3385 cf_list_models="" 2961 3386 2962 3387 -echo "$as_me:3685: checking if you want to build shared C-objects" >&5 2963 +echo "$as_me:3 827: checking if you want to build shared C-objects" >&53388 +echo "$as_me:3661: checking if you want to build shared C-objects" >&5 2964 3389 echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6 2965 3390 2966 3391 # Check whether --with-shared or --without-shared was given. 2967 @@ -3692,27 +3 834,27 @@3392 @@ -3692,27 +3668,27 @@ 2968 3393 else 2969 3394 with_shared=no 2970 3395 fi; 2971 3396 -echo "$as_me:3695: result: $with_shared" >&5 2972 +echo "$as_me:3 837: result: $with_shared" >&53397 +echo "$as_me:3671: result: $with_shared" >&5 2973 3398 echo "${ECHO_T}$with_shared" >&6 2974 3399 test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared" 2975 3400 2976 3401 -echo "$as_me:3699: checking for specified models" >&5 2977 +echo "$as_me:3 841: checking for specified models" >&53402 +echo "$as_me:3675: checking for specified models" >&5 2978 3403 echo $ECHO_N "checking for specified models... $ECHO_C" >&6 2979 3404 test -z "$cf_list_models" && cf_list_models=normal 2980 3405 -echo "$as_me:3702: result: $cf_list_models" >&5 2981 +echo "$as_me:3 844: result: $cf_list_models" >&53406 +echo "$as_me:3678: result: $cf_list_models" >&5 2982 3407 echo "${ECHO_T}$cf_list_models" >&6 2983 3408 … … 2985 3410 ### up test-applications. 2986 3411 -echo "$as_me:3707: checking for default model" >&5 2987 +echo "$as_me:3 849: checking for default model" >&53412 +echo "$as_me:3683: checking for default model" >&5 2988 3413 echo $ECHO_N "checking for default model... $ECHO_C" >&6 2989 3414 DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` 2990 3415 -echo "$as_me:3710: result: $DFT_LWR_MODEL" >&5 2991 +echo "$as_me:3 852: result: $DFT_LWR_MODEL" >&53416 +echo "$as_me:3686: result: $DFT_LWR_MODEL" >&5 2992 3417 echo "${ECHO_T}$DFT_LWR_MODEL" >&6 2993 3418 … … 2995 3420 2996 3421 -echo "$as_me:3715: checking for specific curses-directory" >&5 2997 +echo "$as_me:3 857: checking for specific curses-directory" >&53422 +echo "$as_me:3691: checking for specific curses-directory" >&5 2998 3423 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6 2999 3424 3000 3425 # Check whether --with-curses-dir or --without-curses-dir was given. 3001 @@ -3722,7 +3 864,7 @@3426 @@ -3722,7 +3698,7 @@ 3002 3427 else 3003 3428 cf_cv_curses_dir=no 3004 3429 fi; 3005 3430 -echo "$as_me:3725: result: $cf_cv_curses_dir" >&5 3006 +echo "$as_me:3 867: result: $cf_cv_curses_dir" >&53431 +echo "$as_me:3701: result: $cf_cv_curses_dir" >&5 3007 3432 echo "${ECHO_T}$cf_cv_curses_dir" >&6 3008 3433 3009 3434 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 @@ 3011 3445 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 3012 3446 ;; 3013 3447 *) 3014 3448 - { { echo "$as_me:3756: error: expected a pathname, not \"$withval\"" >&5 3015 + { { echo "$as_me:3 898: error: expected a pathname, not \"$withval\"" >&53449 + { { echo "$as_me:3732: error: expected a pathname, not \"$withval\"" >&5 3016 3450 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 3017 3451 { (exit 1); exit 1; }; } 3018 3452 ;; 3019 @@ -3786,7 +3 928,7 @@3453 @@ -3786,7 +3762,7 @@ 3020 3454 cf_save_CPPFLAGS=$CPPFLAGS 3021 3455 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3022 3456 cat >conftest.$ac_ext <<_ACEOF 3023 3457 -#line 3789 "configure" 3024 +#line 3 931"configure"3458 +#line 3765 "configure" 3025 3459 #include "confdefs.h" 3026 3460 #include <stdio.h> 3027 3461 int 3028 @@ -3798,16 +3 940,16 @@3462 @@ -3798,16 +3774,16 @@ 3029 3463 } 3030 3464 _ACEOF 3031 3465 rm -f conftest.$ac_objext 3032 3466 -if { (eval echo "$as_me:3801: \"$ac_compile\"") >&5 3033 +if { (eval echo "$as_me:3 943: \"$ac_compile\"") >&53467 +if { (eval echo "$as_me:3777: \"$ac_compile\"") >&5 3034 3468 (eval $ac_compile) 2>&5 3035 3469 ac_status=$? 3036 3470 - echo "$as_me:3804: \$? = $ac_status" >&5 3037 + echo "$as_me:3 946: \$? = $ac_status" >&53471 + echo "$as_me:3780: \$? = $ac_status" >&5 3038 3472 (exit $ac_status); } && 3039 3473 { ac_try='test -s conftest.$ac_objext' 3040 3474 - { (eval echo "$as_me:3807: \"$ac_try\"") >&5 3041 + { (eval echo "$as_me:3 949: \"$ac_try\"") >&53475 + { (eval echo "$as_me:3783: \"$ac_try\"") >&5 3042 3476 (eval $ac_try) 2>&5 3043 3477 ac_status=$? 3044 3478 - echo "$as_me:3810: \$? = $ac_status" >&5 3045 + echo "$as_me:3 952: \$? = $ac_status" >&53479 + echo "$as_me:3786: \$? = $ac_status" >&5 3046 3480 (exit $ac_status); }; }; then 3047 3481 : 3048 3482 else 3049 @@ -3824,7 +3 966,7 @@3483 @@ -3824,7 +3800,7 @@ 3050 3484 if test "$cf_have_incdir" = no ; then 3051 3485 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 3052 3486 3053 3487 -echo "${as_me:-configure}:3827: testing adding $cf_add_incdir to include-path ..." 1>&5 3054 +echo "${as_me:-configure}:3 969: testing adding $cf_add_incdir to include-path ..." 1>&53488 +echo "${as_me:-configure}:3803: testing adding $cf_add_incdir to include-path ..." 1>&5 3055 3489 3056 3490 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3057 3491 3058 @@ -3858,7 + 4000,7 @@3492 @@ -3858,7 +3834,7 @@ 3059 3493 if test "$cf_have_libdir" = no ; then 3060 3494 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 3061 3495 3062 3496 -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>&53497 +echo "${as_me:-configure}:3837: testing adding $cf_add_libdir to library-path ..." 1>&5 3064 3498 3065 3499 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 3066 3500 fi 3067 @@ -3869,7 + 4011,7 @@3501 @@ -3869,7 +3845,7 @@ 3068 3502 fi 3069 3503 fi 3070 3504 3071 3505 -echo "$as_me:3872: checking if you want wide-character code" >&5 3072 +echo "$as_me: 4014: checking if you want wide-character code" >&53506 +echo "$as_me:3848: checking if you want wide-character code" >&5 3073 3507 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 3074 3508 3075 3509 # Check whether --enable-widec or --disable-widec was given. 3076 @@ -3879,11 + 4021,11 @@3510 @@ -3879,11 +3855,11 @@ 3077 3511 else 3078 3512 with_widec=no 3079 3513 fi; 3080 3514 -echo "$as_me:3882: result: $with_widec" >&5 3081 +echo "$as_me: 4024: result: $with_widec" >&53515 +echo "$as_me:3858: result: $with_widec" >&5 3082 3516 echo "${ECHO_T}$with_widec" >&6 3083 3517 if test "$with_widec" = yes ; then 3084 3518 3085 3519 -echo "$as_me:3886: checking for multibyte character support" >&5 3086 +echo "$as_me: 4028: checking for multibyte character support" >&53520 +echo "$as_me:3862: checking for multibyte character support" >&5 3087 3521 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6 3088 3522 if test "${cf_cv_utf8_lib+set}" = set; then 3089 3523 echo $ECHO_N "(cached) $ECHO_C" >&6 3090 @@ -3891,7 + 4033,7 @@3524 @@ -3891,7 +3867,7 @@ 3091 3525 3092 3526 cf_save_LIBS="$LIBS" 3093 3527 cat >conftest.$ac_ext <<_ACEOF 3094 3528 -#line 3894 "configure" 3095 +#line 4036"configure"3529 +#line 3870 "configure" 3096 3530 #include "confdefs.h" 3097 3531 3098 3532 #include <stdlib.h> 3099 @@ -3904,16 + 4046,16 @@3533 @@ -3904,16 +3880,16 @@ 3100 3534 } 3101 3535 _ACEOF 3102 3536 rm -f conftest.$ac_objext conftest$ac_exeext 3103 3537 -if { (eval echo "$as_me:3907: \"$ac_link\"") >&5 3104 +if { (eval echo "$as_me: 4049: \"$ac_link\"") >&53538 +if { (eval echo "$as_me:3883: \"$ac_link\"") >&5 3105 3539 (eval $ac_link) 2>&5 3106 3540 ac_status=$? 3107 3541 - echo "$as_me:3910: \$? = $ac_status" >&5 3108 + echo "$as_me: 4052: \$? = $ac_status" >&53542 + echo "$as_me:3886: \$? = $ac_status" >&5 3109 3543 (exit $ac_status); } && 3110 3544 { ac_try='test -s conftest$ac_exeext' 3111 3545 - { (eval echo "$as_me:3913: \"$ac_try\"") >&5 3112 + { (eval echo "$as_me: 4055: \"$ac_try\"") >&53546 + { (eval echo "$as_me:3889: \"$ac_try\"") >&5 3113 3547 (eval $ac_try) 2>&5 3114 3548 ac_status=$? 3115 3549 - echo "$as_me:3916: \$? = $ac_status" >&5 3116 + echo "$as_me: 4058: \$? = $ac_status" >&53550 + echo "$as_me:3892: \$? = $ac_status" >&5 3117 3551 (exit $ac_status); }; }; then 3118 3552 cf_cv_utf8_lib=yes 3119 3553 else 3120 @@ -3925,12 + 4067,12 @@3554 @@ -3925,12 +3901,12 @@ 3121 3555 cf_cv_header_path_utf8= 3122 3556 cf_cv_library_path_utf8= 3123 3557 3124 3558 -echo "${as_me:-configure}:3928: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 3125 +echo "${as_me:-configure}: 4070: testing Starting FIND_LINKAGE(utf8,) ..." 1>&53559 +echo "${as_me:-configure}:3904: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 3126 3560 3127 3561 cf_save_LIBS="$LIBS" … … 3129 3563 cat >conftest.$ac_ext <<_ACEOF 3130 3564 -#line 3933 "configure" 3131 +#line 4075"configure"3565 +#line 3909 "configure" 3132 3566 #include "confdefs.h" 3133 3567 3134 3568 #include <libutf8.h> 3135 @@ -3943,16 + 4085,16 @@3569 @@ -3943,16 +3919,16 @@ 3136 3570 } 3137 3571 _ACEOF 3138 3572 rm -f conftest.$ac_objext conftest$ac_exeext 3139 3573 -if { (eval echo "$as_me:3946: \"$ac_link\"") >&5 3140 +if { (eval echo "$as_me: 4088: \"$ac_link\"") >&53574 +if { (eval echo "$as_me:3922: \"$ac_link\"") >&5 3141 3575 (eval $ac_link) 2>&5 3142 3576 ac_status=$? 3143 3577 - echo "$as_me:3949: \$? = $ac_status" >&5 3144 + echo "$as_me: 4091: \$? = $ac_status" >&53578 + echo "$as_me:3925: \$? = $ac_status" >&5 3145 3579 (exit $ac_status); } && 3146 3580 { ac_try='test -s conftest$ac_exeext' 3147 3581 - { (eval echo "$as_me:3952: \"$ac_try\"") >&5 3148 + { (eval echo "$as_me: 4094: \"$ac_try\"") >&53582 + { (eval echo "$as_me:3928: \"$ac_try\"") >&5 3149 3583 (eval $ac_try) 2>&5 3150 3584 ac_status=$? 3151 3585 - echo "$as_me:3955: \$? = $ac_status" >&5 3152 + echo "$as_me: 4097: \$? = $ac_status" >&53586 + echo "$as_me:3931: \$? = $ac_status" >&5 3153 3587 (exit $ac_status); }; }; then 3154 3588 3155 3589 cf_cv_find_linkage_utf8=yes 3156 @@ -3966,7 + 4108,7 @@3590 @@ -3966,7 +3942,7 @@ 3157 3591 LIBS="-lutf8 $cf_save_LIBS" 3158 3592 3159 3593 cat >conftest.$ac_ext <<_ACEOF 3160 3594 -#line 3969 "configure" 3161 +#line 4111"configure"3595 +#line 3945 "configure" 3162 3596 #include "confdefs.h" 3163 3597 3164 3598 #include <libutf8.h> 3165 @@ -3979,16 + 4121,16 @@3599 @@ -3979,16 +3955,16 @@ 3166 3600 } 3167 3601 _ACEOF 3168 3602 rm -f conftest.$ac_objext conftest$ac_exeext 3169 3603 -if { (eval echo "$as_me:3982: \"$ac_link\"") >&5 3170 +if { (eval echo "$as_me: 4124: \"$ac_link\"") >&53604 +if { (eval echo "$as_me:3958: \"$ac_link\"") >&5 3171 3605 (eval $ac_link) 2>&5 3172 3606 ac_status=$? 3173 3607 - echo "$as_me:3985: \$? = $ac_status" >&5 3174 + echo "$as_me: 4127: \$? = $ac_status" >&53608 + echo "$as_me:3961: \$? = $ac_status" >&5 3175 3609 (exit $ac_status); } && 3176 3610 { ac_try='test -s conftest$ac_exeext' 3177 3611 - { (eval echo "$as_me:3988: \"$ac_try\"") >&5 3178 + { (eval echo "$as_me: 4130: \"$ac_try\"") >&53612 + { (eval echo "$as_me:3964: \"$ac_try\"") >&5 3179 3613 (eval $ac_try) 2>&5 3180 3614 ac_status=$? 3181 3615 - echo "$as_me:3991: \$? = $ac_status" >&5 3182 + echo "$as_me: 4133: \$? = $ac_status" >&53616 + echo "$as_me:3967: \$? = $ac_status" >&5 3183 3617 (exit $ac_status); }; }; then 3184 3618 3185 3619 cf_cv_find_linkage_utf8=yes 3186 @@ -4005,9 + 4147,9 @@3620 @@ -4005,9 +3981,9 @@ 3187 3621 3188 3622 test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 3189 3623 3190 3624 -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>&53625 +echo "${as_me:-configure}:3984: testing find linkage for utf8 library ..." 1>&5 3192 3626 3193 3627 -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>&53628 +echo "${as_me:-configure}:3986: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 3195 3629 3196 3630 cf_save_CPPFLAGS="$CPPFLAGS" 3197 3631 cf_test_CPPFLAGS="$CPPFLAGS" 3198 @@ -4120,11 +4 262,11 @@3632 @@ -4120,11 +4096,11 @@ 3199 3633 if test -d $cf_cv_header_path_utf8 ; then 3200 3634 test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6 3201 3635 3202 3636 -echo "${as_me:-configure}:4123: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 3203 +echo "${as_me:-configure}:4 265: testing ... testing $cf_cv_header_path_utf8 ..." 1>&53637 +echo "${as_me:-configure}:4099: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 3204 3638 3205 3639 CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8" 3206 3640 cat >conftest.$ac_ext <<_ACEOF 3207 3641 -#line 4127 "configure" 3208 +#line 4 269"configure"3642 +#line 4103 "configure" 3209 3643 #include "confdefs.h" 3210 3644 3211 3645 #include <libutf8.h> 3212 @@ -4137,21 +4 279,21 @@3646 @@ -4137,21 +4113,21 @@ 3213 3647 } 3214 3648 _ACEOF 3215 3649 rm -f conftest.$ac_objext 3216 3650 -if { (eval echo "$as_me:4140: \"$ac_compile\"") >&5 3217 +if { (eval echo "$as_me:4 282: \"$ac_compile\"") >&53651 +if { (eval echo "$as_me:4116: \"$ac_compile\"") >&5 3218 3652 (eval $ac_compile) 2>&5 3219 3653 ac_status=$? 3220 3654 - echo "$as_me:4143: \$? = $ac_status" >&5 3221 + echo "$as_me:4 285: \$? = $ac_status" >&53655 + echo "$as_me:4119: \$? = $ac_status" >&5 3222 3656 (exit $ac_status); } && 3223 3657 { ac_try='test -s conftest.$ac_objext' 3224 3658 - { (eval echo "$as_me:4146: \"$ac_try\"") >&5 3225 + { (eval echo "$as_me:4 288: \"$ac_try\"") >&53659 + { (eval echo "$as_me:4122: \"$ac_try\"") >&5 3226 3660 (eval $ac_try) 2>&5 3227 3661 ac_status=$? 3228 3662 - echo "$as_me:4149: \$? = $ac_status" >&5 3229 + echo "$as_me:4 291: \$? = $ac_status" >&53663 + echo "$as_me:4125: \$? = $ac_status" >&5 3230 3664 (exit $ac_status); }; }; then 3231 3665 … … 3233 3667 3234 3668 -echo "${as_me:-configure}:4154: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 3235 +echo "${as_me:-configure}:4 296: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&53669 +echo "${as_me:-configure}:4130: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 3236 3670 3237 3671 cf_cv_find_linkage_utf8=maybe 3238 3672 cf_test_CPPFLAGS="$CPPFLAGS" 3239 @@ -4169,7 +4 311,7 @@3673 @@ -4169,7 +4145,7 @@ 3240 3674 3241 3675 if test "$cf_cv_find_linkage_utf8" = maybe ; then 3242 3676 3243 3677 -echo "${as_me:-configure}:4172: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 3244 +echo "${as_me:-configure}:4 314: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&53678 +echo "${as_me:-configure}:4148: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 3245 3679 3246 3680 cf_save_LIBS="$LIBS" 3247 3681 cf_save_LDFLAGS="$LDFLAGS" 3248 @@ -4266,13 +4 408,13 @@3682 @@ -4266,13 +4242,13 @@ 3249 3683 if test -d $cf_cv_library_path_utf8 ; then 3250 3684 test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6 3251 3685 3252 3686 -echo "${as_me:-configure}:4269: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 3253 +echo "${as_me:-configure}:4 411: testing ... testing $cf_cv_library_path_utf8 ..." 1>&53687 +echo "${as_me:-configure}:4245: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 3254 3688 3255 3689 CPPFLAGS="$cf_test_CPPFLAGS" … … 3258 3692 cat >conftest.$ac_ext <<_ACEOF 3259 3693 -#line 4275 "configure" 3260 +#line 4 417"configure"3694 +#line 4251 "configure" 3261 3695 #include "confdefs.h" 3262 3696 3263 3697 #include <libutf8.h> 3264 @@ -4285,21 +4 427,21 @@3698 @@ -4285,21 +4261,21 @@ 3265 3699 } 3266 3700 _ACEOF 3267 3701 rm -f conftest.$ac_objext conftest$ac_exeext 3268 3702 -if { (eval echo "$as_me:4288: \"$ac_link\"") >&5 3269 +if { (eval echo "$as_me:4 430: \"$ac_link\"") >&53703 +if { (eval echo "$as_me:4264: \"$ac_link\"") >&5 3270 3704 (eval $ac_link) 2>&5 3271 3705 ac_status=$? 3272 3706 - echo "$as_me:4291: \$? = $ac_status" >&5 3273 + echo "$as_me:4 433: \$? = $ac_status" >&53707 + echo "$as_me:4267: \$? = $ac_status" >&5 3274 3708 (exit $ac_status); } && 3275 3709 { ac_try='test -s conftest$ac_exeext' 3276 3710 - { (eval echo "$as_me:4294: \"$ac_try\"") >&5 3277 + { (eval echo "$as_me:4 436: \"$ac_try\"") >&53711 + { (eval echo "$as_me:4270: \"$ac_try\"") >&5 3278 3712 (eval $ac_try) 2>&5 3279 3713 ac_status=$? 3280 3714 - echo "$as_me:4297: \$? = $ac_status" >&5 3281 + echo "$as_me:4 439: \$? = $ac_status" >&53715 + echo "$as_me:4273: \$? = $ac_status" >&5 3282 3716 (exit $ac_status); }; }; then 3283 3717 … … 3285 3719 3286 3720 -echo "${as_me:-configure}:4302: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 3287 +echo "${as_me:-configure}:4 444: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&53721 +echo "${as_me:-configure}:4278: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 3288 3722 3289 3723 cf_cv_find_linkage_utf8=yes 3290 3724 cf_cv_library_file_utf8="-lutf8" 3291 @@ -4341,7 +4 483,7 @@3725 @@ -4341,7 +4317,7 @@ 3292 3726 fi 3293 3727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3294 3728 fi 3295 3729 -echo "$as_me:4344: result: $cf_cv_utf8_lib" >&5 3296 +echo "$as_me:4 486: result: $cf_cv_utf8_lib" >&53730 +echo "$as_me:4320: result: $cf_cv_utf8_lib" >&5 3297 3731 echo "${ECHO_T}$cf_cv_utf8_lib" >&6 3298 3732 3299 3733 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between 3300 @@ -4375,7 +4 517,7 @@3734 @@ -4375,7 +4351,7 @@ 3301 3735 cf_save_CPPFLAGS=$CPPFLAGS 3302 3736 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3303 3737 cat >conftest.$ac_ext <<_ACEOF 3304 3738 -#line 4378 "configure" 3305 +#line 4 520"configure"3739 +#line 4354 "configure" 3306 3740 #include "confdefs.h" 3307 3741 #include <stdio.h> 3308 3742 int 3309 @@ -4387,16 +4 529,16 @@3743 @@ -4387,16 +4363,16 @@ 3310 3744 } 3311 3745 _ACEOF 3312 3746 rm -f conftest.$ac_objext 3313 3747 -if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5 3314 +if { (eval echo "$as_me:4 532: \"$ac_compile\"") >&53748 +if { (eval echo "$as_me:4366: \"$ac_compile\"") >&5 3315 3749 (eval $ac_compile) 2>&5 3316 3750 ac_status=$? 3317 3751 - echo "$as_me:4393: \$? = $ac_status" >&5 3318 + echo "$as_me:4 535: \$? = $ac_status" >&53752 + echo "$as_me:4369: \$? = $ac_status" >&5 3319 3753 (exit $ac_status); } && 3320 3754 { ac_try='test -s conftest.$ac_objext' 3321 3755 - { (eval echo "$as_me:4396: \"$ac_try\"") >&5 3322 + { (eval echo "$as_me:4 538: \"$ac_try\"") >&53756 + { (eval echo "$as_me:4372: \"$ac_try\"") >&5 3323 3757 (eval $ac_try) 2>&5 3324 3758 ac_status=$? 3325 3759 - echo "$as_me:4399: \$? = $ac_status" >&5 3326 + echo "$as_me:4 541: \$? = $ac_status" >&53760 + echo "$as_me:4375: \$? = $ac_status" >&5 3327 3761 (exit $ac_status); }; }; then 3328 3762 : 3329 3763 else 3330 @@ -4413,7 +4 555,7 @@3764 @@ -4413,7 +4389,7 @@ 3331 3765 if test "$cf_have_incdir" = no ; then 3332 3766 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 3333 3767 3334 3768 -echo "${as_me:-configure}:4416: testing adding $cf_add_incdir to include-path ..." 1>&5 3335 +echo "${as_me:-configure}:4 558: testing adding $cf_add_incdir to include-path ..." 1>&53769 +echo "${as_me:-configure}:4392: testing adding $cf_add_incdir to include-path ..." 1>&5 3336 3770 3337 3771 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3338 3772 3339 @@ -4447,7 +4 589,7 @@3773 @@ -4447,7 +4423,7 @@ 3340 3774 if test "$cf_have_libdir" = no ; then 3341 3775 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 3342 3776 3343 3777 -echo "${as_me:-configure}:4450: testing adding $cf_add_libdir to library-path ..." 1>&5 3344 +echo "${as_me:-configure}:4 592: testing adding $cf_add_libdir to library-path ..." 1>&53778 +echo "${as_me:-configure}:4426: testing adding $cf_add_libdir to library-path ..." 1>&5 3345 3779 3346 3780 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 3347 3781 fi 3348 @@ -4461,48 +4 603,87 @@3782 @@ -4461,48 +4437,87 @@ 3349 3783 cf_ncuconfig_root=ncursesw 3350 3784 … … 3357 3791 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3358 3792 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3359 +echo "$as_me:4 612: checking for $ac_word" >&53793 +echo "$as_me:4446: checking for $ac_word" >&5 3360 3794 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3361 3795 +if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then … … 3372 3806 + $as_executable_p "$ac_dir/$ac_word" || continue 3373 3807 +ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" 3374 +echo "$as_me:4 627: found $ac_dir/$ac_word" >&53808 +echo "$as_me:4461: found $ac_dir/$ac_word" >&5 3375 3809 +break 3376 3810 +done … … 3380 3814 +NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG 3381 3815 +if test -n "$NCURSES_CONFIG"; then 3382 + echo "$as_me:4 635: result: $NCURSES_CONFIG" >&53816 + echo "$as_me:4469: result: $NCURSES_CONFIG" >&5 3383 3817 +echo "${ECHO_T}$NCURSES_CONFIG" >&6 3384 3818 +else 3385 + echo "$as_me:4 638: result: no" >&53819 + echo "$as_me:4472: result: no" >&5 3386 3820 +echo "${ECHO_T}no" >&6 3387 3821 +fi … … 3397 3831 set dummy $ac_prog; ac_word=$2 3398 3832 -echo "$as_me:4468: checking for $ac_word" >&5 3399 +echo "$as_me:4 651: checking for $ac_word" >&53833 +echo "$as_me:4485: checking for $ac_word" >&5 3400 3834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3401 3835 -if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then … … 3423 3857 + $as_executable_p "$ac_dir/$ac_word" || continue 3424 3858 +ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" 3425 +echo "$as_me:4 666: found $ac_dir/$ac_word" >&53859 +echo "$as_me:4500: found $ac_dir/$ac_word" >&5 3426 3860 +break 3427 3861 done … … 3438 3872 +ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG 3439 3873 +if test -n "$ac_ct_NCURSES_CONFIG"; then 3440 + echo "$as_me:4 674: result: $ac_ct_NCURSES_CONFIG" >&53874 + echo "$as_me:4508: result: $ac_ct_NCURSES_CONFIG" >&5 3441 3875 +echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 3442 3876 else 3443 3877 - echo "$as_me:4499: result: no" >&5 3444 + echo "$as_me:4 677: result: no" >&53878 + echo "$as_me:4511: result: no" >&5 3445 3879 echo "${ECHO_T}no" >&6 3446 3880 fi … … 3457 3891 if test "$NCURSES_CONFIG" != none ; then 3458 3892 3459 @@ -4511,7 +4 692,7 @@3893 @@ -4511,7 +4526,7 @@ 3460 3894 3461 3895 # even with config script, some packages use no-override for curses.h 3462 3896 3463 3897 -echo "$as_me:4514: checking if we have identified curses headers" >&5 3464 +echo "$as_me:4 695: checking if we have identified curses headers" >&53898 +echo "$as_me:4529: checking if we have identified curses headers" >&5 3465 3899 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 3466 3900 if test "${cf_cv_ncurses_header+set}" = set; then 3467 3901 echo $ECHO_N "(cached) $ECHO_C" >&6 3468 @@ -4519,13 +4 700,13 @@3902 @@ -4519,13 +4534,13 @@ 3469 3903 3470 3904 cf_cv_ncurses_header=none … … 3481 3915 cat >conftest.$ac_ext <<_ACEOF 3482 3916 -#line 4528 "configure" 3483 +#line 4 709"configure"3917 +#line 4543 "configure" 3484 3918 #include "confdefs.h" 3485 3919 #include <${cf_header}> 3486 3920 int 3487 @@ -4537,16 +4 718,16 @@3921 @@ -4537,16 +4552,16 @@ 3488 3922 } 3489 3923 _ACEOF 3490 3924 rm -f conftest.$ac_objext 3491 3925 -if { (eval echo "$as_me:4540: \"$ac_compile\"") >&5 3492 +if { (eval echo "$as_me:4 721: \"$ac_compile\"") >&53926 +if { (eval echo "$as_me:4555: \"$ac_compile\"") >&5 3493 3927 (eval $ac_compile) 2>&5 3494 3928 ac_status=$? 3495 3929 - echo "$as_me:4543: \$? = $ac_status" >&5 3496 + echo "$as_me:4 724: \$? = $ac_status" >&53930 + echo "$as_me:4558: \$? = $ac_status" >&5 3497 3931 (exit $ac_status); } && 3498 3932 { ac_try='test -s conftest.$ac_objext' 3499 3933 - { (eval echo "$as_me:4546: \"$ac_try\"") >&5 3500 + { (eval echo "$as_me:4 727: \"$ac_try\"") >&53934 + { (eval echo "$as_me:4561: \"$ac_try\"") >&5 3501 3935 (eval $ac_try) 2>&5 3502 3936 ac_status=$? 3503 3937 - echo "$as_me:4549: \$? = $ac_status" >&5 3504 + echo "$as_me:4 730: \$? = $ac_status" >&53938 + echo "$as_me:4564: \$? = $ac_status" >&5 3505 3939 (exit $ac_status); }; }; then 3506 3940 cf_cv_ncurses_header=$cf_header; break 3507 3941 else 3508 @@ -4557,11 +4 738,11 @@3942 @@ -4557,11 +4572,11 @@ 3509 3943 done 3510 3944 3511 3945 fi 3512 3946 -echo "$as_me:4560: result: $cf_cv_ncurses_header" >&5 3513 +echo "$as_me:4 741: result: $cf_cv_ncurses_header" >&53947 +echo "$as_me:4575: result: $cf_cv_ncurses_header" >&5 3514 3948 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 3515 3949 3516 3950 if test "$cf_cv_ncurses_header" = none ; then 3517 3951 - { { echo "$as_me:4564: error: No curses header-files found" >&5 3518 + { { echo "$as_me:4 745: error: No curses header-files found" >&53952 + { { echo "$as_me:4579: error: No curses header-files found" >&5 3519 3953 echo "$as_me: error: No curses header-files found" >&2;} 3520 3954 { (exit 1); exit 1; }; } 3521 3955 fi 3522 @@ -4571,23 +4 752,23 @@3956 @@ -4571,23 +4586,23 @@ 3523 3957 for ac_header in $cf_cv_ncurses_header 3524 3958 do 3525 3959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3526 3960 -echo "$as_me:4574: checking for $ac_header" >&5 3527 +echo "$as_me:4 755: checking for $ac_header" >&53961 +echo "$as_me:4589: checking for $ac_header" >&5 3528 3962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3529 3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 3532 3966 cat >conftest.$ac_ext <<_ACEOF 3533 3967 -#line 4580 "configure" 3534 +#line 4 761"configure"3968 +#line 4595 "configure" 3535 3969 #include "confdefs.h" 3536 3970 #include <$ac_header> 3537 3971 _ACEOF 3538 3972 -if { (eval echo "$as_me:4584: \"$ac_cpp conftest.$ac_ext\"") >&5 3539 +if { (eval echo "$as_me:4 765: \"$ac_cpp conftest.$ac_ext\"") >&53973 +if { (eval echo "$as_me:4599: \"$ac_cpp conftest.$ac_ext\"") >&5 3540 3974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3541 3975 ac_status=$? … … 3544 3978 cat conftest.err >&5 3545 3979 - echo "$as_me:4590: \$? = $ac_status" >&5 3546 + echo "$as_me:4 771: \$? = $ac_status" >&53980 + echo "$as_me:4605: \$? = $ac_status" >&5 3547 3981 (exit $ac_status); } >/dev/null; then 3548 3982 if test -s conftest.err; then 3549 3983 ac_cpp_err=$ac_c_preproc_warn_flag 3550 @@ -4606,7 +4 787,7 @@3984 @@ -4606,7 +4621,7 @@ 3551 3985 fi 3552 3986 rm -f conftest.err conftest.$ac_ext 3553 3987 fi 3554 3988 -echo "$as_me:4609: result: `eval echo '${'$as_ac_Header'}'`" >&5 3555 +echo "$as_me:4 790: result: `eval echo '${'$as_ac_Header'}'`" >&53989 +echo "$as_me:4624: result: `eval echo '${'$as_ac_Header'}'`" >&5 3556 3990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3557 3991 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3558 3992 cat >>confdefs.h <<EOF 3559 @@ -4659,7 +4 840,7 @@3993 @@ -4659,7 +4674,7 @@ 3560 3994 cf_save_CPPFLAGS=$CPPFLAGS 3561 3995 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3562 3996 cat >conftest.$ac_ext <<_ACEOF 3563 3997 -#line 4662 "configure" 3564 +#line 4 843"configure"3998 +#line 4677 "configure" 3565 3999 #include "confdefs.h" 3566 4000 #include <stdio.h> 3567 4001 int 3568 @@ -4671,16 +4 852,16 @@4002 @@ -4671,16 +4686,16 @@ 3569 4003 } 3570 4004 _ACEOF 3571 4005 rm -f conftest.$ac_objext 3572 4006 -if { (eval echo "$as_me:4674: \"$ac_compile\"") >&5 3573 +if { (eval echo "$as_me:4 855: \"$ac_compile\"") >&54007 +if { (eval echo "$as_me:4689: \"$ac_compile\"") >&5 3574 4008 (eval $ac_compile) 2>&5 3575 4009 ac_status=$? 3576 4010 - echo "$as_me:4677: \$? = $ac_status" >&5 3577 + echo "$as_me:4 858: \$? = $ac_status" >&54011 + echo "$as_me:4692: \$? = $ac_status" >&5 3578 4012 (exit $ac_status); } && 3579 4013 { ac_try='test -s conftest.$ac_objext' 3580 4014 - { (eval echo "$as_me:4680: \"$ac_try\"") >&5 3581 + { (eval echo "$as_me:4 861: \"$ac_try\"") >&54015 + { (eval echo "$as_me:4695: \"$ac_try\"") >&5 3582 4016 (eval $ac_try) 2>&5 3583 4017 ac_status=$? 3584 4018 - echo "$as_me:4683: \$? = $ac_status" >&5 3585 + echo "$as_me:4 864: \$? = $ac_status" >&54019 + echo "$as_me:4698: \$? = $ac_status" >&5 3586 4020 (exit $ac_status); }; }; then 3587 4021 : 3588 4022 else 3589 @@ -4697,7 +4 878,7 @@4023 @@ -4697,7 +4712,7 @@ 3590 4024 if test "$cf_have_incdir" = no ; then 3591 4025 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 3592 4026 3593 4027 -echo "${as_me:-configure}:4700: testing adding $cf_add_incdir to include-path ..." 1>&5 3594 +echo "${as_me:-configure}:4 881: testing adding $cf_add_incdir to include-path ..." 1>&54028 +echo "${as_me:-configure}:4715: testing adding $cf_add_incdir to include-path ..." 1>&5 3595 4029 3596 4030 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3597 4031 3598 @@ -4714,7 +4 895,7 @@4032 @@ -4714,7 +4729,7 @@ 3599 4033 3600 4034 } 3601 4035 3602 4036 -echo "$as_me:4717: checking for $cf_ncuhdr_root header in include-path" >&5 3603 +echo "$as_me:4 898: checking for $cf_ncuhdr_root header in include-path" >&54037 +echo "$as_me:4732: checking for $cf_ncuhdr_root header in include-path" >&5 3604 4038 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 3605 4039 if test "${cf_cv_ncurses_h+set}" = set; then 3606 4040 echo $ECHO_N "(cached) $ECHO_C" >&6 3607 @@ -4726,7 +4 907,7 @@4041 @@ -4726,7 +4741,7 @@ 3608 4042 do 3609 4043 3610 4044 cat >conftest.$ac_ext <<_ACEOF 3611 4045 -#line 4729 "configure" 3612 +#line 4 910"configure"4046 +#line 4744 "configure" 3613 4047 #include "confdefs.h" 3614 4048 3615 4049 #define _XOPEN_SOURCE_EXTENDED 3616 @@ -4758,16 +4 939,16 @@4050 @@ -4758,16 +4773,16 @@ 3617 4051 } 3618 4052 _ACEOF 3619 4053 rm -f conftest.$ac_objext 3620 4054 -if { (eval echo "$as_me:4761: \"$ac_compile\"") >&5 3621 +if { (eval echo "$as_me:4 942: \"$ac_compile\"") >&54055 +if { (eval echo "$as_me:4776: \"$ac_compile\"") >&5 3622 4056 (eval $ac_compile) 2>&5 3623 4057 ac_status=$? 3624 4058 - echo "$as_me:4764: \$? = $ac_status" >&5 3625 + echo "$as_me:4 945: \$? = $ac_status" >&54059 + echo "$as_me:4779: \$? = $ac_status" >&5 3626 4060 (exit $ac_status); } && 3627 4061 { ac_try='test -s conftest.$ac_objext' 3628 4062 - { (eval echo "$as_me:4767: \"$ac_try\"") >&5 3629 + { (eval echo "$as_me:4 948: \"$ac_try\"") >&54063 + { (eval echo "$as_me:4782: \"$ac_try\"") >&5 3630 4064 (eval $ac_try) 2>&5 3631 4065 ac_status=$? 3632 4066 - echo "$as_me:4770: \$? = $ac_status" >&5 3633 + echo "$as_me:4 951: \$? = $ac_status" >&54067 + echo "$as_me:4785: \$? = $ac_status" >&5 3634 4068 (exit $ac_status); }; }; then 3635 4069 cf_cv_ncurses_h=$cf_header 3636 4070 3637 @@ -4782,14 +4 963,14 @@4071 @@ -4782,14 +4797,14 @@ 3638 4072 done 3639 4073 3640 4074 fi 3641 4075 -echo "$as_me:4785: result: $cf_cv_ncurses_h" >&5 3642 +echo "$as_me:4 966: result: $cf_cv_ncurses_h" >&54076 +echo "$as_me:4800: result: $cf_cv_ncurses_h" >&5 3643 4077 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 3644 4078 … … 3648 4082 3649 4083 -echo "$as_me:4792: checking for $cf_ncuhdr_root include-path" >&5 3650 +echo "$as_me:4 973: checking for $cf_ncuhdr_root include-path" >&54084 +echo "$as_me:4807: checking for $cf_ncuhdr_root include-path" >&5 3651 4085 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 3652 4086 if test "${cf_cv_ncurses_h2+set}" = set; then 3653 4087 echo $ECHO_N "(cached) $ECHO_C" >&6 3654 @@ -4929,7 + 5110,7 @@4088 @@ -4929,7 +4944,7 @@ 3655 4089 cf_save_CPPFLAGS=$CPPFLAGS 3656 4090 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3657 4091 cat >conftest.$ac_ext <<_ACEOF 3658 4092 -#line 4932 "configure" 3659 +#line 5113"configure"4093 +#line 4947 "configure" 3660 4094 #include "confdefs.h" 3661 4095 #include <stdio.h> 3662 4096 int 3663 @@ -4941,16 + 5122,16 @@4097 @@ -4941,16 +4956,16 @@ 3664 4098 } 3665 4099 _ACEOF 3666 4100 rm -f conftest.$ac_objext 3667 4101 -if { (eval echo "$as_me:4944: \"$ac_compile\"") >&5 3668 +if { (eval echo "$as_me: 5125: \"$ac_compile\"") >&54102 +if { (eval echo "$as_me:4959: \"$ac_compile\"") >&5 3669 4103 (eval $ac_compile) 2>&5 3670 4104 ac_status=$? 3671 4105 - echo "$as_me:4947: \$? = $ac_status" >&5 3672 + echo "$as_me: 5128: \$? = $ac_status" >&54106 + echo "$as_me:4962: \$? = $ac_status" >&5 3673 4107 (exit $ac_status); } && 3674 4108 { ac_try='test -s conftest.$ac_objext' 3675 4109 - { (eval echo "$as_me:4950: \"$ac_try\"") >&5 3676 + { (eval echo "$as_me: 5131: \"$ac_try\"") >&54110 + { (eval echo "$as_me:4965: \"$ac_try\"") >&5 3677 4111 (eval $ac_try) 2>&5 3678 4112 ac_status=$? 3679 4113 - echo "$as_me:4953: \$? = $ac_status" >&5 3680 + echo "$as_me: 5134: \$? = $ac_status" >&54114 + echo "$as_me:4968: \$? = $ac_status" >&5 3681 4115 (exit $ac_status); }; }; then 3682 4116 : 3683 4117 else 3684 @@ -4967,7 + 5148,7 @@4118 @@ -4967,7 +4982,7 @@ 3685 4119 if test "$cf_have_incdir" = no ; then 3686 4120 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 3687 4121 3688 4122 -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>&54123 +echo "${as_me:-configure}:4985: testing adding $cf_add_incdir to include-path ..." 1>&5 3690 4124 3691 4125 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3692 4126 3693 @@ -4988,7 +5 169,7 @@4127 @@ -4988,7 +5003,7 @@ 3694 4128 do 3695 4129 3696 4130 cat >conftest.$ac_ext <<_ACEOF 3697 4131 -#line 4991 "configure" 3698 +#line 5 172"configure"4132 +#line 5006 "configure" 3699 4133 #include "confdefs.h" 3700 4134 3701 4135 #include <$cf_header> 3702 @@ -5012,16 +5 193,16 @@4136 @@ -5012,16 +5027,16 @@ 3703 4137 } 3704 4138 _ACEOF 3705 4139 rm -f conftest.$ac_objext 3706 4140 -if { (eval echo "$as_me:5015: \"$ac_compile\"") >&5 3707 +if { (eval echo "$as_me:5 196: \"$ac_compile\"") >&54141 +if { (eval echo "$as_me:5030: \"$ac_compile\"") >&5 3708 4142 (eval $ac_compile) 2>&5 3709 4143 ac_status=$? 3710 4144 - echo "$as_me:5018: \$? = $ac_status" >&5 3711 + echo "$as_me:5 199: \$? = $ac_status" >&54145 + echo "$as_me:5033: \$? = $ac_status" >&5 3712 4146 (exit $ac_status); } && 3713 4147 { ac_try='test -s conftest.$ac_objext' 3714 4148 - { (eval echo "$as_me:5021: \"$ac_try\"") >&5 3715 + { (eval echo "$as_me:5 202: \"$ac_try\"") >&54149 + { (eval echo "$as_me:5036: \"$ac_try\"") >&5 3716 4150 (eval $ac_try) 2>&5 3717 4151 ac_status=$? 3718 4152 - echo "$as_me:5024: \$? = $ac_status" >&5 3719 + echo "$as_me:5 205: \$? = $ac_status" >&54153 + echo "$as_me:5039: \$? = $ac_status" >&5 3720 4154 (exit $ac_status); }; }; then 3721 4155 cf_cv_ncurses_h2=$cf_header 3722 4156 3723 @@ -5042,12 +5 223,12 @@4157 @@ -5042,12 +5057,12 @@ 3724 4158 CPPFLAGS="$cf_save2_CPPFLAGS" 3725 4159 test "$cf_cv_ncurses_h2" != no && break 3726 4160 done 3727 4161 - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5045: error: not found" >&5 3728 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5 226: error: not found" >&54162 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5060: error: not found" >&5 3729 4163 echo "$as_me: error: not found" >&2;} 3730 4164 { (exit 1); exit 1; }; } … … 3732 4166 fi 3733 4167 -echo "$as_me:5050: result: $cf_cv_ncurses_h2" >&5 3734 +echo "$as_me:5 231: result: $cf_cv_ncurses_h2" >&54168 +echo "$as_me:5065: result: $cf_cv_ncurses_h2" >&5 3735 4169 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 3736 4170 3737 4171 cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` 3738 @@ -5080,7 +5 261,7 @@4172 @@ -5080,7 +5095,7 @@ 3739 4173 cf_save_CPPFLAGS=$CPPFLAGS 3740 4174 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3741 4175 cat >conftest.$ac_ext <<_ACEOF 3742 4176 -#line 5083 "configure" 3743 +#line 5 264"configure"4177 +#line 5098 "configure" 3744 4178 #include "confdefs.h" 3745 4179 #include <stdio.h> 3746 4180 int 3747 @@ -5092,16 +5 273,16 @@4181 @@ -5092,16 +5107,16 @@ 3748 4182 } 3749 4183 _ACEOF 3750 4184 rm -f conftest.$ac_objext 3751 4185 -if { (eval echo "$as_me:5095: \"$ac_compile\"") >&5 3752 +if { (eval echo "$as_me:5 276: \"$ac_compile\"") >&54186 +if { (eval echo "$as_me:5110: \"$ac_compile\"") >&5 3753 4187 (eval $ac_compile) 2>&5 3754 4188 ac_status=$? 3755 4189 - echo "$as_me:5098: \$? = $ac_status" >&5 3756 + echo "$as_me:5 279: \$? = $ac_status" >&54190 + echo "$as_me:5113: \$? = $ac_status" >&5 3757 4191 (exit $ac_status); } && 3758 4192 { ac_try='test -s conftest.$ac_objext' 3759 4193 - { (eval echo "$as_me:5101: \"$ac_try\"") >&5 3760 + { (eval echo "$as_me:5 282: \"$ac_try\"") >&54194 + { (eval echo "$as_me:5116: \"$ac_try\"") >&5 3761 4195 (eval $ac_try) 2>&5 3762 4196 ac_status=$? 3763 4197 - echo "$as_me:5104: \$? = $ac_status" >&5 3764 + echo "$as_me:5 285: \$? = $ac_status" >&54198 + echo "$as_me:5119: \$? = $ac_status" >&5 3765 4199 (exit $ac_status); }; }; then 3766 4200 : 3767 4201 else 3768 @@ -5118,7 +5 299,7 @@4202 @@ -5118,7 +5133,7 @@ 3769 4203 if test "$cf_have_incdir" = no ; then 3770 4204 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 3771 4205 3772 4206 -echo "${as_me:-configure}:5121: testing adding $cf_add_incdir to include-path ..." 1>&5 3773 +echo "${as_me:-configure}:5 302: testing adding $cf_add_incdir to include-path ..." 1>&54207 +echo "${as_me:-configure}:5136: testing adding $cf_add_incdir to include-path ..." 1>&5 3774 4208 3775 4209 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 3776 4210 3777 @@ -5161,7 +5 342,7 @@4211 @@ -5161,7 +5176,7 @@ 3778 4212 ;; 3779 4213 esac 3780 4214 3781 4215 -echo "$as_me:5164: checking for terminfo header" >&5 3782 +echo "$as_me:5 345: checking for terminfo header" >&54216 +echo "$as_me:5179: checking for terminfo header" >&5 3783 4217 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 3784 4218 if test "${cf_cv_term_header+set}" = set; then 3785 4219 echo $ECHO_N "(cached) $ECHO_C" >&6 3786 @@ -5179,7 +5 360,7 @@4220 @@ -5179,7 +5194,7 @@ 3787 4221 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" 3788 4222 do 3789 4223 cat >conftest.$ac_ext <<_ACEOF 3790 4224 -#line 5182 "configure" 3791 +#line 5 363"configure"4225 +#line 5197 "configure" 3792 4226 #include "confdefs.h" 3793 4227 #include <stdio.h> 3794 4228 #include <${cf_cv_ncurses_header:-curses.h}> 3795 @@ -5194,16 +5 375,16 @@4229 @@ -5194,16 +5209,16 @@ 3796 4230 } 3797 4231 _ACEOF 3798 4232 rm -f conftest.$ac_objext 3799 4233 -if { (eval echo "$as_me:5197: \"$ac_compile\"") >&5 3800 +if { (eval echo "$as_me:5 378: \"$ac_compile\"") >&54234 +if { (eval echo "$as_me:5212: \"$ac_compile\"") >&5 3801 4235 (eval $ac_compile) 2>&5 3802 4236 ac_status=$? 3803 4237 - echo "$as_me:5200: \$? = $ac_status" >&5 3804 + echo "$as_me:5 381: \$? = $ac_status" >&54238 + echo "$as_me:5215: \$? = $ac_status" >&5 3805 4239 (exit $ac_status); } && 3806 4240 { ac_try='test -s conftest.$ac_objext' 3807 4241 - { (eval echo "$as_me:5203: \"$ac_try\"") >&5 3808 + { (eval echo "$as_me:5 384: \"$ac_try\"") >&54242 + { (eval echo "$as_me:5218: \"$ac_try\"") >&5 3809 4243 (eval $ac_try) 2>&5 3810 4244 ac_status=$? 3811 4245 - echo "$as_me:5206: \$? = $ac_status" >&5 3812 + echo "$as_me:5 387: \$? = $ac_status" >&54246 + echo "$as_me:5221: \$? = $ac_status" >&5 3813 4247 (exit $ac_status); }; }; then 3814 4248 3815 4249 cf_cv_term_header="$cf_test" 3816 @@ -5219,7 +5 400,7 @@4250 @@ -5219,7 +5234,7 @@ 3817 4251 done 3818 4252 3819 4253 fi 3820 4254 -echo "$as_me:5222: result: $cf_cv_term_header" >&5 3821 +echo "$as_me:5 403: result: $cf_cv_term_header" >&54255 +echo "$as_me:5237: result: $cf_cv_term_header" >&5 3822 4256 echo "${ECHO_T}$cf_cv_term_header" >&6 3823 4257 3824 4258 # Set definitions to allow ifdef'ing to accommodate subdirectories 3825 @@ -5253,7 +5 434,7 @@4259 @@ -5253,7 +5268,7 @@ 3826 4260 #define NCURSES 1 3827 4261 EOF 3828 4262 3829 4263 -echo "$as_me:5256: checking for ncurses version" >&5 3830 +echo "$as_me:5 437: checking for ncurses version" >&54264 +echo "$as_me:5271: checking for ncurses version" >&5 3831 4265 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 3832 4266 if test "${cf_cv_ncurses_version+set}" = set; then 3833 4267 echo $ECHO_N "(cached) $ECHO_C" >&6 3834 @@ -5279,10 +5 460,10 @@4268 @@ -5279,10 +5294,10 @@ 3835 4269 #endif 3836 4270 EOF 3837 4271 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" 3838 4272 - { (eval echo "$as_me:5282: \"$cf_try\"") >&5 3839 + { (eval echo "$as_me:5 463: \"$cf_try\"") >&54273 + { (eval echo "$as_me:5297: \"$cf_try\"") >&5 3840 4274 (eval $cf_try) 2>&5 3841 4275 ac_status=$? 3842 4276 - echo "$as_me:5285: \$? = $ac_status" >&5 3843 + echo "$as_me:5 466: \$? = $ac_status" >&54277 + echo "$as_me:5300: \$? = $ac_status" >&5 3844 4278 (exit $ac_status); } 3845 4279 if test -f conftest.out ; then 3846 4280 cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` 3847 @@ -5292,7 +5 473,7 @@4281 @@ -5292,7 +5307,7 @@ 3848 4282 3849 4283 else 3850 4284 cat >conftest.$ac_ext <<_ACEOF 3851 4285 -#line 5295 "configure" 3852 +#line 5 476"configure"4286 +#line 5310 "configure" 3853 4287 #include "confdefs.h" 3854 4288 3855 4289 #include <${cf_cv_ncurses_header:-curses.h}> 3856 @@ -5317,15 +5 498,15 @@4290 @@ -5317,15 +5332,15 @@ 3857 4291 } 3858 4292 _ACEOF 3859 4293 rm -f conftest$ac_exeext 3860 4294 -if { (eval echo "$as_me:5320: \"$ac_link\"") >&5 3861 +if { (eval echo "$as_me:5 501: \"$ac_link\"") >&54295 +if { (eval echo "$as_me:5335: \"$ac_link\"") >&5 3862 4296 (eval $ac_link) 2>&5 3863 4297 ac_status=$? 3864 4298 - echo "$as_me:5323: \$? = $ac_status" >&5 3865 + echo "$as_me:5 504: \$? = $ac_status" >&54299 + echo "$as_me:5338: \$? = $ac_status" >&5 3866 4300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3867 4301 - { (eval echo "$as_me:5325: \"$ac_try\"") >&5 3868 + { (eval echo "$as_me:5 506: \"$ac_try\"") >&54302 + { (eval echo "$as_me:5340: \"$ac_try\"") >&5 3869 4303 (eval $ac_try) 2>&5 3870 4304 ac_status=$? 3871 4305 - echo "$as_me:5328: \$? = $ac_status" >&5 3872 + echo "$as_me:5 509: \$? = $ac_status" >&54306 + echo "$as_me:5343: \$? = $ac_status" >&5 3873 4307 (exit $ac_status); }; }; then 3874 4308 3875 4309 cf_cv_ncurses_version=`cat $cf_tempfile` 3876 @@ -5339,7 +5 520,7 @@4310 @@ -5339,7 +5354,7 @@ 3877 4311 rm -f $cf_tempfile 3878 4312 3879 4313 fi 3880 4314 -echo "$as_me:5342: result: $cf_cv_ncurses_version" >&5 3881 +echo "$as_me:5 523: result: $cf_cv_ncurses_version" >&54315 +echo "$as_me:5357: result: $cf_cv_ncurses_version" >&5 3882 4316 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 3883 4317 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF 3884 4318 #define NCURSES 1 3885 @@ -5351,7 +5 532,7 @@4319 @@ -5351,7 +5366,7 @@ 3886 4320 # to link gpm. 3887 4321 cf_ncurses_LIBS="" 3888 4322 cf_ncurses_SAVE="$LIBS" 3889 4323 -echo "$as_me:5354: checking for Gpm_Open in -lgpm" >&5 3890 +echo "$as_me:5 535: checking for Gpm_Open in -lgpm" >&54324 +echo "$as_me:5369: checking for Gpm_Open in -lgpm" >&5 3891 4325 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 3892 4326 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 3893 4327 echo $ECHO_N "(cached) $ECHO_C" >&6 3894 @@ -5359,7 +5 540,7 @@4328 @@ -5359,7 +5374,7 @@ 3895 4329 ac_check_lib_save_LIBS=$LIBS 3896 4330 LIBS="-lgpm $LIBS" 3897 4331 cat >conftest.$ac_ext <<_ACEOF 3898 4332 -#line 5362 "configure" 3899 +#line 5 543"configure"4333 +#line 5377 "configure" 3900 4334 #include "confdefs.h" 3901 4335 3902 4336 /* Override any gcc2 internal prototype to avoid an error. */ 3903 @@ -5378,16 +5 559,16 @@4337 @@ -5378,16 +5393,16 @@ 3904 4338 } 3905 4339 _ACEOF 3906 4340 rm -f conftest.$ac_objext conftest$ac_exeext 3907 4341 -if { (eval echo "$as_me:5381: \"$ac_link\"") >&5 3908 +if { (eval echo "$as_me:5 562: \"$ac_link\"") >&54342 +if { (eval echo "$as_me:5396: \"$ac_link\"") >&5 3909 4343 (eval $ac_link) 2>&5 3910 4344 ac_status=$? 3911 4345 - echo "$as_me:5384: \$? = $ac_status" >&5 3912 + echo "$as_me:5 565: \$? = $ac_status" >&54346 + echo "$as_me:5399: \$? = $ac_status" >&5 3913 4347 (exit $ac_status); } && 3914 4348 { ac_try='test -s conftest$ac_exeext' 3915 4349 - { (eval echo "$as_me:5387: \"$ac_try\"") >&5 3916 + { (eval echo "$as_me:5 568: \"$ac_try\"") >&54350 + { (eval echo "$as_me:5402: \"$ac_try\"") >&5 3917 4351 (eval $ac_try) 2>&5 3918 4352 ac_status=$? 3919 4353 - echo "$as_me:5390: \$? = $ac_status" >&5 3920 + echo "$as_me:5 571: \$? = $ac_status" >&54354 + echo "$as_me:5405: \$? = $ac_status" >&5 3921 4355 (exit $ac_status); }; }; then 3922 4356 ac_cv_lib_gpm_Gpm_Open=yes 3923 4357 else 3924 @@ -5398,10 +5 579,10 @@4358 @@ -5398,10 +5413,10 @@ 3925 4359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3926 4360 LIBS=$ac_check_lib_save_LIBS 3927 4361 fi 3928 4362 -echo "$as_me:5401: result: $ac_cv_lib_gpm_Gpm_Open" >&5 3929 +echo "$as_me:5 582: result: $ac_cv_lib_gpm_Gpm_Open" >&54363 +echo "$as_me:5416: result: $ac_cv_lib_gpm_Gpm_Open" >&5 3930 4364 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 3931 4365 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 3932 4366 - echo "$as_me:5404: checking for initscr in -lgpm" >&5 3933 + echo "$as_me:5 585: checking for initscr in -lgpm" >&54367 + echo "$as_me:5419: checking for initscr in -lgpm" >&5 3934 4368 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 3935 4369 if test "${ac_cv_lib_gpm_initscr+set}" = set; then 3936 4370 echo $ECHO_N "(cached) $ECHO_C" >&6 3937 @@ -5409,7 +5 590,7 @@4371 @@ -5409,7 +5424,7 @@ 3938 4372 ac_check_lib_save_LIBS=$LIBS 3939 4373 LIBS="-lgpm $LIBS" 3940 4374 cat >conftest.$ac_ext <<_ACEOF 3941 4375 -#line 5412 "configure" 3942 +#line 5 593"configure"4376 +#line 5427 "configure" 3943 4377 #include "confdefs.h" 3944 4378 3945 4379 /* Override any gcc2 internal prototype to avoid an error. */ 3946 @@ -5428,16 +5 609,16 @@4380 @@ -5428,16 +5443,16 @@ 3947 4381 } 3948 4382 _ACEOF 3949 4383 rm -f conftest.$ac_objext conftest$ac_exeext 3950 4384 -if { (eval echo "$as_me:5431: \"$ac_link\"") >&5 3951 +if { (eval echo "$as_me:5 612: \"$ac_link\"") >&54385 +if { (eval echo "$as_me:5446: \"$ac_link\"") >&5 3952 4386 (eval $ac_link) 2>&5 3953 4387 ac_status=$? 3954 4388 - echo "$as_me:5434: \$? = $ac_status" >&5 3955 + echo "$as_me:5 615: \$? = $ac_status" >&54389 + echo "$as_me:5449: \$? = $ac_status" >&5 3956 4390 (exit $ac_status); } && 3957 4391 { ac_try='test -s conftest$ac_exeext' 3958 4392 - { (eval echo "$as_me:5437: \"$ac_try\"") >&5 3959 + { (eval echo "$as_me:5 618: \"$ac_try\"") >&54393 + { (eval echo "$as_me:5452: \"$ac_try\"") >&5 3960 4394 (eval $ac_try) 2>&5 3961 4395 ac_status=$? 3962 4396 - echo "$as_me:5440: \$? = $ac_status" >&5 3963 + echo "$as_me:5 621: \$? = $ac_status" >&54397 + echo "$as_me:5455: \$? = $ac_status" >&5 3964 4398 (exit $ac_status); }; }; then 3965 4399 ac_cv_lib_gpm_initscr=yes 3966 4400 else 3967 @@ -5448,7 +5 629,7 @@4401 @@ -5448,7 +5463,7 @@ 3968 4402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3969 4403 LIBS=$ac_check_lib_save_LIBS 3970 4404 fi 3971 4405 -echo "$as_me:5451: result: $ac_cv_lib_gpm_initscr" >&5 3972 +echo "$as_me:5 632: result: $ac_cv_lib_gpm_initscr" >&54406 +echo "$as_me:5466: result: $ac_cv_lib_gpm_initscr" >&5 3973 4407 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 3974 4408 if test $ac_cv_lib_gpm_initscr = yes; then 3975 4409 LIBS="$cf_ncurses_SAVE" 3976 @@ -5463,7 +5 644,7 @@4410 @@ -5463,7 +5478,7 @@ 3977 4411 # This is only necessary if you are linking against an obsolete 3978 4412 # version of ncurses (but it should do no harm, since it's static). 3979 4413 if test "$cf_nculib_root" = ncurses ; then 3980 4414 - echo "$as_me:5466: checking for tgoto in -lmytinfo" >&5 3981 + echo "$as_me:5 647: checking for tgoto in -lmytinfo" >&54415 + echo "$as_me:5481: checking for tgoto in -lmytinfo" >&5 3982 4416 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 3983 4417 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then 3984 4418 echo $ECHO_N "(cached) $ECHO_C" >&6 3985 @@ -5471,7 +5 652,7 @@4419 @@ -5471,7 +5486,7 @@ 3986 4420 ac_check_lib_save_LIBS=$LIBS 3987 4421 LIBS="-lmytinfo $LIBS" 3988 4422 cat >conftest.$ac_ext <<_ACEOF 3989 4423 -#line 5474 "configure" 3990 +#line 5 655"configure"4424 +#line 5489 "configure" 3991 4425 #include "confdefs.h" 3992 4426 3993 4427 /* Override any gcc2 internal prototype to avoid an error. */ 3994 @@ -5490,16 +5 671,16 @@4428 @@ -5490,16 +5505,16 @@ 3995 4429 } 3996 4430 _ACEOF 3997 4431 rm -f conftest.$ac_objext conftest$ac_exeext 3998 4432 -if { (eval echo "$as_me:5493: \"$ac_link\"") >&5 3999 +if { (eval echo "$as_me:5 674: \"$ac_link\"") >&54433 +if { (eval echo "$as_me:5508: \"$ac_link\"") >&5 4000 4434 (eval $ac_link) 2>&5 4001 4435 ac_status=$? 4002 4436 - echo "$as_me:5496: \$? = $ac_status" >&5 4003 + echo "$as_me:5 677: \$? = $ac_status" >&54437 + echo "$as_me:5511: \$? = $ac_status" >&5 4004 4438 (exit $ac_status); } && 4005 4439 { ac_try='test -s conftest$ac_exeext' 4006 4440 - { (eval echo "$as_me:5499: \"$ac_try\"") >&5 4007 + { (eval echo "$as_me:5 680: \"$ac_try\"") >&54441 + { (eval echo "$as_me:5514: \"$ac_try\"") >&5 4008 4442 (eval $ac_try) 2>&5 4009 4443 ac_status=$? 4010 4444 - echo "$as_me:5502: \$? = $ac_status" >&5 4011 + echo "$as_me:5 683: \$? = $ac_status" >&54445 + echo "$as_me:5517: \$? = $ac_status" >&5 4012 4446 (exit $ac_status); }; }; then 4013 4447 ac_cv_lib_mytinfo_tgoto=yes 4014 4448 else 4015 @@ -5510,7 +5 691,7 @@4449 @@ -5510,7 +5525,7 @@ 4016 4450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4017 4451 LIBS=$ac_check_lib_save_LIBS 4018 4452 fi 4019 4453 -echo "$as_me:5513: result: $ac_cv_lib_mytinfo_tgoto" >&5 4020 +echo "$as_me:5 694: result: $ac_cv_lib_mytinfo_tgoto" >&54454 +echo "$as_me:5528: result: $ac_cv_lib_mytinfo_tgoto" >&5 4021 4455 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 4022 4456 if test $ac_cv_lib_mytinfo_tgoto = yes; then 4023 4457 cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" 4024 @@ -5529,13 +5 710,13 @@4458 @@ -5529,13 +5544,13 @@ 4025 4459 4026 4460 eval 'cf_cv_have_lib_'$cf_nculib_root'=no' 4027 4461 cf_libdir="" 4028 4462 - echo "$as_me:5532: checking for initscr" >&5 4029 + echo "$as_me:5 713: checking for initscr" >&54463 + echo "$as_me:5547: checking for initscr" >&5 4030 4464 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 4031 4465 if test "${ac_cv_func_initscr+set}" = set; then … … 4034 4468 cat >conftest.$ac_ext <<_ACEOF 4035 4469 -#line 5538 "configure" 4036 +#line 5 719"configure"4470 +#line 5553 "configure" 4037 4471 #include "confdefs.h" 4038 4472 /* System header to define __stub macros and hopefully few prototypes, 4039 4473 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 @@ 4041 4484 } 4042 4485 _ACEOF 4043 4486 rm -f conftest.$ac_objext conftest$ac_exeext 4044 4487 -if { (eval echo "$as_me:5569: \"$ac_link\"") >&5 4045 +if { (eval echo "$as_me:5 750: \"$ac_link\"") >&54488 +if { (eval echo "$as_me:5584: \"$ac_link\"") >&5 4046 4489 (eval $ac_link) 2>&5 4047 4490 ac_status=$? 4048 4491 - echo "$as_me:5572: \$? = $ac_status" >&5 4049 + echo "$as_me:5 753: \$? = $ac_status" >&54492 + echo "$as_me:5587: \$? = $ac_status" >&5 4050 4493 (exit $ac_status); } && 4051 4494 { ac_try='test -s conftest$ac_exeext' 4052 4495 - { (eval echo "$as_me:5575: \"$ac_try\"") >&5 4053 + { (eval echo "$as_me:5 756: \"$ac_try\"") >&54496 + { (eval echo "$as_me:5590: \"$ac_try\"") >&5 4054 4497 (eval $ac_try) 2>&5 4055 4498 ac_status=$? 4056 4499 - echo "$as_me:5578: \$? = $ac_status" >&5 4057 + echo "$as_me:5 759: \$? = $ac_status" >&54500 + echo "$as_me:5593: \$? = $ac_status" >&5 4058 4501 (exit $ac_status); }; }; then 4059 4502 ac_cv_func_initscr=yes 4060 4503 else 4061 @@ -5585,18 +5 766,18 @@4504 @@ -5585,18 +5600,18 @@ 4062 4505 fi 4063 4506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4064 4507 fi 4065 4508 -echo "$as_me:5588: result: $ac_cv_func_initscr" >&5 4066 +echo "$as_me:5 769: result: $ac_cv_func_initscr" >&54509 +echo "$as_me:5603: result: $ac_cv_func_initscr" >&5 4067 4510 echo "${ECHO_T}$ac_cv_func_initscr" >&6 4068 4511 if test $ac_cv_func_initscr = yes; then … … 4072 4515 cf_save_LIBS="$LIBS" 4073 4516 - echo "$as_me:5595: checking for initscr in -l$cf_nculib_root" >&5 4074 + echo "$as_me:5 776: checking for initscr in -l$cf_nculib_root" >&54517 + echo "$as_me:5610: checking for initscr in -l$cf_nculib_root" >&5 4075 4518 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 4076 4519 LIBS="-l$cf_nculib_root $LIBS" 4077 4520 cat >conftest.$ac_ext <<_ACEOF 4078 4521 -#line 5599 "configure" 4079 +#line 5 780"configure"4522 +#line 5614 "configure" 4080 4523 #include "confdefs.h" 4081 4524 #include <${cf_cv_ncurses_header:-curses.h}> 4082 4525 int 4083 @@ -5608,25 +5 789,25 @@4526 @@ -5608,25 +5623,25 @@ 4084 4527 } 4085 4528 _ACEOF 4086 4529 rm -f conftest.$ac_objext conftest$ac_exeext 4087 4530 -if { (eval echo "$as_me:5611: \"$ac_link\"") >&5 4088 +if { (eval echo "$as_me:5 792: \"$ac_link\"") >&54531 +if { (eval echo "$as_me:5626: \"$ac_link\"") >&5 4089 4532 (eval $ac_link) 2>&5 4090 4533 ac_status=$? 4091 4534 - echo "$as_me:5614: \$? = $ac_status" >&5 4092 + echo "$as_me:5 795: \$? = $ac_status" >&54535 + echo "$as_me:5629: \$? = $ac_status" >&5 4093 4536 (exit $ac_status); } && 4094 4537 { ac_try='test -s conftest$ac_exeext' 4095 4538 - { (eval echo "$as_me:5617: \"$ac_try\"") >&5 4096 + { (eval echo "$as_me:5 798: \"$ac_try\"") >&54539 + { (eval echo "$as_me:5632: \"$ac_try\"") >&5 4097 4540 (eval $ac_try) 2>&5 4098 4541 ac_status=$? 4099 4542 - echo "$as_me:5620: \$? = $ac_status" >&5 4100 + echo "$as_me:5 801: \$? = $ac_status" >&54543 + echo "$as_me:5635: \$? = $ac_status" >&5 4101 4544 (exit $ac_status); }; }; then 4102 4545 - echo "$as_me:5622: result: yes" >&5 4103 + echo "$as_me:5 803: result: yes" >&54546 + echo "$as_me:5637: result: yes" >&5 4104 4547 echo "${ECHO_T}yes" >&6 4105 4548 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 4109 4552 cat conftest.$ac_ext >&5 4110 4553 -echo "$as_me:5629: result: no" >&5 4111 +echo "$as_me:5 810: result: no" >&54554 +echo "$as_me:5644: result: no" >&5 4112 4555 echo "${ECHO_T}no" >&6 4113 4556 4114 4557 cf_search= 4115 @@ -5716,11 +5 897,11 @@4558 @@ -5716,11 +5731,11 @@ 4116 4559 4117 4560 for cf_libdir in $cf_search 4118 4561 do 4119 4562 - echo "$as_me:5719: checking for -l$cf_nculib_root in $cf_libdir" >&5 4120 + echo "$as_me:5 900: checking for -l$cf_nculib_root in $cf_libdir" >&54563 + echo "$as_me:5734: checking for -l$cf_nculib_root in $cf_libdir" >&5 4121 4564 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 4122 4565 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" 4123 4566 cat >conftest.$ac_ext <<_ACEOF 4124 4567 -#line 5723 "configure" 4125 +#line 5 904"configure"4568 +#line 5738 "configure" 4126 4569 #include "confdefs.h" 4127 4570 #include <${cf_cv_ncurses_header:-curses.h}> 4128 4571 int 4129 @@ -5732,25 +5 913,25 @@4572 @@ -5732,25 +5747,25 @@ 4130 4573 } 4131 4574 _ACEOF 4132 4575 rm -f conftest.$ac_objext conftest$ac_exeext 4133 4576 -if { (eval echo "$as_me:5735: \"$ac_link\"") >&5 4134 +if { (eval echo "$as_me:5 916: \"$ac_link\"") >&54577 +if { (eval echo "$as_me:5750: \"$ac_link\"") >&5 4135 4578 (eval $ac_link) 2>&5 4136 4579 ac_status=$? 4137 4580 - echo "$as_me:5738: \$? = $ac_status" >&5 4138 + echo "$as_me:5 919: \$? = $ac_status" >&54581 + echo "$as_me:5753: \$? = $ac_status" >&5 4139 4582 (exit $ac_status); } && 4140 4583 { ac_try='test -s conftest$ac_exeext' 4141 4584 - { (eval echo "$as_me:5741: \"$ac_try\"") >&5 4142 + { (eval echo "$as_me:5 922: \"$ac_try\"") >&54585 + { (eval echo "$as_me:5756: \"$ac_try\"") >&5 4143 4586 (eval $ac_try) 2>&5 4144 4587 ac_status=$? 4145 4588 - echo "$as_me:5744: \$? = $ac_status" >&5 4146 + echo "$as_me:5 925: \$? = $ac_status" >&54589 + echo "$as_me:5759: \$? = $ac_status" >&5 4147 4590 (exit $ac_status); }; }; then 4148 4591 - echo "$as_me:5746: result: yes" >&5 4149 + echo "$as_me:5 927: result: yes" >&54592 + echo "$as_me:5761: result: yes" >&5 4150 4593 echo "${ECHO_T}yes" >&6 4151 4594 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 4155 4598 cat conftest.$ac_ext >&5 4156 4599 -echo "$as_me:5753: result: no" >&5 4157 +echo "$as_me:5 934: result: no" >&54600 +echo "$as_me:5768: result: no" >&5 4158 4601 echo "${ECHO_T}no" >&6 4159 4602 LIBS="$cf_save_LIBS" 4160 4603 fi 4161 @@ -5765,7 +5 946,7 @@4604 @@ -5765,7 +5780,7 @@ 4162 4605 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root 4163 4606 4164 4607 if test $cf_found_library = no ; then 4165 4608 - { { echo "$as_me:5768: error: Cannot link $cf_nculib_root library" >&5 4166 + { { echo "$as_me:5 949: error: Cannot link $cf_nculib_root library" >&54609 + { { echo "$as_me:5783: error: Cannot link $cf_nculib_root library" >&5 4167 4610 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} 4168 4611 { (exit 1); exit 1; }; } 4169 4612 fi 4170 @@ -5773,7 +5 954,7 @@4613 @@ -5773,7 +5788,7 @@ 4171 4614 fi 4172 4615 4173 4616 if test -n "$cf_ncurses_LIBS" ; then 4174 4617 - echo "$as_me:5776: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 4175 + echo "$as_me:5 957: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&54618 + echo "$as_me:5791: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 4176 4619 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 4177 4620 cf_ncurses_SAVE="$LIBS" 4178 4621 for p in $cf_ncurses_LIBS ; do 4179 @@ -5783,7 +5 964,7 @@4622 @@ -5783,7 +5798,7 @@ 4180 4623 fi 4181 4624 done 4182 4625 cat >conftest.$ac_ext <<_ACEOF 4183 4626 -#line 5786 "configure" 4184 +#line 5 967"configure"4627 +#line 5801 "configure" 4185 4628 #include "confdefs.h" 4186 4629 #include <${cf_cv_ncurses_header:-curses.h}> 4187 4630 int 4188 @@ -5795,23 +5 976,23 @@4631 @@ -5795,23 +5810,23 @@ 4189 4632 } 4190 4633 _ACEOF 4191 4634 rm -f conftest.$ac_objext conftest$ac_exeext 4192 4635 -if { (eval echo "$as_me:5798: \"$ac_link\"") >&5 4193 +if { (eval echo "$as_me:5 979: \"$ac_link\"") >&54636 +if { (eval echo "$as_me:5813: \"$ac_link\"") >&5 4194 4637 (eval $ac_link) 2>&5 4195 4638 ac_status=$? 4196 4639 - echo "$as_me:5801: \$? = $ac_status" >&5 4197 + echo "$as_me:5 982: \$? = $ac_status" >&54640 + echo "$as_me:5816: \$? = $ac_status" >&5 4198 4641 (exit $ac_status); } && 4199 4642 { ac_try='test -s conftest$ac_exeext' 4200 4643 - { (eval echo "$as_me:5804: \"$ac_try\"") >&5 4201 + { (eval echo "$as_me:5 985: \"$ac_try\"") >&54644 + { (eval echo "$as_me:5819: \"$ac_try\"") >&5 4202 4645 (eval $ac_try) 2>&5 4203 4646 ac_status=$? 4204 4647 - echo "$as_me:5807: \$? = $ac_status" >&5 4205 + echo "$as_me:5 988: \$? = $ac_status" >&54648 + echo "$as_me:5822: \$? = $ac_status" >&5 4206 4649 (exit $ac_status); }; }; then 4207 4650 - echo "$as_me:5809: result: yes" >&5 4208 + echo "$as_me:5 990: result: yes" >&54651 + echo "$as_me:5824: result: yes" >&5 4209 4652 echo "${ECHO_T}yes" >&6 4210 4653 else … … 4212 4655 cat conftest.$ac_ext >&5 4213 4656 -echo "$as_me:5814: result: no" >&5 4214 +echo "$as_me:5 995: result: no" >&54657 +echo "$as_me:5829: result: no" >&5 4215 4658 echo "${ECHO_T}no" >&6 4216 4659 LIBS="$cf_ncurses_SAVE" 4217 4660 fi 4218 @@ -5831,48 + 6012,87 @@4661 @@ -5831,48 +5846,87 @@ 4219 4662 cf_ncuconfig_root=ncurses 4220 4663 … … 4227 4670 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4228 4671 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4229 +echo "$as_me: 6021: checking for $ac_word" >&54672 +echo "$as_me:5855: checking for $ac_word" >&5 4230 4673 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4231 4674 +if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then … … 4242 4685 + $as_executable_p "$ac_dir/$ac_word" || continue 4243 4686 +ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" 4244 +echo "$as_me: 6036: found $ac_dir/$ac_word" >&54687 +echo "$as_me:5870: found $ac_dir/$ac_word" >&5 4245 4688 +break 4246 4689 +done … … 4250 4693 +NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG 4251 4694 +if test -n "$NCURSES_CONFIG"; then 4252 + echo "$as_me: 6044: result: $NCURSES_CONFIG" >&54695 + echo "$as_me:5878: result: $NCURSES_CONFIG" >&5 4253 4696 +echo "${ECHO_T}$NCURSES_CONFIG" >&6 4254 4697 +else 4255 + echo "$as_me: 6047: result: no" >&54698 + echo "$as_me:5881: result: no" >&5 4256 4699 +echo "${ECHO_T}no" >&6 4257 4700 +fi … … 4267 4710 set dummy $ac_prog; ac_word=$2 4268 4711 -echo "$as_me:5838: checking for $ac_word" >&5 4269 +echo "$as_me: 6060: checking for $ac_word" >&54712 +echo "$as_me:5894: checking for $ac_word" >&5 4270 4713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4271 4714 -if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then … … 4293 4736 + $as_executable_p "$ac_dir/$ac_word" || continue 4294 4737 +ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" 4295 +echo "$as_me: 6075: found $ac_dir/$ac_word" >&54738 +echo "$as_me:5909: found $ac_dir/$ac_word" >&5 4296 4739 +break 4297 4740 done … … 4308 4751 +ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG 4309 4752 +if test -n "$ac_ct_NCURSES_CONFIG"; then 4310 + echo "$as_me: 6083: result: $ac_ct_NCURSES_CONFIG" >&54753 + echo "$as_me:5917: result: $ac_ct_NCURSES_CONFIG" >&5 4311 4754 +echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 4312 4755 else 4313 4756 - echo "$as_me:5869: result: no" >&5 4314 + echo "$as_me: 6086: result: no" >&54757 + echo "$as_me:5920: result: no" >&5 4315 4758 echo "${ECHO_T}no" >&6 4316 4759 fi … … 4327 4770 if test "$NCURSES_CONFIG" != none ; then 4328 4771 4329 @@ -5881,7 + 6101,7 @@4772 @@ -5881,7 +5935,7 @@ 4330 4773 4331 4774 # even with config script, some packages use no-override for curses.h 4332 4775 4333 4776 -echo "$as_me:5884: checking if we have identified curses headers" >&5 4334 +echo "$as_me: 6104: checking if we have identified curses headers" >&54777 +echo "$as_me:5938: checking if we have identified curses headers" >&5 4335 4778 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 4336 4779 if test "${cf_cv_ncurses_header+set}" = set; then 4337 4780 echo $ECHO_N "(cached) $ECHO_C" >&6 4338 @@ -5889,13 + 6109,13 @@4781 @@ -5889,13 +5943,13 @@ 4339 4782 4340 4783 cf_cv_ncurses_header=none … … 4351 4794 cat >conftest.$ac_ext <<_ACEOF 4352 4795 -#line 5898 "configure" 4353 +#line 6118"configure"4796 +#line 5952 "configure" 4354 4797 #include "confdefs.h" 4355 4798 #include <${cf_header}> 4356 4799 int 4357 @@ -5907,16 + 6127,16 @@4800 @@ -5907,16 +5961,16 @@ 4358 4801 } 4359 4802 _ACEOF 4360 4803 rm -f conftest.$ac_objext 4361 4804 -if { (eval echo "$as_me:5910: \"$ac_compile\"") >&5 4362 +if { (eval echo "$as_me: 6130: \"$ac_compile\"") >&54805 +if { (eval echo "$as_me:5964: \"$ac_compile\"") >&5 4363 4806 (eval $ac_compile) 2>&5 4364 4807 ac_status=$? 4365 4808 - echo "$as_me:5913: \$? = $ac_status" >&5 4366 + echo "$as_me: 6133: \$? = $ac_status" >&54809 + echo "$as_me:5967: \$? = $ac_status" >&5 4367 4810 (exit $ac_status); } && 4368 4811 { ac_try='test -s conftest.$ac_objext' 4369 4812 - { (eval echo "$as_me:5916: \"$ac_try\"") >&5 4370 + { (eval echo "$as_me: 6136: \"$ac_try\"") >&54813 + { (eval echo "$as_me:5970: \"$ac_try\"") >&5 4371 4814 (eval $ac_try) 2>&5 4372 4815 ac_status=$? 4373 4816 - echo "$as_me:5919: \$? = $ac_status" >&5 4374 + echo "$as_me: 6139: \$? = $ac_status" >&54817 + echo "$as_me:5973: \$? = $ac_status" >&5 4375 4818 (exit $ac_status); }; }; then 4376 4819 cf_cv_ncurses_header=$cf_header; break 4377 4820 else 4378 @@ -5927,11 + 6147,11 @@4821 @@ -5927,11 +5981,11 @@ 4379 4822 done 4380 4823 4381 4824 fi 4382 4825 -echo "$as_me:5930: result: $cf_cv_ncurses_header" >&5 4383 +echo "$as_me: 6150: result: $cf_cv_ncurses_header" >&54826 +echo "$as_me:5984: result: $cf_cv_ncurses_header" >&5 4384 4827 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 4385 4828 4386 4829 if test "$cf_cv_ncurses_header" = none ; then 4387 4830 - { { echo "$as_me:5934: error: No curses header-files found" >&5 4388 + { { echo "$as_me: 6154: error: No curses header-files found" >&54831 + { { echo "$as_me:5988: error: No curses header-files found" >&5 4389 4832 echo "$as_me: error: No curses header-files found" >&2;} 4390 4833 { (exit 1); exit 1; }; } 4391 4834 fi 4392 @@ -5941,23 + 6161,23 @@4835 @@ -5941,23 +5995,23 @@ 4393 4836 for ac_header in $cf_cv_ncurses_header 4394 4837 do 4395 4838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4396 4839 -echo "$as_me:5944: checking for $ac_header" >&5 4397 +echo "$as_me: 6164: checking for $ac_header" >&54840 +echo "$as_me:5998: checking for $ac_header" >&5 4398 4841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4399 4842 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 4402 4845 cat >conftest.$ac_ext <<_ACEOF 4403 4846 -#line 5950 "configure" 4404 +#line 6 170"configure"4847 +#line 6004 "configure" 4405 4848 #include "confdefs.h" 4406 4849 #include <$ac_header> 4407 4850 _ACEOF 4408 4851 -if { (eval echo "$as_me:5954: \"$ac_cpp conftest.$ac_ext\"") >&5 4409 +if { (eval echo "$as_me:6 174: \"$ac_cpp conftest.$ac_ext\"") >&54852 +if { (eval echo "$as_me:6008: \"$ac_cpp conftest.$ac_ext\"") >&5 4410 4853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4411 4854 ac_status=$? … … 4414 4857 cat conftest.err >&5 4415 4858 - echo "$as_me:5960: \$? = $ac_status" >&5 4416 + echo "$as_me:6 180: \$? = $ac_status" >&54859 + echo "$as_me:6014: \$? = $ac_status" >&5 4417 4860 (exit $ac_status); } >/dev/null; then 4418 4861 if test -s conftest.err; then 4419 4862 ac_cpp_err=$ac_c_preproc_warn_flag 4420 @@ -5976,7 +6 196,7 @@4863 @@ -5976,7 +6030,7 @@ 4421 4864 fi 4422 4865 rm -f conftest.err conftest.$ac_ext 4423 4866 fi 4424 4867 -echo "$as_me:5979: result: `eval echo '${'$as_ac_Header'}'`" >&5 4425 +echo "$as_me:6 199: result: `eval echo '${'$as_ac_Header'}'`" >&54868 +echo "$as_me:6033: result: `eval echo '${'$as_ac_Header'}'`" >&5 4426 4869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4427 4870 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4428 4871 cat >>confdefs.h <<EOF 4429 @@ -6029,7 +6 249,7 @@4872 @@ -6029,7 +6083,7 @@ 4430 4873 cf_save_CPPFLAGS=$CPPFLAGS 4431 4874 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4432 4875 cat >conftest.$ac_ext <<_ACEOF 4433 4876 -#line 6032 "configure" 4434 +#line 6 252"configure"4877 +#line 6086 "configure" 4435 4878 #include "confdefs.h" 4436 4879 #include <stdio.h> 4437 4880 int 4438 @@ -6041,16 +6 261,16 @@4881 @@ -6041,16 +6095,16 @@ 4439 4882 } 4440 4883 _ACEOF 4441 4884 rm -f conftest.$ac_objext 4442 4885 -if { (eval echo "$as_me:6044: \"$ac_compile\"") >&5 4443 +if { (eval echo "$as_me:6 264: \"$ac_compile\"") >&54886 +if { (eval echo "$as_me:6098: \"$ac_compile\"") >&5 4444 4887 (eval $ac_compile) 2>&5 4445 4888 ac_status=$? 4446 4889 - echo "$as_me:6047: \$? = $ac_status" >&5 4447 + echo "$as_me:6 267: \$? = $ac_status" >&54890 + echo "$as_me:6101: \$? = $ac_status" >&5 4448 4891 (exit $ac_status); } && 4449 4892 { ac_try='test -s conftest.$ac_objext' 4450 4893 - { (eval echo "$as_me:6050: \"$ac_try\"") >&5 4451 + { (eval echo "$as_me:6 270: \"$ac_try\"") >&54894 + { (eval echo "$as_me:6104: \"$ac_try\"") >&5 4452 4895 (eval $ac_try) 2>&5 4453 4896 ac_status=$? 4454 4897 - echo "$as_me:6053: \$? = $ac_status" >&5 4455 + echo "$as_me:6 273: \$? = $ac_status" >&54898 + echo "$as_me:6107: \$? = $ac_status" >&5 4456 4899 (exit $ac_status); }; }; then 4457 4900 : 4458 4901 else 4459 @@ -6067,7 +6 287,7 @@4902 @@ -6067,7 +6121,7 @@ 4460 4903 if test "$cf_have_incdir" = no ; then 4461 4904 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 4462 4905 4463 4906 -echo "${as_me:-configure}:6070: testing adding $cf_add_incdir to include-path ..." 1>&5 4464 +echo "${as_me:-configure}:6 290: testing adding $cf_add_incdir to include-path ..." 1>&54907 +echo "${as_me:-configure}:6124: testing adding $cf_add_incdir to include-path ..." 1>&5 4465 4908 4466 4909 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4467 4910 4468 @@ -6084,7 +6 304,7 @@4911 @@ -6084,7 +6138,7 @@ 4469 4912 4470 4913 } 4471 4914 4472 4915 -echo "$as_me:6087: checking for $cf_ncuhdr_root header in include-path" >&5 4473 +echo "$as_me:6 307: checking for $cf_ncuhdr_root header in include-path" >&54916 +echo "$as_me:6141: checking for $cf_ncuhdr_root header in include-path" >&5 4474 4917 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 4475 4918 if test "${cf_cv_ncurses_h+set}" = set; then 4476 4919 echo $ECHO_N "(cached) $ECHO_C" >&6 4477 @@ -6096,7 +6 316,7 @@4920 @@ -6096,7 +6150,7 @@ 4478 4921 do 4479 4922 4480 4923 cat >conftest.$ac_ext <<_ACEOF 4481 4924 -#line 6099 "configure" 4482 +#line 6 319"configure"4925 +#line 6153 "configure" 4483 4926 #include "confdefs.h" 4484 4927 4485 4928 #include <$cf_header> 4486 @@ -6120,16 +6 340,16 @@4929 @@ -6120,16 +6174,16 @@ 4487 4930 } 4488 4931 _ACEOF 4489 4932 rm -f conftest.$ac_objext 4490 4933 -if { (eval echo "$as_me:6123: \"$ac_compile\"") >&5 4491 +if { (eval echo "$as_me:6 343: \"$ac_compile\"") >&54934 +if { (eval echo "$as_me:6177: \"$ac_compile\"") >&5 4492 4935 (eval $ac_compile) 2>&5 4493 4936 ac_status=$? 4494 4937 - echo "$as_me:6126: \$? = $ac_status" >&5 4495 + echo "$as_me:6 346: \$? = $ac_status" >&54938 + echo "$as_me:6180: \$? = $ac_status" >&5 4496 4939 (exit $ac_status); } && 4497 4940 { ac_try='test -s conftest.$ac_objext' 4498 4941 - { (eval echo "$as_me:6129: \"$ac_try\"") >&5 4499 + { (eval echo "$as_me:6 349: \"$ac_try\"") >&54942 + { (eval echo "$as_me:6183: \"$ac_try\"") >&5 4500 4943 (eval $ac_try) 2>&5 4501 4944 ac_status=$? 4502 4945 - echo "$as_me:6132: \$? = $ac_status" >&5 4503 + echo "$as_me:6 352: \$? = $ac_status" >&54946 + echo "$as_me:6186: \$? = $ac_status" >&5 4504 4947 (exit $ac_status); }; }; then 4505 4948 cf_cv_ncurses_h=$cf_header 4506 4949 4507 @@ -6144,14 +6 364,14 @@4950 @@ -6144,14 +6198,14 @@ 4508 4951 done 4509 4952 4510 4953 fi 4511 4954 -echo "$as_me:6147: result: $cf_cv_ncurses_h" >&5 4512 +echo "$as_me:6 367: result: $cf_cv_ncurses_h" >&54955 +echo "$as_me:6201: result: $cf_cv_ncurses_h" >&5 4513 4956 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 4514 4957 … … 4518 4961 4519 4962 -echo "$as_me:6154: checking for $cf_ncuhdr_root include-path" >&5 4520 +echo "$as_me:6 374: checking for $cf_ncuhdr_root include-path" >&54963 +echo "$as_me:6208: checking for $cf_ncuhdr_root include-path" >&5 4521 4964 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 4522 4965 if test "${cf_cv_ncurses_h2+set}" = set; then 4523 4966 echo $ECHO_N "(cached) $ECHO_C" >&6 4524 @@ -6291,7 +6 511,7 @@4967 @@ -6291,7 +6345,7 @@ 4525 4968 cf_save_CPPFLAGS=$CPPFLAGS 4526 4969 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4527 4970 cat >conftest.$ac_ext <<_ACEOF 4528 4971 -#line 6294 "configure" 4529 +#line 6 514"configure"4972 +#line 6348 "configure" 4530 4973 #include "confdefs.h" 4531 4974 #include <stdio.h> 4532 4975 int 4533 @@ -6303,16 +6 523,16 @@4976 @@ -6303,16 +6357,16 @@ 4534 4977 } 4535 4978 _ACEOF 4536 4979 rm -f conftest.$ac_objext 4537 4980 -if { (eval echo "$as_me:6306: \"$ac_compile\"") >&5 4538 +if { (eval echo "$as_me:6 526: \"$ac_compile\"") >&54981 +if { (eval echo "$as_me:6360: \"$ac_compile\"") >&5 4539 4982 (eval $ac_compile) 2>&5 4540 4983 ac_status=$? 4541 4984 - echo "$as_me:6309: \$? = $ac_status" >&5 4542 + echo "$as_me:6 529: \$? = $ac_status" >&54985 + echo "$as_me:6363: \$? = $ac_status" >&5 4543 4986 (exit $ac_status); } && 4544 4987 { ac_try='test -s conftest.$ac_objext' 4545 4988 - { (eval echo "$as_me:6312: \"$ac_try\"") >&5 4546 + { (eval echo "$as_me:6 532: \"$ac_try\"") >&54989 + { (eval echo "$as_me:6366: \"$ac_try\"") >&5 4547 4990 (eval $ac_try) 2>&5 4548 4991 ac_status=$? 4549 4992 - echo "$as_me:6315: \$? = $ac_status" >&5 4550 + echo "$as_me:6 535: \$? = $ac_status" >&54993 + echo "$as_me:6369: \$? = $ac_status" >&5 4551 4994 (exit $ac_status); }; }; then 4552 4995 : 4553 4996 else 4554 @@ -6329,7 +6 549,7 @@4997 @@ -6329,7 +6383,7 @@ 4555 4998 if test "$cf_have_incdir" = no ; then 4556 4999 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 4557 5000 4558 5001 -echo "${as_me:-configure}:6332: testing adding $cf_add_incdir to include-path ..." 1>&5 4559 +echo "${as_me:-configure}:6 552: testing adding $cf_add_incdir to include-path ..." 1>&55002 +echo "${as_me:-configure}:6386: testing adding $cf_add_incdir to include-path ..." 1>&5 4560 5003 4561 5004 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4562 5005 4563 @@ -6350,7 +6 570,7 @@5006 @@ -6350,7 +6404,7 @@ 4564 5007 do 4565 5008 4566 5009 cat >conftest.$ac_ext <<_ACEOF 4567 5010 -#line 6353 "configure" 4568 +#line 6 573"configure"5011 +#line 6407 "configure" 4569 5012 #include "confdefs.h" 4570 5013 4571 5014 #include <$cf_header> 4572 @@ -6374,16 +6 594,16 @@5015 @@ -6374,16 +6428,16 @@ 4573 5016 } 4574 5017 _ACEOF 4575 5018 rm -f conftest.$ac_objext 4576 5019 -if { (eval echo "$as_me:6377: \"$ac_compile\"") >&5 4577 +if { (eval echo "$as_me:6 597: \"$ac_compile\"") >&55020 +if { (eval echo "$as_me:6431: \"$ac_compile\"") >&5 4578 5021 (eval $ac_compile) 2>&5 4579 5022 ac_status=$? 4580 5023 - echo "$as_me:6380: \$? = $ac_status" >&5 4581 + echo "$as_me:6 600: \$? = $ac_status" >&55024 + echo "$as_me:6434: \$? = $ac_status" >&5 4582 5025 (exit $ac_status); } && 4583 5026 { ac_try='test -s conftest.$ac_objext' 4584 5027 - { (eval echo "$as_me:6383: \"$ac_try\"") >&5 4585 + { (eval echo "$as_me:6 603: \"$ac_try\"") >&55028 + { (eval echo "$as_me:6437: \"$ac_try\"") >&5 4586 5029 (eval $ac_try) 2>&5 4587 5030 ac_status=$? 4588 5031 - echo "$as_me:6386: \$? = $ac_status" >&5 4589 + echo "$as_me:6 606: \$? = $ac_status" >&55032 + echo "$as_me:6440: \$? = $ac_status" >&5 4590 5033 (exit $ac_status); }; }; then 4591 5034 cf_cv_ncurses_h2=$cf_header 4592 5035 4593 @@ -6404,12 +6 624,12 @@5036 @@ -6404,12 +6458,12 @@ 4594 5037 CPPFLAGS="$cf_save2_CPPFLAGS" 4595 5038 test "$cf_cv_ncurses_h2" != no && break 4596 5039 done 4597 5040 - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6407: error: not found" >&5 4598 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6 627: error: not found" >&55041 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6461: error: not found" >&5 4599 5042 echo "$as_me: error: not found" >&2;} 4600 5043 { (exit 1); exit 1; }; } … … 4602 5045 fi 4603 5046 -echo "$as_me:6412: result: $cf_cv_ncurses_h2" >&5 4604 +echo "$as_me:6 632: result: $cf_cv_ncurses_h2" >&55047 +echo "$as_me:6466: result: $cf_cv_ncurses_h2" >&5 4605 5048 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 4606 5049 4607 5050 cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` 4608 @@ -6442,7 +6 662,7 @@5051 @@ -6442,7 +6496,7 @@ 4609 5052 cf_save_CPPFLAGS=$CPPFLAGS 4610 5053 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4611 5054 cat >conftest.$ac_ext <<_ACEOF 4612 5055 -#line 6445 "configure" 4613 +#line 6 665"configure"5056 +#line 6499 "configure" 4614 5057 #include "confdefs.h" 4615 5058 #include <stdio.h> 4616 5059 int 4617 @@ -6454,16 +6 674,16 @@5060 @@ -6454,16 +6508,16 @@ 4618 5061 } 4619 5062 _ACEOF 4620 5063 rm -f conftest.$ac_objext 4621 5064 -if { (eval echo "$as_me:6457: \"$ac_compile\"") >&5 4622 +if { (eval echo "$as_me:6 677: \"$ac_compile\"") >&55065 +if { (eval echo "$as_me:6511: \"$ac_compile\"") >&5 4623 5066 (eval $ac_compile) 2>&5 4624 5067 ac_status=$? 4625 5068 - echo "$as_me:6460: \$? = $ac_status" >&5 4626 + echo "$as_me:6 680: \$? = $ac_status" >&55069 + echo "$as_me:6514: \$? = $ac_status" >&5 4627 5070 (exit $ac_status); } && 4628 5071 { ac_try='test -s conftest.$ac_objext' 4629 5072 - { (eval echo "$as_me:6463: \"$ac_try\"") >&5 4630 + { (eval echo "$as_me:6 683: \"$ac_try\"") >&55073 + { (eval echo "$as_me:6517: \"$ac_try\"") >&5 4631 5074 (eval $ac_try) 2>&5 4632 5075 ac_status=$? 4633 5076 - echo "$as_me:6466: \$? = $ac_status" >&5 4634 + echo "$as_me:6 686: \$? = $ac_status" >&55077 + echo "$as_me:6520: \$? = $ac_status" >&5 4635 5078 (exit $ac_status); }; }; then 4636 5079 : 4637 5080 else 4638 @@ -6480,7 +6 700,7 @@5081 @@ -6480,7 +6534,7 @@ 4639 5082 if test "$cf_have_incdir" = no ; then 4640 5083 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 4641 5084 4642 5085 -echo "${as_me:-configure}:6483: testing adding $cf_add_incdir to include-path ..." 1>&5 4643 +echo "${as_me:-configure}:6 703: testing adding $cf_add_incdir to include-path ..." 1>&55086 +echo "${as_me:-configure}:6537: testing adding $cf_add_incdir to include-path ..." 1>&5 4644 5087 4645 5088 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 4646 5089 4647 @@ -6523,7 +6 743,7 @@5090 @@ -6523,7 +6577,7 @@ 4648 5091 ;; 4649 5092 esac 4650 5093 4651 5094 -echo "$as_me:6526: checking for terminfo header" >&5 4652 +echo "$as_me:6 746: checking for terminfo header" >&55095 +echo "$as_me:6580: checking for terminfo header" >&5 4653 5096 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 4654 5097 if test "${cf_cv_term_header+set}" = set; then 4655 5098 echo $ECHO_N "(cached) $ECHO_C" >&6 4656 @@ -6541,7 +6 761,7 @@5099 @@ -6541,7 +6595,7 @@ 4657 5100 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" 4658 5101 do 4659 5102 cat >conftest.$ac_ext <<_ACEOF 4660 5103 -#line 6544 "configure" 4661 +#line 6 764"configure"5104 +#line 6598 "configure" 4662 5105 #include "confdefs.h" 4663 5106 #include <stdio.h> 4664 5107 #include <${cf_cv_ncurses_header:-curses.h}> 4665 @@ -6556,16 +6 776,16 @@5108 @@ -6556,16 +6610,16 @@ 4666 5109 } 4667 5110 _ACEOF 4668 5111 rm -f conftest.$ac_objext 4669 5112 -if { (eval echo "$as_me:6559: \"$ac_compile\"") >&5 4670 +if { (eval echo "$as_me:6 779: \"$ac_compile\"") >&55113 +if { (eval echo "$as_me:6613: \"$ac_compile\"") >&5 4671 5114 (eval $ac_compile) 2>&5 4672 5115 ac_status=$? 4673 5116 - echo "$as_me:6562: \$? = $ac_status" >&5 4674 + echo "$as_me:6 782: \$? = $ac_status" >&55117 + echo "$as_me:6616: \$? = $ac_status" >&5 4675 5118 (exit $ac_status); } && 4676 5119 { ac_try='test -s conftest.$ac_objext' 4677 5120 - { (eval echo "$as_me:6565: \"$ac_try\"") >&5 4678 + { (eval echo "$as_me:6 785: \"$ac_try\"") >&55121 + { (eval echo "$as_me:6619: \"$ac_try\"") >&5 4679 5122 (eval $ac_try) 2>&5 4680 5123 ac_status=$? 4681 5124 - echo "$as_me:6568: \$? = $ac_status" >&5 4682 + echo "$as_me:6 788: \$? = $ac_status" >&55125 + echo "$as_me:6622: \$? = $ac_status" >&5 4683 5126 (exit $ac_status); }; }; then 4684 5127 4685 5128 cf_cv_term_header="$cf_test" 4686 @@ -6581,7 +6 801,7 @@5129 @@ -6581,7 +6635,7 @@ 4687 5130 done 4688 5131 4689 5132 fi 4690 5133 -echo "$as_me:6584: result: $cf_cv_term_header" >&5 4691 +echo "$as_me:6 804: result: $cf_cv_term_header" >&55134 +echo "$as_me:6638: result: $cf_cv_term_header" >&5 4692 5135 echo "${ECHO_T}$cf_cv_term_header" >&6 4693 5136 4694 5137 # Set definitions to allow ifdef'ing to accommodate subdirectories 4695 @@ -6615,7 +6 835,7 @@5138 @@ -6615,7 +6669,7 @@ 4696 5139 #define NCURSES 1 4697 5140 EOF 4698 5141 4699 5142 -echo "$as_me:6618: checking for ncurses version" >&5 4700 +echo "$as_me:6 838: checking for ncurses version" >&55143 +echo "$as_me:6672: checking for ncurses version" >&5 4701 5144 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 4702 5145 if test "${cf_cv_ncurses_version+set}" = set; then 4703 5146 echo $ECHO_N "(cached) $ECHO_C" >&6 4704 @@ -6641,10 +6 861,10 @@5147 @@ -6641,10 +6695,10 @@ 4705 5148 #endif 4706 5149 EOF 4707 5150 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" 4708 5151 - { (eval echo "$as_me:6644: \"$cf_try\"") >&5 4709 + { (eval echo "$as_me:6 864: \"$cf_try\"") >&55152 + { (eval echo "$as_me:6698: \"$cf_try\"") >&5 4710 5153 (eval $cf_try) 2>&5 4711 5154 ac_status=$? 4712 5155 - echo "$as_me:6647: \$? = $ac_status" >&5 4713 + echo "$as_me:6 867: \$? = $ac_status" >&55156 + echo "$as_me:6701: \$? = $ac_status" >&5 4714 5157 (exit $ac_status); } 4715 5158 if test -f conftest.out ; then 4716 5159 cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` 4717 @@ -6654,7 +6 874,7 @@5160 @@ -6654,7 +6708,7 @@ 4718 5161 4719 5162 else 4720 5163 cat >conftest.$ac_ext <<_ACEOF 4721 5164 -#line 6657 "configure" 4722 +#line 6 877"configure"5165 +#line 6711 "configure" 4723 5166 #include "confdefs.h" 4724 5167 4725 5168 #include <${cf_cv_ncurses_header:-curses.h}> 4726 @@ -6679,15 +6 899,15 @@5169 @@ -6679,15 +6733,15 @@ 4727 5170 } 4728 5171 _ACEOF 4729 5172 rm -f conftest$ac_exeext 4730 5173 -if { (eval echo "$as_me:6682: \"$ac_link\"") >&5 4731 +if { (eval echo "$as_me:6 902: \"$ac_link\"") >&55174 +if { (eval echo "$as_me:6736: \"$ac_link\"") >&5 4732 5175 (eval $ac_link) 2>&5 4733 5176 ac_status=$? 4734 5177 - echo "$as_me:6685: \$? = $ac_status" >&5 4735 + echo "$as_me:6 905: \$? = $ac_status" >&55178 + echo "$as_me:6739: \$? = $ac_status" >&5 4736 5179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4737 5180 - { (eval echo "$as_me:6687: \"$ac_try\"") >&5 4738 + { (eval echo "$as_me:6 907: \"$ac_try\"") >&55181 + { (eval echo "$as_me:6741: \"$ac_try\"") >&5 4739 5182 (eval $ac_try) 2>&5 4740 5183 ac_status=$? 4741 5184 - echo "$as_me:6690: \$? = $ac_status" >&5 4742 + echo "$as_me:6 910: \$? = $ac_status" >&55185 + echo "$as_me:6744: \$? = $ac_status" >&5 4743 5186 (exit $ac_status); }; }; then 4744 5187 4745 5188 cf_cv_ncurses_version=`cat $cf_tempfile` 4746 @@ -6701,7 +6 921,7 @@5189 @@ -6701,7 +6755,7 @@ 4747 5190 rm -f $cf_tempfile 4748 5191 4749 5192 fi 4750 5193 -echo "$as_me:6704: result: $cf_cv_ncurses_version" >&5 4751 +echo "$as_me:6 924: result: $cf_cv_ncurses_version" >&55194 +echo "$as_me:6758: result: $cf_cv_ncurses_version" >&5 4752 5195 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 4753 5196 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF 4754 5197 #define NCURSES 1 4755 @@ -6713,7 +6 933,7 @@5198 @@ -6713,7 +6767,7 @@ 4756 5199 # to link gpm. 4757 5200 cf_ncurses_LIBS="" 4758 5201 cf_ncurses_SAVE="$LIBS" 4759 5202 -echo "$as_me:6716: checking for Gpm_Open in -lgpm" >&5 4760 +echo "$as_me:6 936: checking for Gpm_Open in -lgpm" >&55203 +echo "$as_me:6770: checking for Gpm_Open in -lgpm" >&5 4761 5204 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 4762 5205 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 4763 5206 echo $ECHO_N "(cached) $ECHO_C" >&6 4764 @@ -6721,7 +6 941,7 @@5207 @@ -6721,7 +6775,7 @@ 4765 5208 ac_check_lib_save_LIBS=$LIBS 4766 5209 LIBS="-lgpm $LIBS" 4767 5210 cat >conftest.$ac_ext <<_ACEOF 4768 5211 -#line 6724 "configure" 4769 +#line 6 944"configure"5212 +#line 6778 "configure" 4770 5213 #include "confdefs.h" 4771 5214 4772 5215 /* Override any gcc2 internal prototype to avoid an error. */ 4773 @@ -6740,16 +6 960,16 @@5216 @@ -6740,16 +6794,16 @@ 4774 5217 } 4775 5218 _ACEOF 4776 5219 rm -f conftest.$ac_objext conftest$ac_exeext 4777 5220 -if { (eval echo "$as_me:6743: \"$ac_link\"") >&5 4778 +if { (eval echo "$as_me:6 963: \"$ac_link\"") >&55221 +if { (eval echo "$as_me:6797: \"$ac_link\"") >&5 4779 5222 (eval $ac_link) 2>&5 4780 5223 ac_status=$? 4781 5224 - echo "$as_me:6746: \$? = $ac_status" >&5 4782 + echo "$as_me:6 966: \$? = $ac_status" >&55225 + echo "$as_me:6800: \$? = $ac_status" >&5 4783 5226 (exit $ac_status); } && 4784 5227 { ac_try='test -s conftest$ac_exeext' 4785 5228 - { (eval echo "$as_me:6749: \"$ac_try\"") >&5 4786 + { (eval echo "$as_me:6 969: \"$ac_try\"") >&55229 + { (eval echo "$as_me:6803: \"$ac_try\"") >&5 4787 5230 (eval $ac_try) 2>&5 4788 5231 ac_status=$? 4789 5232 - echo "$as_me:6752: \$? = $ac_status" >&5 4790 + echo "$as_me:6 972: \$? = $ac_status" >&55233 + echo "$as_me:6806: \$? = $ac_status" >&5 4791 5234 (exit $ac_status); }; }; then 4792 5235 ac_cv_lib_gpm_Gpm_Open=yes 4793 5236 else 4794 @@ -6760,10 +6 980,10 @@5237 @@ -6760,10 +6814,10 @@ 4795 5238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4796 5239 LIBS=$ac_check_lib_save_LIBS 4797 5240 fi 4798 5241 -echo "$as_me:6763: result: $ac_cv_lib_gpm_Gpm_Open" >&5 4799 +echo "$as_me:6 983: result: $ac_cv_lib_gpm_Gpm_Open" >&55242 +echo "$as_me:6817: result: $ac_cv_lib_gpm_Gpm_Open" >&5 4800 5243 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 4801 5244 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 4802 5245 - echo "$as_me:6766: checking for initscr in -lgpm" >&5 4803 + echo "$as_me:6 986: checking for initscr in -lgpm" >&55246 + echo "$as_me:6820: checking for initscr in -lgpm" >&5 4804 5247 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 4805 5248 if test "${ac_cv_lib_gpm_initscr+set}" = set; then 4806 5249 echo $ECHO_N "(cached) $ECHO_C" >&6 4807 @@ -6771,7 +6 991,7 @@5250 @@ -6771,7 +6825,7 @@ 4808 5251 ac_check_lib_save_LIBS=$LIBS 4809 5252 LIBS="-lgpm $LIBS" 4810 5253 cat >conftest.$ac_ext <<_ACEOF 4811 5254 -#line 6774 "configure" 4812 +#line 6 994"configure"5255 +#line 6828 "configure" 4813 5256 #include "confdefs.h" 4814 5257 4815 5258 /* Override any gcc2 internal prototype to avoid an error. */ 4816 @@ -6790,16 + 7010,16 @@5259 @@ -6790,16 +6844,16 @@ 4817 5260 } 4818 5261 _ACEOF 4819 5262 rm -f conftest.$ac_objext conftest$ac_exeext 4820 5263 -if { (eval echo "$as_me:6793: \"$ac_link\"") >&5 4821 +if { (eval echo "$as_me: 7013: \"$ac_link\"") >&55264 +if { (eval echo "$as_me:6847: \"$ac_link\"") >&5 4822 5265 (eval $ac_link) 2>&5 4823 5266 ac_status=$? 4824 5267 - echo "$as_me:6796: \$? = $ac_status" >&5 4825 + echo "$as_me: 7016: \$? = $ac_status" >&55268 + echo "$as_me:6850: \$? = $ac_status" >&5 4826 5269 (exit $ac_status); } && 4827 5270 { ac_try='test -s conftest$ac_exeext' 4828 5271 - { (eval echo "$as_me:6799: \"$ac_try\"") >&5 4829 + { (eval echo "$as_me: 7019: \"$ac_try\"") >&55272 + { (eval echo "$as_me:6853: \"$ac_try\"") >&5 4830 5273 (eval $ac_try) 2>&5 4831 5274 ac_status=$? 4832 5275 - echo "$as_me:6802: \$? = $ac_status" >&5 4833 + echo "$as_me: 7022: \$? = $ac_status" >&55276 + echo "$as_me:6856: \$? = $ac_status" >&5 4834 5277 (exit $ac_status); }; }; then 4835 5278 ac_cv_lib_gpm_initscr=yes 4836 5279 else 4837 @@ -6810,7 + 7030,7 @@5280 @@ -6810,7 +6864,7 @@ 4838 5281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4839 5282 LIBS=$ac_check_lib_save_LIBS 4840 5283 fi 4841 5284 -echo "$as_me:6813: result: $ac_cv_lib_gpm_initscr" >&5 4842 +echo "$as_me: 7033: result: $ac_cv_lib_gpm_initscr" >&55285 +echo "$as_me:6867: result: $ac_cv_lib_gpm_initscr" >&5 4843 5286 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 4844 5287 if test $ac_cv_lib_gpm_initscr = yes; then 4845 5288 LIBS="$cf_ncurses_SAVE" 4846 @@ -6825,7 + 7045,7 @@5289 @@ -6825,7 +6879,7 @@ 4847 5290 # This is only necessary if you are linking against an obsolete 4848 5291 # version of ncurses (but it should do no harm, since it's static). 4849 5292 if test "$cf_nculib_root" = ncurses ; then 4850 5293 - echo "$as_me:6828: checking for tgoto in -lmytinfo" >&5 4851 + echo "$as_me: 7048: checking for tgoto in -lmytinfo" >&55294 + echo "$as_me:6882: checking for tgoto in -lmytinfo" >&5 4852 5295 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 4853 5296 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then 4854 5297 echo $ECHO_N "(cached) $ECHO_C" >&6 4855 @@ -6833,7 + 7053,7 @@5298 @@ -6833,7 +6887,7 @@ 4856 5299 ac_check_lib_save_LIBS=$LIBS 4857 5300 LIBS="-lmytinfo $LIBS" 4858 5301 cat >conftest.$ac_ext <<_ACEOF 4859 5302 -#line 6836 "configure" 4860 +#line 7056"configure"5303 +#line 6890 "configure" 4861 5304 #include "confdefs.h" 4862 5305 4863 5306 /* Override any gcc2 internal prototype to avoid an error. */ 4864 @@ -6852,16 + 7072,16 @@5307 @@ -6852,16 +6906,16 @@ 4865 5308 } 4866 5309 _ACEOF 4867 5310 rm -f conftest.$ac_objext conftest$ac_exeext 4868 5311 -if { (eval echo "$as_me:6855: \"$ac_link\"") >&5 4869 +if { (eval echo "$as_me: 7075: \"$ac_link\"") >&55312 +if { (eval echo "$as_me:6909: \"$ac_link\"") >&5 4870 5313 (eval $ac_link) 2>&5 4871 5314 ac_status=$? 4872 5315 - echo "$as_me:6858: \$? = $ac_status" >&5 4873 + echo "$as_me: 7078: \$? = $ac_status" >&55316 + echo "$as_me:6912: \$? = $ac_status" >&5 4874 5317 (exit $ac_status); } && 4875 5318 { ac_try='test -s conftest$ac_exeext' 4876 5319 - { (eval echo "$as_me:6861: \"$ac_try\"") >&5 4877 + { (eval echo "$as_me: 7081: \"$ac_try\"") >&55320 + { (eval echo "$as_me:6915: \"$ac_try\"") >&5 4878 5321 (eval $ac_try) 2>&5 4879 5322 ac_status=$? 4880 5323 - echo "$as_me:6864: \$? = $ac_status" >&5 4881 + echo "$as_me: 7084: \$? = $ac_status" >&55324 + echo "$as_me:6918: \$? = $ac_status" >&5 4882 5325 (exit $ac_status); }; }; then 4883 5326 ac_cv_lib_mytinfo_tgoto=yes 4884 5327 else 4885 @@ -6872,7 + 7092,7 @@5328 @@ -6872,7 +6926,7 @@ 4886 5329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4887 5330 LIBS=$ac_check_lib_save_LIBS 4888 5331 fi 4889 5332 -echo "$as_me:6875: result: $ac_cv_lib_mytinfo_tgoto" >&5 4890 +echo "$as_me: 7095: result: $ac_cv_lib_mytinfo_tgoto" >&55333 +echo "$as_me:6929: result: $ac_cv_lib_mytinfo_tgoto" >&5 4891 5334 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 4892 5335 if test $ac_cv_lib_mytinfo_tgoto = yes; then 4893 5336 cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" 4894 @@ -6891,13 + 7111,13 @@5337 @@ -6891,13 +6945,13 @@ 4895 5338 4896 5339 eval 'cf_cv_have_lib_'$cf_nculib_root'=no' 4897 5340 cf_libdir="" 4898 5341 - echo "$as_me:6894: checking for initscr" >&5 4899 + echo "$as_me: 7114: checking for initscr" >&55342 + echo "$as_me:6948: checking for initscr" >&5 4900 5343 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 4901 5344 if test "${ac_cv_func_initscr+set}" = set; then … … 4904 5347 cat >conftest.$ac_ext <<_ACEOF 4905 5348 -#line 6900 "configure" 4906 +#line 7120"configure"5349 +#line 6954 "configure" 4907 5350 #include "confdefs.h" 4908 5351 /* System header to define __stub macros and hopefully few prototypes, 4909 5352 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 @@ 4911 5363 } 4912 5364 _ACEOF 4913 5365 rm -f conftest.$ac_objext conftest$ac_exeext 4914 5366 -if { (eval echo "$as_me:6931: \"$ac_link\"") >&5 4915 +if { (eval echo "$as_me: 7151: \"$ac_link\"") >&55367 +if { (eval echo "$as_me:6985: \"$ac_link\"") >&5 4916 5368 (eval $ac_link) 2>&5 4917 5369 ac_status=$? 4918 5370 - echo "$as_me:6934: \$? = $ac_status" >&5 4919 + echo "$as_me: 7154: \$? = $ac_status" >&55371 + echo "$as_me:6988: \$? = $ac_status" >&5 4920 5372 (exit $ac_status); } && 4921 5373 { ac_try='test -s conftest$ac_exeext' 4922 5374 - { (eval echo "$as_me:6937: \"$ac_try\"") >&5 4923 + { (eval echo "$as_me: 7157: \"$ac_try\"") >&55375 + { (eval echo "$as_me:6991: \"$ac_try\"") >&5 4924 5376 (eval $ac_try) 2>&5 4925 5377 ac_status=$? 4926 5378 - echo "$as_me:6940: \$? = $ac_status" >&5 4927 + echo "$as_me: 7160: \$? = $ac_status" >&55379 + echo "$as_me:6994: \$? = $ac_status" >&5 4928 5380 (exit $ac_status); }; }; then 4929 5381 ac_cv_func_initscr=yes 4930 5382 else 4931 @@ -6947,18 +7 167,18 @@5383 @@ -6947,18 +7001,18 @@ 4932 5384 fi 4933 5385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4934 5386 fi 4935 5387 -echo "$as_me:6950: result: $ac_cv_func_initscr" >&5 4936 +echo "$as_me:7 170: result: $ac_cv_func_initscr" >&55388 +echo "$as_me:7004: result: $ac_cv_func_initscr" >&5 4937 5389 echo "${ECHO_T}$ac_cv_func_initscr" >&6 4938 5390 if test $ac_cv_func_initscr = yes; then … … 4942 5394 cf_save_LIBS="$LIBS" 4943 5395 - echo "$as_me:6957: checking for initscr in -l$cf_nculib_root" >&5 4944 + echo "$as_me:7 177: checking for initscr in -l$cf_nculib_root" >&55396 + echo "$as_me:7011: checking for initscr in -l$cf_nculib_root" >&5 4945 5397 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 4946 5398 LIBS="-l$cf_nculib_root $LIBS" 4947 5399 cat >conftest.$ac_ext <<_ACEOF 4948 5400 -#line 6961 "configure" 4949 +#line 7 181"configure"5401 +#line 7015 "configure" 4950 5402 #include "confdefs.h" 4951 5403 #include <${cf_cv_ncurses_header:-curses.h}> 4952 5404 int 4953 @@ -6970,25 +7 190,25 @@5405 @@ -6970,25 +7024,25 @@ 4954 5406 } 4955 5407 _ACEOF 4956 5408 rm -f conftest.$ac_objext conftest$ac_exeext 4957 5409 -if { (eval echo "$as_me:6973: \"$ac_link\"") >&5 4958 +if { (eval echo "$as_me:7 193: \"$ac_link\"") >&55410 +if { (eval echo "$as_me:7027: \"$ac_link\"") >&5 4959 5411 (eval $ac_link) 2>&5 4960 5412 ac_status=$? 4961 5413 - echo "$as_me:6976: \$? = $ac_status" >&5 4962 + echo "$as_me:7 196: \$? = $ac_status" >&55414 + echo "$as_me:7030: \$? = $ac_status" >&5 4963 5415 (exit $ac_status); } && 4964 5416 { ac_try='test -s conftest$ac_exeext' 4965 5417 - { (eval echo "$as_me:6979: \"$ac_try\"") >&5 4966 + { (eval echo "$as_me:7 199: \"$ac_try\"") >&55418 + { (eval echo "$as_me:7033: \"$ac_try\"") >&5 4967 5419 (eval $ac_try) 2>&5 4968 5420 ac_status=$? 4969 5421 - echo "$as_me:6982: \$? = $ac_status" >&5 4970 + echo "$as_me:7 202: \$? = $ac_status" >&55422 + echo "$as_me:7036: \$? = $ac_status" >&5 4971 5423 (exit $ac_status); }; }; then 4972 5424 - echo "$as_me:6984: result: yes" >&5 4973 + echo "$as_me:7 204: result: yes" >&55425 + echo "$as_me:7038: result: yes" >&5 4974 5426 echo "${ECHO_T}yes" >&6 4975 5427 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 4979 5431 cat conftest.$ac_ext >&5 4980 5432 -echo "$as_me:6991: result: no" >&5 4981 +echo "$as_me:7 211: result: no" >&55433 +echo "$as_me:7045: result: no" >&5 4982 5434 echo "${ECHO_T}no" >&6 4983 5435 4984 5436 cf_search= 4985 @@ -7078,11 +7 298,11 @@5437 @@ -7078,11 +7132,11 @@ 4986 5438 4987 5439 for cf_libdir in $cf_search 4988 5440 do 4989 5441 - echo "$as_me:7081: checking for -l$cf_nculib_root in $cf_libdir" >&5 4990 + echo "$as_me:7 301: checking for -l$cf_nculib_root in $cf_libdir" >&55442 + echo "$as_me:7135: checking for -l$cf_nculib_root in $cf_libdir" >&5 4991 5443 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 4992 5444 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" 4993 5445 cat >conftest.$ac_ext <<_ACEOF 4994 5446 -#line 7085 "configure" 4995 +#line 7 305"configure"5447 +#line 7139 "configure" 4996 5448 #include "confdefs.h" 4997 5449 #include <${cf_cv_ncurses_header:-curses.h}> 4998 5450 int 4999 @@ -7094,25 +7 314,25 @@5451 @@ -7094,25 +7148,25 @@ 5000 5452 } 5001 5453 _ACEOF 5002 5454 rm -f conftest.$ac_objext conftest$ac_exeext 5003 5455 -if { (eval echo "$as_me:7097: \"$ac_link\"") >&5 5004 +if { (eval echo "$as_me:7 317: \"$ac_link\"") >&55456 +if { (eval echo "$as_me:7151: \"$ac_link\"") >&5 5005 5457 (eval $ac_link) 2>&5 5006 5458 ac_status=$? 5007 5459 - echo "$as_me:7100: \$? = $ac_status" >&5 5008 + echo "$as_me:7 320: \$? = $ac_status" >&55460 + echo "$as_me:7154: \$? = $ac_status" >&5 5009 5461 (exit $ac_status); } && 5010 5462 { ac_try='test -s conftest$ac_exeext' 5011 5463 - { (eval echo "$as_me:7103: \"$ac_try\"") >&5 5012 + { (eval echo "$as_me:7 323: \"$ac_try\"") >&55464 + { (eval echo "$as_me:7157: \"$ac_try\"") >&5 5013 5465 (eval $ac_try) 2>&5 5014 5466 ac_status=$? 5015 5467 - echo "$as_me:7106: \$? = $ac_status" >&5 5016 + echo "$as_me:7 326: \$? = $ac_status" >&55468 + echo "$as_me:7160: \$? = $ac_status" >&5 5017 5469 (exit $ac_status); }; }; then 5018 5470 - echo "$as_me:7108: result: yes" >&5 5019 + echo "$as_me:7 328: result: yes" >&55471 + echo "$as_me:7162: result: yes" >&5 5020 5472 echo "${ECHO_T}yes" >&6 5021 5473 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 5025 5477 cat conftest.$ac_ext >&5 5026 5478 -echo "$as_me:7115: result: no" >&5 5027 +echo "$as_me:7 335: result: no" >&55479 +echo "$as_me:7169: result: no" >&5 5028 5480 echo "${ECHO_T}no" >&6 5029 5481 LIBS="$cf_save_LIBS" 5030 5482 fi 5031 @@ -7127,7 +7 347,7 @@5483 @@ -7127,7 +7181,7 @@ 5032 5484 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root 5033 5485 5034 5486 if test $cf_found_library = no ; then 5035 5487 - { { echo "$as_me:7130: error: Cannot link $cf_nculib_root library" >&5 5036 + { { echo "$as_me:7 350: error: Cannot link $cf_nculib_root library" >&55488 + { { echo "$as_me:7184: error: Cannot link $cf_nculib_root library" >&5 5037 5489 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} 5038 5490 { (exit 1); exit 1; }; } 5039 5491 fi 5040 @@ -7135,7 +7 355,7 @@5492 @@ -7135,7 +7189,7 @@ 5041 5493 fi 5042 5494 5043 5495 if test -n "$cf_ncurses_LIBS" ; then 5044 5496 - echo "$as_me:7138: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 5045 + echo "$as_me:7 358: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&55497 + echo "$as_me:7192: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 5046 5498 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 5047 5499 cf_ncurses_SAVE="$LIBS" 5048 5500 for p in $cf_ncurses_LIBS ; do 5049 @@ -7145,7 +7 365,7 @@5501 @@ -7145,7 +7199,7 @@ 5050 5502 fi 5051 5503 done 5052 5504 cat >conftest.$ac_ext <<_ACEOF 5053 5505 -#line 7148 "configure" 5054 +#line 7 368"configure"5506 +#line 7202 "configure" 5055 5507 #include "confdefs.h" 5056 5508 #include <${cf_cv_ncurses_header:-curses.h}> 5057 5509 int 5058 @@ -7157,23 +7 377,23 @@5510 @@ -7157,23 +7211,23 @@ 5059 5511 } 5060 5512 _ACEOF 5061 5513 rm -f conftest.$ac_objext conftest$ac_exeext 5062 5514 -if { (eval echo "$as_me:7160: \"$ac_link\"") >&5 5063 +if { (eval echo "$as_me:7 380: \"$ac_link\"") >&55515 +if { (eval echo "$as_me:7214: \"$ac_link\"") >&5 5064 5516 (eval $ac_link) 2>&5 5065 5517 ac_status=$? 5066 5518 - echo "$as_me:7163: \$? = $ac_status" >&5 5067 + echo "$as_me:7 383: \$? = $ac_status" >&55519 + echo "$as_me:7217: \$? = $ac_status" >&5 5068 5520 (exit $ac_status); } && 5069 5521 { ac_try='test -s conftest$ac_exeext' 5070 5522 - { (eval echo "$as_me:7166: \"$ac_try\"") >&5 5071 + { (eval echo "$as_me:7 386: \"$ac_try\"") >&55523 + { (eval echo "$as_me:7220: \"$ac_try\"") >&5 5072 5524 (eval $ac_try) 2>&5 5073 5525 ac_status=$? 5074 5526 - echo "$as_me:7169: \$? = $ac_status" >&5 5075 + echo "$as_me:7 389: \$? = $ac_status" >&55527 + echo "$as_me:7223: \$? = $ac_status" >&5 5076 5528 (exit $ac_status); }; }; then 5077 5529 - echo "$as_me:7171: result: yes" >&5 5078 + echo "$as_me:7 391: result: yes" >&55530 + echo "$as_me:7225: result: yes" >&5 5079 5531 echo "${ECHO_T}yes" >&6 5080 5532 else … … 5082 5534 cat conftest.$ac_ext >&5 5083 5535 -echo "$as_me:7176: result: no" >&5 5084 +echo "$as_me:7 396: result: no" >&55536 +echo "$as_me:7230: result: no" >&5 5085 5537 echo "${ECHO_T}no" >&6 5086 5538 LIBS="$cf_ncurses_SAVE" 5087 5539 fi 5088 @@ -7210,10 +7 430,10 @@5540 @@ -7210,10 +7264,10 @@ 5089 5541 AUTOCONF_$cf_name NCURSES_VERSION_$cf_name 5090 5542 CF_EOF 5091 5543 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out" 5092 5544 - { (eval echo "$as_me:7213: \"$cf_try\"") >&5 5093 + { (eval echo "$as_me:7 433: \"$cf_try\"") >&55545 + { (eval echo "$as_me:7267: \"$cf_try\"") >&5 5094 5546 (eval $cf_try) 2>&5 5095 5547 ac_status=$? 5096 5548 - echo "$as_me:7216: \$? = $ac_status" >&5 5097 + echo "$as_me:7 436: \$? = $ac_status" >&55549 + echo "$as_me:7270: \$? = $ac_status" >&5 5098 5550 (exit $ac_status); } 5099 5551 if test -f conftest.out ; then 5100 5552 cf_result=`cat conftest.out | sed -e "s/^.*AUTOCONF_$cf_name[ ][ ]*//"` 5101 @@ -7231,9 +7 451,25 @@5553 @@ -7231,9 +7285,25 @@ 5102 5554 5103 5555 cf_cv_timestamp=`date` 5104 5556 5105 5557 -echo "$as_me:7234: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 5106 +echo "$as_me:7 454: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&55558 +echo "$as_me:7288: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 5107 5559 echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 5108 5560 5109 +echo "$as_me:7 457: checking if you want to have a library-prefix" >&55561 +echo "$as_me:7291: checking if you want to have a library-prefix" >&5 5110 5562 +echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 5111 5563 + … … 5117 5569 + with_lib_prefix=auto 5118 5570 +fi; 5119 +echo "$as_me:7 467: result: $with_lib_prefix" >&55571 +echo "$as_me:7301: result: $with_lib_prefix" >&5 5120 5572 +echo "${ECHO_T}$with_lib_prefix" >&6 5121 5573 + … … 5126 5578 OS/2*|os2*) #(vi 5127 5579 LIB_PREFIX='' 5128 @@ -7243,7 +7 479,12 @@5580 @@ -7243,7 +7313,12 @@ 5129 5581 esac 5130 5582 cf_prefix=$LIB_PREFIX … … 5140 5592 LIB_SUFFIX= 5141 5593 5142 @@ -7254,7 +7 495,7 @@5594 @@ -7254,7 +7329,7 @@ 5143 5595 test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT='' 5144 5596 fi 5145 5597 5146 5598 -echo "$as_me:7257: checking for default loader flags" >&5 5147 +echo "$as_me:7 498: checking for default loader flags" >&55599 +echo "$as_me:7332: checking for default loader flags" >&5 5148 5600 echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 5149 5601 case $DFT_LWR_MODEL in 5150 5602 normal) LD_MODEL='' ;; 5151 @@ -7262,11 +7 503,11 @@5603 @@ -7262,11 +7337,11 @@ 5152 5604 profile) LD_MODEL='-pg';; 5153 5605 shared) LD_MODEL='' ;; 5154 5606 esac 5155 5607 -echo "$as_me:7265: result: $LD_MODEL" >&5 5156 +echo "$as_me:7 506: result: $LD_MODEL" >&55608 +echo "$as_me:7340: result: $LD_MODEL" >&5 5157 5609 echo "${ECHO_T}$LD_MODEL" >&6 5158 5610 5159 5611 LD_RPATH_OPT= 5160 5612 -echo "$as_me:7269: checking for an rpath option" >&5 5161 +echo "$as_me:7 510: checking for an rpath option" >&55613 +echo "$as_me:7344: checking for an rpath option" >&5 5162 5614 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 5163 5615 case $cf_cv_system_name in #(vi 5164 5616 irix*) #(vi 5165 @@ -7279,10 +7 520,10 @@5617 @@ -7279,10 +7354,10 @@ 5166 5618 linux*|gnu*|k*bsd*-gnu) #(vi 5167 5619 LD_RPATH_OPT="-Wl,-rpath," … … 5176 5628 ;; 5177 5629 netbsd*) #(vi 5178 @@ -7297,17 +7 538,17 @@5630 @@ -7297,17 +7372,17 @@ 5179 5631 *) 5180 5632 ;; 5181 5633 esac 5182 5634 -echo "$as_me:7300: result: $LD_RPATH_OPT" >&5 5183 +echo "$as_me:7 541: result: $LD_RPATH_OPT" >&55635 +echo "$as_me:7375: result: $LD_RPATH_OPT" >&5 5184 5636 echo "${ECHO_T}$LD_RPATH_OPT" >&6 5185 5637 … … 5187 5639 x-R*) 5188 5640 - echo "$as_me:7305: checking if we need a space after rpath option" >&5 5189 + echo "$as_me:7 546: checking if we need a space after rpath option" >&55641 + echo "$as_me:7380: checking if we need a space after rpath option" >&5 5190 5642 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6 5191 5643 cf_save_LIBS="$LIBS" … … 5193 5645 cat >conftest.$ac_ext <<_ACEOF 5194 5646 -#line 7310 "configure" 5195 +#line 7 551"configure"5647 +#line 7385 "configure" 5196 5648 #include "confdefs.h" 5197 5649 5198 5650 int 5199 @@ -7319,16 +7 560,16 @@5651 @@ -7319,16 +7394,16 @@ 5200 5652 } 5201 5653 _ACEOF 5202 5654 rm -f conftest.$ac_objext conftest$ac_exeext 5203 5655 -if { (eval echo "$as_me:7322: \"$ac_link\"") >&5 5204 +if { (eval echo "$as_me:7 563: \"$ac_link\"") >&55656 +if { (eval echo "$as_me:7397: \"$ac_link\"") >&5 5205 5657 (eval $ac_link) 2>&5 5206 5658 ac_status=$? 5207 5659 - echo "$as_me:7325: \$? = $ac_status" >&5 5208 + echo "$as_me:7 566: \$? = $ac_status" >&55660 + echo "$as_me:7400: \$? = $ac_status" >&5 5209 5661 (exit $ac_status); } && 5210 5662 { ac_try='test -s conftest$ac_exeext' 5211 5663 - { (eval echo "$as_me:7328: \"$ac_try\"") >&5 5212 + { (eval echo "$as_me:7 569: \"$ac_try\"") >&55664 + { (eval echo "$as_me:7403: \"$ac_try\"") >&5 5213 5665 (eval $ac_try) 2>&5 5214 5666 ac_status=$? 5215 5667 - echo "$as_me:7331: \$? = $ac_status" >&5 5216 + echo "$as_me:7 572: \$? = $ac_status" >&55668 + echo "$as_me:7406: \$? = $ac_status" >&5 5217 5669 (exit $ac_status); }; }; then 5218 5670 cf_rpath_space=no 5219 5671 else 5220 @@ -7338,7 +7 579,7 @@5672 @@ -7338,7 +7413,7 @@ 5221 5673 fi 5222 5674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5223 5675 LIBS="$cf_save_LIBS" 5224 5676 - echo "$as_me:7341: result: $cf_rpath_space" >&5 5225 + echo "$as_me:7 582: result: $cf_rpath_space" >&55677 + echo "$as_me:7416: result: $cf_rpath_space" >&5 5226 5678 echo "${ECHO_T}$cf_rpath_space" >&6 5227 5679 test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " 5228 5680 ;; 5229 @@ -7353,7 +7 594,7 @@5681 @@ -7353,7 +7428,7 @@ 5230 5682 cf_ld_rpath_opt= 5231 5683 test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" 5232 5684 5233 5685 - echo "$as_me:7356: checking if release/abi version should be used for shared libs" >&5 5234 + echo "$as_me:7 597: checking if release/abi version should be used for shared libs" >&55686 + echo "$as_me:7431: checking if release/abi version should be used for shared libs" >&5 5235 5687 echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 5236 5688 5237 5689 # Check whether --with-shlib-version or --without-shlib-version was given. 5238 @@ -7368,7 +7 609,7 @@5690 @@ -7368,7 +7443,7 @@ 5239 5691 cf_cv_shlib_version=$withval 5240 5692 ;; 5241 5693 *) 5242 5694 - { { echo "$as_me:7371: error: option value must be one of: rel, abi, auto or no" >&5 5243 + { { echo "$as_me:7 612: error: option value must be one of: rel, abi, auto or no" >&55695 + { { echo "$as_me:7446: error: option value must be one of: rel, abi, auto or no" >&5 5244 5696 echo "$as_me: error: option value must be one of: rel, abi, auto or no" >&2;} 5245 5697 { (exit 1); exit 1; }; } 5246 5698 ;; 5247 @@ -7377,7 +7 618,7 @@5699 @@ -7377,7 +7452,7 @@ 5248 5700 else 5249 5701 cf_cv_shlib_version=auto 5250 5702 fi; 5251 5703 - echo "$as_me:7380: result: $cf_cv_shlib_version" >&5 5252 + echo "$as_me:7 621: result: $cf_cv_shlib_version" >&55704 + echo "$as_me:7455: result: $cf_cv_shlib_version" >&5 5253 5705 echo "${ECHO_T}$cf_cv_shlib_version" >&6 5254 5706 5255 5707 cf_cv_rm_so_locs=no 5256 @@ -7386,14 +7 627,14 @@5708 @@ -7386,14 +7461,14 @@ 5257 5709 CC_SHARED_OPTS= 5258 5710 if test "$GCC" = yes 5259 5711 then 5260 5712 - echo "$as_me:7389: checking which $CC option to use" >&5 5261 + echo "$as_me:7 630: checking which $CC option to use" >&55713 + echo "$as_me:7464: checking which $CC option to use" >&5 5262 5714 echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 5263 5715 cf_save_CFLAGS="$CFLAGS" … … 5267 5719 cat >conftest.$ac_ext <<_ACEOF 5268 5720 -#line 7396 "configure" 5269 +#line 7 637"configure"5721 +#line 7471 "configure" 5270 5722 #include "confdefs.h" 5271 5723 #include <stdio.h> 5272 5724 int 5273 @@ -7405,16 +7 646,16 @@5725 @@ -7405,16 +7480,16 @@ 5274 5726 } 5275 5727 _ACEOF 5276 5728 rm -f conftest.$ac_objext 5277 5729 -if { (eval echo "$as_me:7408: \"$ac_compile\"") >&5 5278 +if { (eval echo "$as_me:7 649: \"$ac_compile\"") >&55730 +if { (eval echo "$as_me:7483: \"$ac_compile\"") >&5 5279 5731 (eval $ac_compile) 2>&5 5280 5732 ac_status=$? 5281 5733 - echo "$as_me:7411: \$? = $ac_status" >&5 5282 + echo "$as_me:7 652: \$? = $ac_status" >&55734 + echo "$as_me:7486: \$? = $ac_status" >&5 5283 5735 (exit $ac_status); } && 5284 5736 { ac_try='test -s conftest.$ac_objext' 5285 5737 - { (eval echo "$as_me:7414: \"$ac_try\"") >&5 5286 + { (eval echo "$as_me:7 655: \"$ac_try\"") >&55738 + { (eval echo "$as_me:7489: \"$ac_try\"") >&5 5287 5739 (eval $ac_try) 2>&5 5288 5740 ac_status=$? 5289 5741 - echo "$as_me:7417: \$? = $ac_status" >&5 5290 + echo "$as_me:7 658: \$? = $ac_status" >&55742 + echo "$as_me:7492: \$? = $ac_status" >&5 5291 5743 (exit $ac_status); }; }; then 5292 5744 break 5293 5745 else 5294 @@ -7423,7 +7 664,7 @@5746 @@ -7423,7 +7498,7 @@ 5295 5747 fi 5296 5748 rm -f conftest.$ac_objext conftest.$ac_ext 5297 5749 done 5298 5750 - echo "$as_me:7426: result: $CC_SHARED_OPTS" >&5 5299 + echo "$as_me:7 667: result: $CC_SHARED_OPTS" >&55751 + echo "$as_me:7501: result: $CC_SHARED_OPTS" >&5 5300 5752 echo "${ECHO_T}$CC_SHARED_OPTS" >&6 5301 5753 CFLAGS="$cf_save_CFLAGS" 5302 5754 fi 5303 @@ -7431,10 +7 672,14 @@5755 @@ -7431,10 +7506,14 @@ 5304 5756 cf_cv_shlib_version_infix=no 5305 5757 … … 5318 5770 ;; 5319 5771 beos*) #(vi 5320 @@ -7465,7 +7 710,7 @@5772 @@ -7465,7 +7544,7 @@ 5321 5773 MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' 5322 5774 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi 5323 5775 cf_cv_shlib_version_infix=yes 5324 5776 - echo "$as_me:7468: checking if ld -search_paths_first works" >&5 5325 + echo "$as_me:7 713: checking if ld -search_paths_first works" >&55777 + echo "$as_me:7547: checking if ld -search_paths_first works" >&5 5326 5778 echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 5327 5779 if test "${cf_cv_ldflags_search_paths_first+set}" = set; then 5328 5780 echo $ECHO_N "(cached) $ECHO_C" >&6 5329 @@ -7474,7 +7 719,7 @@5781 @@ -7474,7 +7553,7 @@ 5330 5782 cf_save_LDFLAGS=$LDFLAGS 5331 5783 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5332 5784 cat >conftest.$ac_ext <<_ACEOF 5333 5785 -#line 7477 "configure" 5334 +#line 7 722"configure"5786 +#line 7556 "configure" 5335 5787 #include "confdefs.h" 5336 5788 5337 5789 int 5338 @@ -7486,16 +7 731,16 @@5790 @@ -7486,16 +7565,16 @@ 5339 5791 } 5340 5792 _ACEOF 5341 5793 rm -f conftest.$ac_objext conftest$ac_exeext 5342 5794 -if { (eval echo "$as_me:7489: \"$ac_link\"") >&5 5343 +if { (eval echo "$as_me:7 734: \"$ac_link\"") >&55795 +if { (eval echo "$as_me:7568: \"$ac_link\"") >&5 5344 5796 (eval $ac_link) 2>&5 5345 5797 ac_status=$? 5346 5798 - echo "$as_me:7492: \$? = $ac_status" >&5 5347 + echo "$as_me:7 737: \$? = $ac_status" >&55799 + echo "$as_me:7571: \$? = $ac_status" >&5 5348 5800 (exit $ac_status); } && 5349 5801 { ac_try='test -s conftest$ac_exeext' 5350 5802 - { (eval echo "$as_me:7495: \"$ac_try\"") >&5 5351 + { (eval echo "$as_me:7 740: \"$ac_try\"") >&55803 + { (eval echo "$as_me:7574: \"$ac_try\"") >&5 5352 5804 (eval $ac_try) 2>&5 5353 5805 ac_status=$? 5354 5806 - echo "$as_me:7498: \$? = $ac_status" >&5 5355 + echo "$as_me:7 743: \$? = $ac_status" >&55807 + echo "$as_me:7577: \$? = $ac_status" >&5 5356 5808 (exit $ac_status); }; }; then 5357 5809 cf_cv_ldflags_search_paths_first=yes 5358 5810 else 5359 @@ -7506,7 +7 751,7 @@5811 @@ -7506,7 +7585,7 @@ 5360 5812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5361 5813 LDFLAGS=$cf_save_LDFLAGS 5362 5814 fi 5363 5815 -echo "$as_me:7509: result: $cf_cv_ldflags_search_paths_first" >&5 5364 +echo "$as_me:7 754: result: $cf_cv_ldflags_search_paths_first" >&55816 +echo "$as_me:7588: result: $cf_cv_ldflags_search_paths_first" >&5 5365 5817 echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 5366 5818 if test $cf_cv_ldflags_search_paths_first = yes; then 5367 5819 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5368 @@ -7525,9 +7 770,19 @@5820 @@ -7525,9 +7604,19 @@ 5369 5821 # readonly to exploit a quirk in the memory manager. 5370 5822 INSTALL_LIB="-m 555" … … 5387 5839 # tested with IRIX 5.2 and 'cc'. 5388 5840 if test "$GCC" != yes; then 5389 @@ -7544,7 +7 799,7 @@5841 @@ -7544,7 +7633,7 @@ 5390 5842 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" 5391 5843 fi … … 5396 5848 5397 5849 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel 5398 @@ -7556,13 +7 811,13@@5850 @@ -7556,13 +7645,34 @@ 5399 5851 5400 5852 MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@' 5401 5853 ;; 5402 5854 - 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 + ;; 5403 5876 + openbsd[2-9].*|mirbsd*) #(vi 5404 5877 if test "$DFT_LWR_MODEL" = "shared" ; then … … 5412 5885 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" 5413 5886 5414 @@ -7580,12 +7 835,12 @@5887 @@ -7580,12 +7690,12 @@ 5415 5888 MK_SHARED_LIB='${LD} -Bshareable -o $@' 5416 5889 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel … … 5428 5901 5429 5902 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel 5430 @@ -7602,7 +7 857,7 @@5903 @@ -7602,7 +7712,7 @@ 5431 5904 if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then 5432 5905 LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)" … … 5437 5910 if test -f /usr/libexec/ld.elf_so; then 5438 5911 cf_cv_shlib_version=abi 5439 @@ -7686,7 +7 941,7 @@5912 @@ -7686,7 +7796,7 @@ 5440 5913 do 5441 5914 CFLAGS="$cf_shared_opts $cf_save_CFLAGS" 5442 5915 cat >conftest.$ac_ext <<_ACEOF 5443 5916 -#line 7689 "configure" 5444 +#line 7 944"configure"5917 +#line 7799 "configure" 5445 5918 #include "confdefs.h" 5446 5919 #include <stdio.h> 5447 5920 int 5448 @@ -7698,16 +7 953,16 @@5921 @@ -7698,16 +7808,16 @@ 5449 5922 } 5450 5923 _ACEOF 5451 5924 rm -f conftest.$ac_objext 5452 5925 -if { (eval echo "$as_me:7701: \"$ac_compile\"") >&5 5453 +if { (eval echo "$as_me:7 956: \"$ac_compile\"") >&55926 +if { (eval echo "$as_me:7811: \"$ac_compile\"") >&5 5454 5927 (eval $ac_compile) 2>&5 5455 5928 ac_status=$? 5456 5929 - echo "$as_me:7704: \$? = $ac_status" >&5 5457 + echo "$as_me:7 959: \$? = $ac_status" >&55930 + echo "$as_me:7814: \$? = $ac_status" >&5 5458 5931 (exit $ac_status); } && 5459 5932 { ac_try='test -s conftest.$ac_objext' 5460 5933 - { (eval echo "$as_me:7707: \"$ac_try\"") >&5 5461 + { (eval echo "$as_me:7 962: \"$ac_try\"") >&55934 + { (eval echo "$as_me:7817: \"$ac_try\"") >&5 5462 5935 (eval $ac_try) 2>&5 5463 5936 ac_status=$? 5464 5937 - echo "$as_me:7710: \$? = $ac_status" >&5 5465 + echo "$as_me:7 965: \$? = $ac_status" >&55938 + echo "$as_me:7820: \$? = $ac_status" >&5 5466 5939 (exit $ac_status); }; }; then 5467 5940 break 5468 5941 else 5469 @@ -7744,22 +7 999,22@@5942 @@ -7744,22 +7854,30 @@ 5470 5943 test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes 5471 5944 ;; 5472 5945 *) 5473 5946 - { echo "$as_me:7747: WARNING: ignored --with-shlib-version" >&5 5474 + { echo "$as_me: 8002: WARNING: ignored --with-shlib-version" >&55947 + { echo "$as_me:7857: WARNING: ignored --with-shlib-version" >&5 5475 5948 echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} 5476 5949 ;; … … 5485 5958 + test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}" 5486 5959 + 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 5487 5968 5488 5969 # The test/sample programs in the original tree link using rpath option. … … 5491 5972 then 5492 5973 - 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" >&55974 + echo "$as_me:7880: checking if you want to link sample programs with rpath option" >&5 5494 5975 echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6 5495 5976 5496 5977 # Check whether --enable-rpath-link or --disable-rpath-link was given. 5497 @@ -7769,7 + 8024,7 @@5978 @@ -7769,7 +7887,7 @@ 5498 5979 else 5499 5980 with_rpath_link=yes 5500 5981 fi; 5501 5982 - echo "$as_me:7772: result: $with_rpath_link" >&5 5502 + echo "$as_me: 8027: result: $with_rpath_link" >&55983 + echo "$as_me:7890: result: $with_rpath_link" >&5 5503 5984 echo "${ECHO_T}$with_rpath_link" >&6 5504 5985 if test "$with_rpath_link" = no 5505 5986 then 5506 @@ -7780,13 + 8035,8 @@5987 @@ -7780,13 +7898,8 @@ 5507 5988 5508 5989 ############################################################################### … … 5515 5996 ### use option --enable-broken-linker to force on use of broken-linker support 5516 5997 -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" >&55998 +echo "$as_me:7902: checking if you want broken-linker support code" >&5 5518 5999 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 5519 6000 5520 6001 # Check whether --enable-broken_linker or --disable-broken_linker was given. 5521 @@ -7796,7 + 8046,7 @@6002 @@ -7796,7 +7909,7 @@ 5522 6003 else 5523 6004 with_broken_linker=${BROKEN_LINKER:-no} 5524 6005 fi; 5525 6006 -echo "$as_me:7799: result: $with_broken_linker" >&5 5526 +echo "$as_me: 8049: result: $with_broken_linker" >&56007 +echo "$as_me:7912: result: $with_broken_linker" >&5 5527 6008 echo "${ECHO_T}$with_broken_linker" >&6 5528 6009 5529 6010 BROKEN_LINKER=0 5530 @@ -7816,7 + 8066,7 @@6011 @@ -7816,7 +7929,7 @@ 5531 6012 BROKEN_LINKER=1 5532 6013 test -n "$verbose" && echo " cygwin linker is broken anyway" 1>&6 5533 6014 5534 6015 -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>&56016 +echo "${as_me:-configure}:7932: testing cygwin linker is broken anyway ..." 1>&5 5536 6017 5537 6018 ;; 5538 6019 esac 5539 @@ -7829,7 + 8079,7 @@6020 @@ -7829,7 +7942,7 @@ 5540 6021 cf_xopen_source= 5541 6022 … … 5546 6027 ;; 5547 6028 cygwin) #(vi 5548 @@ -7840,6 + 8090,7 @@6029 @@ -7840,6 +7953,7 @@ 5549 6030 ;; 5550 6031 darwin*) #(vi … … 5554 6035 freebsd*|dragonfly*) #(vi 5555 6036 # 5.x headers associate 5556 @@ -7857,17 + 8108,18 @@6037 @@ -7857,17 +7971,18 @@ 5557 6038 ;; 5558 6039 irix[56].*) #(vi … … 5563 6044 5564 6045 -echo "$as_me:7863: checking if we must define _GNU_SOURCE" >&5 5565 +echo "$as_me: 8115: checking if we must define _GNU_SOURCE" >&56046 +echo "$as_me:7978: checking if we must define _GNU_SOURCE" >&5 5566 6047 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 5567 6048 if test "${cf_cv_gnu_source+set}" = set; then … … 5571 6052 cat >conftest.$ac_ext <<_ACEOF 5572 6053 -#line 7870 "configure" 5573 +#line 8122"configure"6054 +#line 7985 "configure" 5574 6055 #include "confdefs.h" 5575 6056 #include <sys/types.h> 5576 6057 int 5577 @@ -7882,16 + 8134,16 @@6058 @@ -7882,16 +7997,16 @@ 5578 6059 } 5579 6060 _ACEOF 5580 6061 rm -f conftest.$ac_objext 5581 6062 -if { (eval echo "$as_me:7885: \"$ac_compile\"") >&5 5582 +if { (eval echo "$as_me:8 137: \"$ac_compile\"") >&56063 +if { (eval echo "$as_me:8000: \"$ac_compile\"") >&5 5583 6064 (eval $ac_compile) 2>&5 5584 6065 ac_status=$? 5585 6066 - echo "$as_me:7888: \$? = $ac_status" >&5 5586 + echo "$as_me:8 140: \$? = $ac_status" >&56067 + echo "$as_me:8003: \$? = $ac_status" >&5 5587 6068 (exit $ac_status); } && 5588 6069 { ac_try='test -s conftest.$ac_objext' 5589 6070 - { (eval echo "$as_me:7891: \"$ac_try\"") >&5 5590 + { (eval echo "$as_me:8 143: \"$ac_try\"") >&56071 + { (eval echo "$as_me:8006: \"$ac_try\"") >&5 5591 6072 (eval $ac_try) 2>&5 5592 6073 ac_status=$? 5593 6074 - echo "$as_me:7894: \$? = $ac_status" >&5 5594 + echo "$as_me:8 146: \$? = $ac_status" >&56075 + echo "$as_me:8009: \$? = $ac_status" >&5 5595 6076 (exit $ac_status); }; }; then 5596 6077 cf_cv_gnu_source=no 5597 6078 else 5598 @@ -7900,7 +8 152,7 @@6079 @@ -7900,7 +8015,7 @@ 5599 6080 cf_save="$CPPFLAGS" 5600 6081 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" 5601 6082 cat >conftest.$ac_ext <<_ACEOF 5602 6083 -#line 7903 "configure" 5603 +#line 8 155"configure"6084 +#line 8018 "configure" 5604 6085 #include "confdefs.h" 5605 6086 #include <sys/types.h> 5606 6087 int 5607 @@ -7915,16 +8 167,16 @@6088 @@ -7915,16 +8030,16 @@ 5608 6089 } 5609 6090 _ACEOF 5610 6091 rm -f conftest.$ac_objext 5611 6092 -if { (eval echo "$as_me:7918: \"$ac_compile\"") >&5 5612 +if { (eval echo "$as_me:8 170: \"$ac_compile\"") >&56093 +if { (eval echo "$as_me:8033: \"$ac_compile\"") >&5 5613 6094 (eval $ac_compile) 2>&5 5614 6095 ac_status=$? 5615 6096 - echo "$as_me:7921: \$? = $ac_status" >&5 5616 + echo "$as_me:8 173: \$? = $ac_status" >&56097 + echo "$as_me:8036: \$? = $ac_status" >&5 5617 6098 (exit $ac_status); } && 5618 6099 { ac_try='test -s conftest.$ac_objext' 5619 6100 - { (eval echo "$as_me:7924: \"$ac_try\"") >&5 5620 + { (eval echo "$as_me:8 176: \"$ac_try\"") >&56101 + { (eval echo "$as_me:8039: \"$ac_try\"") >&5 5621 6102 (eval $ac_try) 2>&5 5622 6103 ac_status=$? 5623 6104 - echo "$as_me:7927: \$? = $ac_status" >&5 5624 + echo "$as_me:8 179: \$? = $ac_status" >&56105 + echo "$as_me:8042: \$? = $ac_status" >&5 5625 6106 (exit $ac_status); }; }; then 5626 6107 cf_cv_gnu_source=no 5627 6108 else 5628 @@ -7939, 47 +8191,293@@6109 @@ -7939,51 +8054,45 @@ 5629 6110 rm -f conftest.$ac_objext conftest.$ac_ext 5630 6111 5631 6112 fi 5632 6113 -echo "$as_me:7942: result: $cf_cv_gnu_source" >&5 5633 +echo "$as_me:8 194: result: $cf_cv_gnu_source" >&56114 +echo "$as_me:8057: result: $cf_cv_gnu_source" >&5 5634 6115 echo "${ECHO_T}$cf_cv_gnu_source" >&6 5635 6116 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" … … 5664 6145 -echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 5665 6146 -if test "${cf_cv_xopen_source+set}" = set; then 5666 - echo $ECHO_N "(cached) $ECHO_C" >&65667 -else5668 6147 + # setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <sys/select.h> and other headers which use u_int / u_short types 5669 6148 + 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 + 5676 6150 +cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE 5677 6151 + … … 5687 6161 + -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` 5688 6162 + 5689 +echo "$as_me:8 216: checking if we should define _POSIX_C_SOURCE" >&56163 +echo "$as_me:8079: checking if we should define _POSIX_C_SOURCE" >&5 5690 6164 +echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 5691 6165 +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 5705 6181 +#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 5724 6205 + 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" 5728 6213 +cf_want_posix_source=no 5729 6214 + case .$cf_POSIX_C_SOURCE in #(vi … … 5741 6226 + if test "$cf_want_posix_source" = yes ; then 5742 6227 + 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 5750 6236 +#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 5769 6260 + : 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 5773 6265 +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" 5776 6269 + fi 5777 6270 + 5778 +echo "${as_me:-configure}:8 305: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&56271 +echo "${as_me:-configure}:8168: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 5779 6272 + 5780 6273 + CFLAGS="$cf_trim_CFLAGS" 5781 6274 + CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source" 5782 6275 + 5783 +echo "${as_me:-configure}:8 310: testing if the second compile does not leave our definition intact error ..." 1>&56276 +echo "${as_me:-configure}:8173: testing if the second compile does not leave our definition intact error ..." 1>&5 5784 6277 + 5785 6278 + cat >conftest.$ac_ext <<_ACEOF 5786 +#line 8 313"configure"6279 +#line 8176 "configure" 5787 6280 +#include "confdefs.h" 5788 6281 +#include <sys/types.h> … … 5799 6292 +_ACEOF 5800 6293 +rm -f conftest.$ac_objext 5801 +if { (eval echo "$as_me:8 328: \"$ac_compile\"") >&56294 +if { (eval echo "$as_me:8191: \"$ac_compile\"") >&5 5802 6295 + (eval $ac_compile) 2>&5 5803 6296 + ac_status=$? 5804 + echo "$as_me:8 331: \$? = $ac_status" >&56297 + echo "$as_me:8194: \$? = $ac_status" >&5 5805 6298 + (exit $ac_status); } && 5806 6299 + { ac_try='test -s conftest.$ac_objext' 5807 + { (eval echo "$as_me:8 334: \"$ac_try\"") >&56300 + { (eval echo "$as_me:8197: \"$ac_try\"") >&5 5808 6301 + (eval $ac_try) 2>&5 5809 6302 + ac_status=$? 5810 + echo "$as_me:8 337: \$? = $ac_status" >&56303 + echo "$as_me:8200: \$? = $ac_status" >&5 5811 6304 + (exit $ac_status); }; }; then 5812 6305 + : … … 5824 6317 + 5825 6318 +fi 5826 +echo "$as_me:8 353: result: $cf_cv_posix_c_source" >&56319 +echo "$as_me:8216: result: $cf_cv_posix_c_source" >&5 5827 6320 +echo "${ECHO_T}$cf_cv_posix_c_source" >&6 5828 6321 + … … 5937 6430 +*) 5938 6431 + 5939 +echo "$as_me:8 466: checking if we should define _XOPEN_SOURCE" >&56432 +echo "$as_me:8329: checking if we should define _XOPEN_SOURCE" >&5 5940 6433 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 5941 6434 +if test "${cf_cv_xopen_source+set}" = set; then … … 5944 6437 + 5945 6438 + cat >conftest.$ac_ext <<_ACEOF 5946 +#line 8 473"configure"6439 +#line 8336 "configure" 5947 6440 +#include "confdefs.h" 5948 6441 + … … 5951 6444 +#include <sys/types.h> 5952 6445 + 5953 +int5954 main ()5955 {5956 5957 @@ -7991,16 +8489,16 @@5958 }5959 _ACEOF5960 rm -f conftest.$ac_objext5961 -if { (eval echo "$as_me:7994: \"$ac_compile\"") >&55962 +if { (eval echo "$as_me:8492: \"$ac_compile\"") >&55963 (eval $ac_compile) 2>&55964 ac_status=$?5965 - echo "$as_me:7997: \$? = $ac_status" >&55966 + echo "$as_me:8495: \$? = $ac_status" >&55967 (exit $ac_status); } &&5968 { ac_try='test -s conftest.$ac_objext'5969 - { (eval echo "$as_me:8000: \"$ac_try\"") >&55970 + { (eval echo "$as_me:8498: \"$ac_try\"") >&55971 (eval $ac_try) 2>&55972 ac_status=$?5973 - echo "$as_me:8003: \$? = $ac_status" >&55974 + echo "$as_me:8501: \$? = $ac_status" >&55975 (exit $ac_status); }; }; then5976 cf_cv_xopen_source=no5977 else5978 @@ -8009,9 +8507,13 @@5979 cf_save="$CPPFLAGS"5980 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"5981 cat >conftest.$ac_ext <<_ACEOF5982 -#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 int5991 main ()5992 {5993 @@ -8024,16 +8526,16 @@5994 }5995 _ACEOF5996 rm -f conftest.$ac_objext5997 -if { (eval echo "$as_me:8027: \"$ac_compile\"") >&55998 +if { (eval echo "$as_me:8529: \"$ac_compile\"") >&55999 (eval $ac_compile) 2>&56000 ac_status=$?6001 - echo "$as_me:8030: \$? = $ac_status" >&56002 + echo "$as_me:8532: \$? = $ac_status" >&56003 (exit $ac_status); } &&6004 { ac_try='test -s conftest.$ac_objext'6005 - { (eval echo "$as_me:8033: \"$ac_try\"") >&56006 + { (eval echo "$as_me:8535: \"$ac_try\"") >&56007 (eval $ac_try) 2>&56008 ac_status=$?6009 - echo "$as_me:8036: \$? = $ac_status" >&56010 + echo "$as_me:8538: \$? = $ac_status" >&56011 (exit $ac_status); }; }; then6012 cf_cv_xopen_source=no6013 else6014 @@ -8048,9 +8550,10 @@6015 rm -f conftest.$ac_objext conftest.$ac_ext6016 6017 fi6018 -echo "$as_me:8051: result: $cf_cv_xopen_source" >&56019 +echo "$as_me:8553: result: $cf_cv_xopen_source" >&56020 echo "${ECHO_T}$cf_cv_xopen_source" >&66021 - if test "$cf_cv_xopen_source" != no ; then6022 +6023 +if test "$cf_cv_xopen_source" != no ; then6024 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=no6035 cf_new_cflags=6036 @@ -8140,7 +8643,7 @@6037 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"6038 fi6039 6040 - fi6041 +fi6042 6043 cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE6044 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" >&56050 +echo "$as_me:8661: checking if we should define _POSIX_C_SOURCE" >&56051 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&66052 if test "${cf_cv_posix_c_source+set}" = set; then6053 echo $ECHO_N "(cached) $ECHO_C" >&66054 else6055 6056 -echo "${as_me:-configure}:8164: testing if the symbol is already defined go no further ..." 1>&56057 +echo "${as_me:-configure}:8667: testing if the symbol is already defined go no further ..." 1>&56058 6059 cat >conftest.$ac_ext <<_ACEOF6060 -#line 8167 "configure"6061 +#line 8670 "configure"6062 #include "confdefs.h"6063 #include <sys/types.h>6064 int6065 @@ -8179,16 +8682,16 @@6066 }6067 _ACEOF6068 rm -f conftest.$ac_objext6069 -if { (eval echo "$as_me:8182: \"$ac_compile\"") >&56070 +if { (eval echo "$as_me:8685: \"$ac_compile\"") >&56071 (eval $ac_compile) 2>&56072 ac_status=$?6073 - echo "$as_me:8185: \$? = $ac_status" >&56074 + echo "$as_me:8688: \$? = $ac_status" >&56075 (exit $ac_status); } &&6076 { ac_try='test -s conftest.$ac_objext'6077 - { (eval echo "$as_me:8188: \"$ac_try\"") >&56078 + { (eval echo "$as_me:8691: \"$ac_try\"") >&56079 (eval $ac_try) 2>&56080 ac_status=$?6081 - echo "$as_me:8191: \$? = $ac_status" >&56082 + echo "$as_me:8694: \$? = $ac_status" >&56083 (exit $ac_status); }; }; then6084 cf_cv_posix_c_source=no6085 else6086 @@ -8209,7 +8712,7 @@6087 esac6088 if test "$cf_want_posix_source" = yes ; then6089 cat >conftest.$ac_ext <<_ACEOF6090 -#line 8212 "configure"6091 +#line 8715 "configure"6092 #include "confdefs.h"6093 #include <sys/types.h>6094 int6095 @@ -8224,16 +8727,16 @@6096 }6097 _ACEOF6098 rm -f conftest.$ac_objext6099 -if { (eval echo "$as_me:8227: \"$ac_compile\"") >&56100 +if { (eval echo "$as_me:8730: \"$ac_compile\"") >&56101 (eval $ac_compile) 2>&56102 ac_status=$?6103 - echo "$as_me:8230: \$? = $ac_status" >&56104 + echo "$as_me:8733: \$? = $ac_status" >&56105 (exit $ac_status); } &&6106 { ac_try='test -s conftest.$ac_objext'6107 - { (eval echo "$as_me:8233: \"$ac_try\"") >&56108 + { (eval echo "$as_me:8736: \"$ac_try\"") >&56109 (eval $ac_try) 2>&56110 ac_status=$?6111 - echo "$as_me:8236: \$? = $ac_status" >&56112 + echo "$as_me:8739: \$? = $ac_status" >&56113 (exit $ac_status); }; }; then6114 :6115 else6116 @@ -8244,15 +8747,15 @@6117 rm -f conftest.$ac_objext conftest.$ac_ext6118 fi6119 6120 -echo "${as_me:-configure}:8247: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&56121 +echo "${as_me:-configure}:8750: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&56122 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>&56127 +echo "${as_me:-configure}:8755: testing if the second compile does not leave our definition intact error ..." 1>&56128 6129 cat >conftest.$ac_ext <<_ACEOF6130 -#line 8255 "configure"6131 +#line 8758 "configure"6132 #include "confdefs.h"6133 #include <sys/types.h>6134 int6135 @@ -8267,16 +8770,16 @@6136 }6137 _ACEOF6138 rm -f conftest.$ac_objext6139 -if { (eval echo "$as_me:8270: \"$ac_compile\"") >&56140 +if { (eval echo "$as_me:8773: \"$ac_compile\"") >&56141 (eval $ac_compile) 2>&56142 ac_status=$?6143 - echo "$as_me:8273: \$? = $ac_status" >&56144 + echo "$as_me:8776: \$? = $ac_status" >&56145 (exit $ac_status); } &&6146 { ac_try='test -s conftest.$ac_objext'6147 - { (eval echo "$as_me:8276: \"$ac_try\"") >&56148 + { (eval echo "$as_me:8779: \"$ac_try\"") >&56149 (eval $ac_try) 2>&56150 ac_status=$?6151 - echo "$as_me:8279: \$? = $ac_status" >&56152 + echo "$as_me:8782: \$? = $ac_status" >&56153 (exit $ac_status); }; }; then6154 :6155 else6156 @@ -8292,7 +8795,7 @@6157 rm -f conftest.$ac_objext conftest.$ac_ext6158 6159 fi6160 -echo "$as_me:8295: result: $cf_cv_posix_c_source" >&56161 +echo "$as_me:8798: result: $cf_cv_posix_c_source" >&56162 echo "${ECHO_T}$cf_cv_posix_c_source" >&66163 6164 if test "$cf_cv_posix_c_source" != no ; then6165 @@ -8464,6 +8967,273 @@6166 6167 fi6168 6169 +if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then6170 + echo "$as_me:8971: checking if _XOPEN_SOURCE really is set" >&56171 +echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&66172 + cat >conftest.$ac_ext <<_ACEOF6173 +#line 8974 "configure"6174 +#include "confdefs.h"6175 +#include <stdlib.h>6176 6446 +int 6177 6447 +main () … … 6186 6456 +_ACEOF 6187 6457 +rm -f conftest.$ac_objext 6188 +if { (eval echo "$as_me:8 989: \"$ac_compile\"") >&56458 +if { (eval echo "$as_me:8355: \"$ac_compile\"") >&5 6189 6459 + (eval $ac_compile) 2>&5 6190 6460 + ac_status=$? 6191 + echo "$as_me:8 992: \$? = $ac_status" >&56461 + echo "$as_me:8358: \$? = $ac_status" >&5 6192 6462 + (exit $ac_status); } && 6193 6463 + { ac_try='test -s conftest.$ac_objext' 6194 + { (eval echo "$as_me:8 995: \"$ac_try\"") >&56464 + { (eval echo "$as_me:8361: \"$ac_try\"") >&5 6195 6465 + (eval $ac_try) 2>&5 6196 6466 + 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 6287 6468 + (exit $ac_status); }; }; then 6288 6469 + cf_cv_xopen_source=no … … 6293 6474 + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" 6294 6475 + cat >conftest.$ac_ext <<_ACEOF 6295 +#line 9096"configure"6476 +#line 8373 "configure" 6296 6477 +#include "confdefs.h" 6297 6478 + … … 6312 6493 +_ACEOF 6313 6494 +rm -f conftest.$ac_objext 6314 +if { (eval echo "$as_me: 9115: \"$ac_compile\"") >&56495 +if { (eval echo "$as_me:8392: \"$ac_compile\"") >&5 6315 6496 + (eval $ac_compile) 2>&5 6316 6497 + ac_status=$? 6317 + echo "$as_me: 9118: \$? = $ac_status" >&56498 + echo "$as_me:8395: \$? = $ac_status" >&5 6318 6499 + (exit $ac_status); } && 6319 6500 + { ac_try='test -s conftest.$ac_objext' 6320 + { (eval echo "$as_me: 9121: \"$ac_try\"") >&56501 + { (eval echo "$as_me:8398: \"$ac_try\"") >&5 6321 6502 + (eval $ac_try) 2>&5 6322 6503 + ac_status=$? 6323 + echo "$as_me: 9124: \$? = $ac_status" >&56504 + echo "$as_me:8401: \$? = $ac_status" >&5 6324 6505 + (exit $ac_status); }; }; then 6325 6506 + cf_cv_xopen_source=no … … 6331 6512 +rm -f conftest.$ac_objext conftest.$ac_ext 6332 6513 + 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 6334 6542 +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" 6337 6674 +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 6352 6692 + 6353 6693 +cf_fix_cppflags=no … … 6356 6696 +cf_new_extra_cppflags= 6357 6697 + 6358 +for cf_add_cflags in $cf_ temp_xopen_source6698 +for cf_add_cflags in $cf_xopen_source 6359 6699 +do 6360 6700 +case $cf_fix_cppflags in … … 6431 6771 +fi 6432 6772 + 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 6433 6981 + fi 6434 6982 +fi … … 6437 6985 if test "${enable_largefile+set}" = set; then 6438 6986 enableval="$enable_largefile" 6439 @@ -8471,7 +9 241,7 @@6987 @@ -8471,7 +9104,7 @@ 6440 6988 fi; 6441 6989 if test "$enable_largefile" != no; then 6442 6990 6443 6991 - echo "$as_me:8474: checking for special C compiler options needed for large files" >&5 6444 + echo "$as_me:9 244: checking for special C compiler options needed for large files" >&56992 + echo "$as_me:9107: checking for special C compiler options needed for large files" >&5 6445 6993 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 6446 6994 if test "${ac_cv_sys_largefile_CC+set}" = set; then 6447 6995 echo $ECHO_N "(cached) $ECHO_C" >&6 6448 @@ -8483,7 +9 253,7 @@6996 @@ -8483,7 +9116,7 @@ 6449 6997 # IRIX 6.2 and later do not support large files by default, 6450 6998 # so use the C compiler's -n32 option if that helps. 6451 6999 cat >conftest.$ac_ext <<_ACEOF 6452 7000 -#line 8486 "configure" 6453 +#line 9 256"configure"7001 +#line 9119 "configure" 6454 7002 #include "confdefs.h" 6455 7003 #include <sys/types.h> 6456 7004 /* Check that off_t can represent 2**63 - 1 correctly. 6457 @@ -8503,16 +9 273,16 @@7005 @@ -8503,16 +9136,16 @@ 6458 7006 } 6459 7007 _ACEOF 6460 7008 rm -f conftest.$ac_objext 6461 7009 -if { (eval echo "$as_me:8506: \"$ac_compile\"") >&5 6462 +if { (eval echo "$as_me:9 276: \"$ac_compile\"") >&57010 +if { (eval echo "$as_me:9139: \"$ac_compile\"") >&5 6463 7011 (eval $ac_compile) 2>&5 6464 7012 ac_status=$? 6465 7013 - echo "$as_me:8509: \$? = $ac_status" >&5 6466 + echo "$as_me:9 279: \$? = $ac_status" >&57014 + echo "$as_me:9142: \$? = $ac_status" >&5 6467 7015 (exit $ac_status); } && 6468 7016 { ac_try='test -s conftest.$ac_objext' 6469 7017 - { (eval echo "$as_me:8512: \"$ac_try\"") >&5 6470 + { (eval echo "$as_me:9 282: \"$ac_try\"") >&57018 + { (eval echo "$as_me:9145: \"$ac_try\"") >&5 6471 7019 (eval $ac_try) 2>&5 6472 7020 ac_status=$? 6473 7021 - echo "$as_me:8515: \$? = $ac_status" >&5 6474 + echo "$as_me:9 285: \$? = $ac_status" >&57022 + echo "$as_me:9148: \$? = $ac_status" >&5 6475 7023 (exit $ac_status); }; }; then 6476 7024 break 6477 7025 else 6478 @@ -8522,16 +9 292,16 @@7026 @@ -8522,16 +9155,16 @@ 6479 7027 rm -f conftest.$ac_objext 6480 7028 CC="$CC -n32" 6481 7029 rm -f conftest.$ac_objext 6482 7030 -if { (eval echo "$as_me:8525: \"$ac_compile\"") >&5 6483 +if { (eval echo "$as_me:9 295: \"$ac_compile\"") >&57031 +if { (eval echo "$as_me:9158: \"$ac_compile\"") >&5 6484 7032 (eval $ac_compile) 2>&5 6485 7033 ac_status=$? 6486 7034 - echo "$as_me:8528: \$? = $ac_status" >&5 6487 + echo "$as_me:9 298: \$? = $ac_status" >&57035 + echo "$as_me:9161: \$? = $ac_status" >&5 6488 7036 (exit $ac_status); } && 6489 7037 { ac_try='test -s conftest.$ac_objext' 6490 7038 - { (eval echo "$as_me:8531: \"$ac_try\"") >&5 6491 + { (eval echo "$as_me:9 301: \"$ac_try\"") >&57039 + { (eval echo "$as_me:9164: \"$ac_try\"") >&5 6492 7040 (eval $ac_try) 2>&5 6493 7041 ac_status=$? 6494 7042 - echo "$as_me:8534: \$? = $ac_status" >&5 6495 + echo "$as_me:9 304: \$? = $ac_status" >&57043 + echo "$as_me:9167: \$? = $ac_status" >&5 6496 7044 (exit $ac_status); }; }; then 6497 7045 ac_cv_sys_largefile_CC=' -n32'; break 6498 7046 else 6499 @@ -8545,13 +9 315,13 @@7047 @@ -8545,13 +9178,13 @@ 6500 7048 rm -f conftest.$ac_ext 6501 7049 fi 6502 7050 fi 6503 7051 -echo "$as_me:8548: result: $ac_cv_sys_largefile_CC" >&5 6504 +echo "$as_me:9 318: result: $ac_cv_sys_largefile_CC" >&57052 +echo "$as_me:9181: result: $ac_cv_sys_largefile_CC" >&5 6505 7053 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 6506 7054 if test "$ac_cv_sys_largefile_CC" != no; then … … 6509 7057 6510 7058 - echo "$as_me:8554: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6511 + echo "$as_me:9 324: checking for _FILE_OFFSET_BITS value needed for large files" >&57059 + echo "$as_me:9187: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6512 7060 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 6513 7061 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 6514 7062 echo $ECHO_N "(cached) $ECHO_C" >&6 6515 @@ -8559,7 +9 329,7 @@7063 @@ -8559,7 +9192,7 @@ 6516 7064 while :; do 6517 7065 ac_cv_sys_file_offset_bits=no 6518 7066 cat >conftest.$ac_ext <<_ACEOF 6519 7067 -#line 8562 "configure" 6520 +#line 9 332"configure"7068 +#line 9195 "configure" 6521 7069 #include "confdefs.h" 6522 7070 #include <sys/types.h> 6523 7071 /* Check that off_t can represent 2**63 - 1 correctly. 6524 @@ -8579,16 +9 349,16 @@7072 @@ -8579,16 +9212,16 @@ 6525 7073 } 6526 7074 _ACEOF 6527 7075 rm -f conftest.$ac_objext 6528 7076 -if { (eval echo "$as_me:8582: \"$ac_compile\"") >&5 6529 +if { (eval echo "$as_me:9 352: \"$ac_compile\"") >&57077 +if { (eval echo "$as_me:9215: \"$ac_compile\"") >&5 6530 7078 (eval $ac_compile) 2>&5 6531 7079 ac_status=$? 6532 7080 - echo "$as_me:8585: \$? = $ac_status" >&5 6533 + echo "$as_me:9 355: \$? = $ac_status" >&57081 + echo "$as_me:9218: \$? = $ac_status" >&5 6534 7082 (exit $ac_status); } && 6535 7083 { ac_try='test -s conftest.$ac_objext' 6536 7084 - { (eval echo "$as_me:8588: \"$ac_try\"") >&5 6537 + { (eval echo "$as_me:9 358: \"$ac_try\"") >&57085 + { (eval echo "$as_me:9221: \"$ac_try\"") >&5 6538 7086 (eval $ac_try) 2>&5 6539 7087 ac_status=$? 6540 7088 - echo "$as_me:8591: \$? = $ac_status" >&5 6541 + echo "$as_me:9 361: \$? = $ac_status" >&57089 + echo "$as_me:9224: \$? = $ac_status" >&5 6542 7090 (exit $ac_status); }; }; then 6543 7091 break 6544 7092 else 6545 @@ -8597,7 +9 367,7 @@7093 @@ -8597,7 +9230,7 @@ 6546 7094 fi 6547 7095 rm -f conftest.$ac_objext conftest.$ac_ext 6548 7096 cat >conftest.$ac_ext <<_ACEOF 6549 7097 -#line 8600 "configure" 6550 +#line 9 370"configure"7098 +#line 9233 "configure" 6551 7099 #include "confdefs.h" 6552 7100 #define _FILE_OFFSET_BITS 64 6553 7101 #include <sys/types.h> 6554 @@ -8618,16 +9 388,16 @@7102 @@ -8618,16 +9251,16 @@ 6555 7103 } 6556 7104 _ACEOF 6557 7105 rm -f conftest.$ac_objext 6558 7106 -if { (eval echo "$as_me:8621: \"$ac_compile\"") >&5 6559 +if { (eval echo "$as_me:9 391: \"$ac_compile\"") >&57107 +if { (eval echo "$as_me:9254: \"$ac_compile\"") >&5 6560 7108 (eval $ac_compile) 2>&5 6561 7109 ac_status=$? 6562 7110 - echo "$as_me:8624: \$? = $ac_status" >&5 6563 + echo "$as_me:9 394: \$? = $ac_status" >&57111 + echo "$as_me:9257: \$? = $ac_status" >&5 6564 7112 (exit $ac_status); } && 6565 7113 { ac_try='test -s conftest.$ac_objext' 6566 7114 - { (eval echo "$as_me:8627: \"$ac_try\"") >&5 6567 + { (eval echo "$as_me:9 397: \"$ac_try\"") >&57115 + { (eval echo "$as_me:9260: \"$ac_try\"") >&5 6568 7116 (eval $ac_try) 2>&5 6569 7117 ac_status=$? 6570 7118 - echo "$as_me:8630: \$? = $ac_status" >&5 6571 + echo "$as_me:9 400: \$? = $ac_status" >&57119 + echo "$as_me:9263: \$? = $ac_status" >&5 6572 7120 (exit $ac_status); }; }; then 6573 7121 ac_cv_sys_file_offset_bits=64; break 6574 7122 else 6575 @@ -8638,7 +9 408,7 @@7123 @@ -8638,7 +9271,7 @@ 6576 7124 break 6577 7125 done 6578 7126 fi 6579 7127 -echo "$as_me:8641: result: $ac_cv_sys_file_offset_bits" >&5 6580 +echo "$as_me:9 411: result: $ac_cv_sys_file_offset_bits" >&57128 +echo "$as_me:9274: result: $ac_cv_sys_file_offset_bits" >&5 6581 7129 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 6582 7130 if test "$ac_cv_sys_file_offset_bits" != no; then 6583 7131 6584 @@ -8648,7 +9 418,7 @@7132 @@ -8648,7 +9281,7 @@ 6585 7133 6586 7134 fi 6587 7135 rm -rf conftest* 6588 7136 - echo "$as_me:8651: checking for _LARGE_FILES value needed for large files" >&5 6589 + echo "$as_me:9 421: checking for _LARGE_FILES value needed for large files" >&57137 + echo "$as_me:9284: checking for _LARGE_FILES value needed for large files" >&5 6590 7138 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 6591 7139 if test "${ac_cv_sys_large_files+set}" = set; then 6592 7140 echo $ECHO_N "(cached) $ECHO_C" >&6 6593 @@ -8656,7 +9 426,7 @@7141 @@ -8656,7 +9289,7 @@ 6594 7142 while :; do 6595 7143 ac_cv_sys_large_files=no 6596 7144 cat >conftest.$ac_ext <<_ACEOF 6597 7145 -#line 8659 "configure" 6598 +#line 9 429"configure"7146 +#line 9292 "configure" 6599 7147 #include "confdefs.h" 6600 7148 #include <sys/types.h> 6601 7149 /* Check that off_t can represent 2**63 - 1 correctly. 6602 @@ -8676,16 +9 446,16 @@7150 @@ -8676,16 +9309,16 @@ 6603 7151 } 6604 7152 _ACEOF 6605 7153 rm -f conftest.$ac_objext 6606 7154 -if { (eval echo "$as_me:8679: \"$ac_compile\"") >&5 6607 +if { (eval echo "$as_me:9 449: \"$ac_compile\"") >&57155 +if { (eval echo "$as_me:9312: \"$ac_compile\"") >&5 6608 7156 (eval $ac_compile) 2>&5 6609 7157 ac_status=$? 6610 7158 - echo "$as_me:8682: \$? = $ac_status" >&5 6611 + echo "$as_me:9 452: \$? = $ac_status" >&57159 + echo "$as_me:9315: \$? = $ac_status" >&5 6612 7160 (exit $ac_status); } && 6613 7161 { ac_try='test -s conftest.$ac_objext' 6614 7162 - { (eval echo "$as_me:8685: \"$ac_try\"") >&5 6615 + { (eval echo "$as_me:9 455: \"$ac_try\"") >&57163 + { (eval echo "$as_me:9318: \"$ac_try\"") >&5 6616 7164 (eval $ac_try) 2>&5 6617 7165 ac_status=$? 6618 7166 - echo "$as_me:8688: \$? = $ac_status" >&5 6619 + echo "$as_me:9 458: \$? = $ac_status" >&57167 + echo "$as_me:9321: \$? = $ac_status" >&5 6620 7168 (exit $ac_status); }; }; then 6621 7169 break 6622 7170 else 6623 @@ -8694,7 +9 464,7 @@7171 @@ -8694,7 +9327,7 @@ 6624 7172 fi 6625 7173 rm -f conftest.$ac_objext conftest.$ac_ext 6626 7174 cat >conftest.$ac_ext <<_ACEOF 6627 7175 -#line 8697 "configure" 6628 +#line 9 467"configure"7176 +#line 9330 "configure" 6629 7177 #include "confdefs.h" 6630 7178 #define _LARGE_FILES 1 6631 7179 #include <sys/types.h> 6632 @@ -8715,16 +9 485,16 @@7180 @@ -8715,16 +9348,16 @@ 6633 7181 } 6634 7182 _ACEOF 6635 7183 rm -f conftest.$ac_objext 6636 7184 -if { (eval echo "$as_me:8718: \"$ac_compile\"") >&5 6637 +if { (eval echo "$as_me:9 488: \"$ac_compile\"") >&57185 +if { (eval echo "$as_me:9351: \"$ac_compile\"") >&5 6638 7186 (eval $ac_compile) 2>&5 6639 7187 ac_status=$? 6640 7188 - echo "$as_me:8721: \$? = $ac_status" >&5 6641 + echo "$as_me:9 491: \$? = $ac_status" >&57189 + echo "$as_me:9354: \$? = $ac_status" >&5 6642 7190 (exit $ac_status); } && 6643 7191 { ac_try='test -s conftest.$ac_objext' 6644 7192 - { (eval echo "$as_me:8724: \"$ac_try\"") >&5 6645 + { (eval echo "$as_me:9 494: \"$ac_try\"") >&57193 + { (eval echo "$as_me:9357: \"$ac_try\"") >&5 6646 7194 (eval $ac_try) 2>&5 6647 7195 ac_status=$? 6648 7196 - echo "$as_me:8727: \$? = $ac_status" >&5 6649 + echo "$as_me:9 497: \$? = $ac_status" >&57197 + echo "$as_me:9360: \$? = $ac_status" >&5 6650 7198 (exit $ac_status); }; }; then 6651 7199 ac_cv_sys_large_files=1; break 6652 7200 else 6653 @@ -8735,7 +9 505,7 @@7201 @@ -8735,7 +9368,7 @@ 6654 7202 break 6655 7203 done 6656 7204 fi 6657 7205 -echo "$as_me:8738: result: $ac_cv_sys_large_files" >&5 6658 +echo "$as_me:9 508: result: $ac_cv_sys_large_files" >&57206 +echo "$as_me:9371: result: $ac_cv_sys_large_files" >&5 6659 7207 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 6660 7208 if test "$ac_cv_sys_large_files" != no; then 6661 7209 6662 @@ -8748,7 +9 518,7 @@7210 @@ -8748,7 +9381,7 @@ 6663 7211 fi 6664 7212 6665 7213 if test "$enable_largefile" != no ; then 6666 7214 - echo "$as_me:8751: checking for _LARGEFILE_SOURCE value needed for large files" >&5 6667 + echo "$as_me:9 521: checking for _LARGEFILE_SOURCE value needed for large files" >&57215 + echo "$as_me:9384: checking for _LARGEFILE_SOURCE value needed for large files" >&5 6668 7216 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 6669 7217 if test "${ac_cv_sys_largefile_source+set}" = set; then 6670 7218 echo $ECHO_N "(cached) $ECHO_C" >&6 6671 @@ -8756,7 +9 526,7 @@7219 @@ -8756,7 +9389,7 @@ 6672 7220 while :; do 6673 7221 ac_cv_sys_largefile_source=no 6674 7222 cat >conftest.$ac_ext <<_ACEOF 6675 7223 -#line 8759 "configure" 6676 +#line 9 529"configure"7224 +#line 9392 "configure" 6677 7225 #include "confdefs.h" 6678 7226 #include <stdio.h> 6679 7227 int 6680 @@ -8768,16 +9 538,16 @@7228 @@ -8768,16 +9401,16 @@ 6681 7229 } 6682 7230 _ACEOF 6683 7231 rm -f conftest.$ac_objext 6684 7232 -if { (eval echo "$as_me:8771: \"$ac_compile\"") >&5 6685 +if { (eval echo "$as_me:9 541: \"$ac_compile\"") >&57233 +if { (eval echo "$as_me:9404: \"$ac_compile\"") >&5 6686 7234 (eval $ac_compile) 2>&5 6687 7235 ac_status=$? 6688 7236 - echo "$as_me:8774: \$? = $ac_status" >&5 6689 + echo "$as_me:9 544: \$? = $ac_status" >&57237 + echo "$as_me:9407: \$? = $ac_status" >&5 6690 7238 (exit $ac_status); } && 6691 7239 { ac_try='test -s conftest.$ac_objext' 6692 7240 - { (eval echo "$as_me:8777: \"$ac_try\"") >&5 6693 + { (eval echo "$as_me:9 547: \"$ac_try\"") >&57241 + { (eval echo "$as_me:9410: \"$ac_try\"") >&5 6694 7242 (eval $ac_try) 2>&5 6695 7243 ac_status=$? 6696 7244 - echo "$as_me:8780: \$? = $ac_status" >&5 6697 + echo "$as_me:9 550: \$? = $ac_status" >&57245 + echo "$as_me:9413: \$? = $ac_status" >&5 6698 7246 (exit $ac_status); }; }; then 6699 7247 break 6700 7248 else 6701 @@ -8786,7 +9 556,7 @@7249 @@ -8786,7 +9419,7 @@ 6702 7250 fi 6703 7251 rm -f conftest.$ac_objext conftest.$ac_ext 6704 7252 cat >conftest.$ac_ext <<_ACEOF 6705 7253 -#line 8789 "configure" 6706 +#line 9 559"configure"7254 +#line 9422 "configure" 6707 7255 #include "confdefs.h" 6708 7256 #define _LARGEFILE_SOURCE 1 6709 7257 #include <stdio.h> 6710 @@ -8799,16 +9 569,16 @@7258 @@ -8799,16 +9432,16 @@ 6711 7259 } 6712 7260 _ACEOF 6713 7261 rm -f conftest.$ac_objext 6714 7262 -if { (eval echo "$as_me:8802: \"$ac_compile\"") >&5 6715 +if { (eval echo "$as_me:9 572: \"$ac_compile\"") >&57263 +if { (eval echo "$as_me:9435: \"$ac_compile\"") >&5 6716 7264 (eval $ac_compile) 2>&5 6717 7265 ac_status=$? 6718 7266 - echo "$as_me:8805: \$? = $ac_status" >&5 6719 + echo "$as_me:9 575: \$? = $ac_status" >&57267 + echo "$as_me:9438: \$? = $ac_status" >&5 6720 7268 (exit $ac_status); } && 6721 7269 { ac_try='test -s conftest.$ac_objext' 6722 7270 - { (eval echo "$as_me:8808: \"$ac_try\"") >&5 6723 + { (eval echo "$as_me:9 578: \"$ac_try\"") >&57271 + { (eval echo "$as_me:9441: \"$ac_try\"") >&5 6724 7272 (eval $ac_try) 2>&5 6725 7273 ac_status=$? 6726 7274 - echo "$as_me:8811: \$? = $ac_status" >&5 6727 + echo "$as_me:9 581: \$? = $ac_status" >&57275 + echo "$as_me:9444: \$? = $ac_status" >&5 6728 7276 (exit $ac_status); }; }; then 6729 7277 ac_cv_sys_largefile_source=1; break 6730 7278 else 6731 @@ -8819,7 +9 589,7 @@7279 @@ -8819,7 +9452,7 @@ 6732 7280 break 6733 7281 done 6734 7282 fi 6735 7283 -echo "$as_me:8822: result: $ac_cv_sys_largefile_source" >&5 6736 +echo "$as_me:9 592: result: $ac_cv_sys_largefile_source" >&57284 +echo "$as_me:9455: result: $ac_cv_sys_largefile_source" >&5 6737 7285 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 6738 7286 if test "$ac_cv_sys_largefile_source" != no; then 6739 7287 6740 @@ -8833,13 +9 603,13 @@7288 @@ -8833,13 +9466,13 @@ 6741 7289 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 6742 7290 # in glibc 2.1.3, but that breaks too many other things. 6743 7291 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 6744 7292 -echo "$as_me:8836: checking for fseeko" >&5 6745 +echo "$as_me:9 606: checking for fseeko" >&57293 +echo "$as_me:9469: checking for fseeko" >&5 6746 7294 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 6747 7295 if test "${ac_cv_func_fseeko+set}" = set; then … … 6750 7298 cat >conftest.$ac_ext <<_ACEOF 6751 7299 -#line 8842 "configure" 6752 +#line 9 612"configure"7300 +#line 9475 "configure" 6753 7301 #include "confdefs.h" 6754 7302 #include <stdio.h> 6755 7303 int 6756 @@ -8851,16 +9 621,16 @@7304 @@ -8851,16 +9484,16 @@ 6757 7305 } 6758 7306 _ACEOF 6759 7307 rm -f conftest.$ac_objext conftest$ac_exeext 6760 7308 -if { (eval echo "$as_me:8854: \"$ac_link\"") >&5 6761 +if { (eval echo "$as_me:9 624: \"$ac_link\"") >&57309 +if { (eval echo "$as_me:9487: \"$ac_link\"") >&5 6762 7310 (eval $ac_link) 2>&5 6763 7311 ac_status=$? 6764 7312 - echo "$as_me:8857: \$? = $ac_status" >&5 6765 + echo "$as_me:9 627: \$? = $ac_status" >&57313 + echo "$as_me:9490: \$? = $ac_status" >&5 6766 7314 (exit $ac_status); } && 6767 7315 { ac_try='test -s conftest$ac_exeext' 6768 7316 - { (eval echo "$as_me:8860: \"$ac_try\"") >&5 6769 + { (eval echo "$as_me:9 630: \"$ac_try\"") >&57317 + { (eval echo "$as_me:9493: \"$ac_try\"") >&5 6770 7318 (eval $ac_try) 2>&5 6771 7319 ac_status=$? 6772 7320 - echo "$as_me:8863: \$? = $ac_status" >&5 6773 + echo "$as_me:9 633: \$? = $ac_status" >&57321 + echo "$as_me:9496: \$? = $ac_status" >&5 6774 7322 (exit $ac_status); }; }; then 6775 7323 ac_cv_func_fseeko=yes 6776 7324 else 6777 @@ -8870,7 +9 640,7 @@7325 @@ -8870,7 +9503,7 @@ 6778 7326 fi 6779 7327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6780 7328 fi 6781 7329 -echo "$as_me:8873: result: $ac_cv_func_fseeko" >&5 6782 +echo "$as_me:9 643: result: $ac_cv_func_fseeko" >&57330 +echo "$as_me:9506: result: $ac_cv_func_fseeko" >&5 6783 7331 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 6784 7332 if test $ac_cv_func_fseeko = yes; then 6785 7333 6786 @@ -8891,14 +9 661,14 @@7334 @@ -8891,14 +9524,14 @@ 6787 7335 test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE " 6788 7336 test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits " 6789 7337 6790 7338 - echo "$as_me:8894: checking whether to use struct dirent64" >&5 6791 + echo "$as_me:9 664: checking whether to use struct dirent64" >&57339 + echo "$as_me:9527: checking whether to use struct dirent64" >&5 6792 7340 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 6793 7341 if test "${cf_cv_struct_dirent64+set}" = set; then … … 6797 7345 cat >conftest.$ac_ext <<_ACEOF 6798 7346 -#line 8901 "configure" 6799 +#line 9 671"configure"7347 +#line 9534 "configure" 6800 7348 #include "confdefs.h" 6801 7349 6802 7350 #include <sys/types.h> 6803 @@ -8919,16 +9 689,16 @@7351 @@ -8919,16 +9552,16 @@ 6804 7352 } 6805 7353 _ACEOF 6806 7354 rm -f conftest.$ac_objext 6807 7355 -if { (eval echo "$as_me:8922: \"$ac_compile\"") >&5 6808 +if { (eval echo "$as_me:9 692: \"$ac_compile\"") >&57356 +if { (eval echo "$as_me:9555: \"$ac_compile\"") >&5 6809 7357 (eval $ac_compile) 2>&5 6810 7358 ac_status=$? 6811 7359 - echo "$as_me:8925: \$? = $ac_status" >&5 6812 + echo "$as_me:9 695: \$? = $ac_status" >&57360 + echo "$as_me:9558: \$? = $ac_status" >&5 6813 7361 (exit $ac_status); } && 6814 7362 { ac_try='test -s conftest.$ac_objext' 6815 7363 - { (eval echo "$as_me:8928: \"$ac_try\"") >&5 6816 + { (eval echo "$as_me:9 698: \"$ac_try\"") >&57364 + { (eval echo "$as_me:9561: \"$ac_try\"") >&5 6817 7365 (eval $ac_try) 2>&5 6818 7366 ac_status=$? 6819 7367 - echo "$as_me:8931: \$? = $ac_status" >&5 6820 + echo "$as_me:9 701: \$? = $ac_status" >&57368 + echo "$as_me:9564: \$? = $ac_status" >&5 6821 7369 (exit $ac_status); }; }; then 6822 7370 cf_cv_struct_dirent64=yes 6823 7371 else 6824 @@ -8939,7 +9 709,7 @@7372 @@ -8939,7 +9572,7 @@ 6825 7373 rm -f conftest.$ac_objext conftest.$ac_ext 6826 7374 6827 7375 fi 6828 7376 -echo "$as_me:8942: result: $cf_cv_struct_dirent64" >&5 6829 +echo "$as_me:9 712: result: $cf_cv_struct_dirent64" >&57377 +echo "$as_me:9575: result: $cf_cv_struct_dirent64" >&5 6830 7378 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 6831 7379 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF 6832 7380 #define HAVE_STRUCT_DIRENT64 1 6833 @@ -8948,7 +9 718,7 @@7381 @@ -8948,7 +9581,7 @@ 6834 7382 fi 6835 7383 6836 7384 ### Enable compiling-in rcs id's 6837 7385 -echo "$as_me:8951: checking if RCS identifiers should be compiled-in" >&5 6838 +echo "$as_me:9 721: checking if RCS identifiers should be compiled-in" >&57386 +echo "$as_me:9584: checking if RCS identifiers should be compiled-in" >&5 6839 7387 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 6840 7388 6841 7389 # Check whether --with-rcs-ids or --without-rcs-ids was given. 6842 @@ -8958,7 +9 728,7 @@7390 @@ -8958,7 +9591,7 @@ 6843 7391 else 6844 7392 with_rcs_ids=no 6845 7393 fi; 6846 7394 -echo "$as_me:8961: result: $with_rcs_ids" >&5 6847 +echo "$as_me:9 731: result: $with_rcs_ids" >&57395 +echo "$as_me:9594: result: $with_rcs_ids" >&5 6848 7396 echo "${ECHO_T}$with_rcs_ids" >&6 6849 7397 test "$with_rcs_ids" = yes && cat >>confdefs.h <<\EOF 6850 7398 #define USE_RCS_IDS 1 6851 @@ -8967,7 +9 737,7 @@7399 @@ -8967,7 +9600,7 @@ 6852 7400 ############################################################################### 6853 7401 6854 7402 ### Note that some functions (such as const) are normally disabled anyway. 6855 7403 -echo "$as_me:8970: checking if you want to build with function extensions" >&5 6856 +echo "$as_me:9 740: checking if you want to build with function extensions" >&57404 +echo "$as_me:9603: checking if you want to build with function extensions" >&5 6857 7405 echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 6858 7406 6859 7407 # Check whether --enable-ext-funcs or --disable-ext-funcs was given. 6860 @@ -8977,7 +9 747,7 @@7408 @@ -8977,7 +9610,7 @@ 6861 7409 else 6862 7410 with_ext_funcs=yes 6863 7411 fi; 6864 7412 -echo "$as_me:8980: result: $with_ext_funcs" >&5 6865 +echo "$as_me:9 750: result: $with_ext_funcs" >&57413 +echo "$as_me:9613: result: $with_ext_funcs" >&5 6866 7414 echo "${ECHO_T}$with_ext_funcs" >&6 6867 7415 if test "$with_ext_funcs" = yes ; then 6868 7416 NCURSES_EXT_FUNCS=1 6869 @@ -8994,7 +9 764,7 @@7417 @@ -8994,7 +9627,7 @@ 6870 7418 fi 6871 7419 6872 7420 ### use option --enable-const to turn on use of const beyond that in XSI. 6873 7421 -echo "$as_me:8997: checking for extended use of const keyword" >&5 6874 +echo "$as_me:9 767: checking for extended use of const keyword" >&57422 +echo "$as_me:9630: checking for extended use of const keyword" >&5 6875 7423 echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 6876 7424 6877 7425 # Check whether --enable-const or --disable-const was given. 6878 @@ -9004,7 +9 774,7 @@7426 @@ -9004,7 +9637,7 @@ 6879 7427 else 6880 7428 with_ext_const=no 6881 7429 fi; 6882 7430 -echo "$as_me:9007: result: $with_ext_const" >&5 6883 +echo "$as_me:9 777: result: $with_ext_const" >&57431 +echo "$as_me:9640: result: $with_ext_const" >&5 6884 7432 echo "${ECHO_T}$with_ext_const" >&6 6885 7433 NCURSES_CONST='/*nothing*/' 6886 7434 if test "$with_ext_const" = yes ; then 6887 @@ -9014,7 +9 784,7 @@7435 @@ -9014,7 +9647,7 @@ 6888 7436 ############################################################################### 6889 7437 # These options are relatively safe to experiment with. 6890 7438 6891 7439 -echo "$as_me:9017: checking if you want all development code" >&5 6892 +echo "$as_me:9 787: checking if you want all development code" >&57440 +echo "$as_me:9650: checking if you want all development code" >&5 6893 7441 echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 6894 7442 6895 7443 # Check whether --with-develop or --without-develop was given. 6896 @@ -9024,7 +9 794,7 @@7444 @@ -9024,7 +9657,7 @@ 6897 7445 else 6898 7446 with_develop=no 6899 7447 fi; 6900 7448 -echo "$as_me:9027: result: $with_develop" >&5 6901 +echo "$as_me:9 797: result: $with_develop" >&57449 +echo "$as_me:9660: result: $with_develop" >&5 6902 7450 echo "${ECHO_T}$with_develop" >&6 6903 7451 6904 7452 ############################################################################### 6905 @@ -9033,7 +9 803,7 @@7453 @@ -9033,7 +9666,7 @@ 6906 7454 # This is still experimental (20080329), but should ultimately be moved to 6907 7455 # the script-block --with-normal, etc. 6908 7456 6909 7457 -echo "$as_me:9036: checking if you want to link with the pthread library" >&5 6910 +echo "$as_me:9 806: checking if you want to link with the pthread library" >&57458 +echo "$as_me:9669: checking if you want to link with the pthread library" >&5 6911 7459 echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 6912 7460 6913 7461 # Check whether --with-pthread or --without-pthread was given. 6914 @@ -9043,27 +9 813,27 @@7462 @@ -9043,27 +9676,27 @@ 6915 7463 else 6916 7464 with_pthread=no 6917 7465 fi; 6918 7466 -echo "$as_me:9046: result: $with_pthread" >&5 6919 +echo "$as_me:9 816: result: $with_pthread" >&57467 +echo "$as_me:9679: result: $with_pthread" >&5 6920 7468 echo "${ECHO_T}$with_pthread" >&6 6921 7469 6922 7470 if test "$with_pthread" != no ; then 6923 7471 - echo "$as_me:9050: checking for pthread.h" >&5 6924 + echo "$as_me:9 820: checking for pthread.h" >&57472 + echo "$as_me:9683: checking for pthread.h" >&5 6925 7473 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 6926 7474 if test "${ac_cv_header_pthread_h+set}" = set; then … … 6929 7477 cat >conftest.$ac_ext <<_ACEOF 6930 7478 -#line 9056 "configure" 6931 +#line 9 826"configure"7479 +#line 9689 "configure" 6932 7480 #include "confdefs.h" 6933 7481 #include <pthread.h> 6934 7482 _ACEOF 6935 7483 -if { (eval echo "$as_me:9060: \"$ac_cpp conftest.$ac_ext\"") >&5 6936 +if { (eval echo "$as_me:9 830: \"$ac_cpp conftest.$ac_ext\"") >&57484 +if { (eval echo "$as_me:9693: \"$ac_cpp conftest.$ac_ext\"") >&5 6937 7485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6938 7486 ac_status=$? … … 6941 7489 cat conftest.err >&5 6942 7490 - echo "$as_me:9066: \$? = $ac_status" >&5 6943 + echo "$as_me:9 836: \$? = $ac_status" >&57491 + echo "$as_me:9699: \$? = $ac_status" >&5 6944 7492 (exit $ac_status); } >/dev/null; then 6945 7493 if test -s conftest.err; then 6946 7494 ac_cpp_err=$ac_c_preproc_warn_flag 6947 @@ -9082,7 +9 852,7 @@7495 @@ -9082,7 +9715,7 @@ 6948 7496 fi 6949 7497 rm -f conftest.err conftest.$ac_ext 6950 7498 fi 6951 7499 -echo "$as_me:9085: result: $ac_cv_header_pthread_h" >&5 6952 +echo "$as_me:9 855: result: $ac_cv_header_pthread_h" >&57500 +echo "$as_me:9718: result: $ac_cv_header_pthread_h" >&5 6953 7501 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 6954 7502 if test $ac_cv_header_pthread_h = yes; then 6955 7503 6956 @@ -9090,12 +9 860,14 @@7504 @@ -9090,12 +9723,14 @@ 6957 7505 #define HAVE_PTHREADS_H 1 6958 7506 EOF … … 6966 7514 + for cf_lib_pthread in pthread c_r 6967 7515 + do 6968 + echo "$as_me:9 865: checking if we can link with the $cf_lib_pthread library" >&57516 + echo "$as_me:9728: checking if we can link with the $cf_lib_pthread library" >&5 6969 7517 +echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 6970 7518 + cf_save_LIBS="$LIBS" 6971 7519 + LIBS="-l$cf_lib_pthread $LIBS" 6972 7520 + cat >conftest.$ac_ext <<_ACEOF 6973 +#line 9 870"configure"7521 +#line 9733 "configure" 6974 7522 #include "confdefs.h" 6975 7523 6976 7524 #include <pthread.h> 6977 @@ -9104,23 +9 876,24 @@7525 @@ -9104,23 +9739,24 @@ 6978 7526 main () 6979 7527 { … … 6989 7537 rm -f conftest.$ac_objext conftest$ac_exeext 6990 7538 -if { (eval echo "$as_me:9114: \"$ac_link\"") >&5 6991 +if { (eval echo "$as_me:9 887: \"$ac_link\"") >&57539 +if { (eval echo "$as_me:9750: \"$ac_link\"") >&5 6992 7540 (eval $ac_link) 2>&5 6993 7541 ac_status=$? 6994 7542 - echo "$as_me:9117: \$? = $ac_status" >&5 6995 + echo "$as_me:9 890: \$? = $ac_status" >&57543 + echo "$as_me:9753: \$? = $ac_status" >&5 6996 7544 (exit $ac_status); } && 6997 7545 { ac_try='test -s conftest$ac_exeext' 6998 7546 - { (eval echo "$as_me:9120: \"$ac_try\"") >&5 6999 + { (eval echo "$as_me:9 893: \"$ac_try\"") >&57547 + { (eval echo "$as_me:9756: \"$ac_try\"") >&5 7000 7548 (eval $ac_try) 2>&5 7001 7549 ac_status=$? 7002 7550 - echo "$as_me:9123: \$? = $ac_status" >&5 7003 + echo "$as_me:9 896: \$? = $ac_status" >&57551 + echo "$as_me:9759: \$? = $ac_status" >&5 7004 7552 (exit $ac_status); }; }; then 7005 7553 with_pthread=yes 7006 7554 else 7007 @@ -9129,27 +9 902,29 @@7555 @@ -9129,27 +9765,29 @@ 7008 7556 with_pthread=no 7009 7557 fi … … 7012 7560 - echo "$as_me:9133: result: $with_pthread" >&5 7013 7561 + LIBS="$cf_save_LIBS" 7014 + echo "$as_me:9 906: result: $with_pthread" >&57562 + echo "$as_me:9769: result: $with_pthread" >&5 7015 7563 echo "${ECHO_T}$with_pthread" >&6 7016 7564 + test "$with_pthread" = yes && break … … 7029 7577 - { { echo "$as_me:9143: error: Cannot link with pthread library" >&5 7030 7578 + else 7031 + { { echo "$as_me:9 918: error: Cannot link with pthread library" >&57579 + { { echo "$as_me:9781: error: Cannot link with pthread library" >&5 7032 7580 echo "$as_me: error: Cannot link with pthread library" >&2;} 7033 7581 { (exit 1); exit 1; }; } … … 7040 7588 7041 7589 -echo "$as_me:9152: checking if you want to use weak-symbols for pthreads" >&5 7042 +echo "$as_me:9 927: checking if you want to use weak-symbols for pthreads" >&57590 +echo "$as_me:9790: checking if you want to use weak-symbols for pthreads" >&5 7043 7591 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 7044 7592 7045 7593 # Check whether --enable-weak-symbols or --disable-weak-symbols was given. 7046 @@ -9159,18 +9 934,18 @@7594 @@ -9159,18 +9797,18 @@ 7047 7595 else 7048 7596 use_weak_symbols=no 7049 7597 fi; 7050 7598 -echo "$as_me:9162: result: $use_weak_symbols" >&5 7051 +echo "$as_me:9 937: result: $use_weak_symbols" >&57599 +echo "$as_me:9800: result: $use_weak_symbols" >&5 7052 7600 echo "${ECHO_T}$use_weak_symbols" >&6 7053 7601 if test "$use_weak_symbols" = yes ; then 7054 7602 7055 7603 -echo "$as_me:9166: checking if $CC supports weak symbols" >&5 7056 +echo "$as_me:9 941: checking if $CC supports weak symbols" >&57604 +echo "$as_me:9804: checking if $CC supports weak symbols" >&5 7057 7605 echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 7058 7606 if test "${cf_cv_weak_symbols+set}" = set; then … … 7062 7610 cat >conftest.$ac_ext <<_ACEOF 7063 7611 -#line 9173 "configure" 7064 +#line 9 948"configure"7612 +#line 9811 "configure" 7065 7613 #include "confdefs.h" 7066 7614 7067 7615 #include <stdio.h> 7068 @@ -9196,16 +9 971,16 @@7616 @@ -9196,16 +9834,16 @@ 7069 7617 } 7070 7618 _ACEOF 7071 7619 rm -f conftest.$ac_objext 7072 7620 -if { (eval echo "$as_me:9199: \"$ac_compile\"") >&5 7073 +if { (eval echo "$as_me:9 974: \"$ac_compile\"") >&57621 +if { (eval echo "$as_me:9837: \"$ac_compile\"") >&5 7074 7622 (eval $ac_compile) 2>&5 7075 7623 ac_status=$? 7076 7624 - echo "$as_me:9202: \$? = $ac_status" >&5 7077 + echo "$as_me:9 977: \$? = $ac_status" >&57625 + echo "$as_me:9840: \$? = $ac_status" >&5 7078 7626 (exit $ac_status); } && 7079 7627 { ac_try='test -s conftest.$ac_objext' 7080 7628 - { (eval echo "$as_me:9205: \"$ac_try\"") >&5 7081 + { (eval echo "$as_me:9 980: \"$ac_try\"") >&57629 + { (eval echo "$as_me:9843: \"$ac_try\"") >&5 7082 7630 (eval $ac_try) 2>&5 7083 7631 ac_status=$? 7084 7632 - echo "$as_me:9208: \$? = $ac_status" >&5 7085 + echo "$as_me:9 983: \$? = $ac_status" >&57633 + echo "$as_me:9846: \$? = $ac_status" >&5 7086 7634 (exit $ac_status); }; }; then 7087 7635 cf_cv_weak_symbols=yes 7088 7636 else 7089 @@ -9216,7 +9 991,7 @@7637 @@ -9216,7 +9854,7 @@ 7090 7638 rm -f conftest.$ac_objext conftest.$ac_ext 7091 7639 7092 7640 fi 7093 7641 -echo "$as_me:9219: result: $cf_cv_weak_symbols" >&5 7094 +echo "$as_me:9 994: result: $cf_cv_weak_symbols" >&57642 +echo "$as_me:9857: result: $cf_cv_weak_symbols" >&5 7095 7643 echo "${ECHO_T}$cf_cv_weak_symbols" >&6 7096 7644 7097 7645 else 7098 @@ -9243,13 + 10018,13 @@7646 @@ -9243,13 +9881,13 @@ 7099 7647 fi 7100 7648 7101 7649 # OpenSUSE is installing ncurses6, using reentrant option. 7102 7650 -echo "$as_me:9246: checking for _nc_TABSIZE" >&5 7103 +echo "$as_me: 10021: checking for _nc_TABSIZE" >&57651 +echo "$as_me:9884: checking for _nc_TABSIZE" >&5 7104 7652 echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 7105 7653 if test "${ac_cv_func__nc_TABSIZE+set}" = set; then … … 7108 7656 cat >conftest.$ac_ext <<_ACEOF 7109 7657 -#line 9252 "configure" 7110 +#line 10027"configure"7658 +#line 9890 "configure" 7111 7659 #include "confdefs.h" 7112 7660 /* System header to define __stub macros and hopefully few prototypes, 7113 7661 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 @@ 7115 7672 } 7116 7673 _ACEOF 7117 7674 rm -f conftest.$ac_objext conftest$ac_exeext 7118 7675 -if { (eval echo "$as_me:9283: \"$ac_link\"") >&5 7119 +if { (eval echo "$as_me: 10058: \"$ac_link\"") >&57676 +if { (eval echo "$as_me:9921: \"$ac_link\"") >&5 7120 7677 (eval $ac_link) 2>&5 7121 7678 ac_status=$? 7122 7679 - echo "$as_me:9286: \$? = $ac_status" >&5 7123 + echo "$as_me: 10061: \$? = $ac_status" >&57680 + echo "$as_me:9924: \$? = $ac_status" >&5 7124 7681 (exit $ac_status); } && 7125 7682 { ac_try='test -s conftest$ac_exeext' 7126 7683 - { (eval echo "$as_me:9289: \"$ac_try\"") >&5 7127 + { (eval echo "$as_me: 10064: \"$ac_try\"") >&57684 + { (eval echo "$as_me:9927: \"$ac_try\"") >&5 7128 7685 (eval $ac_try) 2>&5 7129 7686 ac_status=$? 7130 7687 - echo "$as_me:9292: \$? = $ac_status" >&5 7131 + echo "$as_me: 10067: \$? = $ac_status" >&57688 + echo "$as_me:9930: \$? = $ac_status" >&5 7132 7689 (exit $ac_status); }; }; then 7133 7690 ac_cv_func__nc_TABSIZE=yes 7134 7691 else 7135 @@ -9299,7 + 10074,7 @@7692 @@ -9299,7 +9937,7 @@ 7136 7693 fi 7137 7694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7138 7695 fi 7139 7696 -echo "$as_me:9302: result: $ac_cv_func__nc_TABSIZE" >&5 7140 +echo "$as_me: 10077: result: $ac_cv_func__nc_TABSIZE" >&57697 +echo "$as_me:9940: result: $ac_cv_func__nc_TABSIZE" >&5 7141 7698 echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 7142 7699 if test $ac_cv_func__nc_TABSIZE = yes; then 7143 7700 assume_reentrant=yes 7144 @@ -9311,7 + 10086,7 @@7701 @@ -9311,7 +9949,7 @@ 7145 7702 # opaque outside of that, so there is no --enable-opaque option. We can use 7146 7703 # this option without --with-pthreads, but this will be always set for 7147 7704 # pthreads. 7148 7705 -echo "$as_me:9314: checking if you want experimental reentrant code" >&5 7149 +echo "$as_me: 10089: checking if you want experimental reentrant code" >&57706 +echo "$as_me:9952: checking if you want experimental reentrant code" >&5 7150 7707 echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 7151 7708 7152 7709 # Check whether --enable-reentrant or --disable-reentrant was given. 7153 @@ -9321,7 + 10096,7 @@7710 @@ -9321,7 +9959,7 @@ 7154 7711 else 7155 7712 with_reentrant=$assume_reentrant 7156 7713 fi; 7157 7714 -echo "$as_me:9324: result: $with_reentrant" >&5 7158 +echo "$as_me: 10099: result: $with_reentrant" >&57715 +echo "$as_me:9962: result: $with_reentrant" >&5 7159 7716 echo "${ECHO_T}$with_reentrant" >&6 7160 7717 if test "$with_reentrant" = yes ; then 7161 7718 cf_cv_enable_reentrant=1 7162 @@ -9343,7 + 10118,7 @@7719 @@ -9343,7 +9981,7 @@ 7163 7720 7164 7721 ### Allow using a different wrap-prefix 7165 7722 if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then 7166 7723 - 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" >&57724 + echo "$as_me:9984: checking for prefix used to wrap public variables" >&5 7168 7725 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 7169 7726 7170 7727 # Check whether --with-wrap-prefix or --without-wrap-prefix was given. 7171 @@ -9353,7 + 10128,7 @@7728 @@ -9353,7 +9991,7 @@ 7172 7729 else 7173 7730 NCURSES_WRAP_PREFIX=_nc_ 7174 7731 fi; 7175 7732 - echo "$as_me:9356: result: $NCURSES_WRAP_PREFIX" >&5 7176 + echo "$as_me: 10131: result: $NCURSES_WRAP_PREFIX" >&57733 + echo "$as_me:9994: result: $NCURSES_WRAP_PREFIX" >&5 7177 7734 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 7178 7735 else 7179 7736 NCURSES_WRAP_PREFIX=_nc_ 7180 @@ -9366, 7 +10141,7@@7737 @@ -9366,26 +10004,46 @@ 7181 7738 ############################################################################### 7182 7739 7183 7740 ### use option --disable-echo to suppress full display compiling commands 7184 7741 -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 7187 7746 7188 7747 # 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 7190 7769 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 7193 7785 -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 7196 7789 7197 7790 ### use option --enable-warnings to turn on all gcc warnings 7198 7791 -echo "$as_me:9388: checking if you want to see compiler warnings" >&5 7199 +echo "$as_me:10 163: checking if you want to see compiler warnings" >&57792 +echo "$as_me:10046: checking if you want to see compiler warnings" >&5 7200 7793 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6 7201 7794 7202 7795 # Check whether --enable-warnings or --disable-warnings was given. 7203 @@ -9393,7 +10 168,7 @@7796 @@ -9393,7 +10051,7 @@ 7204 7797 enableval="$enable_warnings" 7205 7798 with_warnings=$enableval 7206 7799 fi; 7207 7800 -echo "$as_me:9396: result: $with_warnings" >&5 7208 +echo "$as_me:10 171: result: $with_warnings" >&57801 +echo "$as_me:10054: result: $with_warnings" >&5 7209 7802 echo "${ECHO_T}$with_warnings" >&6 7210 7803 7211 7804 if test "x$with_warnings" = "xyes"; then 7212 @@ -9405,12 +10 180,12 @@7805 @@ -9405,12 +10063,12 @@ 7213 7806 if test "$GCC" = yes ; then 7214 7807 case $host_os in 7215 7808 linux*|gnu*) 7216 7809 - echo "$as_me:9408: checking if this is really Intel C compiler" >&5 7217 + echo "$as_me:10 183: checking if this is really Intel C compiler" >&57810 + echo "$as_me:10066: checking if this is really Intel C compiler" >&5 7218 7811 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 7219 7812 cf_save_CFLAGS="$CFLAGS" … … 7221 7814 cat >conftest.$ac_ext <<_ACEOF 7222 7815 -#line 9413 "configure" 7223 +#line 10 188"configure"7816 +#line 10071 "configure" 7224 7817 #include "confdefs.h" 7225 7818 7226 7819 int 7227 @@ -9427,16 +10 202,16 @@7820 @@ -9427,16 +10085,16 @@ 7228 7821 } 7229 7822 _ACEOF 7230 7823 rm -f conftest.$ac_objext 7231 7824 -if { (eval echo "$as_me:9430: \"$ac_compile\"") >&5 7232 +if { (eval echo "$as_me:10 205: \"$ac_compile\"") >&57825 +if { (eval echo "$as_me:10088: \"$ac_compile\"") >&5 7233 7826 (eval $ac_compile) 2>&5 7234 7827 ac_status=$? 7235 7828 - echo "$as_me:9433: \$? = $ac_status" >&5 7236 + echo "$as_me:10 208: \$? = $ac_status" >&57829 + echo "$as_me:10091: \$? = $ac_status" >&5 7237 7830 (exit $ac_status); } && 7238 7831 { ac_try='test -s conftest.$ac_objext' 7239 7832 - { (eval echo "$as_me:9436: \"$ac_try\"") >&5 7240 + { (eval echo "$as_me:10 211: \"$ac_try\"") >&57833 + { (eval echo "$as_me:10094: \"$ac_try\"") >&5 7241 7834 (eval $ac_try) 2>&5 7242 7835 ac_status=$? 7243 7836 - echo "$as_me:9439: \$? = $ac_status" >&5 7244 + echo "$as_me:10 214: \$? = $ac_status" >&57837 + echo "$as_me:10097: \$? = $ac_status" >&5 7245 7838 (exit $ac_status); }; }; then 7246 7839 INTEL_COMPILER=yes 7247 7840 cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" 7248 @@ -9447,14 +10 222,14@@7841 @@ -9447,14 +10105,63 @@ 7249 7842 fi 7250 7843 rm -f conftest.$ac_objext conftest.$ac_ext 7251 7844 CFLAGS="$cf_save_CFLAGS" 7252 7845 - echo "$as_me:9450: result: $INTEL_COMPILER" >&5 7253 + echo "$as_me:10 225: result: $INTEL_COMPILER" >&57846 + echo "$as_me:10108: result: $INTEL_COMPILER" >&5 7254 7847 echo "${ECHO_T}$INTEL_COMPILER" >&6 7255 7848 ;; … … 7257 7850 fi 7258 7851 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 + 7259 7901 cat > conftest.$ac_ext <<EOF 7260 7902 -#line 9457 "${as_me:-configure}" 7261 +#line 10 232"${as_me:-configure}"7903 +#line 10164 "${as_me:-configure}" 7262 7904 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } 7263 7905 EOF 7264 7906 7265 @@ -9471,7 +10 246,7 @@7907 @@ -9471,7 +10178,7 @@ 7266 7908 # remark #981: operands are evaluated in unspecified order 7267 7909 # warning #279: controlling expression is constant 7268 7910 7269 7911 - { echo "$as_me:9474: checking for $CC warning options..." >&5 7270 + { echo "$as_me:10 249: checking for $CC warning options..." >&57912 + { echo "$as_me:10181: checking for $CC warning options..." >&5 7271 7913 echo "$as_me: checking for $CC warning options..." >&6;} 7272 7914 cf_save_CFLAGS="$CFLAGS" 7273 7915 EXTRA_CFLAGS="-Wall" 7274 @@ -9487,12 +10 262,12 @@7916 @@ -9487,12 +10194,12 @@ 7275 7917 wd981 7276 7918 do 7277 7919 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 7278 7920 - if { (eval echo "$as_me:9490: \"$ac_compile\"") >&5 7279 + if { (eval echo "$as_me:10 265: \"$ac_compile\"") >&57921 + if { (eval echo "$as_me:10197: \"$ac_compile\"") >&5 7280 7922 (eval $ac_compile) 2>&5 7281 7923 ac_status=$? 7282 7924 - echo "$as_me:9493: \$? = $ac_status" >&5 7283 + echo "$as_me:102 68: \$? = $ac_status" >&57925 + echo "$as_me:10200: \$? = $ac_status" >&5 7284 7926 (exit $ac_status); }; then 7285 7927 - test -n "$verbose" && echo "$as_me:9495: result: ... -$cf_opt" >&5 7286 + test -n "$verbose" && echo "$as_me:102 70: result: ... -$cf_opt" >&57928 + test -n "$verbose" && echo "$as_me:10202: result: ... -$cf_opt" >&5 7287 7929 echo "${ECHO_T}... -$cf_opt" >&6 7288 7930 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" 7289 7931 fi 7290 @@ -9501,7 +102 76,7 @@7932 @@ -9501,7 +10208,7 @@ 7291 7933 7292 7934 elif test "$GCC" = yes 7293 7935 then 7294 7936 - { echo "$as_me:9504: checking for $CC warning options..." >&5 7295 + { echo "$as_me:102 79: checking for $CC warning options..." >&57937 + { echo "$as_me:10211: checking for $CC warning options..." >&5 7296 7938 echo "$as_me: checking for $CC warning options..." >&6;} 7297 7939 cf_save_CFLAGS="$CFLAGS" 7298 7940 EXTRA_CFLAGS= 7299 @@ -9521,12 +102 96,12 @@7941 @@ -9521,12 +10228,12 @@ 7300 7942 Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum 7301 7943 do 7302 7944 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 7303 7945 - if { (eval echo "$as_me:9524: \"$ac_compile\"") >&5 7304 + if { (eval echo "$as_me:102 99: \"$ac_compile\"") >&57946 + if { (eval echo "$as_me:10231: \"$ac_compile\"") >&5 7305 7947 (eval $ac_compile) 2>&5 7306 7948 ac_status=$? 7307 7949 - echo "$as_me:9527: \$? = $ac_status" >&5 7308 + echo "$as_me:10 302: \$? = $ac_status" >&57950 + echo "$as_me:10234: \$? = $ac_status" >&5 7309 7951 (exit $ac_status); }; then 7310 7952 - test -n "$verbose" && echo "$as_me:9529: result: ... -$cf_opt" >&5 7311 + test -n "$verbose" && echo "$as_me:10 304: result: ... -$cf_opt" >&57953 + test -n "$verbose" && echo "$as_me:10236: result: ... -$cf_opt" >&5 7312 7954 echo "${ECHO_T}... -$cf_opt" >&6 7313 7955 case $cf_opt in #(vi 7314 7956 Wcast-qual) #(vi 7315 @@ -9537,7 +10 312,7 @@7957 @@ -9537,7 +10244,17 @@ 7316 7958 [34].*) 7317 7959 test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 7318 7960 7319 7961 -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 7321 7973 7322 7974 continue;; 7323 7975 esac 7324 @@ -9570,10 +10 345,10 @@7976 @@ -9570,10 +10287,10 @@ 7325 7977 EOF 7326 7978 if test "$GCC" = yes 7327 7979 then 7328 7980 - { echo "$as_me:9573: checking for $CC __attribute__ directives..." >&5 7329 + { echo "$as_me:10 348: checking for $CC __attribute__ directives..." >&57981 + { echo "$as_me:10290: checking for $CC __attribute__ directives..." >&5 7330 7982 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} 7331 7983 cat > conftest.$ac_ext <<EOF 7332 7984 -#line 9576 "${as_me:-configure}" 7333 +#line 10 351"${as_me:-configure}"7985 +#line 10293 "${as_me:-configure}" 7334 7986 #include "confdefs.h" 7335 7987 #include "conftest.h" 7336 7988 #include "conftest.i" 7337 @@ -9622,12 +103 97,12 @@7989 @@ -9622,12 +10339,12 @@ 7338 7990 ;; 7339 7991 esac 7340 7992 7341 7993 - if { (eval echo "$as_me:9625: \"$ac_compile\"") >&5 7342 + if { (eval echo "$as_me:10 400: \"$ac_compile\"") >&57994 + if { (eval echo "$as_me:10342: \"$ac_compile\"") >&5 7343 7995 (eval $ac_compile) 2>&5 7344 7996 ac_status=$? 7345 7997 - echo "$as_me:9628: \$? = $ac_status" >&5 7346 + echo "$as_me:10 403: \$? = $ac_status" >&57998 + echo "$as_me:10345: \$? = $ac_status" >&5 7347 7999 (exit $ac_status); }; then 7348 8000 - test -n "$verbose" && echo "$as_me:9630: result: ... $cf_attribute" >&5 7349 + test -n "$verbose" && echo "$as_me:10 405: result: ... $cf_attribute" >&58001 + test -n "$verbose" && echo "$as_me:10347: result: ... $cf_attribute" >&5 7350 8002 echo "${ECHO_T}... $cf_attribute" >&6 7351 8003 cat conftest.h >>confdefs.h 7352 8004 case $cf_attribute in #(vi 7353 @@ -9663,7 +10 438,7 @@8005 @@ -9663,7 +10380,7 @@ 7354 8006 fi 7355 8007 7356 8008 ### use option --enable-assertions to turn on generation of assertion code 7357 8009 -echo "$as_me:9666: checking if you want to enable runtime assertions" >&5 7358 +echo "$as_me:10 441: checking if you want to enable runtime assertions" >&58010 +echo "$as_me:10383: checking if you want to enable runtime assertions" >&5 7359 8011 echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 7360 8012 7361 8013 # Check whether --enable-assertions or --disable-assertions was given. 7362 @@ -9673, 7 +10448,7@@8014 @@ -9673,16 +10390,12 @@ 7363 8015 else 7364 8016 with_assertions=no 7365 8017 fi; 7366 8018 -echo "$as_me:9676: result: $with_assertions" >&5 7367 +echo "$as_me:10 451: result: $with_assertions" >&58019 +echo "$as_me:10393: result: $with_assertions" >&5 7368 8020 echo "${ECHO_T}$with_assertions" >&6 7369 8021 if test -n "$GCC" 7370 8022 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 @@ 7372 8033 ;; 7373 8034 esac 7374 8035 7375 8036 -echo "$as_me:9730: checking whether to add trace feature to all models" >&5 7376 +echo "$as_me:10 505: checking whether to add trace feature to all models" >&58037 +echo "$as_me:10443: checking whether to add trace feature to all models" >&5 7377 8038 echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 7378 8039 7379 8040 # Check whether --with-trace or --without-trace was given. 7380 @@ -9737,7 +10 512,7 @@8041 @@ -9737,7 +10450,7 @@ 7381 8042 else 7382 8043 cf_with_trace=$cf_all_traces 7383 8044 fi; 7384 8045 -echo "$as_me:9740: result: $cf_with_trace" >&5 7385 +echo "$as_me:10 515: result: $cf_with_trace" >&58046 +echo "$as_me:10453: result: $cf_with_trace" >&5 7386 8047 echo "${ECHO_T}$cf_with_trace" >&6 7387 8048 7388 8049 if test "$cf_with_trace" = yes ; then 7389 @@ -9830,13 +10 605,13 @@8050 @@ -9830,13 +10543,13 @@ 7390 8051 *mingw32*) #(vi 7391 8052 ;; 7392 8053 *) 7393 8054 -echo "$as_me:9833: checking for gettimeofday" >&5 7394 +echo "$as_me:10 608: checking for gettimeofday" >&58055 +echo "$as_me:10546: checking for gettimeofday" >&5 7395 8056 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 7396 8057 if test "${ac_cv_func_gettimeofday+set}" = set; then … … 7399 8060 cat >conftest.$ac_ext <<_ACEOF 7400 8061 -#line 9839 "configure" 7401 +#line 10 614"configure"8062 +#line 10552 "configure" 7402 8063 #include "confdefs.h" 7403 8064 /* System header to define __stub macros and hopefully few prototypes, 7404 8065 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 @@ 7406 8076 } 7407 8077 _ACEOF 7408 8078 rm -f conftest.$ac_objext conftest$ac_exeext 7409 8079 -if { (eval echo "$as_me:9870: \"$ac_link\"") >&5 7410 +if { (eval echo "$as_me:10 645: \"$ac_link\"") >&58080 +if { (eval echo "$as_me:10583: \"$ac_link\"") >&5 7411 8081 (eval $ac_link) 2>&5 7412 8082 ac_status=$? 7413 8083 - echo "$as_me:9873: \$? = $ac_status" >&5 7414 + echo "$as_me:10 648: \$? = $ac_status" >&58084 + echo "$as_me:10586: \$? = $ac_status" >&5 7415 8085 (exit $ac_status); } && 7416 8086 { ac_try='test -s conftest$ac_exeext' 7417 8087 - { (eval echo "$as_me:9876: \"$ac_try\"") >&5 7418 + { (eval echo "$as_me:10 651: \"$ac_try\"") >&58088 + { (eval echo "$as_me:10589: \"$ac_try\"") >&5 7419 8089 (eval $ac_try) 2>&5 7420 8090 ac_status=$? 7421 8091 - echo "$as_me:9879: \$? = $ac_status" >&5 7422 + echo "$as_me:10 654: \$? = $ac_status" >&58092 + echo "$as_me:10592: \$? = $ac_status" >&5 7423 8093 (exit $ac_status); }; }; then 7424 8094 ac_cv_func_gettimeofday=yes 7425 8095 else 7426 @@ -9886,7 +10 661,7 @@8096 @@ -9886,7 +10599,7 @@ 7427 8097 fi 7428 8098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7429 8099 fi 7430 8100 -echo "$as_me:9889: result: $ac_cv_func_gettimeofday" >&5 7431 +echo "$as_me:106 64: result: $ac_cv_func_gettimeofday" >&58101 +echo "$as_me:10602: result: $ac_cv_func_gettimeofday" >&5 7432 8102 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 7433 8103 if test $ac_cv_func_gettimeofday = yes; then 7434 8104 cat >>confdefs.h <<\EOF 7435 @@ -9895,7 +106 70,7 @@8105 @@ -9895,7 +10608,7 @@ 7436 8106 7437 8107 else 7438 8108 7439 8109 -echo "$as_me:9898: checking for gettimeofday in -lbsd" >&5 7440 +echo "$as_me:106 73: checking for gettimeofday in -lbsd" >&58110 +echo "$as_me:10611: checking for gettimeofday in -lbsd" >&5 7441 8111 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 7442 8112 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 7443 8113 echo $ECHO_N "(cached) $ECHO_C" >&6 7444 @@ -9903,7 +106 78,7 @@8114 @@ -9903,7 +10616,7 @@ 7445 8115 ac_check_lib_save_LIBS=$LIBS 7446 8116 LIBS="-lbsd $LIBS" 7447 8117 cat >conftest.$ac_ext <<_ACEOF 7448 8118 -#line 9906 "configure" 7449 +#line 106 81"configure"8119 +#line 10619 "configure" 7450 8120 #include "confdefs.h" 7451 8121 7452 8122 /* Override any gcc2 internal prototype to avoid an error. */ 7453 @@ -9922,16 +106 97,16 @@8123 @@ -9922,16 +10635,16 @@ 7454 8124 } 7455 8125 _ACEOF 7456 8126 rm -f conftest.$ac_objext conftest$ac_exeext 7457 8127 -if { (eval echo "$as_me:9925: \"$ac_link\"") >&5 7458 +if { (eval echo "$as_me:10 700: \"$ac_link\"") >&58128 +if { (eval echo "$as_me:10638: \"$ac_link\"") >&5 7459 8129 (eval $ac_link) 2>&5 7460 8130 ac_status=$? 7461 8131 - echo "$as_me:9928: \$? = $ac_status" >&5 7462 + echo "$as_me:10 703: \$? = $ac_status" >&58132 + echo "$as_me:10641: \$? = $ac_status" >&5 7463 8133 (exit $ac_status); } && 7464 8134 { ac_try='test -s conftest$ac_exeext' 7465 8135 - { (eval echo "$as_me:9931: \"$ac_try\"") >&5 7466 + { (eval echo "$as_me:10 706: \"$ac_try\"") >&58136 + { (eval echo "$as_me:10644: \"$ac_try\"") >&5 7467 8137 (eval $ac_try) 2>&5 7468 8138 ac_status=$? 7469 8139 - echo "$as_me:9934: \$? = $ac_status" >&5 7470 + echo "$as_me:10 709: \$? = $ac_status" >&58140 + echo "$as_me:10647: \$? = $ac_status" >&5 7471 8141 (exit $ac_status); }; }; then 7472 8142 ac_cv_lib_bsd_gettimeofday=yes 7473 8143 else 7474 @@ -9942,7 +10 717,7 @@8144 @@ -9942,7 +10655,7 @@ 7475 8145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7476 8146 LIBS=$ac_check_lib_save_LIBS 7477 8147 fi 7478 8148 -echo "$as_me:9945: result: $ac_cv_lib_bsd_gettimeofday" >&5 7479 +echo "$as_me:10 720: result: $ac_cv_lib_bsd_gettimeofday" >&58149 +echo "$as_me:10658: result: $ac_cv_lib_bsd_gettimeofday" >&5 7480 8150 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 7481 8151 if test $ac_cv_lib_bsd_gettimeofday = yes; then 7482 8152 cat >>confdefs.h <<\EOF 7483 @@ -9957,13 +10 732,13 @@8153 @@ -9957,13 +10670,13 @@ 7484 8154 esac 7485 8155 7486 8156 ### Checks for header files. 7487 8157 -echo "$as_me:9960: checking for ANSI C header files" >&5 7488 +echo "$as_me:10 735: checking for ANSI C header files" >&58158 +echo "$as_me:10673: checking for ANSI C header files" >&5 7489 8159 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7490 8160 if test "${ac_cv_header_stdc+set}" = set; then … … 7493 8163 cat >conftest.$ac_ext <<_ACEOF 7494 8164 -#line 9966 "configure" 7495 +#line 10 741"configure"8165 +#line 10679 "configure" 7496 8166 #include "confdefs.h" 7497 8167 #include <stdlib.h> 7498 8168 #include <stdarg.h> 7499 @@ -9971,13 +10 746,13 @@8169 @@ -9971,13 +10684,13 @@ 7500 8170 #include <float.h> 7501 8171 7502 8172 _ACEOF 7503 8173 -if { (eval echo "$as_me:9974: \"$ac_cpp conftest.$ac_ext\"") >&5 7504 +if { (eval echo "$as_me:10 749: \"$ac_cpp conftest.$ac_ext\"") >&58174 +if { (eval echo "$as_me:10687: \"$ac_cpp conftest.$ac_ext\"") >&5 7505 8175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7506 8176 ac_status=$? … … 7509 8179 cat conftest.err >&5 7510 8180 - echo "$as_me:9980: \$? = $ac_status" >&5 7511 + echo "$as_me:10 755: \$? = $ac_status" >&58181 + echo "$as_me:10693: \$? = $ac_status" >&5 7512 8182 (exit $ac_status); } >/dev/null; then 7513 8183 if test -s conftest.err; then 7514 8184 ac_cpp_err=$ac_c_preproc_warn_flag 7515 @@ -9999,7 +107 74,7 @@8185 @@ -9999,7 +10712,7 @@ 7516 8186 if test $ac_cv_header_stdc = yes; then 7517 8187 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7518 8188 cat >conftest.$ac_ext <<_ACEOF 7519 8189 -#line 10002 "configure" 7520 +#line 107 77"configure"8190 +#line 10715 "configure" 7521 8191 #include "confdefs.h" 7522 8192 #include <string.h> 7523 8193 7524 @@ -10017,7 +107 92,7 @@8194 @@ -10017,7 +10730,7 @@ 7525 8195 if test $ac_cv_header_stdc = yes; then 7526 8196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7527 8197 cat >conftest.$ac_ext <<_ACEOF 7528 8198 -#line 10020 "configure" 7529 +#line 107 95"configure"8199 +#line 10733 "configure" 7530 8200 #include "confdefs.h" 7531 8201 #include <stdlib.h> 7532 8202 7533 @@ -10038,7 +10 813,7 @@8203 @@ -10038,7 +10751,7 @@ 7534 8204 : 7535 8205 else 7536 8206 cat >conftest.$ac_ext <<_ACEOF 7537 8207 -#line 10041 "configure" 7538 +#line 10 816"configure"8208 +#line 10754 "configure" 7539 8209 #include "confdefs.h" 7540 8210 #include <ctype.h> 7541 8211 #if ((' ' & 0x0FF) == 0x020) 7542 @@ -10064,15 +10 839,15 @@8212 @@ -10064,15 +10777,15 @@ 7543 8213 } 7544 8214 _ACEOF 7545 8215 rm -f conftest$ac_exeext 7546 8216 -if { (eval echo "$as_me:10067: \"$ac_link\"") >&5 7547 +if { (eval echo "$as_me:10 842: \"$ac_link\"") >&58217 +if { (eval echo "$as_me:10780: \"$ac_link\"") >&5 7548 8218 (eval $ac_link) 2>&5 7549 8219 ac_status=$? 7550 8220 - echo "$as_me:10070: \$? = $ac_status" >&5 7551 + echo "$as_me:10 845: \$? = $ac_status" >&58221 + echo "$as_me:10783: \$? = $ac_status" >&5 7552 8222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7553 8223 - { (eval echo "$as_me:10072: \"$ac_try\"") >&5 7554 + { (eval echo "$as_me:10 847: \"$ac_try\"") >&58224 + { (eval echo "$as_me:10785: \"$ac_try\"") >&5 7555 8225 (eval $ac_try) 2>&5 7556 8226 ac_status=$? 7557 8227 - echo "$as_me:10075: \$? = $ac_status" >&5 7558 + echo "$as_me:10 850: \$? = $ac_status" >&58228 + echo "$as_me:10788: \$? = $ac_status" >&5 7559 8229 (exit $ac_status); }; }; then 7560 8230 : 7561 8231 else 7562 @@ -10085,7 +10 860,7 @@8232 @@ -10085,7 +10798,7 @@ 7563 8233 fi 7564 8234 fi 7565 8235 fi 7566 8236 -echo "$as_me:10088: result: $ac_cv_header_stdc" >&5 7567 +echo "$as_me:108 63: result: $ac_cv_header_stdc" >&58237 +echo "$as_me:10801: result: $ac_cv_header_stdc" >&5 7568 8238 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7569 8239 if test $ac_cv_header_stdc = yes; then 7570 8240 7571 @@ -10098,13 +108 73,13 @@8241 @@ -10098,13 +10811,13 @@ 7572 8242 ac_header_dirent=no 7573 8243 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 7574 8244 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 7575 8245 -echo "$as_me:10101: checking for $ac_hdr that defines DIR" >&5 7576 +echo "$as_me:108 76: checking for $ac_hdr that defines DIR" >&58246 +echo "$as_me:10814: checking for $ac_hdr that defines DIR" >&5 7577 8247 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 7578 8248 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 7581 8251 cat >conftest.$ac_ext <<_ACEOF 7582 8252 -#line 10107 "configure" 7583 +#line 108 82"configure"8253 +#line 10820 "configure" 7584 8254 #include "confdefs.h" 7585 8255 #include <sys/types.h> 7586 8256 #include <$ac_hdr> 7587 @@ -10119,16 +108 94,16 @@8257 @@ -10119,16 +10832,16 @@ 7588 8258 } 7589 8259 _ACEOF 7590 8260 rm -f conftest.$ac_objext 7591 8261 -if { (eval echo "$as_me:10122: \"$ac_compile\"") >&5 7592 +if { (eval echo "$as_me:108 97: \"$ac_compile\"") >&58262 +if { (eval echo "$as_me:10835: \"$ac_compile\"") >&5 7593 8263 (eval $ac_compile) 2>&5 7594 8264 ac_status=$? 7595 8265 - echo "$as_me:10125: \$? = $ac_status" >&5 7596 + echo "$as_me:10 900: \$? = $ac_status" >&58266 + echo "$as_me:10838: \$? = $ac_status" >&5 7597 8267 (exit $ac_status); } && 7598 8268 { ac_try='test -s conftest.$ac_objext' 7599 8269 - { (eval echo "$as_me:10128: \"$ac_try\"") >&5 7600 + { (eval echo "$as_me:10 903: \"$ac_try\"") >&58270 + { (eval echo "$as_me:10841: \"$ac_try\"") >&5 7601 8271 (eval $ac_try) 2>&5 7602 8272 ac_status=$? 7603 8273 - echo "$as_me:10131: \$? = $ac_status" >&5 7604 + echo "$as_me:10 906: \$? = $ac_status" >&58274 + echo "$as_me:10844: \$? = $ac_status" >&5 7605 8275 (exit $ac_status); }; }; then 7606 8276 eval "$as_ac_Header=yes" 7607 8277 else 7608 @@ -10138,7 +10 913,7 @@8278 @@ -10138,7 +10851,7 @@ 7609 8279 fi 7610 8280 rm -f conftest.$ac_objext conftest.$ac_ext 7611 8281 fi 7612 8282 -echo "$as_me:10141: result: `eval echo '${'$as_ac_Header'}'`" >&5 7613 +echo "$as_me:10 916: result: `eval echo '${'$as_ac_Header'}'`" >&58283 +echo "$as_me:10854: result: `eval echo '${'$as_ac_Header'}'`" >&5 7614 8284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7615 8285 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7616 8286 cat >>confdefs.h <<EOF 7617 @@ -10151,7 +10 926,7 @@8287 @@ -10151,7 +10864,7 @@ 7618 8288 done 7619 8289 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 7620 8290 if test $ac_header_dirent = dirent.h; then 7621 8291 - echo "$as_me:10154: checking for opendir in -ldir" >&5 7622 + echo "$as_me:10 929: checking for opendir in -ldir" >&58292 + echo "$as_me:10867: checking for opendir in -ldir" >&5 7623 8293 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 7624 8294 if test "${ac_cv_lib_dir_opendir+set}" = set; then 7625 8295 echo $ECHO_N "(cached) $ECHO_C" >&6 7626 @@ -10159,7 +10 934,7 @@8296 @@ -10159,7 +10872,7 @@ 7627 8297 ac_check_lib_save_LIBS=$LIBS 7628 8298 LIBS="-ldir $LIBS" 7629 8299 cat >conftest.$ac_ext <<_ACEOF 7630 8300 -#line 10162 "configure" 7631 +#line 10 937"configure"8301 +#line 10875 "configure" 7632 8302 #include "confdefs.h" 7633 8303 7634 8304 /* Override any gcc2 internal prototype to avoid an error. */ 7635 @@ -10178,16 +10 953,16 @@8305 @@ -10178,16 +10891,16 @@ 7636 8306 } 7637 8307 _ACEOF 7638 8308 rm -f conftest.$ac_objext conftest$ac_exeext 7639 8309 -if { (eval echo "$as_me:10181: \"$ac_link\"") >&5 7640 +if { (eval echo "$as_me:10 956: \"$ac_link\"") >&58310 +if { (eval echo "$as_me:10894: \"$ac_link\"") >&5 7641 8311 (eval $ac_link) 2>&5 7642 8312 ac_status=$? 7643 8313 - echo "$as_me:10184: \$? = $ac_status" >&5 7644 + echo "$as_me:10 959: \$? = $ac_status" >&58314 + echo "$as_me:10897: \$? = $ac_status" >&5 7645 8315 (exit $ac_status); } && 7646 8316 { ac_try='test -s conftest$ac_exeext' 7647 8317 - { (eval echo "$as_me:10187: \"$ac_try\"") >&5 7648 + { (eval echo "$as_me:109 62: \"$ac_try\"") >&58318 + { (eval echo "$as_me:10900: \"$ac_try\"") >&5 7649 8319 (eval $ac_try) 2>&5 7650 8320 ac_status=$? 7651 8321 - echo "$as_me:10190: \$? = $ac_status" >&5 7652 + echo "$as_me:109 65: \$? = $ac_status" >&58322 + echo "$as_me:10903: \$? = $ac_status" >&5 7653 8323 (exit $ac_status); }; }; then 7654 8324 ac_cv_lib_dir_opendir=yes 7655 8325 else 7656 @@ -10198,14 +109 73,14 @@8326 @@ -10198,14 +10911,14 @@ 7657 8327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7658 8328 LIBS=$ac_check_lib_save_LIBS 7659 8329 fi 7660 8330 -echo "$as_me:10201: result: $ac_cv_lib_dir_opendir" >&5 7661 +echo "$as_me:109 76: result: $ac_cv_lib_dir_opendir" >&58331 +echo "$as_me:10914: result: $ac_cv_lib_dir_opendir" >&5 7662 8332 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 7663 8333 if test $ac_cv_lib_dir_opendir = yes; then … … 7667 8337 else 7668 8338 - echo "$as_me:10208: checking for opendir in -lx" >&5 7669 + echo "$as_me:109 83: checking for opendir in -lx" >&58339 + echo "$as_me:10921: checking for opendir in -lx" >&5 7670 8340 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 7671 8341 if test "${ac_cv_lib_x_opendir+set}" = set; then 7672 8342 echo $ECHO_N "(cached) $ECHO_C" >&6 7673 @@ -10213,7 +109 88,7 @@8343 @@ -10213,7 +10926,7 @@ 7674 8344 ac_check_lib_save_LIBS=$LIBS 7675 8345 LIBS="-lx $LIBS" 7676 8346 cat >conftest.$ac_ext <<_ACEOF 7677 8347 -#line 10216 "configure" 7678 +#line 109 91"configure"8348 +#line 10929 "configure" 7679 8349 #include "confdefs.h" 7680 8350 7681 8351 /* Override any gcc2 internal prototype to avoid an error. */ 7682 @@ -10232,16 +1 1007,16 @@8352 @@ -10232,16 +10945,16 @@ 7683 8353 } 7684 8354 _ACEOF 7685 8355 rm -f conftest.$ac_objext conftest$ac_exeext 7686 8356 -if { (eval echo "$as_me:10235: \"$ac_link\"") >&5 7687 +if { (eval echo "$as_me:1 1010: \"$ac_link\"") >&58357 +if { (eval echo "$as_me:10948: \"$ac_link\"") >&5 7688 8358 (eval $ac_link) 2>&5 7689 8359 ac_status=$? 7690 8360 - echo "$as_me:10238: \$? = $ac_status" >&5 7691 + echo "$as_me:1 1013: \$? = $ac_status" >&58361 + echo "$as_me:10951: \$? = $ac_status" >&5 7692 8362 (exit $ac_status); } && 7693 8363 { ac_try='test -s conftest$ac_exeext' 7694 8364 - { (eval echo "$as_me:10241: \"$ac_try\"") >&5 7695 + { (eval echo "$as_me:1 1016: \"$ac_try\"") >&58365 + { (eval echo "$as_me:10954: \"$ac_try\"") >&5 7696 8366 (eval $ac_try) 2>&5 7697 8367 ac_status=$? 7698 8368 - echo "$as_me:10244: \$? = $ac_status" >&5 7699 + echo "$as_me:1 1019: \$? = $ac_status" >&58369 + echo "$as_me:10957: \$? = $ac_status" >&5 7700 8370 (exit $ac_status); }; }; then 7701 8371 ac_cv_lib_x_opendir=yes 7702 8372 else 7703 @@ -10252,7 +1 1027,7 @@8373 @@ -10252,7 +10965,7 @@ 7704 8374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7705 8375 LIBS=$ac_check_lib_save_LIBS 7706 8376 fi 7707 8377 -echo "$as_me:10255: result: $ac_cv_lib_x_opendir" >&5 7708 +echo "$as_me:1 1030: result: $ac_cv_lib_x_opendir" >&58378 +echo "$as_me:10968: result: $ac_cv_lib_x_opendir" >&5 7709 8379 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 7710 8380 if test $ac_cv_lib_x_opendir = yes; then 7711 8381 LIBS="$LIBS -lx" 7712 @@ -10260,13 +1 1035,13 @@8382 @@ -10260,13 +10973,13 @@ 7713 8383 7714 8384 fi 7715 8385 7716 8386 -echo "$as_me:10263: checking whether time.h and sys/time.h may both be included" >&5 7717 +echo "$as_me:1 1038: checking whether time.h and sys/time.h may both be included" >&58387 +echo "$as_me:10976: checking whether time.h and sys/time.h may both be included" >&5 7718 8388 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7719 8389 if test "${ac_cv_header_time+set}" = set; then … … 7722 8392 cat >conftest.$ac_ext <<_ACEOF 7723 8393 -#line 10269 "configure" 7724 +#line 1 1044"configure"8394 +#line 10982 "configure" 7725 8395 #include "confdefs.h" 7726 8396 #include <sys/types.h> 7727 8397 #include <sys/time.h> 7728 @@ -10282,16 +1 1057,16 @@8398 @@ -10282,16 +10995,16 @@ 7729 8399 } 7730 8400 _ACEOF 7731 8401 rm -f conftest.$ac_objext 7732 8402 -if { (eval echo "$as_me:10285: \"$ac_compile\"") >&5 7733 +if { (eval echo "$as_me:1 1060: \"$ac_compile\"") >&58403 +if { (eval echo "$as_me:10998: \"$ac_compile\"") >&5 7734 8404 (eval $ac_compile) 2>&5 7735 8405 ac_status=$? 7736 8406 - echo "$as_me:10288: \$? = $ac_status" >&5 7737 + echo "$as_me:110 63: \$? = $ac_status" >&58407 + echo "$as_me:11001: \$? = $ac_status" >&5 7738 8408 (exit $ac_status); } && 7739 8409 { ac_try='test -s conftest.$ac_objext' 7740 8410 - { (eval echo "$as_me:10291: \"$ac_try\"") >&5 7741 + { (eval echo "$as_me:110 66: \"$ac_try\"") >&58411 + { (eval echo "$as_me:11004: \"$ac_try\"") >&5 7742 8412 (eval $ac_try) 2>&5 7743 8413 ac_status=$? 7744 8414 - echo "$as_me:10294: \$? = $ac_status" >&5 7745 + echo "$as_me:110 69: \$? = $ac_status" >&58415 + echo "$as_me:11007: \$? = $ac_status" >&5 7746 8416 (exit $ac_status); }; }; then 7747 8417 ac_cv_header_time=yes 7748 8418 else 7749 @@ -10301,7 +110 76,7 @@8419 @@ -10301,7 +11014,7 @@ 7750 8420 fi 7751 8421 rm -f conftest.$ac_objext conftest.$ac_ext 7752 8422 fi 7753 8423 -echo "$as_me:10304: result: $ac_cv_header_time" >&5 7754 +echo "$as_me:110 79: result: $ac_cv_header_time" >&58424 +echo "$as_me:11017: result: $ac_cv_header_time" >&5 7755 8425 echo "${ECHO_T}$ac_cv_header_time" >&6 7756 8426 if test $ac_cv_header_time = yes; then 7757 8427 7758 @@ -10319,7 +110 94,7 @@8428 @@ -10319,7 +11032,7 @@ 7759 8429 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7760 8430 ac_main_return=return 7761 8431 7762 8432 -echo "$as_me:10322: checking for $CC option to accept ANSI C" >&5 7763 +echo "$as_me:110 97: checking for $CC option to accept ANSI C" >&58433 +echo "$as_me:11035: checking for $CC option to accept ANSI C" >&5 7764 8434 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 7765 8435 if test "${ac_cv_prog_cc_stdc+set}" = set; then 7766 8436 echo $ECHO_N "(cached) $ECHO_C" >&6 7767 @@ -10327,7 +11 102,7 @@8437 @@ -10327,7 +11040,7 @@ 7768 8438 ac_cv_prog_cc_stdc=no 7769 8439 ac_save_CC=$CC 7770 8440 cat >conftest.$ac_ext <<_ACEOF 7771 8441 -#line 10330 "configure" 7772 +#line 11 105"configure"8442 +#line 11043 "configure" 7773 8443 #include "confdefs.h" 7774 8444 #include <stdarg.h> 7775 8445 #include <stdio.h> 7776 @@ -10376,16 +11 151,16 @@8446 @@ -10376,16 +11089,16 @@ 7777 8447 do 7778 8448 CC="$ac_save_CC $ac_arg" 7779 8449 rm -f conftest.$ac_objext 7780 8450 -if { (eval echo "$as_me:10379: \"$ac_compile\"") >&5 7781 +if { (eval echo "$as_me:11 154: \"$ac_compile\"") >&58451 +if { (eval echo "$as_me:11092: \"$ac_compile\"") >&5 7782 8452 (eval $ac_compile) 2>&5 7783 8453 ac_status=$? 7784 8454 - echo "$as_me:10382: \$? = $ac_status" >&5 7785 + echo "$as_me:11 157: \$? = $ac_status" >&58455 + echo "$as_me:11095: \$? = $ac_status" >&5 7786 8456 (exit $ac_status); } && 7787 8457 { ac_try='test -s conftest.$ac_objext' 7788 8458 - { (eval echo "$as_me:10385: \"$ac_try\"") >&5 7789 + { (eval echo "$as_me:11 160: \"$ac_try\"") >&58459 + { (eval echo "$as_me:11098: \"$ac_try\"") >&5 7790 8460 (eval $ac_try) 2>&5 7791 8461 ac_status=$? 7792 8462 - echo "$as_me:10388: \$? = $ac_status" >&5 7793 + echo "$as_me:111 63: \$? = $ac_status" >&58463 + echo "$as_me:11101: \$? = $ac_status" >&5 7794 8464 (exit $ac_status); }; }; then 7795 8465 ac_cv_prog_cc_stdc=$ac_arg 7796 8466 break 7797 @@ -10402,21 +111 77,21 @@8467 @@ -10402,21 +11115,21 @@ 7798 8468 7799 8469 case "x$ac_cv_prog_cc_stdc" in 7800 8470 x|xno) 7801 8471 - echo "$as_me:10405: result: none needed" >&5 7802 + echo "$as_me:111 80: result: none needed" >&58472 + echo "$as_me:11118: result: none needed" >&5 7803 8473 echo "${ECHO_T}none needed" >&6 ;; 7804 8474 *) 7805 8475 - echo "$as_me:10408: result: $ac_cv_prog_cc_stdc" >&5 7806 + echo "$as_me:111 83: result: $ac_cv_prog_cc_stdc" >&58476 + echo "$as_me:11121: result: $ac_cv_prog_cc_stdc" >&5 7807 8477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 7808 8478 CC="$CC $ac_cv_prog_cc_stdc" ;; … … 7810 8480 7811 8481 -echo "$as_me:10413: checking for an ANSI C-conforming const" >&5 7812 +echo "$as_me:111 88: checking for an ANSI C-conforming const" >&58482 +echo "$as_me:11126: checking for an ANSI C-conforming const" >&5 7813 8483 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7814 8484 if test "${ac_cv_c_const+set}" = set; then … … 7817 8487 cat >conftest.$ac_ext <<_ACEOF 7818 8488 -#line 10419 "configure" 7819 +#line 111 94"configure"8489 +#line 11132 "configure" 7820 8490 #include "confdefs.h" 7821 8491 7822 8492 int 7823 @@ -10474,16 +11 249,16 @@8493 @@ -10474,16 +11187,16 @@ 7824 8494 } 7825 8495 _ACEOF 7826 8496 rm -f conftest.$ac_objext 7827 8497 -if { (eval echo "$as_me:10477: \"$ac_compile\"") >&5 7828 +if { (eval echo "$as_me:11 252: \"$ac_compile\"") >&58498 +if { (eval echo "$as_me:11190: \"$ac_compile\"") >&5 7829 8499 (eval $ac_compile) 2>&5 7830 8500 ac_status=$? 7831 8501 - echo "$as_me:10480: \$? = $ac_status" >&5 7832 + echo "$as_me:11 255: \$? = $ac_status" >&58502 + echo "$as_me:11193: \$? = $ac_status" >&5 7833 8503 (exit $ac_status); } && 7834 8504 { ac_try='test -s conftest.$ac_objext' 7835 8505 - { (eval echo "$as_me:10483: \"$ac_try\"") >&5 7836 + { (eval echo "$as_me:11 258: \"$ac_try\"") >&58506 + { (eval echo "$as_me:11196: \"$ac_try\"") >&5 7837 8507 (eval $ac_try) 2>&5 7838 8508 ac_status=$? 7839 8509 - echo "$as_me:10486: \$? = $ac_status" >&5 7840 + echo "$as_me:11 261: \$? = $ac_status" >&58510 + echo "$as_me:11199: \$? = $ac_status" >&5 7841 8511 (exit $ac_status); }; }; then 7842 8512 ac_cv_c_const=yes 7843 8513 else 7844 @@ -10493,7 +112 68,7 @@8514 @@ -10493,7 +11206,7 @@ 7845 8515 fi 7846 8516 rm -f conftest.$ac_objext conftest.$ac_ext 7847 8517 fi 7848 8518 -echo "$as_me:10496: result: $ac_cv_c_const" >&5 7849 +echo "$as_me:112 71: result: $ac_cv_c_const" >&58519 +echo "$as_me:11209: result: $ac_cv_c_const" >&5 7850 8520 echo "${ECHO_T}$ac_cv_c_const" >&6 7851 8521 if test $ac_cv_c_const = no; then 7852 8522 7853 @@ -10505,7 +112 80,7 @@8523 @@ -10505,7 +11218,7 @@ 7854 8524 7855 8525 ### Checks for external-data 7856 8526 7857 8527 -echo "$as_me:10508: checking if data-only library module links" >&5 7858 +echo "$as_me:112 83: checking if data-only library module links" >&58528 +echo "$as_me:11221: checking if data-only library module links" >&5 7859 8529 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 7860 8530 if test "${cf_cv_link_dataonly+set}" = set; then 7861 8531 echo $ECHO_N "(cached) $ECHO_C" >&6 7862 @@ -10513,20 +112 88,20 @@8532 @@ -10513,20 +11226,20 @@ 7863 8533 7864 8534 rm -f conftest.a 7865 8535 cat >conftest.$ac_ext <<EOF 7866 8536 -#line 10516 "configure" 7867 +#line 112 91"configure"8537 +#line 11229 "configure" 7868 8538 int testdata[3] = { 123, 456, 789 }; 7869 8539 EOF 7870 8540 - if { (eval echo "$as_me:10519: \"$ac_compile\"") >&5 7871 + if { (eval echo "$as_me:112 94: \"$ac_compile\"") >&58541 + if { (eval echo "$as_me:11232: \"$ac_compile\"") >&5 7872 8542 (eval $ac_compile) 2>&5 7873 8543 ac_status=$? 7874 8544 - echo "$as_me:10522: \$? = $ac_status" >&5 7875 + echo "$as_me:112 97: \$? = $ac_status" >&58545 + echo "$as_me:11235: \$? = $ac_status" >&5 7876 8546 (exit $ac_status); } ; then 7877 8547 mv conftest.o data.o && \ … … 7881 8551 cat >conftest.$ac_ext <<EOF 7882 8552 -#line 10529 "configure" 7883 +#line 11 304"configure"8553 +#line 11242 "configure" 7884 8554 int testfunc() 7885 8555 { 7886 8556 #if defined(NeXT) 7887 @@ -10539,10 +11 314,10 @@8557 @@ -10539,10 +11252,10 @@ 7888 8558 #endif 7889 8559 } 7890 8560 EOF 7891 8561 - if { (eval echo "$as_me:10542: \"$ac_compile\"") >&5 7892 + if { (eval echo "$as_me:11 317: \"$ac_compile\"") >&58562 + if { (eval echo "$as_me:11255: \"$ac_compile\"") >&5 7893 8563 (eval $ac_compile) 2>&5 7894 8564 ac_status=$? 7895 8565 - echo "$as_me:10545: \$? = $ac_status" >&5 7896 + echo "$as_me:11 320: \$? = $ac_status" >&58566 + echo "$as_me:11258: \$? = $ac_status" >&5 7897 8567 (exit $ac_status); }; then 7898 8568 mv conftest.o func.o && \ 7899 8569 ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null 7900 @@ -10555,7 +11 330,7 @@8570 @@ -10555,7 +11268,7 @@ 7901 8571 cf_cv_link_dataonly=unknown 7902 8572 else 7903 8573 cat >conftest.$ac_ext <<_ACEOF 7904 8574 -#line 10558 "configure" 7905 +#line 11 333"configure"8575 +#line 11271 "configure" 7906 8576 #include "confdefs.h" 7907 8577 7908 8578 int main() 7909 @@ -10566,15 +11 341,15 @@8579 @@ -10566,15 +11279,15 @@ 7910 8580 7911 8581 _ACEOF 7912 8582 rm -f conftest$ac_exeext 7913 8583 -if { (eval echo "$as_me:10569: \"$ac_link\"") >&5 7914 +if { (eval echo "$as_me:11 344: \"$ac_link\"") >&58584 +if { (eval echo "$as_me:11282: \"$ac_link\"") >&5 7915 8585 (eval $ac_link) 2>&5 7916 8586 ac_status=$? 7917 8587 - echo "$as_me:10572: \$? = $ac_status" >&5 7918 + echo "$as_me:11 347: \$? = $ac_status" >&58588 + echo "$as_me:11285: \$? = $ac_status" >&5 7919 8589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7920 8590 - { (eval echo "$as_me:10574: \"$ac_try\"") >&5 7921 + { (eval echo "$as_me:11 349: \"$ac_try\"") >&58591 + { (eval echo "$as_me:11287: \"$ac_try\"") >&5 7922 8592 (eval $ac_try) 2>&5 7923 8593 ac_status=$? 7924 8594 - echo "$as_me:10577: \$? = $ac_status" >&5 7925 + echo "$as_me:11 352: \$? = $ac_status" >&58595 + echo "$as_me:11290: \$? = $ac_status" >&5 7926 8596 (exit $ac_status); }; }; then 7927 8597 cf_cv_link_dataonly=yes 7928 8598 else 7929 @@ -10589,7 +113 64,7 @@8599 @@ -10589,7 +11302,7 @@ 7930 8600 7931 8601 fi 7932 8602 7933 8603 -echo "$as_me:10592: result: $cf_cv_link_dataonly" >&5 7934 +echo "$as_me:113 67: result: $cf_cv_link_dataonly" >&58604 +echo "$as_me:11305: result: $cf_cv_link_dataonly" >&5 7935 8605 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 7936 8606 7937 8607 if test "$cf_cv_link_dataonly" = no ; then 7938 @@ -10602,7 +113 77,7 @@8608 @@ -10602,7 +11315,7 @@ 7939 8609 7940 8610 ### Checks for library functions. 7941 8611 7942 8612 -echo "$as_me:10605: checking for working mkstemp" >&5 7943 +echo "$as_me:113 80: checking for working mkstemp" >&58613 +echo "$as_me:11318: checking for working mkstemp" >&5 7944 8614 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 7945 8615 if test "${cf_cv_func_mkstemp+set}" = set; then 7946 8616 echo $ECHO_N "(cached) $ECHO_C" >&6 7947 @@ -10610, 13 +11385,13@@8617 @@ -10610,68 +11323,10 @@ 7948 8618 7949 8619 rm -rf conftest* 7950 8620 if test "$cross_compiling" = yes; then 7951 8621 - 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 7958 8627 -#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 7967 8658 -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=$? 7971 8661 - 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' 7975 8664 - { (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=$? 7979 8667 - 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 7988 8677 -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 7992 8681 else 7993 8682 cat >conftest.$ac_ext <<_ACEOF 7994 8683 -#line 10674 "configure" 7995 +#line 11 449 "configure"8684 +#line 11329 "configure" 7996 8685 #include "confdefs.h" 7997 8686 7998 8687 #include <sys/types.h> 7999 @@ -10709,15 +11 484,15 @@8688 @@ -10709,15 +11364,15 @@ 8000 8689 8001 8690 _ACEOF 8002 8691 rm -f conftest$ac_exeext 8003 8692 -if { (eval echo "$as_me:10712: \"$ac_link\"") >&5 8004 +if { (eval echo "$as_me:11 487: \"$ac_link\"") >&58693 +if { (eval echo "$as_me:11367: \"$ac_link\"") >&5 8005 8694 (eval $ac_link) 2>&5 8006 8695 ac_status=$? 8007 8696 - echo "$as_me:10715: \$? = $ac_status" >&5 8008 + echo "$as_me:11 490: \$? = $ac_status" >&58697 + echo "$as_me:11370: \$? = $ac_status" >&5 8009 8698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8010 8699 - { (eval echo "$as_me:10717: \"$ac_try\"") >&5 8011 + { (eval echo "$as_me:11 492: \"$ac_try\"") >&58700 + { (eval echo "$as_me:11372: \"$ac_try\"") >&5 8012 8701 (eval $ac_try) 2>&5 8013 8702 ac_status=$? 8014 8703 - echo "$as_me:10720: \$? = $ac_status" >&5 8015 + echo "$as_me:11 495: \$? = $ac_status" >&58704 + echo "$as_me:11375: \$? = $ac_status" >&5 8016 8705 (exit $ac_status); }; }; then 8017 8706 cf_cv_func_mkstemp=yes 8018 8707 8019 @@ -10732, 7 +11507,7@@8708 @@ -10732,8 +11387,69 @@ 8020 8709 fi 8021 8710 8022 8711 fi 8023 8712 -echo "$as_me:10735: result: $cf_cv_func_mkstemp" >&5 8024 +echo "$as_me:11 510: result: $cf_cv_func_mkstemp" >&58713 +echo "$as_me:11390: result: $cf_cv_func_mkstemp" >&5 8025 8714 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 8026 8776 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then 8027 8777 cat >>confdefs.h <<\EOF 8028 @@ -10741,13 +11516,13 @@ 8778 #define HAVE_MKSTEMP 1 8779 @@ -10741,13 +11457,13 @@ 8029 8780 8030 8781 fi 8031 8782 8032 8783 -echo "$as_me:10744: checking return type of signal handlers" >&5 8033 +echo "$as_me:11 519: checking return type of signal handlers" >&58784 +echo "$as_me:11460: checking return type of signal handlers" >&5 8034 8785 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 8035 8786 if test "${ac_cv_type_signal+set}" = set; then … … 8038 8789 cat >conftest.$ac_ext <<_ACEOF 8039 8790 -#line 10750 "configure" 8040 +#line 11 525"configure"8791 +#line 11466 "configure" 8041 8792 #include "confdefs.h" 8042 8793 #include <sys/types.h> 8043 8794 #include <signal.h> 8044 @@ -10769,16 +11 544,16 @@8795 @@ -10769,16 +11485,16 @@ 8045 8796 } 8046 8797 _ACEOF 8047 8798 rm -f conftest.$ac_objext 8048 8799 -if { (eval echo "$as_me:10772: \"$ac_compile\"") >&5 8049 +if { (eval echo "$as_me:11 547: \"$ac_compile\"") >&58800 +if { (eval echo "$as_me:11488: \"$ac_compile\"") >&5 8050 8801 (eval $ac_compile) 2>&5 8051 8802 ac_status=$? 8052 8803 - echo "$as_me:10775: \$? = $ac_status" >&5 8053 + echo "$as_me:11 550: \$? = $ac_status" >&58804 + echo "$as_me:11491: \$? = $ac_status" >&5 8054 8805 (exit $ac_status); } && 8055 8806 { ac_try='test -s conftest.$ac_objext' 8056 8807 - { (eval echo "$as_me:10778: \"$ac_try\"") >&5 8057 + { (eval echo "$as_me:11 553: \"$ac_try\"") >&58808 + { (eval echo "$as_me:11494: \"$ac_try\"") >&5 8058 8809 (eval $ac_try) 2>&5 8059 8810 ac_status=$? 8060 8811 - echo "$as_me:10781: \$? = $ac_status" >&5 8061 + echo "$as_me:11 556: \$? = $ac_status" >&58812 + echo "$as_me:11497: \$? = $ac_status" >&5 8062 8813 (exit $ac_status); }; }; then 8063 8814 ac_cv_type_signal=void 8064 8815 else 8065 @@ -10788,7 +115 63,7 @@8816 @@ -10788,7 +11504,7 @@ 8066 8817 fi 8067 8818 rm -f conftest.$ac_objext conftest.$ac_ext 8068 8819 fi 8069 8820 -echo "$as_me:10791: result: $ac_cv_type_signal" >&5 8070 +echo "$as_me:115 66: result: $ac_cv_type_signal" >&58821 +echo "$as_me:11507: result: $ac_cv_type_signal" >&5 8071 8822 echo "${ECHO_T}$ac_cv_type_signal" >&6 8072 8823 8073 8824 cat >>confdefs.h <<EOF 8074 @@ -10800,12 +115 75,13 @@8825 @@ -10800,12 +11516,13 @@ 8075 8826 CXXFLAGS=`echo ${CXXFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'` 8076 8827 fi … … 8083 8834 set dummy $cf_ada_make; ac_word=$2 8084 8835 -echo "$as_me:10808: checking for $ac_word" >&5 8085 +echo "$as_me:115 84: checking for $ac_word" >&58836 +echo "$as_me:11525: checking for $ac_word" >&5 8086 8837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8087 8838 if test "${ac_cv_prog_gnat_exists+set}" = set; then 8088 8839 echo $ECHO_N "(cached) $ECHO_C" >&6 8089 @@ -10820,7 +115 96,7 @@8840 @@ -10820,7 +11537,7 @@ 8090 8841 test -z "$ac_dir" && ac_dir=. 8091 8842 $as_executable_p "$ac_dir/$ac_word" || continue 8092 8843 ac_cv_prog_gnat_exists="yes" 8093 8844 -echo "$as_me:10823: found $ac_dir/$ac_word" >&5 8094 +echo "$as_me:115 99: found $ac_dir/$ac_word" >&58845 +echo "$as_me:11540: found $ac_dir/$ac_word" >&5 8095 8846 break 8096 8847 done 8097 8848 8098 @@ -10829,31 +11 605,32 @@8849 @@ -10829,31 +11546,32 @@ 8099 8850 fi 8100 8851 gnat_exists=$ac_cv_prog_gnat_exists 8101 8852 if test -n "$gnat_exists"; then 8102 8853 - echo "$as_me:10832: result: $gnat_exists" >&5 8103 + echo "$as_me:11 608: result: $gnat_exists" >&58854 + echo "$as_me:11549: result: $gnat_exists" >&5 8104 8855 echo "${ECHO_T}$gnat_exists" >&6 8105 8856 else 8106 8857 - echo "$as_me:10835: result: no" >&5 8107 + echo "$as_me:11 611: result: no" >&58858 + echo "$as_me:11552: result: no" >&5 8108 8859 echo "${ECHO_T}no" >&6 8109 8860 fi … … 8115 8866 8116 8867 -echo "$as_me:10843: checking for gnat version" >&5 8117 +echo "$as_me:11 620: checking for gnat version" >&58868 +echo "$as_me:11561: checking for gnat version" >&5 8118 8869 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 8119 8870 cf_gnat_version=`${cf_ada_make:-gnatmake} -v 2>&1 | \ … … 8121 8872 sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` 8122 8873 -echo "$as_me:10848: result: $cf_gnat_version" >&5 8123 +echo "$as_me:11 625: result: $cf_gnat_version" >&58874 +echo "$as_me:11566: result: $cf_gnat_version" >&5 8124 8875 echo "${ECHO_T}$cf_gnat_version" >&6 8125 8876 … … 8131 8882 *) 8132 8883 - { 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:11 633: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&58884 + { echo "$as_me:11574: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 8134 8885 echo "$as_me: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} 8135 8886 cf_cv_prog_gnat_correct=no 8136 8887 ;; 8137 @@ -10861,7 +11 638,7 @@8888 @@ -10861,7 +11579,7 @@ 8138 8889 8139 8890 # Extract the first word of "m4", so it can be a program name with args. 8140 8891 set dummy m4; ac_word=$2 8141 8892 -echo "$as_me:10864: checking for $ac_word" >&5 8142 +echo "$as_me:11 641: checking for $ac_word" >&58893 +echo "$as_me:11582: checking for $ac_word" >&5 8143 8894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8144 8895 if test "${ac_cv_prog_M4_exists+set}" = set; then 8145 8896 echo $ECHO_N "(cached) $ECHO_C" >&6 8146 @@ -10876,7 +11 653,7 @@8897 @@ -10876,7 +11594,7 @@ 8147 8898 test -z "$ac_dir" && ac_dir=. 8148 8899 $as_executable_p "$ac_dir/$ac_word" || continue 8149 8900 ac_cv_prog_M4_exists="yes" 8150 8901 -echo "$as_me:10879: found $ac_dir/$ac_word" >&5 8151 +echo "$as_me:11 656: found $ac_dir/$ac_word" >&58902 +echo "$as_me:11597: found $ac_dir/$ac_word" >&5 8152 8903 break 8153 8904 done 8154 8905 8155 @@ -10885,10 +116 62,10 @@8906 @@ -10885,10 +11603,10 @@ 8156 8907 fi 8157 8908 M4_exists=$ac_cv_prog_M4_exists 8158 8909 if test -n "$M4_exists"; then 8159 8910 - echo "$as_me:10888: result: $M4_exists" >&5 8160 + echo "$as_me:116 65: result: $M4_exists" >&58911 + echo "$as_me:11606: result: $M4_exists" >&5 8161 8912 echo "${ECHO_T}$M4_exists" >&6 8162 8913 else 8163 8914 - echo "$as_me:10891: result: no" >&5 8164 + echo "$as_me:116 68: result: no" >&58915 + echo "$as_me:11609: result: no" >&5 8165 8916 echo "${ECHO_T}no" >&6 8166 8917 fi 8167 8918 8168 @@ -10897,7 +116 74,7 @@8919 @@ -10897,7 +11615,7 @@ 8169 8920 echo Ada95 binding required program m4 not found. Ada95 binding disabled. 8170 8921 fi 8171 8922 if test "$cf_cv_prog_gnat_correct" = yes; then 8172 8923 - echo "$as_me:10900: checking if GNAT works" >&5 8173 + echo "$as_me:116 77: checking if GNAT works" >&58924 + echo "$as_me:11618: checking if GNAT works" >&5 8174 8925 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 8175 8926 8176 8927 rm -rf conftest* *~conftest* 8177 @@ -10925, 7 +11702,7@@8928 @@ -10925,30 +11643,34 @@ 8178 8929 fi 8179 8930 rm -rf conftest* *~conftest* 8180 8931 8181 8932 - echo "$as_me:10928: result: $cf_cv_prog_gnat_correct" >&5 8182 + echo "$as_me:11 705: result: $cf_cv_prog_gnat_correct" >&58933 + echo "$as_me:11646: result: $cf_cv_prog_gnat_correct" >&5 8183 8934 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 8184 8935 fi 8185 8936 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 8189 8969 8190 8970 -echo "$as_me:10951: checking if GNAT supports generics" >&5 8191 +echo "$as_me:11 728: checking if GNAT supports generics" >&58971 +echo "$as_me:11673: checking if GNAT supports generics" >&5 8192 8972 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 8193 8973 case $cf_gnat_version in #(vi 8194 8974 3.[1-9]*|[4-9].*) #(vi 8195 @@ -10958,7 +11 735,7 @@8975 @@ -10958,7 +11680,7 @@ 8196 8976 cf_gnat_generics=no 8197 8977 ;; 8198 8978 esac 8199 8979 -echo "$as_me:10961: result: $cf_gnat_generics" >&5 8200 +echo "$as_me:11 738: result: $cf_gnat_generics" >&58980 +echo "$as_me:11683: result: $cf_gnat_generics" >&5 8201 8981 echo "${ECHO_T}$cf_gnat_generics" >&6 8202 8982 8203 8983 if test "$cf_gnat_generics" = yes 8204 @@ -10970,7 +11 747,7 @@8984 @@ -10970,7 +11692,7 @@ 8205 8985 cf_generic_objects= 8206 8986 fi 8207 8987 8208 8988 -echo "$as_me:10973: checking if GNAT supports SIGINT" >&5 8209 +echo "$as_me:11 750: checking if GNAT supports SIGINT" >&58989 +echo "$as_me:11695: checking if GNAT supports SIGINT" >&5 8210 8990 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 8211 8991 if test "${cf_cv_gnat_sigint+set}" = set; then 8212 8992 echo $ECHO_N "(cached) $ECHO_C" >&6 8213 @@ -11018,7 +117 95,7 @@8993 @@ -11018,7 +11740,7 @@ 8214 8994 rm -rf conftest* *~conftest* 8215 8995 8216 8996 fi 8217 8997 -echo "$as_me:11021: result: $cf_cv_gnat_sigint" >&5 8218 +echo "$as_me:117 98: result: $cf_cv_gnat_sigint" >&58998 +echo "$as_me:11743: result: $cf_cv_gnat_sigint" >&5 8219 8999 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 8220 9000 8221 9001 if test $cf_cv_gnat_sigint = yes ; then 8222 @@ -11027,7 +11 804,7 @@9002 @@ -11027,7 +11749,7 @@ 8223 9003 USE_GNAT_SIGINT="#" 8224 9004 fi 8225 9005 8226 9006 -echo "$as_me:11030: checking if GNAT pragma Unreferenced works" >&5 8227 +echo "$as_me:11 807: checking if GNAT pragma Unreferenced works" >&59007 +echo "$as_me:11752: checking if GNAT pragma Unreferenced works" >&5 8228 9008 echo $ECHO_N "checking if GNAT pragma Unreferenced works... $ECHO_C" >&6 8229 9009 if test "${cf_cv_pragma_unreferenced+set}" = set; then 8230 9010 echo $ECHO_N "(cached) $ECHO_C" >&6 8231 @@ -11058,7 +11 835,7 @@9011 @@ -11058,7 +11780,7 @@ 8232 9012 rm -rf conftest* *~conftest* 8233 9013 8234 9014 fi 8235 9015 -echo "$as_me:11061: result: $cf_cv_pragma_unreferenced" >&5 8236 +echo "$as_me:11 838: result: $cf_cv_pragma_unreferenced" >&59016 +echo "$as_me:11783: result: $cf_cv_pragma_unreferenced" >&5 8237 9017 echo "${ECHO_T}$cf_cv_pragma_unreferenced" >&6 8238 9018 8239 9019 # if the pragma is supported, use it (needed in the Trace code). 8240 @@ -11071,7 +11 848,7 @@9020 @@ -11071,7 +11793,7 @@ 8241 9021 cf_gnat_libraries=no 8242 9022 cf_gnat_projects=no 8243 9023 8244 9024 -echo "$as_me:11074: checking if GNAT supports project files" >&5 8245 +echo "$as_me:11 851: checking if GNAT supports project files" >&59025 +echo "$as_me:11796: checking if GNAT supports project files" >&5 8246 9026 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 8247 9027 case $cf_gnat_version in #(vi 8248 9028 3.[0-9]*) #(vi 8249 @@ -11139,14 +11 916,14 @@9029 @@ -11139,14 +11861,14 @@ 8250 9030 esac 8251 9031 ;; 8252 9032 esac 8253 9033 -echo "$as_me:11142: result: $cf_gnat_projects" >&5 8254 +echo "$as_me:11 919: result: $cf_gnat_projects" >&59034 +echo "$as_me:11864: result: $cf_gnat_projects" >&5 8255 9035 echo "${ECHO_T}$cf_gnat_projects" >&6 8256 9036 … … 8258 9038 then 8259 9039 - echo "$as_me:11147: checking if GNAT supports libraries" >&5 8260 + echo "$as_me:11 924: checking if GNAT supports libraries" >&59040 + echo "$as_me:11869: checking if GNAT supports libraries" >&5 8261 9041 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 8262 9042 - echo "$as_me:11149: result: $cf_gnat_libraries" >&5 8263 + echo "$as_me:11 926: result: $cf_gnat_libraries" >&59043 + echo "$as_me:11871: result: $cf_gnat_libraries" >&5 8264 9044 echo "${ECHO_T}$cf_gnat_libraries" >&6 8265 9045 fi 8266 9046 8267 @@ -11166,7 +11 943,7 @@9047 @@ -11166,7 +11888,7 @@ 8268 9048 USE_GNAT_LIBRARIES="#" 8269 9049 fi 8270 9050 8271 9051 -echo "$as_me:11169: checking for ada-compiler" >&5 8272 +echo "$as_me:11 946: checking for ada-compiler" >&59052 +echo "$as_me:11891: checking for ada-compiler" >&5 8273 9053 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 8274 9054 8275 9055 # Check whether --with-ada-compiler or --without-ada-compiler was given. 8276 @@ -11177,12 +11 954,12 @@9056 @@ -11177,12 +11899,12 @@ 8277 9057 cf_ada_compiler=gnatmake 8278 9058 fi; 8279 9059 8280 9060 -echo "$as_me:11180: result: $cf_ada_compiler" >&5 8281 +echo "$as_me:119 57: result: $cf_ada_compiler" >&59061 +echo "$as_me:11902: result: $cf_ada_compiler" >&5 8282 9062 echo "${ECHO_T}$cf_ada_compiler" >&6 8283 9063 … … 8285 9065 8286 9066 -echo "$as_me:11185: checking for ada-include" >&5 8287 +echo "$as_me:119 62: checking for ada-include" >&59067 +echo "$as_me:11907: checking for ada-include" >&5 8288 9068 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 8289 9069 8290 9070 # 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 @@ 8292 9081 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 8293 9082 ;; 8294 9083 *) 8295 9084 - { { echo "$as_me:11221: error: expected a pathname, not \"$withval\"" >&5 8296 + { { echo "$as_me:119 98: error: expected a pathname, not \"$withval\"" >&59085 + { { echo "$as_me:11943: error: expected a pathname, not \"$withval\"" >&5 8297 9086 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 8298 9087 { (exit 1); exit 1; }; } 8299 9088 ;; 8300 @@ -11227,10 +1 2004,10 @@9089 @@ -11227,10 +11949,10 @@ 8301 9090 fi 8302 9091 ADA_INCLUDE="$withval" 8303 9092 8304 9093 -echo "$as_me:11230: result: $ADA_INCLUDE" >&5 8305 +echo "$as_me:1 2007: result: $ADA_INCLUDE" >&59094 +echo "$as_me:11952: result: $ADA_INCLUDE" >&5 8306 9095 echo "${ECHO_T}$ADA_INCLUDE" >&6 8307 9096 8308 9097 -echo "$as_me:11233: checking for ada-objects" >&5 8309 +echo "$as_me:1 2010: checking for ada-objects" >&59098 +echo "$as_me:11955: checking for ada-objects" >&5 8310 9099 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 8311 9100 8312 9101 # 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 @@ 8314 9112 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 8315 9113 ;; 8316 9114 *) 8317 9115 - { { echo "$as_me:11269: error: expected a pathname, not \"$withval\"" >&5 8318 + { { echo "$as_me:1 2046: error: expected a pathname, not \"$withval\"" >&59116 + { { echo "$as_me:11991: error: expected a pathname, not \"$withval\"" >&5 8319 9117 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 8320 9118 { (exit 1); exit 1; }; } 8321 9119 ;; 8322 @@ -11275,10 +1 2052,10 @@9120 @@ -11275,10 +11997,10 @@ 8323 9121 fi 8324 9122 ADA_OBJECTS="$withval" 8325 9123 8326 9124 -echo "$as_me:11278: result: $ADA_OBJECTS" >&5 8327 +echo "$as_me:120 55: result: $ADA_OBJECTS" >&59125 +echo "$as_me:12000: result: $ADA_OBJECTS" >&5 8328 9126 echo "${ECHO_T}$ADA_OBJECTS" >&6 8329 9127 8330 9128 -echo "$as_me:11281: checking if an Ada95 shared-library should be built" >&5 8331 +echo "$as_me:120 58: checking if an Ada95 shared-library should be built" >&59129 +echo "$as_me:12003: checking if an Ada95 shared-library should be built" >&5 8332 9130 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 8333 9131 8334 9132 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. 8335 @@ -11288,7 +120 65,7 @@9133 @@ -11288,7 +12010,7 @@ 8336 9134 else 8337 9135 with_ada_sharedlib=no 8338 9136 fi; 8339 9137 -echo "$as_me:11291: result: $with_ada_sharedlib" >&5 8340 +echo "$as_me:120 68: result: $with_ada_sharedlib" >&59138 +echo "$as_me:12013: result: $with_ada_sharedlib" >&5 8341 9139 echo "${ECHO_T}$with_ada_sharedlib" >&6 8342 9140 8343 9141 ADA_SHAREDLIB='lib$(LIB_NAME).so.1' 8344 @@ -11304,12 +120 81,12 @@9142 @@ -11304,12 +12026,12 @@ 8345 9143 fi 8346 9144 8347 9145 else 8348 9146 - { { echo "$as_me:11307: error: No usable Ada compiler found" >&5 8349 + { { echo "$as_me:120 84: error: No usable Ada compiler found" >&59147 + { { echo "$as_me:12029: error: No usable Ada compiler found" >&5 8350 9148 echo "$as_me: error: No usable Ada compiler found" >&2;} 8351 9149 { (exit 1); exit 1; }; } … … 8353 9151 else 8354 9152 - { { echo "$as_me:11312: error: The Ada compiler is needed for this package" >&5 8355 + { { echo "$as_me:120 89: error: The Ada compiler is needed for this package" >&59153 + { { echo "$as_me:12034: error: The Ada compiler is needed for this package" >&5 8356 9154 echo "$as_me: error: The Ada compiler is needed for this package" >&2;} 8357 9155 { (exit 1); exit 1; }; } 8358 9156 fi 8359 @@ -11317,7 +120 94,9 @@9157 @@ -11317,7 +12039,9 @@ 8360 9158 ################################################################################ 8361 9159 … … 8368 9166 ### Construct the list of include-directories to be generated 8369 9167 8370 @@ -11354,7 +12 133,7 @@9168 @@ -11354,7 +12078,7 @@ 8371 9169 fi 8372 9170 8373 9171 ### Build up pieces for makefile rules 8374 9172 -echo "$as_me:11357: checking default library suffix" >&5 8375 +echo "$as_me:12 136: checking default library suffix" >&59173 +echo "$as_me:12081: checking default library suffix" >&5 8376 9174 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 8377 9175 8378 9176 case $DFT_LWR_MODEL in 8379 @@ -11365,10 +12 144,10 @@9177 @@ -11365,10 +12089,10 @@ 8380 9178 shared) DFT_ARG_SUFFIX='' ;; 8381 9179 esac 8382 9180 test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" 8383 9181 -echo "$as_me:11368: result: $DFT_ARG_SUFFIX" >&5 8384 +echo "$as_me:12 147: result: $DFT_ARG_SUFFIX" >&59182 +echo "$as_me:12092: result: $DFT_ARG_SUFFIX" >&5 8385 9183 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 8386 9184 8387 9185 -echo "$as_me:11371: checking default library-dependency suffix" >&5 8388 +echo "$as_me:12 150: checking default library-dependency suffix" >&59186 +echo "$as_me:12095: checking default library-dependency suffix" >&5 8389 9187 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 8390 9188 8391 9189 case $DFT_LWR_MODEL in #(vi 8392 @@ -11390, 7 +12169,7@@9190 @@ -11390,11 +12114,11 @@ 8393 9191 ;; 8394 9192 shared) #(vi … … 8399 9197 DFT_DEP_SUFFIX=$DFT_LIB_SUFFIX 8400 9198 ;; 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 @@ 8402 9205 esac 8403 9206 test -n "$LIB_SUFFIX" && DFT_LIB_SUFFIX="${LIB_SUFFIX}${DFT_LIB_SUFFIX}" 8404 9207 test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}" 8405 9208 -echo "$as_me:11424: result: $DFT_DEP_SUFFIX" >&5 8406 +echo "$as_me:12 203: result: $DFT_DEP_SUFFIX" >&59209 +echo "$as_me:12148: result: $DFT_DEP_SUFFIX" >&5 8407 9210 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 8408 9211 8409 9212 -echo "$as_me:11427: checking default object directory" >&5 8410 +echo "$as_me:12 206: checking default object directory" >&59213 +echo "$as_me:12151: checking default object directory" >&5 8411 9214 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 8412 9215 8413 9216 case $DFT_LWR_MODEL in 8414 @@ -11440,7 +12 219,7 @@9217 @@ -11440,7 +12164,7 @@ 8415 9218 DFT_OBJ_SUBDIR='obj_s' ;; 8416 9219 esac 8417 9220 esac 8418 9221 -echo "$as_me:11443: result: $DFT_OBJ_SUBDIR" >&5 8419 +echo "$as_me:12 222: result: $DFT_OBJ_SUBDIR" >&59222 +echo "$as_me:12167: result: $DFT_OBJ_SUBDIR" >&5 8420 9223 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 8421 9224 8422 9225 ### Set up low-level terminfo dependencies for makefiles. 8423 @@ -11656,7 +12 435,7 @@9226 @@ -11656,7 +12380,7 @@ 8424 9227 : ${CONFIG_STATUS=./config.status} 8425 9228 ac_clean_files_save=$ac_clean_files 8426 9229 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8427 9230 -{ echo "$as_me:11659: creating $CONFIG_STATUS" >&5 8428 +{ echo "$as_me:12 438: creating $CONFIG_STATUS" >&59231 +{ echo "$as_me:12383: creating $CONFIG_STATUS" >&5 8429 9232 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8430 9233 cat >$CONFIG_STATUS <<_ACEOF 8431 9234 #! $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 @@ 8433 9245 echo "$ac_cs_version"; exit 0 ;; 8434 9246 --he | --h) 8435 9247 # Conflict between --help and --header 8436 9248 - { { echo "$as_me:11835: error: ambiguous option: $1 8437 + { { echo "$as_me:12 614: error: ambiguous option: $19249 + { { echo "$as_me:12559: error: ambiguous option: $1 8438 9250 Try \`$0 --help' for more information." >&5 8439 9251 echo "$as_me: error: ambiguous option: $1 8440 9252 Try \`$0 --help' for more information." >&2;} 8441 @@ -11851,7 +12 630,7 @@9253 @@ -11851,7 +12575,7 @@ 8442 9254 ac_need_defaults=false;; 8443 9255 8444 9256 # This is an error. 8445 9257 - -*) { { echo "$as_me:11854: error: unrecognized option: $1 8446 + -*) { { echo "$as_me:12 633: error: unrecognized option: $19258 + -*) { { echo "$as_me:12578: error: unrecognized option: $1 8447 9259 Try \`$0 --help' for more information." >&5 8448 9260 echo "$as_me: error: unrecognized option: $1 8449 9261 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" 8451 9274 DFT_LWR_MODEL="$DFT_LWR_MODEL" 8452 9275 -ECHO_LINK="$ECHO_LINK" 8453 9276 LIB_NAME="$LIB_NAME" 8454 9277 +LIB_PREFIX="$LIB_PREFIX" … … 8456 9279 LN_S="$LN_S" 8457 9280 NCURSES_MAJOR="$NCURSES_MAJOR" 8458 @@ -11922,7 +12 702,7 @@9281 @@ -11922,7 +12646,7 @@ 8459 9282 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8460 9283 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 8461 9284 "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; 8462 9285 - *) { { echo "$as_me:11925: error: invalid argument: $ac_config_target" >&5 8463 + *) { { echo "$as_me:12 705: error: invalid argument: $ac_config_target" >&59286 + *) { { echo "$as_me:12649: error: invalid argument: $ac_config_target" >&5 8464 9287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8465 9288 { (exit 1); exit 1; }; };; 8466 9289 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 @@ 8468 9299 s,@DFT_LWR_MODEL@,$DFT_LWR_MODEL,;t t 8469 9300 s,@DFT_UPR_MODEL@,$DFT_UPR_MODEL,;t t … … 8473 9304 s,@NCURSES_MINOR@,$NCURSES_MINOR,;t t 8474 9305 s,@NCURSES_PATCH@,$NCURSES_PATCH,;t t 8475 @@ -12083, 6 +12864,7@@9306 @@ -12083,13 +12809,18 @@ 8476 9307 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t 8477 9308 s,@LOCAL_LDFLAGS2@,$LOCAL_LDFLAGS2,;t t … … 8481 9312 s,@NCURSES_EXT_FUNCS@,$NCURSES_EXT_FUNCS,;t t 8482 9313 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 @@ 8484 9327 s,@ADA_OBJECTS@,$ADA_OBJECTS,;t t 8485 9328 s,@ADA_SHAREDLIB@,$ADA_SHAREDLIB,;t t … … 8491 9334 s,@DFT_ARG_SUFFIX@,$DFT_ARG_SUFFIX,;t t 8492 9335 s,@DFT_DEP_SUFFIX@,$DFT_DEP_SUFFIX,;t t 8493 @@ -12237,7 +1 3020,7 @@9336 @@ -12237,7 +12969,7 @@ 8494 9337 esac 8495 9338 8496 9339 if test x"$ac_file" != x-; then 8497 9340 - { echo "$as_me:12240: creating $ac_file" >&5 8498 + { echo "$as_me:1 3023: creating $ac_file" >&59341 + { echo "$as_me:12972: creating $ac_file" >&5 8499 9342 echo "$as_me: creating $ac_file" >&6;} 8500 9343 rm -f "$ac_file" 8501 9344 fi 8502 @@ -12255,7 +1 3038,7 @@9345 @@ -12255,7 +12987,7 @@ 8503 9346 -) echo $tmp/stdin ;; 8504 9347 [\\/$]*) 8505 9348 # Absolute (can't be DOS-style, as IFS=:) 8506 9349 - test -f "$f" || { { echo "$as_me:12258: error: cannot find input file: $f" >&5 8507 + test -f "$f" || { { echo "$as_me:1 3041: error: cannot find input file: $f" >&59350 + test -f "$f" || { { echo "$as_me:12990: error: cannot find input file: $f" >&5 8508 9351 echo "$as_me: error: cannot find input file: $f" >&2;} 8509 9352 { (exit 1); exit 1; }; } 8510 9353 echo $f;; 8511 @@ -12268,7 +130 51,7 @@9354 @@ -12268,7 +13000,7 @@ 8512 9355 echo $srcdir/$f 8513 9356 else 8514 9357 # /dev/null tree 8515 9358 - { { echo "$as_me:12271: error: cannot find input file: $f" >&5 8516 + { { echo "$as_me:130 54: error: cannot find input file: $f" >&59359 + { { echo "$as_me:13003: error: cannot find input file: $f" >&5 8517 9360 echo "$as_me: error: cannot find input file: $f" >&2;} 8518 9361 { (exit 1); exit 1; }; } 8519 9362 fi;; 8520 @@ -12334,7 +13 117,7 @@9363 @@ -12334,7 +13066,7 @@ 8521 9364 * ) ac_file_in=$ac_file.in ;; 8522 9365 esac 8523 9366 8524 9367 - test x"$ac_file" != x- && { echo "$as_me:12337: creating $ac_file" >&5 8525 + test x"$ac_file" != x- && { echo "$as_me:13 120: creating $ac_file" >&59368 + test x"$ac_file" != x- && { echo "$as_me:13069: creating $ac_file" >&5 8526 9369 echo "$as_me: creating $ac_file" >&6;} 8527 9370 8528 9371 # First look for the input files in the build tree, otherwise in the 8529 @@ -12345,7 +13 128,7 @@9372 @@ -12345,7 +13077,7 @@ 8530 9373 -) echo $tmp/stdin ;; 8531 9374 [\\/$]*) 8532 9375 # Absolute (can't be DOS-style, as IFS=:) 8533 9376 - test -f "$f" || { { echo "$as_me:12348: error: cannot find input file: $f" >&5 8534 + test -f "$f" || { { echo "$as_me:13 131: error: cannot find input file: $f" >&59377 + test -f "$f" || { { echo "$as_me:13080: error: cannot find input file: $f" >&5 8535 9378 echo "$as_me: error: cannot find input file: $f" >&2;} 8536 9379 { (exit 1); exit 1; }; } 8537 9380 echo $f;; 8538 @@ -12358,7 +13 141,7 @@9381 @@ -12358,7 +13090,7 @@ 8539 9382 echo $srcdir/$f 8540 9383 else 8541 9384 # /dev/null tree 8542 9385 - { { echo "$as_me:12361: error: cannot find input file: $f" >&5 8543 + { { echo "$as_me:13 144: error: cannot find input file: $f" >&59386 + { { echo "$as_me:13093: error: cannot find input file: $f" >&5 8544 9387 echo "$as_me: error: cannot find input file: $f" >&2;} 8545 9388 { (exit 1); exit 1; }; } 8546 9389 fi;; 8547 @@ -12416,7 +131 99,7 @@9390 @@ -12416,7 +13148,7 @@ 8548 9391 rm -f $tmp/in 8549 9392 if test x"$ac_file" != x-; then 8550 9393 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 8551 9394 - { echo "$as_me:12419: $ac_file is unchanged" >&5 8552 + { echo "$as_me:13 202: $ac_file is unchanged" >&59395 + { echo "$as_me:13151: $ac_file is unchanged" >&5 8553 9396 echo "$as_me: $ac_file is unchanged" >&6;} 8554 9397 else 8555 9398 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8556 9399 diff -Naur ncurses-5.9.orig/Ada95/configure.in ncurses-5.9/Ada95/configure.in 8557 --- ncurses-5.9.orig/Ada95/configure.in 2012-0 2-16 18:25:12.619808985+00008558 +++ ncurses-5.9/Ada95/configure.in 2012-0 2-16 18:25:13.179823762+00009400 --- 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 8559 9402 @@ -1,5 +1,5 @@ 8560 9403 dnl*************************************************************************** … … 8569 9412 dnl 8570 9413 -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 $ 8572 9415 dnl Process this file with autoconf to produce a configure script. 8573 9416 dnl … … 8577 9420 AC_PREREQ(2.13.20020210) 8578 9421 -AC_REVISION($Revision: 1.30 $) 8579 +AC_REVISION($Revision: 1. 38$)9422 +AC_REVISION($Revision: 1.41 $) 8580 9423 AC_INIT(gen/gen.c) 8581 9424 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) 8582 9425 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 8583 9435 @@ -75,28 +75,8 @@ 8584 9436 … … 8632 9484 AC_MSG_CHECKING(if you want broken-linker support code) 8633 9485 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 @@ 8635 9515 fi 8636 9516 … … 8641 9521 dnl At the moment we support no other Ada95 compiler. 8642 9522 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 @@ 8644 9542 ################################################################################ 8645 9543 … … 8654 9552 ### Construct the list of include-directories to be generated 8655 9553 CF_INCLUDE_DIRS 8656 @@ -658,6 +636,7 @@ 9554 @@ -656,8 +611,8 @@ 9555 AWK="$AWK" 9556 DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX" 8657 9557 DFT_LWR_MODEL="$DFT_LWR_MODEL" 8658 9558 -ECHO_LINK="$ECHO_LINK" 8659 9559 LIB_NAME="$LIB_NAME" 8660 9560 +LIB_PREFIX="$LIB_PREFIX" … … 8662 9562 LN_S="$LN_S" 8663 9563 NCURSES_MAJOR="$NCURSES_MAJOR" 9564 diff -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 8664 9581 diff -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"), # 8667 9591 @@ -28,7 +28,7 @@ 8668 9592 # … … 8670 9594 # 8671 9595 -# $Id: Makefile.in,v 1.74 2011/03/26 23:36:30 tom Exp $ 8672 +# $Id: Makefile.in,v 1.7 5 2011/09/24 14:41:24 nixExp $9596 +# $Id: Makefile.in,v 1.76 2012/03/17 16:45:38 tom Exp $ 8673 9597 # 8674 9598 .SUFFIXES: … … 8683 9607 RANLIB = @RANLIB@ 8684 9608 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 8685 9618 @@ -411,7 +411,7 @@ 8686 9619 @mkdir -p $(HTML_DIR) … … 8693 9626 h=`basename $$f` ;\ 8694 9627 diff -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-0 2-16 18:25:12.619808985+00008696 +++ ncurses-5.9/Ada95/gen/gen.c 2012-0 2-16 18:25:12.907816584+00009628 --- 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 8697 9630 @@ -32,7 +32,7 @@ 8698 9631 … … 8779 9712 printf(" -- different on your system."); 8780 9713 } 9714 diff -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@ 8781 9734 diff -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-0 2-16 18:25:12.619808985+00008783 +++ ncurses-5.9/Ada95/src/Makefile.in 2012-0 2-16 18:25:12.907816584+00009735 --- 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 8784 9737 @@ -28,7 +28,7 @@ 8785 9738 # … … 8856 9809 install \ 8857 9810 diff -Naur ncurses-5.9.orig/INSTALL ncurses-5.9/INSTALL 8858 --- ncurses-5.9.orig/INSTALL 2012-0 2-16 18:25:12.635809407+00008859 +++ ncurses-5.9/INSTALL 2012-0 2-16 18:25:13.251825661 +00009811 --- 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 8860 9813 @@ -1,5 +1,5 @@ 8861 9814 ------------------------------------------------------------------------------- … … 8870 9823 ------------------------------------------------------------------------------- 8871 9824 --- $Id: INSTALL,v 1.155 2011/03/31 08:27:24 tom Exp $ 8872 +-- $Id: INSTALL,v 1.16 3 2012/02/11 16:20:42tom Exp $9825 +-- $Id: INSTALL,v 1.166 2012/08/11 20:12:34 tom Exp $ 8873 9826 --------------------------------------------------------------------- 8874 9827 How to install Ncurses/Terminfo on your system … … 8895 9848 configure --with-ticlib --with-shared --disable-tic-depends 8896 9849 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 @@ 8898 9876 match is found in the terminfo database. See also the --enable-getcap 8899 9877 and --enable-getcap-cache options. … … 8908 9886 Turn on GCC compiler warnings. There should be only a few. 8909 9887 8910 @@ -824,7 +8 31,17 @@9888 @@ -824,7 +842,17 @@ 8911 9889 NOTE: a few systems build shared libraries with fixed pathnames; this 8912 9890 option probably will not work for those configurations. … … 8927 9905 overrides all other library model specifications. Note that libtool 8928 9906 must already be installed, uses makefile rules dependent on GNU make, 8929 @@ -904,6 +9 21,10 @@9907 @@ -904,6 +932,10 @@ 8930 9908 --with-pkg-config=[DIR] 8931 9909 Check for pkg-config, optionally specifying its path. … … 8938 9916 Generate profile-libraries These are named by adding "_p" to the root, 8939 9917 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 8941 9932 Configure the trace() function as part of the all models of the ncurses 8942 9933 library. Normally it is part of the debug (libncurses_g) library only. … … 8953 9944 For testing, compile with debug option. 8954 9945 This also sets the --disable-leaks option. 8955 @@ -1024,6 +10 53,8 @@9946 @@ -1024,6 +1073,8 @@ 8956 9947 install as "ncurses.h" and modify the installed headers and manpages 8957 9948 accordingly. … … 8962 9953 XSI curses declares "bool" as part of the interface. C++ also declares 8963 9954 "bool". Neither specifies the size and type of booleans, but both 8964 @@ -1726,20 +17 57,37 @@9955 @@ -1726,20 +1777,37 @@ 8965 9956 By default, there are no entries on the fallback list. After you have 8966 9957 built the ncurses suite for the first time, you can change the list … … 9005 9996 Any non-empty fallback list is const-ed and therefore lives in sharable 9006 9997 diff -Naur ncurses-5.9.orig/MANIFEST ncurses-5.9/MANIFEST 9007 --- ncurses-5.9.orig/MANIFEST 2012-0 2-16 18:25:12.643809617+00009008 +++ ncurses-5.9/MANIFEST 2012-0 2-16 18:25:13.063820699+00009009 @@ -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 @@ 9010 10001 ./include/nc_alloc.h 9011 10002 ./include/nc_mingw.h 9012 10003 ./include/nc_panel.h 10004 +./include/nc_string.h 9013 10005 +./include/nc_termios.h 9014 10006 ./include/nc_tparm.h 9015 10007 ./include/ncurses_cfg.hin 9016 10008 ./include/ncurses_defs 9017 @@ -764,7 +76 5,6 @@10009 @@ -764,7 +766,6 @@ 9018 10010 ./mk-0th.awk 9019 10011 ./mk-1st.awk … … 9023 10015 ./ncurses/Makefile.in 9024 10016 ./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 @@ 9026 10046 ./test/cardfile.dat 9027 10047 ./test/chgat.c … … 9032 10052 ./test/configure.in 9033 10053 diff -Naur ncurses-5.9.orig/Makefile.in ncurses-5.9/Makefile.in 9034 --- ncurses-5.9.orig/Makefile.in 2012-0 2-16 18:25:12.643809617+00009035 +++ ncurses-5.9/Makefile.in 2012-0 2-16 18:25:13.183823867+000010054 --- 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 9036 10056 @@ -1,6 +1,6 @@ 9037 10057 -# $Id: Makefile.in,v 1.30 2010/11/27 21:45:27 tom Exp $ 9038 +# $Id: Makefile.in,v 1.3 3 2012/01/21 23:54:30tom Exp $10058 +# $Id: Makefile.in,v 1.34 2012/08/11 21:41:19 tom Exp $ 9039 10059 ############################################################################## 9040 10060 -# Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. # … … 9053 10073 @SET_MAKE@ 9054 10074 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 @@ 9056 10084 fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \ 9057 10085 echo '** Will overwrite non-ncurses curses.h' … … 9068 10096 # directories to visit. 9069 10097 diff -Naur ncurses-5.9.orig/NEWS ncurses-5.9/NEWS 9070 --- ncurses-5.9.orig/NEWS 2012-0 2-16 18:25:12.639809512+00009071 +++ ncurses-5.9/NEWS 2012-0 2-16 18:25:13.255825766+000010098 --- 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 9072 10100 @@ -1,5 +1,5 @@ 9073 10101 ------------------------------------------------------------------------------- … … 9082 10110 ------------------------------------------------------------------------------- 9083 10111 --- $Id: NEWS,v 1.1682 2011/04/04 00:02:42 tom Exp $ 9084 +-- $Id: NEWS,v 1.1 857 2012/02/11 23:39:31tom Exp $10112 +-- $Id: NEWS,v 1.1942 2012/08/11 21:30:05 tom Exp $ 9085 10113 ------------------------------------------------------------------------------- 9086 10114 9087 10115 This is a log of changes that ncurses has gone through since Zeyd started 9088 @@ -45,6 +45, 467@@10116 @@ -45,6 +45,731 @@ 9089 10117 Changes through 1.9.9e did not credit all contributions; 9090 10118 it is not possible to add this information. 9091 10119 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 + 9092 10384 +20120211 9093 10385 + + make sgr for xterm-pcolor agree with other caps -TD … … 9554 10846 9555 10847 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 @@ 9557 10858 20110212 9558 10859 + regenerated html manpages. … … 9563 10864 20110205 9564 10865 + add xterm-utf8 entry as a demo of the U8 feature -TD 9565 @@ -219,7 + 680,7 @@10866 @@ -219,7 +944,7 @@ 9566 10867 version which works with termcap. 9567 10868 + remove obsolete emacs "Local Variables" section from documentation … … 9572 10873 9573 10874 20101128 9574 @@ -294,8 + 755,8 @@10875 @@ -294,8 +1019,8 @@ 9575 10876 Sven Joachim). 9576 10877 + add parameterized cursor-controls to linux-basic (report by Dae) -TD … … 9583 10884 Joachim). 9584 10885 + 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 @@ 9586 10887 20100417 9587 10888 + modify _nc_capcmp() to work with cancelled strings. … … 9592 10893 which adds rpath options for libraries in unusual places. 9593 10894 + 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 @@ 9595 10914 + correction to #317. 9596 10915 > patch 317 (ESR): … … 9615 10934 (lib_getch.c, lib_twait.c). 9616 10935 + new function _nc_mvcur_resume() 9617 @@ -9059, 7 +9523,7@@10936 @@ -9059,12 +9787,12 @@ 9618 10937 + corrected typo in dtterm description. 9619 10938 > patch 313 (ESR): … … 9624 10943 960810 - snapshot 9625 10944 + 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 @@ 9627 10952 > patch 312 (ESR): 9628 10953 correct terminfo.src corrupted by #310 … … 9634 10959 960803 - snapshot 9635 10960 + corrected tparm to handle capability strings without explicit pop 9636 @@ -9083,7 +9 548,7 @@10961 @@ -9083,7 +9812,7 @@ 9637 10962 > patch 310 (ESR): 9638 10963 + documentation and prototyping errors for has_color, immedok and idcok … … 9643 10968 960730 9644 10969 + eliminate quoted includes in ncurses subdirectory, ensure config.h 9645 @@ -9095,7 +9 560,7 @@10970 @@ -9095,7 +9824,7 @@ 9646 10971 + call cbreak() in initscr(), as per XSI & SVr4. 9647 10972 + turn off hardware echo in initscr() as per XSI & SVr4 … … 9652 10977 + add more symbols to infocmp. 9653 10978 9654 @@ -9114,6 +9 579,7 @@10979 @@ -9114,6 +9843,7 @@ 9655 10980 > patch 308 (ESR): 9656 10981 + terminfo changes (9.3.8) … … 9660 10985 960713 - snapshot 9661 10986 + always check for <sys/bsdtypes.h> since ISC needs it to declare 9662 @@ -9122,9 +9 588,19 @@10987 @@ -9122,9 +9852,19 @@ 9663 10988 by Juergen Pfeifer, Mike Long) 9664 10989 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer) … … 9681 11006 960707 9682 11007 + rollback ESR's #305 change to terminfo.src (it breaks existing 9683 @@ -9139,7 +9 615,6 @@11008 @@ -9139,7 +9879,6 @@ 9684 11009 + make lib_vidattr.c more readable using macros. 9685 11010 + filter out rmul, rmso that conflict with sgr0 when reading terminal … … 9689 11014 (reported by Zeyd). 9690 11015 + modify man-page install for BSDI to install preformatted .0 files 9691 @@ -9152,6 +9 627,12 @@11016 @@ -9152,6 +9891,12 @@ 9692 11017 + disable scrollok during the ncurses 'p' test; if it is enabled the 9693 11018 stdscr will scroll when putting the box-corners in the lower-right … … 9702 11027 960629 - snapshot 9703 11028 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for 9704 @@ -9234,6 +9 715,7 @@11029 @@ -9234,6 +9979,7 @@ 9705 11030 + better fix for nvi refresh-bug (Rick Marshall) 9706 11031 + fix for bug in handling of interrupted keystroke waits, … … 9710 11035 960601 - snapshot 9711 11036 + 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 @@ 9713 11047 + include sys/types.h in case stdlib.h does not declare size_t. 9714 11048 + fixes for makefile (Tim Mooney) … … 9720 11054 960518 - snapshot 9721 11055 + revised ncurses.c panner test, let pad abut all 4 sides of screen. 9722 @@ -9275,6 + 9760,8 @@11056 @@ -9275,6 +10024,8 @@ 9723 11057 confusion, and made this check for the /usr/lib/terminfo pre-existing 9724 11058 directory. … … 9729 11063 + mods to tracing, especially for ACS chars. 9730 11064 + corrected off-by-one in IDCtransform. 9731 @@ -9294,13 + 9781,21 @@11065 @@ -9294,13 +10045,21 @@ 9732 11066 > patches 297, 298 (ESR): 9733 11067 + implement TERMINFO_DIRS, and -o option of tic … … 9754 11088 9755 11089 960504 - snapshot 9756 @@ -9326,11 + 9821,20 @@11090 @@ -9326,11 +10085,20 @@ 9757 11091 + make TIOCGWINSZ configure test less stringent, in case user 9758 11092 configures via terminal that cannot get screen size. … … 9778 11112 960418 - snapshot 9779 11113 + use autoconf 2.9 9780 @@ -9338,10 + 9842,22 @@11114 @@ -9338,10 +10106,22 @@ 9781 11115 definitions via <termios.h>, modified macros in lib_raw.c to avoid 9782 11116 K&R-style substitution) … … 9805 11139 + fixes for NeXT, ISC and HPUX auto-configure 9806 11140 diff -Naur ncurses-5.9.orig/README ncurses-5.9/README 9807 --- ncurses-5.9.orig/README 2012-0 2-16 18:25:12.643809617+00009808 +++ ncurses-5.9/README 2012-0 2-16 18:25:12.915816795+000011141 --- 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 9809 11143 @@ -1,5 +1,5 @@ 9810 11144 ------------------------------------------------------------------------------- 9811 11145 --- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. -- 9812 +-- Copyright (c) 1998-20 06,2011Free Software Foundation, Inc. --11146 +-- Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. -- 9813 11147 -- -- 9814 11148 -- Permission is hereby granted, free of charge, to any person obtaining a -- … … 9819 11153 ------------------------------------------------------------------------------- 9820 11154 --- $Id: README,v 1.23 2006/04/22 22:19:37 tom Exp $ 9821 +-- $Id: README,v 1.2 4 2011/08/20 16:47:16 tom Exp $11155 +-- $Id: README,v 1.25 2012/08/11 20:11:26 tom Exp $ 9822 11156 ------------------------------------------------------------------------------- 9823 11157 README file for the ncurses package 9824 11158 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 @@ 9826 11182 configuration scripts, porting, mods to adhere to XSI Curses in the 9827 11183 areas of background color, terminal modes. Also memory leak testing, … … 9837 11193 Beginning with release 4.2, ncurses is distributed under an MIT-style 9838 11194 diff -Naur ncurses-5.9.orig/README.MinGW ncurses-5.9/README.MinGW 9839 --- ncurses-5.9.orig/README.MinGW 2012-0 2-16 18:25:12.623809091+00009840 +++ ncurses-5.9/README.MinGW 2012-0 2-16 18:25:13.187823972+000011195 --- 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 9841 11197 @@ -1,5 +1,5 @@ 9842 11198 ------------------------------------------------------------------------------- … … 9986 11342 9987 11343 diff -Naur ncurses-5.9.orig/aclocal.m4 ncurses-5.9/aclocal.m4 9988 --- ncurses-5.9.orig/aclocal.m4 2012-0 2-16 18:25:12.627809197+00009989 +++ ncurses-5.9/aclocal.m4 2012-0 2-16 18:25:13.187823972+000011344 --- 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 9990 11346 @@ -1,5 +1,5 @@ 9991 11347 dnl*************************************************************************** … … 10000 11356 dnl 10001 11357 -dnl $Id: aclocal.m4,v 1.553 2011/03/31 23:35:38 tom Exp $ 10002 +dnl $Id: aclocal.m4,v 1.6 04 2012/01/22 00:30:35tom Exp $11358 +dnl $Id: aclocal.m4,v 1.621 2012/08/11 23:36:44 tom Exp $ 10003 11359 dnl Macros used in NCURSES auto-configuration script. 10004 11360 dnl … … 10166 11522 dnl --------------------------------------------------------------------------- 10167 11523 dnl CF_CHECK_CACHE version: 11 updated: 2008/03/23 14:45:59 10168 @@ -908,7 +975, 28@@11524 @@ -908,7 +975,61 @@ 10169 11525 fi 10170 11526 ])])dnl … … 10192 11548 +])dnl 10193 11549 +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 --------------------------------------------------------------------------- 10194 11583 +dnl CF_CPP_PARAM_INIT version: 5 updated: 2011/12/03 16:54:03 10195 11584 dnl ----------------- 10196 11585 dnl Check if the C++ compiler accepts duplicate parameter initialization. This 10197 11586 dnl is a late feature for the standard and is not in some recent compilers 10198 @@ -932,7 +10 20,7 @@11587 @@ -932,7 +1053,7 @@ 10199 11588 { 10200 11589 value = x; … … 10205 11594 [cf_cv_cpp_param_init=yes], 10206 11595 [cf_cv_cpp_param_init=no], 10207 @@ -999, 6 +1087,54@@11596 @@ -999,7 +1120,55 @@ 10208 11597 test "$cf_cv_cpp_static_cast" = yes && AC_DEFINE(CPP_HAS_STATIC_CAST) 10209 11598 ])dnl 10210 11599 dnl --------------------------------------------------------------------------- 11600 -dnl CF_C_INLINE version: 3 updated: 2010/05/01 15:14:41 10211 11601 +dnl CF_CXX_AR_FLAGS version: 1 updated: 2011/10/29 08:35:34 10212 11602 +dnl --------------- … … 10257 11647 +])dnl 10258 11648 +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 10260 11650 dnl ----------- 10261 11651 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 @@ 10263 11708 fi 10264 11709 ]) 10265 11710 dnl --------------------------------------------------------------------------- 10266 +dnl CF_ENABLE_PC_FILES version: 7 updated: 2011/12/10 18:58:4711711 +dnl CF_ENABLE_PC_FILES version: 9 updated: 2012/08/04 13:59:54 10267 11712 +dnl ------------------ 10268 11713 +dnl This is the "--enable-pc-files" option, which is available if there is a … … 10273 11718 + 10274 11719 +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) 10285 11729 + fi 10286 11730 +else … … 10292 11736 dnl --------------- 10293 11737 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 @@ 10295 11777 CF_CHECK_ERRNO(errno) 10296 11778 ])dnl 10297 11779 dnl --------------------------------------------------------------------------- 10298 11780 -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:0311781 +dnl CF_ETIP_DEFINES version: 5 updated: 2012/02/18 17:51:07 10300 11782 dnl --------------- 10301 11783 dnl Test for conflicting definitions of exception in gcc 2.8.0, etc., between 10302 11784 dnl math.h and builtin.h, only for ncurses 10303 @@ -1154,11 +1 315,17 @@11785 @@ -1154,11 +1418,17 @@ 10304 11786 AC_MSG_CHECKING(for special defines needed for etip.h) 10305 11787 cf_save_CXXFLAGS="$CXXFLAGS" … … 10320 11802 test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" 10321 11803 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 @@ 10323 11927 AC_SUBST(EXTRA_CFLAGS) 10324 11928 ])dnl … … 10350 11954 dnl ---------------- 10351 11955 AC_DEFUN([CF_GNAT_GENERICS], 10352 @@ -2040,7 +2 230,7 @@11956 @@ -2040,7 +2386,7 @@ 10353 11957 rm -rf conftest* *~conftest* 10354 11958 ])dnl … … 10359 11963 dnl Verify version of GNAT. 10360 11964 AC_DEFUN([CF_GNAT_VERSION], 10361 @@ -2052,7 +2 242,7 @@11965 @@ -2052,7 +2398,7 @@ 10362 11966 AC_MSG_RESULT($cf_gnat_version) 10363 11967 … … 10368 11972 ;; 10369 11973 *) 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 @@ 10371 12008 ]) 10372 12009 ]) … … 10377 12014 dnl Check for compiler/linker flags used to temporarily force usage of static 10378 12015 dnl libraries. This depends on the compiler and platform. Use this to help 10379 @@ -2602,7 +2 792,7 @@12016 @@ -2602,7 +2949,7 @@ 10380 12017 esac 10381 12018 else … … 10386 12023 LDFLAGS_SHARED=-bdynamic 10387 12024 ;; 10388 @@ -2652,7 +2 842,17 @@12025 @@ -2652,7 +2999,17 @@ 10389 12026 int cf_ldflags_static(FILE *fp); 10390 12027 ],[ … … 10405 12042 rm -f libconftest.* 10406 12043 LIBS="$cf_save_LIBS" 10407 @@ -2673,7 + 2873,7 @@12044 @@ -2673,7 +3030,7 @@ 10408 12045 AC_SUBST(LDFLAGS_SHARED) 10409 12046 ]) … … 10414 12051 dnl For the given system and compiler, find the compiler flags to pass to the 10415 12052 dnl loader to use the "rpath" feature. 10416 @@ -2694,10 + 2894,10 @@12053 @@ -2694,10 +3051,10 @@ 10417 12054 linux*|gnu*|k*bsd*-gnu) #(vi 10418 12055 LD_RPATH_OPT="-Wl,-rpath," … … 10427 12064 ;; 10428 12065 netbsd*) #(vi 10429 @@ -2756,11 + 2956,11 @@12066 @@ -2756,11 +3113,11 @@ 10430 12067 $1="$cf_library_path_list [$]$1" 10431 12068 ])dnl … … 10441 12078 case $cf_cv_system_name in #(vi 10442 12079 OS/2*|os2*) #(vi 10443 @@ -2773,7 + 2973,7 @@12080 @@ -2773,7 +3130,7 @@ 10444 12081 AC_SUBST(LIB_PREFIX) 10445 12082 ])dnl 10446 12083 dnl --------------------------------------------------------------------------- 10447 12084 -dnl CF_LIB_RULES version: 61 updated: 2010/10/23 16:10:30 10448 +dnl CF_LIB_RULES version: 6 3 updated: 2012/01/21 19:28:1012085 +dnl CF_LIB_RULES version: 65 updated: 2012/06/30 17:25:25 10449 12086 dnl ------------ 10450 12087 dnl Append definitions and rules for the given models to the subdirectory 10451 12088 dnl Makefiles, and the recursion rule for the top-level Makefile. If the 10452 @@ -2788, 7 +2988,7@@12089 @@ -2788,13 +3145,15 @@ 10453 12090 dnl lib<name>.so.<maj>.<minor> 10454 12091 AC_DEFUN([CF_LIB_RULES], … … 10458 12095 AC_REQUIRE([CF_SUBST_NCURSES_VERSION]) 10459 12096 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 @@ 10462 12139 prefix=$cf_prefix \ 10463 12140 suffix=$cf_suffix \ … … 10467 12144 TermlibRoot=$TINFO_NAME \ 10468 12145 TermlibSuffix=$TINFO_SUFFIX \ 10469 @@ -3292,7 +3 493,7 @@12146 @@ -3292,7 +3659,7 @@ 10470 12147 ]) 10471 12148 ]) 10472 12149 dnl --------------------------------------------------------------------------- 10473 12150 -dnl CF_LIB_SUFFIX version: 16 updated: 2008/12/27 12:30:03 10474 +dnl CF_LIB_SUFFIX version: 1 7 updated: 2011/07/02 15:36:0412151 +dnl CF_LIB_SUFFIX version: 18 updated: 2012/02/25 15:20:07 10475 12152 dnl ------------- 10476 12153 dnl Compute the library file-suffix from the given model name 10477 12154 dnl $1 = model name 10478 @@ -3321, 7 +3522,7@@12155 @@ -3321,11 +3688,11 @@ 10479 12156 ;; 10480 12157 shared) #(vi … … 10485 12162 $3=[$]$2 10486 12163 ;; 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 @@ 10488 12170 AC_MSG_RESULT($MANPAGE_TBL) 10489 12171 ])dnl 10490 12172 dnl --------------------------------------------------------------------------- 10491 12173 -dnl CF_MAN_PAGES version: 39 updated: 2010/10/23 15:44:18 10492 +dnl CF_MAN_PAGES version: 4 0 updated: 2011/09/10 16:20:2112174 +dnl CF_MAN_PAGES version: 41 updated: 2012/08/11 19:35:44 10493 12175 dnl ------------ 10494 12176 dnl Try to determine if the man-pages on the system are compressed, and if 10495 12177 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 @@ 10497 12187 10498 12188 if test "$MANPAGE_ALIASES" != no ; then … … 10505 12195 fi 10506 12196 10507 @@ -3995,6 +4 198,13 @@12197 @@ -3995,6 +4365,13 @@ 10508 12198 fi 10509 12199 CF_EOF … … 10519 12209 cat >>$cf_edit_man <<CF_EOF 10520 12210 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 @@ 10522 12253 esac 10523 12254 ])dnl … … 10528 12259 dnl Check for the package-config program, unless disabled by command-line. 10529 12260 AC_DEFUN([CF_PKG_CONFIG], 10530 @@ -4393,7 +4 603,9 @@12261 @@ -4393,7 +4772,9 @@ 10531 12262 PKG_CONFIG=none 10532 12263 ;; … … 10539 12270 *) 10540 12271 PKG_CONFIG=$withval 10541 @@ -4658,7 + 4870,7 @@12272 @@ -4658,7 +5039,7 @@ 10542 12273 test -n "$PROG_EXT" && AC_DEFINE_UNQUOTED(PROG_EXT,"$PROG_EXT") 10543 12274 ])dnl … … 10548 12279 dnl Check for gnatmake, ensure that it is complete. 10549 12280 AC_DEFUN([CF_PROG_GNAT],[ 10550 @@ -4666,6 + 4878,7 @@12281 @@ -4666,6 +5047,7 @@ 10551 12282 AC_CHECK_PROG(gnat_exists, $cf_ada_make, yes, no) 10552 12283 if test "$ac_cv_prog_gnat_exists" = no; then … … 10556 12287 CF_GNAT_VERSION 10557 12288 AC_CHECK_PROG(M4_exists, m4, yes, no) 10558 @@ -4709,7 + 4922,7 @@12289 @@ -4709,7 +5091,7 @@ 10559 12290 esac 10560 12291 ])dnl … … 10565 12296 dnl Check for ldconfig, needed to fixup shared libraries that would be built 10566 12297 dnl and then used in the install. 10567 @@ -4718,7 + 4931,7 @@12298 @@ -4718,7 +5100,7 @@ 10568 12299 LDCONFIG=: 10569 12300 else … … 10574 12305 ;; 10575 12306 *) LDPATH=$PATH:/sbin:/usr/sbin 10576 @@ -4759,7 + 4972,7 @@12307 @@ -4759,7 +5141,7 @@ 10577 12308 test "$cf_prog_ln_sf" = yes && LN_S="$LN_S -f" 10578 12309 ])dnl … … 10583 12314 dnl Attempt to determine if we've got one of the flavors of regular-expression 10584 12315 dnl code that we can support. 10585 @@ -4771,7 + 4984,7 @@12316 @@ -4771,7 +5153,7 @@ 10586 12317 cf_regex_libs="regex re" 10587 12318 case $host_os in #(vi … … 10592 12323 esac 10593 12324 10594 @@ -4984,7 +5 197,7 @@12325 @@ -4984,7 +5366,7 @@ 10595 12326 AC_SUBST(EXTRA_LDFLAGS) 10596 12327 ])dnl 10597 12328 dnl --------------------------------------------------------------------------- 10598 12329 -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:3912330 +dnl CF_SHARED_OPTS version: 70 updated: 2012/02/25 15:20:07 10600 12331 dnl -------------- 10601 12332 dnl -------------- 10602 12333 dnl Attempt to determine the appropriate CC/LD options for creating a shared 10603 @@ -5059,10 +5 272,14 @@12334 @@ -5059,10 +5441,14 @@ 10604 12335 cf_cv_shlib_version_infix=no 10605 12336 … … 10618 12349 ;; 10619 12350 beos*) #(vi 10620 @@ -5115,9 +5 332,19 @@12351 @@ -5115,9 +5501,19 @@ 10621 12352 # readonly to exploit a quirk in the memory manager. 10622 12353 INSTALL_LIB="-m 555" … … 10639 12370 # tested with IRIX 5.2 and 'cc'. 10640 12371 if test "$GCC" != yes; then 10641 @@ -5134,18 +5 361,18@@12372 @@ -5134,18 +5530,39 @@ 10642 12373 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" 10643 12374 fi … … 10650 12381 ;; 10651 12382 - 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 + ;; 10652 12404 + openbsd[[2-9]].*|mirbsd*) #(vi 10653 12405 if test "$DFT_LWR_MODEL" = "shared" ; then … … 10661 12413 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" 10662 12414 CF_SHARED_SONAME 10663 @@ -5156,12 +5 383,12 @@12415 @@ -5156,12 +5573,12 @@ 10664 12416 MK_SHARED_LIB='${LD} -Bshareable -o $[@]' 10665 12417 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel … … 10677 12429 CF_SHARED_SONAME 10678 12430 MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]' 10679 @@ -5171,7 +5 398,7 @@12431 @@ -5171,7 +5588,7 @@ 10680 12432 if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then 10681 12433 LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)" … … 10686 12438 if test -f /usr/libexec/ld.elf_so; then 10687 12439 cf_cv_shlib_version=abi 10688 @@ -5276,9 +5 503,9@@12440 @@ -5276,9 +5693,12 @@ 10689 12441 ;; 10690 12442 esac … … 10696 12448 + test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}" 10697 12449 + 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) 10698 12453 10699 12454 AC_SUBST(CC_SHARED_OPTS) 10700 12455 AC_SUBST(LD_RPATH_OPT) 10701 @@ -5290,6 +5 517,7 @@12456 @@ -5290,6 +5710,7 @@ 10702 12457 AC_SUBST(LOCAL_LDFLAGS) 10703 12458 AC_SUBST(LOCAL_LDFLAGS2) … … 10707 12462 dnl --------------------------------------------------------------------------- 10708 12463 dnl CF_SHARED_SONAME version: 3 updated: 2008/09/08 18:34:43 10709 @@ -5474,7 +5 702,7 @@12464 @@ -5474,7 +5895,7 @@ 10710 12465 fi 10711 12466 ])dnl … … 10716 12471 dnl For each parameter, test if the source-directory exists, and if it contains 10717 12472 dnl a 'modules' file. If so, add to the list $cf_cv_src_modules which we'll 10718 @@ -5497,6 +5 725,7 @@12473 @@ -5497,6 +5918,7 @@ 10719 12474 TEST_ARG2="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARG2" 10720 12475 fi … … 10724 12479 for cf_dir in $1 10725 12480 do 10726 @@ -5535,6 +5 764,7 @@12481 @@ -5535,6 +5957,7 @@ 10727 12482 TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS" 10728 12483 TEST_ARG2="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARG2" … … 10732 12487 fi 10733 12488 done 10734 @@ -5562,10 +5 792,18 @@12489 @@ -5562,10 +5985,18 @@ 10735 12490 SRC_SUBDIRS="$SRC_SUBDIRS test" 10736 12491 fi … … 10753 12508 ADA_SUBDIRS="gen src" 10754 12509 if test "x$cf_with_tests" != "xno" ; then 10755 @@ -5624,13 + 5862,13 @@12510 @@ -5624,13 +6055,13 @@ 10756 12511 AC_DEFUN([CF_STRIP_G_OPT], 10757 12512 [$1=`echo ${$1} | sed -e 's%-g %%' -e 's%-g$%%'`])dnl … … 10770 12525 AC_MSG_CHECKING(whether sigaction needs _POSIX_SOURCE) 10771 12526 AC_TRY_COMPILE([ 10772 @@ -5645,22 + 5883,24 @@12527 @@ -5645,22 +6076,24 @@ 10773 12528 #include <signal.h>], 10774 12529 [struct sigaction act], … … 10798 12553 AC_CHECK_HEADERS( sys/termio.h ) 10799 12554 fi 10800 @@ -5680,7 + 5920,7 @@12555 @@ -5680,7 +6113,7 @@ 10801 12556 #include <termios.h>], 10802 12557 [struct termios foo; int x = foo.c_iflag], … … 10807 12562 AC_MSG_RESULT($termios_bad) 10808 12563 fi 10809 @@ -5798,6 +6 038,45 @@12564 @@ -5798,6 +6231,45 @@ 10810 12565 AC_SUBST(top_builddir) 10811 12566 ])dnl … … 10853 12608 dnl ---------------- 10854 12609 dnl Determine the type we should use for chtype (and attr_t, which is treated 10855 @@ -6182,7 +6 461,7 @@12610 @@ -6182,7 +6654,7 @@ 10856 12611 fi 10857 12612 ]) … … 10862 12617 dnl Provide a configure option to incorporate libtool. Define several useful 10863 12618 dnl symbols for the makefile rules. 10864 @@ -6258,7 +6 537,7 @@12619 @@ -6258,7 +6730,7 @@ 10865 12620 AC_MSG_ERROR(Cannot find libtool) 10866 12621 fi … … 10871 12626 LIB_SUFFIX=.la 10872 12627 LIB_CLEAN='${LIBTOOL} --mode=clean' 10873 @@ -6283,7 +6 562,7 @@12628 @@ -6283,7 +6755,7 @@ 10874 12629 # special hack to add -no-undefined (which libtool should do for itself) 10875 12630 LT_UNDEF= … … 10880 12635 ;; 10881 12636 esac 10882 @@ -6323,6 +6 602,32 @@12637 @@ -6323,6 +6795,32 @@ 10883 12638 10884 12639 ])dnl … … 10913 12668 dnl ------------ 10914 12669 dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just 10915 @@ -6386,7 +6 691,50 @@12670 @@ -6386,7 +6884,50 @@ 10916 12671 10917 12672 ])dnl … … 10965 12720 dnl Check for POSIX thread library. 10966 12721 AC_DEFUN([CF_WITH_PTHREAD], 10967 @@ -6402,23 +6 750,28 @@12722 @@ -6402,23 +6943,28 @@ 10968 12723 AC_CHECK_HEADER(pthread.h,[ 10969 12724 AC_DEFINE(HAVE_PTHREADS_H) … … 11007 12762 fi 11008 12763 ]) 11009 @@ -6486,7 + 6839,7 @@12764 @@ -6486,7 +7032,7 @@ 11010 12765 [USE_VALGRIND]) 11011 12766 ])dnl … … 11016 12771 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, 11017 12772 dnl or adapt to the vendor's definitions to get equivalent functionality, 11018 @@ -6502,7 + 6855,7 @@12773 @@ -6502,7 +7048,7 @@ 11019 12774 cf_xopen_source= 11020 12775 … … 11025 12780 ;; 11026 12781 cygwin) #(vi 11027 @@ -6513,6 + 6866,7 @@12782 @@ -6513,6 +7059,7 @@ 11028 12783 ;; 11029 12784 darwin*) #(vi … … 11033 12788 freebsd*|dragonfly*) #(vi 11034 12789 # 5.x headers associate 11035 @@ -6530,15 + 6884,23 @@12790 @@ -6530,15 +7077,23 @@ 11036 12791 ;; 11037 12792 irix[[56]].*) #(vi … … 11059 12814 openbsd*) #(vi 11060 12815 # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw 11061 @@ -6552,36 + 6914,11 @@12816 @@ -6552,36 +7107,11 @@ 11062 12817 sco*) #(vi 11063 12818 # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer … … 11098 12853 ;; 11099 12854 esac 11100 @@ -6589,4 + 6926,33 @@12855 @@ -6589,4 +7119,33 @@ 11101 12856 if test -n "$cf_xopen_source" ; then 11102 12857 CF_ADD_CFLAGS($cf_xopen_source) … … 11133 12888 ]) 11134 12889 diff -Naur ncurses-5.9.orig/announce.html.in ncurses-5.9/announce.html.in 11135 --- ncurses-5.9.orig/announce.html.in 2012-0 2-16 18:25:12.639809512+000011136 +++ ncurses-5.9/announce.html.in 2012-0 2-16 18:25:12.919816901+000012890 --- 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 11137 12892 @@ -1,6 +1,6 @@ 11138 12893 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> … … 11220 12975 <ul> 11221 12976 diff -Naur ncurses-5.9.orig/c++/Makefile.in ncurses-5.9/c++/Makefile.in 11222 --- ncurses-5.9.orig/c++/Makefile.in 2012-0 2-16 18:25:12.643809617+000011223 +++ ncurses-5.9/c++/Makefile.in 2012-0 2-16 18:25:12.919816901 +000012977 --- 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 11224 12979 @@ -1,6 +1,6 @@ 11225 12980 -# $Id: Makefile.in,v 1.93 2010/11/27 21:45:27 tom Exp $ 11226 +# $Id: Makefile.in,v 1.9 5 2011/07/30 22:52:07tom Exp $12981 +# $Id: Makefile.in,v 1.96 2012/03/17 16:45:38 tom Exp $ 11227 12982 ############################################################################## 11228 12983 -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # 11229 +# Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. #12984 +# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. # 11230 12985 # # 11231 12986 # Permission is hereby granted, free of charge, to any person obtaining a # … … 11248 13003 OBJS_DEMO = $(MODEL)/demo$o 11249 13004 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 $@ 11250 13014 diff -Naur ncurses-5.9.orig/c++/cursesapp.h ncurses-5.9/c++/cursesapp.h 11251 --- ncurses-5.9.orig/c++/cursesapp.h 2012-0 2-16 18:25:12.643809617+000011252 +++ ncurses-5.9/c++/cursesapp.h 2012-0 2-16 18:25:12.919816901+000013015 --- 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 11253 13017 @@ -1,6 +1,6 @@ 11254 13018 // * This makes emacs happy -*-Mode: C++;-*- … … 11331 13095 }; 11332 13096 diff -Naur ncurses-5.9.orig/c++/cursesf.cc ncurses-5.9/c++/cursesf.cc 11333 --- ncurses-5.9.orig/c++/cursesf.cc 2012-0 2-16 18:25:12.639809512+000011334 +++ ncurses-5.9/c++/cursesf.cc 2012-0 2-16 18:25:12.919816901+000013097 --- 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 11335 13099 @@ -1,6 +1,6 @@ 11336 13100 // * this is for making emacs happy: -*-Mode: C++;-*- … … 11409 13173 UserDefinedFieldType_With_Choice* udf = 11410 13174 diff -Naur ncurses-5.9.orig/c++/cursesf.h ncurses-5.9/c++/cursesf.h 11411 --- ncurses-5.9.orig/c++/cursesf.h 2012-0 2-16 18:25:12.643809617+000011412 +++ ncurses-5.9/c++/cursesf.h 2012-0 2-16 18:25:12.919816901+000013175 --- 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 11413 13177 @@ -1,6 +1,6 @@ 11414 13178 // * This makes emacs happy -*-Mode: C++;-*- 11415 13179 /**************************************************************************** 11416 13180 - * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * 11417 + * Copyright (c) 1998-20 05,2011Free Software Foundation, Inc. *13181 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 11418 13182 * * 11419 13183 * Permission is hereby granted, free of charge, to any person obtaining a * … … 11424 13188 11425 13189 -// $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.KolesenExp $13190 +// $Id: cursesf.h,v 1.30 2012/06/08 17:43:56 Richard.Yao Exp $ 11427 13191 11428 13192 #ifndef NCURSES_CURSESF_H_incl 11429 13193 #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[], 11431 13200 const T* p_UserData = STATIC_CAST(T*)(0), 11432 13201 bool with_frame=FALSE, 11433 13202 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 @@ 11437 13204 set_user (const_cast<void *>(p_UserData)); 11438 13205 }; 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, 11448 13212 diff -Naur ncurses-5.9.orig/c++/cursesm.cc ncurses-5.9/c++/cursesm.cc 11449 --- ncurses-5.9.orig/c++/cursesm.cc 2012-0 2-16 18:25:12.643809617+000011450 +++ ncurses-5.9/c++/cursesm.cc 2012-0 2-16 18:25:12.919816901+000013213 --- 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 11451 13215 @@ -1,6 +1,6 @@ 11452 13216 // * this is for making emacs happy: -*-Mode: C++;-*- … … 11507 13271 } 11508 13272 diff -Naur ncurses-5.9.orig/c++/cursesm.h ncurses-5.9/c++/cursesm.h 11509 --- ncurses-5.9.orig/c++/cursesm.h 2012-0 2-16 18:25:12.639809512+000011510 +++ ncurses-5.9/c++/cursesm.h 2012-0 2-16 18:25:12.923817007+000013273 --- 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 11511 13275 @@ -1,6 +1,6 @@ 11512 13276 // * This makes emacs happy -*-Mode: C++;-*- 11513 13277 /**************************************************************************** 11514 13278 - * Copyright (c) 1998-2003,2005 Free Software Foundation, Inc. * 11515 + * Copyright (c) 1998-20 05,2011Free Software Foundation, Inc. *13279 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 11516 13280 * * 11517 13281 * Permission is hereby granted, free of charge, to any person obtaining a * … … 11522 13286 11523 13287 -// $Id: cursesm.h,v 1.25 2005/08/13 18:10:36 tom Exp $ 11524 +// $Id: cursesm.h,v 1.2 7 2011/09/17 21:37:01 tomExp $13288 +// $Id: cursesm.h,v 1.28 2012/06/08 17:43:56 Richard.Yao Exp $ 11525 13289 11526 13290 #ifndef NCURSES_CURSESM_H_incl … … 11534 13298 11535 13299 virtual ~NCursesMenuItem (); 11536 @@ -639,7 +640,7 @@ 13300 @@ -635,7 +636,7 @@ 13301 } 13302 13303 public: 13304 - NCursesUserMenu (NCursesMenuItem Items[], 13305 + NCursesUserMenu (NCursesMenuItem* Items[], 11537 13306 const T* p_UserData = STATIC_CAST(T*)(0), 11538 13307 bool with_frame=FALSE, 11539 13308 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 @@ 11543 13310 set_user (const_cast<void *>(p_UserData)); 11544 13311 }; 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, 11554 13318 diff -Naur ncurses-5.9.orig/c++/cursespad.cc ncurses-5.9/c++/cursespad.cc 11555 --- ncurses-5.9.orig/c++/cursespad.cc 2012-0 2-16 18:25:12.643809617+000011556 +++ ncurses-5.9/c++/cursespad.cc 2012-0 2-16 18:25:12.923817007+000013319 --- 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 11557 13321 @@ -1,6 +1,6 @@ 11558 13322 // * this is for making emacs happy: -*-Mode: C++;-*- … … 11581 13345 11582 13346 diff -Naur ncurses-5.9.orig/c++/cursesw.cc ncurses-5.9/c++/cursesw.cc 11583 --- ncurses-5.9.orig/c++/cursesw.cc 2012-0 2-16 18:25:12.639809512+000011584 +++ ncurses-5.9/c++/cursesw.cc 2012-0 2-16 18:25:12.923817007+000013347 --- 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 11585 13349 @@ -1,6 +1,6 @@ 11586 13350 // * this is for making emacs happy: -*-Mode: C++;-*- … … 11616 13380 RIPOFFINIT init = *prip++; 11617 13381 diff -Naur ncurses-5.9.orig/c++/cursesw.h ncurses-5.9/c++/cursesw.h 11618 --- ncurses-5.9.orig/c++/cursesw.h 2012-0 2-16 18:25:12.643809617+000011619 +++ ncurses-5.9/c++/cursesw.h 2012-0 2-16 18:25:12.923817007+000013382 --- 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 11620 13384 @@ -1,7 +1,7 @@ 11621 13385 // * This makes emacs happy -*-Mode: C++;-*- … … 11672 13436 } 11673 13437 // Disable this call; the viewport subwindow is already defined 13438 diff -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 11674 13468 diff -Naur ncurses-5.9.orig/c++/demo.cc ncurses-5.9/c++/demo.cc 11675 --- ncurses-5.9.orig/c++/demo.cc 2012-0 2-16 18:25:12.643809617+000011676 +++ ncurses-5.9/c++/demo.cc 2012-0 2-16 18:25:12.923817007+000013469 --- 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 11677 13471 @@ -1,6 +1,6 @@ 11678 13472 // * This makes emacs happy -*-Mode: C++;-*- 11679 13473 /**************************************************************************** 11680 13474 - * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * 11681 + * Copyright (c) 1998-20 08,2011Free Software Foundation, Inc. *13475 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 11682 13476 * * 11683 13477 * Permission is hereby granted, free of charge, to any person obtaining a * … … 11688 13482 * 11689 13483 - * $Id: demo.cc,v 1.39 2008/12/07 02:07:34 juergen Exp $ 11690 + * $Id: demo.cc,v 1.4 0 2011/09/17 22:12:10tom Exp $13484 + * $Id: demo.cc,v 1.41 2012/02/23 10:41:56 tom Exp $ 11691 13485 */ 11692 13486 … … 11700 13494 } 11701 13495 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 } 11702 13514 diff -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-0 2-16 18:25:12.639809512+000011704 +++ ncurses-5.9/c++/etip.h.in 2012-0 2-16 18:25:12.923817007+000013515 --- 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 11705 13517 @@ -1,6 +1,6 @@ 11706 13518 // * This makes emacs happy -*-Mode: C++;-*- … … 11774 13586 11775 13587 NCursesFormException (const NCursesForm* form, 13588 diff -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 */ 11776 13615 diff -Naur ncurses-5.9.orig/config.guess ncurses-5.9/config.guess 11777 --- ncurses-5.9.orig/config.guess 2012-0 2-16 18:25:12.607808668+000011778 +++ ncurses-5.9/config.guess 2012-0 2-16 18:25:12.923817007+000013616 --- 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 11779 13618 @@ -1,10 +1,10 @@ 11780 13619 #! /bin/sh … … 11784 13623 -# Free Software Foundation, Inc. 11785 13624 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 11786 +# 2 911Free Software Foundation, Inc.13625 +# 2011, 2012 Free Software Foundation, Inc. 11787 13626 11788 13627 -timestamp='2010-09-24' 11789 +timestamp='201 1-01-01'13628 +timestamp='2012-02-10' 11790 13629 11791 13630 # This file is free software; you can redistribute it and/or modify it 11792 13631 # 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 @@ 11794 13644 11795 13645 Originally written by Per Bothner. … … 11797 13647 -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free 11798 13648 -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 11800 13650 +Free Software Foundation, Inc. 11801 13651 11802 13652 This is free software; see the source for copying conditions. There is NO 11803 13653 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 11804 @@ -92,7 +9 2,7 @@13654 @@ -92,7 +90,7 @@ 11805 13655 exit 1 11806 13656 fi … … 11811 13661 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a 11812 13662 # compiler to aid in system detection is discouraged as it requires 11813 @@ -106,7 +10 6,7 @@13663 @@ -106,7 +104,7 @@ 11814 13664 11815 13665 set_cc_for_build=' … … 11820 13670 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 11821 13671 { 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 @@ 11823 13695 # A Xn.n version is an unreleased experimental baselevel. 11824 13696 # 1.2 uses "1.2" for uname -r. … … 11832 13704 # How do we know it's Interix rather than the generic POSIX subsystem? 11833 13705 # Should we change UNAME_MACHINE based on the output of uname instead 11834 @@ -326,8 +32 9,8 @@13706 @@ -326,8 +327,8 @@ 11835 13707 sparc) echo sparc-icl-nx7; exit ;; 11836 13708 esac ;; … … 11843 13715 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 11844 13716 exit ;; 11845 @@ -495,7 +49 8,7 @@13717 @@ -495,7 +496,7 @@ 11846 13718 else 11847 13719 echo i586-dg-dgux${UNAME_RELEASE} … … 11852 13724 echo m88k-dolphin-sysv3 11853 13725 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 11854 13843 @@ -820,8 +823,8 @@ 11855 13844 echo x86_64-unknown-interix${UNAME_RELEASE} … … 11863 13852 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 11864 13853 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 @@ 11866 13932 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 11867 13933 ;; … … 11869 13935 - echo or32-unknown-linux-gnu 11870 13936 - exit ;; 11871 + echo or32-unknown-linux-gnu13937 + echo ${UNAME_MACHINE}-unknown-linux-gnu 11872 13938 + exit ;; 11873 13939 padre:Linux:*:*) … … 11882 13948 # Look for CPU level 11883 13949 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 11884 14053 diff -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 11888 14058 # Configuration validation subroutine script. 11889 14059 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 11890 14060 -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 11891 14061 -# 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. 11893 14064 11894 14065 -timestamp='2010-09-11' 11895 +timestamp='201 1-04-01'14066 +timestamp='2012-02-10' 11896 14067 11897 14068 # This file is (in principle) common to ALL GNU software. 11898 14069 # 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 @@ 11900 14082 GNU config.sub ($timestamp) 11901 14083 … … 11903 14085 -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free 11904 14086 -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 11906 14088 +Free Software Foundation, Inc. 11907 14089 11908 14090 This is free software; see the source for copying conditions. There is NO 11909 14091 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 @@ 11911 14104 os=-chorusos 11912 14105 basic_machine=$1 … … 11922 14115 os=-hiuxwe2 11923 14116 ;; 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 @@ 11925 14141 | moxie \ 11926 14142 | mt \ … … 11936 14152 + | powerpc | powerpc64 | powerpc64le | powerpcle \ 11937 14153 | pyramid \ 11938 | rx \ 14154 - | rx \ 14155 + | rl78 | rx \ 11939 14156 | 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 \ 11941 14158 | sh64 | sh64le \ 11942 14159 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ … … 11947 14164 + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 11948 14165 | ubicom32 \ 11949 | v850 | v850e \ 14166 - | v850 | v850e \ 14167 + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ 11950 14168 | we32k \ 11951 14169 - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ … … 11954 14172 basic_machine=$basic_machine-unknown 11955 14173 ;; 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 @@ 11958 14185 basic_machine=mt-unknown 11959 14186 ;; 11960 - 14187 11961 14188 + strongarm | thumb | xscale) 11962 14189 + basic_machine=arm-unknown 14190 + ;; 14191 + xgate) 14192 + basic_machine=$basic_machine-unknown 14193 + os=-none 11963 14194 + ;; 11964 14195 + xscaleeb) 11965 14196 + basic_machine=armeb-unknown 11966 14197 + ;; 14198 + 11967 14199 + xscaleel) 11968 14200 + basic_machine=armel-unknown 11969 14201 + ;; 14202 + 11970 14203 # We use `pc' rather than `unknown' 11971 14204 # because (1) that's what they normally are, and 11972 14205 # (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 @@ 11974 14240 | nds32-* | nds32le-* | nds32be-* \ 11975 14241 | nios-* | nios2-* \ … … 11981 14247 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 11982 14248 | pyramid-* \ 11983 | romp-* | rs6000-* | rx-* \ 14249 - | romp-* | rs6000-* | rx-* \ 14250 + | rl78-* | romp-* | rs6000-* | rx-* \ 11984 14251 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 11985 14252 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ … … 11991 14258 + | tahoe-* \ 11992 14259 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 11993 | tile-* | tilegx-* \ 14260 - | tile-* | tilegx-* \ 14261 + | tile*-* \ 11994 14262 | tron-* \ 11995 14263 | ubicom32-* \ 11996 | v850-* | v850e-* | vax-* \ 14264 - | v850-* | v850e-* | vax-* \ 14265 + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 14266 + | vax-* \ 11997 14267 | we32k-* \ 11998 14268 - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ … … 12001 14271 | ymp-* \ 12002 14272 | z8k-* | z80-*) 12003 @@ -539,7 +5 49,7 @@14273 @@ -539,7 +567,7 @@ 12004 14274 basic_machine=craynv-cray 12005 14275 os=-unicosmp … … 12010 14280 os=-elf 12011 14281 ;; 12012 @@ - 826,10 +836,10@@12013 basic_machine=v70-nec12014 os=-sysv14282 @@ -697,7 +725,6 @@ 14283 i370-ibm* | ibm*) 14284 basic_machine=i370-ibm 12015 14285 ;; 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-/'` 12028 14293 ;; 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 12032 14312 ;; 12033 14313 - ppc) basic_machine=powerpc-unknown 12034 + ppc | ppcbe) 12035 + basic_machine=powerpc-unknown 14314 + ppc | ppcbe) basic_machine=powerpc-unknown 12036 14315 ;; 12037 14316 - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` … … 12041 14320 ppcle | powerpclittle | ppc-le | powerpc-little) 12042 14321 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 @@ 12058 14323 basic_machine=i860-stratus 12059 14324 os=-sysv4 … … 12065 14330 basic_machine=m68000-sun 12066 14331 ;; 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 @@ 12068 14348 xps | xps100) 12069 14349 basic_machine=xps100-honeywell … … 12075 14355 basic_machine=ymp-cray 12076 14356 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 @@ 12080 14367 ;; 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 12084 14373 ;; 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 12095 14376 diff -Naur ncurses-5.9.orig/configure ncurses-5.9/configure 12096 --- ncurses-5.9.orig/configure 2012-0 2-16 18:25:12.627809197+000012097 +++ ncurses-5.9/configure 2012-0 2-16 18:25:13.283826506+000012098 @@ -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 @@ 12099 14380 #! /bin/sh 12100 14381 -# From configure.in Revision: 1.520 . 12101 +# From configure.in Revision: 1.5 41.14382 +# From configure.in Revision: 1.552 . 12102 14383 # 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. 12104 14386 # 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) 12106 14462 --without-tests suppress build with test-programs 12107 14463 --without-curses-h install curses.h as ncurses.h only … … 12111 14467 --enable-mixed-case tic should assume mixed-case filenames 12112 14468 --with-install-prefix prefixes actual install-location ($DESTDIR) 12113 @@ -719,6 +72 0,7 @@14469 @@ -719,6 +729,7 @@ 12114 14470 --with-normal generate normal-libraries (default) 12115 14471 --with-debug generate debug-libraries (default) … … 12119 14475 --with-ticlib generate separate tic library 12120 14476 --with-gpm use Alessandro Rubini's GPM library 12121 @@ -735,6 +7 37,7 @@14477 @@ -735,6 +746,7 @@ 12122 14478 --with-hashed-db specify hashed-database library 12123 14479 --with-fallbacks=XXX specify list of fallback terminal descriptions … … 12127 14483 --with-default-terminfo-dir=DIR default terminfo directory (default: DATADIR/terminfo) 12128 14484 --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 @@ 12130 14514 fi 12131 14515 for ac_site_file in $CONFIG_SITE; do 12132 14516 if test -r "$ac_site_file"; then 12133 14517 - { echo "$as_me:1010: loading site script $ac_site_file" >&5 12134 + { echo "$as_me:10 13: loading site script $ac_site_file" >&514518 + { echo "$as_me:1024: loading site script $ac_site_file" >&5 12135 14519 echo "$as_me: loading site script $ac_site_file" >&6;} 12136 14520 cat "$ac_site_file" >&5 12137 14521 . "$ac_site_file" 12138 @@ -1018,7 +10 21,7 @@14522 @@ -1018,7 +1032,7 @@ 12139 14523 # Some versions of bash will fail to source /dev/null (special 12140 14524 # files actually), so we avoid doing that. 12141 14525 if test -f "$cache_file"; then 12142 14526 - { echo "$as_me:1021: loading cache $cache_file" >&5 12143 + { echo "$as_me:10 24: loading cache $cache_file" >&514527 + { echo "$as_me:1035: loading cache $cache_file" >&5 12144 14528 echo "$as_me: loading cache $cache_file" >&6;} 12145 14529 case $cache_file in 12146 14530 [\\/]* | ?:[\\/]* ) . $cache_file;; 12147 @@ -1026,7 +10 29,7 @@14531 @@ -1026,7 +1040,7 @@ 12148 14532 esac 12149 14533 fi 12150 14534 else 12151 14535 - { echo "$as_me:1029: creating cache $cache_file" >&5 12152 + { echo "$as_me:10 32: creating cache $cache_file" >&514536 + { echo "$as_me:1043: creating cache $cache_file" >&5 12153 14537 echo "$as_me: creating cache $cache_file" >&6;} 12154 14538 >$cache_file 12155 14539 fi 12156 @@ -1042,21 +10 45,21 @@14540 @@ -1042,21 +1056,21 @@ 12157 14541 eval ac_new_val="\$ac_env_${ac_var}_value" 12158 14542 case $ac_old_set,$ac_new_set in 12159 14543 set,) 12160 14544 - { echo "$as_me:1045: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 12161 + { echo "$as_me:10 48: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&514545 + { echo "$as_me:1059: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 12162 14546 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 12163 14547 ac_cache_corrupted=: ;; 12164 14548 ,set) 12165 14549 - { echo "$as_me:1049: error: \`$ac_var' was not set in the previous run" >&5 12166 + { echo "$as_me:10 52: error: \`$ac_var' was not set in the previous run" >&514550 + { echo "$as_me:1063: error: \`$ac_var' was not set in the previous run" >&5 12167 14551 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 12168 14552 ac_cache_corrupted=: ;; … … 12171 14555 if test "x$ac_old_val" != "x$ac_new_val"; then 12172 14556 - { echo "$as_me:1055: error: \`$ac_var' has changed since the previous run:" >&5 12173 + { echo "$as_me:10 58: error: \`$ac_var' has changed since the previous run:" >&514557 + { echo "$as_me:1069: error: \`$ac_var' has changed since the previous run:" >&5 12174 14558 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 12175 14559 - { echo "$as_me:1057: former value: $ac_old_val" >&5 12176 + { echo "$as_me:10 60: former value: $ac_old_val" >&514560 + { echo "$as_me:1071: former value: $ac_old_val" >&5 12177 14561 echo "$as_me: former value: $ac_old_val" >&2;} 12178 14562 - { echo "$as_me:1059: current value: $ac_new_val" >&5 12179 + { echo "$as_me:10 62: current value: $ac_new_val" >&514563 + { echo "$as_me:1073: current value: $ac_new_val" >&5 12180 14564 echo "$as_me: current value: $ac_new_val" >&2;} 12181 14565 ac_cache_corrupted=: 12182 14566 fi;; 12183 @@ -1075,9 +10 78,9 @@14567 @@ -1075,9 +1089,9 @@ 12184 14568 fi 12185 14569 done 12186 14570 if $ac_cache_corrupted; then 12187 14571 - { echo "$as_me:1078: error: changes in the environment can compromise the build" >&5 12188 + { echo "$as_me:10 81: error: changes in the environment can compromise the build" >&514572 + { echo "$as_me:1092: error: changes in the environment can compromise the build" >&5 12189 14573 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 12190 14574 - { { echo "$as_me:1080: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 12191 + { { echo "$as_me:10 83: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&514575 + { { echo "$as_me:1094: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 12192 14576 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 12193 14577 { (exit 1); exit 1; }; } 12194 14578 fi 12195 @@ -1098,10 +11 01,10 @@14579 @@ -1098,10 +1112,10 @@ 12196 14580 echo "#! $SHELL" >conftest.sh 12197 14581 echo "exit 0" >>conftest.sh 12198 14582 chmod +x conftest.sh 12199 14583 -if { (echo "$as_me:1101: PATH=\".;.\"; conftest.sh") >&5 12200 +if { (echo "$as_me:11 04: PATH=\".;.\"; conftest.sh") >&514584 +if { (echo "$as_me:1115: PATH=\".;.\"; conftest.sh") >&5 12201 14585 (PATH=".;."; conftest.sh) 2>&5 12202 14586 ac_status=$? 12203 14587 - echo "$as_me:1104: \$? = $ac_status" >&5 12204 + echo "$as_me:11 07: \$? = $ac_status" >&514588 + echo "$as_me:1118: \$? = $ac_status" >&5 12205 14589 (exit $ac_status); }; then 12206 14590 ac_path_separator=';' 12207 14591 else 12208 @@ -1114,7 +11 17,7 @@14592 @@ -1114,7 +1128,7 @@ 12209 14593 12210 14594 top_builddir=`pwd` 12211 14595 12212 14596 -echo "$as_me:1117: checking for egrep" >&5 12213 +echo "$as_me:11 20: checking for egrep" >&514597 +echo "$as_me:1131: checking for egrep" >&5 12214 14598 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 12215 14599 if test "${ac_cv_prog_egrep+set}" = set; then 12216 14600 echo $ECHO_N "(cached) $ECHO_C" >&6 12217 @@ -1124,11 +11 27,11 @@14601 @@ -1124,11 +1138,11 @@ 12218 14602 else ac_cv_prog_egrep='egrep' 12219 14603 fi 12220 14604 fi 12221 14605 -echo "$as_me:1127: result: $ac_cv_prog_egrep" >&5 12222 +echo "$as_me:11 30: result: $ac_cv_prog_egrep" >&514606 +echo "$as_me:1141: result: $ac_cv_prog_egrep" >&5 12223 14607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 12224 14608 EGREP=$ac_cv_prog_egrep 12225 14609 12226 14610 -test -z "$EGREP" && { { echo "$as_me:1131: error: No egrep program found" >&5 12227 +test -z "$EGREP" && { { echo "$as_me:11 34: error: No egrep program found" >&514611 +test -z "$EGREP" && { { echo "$as_me:1145: error: No egrep program found" >&5 12228 14612 echo "$as_me: error: No egrep program found" >&2;} 12229 14613 { (exit 1); exit 1; }; } 12230 14614 12231 @@ -1138,7 +11 41,7 @@14615 @@ -1138,7 +1152,7 @@ 12232 14616 cf_cv_abi_version=${NCURSES_MAJOR} 12233 14617 cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR} 12234 14618 cf_cv_timestamp=`date` 12235 14619 -echo "$as_me:1141: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 12236 +echo "$as_me:11 44: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&514620 +echo "$as_me:1155: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 12237 14621 echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 12238 14622 12239 14623 test -z "$cf_cv_rel_version" && cf_cv_rel_version=0.0 12240 @@ -1146,7 +11 49,7 @@14624 @@ -1146,7 +1160,7 @@ 12241 14625 # Check whether --with-rel-version or --without-rel-version was given. 12242 14626 if test "${with_rel_version+set}" = set; then 12243 14627 withval="$with_rel_version" 12244 14628 - { echo "$as_me:1149: WARNING: overriding release version $cf_cv_rel_version to $withval" >&5 12245 + { echo "$as_me:11 52: WARNING: overriding release version $cf_cv_rel_version to $withval" >&514629 + { echo "$as_me:1163: WARNING: overriding release version $cf_cv_rel_version to $withval" >&5 12246 14630 echo "$as_me: WARNING: overriding release version $cf_cv_rel_version to $withval" >&2;} 12247 14631 cf_cv_rel_version=$withval 12248 14632 fi; 12249 @@ -1159,13 +11 62,13 @@14633 @@ -1159,13 +1173,13 @@ 12250 14634 [0-9]*) #(vi 12251 14635 ;; 12252 14636 *) 12253 14637 - { { echo "$as_me:1162: error: Release major-version is not a number: $NCURSES_MAJOR" >&5 12254 + { { echo "$as_me:11 65: error: Release major-version is not a number: $NCURSES_MAJOR" >&514638 + { { echo "$as_me:1176: error: Release major-version is not a number: $NCURSES_MAJOR" >&5 12255 14639 echo "$as_me: error: Release major-version is not a number: $NCURSES_MAJOR" >&2;} 12256 14640 { (exit 1); exit 1; }; } … … 12259 14643 else 12260 14644 - { { echo "$as_me:1168: error: Release major-version value is empty" >&5 12261 + { { echo "$as_me:11 71: error: Release major-version value is empty" >&514645 + { { echo "$as_me:1182: error: Release major-version value is empty" >&5 12262 14646 echo "$as_me: error: Release major-version value is empty" >&2;} 12263 14647 { (exit 1); exit 1; }; } 12264 14648 fi 12265 @@ -1175,13 +11 78,13 @@14649 @@ -1175,13 +1189,13 @@ 12266 14650 [0-9]*) #(vi 12267 14651 ;; 12268 14652 *) 12269 14653 - { { echo "$as_me:1178: error: Release minor-version is not a number: $NCURSES_MINOR" >&5 12270 + { { echo "$as_me:11 81: error: Release minor-version is not a number: $NCURSES_MINOR" >&514654 + { { echo "$as_me:1192: error: Release minor-version is not a number: $NCURSES_MINOR" >&5 12271 14655 echo "$as_me: error: Release minor-version is not a number: $NCURSES_MINOR" >&2;} 12272 14656 { (exit 1); exit 1; }; } … … 12275 14659 else 12276 14660 - { { echo "$as_me:1184: error: Release minor-version value is empty" >&5 12277 + { { echo "$as_me:11 87: error: Release minor-version value is empty" >&514661 + { { echo "$as_me:1198: error: Release minor-version value is empty" >&5 12278 14662 echo "$as_me: error: Release minor-version value is empty" >&2;} 12279 14663 { (exit 1); exit 1; }; } 12280 14664 fi 12281 @@ -1191,7 +1 194,7 @@14665 @@ -1191,7 +1205,7 @@ 12282 14666 # Check whether --with-abi-version or --without-abi-version was given. 12283 14667 if test "${with_abi_version+set}" = set; then 12284 14668 withval="$with_abi_version" 12285 14669 - { echo "$as_me:1194: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&5 12286 + { echo "$as_me:1 197: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&514670 + { echo "$as_me:1208: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&5 12287 14671 echo "$as_me: WARNING: overriding ABI version $cf_cv_abi_version to $withval" >&2;} 12288 14672 cf_cv_abi_version=$withval 12289 14673 fi; 12290 @@ -1201,13 +12 04,13 @@14674 @@ -1201,13 +1215,13 @@ 12291 14675 [0-9]*) #(vi 12292 14676 ;; 12293 14677 *) 12294 14678 - { { echo "$as_me:1204: error: ABI version is not a number: $cf_cv_abi_version" >&5 12295 + { { echo "$as_me:12 07: error: ABI version is not a number: $cf_cv_abi_version" >&514679 + { { echo "$as_me:1218: error: ABI version is not a number: $cf_cv_abi_version" >&5 12296 14680 echo "$as_me: error: ABI version is not a number: $cf_cv_abi_version" >&2;} 12297 14681 { (exit 1); exit 1; }; } … … 12300 14684 else 12301 14685 - { { echo "$as_me:1210: error: ABI version value is empty" >&5 12302 + { { echo "$as_me:12 13: error: ABI version value is empty" >&514686 + { { echo "$as_me:1224: error: ABI version value is empty" >&5 12303 14687 echo "$as_me: error: ABI version value is empty" >&2;} 12304 14688 { (exit 1); exit 1; }; } 12305 14689 fi 12306 @@ -1229,7 +12 32,7 @@14690 @@ -1229,7 +1243,7 @@ 12307 14691 fi 12308 14692 done 12309 14693 if test -z "$ac_aux_dir"; then 12310 14694 - { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 12311 + { { echo "$as_me:12 35: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&514695 + { { echo "$as_me:1246: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 12312 14696 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 12313 14697 { (exit 1); exit 1; }; } 12314 14698 fi 12315 @@ -1239,11 +12 42,11 @@14699 @@ -1239,11 +1253,11 @@ 12316 14700 12317 14701 # Make sure we can run config.sub. 12318 14702 $ac_config_sub sun4 >/dev/null 2>&1 || 12319 14703 - { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5 12320 + { { echo "$as_me:12 45: error: cannot run $ac_config_sub" >&514704 + { { echo "$as_me:1256: error: cannot run $ac_config_sub" >&5 12321 14705 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 12322 14706 { (exit 1); exit 1; }; } 12323 14707 12324 14708 -echo "$as_me:1246: checking build system type" >&5 12325 +echo "$as_me:12 49: checking build system type" >&514709 +echo "$as_me:1260: checking build system type" >&5 12326 14710 echo $ECHO_N "checking build system type... $ECHO_C" >&6 12327 14711 if test "${ac_cv_build+set}" = set; then 12328 14712 echo $ECHO_N "(cached) $ECHO_C" >&6 12329 @@ -1252,23 +12 55,23 @@14713 @@ -1252,23 +1266,23 @@ 12330 14714 test -z "$ac_cv_build_alias" && 12331 14715 ac_cv_build_alias=`$ac_config_guess` 12332 14716 test -z "$ac_cv_build_alias" && 12333 14717 - { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5 12334 + { { echo "$as_me:12 58: error: cannot guess build type; you must specify one" >&514718 + { { echo "$as_me:1269: error: cannot guess build type; you must specify one" >&5 12335 14719 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 12336 14720 { (exit 1); exit 1; }; } 12337 14721 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 12338 14722 - { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5 12339 + { { echo "$as_me:12 62: error: $ac_config_sub $ac_cv_build_alias failed." >&514723 + { { echo "$as_me:1273: error: $ac_config_sub $ac_cv_build_alias failed." >&5 12340 14724 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 12341 14725 { (exit 1); exit 1; }; } … … 12343 14727 fi 12344 14728 -echo "$as_me:1264: result: $ac_cv_build" >&5 12345 +echo "$as_me:12 67: result: $ac_cv_build" >&514729 +echo "$as_me:1278: result: $ac_cv_build" >&5 12346 14730 echo "${ECHO_T}$ac_cv_build" >&6 12347 14731 build=$ac_cv_build … … 12351 14735 12352 14736 -echo "$as_me:1271: checking host system type" >&5 12353 +echo "$as_me:12 74: checking host system type" >&514737 +echo "$as_me:1285: checking host system type" >&5 12354 14738 echo $ECHO_N "checking host system type... $ECHO_C" >&6 12355 14739 if test "${ac_cv_host+set}" = set; then 12356 14740 echo $ECHO_N "(cached) $ECHO_C" >&6 12357 @@ -1277,12 +12 80,12 @@14741 @@ -1277,12 +1291,12 @@ 12358 14742 test -z "$ac_cv_host_alias" && 12359 14743 ac_cv_host_alias=$ac_cv_build_alias 12360 14744 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 12361 14745 - { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5 12362 + { { echo "$as_me:12 83: error: $ac_config_sub $ac_cv_host_alias failed" >&514746 + { { echo "$as_me:1294: error: $ac_config_sub $ac_cv_host_alias failed" >&5 12363 14747 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 12364 14748 { (exit 1); exit 1; }; } … … 12366 14750 fi 12367 14751 -echo "$as_me:1285: result: $ac_cv_host" >&5 12368 +echo "$as_me:12 88: result: $ac_cv_host" >&514752 +echo "$as_me:1299: result: $ac_cv_host" >&5 12369 14753 echo "${ECHO_T}$ac_cv_host" >&6 12370 14754 host=$ac_cv_host 12371 14755 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 12372 @@ -1290,7 +1 293,7 @@14756 @@ -1290,7 +1304,7 @@ 12373 14757 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 12374 14758 12375 14759 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then 12376 14760 - echo "$as_me:1293: checking target system type" >&5 12377 + echo "$as_me:1 296: checking target system type" >&514761 + echo "$as_me:1307: checking target system type" >&5 12378 14762 echo $ECHO_N "checking target system type... $ECHO_C" >&6 12379 14763 if test "${ac_cv_target+set}" = set; then 12380 14764 echo $ECHO_N "(cached) $ECHO_C" >&6 12381 @@ -1299,12 +13 02,12 @@14765 @@ -1299,12 +1313,12 @@ 12382 14766 test "x$ac_cv_target_alias" = "x" && 12383 14767 ac_cv_target_alias=$ac_cv_host_alias 12384 14768 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 12385 14769 - { { echo "$as_me:1302: error: $ac_config_sub $ac_cv_target_alias failed" >&5 12386 + { { echo "$as_me:13 05: error: $ac_config_sub $ac_cv_target_alias failed" >&514770 + { { echo "$as_me:1316: error: $ac_config_sub $ac_cv_target_alias failed" >&5 12387 14771 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 12388 14772 { (exit 1); exit 1; }; } … … 12390 14774 fi 12391 14775 -echo "$as_me:1307: result: $ac_cv_target" >&5 12392 +echo "$as_me:13 10: result: $ac_cv_target" >&514776 +echo "$as_me:1321: result: $ac_cv_target" >&5 12393 14777 echo "${ECHO_T}$ac_cv_target" >&6 12394 14778 target=$ac_cv_target 12395 14779 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 12396 @@ -1335,13 +13 38,13 @@14780 @@ -1335,13 +1349,13 @@ 12397 14781 fi 12398 14782 12399 14783 test -z "$system_name" && system_name="$cf_cv_system_name" 12400 14784 -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:13 41: result: Configuring for $cf_cv_system_name" >&514785 +test -n "$cf_cv_system_name" && echo "$as_me:1352: result: Configuring for $cf_cv_system_name" >&5 12402 14786 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 12403 14787 12404 14788 if test ".$system_name" != ".$cf_cv_system_name" ; then 12405 14789 - echo "$as_me:1342: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 12406 + echo "$as_me:13 45: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&514790 + echo "$as_me:1356: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 12407 14791 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 12408 14792 - { { echo "$as_me:1344: error: \"Please remove config.cache and try again.\"" >&5 12409 + { { echo "$as_me:13 47: error: \"Please remove config.cache and try again.\"" >&514793 + { { echo "$as_me:1358: error: \"Please remove config.cache and try again.\"" >&5 12410 14794 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} 12411 14795 { (exit 1); exit 1; }; } 12412 14796 fi 12413 @@ -1349,7 +13 52,7 @@14797 @@ -1349,7 +1363,7 @@ 12414 14798 # Check whether --with-system-type or --without-system-type was given. 12415 14799 if test "${with_system_type+set}" = set; then 12416 14800 withval="$with_system_type" 12417 14801 - { echo "$as_me:1352: WARNING: overriding system type to $withval" >&5 12418 + { echo "$as_me:13 55: WARNING: overriding system type to $withval" >&514802 + { echo "$as_me:1366: WARNING: overriding system type to $withval" >&5 12419 14803 echo "$as_me: WARNING: overriding system type to $withval" >&2;} 12420 14804 cf_cv_system_name=$withval 12421 14805 fi; 12422 @@ -1359,23 +13 62,23 @@14806 @@ -1359,23 +1373,23 @@ 12423 14807 12424 14808 ### Default install-location 12425 14809 12426 14810 -echo "$as_me:1362: checking for prefix" >&5 12427 +echo "$as_me:13 65: checking for prefix" >&514811 +echo "$as_me:1376: checking for prefix" >&5 12428 14812 echo $ECHO_N "checking for prefix... $ECHO_C" >&6 12429 14813 if test "x$prefix" = "xNONE" ; then … … 12439 14823 fi 12440 14824 -echo "$as_me:1374: result: $prefix" >&5 12441 +echo "$as_me:13 77: result: $prefix" >&514825 +echo "$as_me:1388: result: $prefix" >&5 12442 14826 echo "${ECHO_T}$prefix" >&6 12443 14827 12444 14828 if test "x$prefix" = "xNONE" ; then 12445 14829 -echo "$as_me:1378: checking for default include-directory" >&5 12446 +echo "$as_me:13 81: checking for default include-directory" >&514830 +echo "$as_me:1392: checking for default include-directory" >&5 12447 14831 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6 12448 14832 test -n "$verbose" && echo 1>&6 12449 14833 for cf_symbol in \ 12450 @@ -1398, 7 +1401,7@@14834 @@ -1398,11 +1412,26 @@ 12451 14835 fi 12452 14836 test -n "$verbose" && echo " tested $cf_dir" 1>&6 12453 14837 done 12454 14838 -echo "$as_me:1401: result: $includedir" >&5 12455 +echo "$as_me:14 04: result: $includedir" >&514839 +echo "$as_me:1415: result: $includedir" >&5 12456 14840 echo "${ECHO_T}$includedir" >&6 12457 14841 fi 12458 14842 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 12460 14865 if test -n "$ac_tool_prefix"; then 12461 12462 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 12463 14868 -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" 12472 14883 -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 12481 14891 - 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 12485 14894 - 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 12492 12493 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 12494 14903 -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" 12503 14918 -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 12512 14926 - 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 12516 14929 - 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 12525 14942 -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" 12534 14957 -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 12543 14965 - 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 12547 14968 - 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 12554 12555 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 12556 14977 -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" 12565 14992 -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 12574 15000 - 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 12578 15003 - 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 12587 15016 -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" 12596 15036 -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 12605 15058 - 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 12609 15061 - 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 12615 15070 do 12616 15071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12617 15072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12618 15073 -echo "$as_me:1619: checking for $ac_word" >&5 12619 +echo "$as_me:1 622: checking for $ac_word" >&515074 +echo "$as_me:1446: checking for $ac_word" >&5 12620 15075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12621 15076 if test "${ac_cv_prog_CC+set}" = set; then 12622 15077 echo $ECHO_N "(cached) $ECHO_C" >&6 12623 @@ -1631,7 +1 634,7 @@15078 @@ -1631,7 +1458,7 @@ 12624 15079 test -z "$ac_dir" && ac_dir=. 12625 15080 $as_executable_p "$ac_dir/$ac_word" || continue 12626 15081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12627 15082 -echo "$as_me:1634: found $ac_dir/$ac_word" >&5 12628 +echo "$as_me:1 637: found $ac_dir/$ac_word" >&515083 +echo "$as_me:1461: found $ac_dir/$ac_word" >&5 12629 15084 break 12630 15085 done 12631 15086 12632 @@ -1639,10 +1 642,10 @@15087 @@ -1639,10 +1466,10 @@ 12633 15088 fi 12634 15089 CC=$ac_cv_prog_CC 12635 15090 if test -n "$CC"; then 12636 15091 - echo "$as_me:1642: result: $CC" >&5 12637 + echo "$as_me:1 645: result: $CC" >&515092 + echo "$as_me:1469: result: $CC" >&5 12638 15093 echo "${ECHO_T}$CC" >&6 12639 15094 else 12640 15095 - echo "$as_me:1645: result: no" >&5 12641 + echo "$as_me:1 648: result: no" >&515096 + echo "$as_me:1472: result: no" >&5 12642 15097 echo "${ECHO_T}no" >&6 12643 15098 fi 12644 15099 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 12646 15106 do 12647 15107 # Extract the first word of "$ac_prog", so it can be a program name with args. 12648 15108 set dummy $ac_prog; ac_word=$2 12649 15109 -echo "$as_me:1658: checking for $ac_word" >&5 12650 +echo "$as_me:1 661: checking for $ac_word" >&515110 +echo "$as_me:1485: checking for $ac_word" >&5 12651 15111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12652 15112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 12653 15113 echo $ECHO_N "(cached) $ECHO_C" >&6 12654 @@ -1670,7 +1 673,7 @@15114 @@ -1670,7 +1497,7 @@ 12655 15115 test -z "$ac_dir" && ac_dir=. 12656 15116 $as_executable_p "$ac_dir/$ac_word" || continue 12657 15117 ac_cv_prog_ac_ct_CC="$ac_prog" 12658 15118 -echo "$as_me:1673: found $ac_dir/$ac_word" >&5 12659 +echo "$as_me:1 676: found $ac_dir/$ac_word" >&515119 +echo "$as_me:1500: found $ac_dir/$ac_word" >&5 12660 15120 break 12661 15121 done 12662 15122 12663 @@ -1678,10 +1 681,10 @@15123 @@ -1678,10 +1505,10 @@ 12664 15124 fi 12665 15125 ac_ct_CC=$ac_cv_prog_ac_ct_CC 12666 15126 if test -n "$ac_ct_CC"; then 12667 15127 - echo "$as_me:1681: result: $ac_ct_CC" >&5 12668 + echo "$as_me:1 684: result: $ac_ct_CC" >&515128 + echo "$as_me:1508: result: $ac_ct_CC" >&5 12669 15129 echo "${ECHO_T}$ac_ct_CC" >&6 12670 15130 else 12671 15131 - echo "$as_me:1684: result: no" >&5 12672 + echo "$as_me:1 687: result: no" >&515132 + echo "$as_me:1511: result: no" >&5 12673 15133 echo "${ECHO_T}no" >&6 12674 15134 fi 12675 15135 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 - 12680 15142 -test -z "$CC" && { { echo "$as_me:1696: error: no acceptable cc found in \$PATH" >&5 12681 +test -z "$CC" && { { echo "$as_me:1 699: error: no acceptable cc found in \$PATH" >&515143 +test -z "$CC" && { { echo "$as_me:1521: error: no acceptable cc found in \$PATH" >&5 12682 15144 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 12683 15145 { (exit 1); exit 1; }; } … … 12685 15147 # Provide some information about the compiler. 12686 15148 -echo "$as_me:1701:" \ 12687 +echo "$as_me:1 704:" \15149 +echo "$as_me:1526:" \ 12688 15150 "checking for C compiler version" >&5 12689 15151 ac_compiler=`set X $ac_compile; echo $2` 12690 15152 -{ (eval echo "$as_me:1704: \"$ac_compiler --version </dev/null >&5\"") >&5 12691 +{ (eval echo "$as_me:1 707: \"$ac_compiler --version </dev/null >&5\"") >&515153 +{ (eval echo "$as_me:1529: \"$ac_compiler --version </dev/null >&5\"") >&5 12692 15154 (eval $ac_compiler --version </dev/null >&5) 2>&5 12693 15155 ac_status=$? 12694 15156 - echo "$as_me:1707: \$? = $ac_status" >&5 12695 + echo "$as_me:1 710: \$? = $ac_status" >&515157 + echo "$as_me:1532: \$? = $ac_status" >&5 12696 15158 (exit $ac_status); } 12697 15159 -{ (eval echo "$as_me:1709: \"$ac_compiler -v </dev/null >&5\"") >&5 12698 +{ (eval echo "$as_me:1 712: \"$ac_compiler -v </dev/null >&5\"") >&515160 +{ (eval echo "$as_me:1534: \"$ac_compiler -v </dev/null >&5\"") >&5 12699 15161 (eval $ac_compiler -v </dev/null >&5) 2>&5 12700 15162 ac_status=$? 12701 15163 - echo "$as_me:1712: \$? = $ac_status" >&5 12702 + echo "$as_me:1 715: \$? = $ac_status" >&515164 + echo "$as_me:1537: \$? = $ac_status" >&5 12703 15165 (exit $ac_status); } 12704 15166 -{ (eval echo "$as_me:1714: \"$ac_compiler -V </dev/null >&5\"") >&5 12705 +{ (eval echo "$as_me:1 717: \"$ac_compiler -V </dev/null >&5\"") >&515167 +{ (eval echo "$as_me:1539: \"$ac_compiler -V </dev/null >&5\"") >&5 12706 15168 (eval $ac_compiler -V </dev/null >&5) 2>&5 12707 15169 ac_status=$? 12708 15170 - echo "$as_me:1717: \$? = $ac_status" >&5 12709 + echo "$as_me:1 720: \$? = $ac_status" >&515171 + echo "$as_me:1542: \$? = $ac_status" >&5 12710 15172 (exit $ac_status); } 12711 15173 12712 15174 cat >conftest.$ac_ext <<_ACEOF 12713 15175 -#line 1721 "configure" 12714 +#line 1 724"configure"15176 +#line 1546 "configure" 12715 15177 #include "confdefs.h" 12716 15178 12717 15179 int 12718 @@ -1734,13 +1 737,13 @@15180 @@ -1734,13 +1559,13 @@ 12719 15181 # Try to create an executable without -o first, disregard a.out. 12720 15182 # It will help us diagnose broken compilers, and finding out an intuition 12721 15183 # of exeext. 12722 15184 -echo "$as_me:1737: checking for C compiler default output" >&5 12723 +echo "$as_me:1 740: checking for C compiler default output" >&515185 +echo "$as_me:1562: checking for C compiler default output" >&5 12724 15186 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 12725 15187 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 12726 15188 -if { (eval echo "$as_me:1740: \"$ac_link_default\"") >&5 12727 +if { (eval echo "$as_me:1 743: \"$ac_link_default\"") >&515189 +if { (eval echo "$as_me:1565: \"$ac_link_default\"") >&5 12728 15190 (eval $ac_link_default) 2>&5 12729 15191 ac_status=$? 12730 15192 - echo "$as_me:1743: \$? = $ac_status" >&5 12731 + echo "$as_me:1 746: \$? = $ac_status" >&515193 + echo "$as_me:1568: \$? = $ac_status" >&5 12732 15194 (exit $ac_status); }; then 12733 15195 # Find the output, starting from the most likely. This scheme is 12734 15196 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 12735 @@ -1763,34 +1 766,34 @@15197 @@ -1763,34 +1588,34 @@ 12736 15198 else 12737 15199 echo "$as_me: failed program was:" >&5 12738 15200 cat conftest.$ac_ext >&5 12739 15201 -{ { echo "$as_me:1766: error: C compiler cannot create executables" >&5 12740 +{ { echo "$as_me:1 769: error: C compiler cannot create executables" >&515202 +{ { echo "$as_me:1591: error: C compiler cannot create executables" >&5 12741 15203 echo "$as_me: error: C compiler cannot create executables" >&2;} 12742 15204 { (exit 77); exit 77; }; } … … 12745 15207 ac_exeext=$ac_cv_exeext 12746 15208 -echo "$as_me:1772: result: $ac_file" >&5 12747 +echo "$as_me:1 775: result: $ac_file" >&515209 +echo "$as_me:1597: result: $ac_file" >&5 12748 15210 echo "${ECHO_T}$ac_file" >&6 12749 15211 … … 12751 15213 # the compiler is broken, or we cross compile. 12752 15214 -echo "$as_me:1777: checking whether the C compiler works" >&5 12753 +echo "$as_me:1 780: checking whether the C compiler works" >&515215 +echo "$as_me:1602: checking whether the C compiler works" >&5 12754 15216 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 12755 15217 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 12758 15220 if { ac_try='./$ac_file' 12759 15221 - { (eval echo "$as_me:1783: \"$ac_try\"") >&5 12760 + { (eval echo "$as_me:1 786: \"$ac_try\"") >&515222 + { (eval echo "$as_me:1608: \"$ac_try\"") >&5 12761 15223 (eval $ac_try) 2>&5 12762 15224 ac_status=$? 12763 15225 - echo "$as_me:1786: \$? = $ac_status" >&5 12764 + echo "$as_me:1 789: \$? = $ac_status" >&515226 + echo "$as_me:1611: \$? = $ac_status" >&5 12765 15227 (exit $ac_status); }; }; then 12766 15228 cross_compiling=no … … 12770 15232 else 12771 15233 - { { echo "$as_me:1793: error: cannot run C compiled programs. 12772 + { { echo "$as_me:1 796: error: cannot run C compiled programs.15234 + { { echo "$as_me:1618: error: cannot run C compiled programs. 12773 15235 If you meant to cross compile, use \`--host'." >&5 12774 15236 echo "$as_me: error: cannot run C compiled programs. 12775 15237 If you meant to cross compile, use \`--host'." >&2;} 12776 @@ -1798,24 +1 801,24 @@15238 @@ -1798,24 +1623,24 @@ 12777 15239 fi 12778 15240 fi 12779 15241 fi 12780 15242 -echo "$as_me:1801: result: yes" >&5 12781 +echo "$as_me:1 804: result: yes" >&515243 +echo "$as_me:1626: result: yes" >&5 12782 15244 echo "${ECHO_T}yes" >&6 12783 15245 … … 12787 15249 # the compiler is broken, or we cross compile. 12788 15250 -echo "$as_me:1808: checking whether we are cross compiling" >&5 12789 +echo "$as_me:1 811: checking whether we are cross compiling" >&515251 +echo "$as_me:1633: checking whether we are cross compiling" >&5 12790 15252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 12791 15253 -echo "$as_me:1810: result: $cross_compiling" >&5 12792 +echo "$as_me:1 813: result: $cross_compiling" >&515254 +echo "$as_me:1635: result: $cross_compiling" >&5 12793 15255 echo "${ECHO_T}$cross_compiling" >&6 12794 15256 12795 15257 -echo "$as_me:1813: checking for executable suffix" >&5 12796 +echo "$as_me:1 816: checking for executable suffix" >&515258 +echo "$as_me:1638: checking for executable suffix" >&5 12797 15259 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 12798 15260 -if { (eval echo "$as_me:1815: \"$ac_link\"") >&5 12799 +if { (eval echo "$as_me:1 818: \"$ac_link\"") >&515261 +if { (eval echo "$as_me:1640: \"$ac_link\"") >&5 12800 15262 (eval $ac_link) 2>&5 12801 15263 ac_status=$? 12802 15264 - echo "$as_me:1818: \$? = $ac_status" >&5 12803 + echo "$as_me:1 821: \$? = $ac_status" >&515265 + echo "$as_me:1643: \$? = $ac_status" >&5 12804 15266 (exit $ac_status); }; then 12805 15267 # If both `conftest.exe' and `conftest' are `present' (well, observable) 12806 15268 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 12807 @@ -1831,25 +1 834,25 @@15269 @@ -1831,25 +1656,25 @@ 12808 15270 esac 12809 15271 done 12810 15272 else 12811 15273 - { { echo "$as_me:1834: error: cannot compute EXEEXT: cannot compile and link" >&5 12812 + { { echo "$as_me:1 837: error: cannot compute EXEEXT: cannot compile and link" >&515274 + { { echo "$as_me:1659: error: cannot compute EXEEXT: cannot compile and link" >&5 12813 15275 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 12814 15276 { (exit 1); exit 1; }; } … … 12817 15279 rm -f conftest$ac_cv_exeext 12818 15280 -echo "$as_me:1840: result: $ac_cv_exeext" >&5 12819 +echo "$as_me:1 843: result: $ac_cv_exeext" >&515281 +echo "$as_me:1665: result: $ac_cv_exeext" >&5 12820 15282 echo "${ECHO_T}$ac_cv_exeext" >&6 12821 15283 … … 12824 15286 ac_exeext=$EXEEXT 12825 15287 -echo "$as_me:1846: checking for object suffix" >&5 12826 +echo "$as_me:1 849: checking for object suffix" >&515288 +echo "$as_me:1671: checking for object suffix" >&5 12827 15289 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 12828 15290 if test "${ac_cv_objext+set}" = set; then … … 12831 15293 cat >conftest.$ac_ext <<_ACEOF 12832 15294 -#line 1852 "configure" 12833 +#line 1 855"configure"15295 +#line 1677 "configure" 12834 15296 #include "confdefs.h" 12835 15297 12836 15298 int 12837 @@ -1861,10 +1 864,10 @@15299 @@ -1861,10 +1686,10 @@ 12838 15300 } 12839 15301 _ACEOF 12840 15302 rm -f conftest.o conftest.obj 12841 15303 -if { (eval echo "$as_me:1864: \"$ac_compile\"") >&5 12842 +if { (eval echo "$as_me:1 867: \"$ac_compile\"") >&515304 +if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5 12843 15305 (eval $ac_compile) 2>&5 12844 15306 ac_status=$? 12845 15307 - echo "$as_me:1867: \$? = $ac_status" >&5 12846 + echo "$as_me:1 870: \$? = $ac_status" >&515308 + echo "$as_me:1692: \$? = $ac_status" >&5 12847 15309 (exit $ac_status); }; then 12848 15310 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 12849 15311 case $ac_file in 12850 @@ -1876,24 +1 879,24 @@15312 @@ -1876,24 +1701,24 @@ 12851 15313 else 12852 15314 echo "$as_me: failed program was:" >&5 12853 15315 cat conftest.$ac_ext >&5 12854 15316 -{ { echo "$as_me:1879: error: cannot compute OBJEXT: cannot compile" >&5 12855 +{ { echo "$as_me:1 882: error: cannot compute OBJEXT: cannot compile" >&515317 +{ { echo "$as_me:1704: error: cannot compute OBJEXT: cannot compile" >&5 12856 15318 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 12857 15319 { (exit 1); exit 1; }; } … … 12861 15323 fi 12862 15324 -echo "$as_me:1886: result: $ac_cv_objext" >&5 12863 +echo "$as_me:1 889: result: $ac_cv_objext" >&515325 +echo "$as_me:1711: result: $ac_cv_objext" >&5 12864 15326 echo "${ECHO_T}$ac_cv_objext" >&6 12865 15327 OBJEXT=$ac_cv_objext 12866 15328 ac_objext=$OBJEXT 12867 15329 -echo "$as_me:1890: checking whether we are using the GNU C compiler" >&5 12868 +echo "$as_me:1 893: checking whether we are using the GNU C compiler" >&515330 +echo "$as_me:1715: checking whether we are using the GNU C compiler" >&5 12869 15331 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 12870 15332 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 12873 15335 cat >conftest.$ac_ext <<_ACEOF 12874 15336 -#line 1896 "configure" 12875 +#line 1 899"configure"15337 +#line 1721 "configure" 12876 15338 #include "confdefs.h" 12877 15339 12878 15340 int 12879 @@ -1908,16 +1 911,16 @@15341 @@ -1908,16 +1733,16 @@ 12880 15342 } 12881 15343 _ACEOF 12882 15344 rm -f conftest.$ac_objext 12883 15345 -if { (eval echo "$as_me:1911: \"$ac_compile\"") >&5 12884 +if { (eval echo "$as_me:1 914: \"$ac_compile\"") >&515346 +if { (eval echo "$as_me:1736: \"$ac_compile\"") >&5 12885 15347 (eval $ac_compile) 2>&5 12886 15348 ac_status=$? 12887 15349 - echo "$as_me:1914: \$? = $ac_status" >&5 12888 + echo "$as_me:1 917: \$? = $ac_status" >&515350 + echo "$as_me:1739: \$? = $ac_status" >&5 12889 15351 (exit $ac_status); } && 12890 15352 { ac_try='test -s conftest.$ac_objext' 12891 15353 - { (eval echo "$as_me:1917: \"$ac_try\"") >&5 12892 + { (eval echo "$as_me:1 920: \"$ac_try\"") >&515354 + { (eval echo "$as_me:1742: \"$ac_try\"") >&5 12893 15355 (eval $ac_try) 2>&5 12894 15356 ac_status=$? 12895 15357 - echo "$as_me:1920: \$? = $ac_status" >&5 12896 + echo "$as_me:1 923: \$? = $ac_status" >&515358 + echo "$as_me:1745: \$? = $ac_status" >&5 12897 15359 (exit $ac_status); }; }; then 12898 15360 ac_compiler_gnu=yes 12899 15361 else 12900 @@ -1929,19 +1 932,19 @@15362 @@ -1929,19 +1754,19 @@ 12901 15363 ac_cv_c_compiler_gnu=$ac_compiler_gnu 12902 15364 12903 15365 fi 12904 15366 -echo "$as_me:1932: result: $ac_cv_c_compiler_gnu" >&5 12905 +echo "$as_me:1 935: result: $ac_cv_c_compiler_gnu" >&515367 +echo "$as_me:1757: result: $ac_cv_c_compiler_gnu" >&5 12906 15368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 12907 15369 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 12910 15372 CFLAGS="-g" 12911 15373 -echo "$as_me:1938: checking whether $CC accepts -g" >&5 12912 +echo "$as_me:1 941: checking whether $CC accepts -g" >&515374 +echo "$as_me:1763: checking whether $CC accepts -g" >&5 12913 15375 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 12914 15376 if test "${ac_cv_prog_cc_g+set}" = set; then … … 12917 15379 cat >conftest.$ac_ext <<_ACEOF 12918 15380 -#line 1944 "configure" 12919 +#line 1 947"configure"15381 +#line 1769 "configure" 12920 15382 #include "confdefs.h" 12921 15383 12922 15384 int 12923 @@ -1953,16 +1 956,16 @@15385 @@ -1953,16 +1778,16 @@ 12924 15386 } 12925 15387 _ACEOF 12926 15388 rm -f conftest.$ac_objext 12927 15389 -if { (eval echo "$as_me:1956: \"$ac_compile\"") >&5 12928 +if { (eval echo "$as_me:1 959: \"$ac_compile\"") >&515390 +if { (eval echo "$as_me:1781: \"$ac_compile\"") >&5 12929 15391 (eval $ac_compile) 2>&5 12930 15392 ac_status=$? 12931 15393 - echo "$as_me:1959: \$? = $ac_status" >&5 12932 + echo "$as_me:1 962: \$? = $ac_status" >&515394 + echo "$as_me:1784: \$? = $ac_status" >&5 12933 15395 (exit $ac_status); } && 12934 15396 { ac_try='test -s conftest.$ac_objext' 12935 15397 - { (eval echo "$as_me:1962: \"$ac_try\"") >&5 12936 + { (eval echo "$as_me:1 965: \"$ac_try\"") >&515398 + { (eval echo "$as_me:1787: \"$ac_try\"") >&5 12937 15399 (eval $ac_try) 2>&5 12938 15400 ac_status=$? 12939 15401 - echo "$as_me:1965: \$? = $ac_status" >&5 12940 + echo "$as_me:1 968: \$? = $ac_status" >&515402 + echo "$as_me:1790: \$? = $ac_status" >&5 12941 15403 (exit $ac_status); }; }; then 12942 15404 ac_cv_prog_cc_g=yes 12943 15405 else 12944 @@ -1972,7 +1 975,7 @@15406 @@ -1972,7 +1797,7 @@ 12945 15407 fi 12946 15408 rm -f conftest.$ac_objext conftest.$ac_ext 12947 15409 fi 12948 15410 -echo "$as_me:1975: result: $ac_cv_prog_cc_g" >&5 12949 +echo "$as_me:1 978: result: $ac_cv_prog_cc_g" >&515411 +echo "$as_me:1800: result: $ac_cv_prog_cc_g" >&5 12950 15412 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 12951 15413 if test "$ac_test_CFLAGS" = set; then 12952 15414 CFLAGS=$ac_save_CFLAGS 12953 @@ -1999,16 + 2002,16 @@15415 @@ -1999,16 +1824,16 @@ 12954 15416 #endif 12955 15417 _ACEOF 12956 15418 rm -f conftest.$ac_objext 12957 15419 -if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5 12958 +if { (eval echo "$as_me: 2005: \"$ac_compile\"") >&515420 +if { (eval echo "$as_me:1827: \"$ac_compile\"") >&5 12959 15421 (eval $ac_compile) 2>&5 12960 15422 ac_status=$? 12961 15423 - echo "$as_me:2005: \$? = $ac_status" >&5 12962 + echo "$as_me: 2008: \$? = $ac_status" >&515424 + echo "$as_me:1830: \$? = $ac_status" >&5 12963 15425 (exit $ac_status); } && 12964 15426 { ac_try='test -s conftest.$ac_objext' 12965 15427 - { (eval echo "$as_me:2008: \"$ac_try\"") >&5 12966 + { (eval echo "$as_me: 2011: \"$ac_try\"") >&515428 + { (eval echo "$as_me:1833: \"$ac_try\"") >&5 12967 15429 (eval $ac_try) 2>&5 12968 15430 ac_status=$? 12969 15431 - echo "$as_me:2011: \$? = $ac_status" >&5 12970 + echo "$as_me: 2014: \$? = $ac_status" >&515432 + echo "$as_me:1836: \$? = $ac_status" >&5 12971 15433 (exit $ac_status); }; }; then 12972 15434 for ac_declaration in \ 12973 15435 ''\ 12974 @@ -2020,7 + 2023,7 @@15436 @@ -2020,7 +1845,7 @@ 12975 15437 'void exit (int);' 12976 15438 do 12977 15439 cat >conftest.$ac_ext <<_ACEOF 12978 15440 -#line 2023 "configure" 12979 +#line 2026"configure"15441 +#line 1848 "configure" 12980 15442 #include "confdefs.h" 12981 15443 #include <stdlib.h> 12982 15444 $ac_declaration 12983 @@ -2033,16 + 2036,16 @@15445 @@ -2033,16 +1858,16 @@ 12984 15446 } 12985 15447 _ACEOF 12986 15448 rm -f conftest.$ac_objext 12987 15449 -if { (eval echo "$as_me:2036: \"$ac_compile\"") >&5 12988 +if { (eval echo "$as_me: 2039: \"$ac_compile\"") >&515450 +if { (eval echo "$as_me:1861: \"$ac_compile\"") >&5 12989 15451 (eval $ac_compile) 2>&5 12990 15452 ac_status=$? 12991 15453 - echo "$as_me:2039: \$? = $ac_status" >&5 12992 + echo "$as_me: 2042: \$? = $ac_status" >&515454 + echo "$as_me:1864: \$? = $ac_status" >&5 12993 15455 (exit $ac_status); } && 12994 15456 { ac_try='test -s conftest.$ac_objext' 12995 15457 - { (eval echo "$as_me:2042: \"$ac_try\"") >&5 12996 + { (eval echo "$as_me: 2045: \"$ac_try\"") >&515458 + { (eval echo "$as_me:1867: \"$ac_try\"") >&5 12997 15459 (eval $ac_try) 2>&5 12998 15460 ac_status=$? 12999 15461 - echo "$as_me:2045: \$? = $ac_status" >&5 13000 + echo "$as_me: 2048: \$? = $ac_status" >&515462 + echo "$as_me:1870: \$? = $ac_status" >&5 13001 15463 (exit $ac_status); }; }; then 13002 15464 : 13003 15465 else 13004 @@ -2052,7 + 2055,7 @@15466 @@ -2052,7 +1877,7 @@ 13005 15467 fi 13006 15468 rm -f conftest.$ac_objext conftest.$ac_ext 13007 15469 cat >conftest.$ac_ext <<_ACEOF 13008 15470 -#line 2055 "configure" 13009 +#line 2058"configure"15471 +#line 1880 "configure" 13010 15472 #include "confdefs.h" 13011 15473 $ac_declaration 13012 15474 int 13013 @@ -2064,16 + 2067,16 @@15475 @@ -2064,16 +1889,16 @@ 13014 15476 } 13015 15477 _ACEOF 13016 15478 rm -f conftest.$ac_objext 13017 15479 -if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5 13018 +if { (eval echo "$as_me: 2070: \"$ac_compile\"") >&515480 +if { (eval echo "$as_me:1892: \"$ac_compile\"") >&5 13019 15481 (eval $ac_compile) 2>&5 13020 15482 ac_status=$? 13021 15483 - echo "$as_me:2070: \$? = $ac_status" >&5 13022 + echo "$as_me: 2073: \$? = $ac_status" >&515484 + echo "$as_me:1895: \$? = $ac_status" >&5 13023 15485 (exit $ac_status); } && 13024 15486 { ac_try='test -s conftest.$ac_objext' 13025 15487 - { (eval echo "$as_me:2073: \"$ac_try\"") >&5 13026 + { (eval echo "$as_me: 2076: \"$ac_try\"") >&515488 + { (eval echo "$as_me:1898: \"$ac_try\"") >&5 13027 15489 (eval $ac_try) 2>&5 13028 15490 ac_status=$? 13029 15491 - echo "$as_me:2076: \$? = $ac_status" >&5 13030 + echo "$as_me: 2079: \$? = $ac_status" >&515492 + echo "$as_me:1901: \$? = $ac_status" >&5 13031 15493 (exit $ac_status); }; }; then 13032 15494 break 13033 15495 else 13034 @@ -2103,11 + 2106,11 @@15496 @@ -2103,11 +1928,11 @@ 13035 15497 13036 15498 GCC_VERSION=none 13037 15499 if test "$GCC" = yes ; then 13038 15500 - echo "$as_me:2106: checking version of $CC" >&5 13039 + echo "$as_me: 2109: checking version of $CC" >&515501 + echo "$as_me:1931: checking version of $CC" >&5 13040 15502 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 13041 15503 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" 13042 15504 test -z "$GCC_VERSION" && GCC_VERSION=unknown 13043 15505 - echo "$as_me:2110: result: $GCC_VERSION" >&5 13044 + echo "$as_me: 2113: result: $GCC_VERSION" >&515506 + echo "$as_me:1935: result: $GCC_VERSION" >&5 13045 15507 echo "${ECHO_T}$GCC_VERSION" >&6 13046 15508 fi 13047 15509 13048 @@ -2117,7 + 2120,7 @@15510 @@ -2117,7 +1942,7 @@ 13049 15511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13050 15512 ac_compiler_gnu=$ac_cv_c_compiler_gnu 13051 15513 ac_main_return=return 13052 15514 -echo "$as_me:2120: checking how to run the C preprocessor" >&5 13053 +echo "$as_me: 2123: checking how to run the C preprocessor" >&515515 +echo "$as_me:1945: checking how to run the C preprocessor" >&5 13054 15516 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 13055 15517 # On Suns, sometimes $CPP names a directory. 13056 15518 if test -n "$CPP" && test -d "$CPP"; then 13057 @@ -2138,18 + 2141,18 @@15519 @@ -2138,18 +1963,18 @@ 13058 15520 # On the NeXT, cc -E runs the code through the compiler's parser, 13059 15521 # not just through cpp. "Syntax error" is here to catch this case. 13060 15522 cat >conftest.$ac_ext <<_ACEOF 13061 15523 -#line 2141 "configure" 13062 +#line 2144"configure"15524 +#line 1966 "configure" 13063 15525 #include "confdefs.h" 13064 15526 #include <assert.h> … … 13066 15528 _ACEOF 13067 15529 -if { (eval echo "$as_me:2146: \"$ac_cpp conftest.$ac_ext\"") >&5 13068 +if { (eval echo "$as_me: 2149: \"$ac_cpp conftest.$ac_ext\"") >&515530 +if { (eval echo "$as_me:1971: \"$ac_cpp conftest.$ac_ext\"") >&5 13069 15531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13070 15532 ac_status=$? … … 13073 15535 cat conftest.err >&5 13074 15536 - echo "$as_me:2152: \$? = $ac_status" >&5 13075 + echo "$as_me: 2155: \$? = $ac_status" >&515537 + echo "$as_me:1977: \$? = $ac_status" >&5 13076 15538 (exit $ac_status); } >/dev/null; then 13077 15539 if test -s conftest.err; then 13078 15540 ac_cpp_err=$ac_c_preproc_warn_flag 13079 @@ -2172,17 + 2175,17 @@15541 @@ -2172,17 +1997,17 @@ 13080 15542 # OK, works on sane cases. Now check whether non-existent headers 13081 15543 # can be detected and how. 13082 15544 cat >conftest.$ac_ext <<_ACEOF 13083 15545 -#line 2175 "configure" 13084 +#line 2 178"configure"15546 +#line 2000 "configure" 13085 15547 #include "confdefs.h" 13086 15548 #include <ac_nonexistent.h> 13087 15549 _ACEOF 13088 15550 -if { (eval echo "$as_me:2179: \"$ac_cpp conftest.$ac_ext\"") >&5 13089 +if { (eval echo "$as_me:2 182: \"$ac_cpp conftest.$ac_ext\"") >&515551 +if { (eval echo "$as_me:2004: \"$ac_cpp conftest.$ac_ext\"") >&5 13090 15552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13091 15553 ac_status=$? … … 13094 15556 cat conftest.err >&5 13095 15557 - echo "$as_me:2185: \$? = $ac_status" >&5 13096 + echo "$as_me:2 188: \$? = $ac_status" >&515558 + echo "$as_me:2010: \$? = $ac_status" >&5 13097 15559 (exit $ac_status); } >/dev/null; then 13098 15560 if test -s conftest.err; then 13099 15561 ac_cpp_err=$ac_c_preproc_warn_flag 13100 @@ -2219,7 +2 222,7 @@15562 @@ -2219,7 +2044,7 @@ 13101 15563 else 13102 15564 ac_cv_prog_CPP=$CPP 13103 15565 fi 13104 15566 -echo "$as_me:2222: result: $CPP" >&5 13105 +echo "$as_me:2 225: result: $CPP" >&515567 +echo "$as_me:2047: result: $CPP" >&5 13106 15568 echo "${ECHO_T}$CPP" >&6 13107 15569 ac_preproc_ok=false 13108 15570 for ac_c_preproc_warn_flag in '' yes 13109 @@ -2229,18 +2 232,18 @@15571 @@ -2229,18 +2054,18 @@ 13110 15572 # On the NeXT, cc -E runs the code through the compiler's parser, 13111 15573 # not just through cpp. "Syntax error" is here to catch this case. 13112 15574 cat >conftest.$ac_ext <<_ACEOF 13113 15575 -#line 2232 "configure" 13114 +#line 2 235"configure"15576 +#line 2057 "configure" 13115 15577 #include "confdefs.h" 13116 15578 #include <assert.h> … … 13118 15580 _ACEOF 13119 15581 -if { (eval echo "$as_me:2237: \"$ac_cpp conftest.$ac_ext\"") >&5 13120 +if { (eval echo "$as_me:2 240: \"$ac_cpp conftest.$ac_ext\"") >&515582 +if { (eval echo "$as_me:2062: \"$ac_cpp conftest.$ac_ext\"") >&5 13121 15583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13122 15584 ac_status=$? … … 13125 15587 cat conftest.err >&5 13126 15588 - echo "$as_me:2243: \$? = $ac_status" >&5 13127 + echo "$as_me:2 246: \$? = $ac_status" >&515589 + echo "$as_me:2068: \$? = $ac_status" >&5 13128 15590 (exit $ac_status); } >/dev/null; then 13129 15591 if test -s conftest.err; then 13130 15592 ac_cpp_err=$ac_c_preproc_warn_flag 13131 @@ -2263,17 +2 266,17 @@15593 @@ -2263,17 +2088,17 @@ 13132 15594 # OK, works on sane cases. Now check whether non-existent headers 13133 15595 # can be detected and how. 13134 15596 cat >conftest.$ac_ext <<_ACEOF 13135 15597 -#line 2266 "configure" 13136 +#line 2 269"configure"15598 +#line 2091 "configure" 13137 15599 #include "confdefs.h" 13138 15600 #include <ac_nonexistent.h> 13139 15601 _ACEOF 13140 15602 -if { (eval echo "$as_me:2270: \"$ac_cpp conftest.$ac_ext\"") >&5 13141 +if { (eval echo "$as_me:2 273: \"$ac_cpp conftest.$ac_ext\"") >&515603 +if { (eval echo "$as_me:2095: \"$ac_cpp conftest.$ac_ext\"") >&5 13142 15604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13143 15605 ac_status=$? … … 13146 15608 cat conftest.err >&5 13147 15609 - echo "$as_me:2276: \$? = $ac_status" >&5 13148 + echo "$as_me:2 279: \$? = $ac_status" >&515610 + echo "$as_me:2101: \$? = $ac_status" >&5 13149 15611 (exit $ac_status); } >/dev/null; then 13150 15612 if test -s conftest.err; then 13151 15613 ac_cpp_err=$ac_c_preproc_warn_flag 13152 @@ -2301,7 +2 304,7 @@15614 @@ -2301,7 +2126,7 @@ 13153 15615 if $ac_preproc_ok; then 13154 15616 : 13155 15617 else 13156 15618 - { { echo "$as_me:2304: error: C preprocessor \"$CPP\" fails sanity check" >&5 13157 + { { echo "$as_me:2 307: error: C preprocessor \"$CPP\" fails sanity check" >&515619 + { { echo "$as_me:2129: error: C preprocessor \"$CPP\" fails sanity check" >&5 13158 15620 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 13159 15621 { (exit 1); exit 1; }; } 13160 15622 fi 13161 @@ -2314,14 +2 317,14 @@15623 @@ -2314,14 +2139,14 @@ 13162 15624 ac_main_return=return 13163 15625 13164 15626 if test $ac_cv_c_compiler_gnu = yes; then 13165 15627 - echo "$as_me:2317: checking whether $CC needs -traditional" >&5 13166 + echo "$as_me:2 320: checking whether $CC needs -traditional" >&515628 + echo "$as_me:2142: checking whether $CC needs -traditional" >&5 13167 15629 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 13168 15630 if test "${ac_cv_prog_gcc_traditional+set}" = set; then … … 13172 15634 cat >conftest.$ac_ext <<_ACEOF 13173 15635 -#line 2324 "configure" 13174 +#line 2 327"configure"15636 +#line 2149 "configure" 13175 15637 #include "confdefs.h" 13176 15638 #include <sgtty.h> 13177 15639 int Autoconf = TIOCGETP; 13178 @@ -2336,7 +2 339,7 @@15640 @@ -2336,7 +2161,7 @@ 13179 15641 13180 15642 if test $ac_cv_prog_gcc_traditional = no; then 13181 15643 cat >conftest.$ac_ext <<_ACEOF 13182 15644 -#line 2339 "configure" 13183 +#line 2 342"configure"15645 +#line 2164 "configure" 13184 15646 #include "confdefs.h" 13185 15647 #include <termio.h> 13186 15648 int Autoconf = TCGETA; 13187 @@ -2349,14 +2 352,14 @@15649 @@ -2349,14 +2174,14 @@ 13188 15650 13189 15651 fi 13190 15652 fi 13191 15653 -echo "$as_me:2352: result: $ac_cv_prog_gcc_traditional" >&5 13192 +echo "$as_me:2 355: result: $ac_cv_prog_gcc_traditional" >&515654 +echo "$as_me:2177: result: $ac_cv_prog_gcc_traditional" >&5 13193 15655 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 13194 15656 if test $ac_cv_prog_gcc_traditional = yes; then … … 13198 15660 13199 15661 -echo "$as_me:2359: checking whether $CC understands -c and -o together" >&5 13200 +echo "$as_me:2 362: checking whether $CC understands -c and -o together" >&515662 +echo "$as_me:2184: checking whether $CC understands -c and -o together" >&5 13201 15663 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6 13202 15664 if test "${cf_cv_prog_CC_c_o+set}" = set; then 13203 15665 echo $ECHO_N "(cached) $ECHO_C" >&6 13204 @@ -2372,15 +2 375,15 @@15666 @@ -2372,15 +2197,15 @@ 13205 15667 # We do the test twice because some compilers refuse to overwrite an 13206 15668 # existing .o file with -o, though they will create one. 13207 15669 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 13208 15670 -if { (eval echo "$as_me:2375: \"$ac_try\"") >&5 13209 +if { (eval echo "$as_me:2 378: \"$ac_try\"") >&515671 +if { (eval echo "$as_me:2200: \"$ac_try\"") >&5 13210 15672 (eval $ac_try) 2>&5 13211 15673 ac_status=$? 13212 15674 - echo "$as_me:2378: \$? = $ac_status" >&5 13213 + echo "$as_me:2 381: \$? = $ac_status" >&515675 + echo "$as_me:2203: \$? = $ac_status" >&5 13214 15676 (exit $ac_status); } && 13215 15677 - test -f conftest2.$ac_objext && { (eval echo "$as_me:2380: \"$ac_try\"") >&5 13216 + test -f conftest2.$ac_objext && { (eval echo "$as_me:2 383: \"$ac_try\"") >&515678 + test -f conftest2.$ac_objext && { (eval echo "$as_me:2205: \"$ac_try\"") >&5 13217 15679 (eval $ac_try) 2>&5 13218 15680 ac_status=$? 13219 15681 - echo "$as_me:2383: \$? = $ac_status" >&5 13220 + echo "$as_me:2 386: \$? = $ac_status" >&515682 + echo "$as_me:2208: \$? = $ac_status" >&5 13221 15683 (exit $ac_status); }; 13222 15684 then 13223 15685 eval cf_cv_prog_CC_c_o=yes 13224 @@ -2391,19 +2 394,19 @@15686 @@ -2391,19 +2216,19 @@ 13225 15687 13226 15688 fi 13227 15689 if test $cf_cv_prog_CC_c_o = yes; then 13228 15690 - echo "$as_me:2394: result: yes" >&5 13229 + echo "$as_me:2 397: result: yes" >&515691 + echo "$as_me:2219: result: yes" >&5 13230 15692 echo "${ECHO_T}yes" >&6 13231 15693 else 13232 15694 - echo "$as_me:2397: result: no" >&5 13233 + echo "$as_me:2 400: result: no" >&515695 + echo "$as_me:2222: result: no" >&5 13234 15696 echo "${ECHO_T}no" >&6 13235 15697 fi 13236 15698 13237 15699 -echo "$as_me:2401: checking for POSIXized ISC" >&5 13238 +echo "$as_me:2 404: checking for POSIXized ISC" >&515700 +echo "$as_me:2226: checking for POSIXized ISC" >&5 13239 15701 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 13240 15702 if test -d /etc/conf/kconfig.d && … … 13242 15704 then 13243 15705 - echo "$as_me:2406: result: yes" >&5 13244 + echo "$as_me:2 409: result: yes" >&515706 + echo "$as_me:2231: result: yes" >&5 13245 15707 echo "${ECHO_T}yes" >&6 13246 15708 ISC=yes # If later tests want to check for ISC. 13247 15709 13248 @@ -2417,12 +2 420,115 @@15710 @@ -2417,12 +2242,115 @@ 13249 15711 CC="$CC -Xp" 13250 15712 fi 13251 15713 else 13252 15714 - echo "$as_me:2420: result: no" >&5 13253 + echo "$as_me:2 423: result: no" >&515715 + echo "$as_me:2245: result: no" >&5 13254 15716 echo "${ECHO_T}no" >&6 13255 15717 ISC= … … 13263 15725 +# into CC. This will not help with broken scripts that wrap the compiler with 13264 15726 +# options, but eliminates a more common category of user confusion. 13265 +echo "$as_me:2 434: checking \$CC variable" >&515727 +echo "$as_me:2256: checking \$CC variable" >&5 13266 15728 +echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 13267 15729 +case "$CC" in #(vi 13268 15730 +*[\ \ ]-[IUD]*) 13269 + echo "$as_me:2 438: result: broken" >&515731 + echo "$as_me:2260: result: broken" >&5 13270 15732 +echo "${ECHO_T}broken" >&6 13271 + { echo "$as_me:2 440: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&515733 + { echo "$as_me:2262: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 13272 15734 +echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} 13273 15735 + # humor him... … … 13355 15817 + ;; 13356 15818 +*) 13357 + echo "$as_me:2 526: result: ok" >&515819 + echo "$as_me:2348: result: ok" >&5 13358 15820 +echo "${ECHO_T}ok" >&6 13359 15821 + ;; 13360 15822 +esac 13361 15823 + 13362 +echo "$as_me:2 531: checking for ${CC:-cc} option to accept ANSI C" >&515824 +echo "$as_me:2353: checking for ${CC:-cc} option to accept ANSI C" >&5 13363 15825 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6 13364 15826 if test "${cf_cv_ansi_cc+set}" = set; then 13365 15827 echo $ECHO_N "(cached) $ECHO_C" >&6 13366 @@ -2526,7 +2 632,7 @@15828 @@ -2526,7 +2454,7 @@ 13367 15829 fi 13368 15830 13369 15831 cat >conftest.$ac_ext <<_ACEOF 13370 15832 -#line 2529 "configure" 13371 +#line 2 635"configure"15833 +#line 2457 "configure" 13372 15834 #include "confdefs.h" 13373 15835 13374 15836 #ifndef CC_HAS_PROTOS 13375 @@ -2547,16 +2 653,16 @@15837 @@ -2547,16 +2475,16 @@ 13376 15838 } 13377 15839 _ACEOF 13378 15840 rm -f conftest.$ac_objext 13379 15841 -if { (eval echo "$as_me:2550: \"$ac_compile\"") >&5 13380 +if { (eval echo "$as_me:2 656: \"$ac_compile\"") >&515842 +if { (eval echo "$as_me:2478: \"$ac_compile\"") >&5 13381 15843 (eval $ac_compile) 2>&5 13382 15844 ac_status=$? 13383 15845 - echo "$as_me:2553: \$? = $ac_status" >&5 13384 + echo "$as_me:2 659: \$? = $ac_status" >&515846 + echo "$as_me:2481: \$? = $ac_status" >&5 13385 15847 (exit $ac_status); } && 13386 15848 { ac_try='test -s conftest.$ac_objext' 13387 15849 - { (eval echo "$as_me:2556: \"$ac_try\"") >&5 13388 + { (eval echo "$as_me:2 662: \"$ac_try\"") >&515850 + { (eval echo "$as_me:2484: \"$ac_try\"") >&5 13389 15851 (eval $ac_try) 2>&5 13390 15852 ac_status=$? 13391 15853 - echo "$as_me:2559: \$? = $ac_status" >&5 13392 + echo "$as_me:2 665: \$? = $ac_status" >&515854 + echo "$as_me:2487: \$? = $ac_status" >&5 13393 15855 (exit $ac_status); }; }; then 13394 15856 cf_cv_ansi_cc="$cf_arg"; break 13395 15857 else 13396 @@ -2569,7 +2 675,7 @@15858 @@ -2569,7 +2497,7 @@ 13397 15859 CPPFLAGS="$cf_save_CPPFLAGS" 13398 15860 13399 15861 fi 13400 15862 -echo "$as_me:2572: result: $cf_cv_ansi_cc" >&5 13401 +echo "$as_me:2 678: result: $cf_cv_ansi_cc" >&515863 +echo "$as_me:2500: result: $cf_cv_ansi_cc" >&5 13402 15864 echo "${ECHO_T}$cf_cv_ansi_cc" >&6 13403 15865 13404 15866 if test "$cf_cv_ansi_cc" != "no"; then 13405 @@ -2662,7 +2 768,7 @@15867 @@ -2662,7 +2590,7 @@ 13406 15868 fi 13407 15869 13408 15870 if test "$cf_cv_ansi_cc" = "no"; then 13409 15871 - { { echo "$as_me:2665: error: Your compiler does not appear to recognize prototypes. 13410 + { { echo "$as_me:2 771: error: Your compiler does not appear to recognize prototypes.15872 + { { echo "$as_me:2593: error: Your compiler does not appear to recognize prototypes. 13411 15873 You have the following choices: 13412 15874 a. adjust your compiler options 13413 15875 b. get an up-to-date compiler 13414 @@ -2696,13 +2 802,13 @@15876 @@ -2696,13 +2624,13 @@ 13415 15877 LDCONFIG=: 13416 15878 else … … 13424 15886 set dummy ldconfig; ac_word=$2 13425 15887 -echo "$as_me:2705: checking for $ac_word" >&5 13426 +echo "$as_me:2 811: checking for $ac_word" >&515888 +echo "$as_me:2633: checking for $ac_word" >&5 13427 15889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13428 15890 if test "${ac_cv_path_LDCONFIG+set}" = set; then 13429 15891 echo $ECHO_N "(cached) $ECHO_C" >&6 13430 @@ -2719,7 +2 825,7 @@15892 @@ -2719,7 +2647,7 @@ 13431 15893 test -z "$ac_dir" && ac_dir=. 13432 15894 if $as_executable_p "$ac_dir/$ac_word"; then 13433 15895 ac_cv_path_LDCONFIG="$ac_dir/$ac_word" 13434 15896 - echo "$as_me:2722: found $ac_dir/$ac_word" >&5 13435 + echo "$as_me:2 828: found $ac_dir/$ac_word" >&515897 + echo "$as_me:2650: found $ac_dir/$ac_word" >&5 13436 15898 break 13437 15899 fi 13438 15900 done 13439 @@ -2730,10 +2 836,10 @@15901 @@ -2730,10 +2658,10 @@ 13440 15902 LDCONFIG=$ac_cv_path_LDCONFIG 13441 15903 13442 15904 if test -n "$LDCONFIG"; then 13443 15905 - echo "$as_me:2733: result: $LDCONFIG" >&5 13444 + echo "$as_me:2 839: result: $LDCONFIG" >&515906 + echo "$as_me:2661: result: $LDCONFIG" >&5 13445 15907 echo "${ECHO_T}$LDCONFIG" >&6 13446 15908 else 13447 15909 - echo "$as_me:2736: result: no" >&5 13448 + echo "$as_me:2 842: result: no" >&515910 + echo "$as_me:2664: result: no" >&5 13449 15911 echo "${ECHO_T}no" >&6 13450 15912 fi 13451 15913 13452 @@ -2741,7 +2 847,7 @@15914 @@ -2741,7 +2669,7 @@ 13453 15915 esac 13454 15916 fi 13455 15917 13456 15918 -echo "$as_me:2744: checking if you want to ensure bool is consistent with C++" >&5 13457 +echo "$as_me:2 850: checking if you want to ensure bool is consistent with C++" >&515919 +echo "$as_me:2672: checking if you want to ensure bool is consistent with C++" >&5 13458 15920 echo $ECHO_N "checking if you want to ensure bool is consistent with C++... $ECHO_C" >&6 13459 15921 13460 15922 # Check whether --with-cxx or --without-cxx was given. 13461 @@ -2751,7 +2 857,7 @@15923 @@ -2751,7 +2679,7 @@ 13462 15924 else 13463 15925 cf_with_cxx=yes 13464 15926 fi; 13465 15927 -echo "$as_me:2754: result: $cf_with_cxx" >&5 13466 +echo "$as_me:2 860: result: $cf_with_cxx" >&515928 +echo "$as_me:2682: result: $cf_with_cxx" >&5 13467 15929 echo "${ECHO_T}$cf_with_cxx" >&6 13468 15930 if test "X$cf_with_cxx" = Xno ; then 13469 15931 CXX="" 13470 @@ -2769,7 +2 875,7 @@15932 @@ -2769,7 +2697,7 @@ 13471 15933 do 13472 15934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13473 15935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13474 15936 -echo "$as_me:2772: checking for $ac_word" >&5 13475 +echo "$as_me:2 878: checking for $ac_word" >&515937 +echo "$as_me:2700: checking for $ac_word" >&5 13476 15938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13477 15939 if test "${ac_cv_prog_CXX+set}" = set; then 13478 15940 echo $ECHO_N "(cached) $ECHO_C" >&6 13479 @@ -2784,7 +2 890,7 @@15941 @@ -2784,7 +2712,7 @@ 13480 15942 test -z "$ac_dir" && ac_dir=. 13481 15943 $as_executable_p "$ac_dir/$ac_word" || continue 13482 15944 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 13483 15945 -echo "$as_me:2787: found $ac_dir/$ac_word" >&5 13484 +echo "$as_me:2 893: found $ac_dir/$ac_word" >&515946 +echo "$as_me:2715: found $ac_dir/$ac_word" >&5 13485 15947 break 13486 15948 done 13487 15949 13488 @@ -2792,10 +2 898,10 @@15950 @@ -2792,10 +2720,10 @@ 13489 15951 fi 13490 15952 CXX=$ac_cv_prog_CXX 13491 15953 if test -n "$CXX"; then 13492 15954 - echo "$as_me:2795: result: $CXX" >&5 13493 + echo "$as_me:2 901: result: $CXX" >&515955 + echo "$as_me:2723: result: $CXX" >&5 13494 15956 echo "${ECHO_T}$CXX" >&6 13495 15957 else 13496 15958 - echo "$as_me:2798: result: no" >&5 13497 + echo "$as_me:2 904: result: no" >&515959 + echo "$as_me:2726: result: no" >&5 13498 15960 echo "${ECHO_T}no" >&6 13499 15961 fi 13500 15962 13501 @@ -2808,7 +2 914,7 @@15963 @@ -2808,7 +2736,7 @@ 13502 15964 do 13503 15965 # Extract the first word of "$ac_prog", so it can be a program name with args. 13504 15966 set dummy $ac_prog; ac_word=$2 13505 15967 -echo "$as_me:2811: checking for $ac_word" >&5 13506 +echo "$as_me:2 917: checking for $ac_word" >&515968 +echo "$as_me:2739: checking for $ac_word" >&5 13507 15969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13508 15970 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 13509 15971 echo $ECHO_N "(cached) $ECHO_C" >&6 13510 @@ -2823,7 +2 929,7 @@15972 @@ -2823,7 +2751,7 @@ 13511 15973 test -z "$ac_dir" && ac_dir=. 13512 15974 $as_executable_p "$ac_dir/$ac_word" || continue 13513 15975 ac_cv_prog_ac_ct_CXX="$ac_prog" 13514 15976 -echo "$as_me:2826: found $ac_dir/$ac_word" >&5 13515 +echo "$as_me:2 932: found $ac_dir/$ac_word" >&515977 +echo "$as_me:2754: found $ac_dir/$ac_word" >&5 13516 15978 break 13517 15979 done 13518 15980 13519 @@ -2831,10 +2 937,10 @@15981 @@ -2831,10 +2759,10 @@ 13520 15982 fi 13521 15983 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 13522 15984 if test -n "$ac_ct_CXX"; then 13523 15985 - echo "$as_me:2834: result: $ac_ct_CXX" >&5 13524 + echo "$as_me:2 940: result: $ac_ct_CXX" >&515986 + echo "$as_me:2762: result: $ac_ct_CXX" >&5 13525 15987 echo "${ECHO_T}$ac_ct_CXX" >&6 13526 15988 else 13527 15989 - echo "$as_me:2837: result: no" >&5 13528 + echo "$as_me:2 943: result: no" >&515990 + echo "$as_me:2765: result: no" >&5 13529 15991 echo "${ECHO_T}no" >&6 13530 15992 fi 13531 15993 13532 @@ -2846,32 +2 952,32 @@15994 @@ -2846,32 +2774,32 @@ 13533 15995 fi 13534 15996 13535 15997 # Provide some information about the compiler. 13536 15998 -echo "$as_me:2849:" \ 13537 +echo "$as_me:2 955:" \15999 +echo "$as_me:2777:" \ 13538 16000 "checking for C++ compiler version" >&5 13539 16001 ac_compiler=`set X $ac_compile; echo $2` 13540 16002 -{ (eval echo "$as_me:2852: \"$ac_compiler --version </dev/null >&5\"") >&5 13541 +{ (eval echo "$as_me:2 958: \"$ac_compiler --version </dev/null >&5\"") >&516003 +{ (eval echo "$as_me:2780: \"$ac_compiler --version </dev/null >&5\"") >&5 13542 16004 (eval $ac_compiler --version </dev/null >&5) 2>&5 13543 16005 ac_status=$? 13544 16006 - echo "$as_me:2855: \$? = $ac_status" >&5 13545 + echo "$as_me:2 961: \$? = $ac_status" >&516007 + echo "$as_me:2783: \$? = $ac_status" >&5 13546 16008 (exit $ac_status); } 13547 16009 -{ (eval echo "$as_me:2857: \"$ac_compiler -v </dev/null >&5\"") >&5 13548 +{ (eval echo "$as_me:2 963: \"$ac_compiler -v </dev/null >&5\"") >&516010 +{ (eval echo "$as_me:2785: \"$ac_compiler -v </dev/null >&5\"") >&5 13549 16011 (eval $ac_compiler -v </dev/null >&5) 2>&5 13550 16012 ac_status=$? 13551 16013 - echo "$as_me:2860: \$? = $ac_status" >&5 13552 + echo "$as_me:2 966: \$? = $ac_status" >&516014 + echo "$as_me:2788: \$? = $ac_status" >&5 13553 16015 (exit $ac_status); } 13554 16016 -{ (eval echo "$as_me:2862: \"$ac_compiler -V </dev/null >&5\"") >&5 13555 +{ (eval echo "$as_me:2 968: \"$ac_compiler -V </dev/null >&5\"") >&516017 +{ (eval echo "$as_me:2790: \"$ac_compiler -V </dev/null >&5\"") >&5 13556 16018 (eval $ac_compiler -V </dev/null >&5) 2>&5 13557 16019 ac_status=$? 13558 16020 - echo "$as_me:2865: \$? = $ac_status" >&5 13559 + echo "$as_me:2 971: \$? = $ac_status" >&516021 + echo "$as_me:2793: \$? = $ac_status" >&5 13560 16022 (exit $ac_status); } 13561 16023 13562 16024 -echo "$as_me:2868: checking whether we are using the GNU C++ compiler" >&5 13563 +echo "$as_me:2 974: checking whether we are using the GNU C++ compiler" >&516025 +echo "$as_me:2796: checking whether we are using the GNU C++ compiler" >&5 13564 16026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 13565 16027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then … … 13568 16030 cat >conftest.$ac_ext <<_ACEOF 13569 16031 -#line 2874 "configure" 13570 +#line 2 980"configure"16032 +#line 2802 "configure" 13571 16033 #include "confdefs.h" 13572 16034 13573 16035 int 13574 @@ -2886,16 +2 992,16 @@16036 @@ -2886,16 +2814,16 @@ 13575 16037 } 13576 16038 _ACEOF 13577 16039 rm -f conftest.$ac_objext 13578 16040 -if { (eval echo "$as_me:2889: \"$ac_compile\"") >&5 13579 +if { (eval echo "$as_me:2 995: \"$ac_compile\"") >&516041 +if { (eval echo "$as_me:2817: \"$ac_compile\"") >&5 13580 16042 (eval $ac_compile) 2>&5 13581 16043 ac_status=$? 13582 16044 - echo "$as_me:2892: \$? = $ac_status" >&5 13583 + echo "$as_me:2 998: \$? = $ac_status" >&516045 + echo "$as_me:2820: \$? = $ac_status" >&5 13584 16046 (exit $ac_status); } && 13585 16047 { ac_try='test -s conftest.$ac_objext' 13586 16048 - { (eval echo "$as_me:2895: \"$ac_try\"") >&5 13587 + { (eval echo "$as_me: 3001: \"$ac_try\"") >&516049 + { (eval echo "$as_me:2823: \"$ac_try\"") >&5 13588 16050 (eval $ac_try) 2>&5 13589 16051 ac_status=$? 13590 16052 - echo "$as_me:2898: \$? = $ac_status" >&5 13591 + echo "$as_me: 3004: \$? = $ac_status" >&516053 + echo "$as_me:2826: \$? = $ac_status" >&5 13592 16054 (exit $ac_status); }; }; then 13593 16055 ac_compiler_gnu=yes 13594 16056 else 13595 @@ -2907,19 + 3013,19 @@16057 @@ -2907,19 +2835,19 @@ 13596 16058 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 13597 16059 13598 16060 fi 13599 16061 -echo "$as_me:2910: result: $ac_cv_cxx_compiler_gnu" >&5 13600 +echo "$as_me: 3016: result: $ac_cv_cxx_compiler_gnu" >&516062 +echo "$as_me:2838: result: $ac_cv_cxx_compiler_gnu" >&5 13601 16063 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 13602 16064 GXX=`test $ac_compiler_gnu = yes && echo yes` … … 13605 16067 CXXFLAGS="-g" 13606 16068 -echo "$as_me:2916: checking whether $CXX accepts -g" >&5 13607 +echo "$as_me: 3022: checking whether $CXX accepts -g" >&516069 +echo "$as_me:2844: checking whether $CXX accepts -g" >&5 13608 16070 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 13609 16071 if test "${ac_cv_prog_cxx_g+set}" = set; then … … 13612 16074 cat >conftest.$ac_ext <<_ACEOF 13613 16075 -#line 2922 "configure" 13614 +#line 3028"configure"16076 +#line 2850 "configure" 13615 16077 #include "confdefs.h" 13616 16078 13617 16079 int 13618 @@ -2931,16 + 3037,16 @@16080 @@ -2931,16 +2859,16 @@ 13619 16081 } 13620 16082 _ACEOF 13621 16083 rm -f conftest.$ac_objext 13622 16084 -if { (eval echo "$as_me:2934: \"$ac_compile\"") >&5 13623 +if { (eval echo "$as_me: 3040: \"$ac_compile\"") >&516085 +if { (eval echo "$as_me:2862: \"$ac_compile\"") >&5 13624 16086 (eval $ac_compile) 2>&5 13625 16087 ac_status=$? 13626 16088 - echo "$as_me:2937: \$? = $ac_status" >&5 13627 + echo "$as_me: 3043: \$? = $ac_status" >&516089 + echo "$as_me:2865: \$? = $ac_status" >&5 13628 16090 (exit $ac_status); } && 13629 16091 { ac_try='test -s conftest.$ac_objext' 13630 16092 - { (eval echo "$as_me:2940: \"$ac_try\"") >&5 13631 + { (eval echo "$as_me: 3046: \"$ac_try\"") >&516093 + { (eval echo "$as_me:2868: \"$ac_try\"") >&5 13632 16094 (eval $ac_try) 2>&5 13633 16095 ac_status=$? 13634 16096 - echo "$as_me:2943: \$? = $ac_status" >&5 13635 + echo "$as_me: 3049: \$? = $ac_status" >&516097 + echo "$as_me:2871: \$? = $ac_status" >&5 13636 16098 (exit $ac_status); }; }; then 13637 16099 ac_cv_prog_cxx_g=yes 13638 16100 else 13639 @@ -2950,7 + 3056,7 @@16101 @@ -2950,7 +2878,7 @@ 13640 16102 fi 13641 16103 rm -f conftest.$ac_objext conftest.$ac_ext 13642 16104 fi 13643 16105 -echo "$as_me:2953: result: $ac_cv_prog_cxx_g" >&5 13644 +echo "$as_me: 3059: result: $ac_cv_prog_cxx_g" >&516106 +echo "$as_me:2881: result: $ac_cv_prog_cxx_g" >&5 13645 16107 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 13646 16108 if test "$ac_test_CXXFLAGS" = set; then 13647 16109 CXXFLAGS=$ac_save_CXXFLAGS 13648 @@ -2977,7 + 3083,7 @@16110 @@ -2977,7 +2905,7 @@ 13649 16111 'void exit (int);' 13650 16112 do 13651 16113 cat >conftest.$ac_ext <<_ACEOF 13652 16114 -#line 2980 "configure" 13653 +#line 3086"configure"16115 +#line 2908 "configure" 13654 16116 #include "confdefs.h" 13655 16117 #include <stdlib.h> 13656 16118 $ac_declaration 13657 @@ -2990,16 + 3096,16 @@16119 @@ -2990,16 +2918,16 @@ 13658 16120 } 13659 16121 _ACEOF 13660 16122 rm -f conftest.$ac_objext 13661 16123 -if { (eval echo "$as_me:2993: \"$ac_compile\"") >&5 13662 +if { (eval echo "$as_me: 3099: \"$ac_compile\"") >&516124 +if { (eval echo "$as_me:2921: \"$ac_compile\"") >&5 13663 16125 (eval $ac_compile) 2>&5 13664 16126 ac_status=$? 13665 16127 - echo "$as_me:2996: \$? = $ac_status" >&5 13666 + echo "$as_me: 3102: \$? = $ac_status" >&516128 + echo "$as_me:2924: \$? = $ac_status" >&5 13667 16129 (exit $ac_status); } && 13668 16130 { ac_try='test -s conftest.$ac_objext' 13669 16131 - { (eval echo "$as_me:2999: \"$ac_try\"") >&5 13670 + { (eval echo "$as_me: 3105: \"$ac_try\"") >&516132 + { (eval echo "$as_me:2927: \"$ac_try\"") >&5 13671 16133 (eval $ac_try) 2>&5 13672 16134 ac_status=$? 13673 16135 - echo "$as_me:3002: \$? = $ac_status" >&5 13674 + echo "$as_me: 3108: \$? = $ac_status" >&516136 + echo "$as_me:2930: \$? = $ac_status" >&5 13675 16137 (exit $ac_status); }; }; then 13676 16138 : 13677 16139 else 13678 @@ -3009,7 + 3115,7 @@16140 @@ -3009,7 +2937,7 @@ 13679 16141 fi 13680 16142 rm -f conftest.$ac_objext conftest.$ac_ext 13681 16143 cat >conftest.$ac_ext <<_ACEOF 13682 16144 -#line 3012 "configure" 13683 +#line 3118"configure"16145 +#line 2940 "configure" 13684 16146 #include "confdefs.h" 13685 16147 $ac_declaration 13686 16148 int 13687 @@ -3021,16 + 3127,16 @@16149 @@ -3021,16 +2949,16 @@ 13688 16150 } 13689 16151 _ACEOF 13690 16152 rm -f conftest.$ac_objext 13691 16153 -if { (eval echo "$as_me:3024: \"$ac_compile\"") >&5 13692 +if { (eval echo "$as_me: 3130: \"$ac_compile\"") >&516154 +if { (eval echo "$as_me:2952: \"$ac_compile\"") >&5 13693 16155 (eval $ac_compile) 2>&5 13694 16156 ac_status=$? 13695 16157 - echo "$as_me:3027: \$? = $ac_status" >&5 13696 + echo "$as_me: 3133: \$? = $ac_status" >&516158 + echo "$as_me:2955: \$? = $ac_status" >&5 13697 16159 (exit $ac_status); } && 13698 16160 { ac_try='test -s conftest.$ac_objext' 13699 16161 - { (eval echo "$as_me:3030: \"$ac_try\"") >&5 13700 + { (eval echo "$as_me: 3136: \"$ac_try\"") >&516162 + { (eval echo "$as_me:2958: \"$ac_try\"") >&5 13701 16163 (eval $ac_try) 2>&5 13702 16164 ac_status=$? 13703 16165 - echo "$as_me:3033: \$? = $ac_status" >&5 13704 + echo "$as_me: 3139: \$? = $ac_status" >&516166 + echo "$as_me:2961: \$? = $ac_status" >&5 13705 16167 (exit $ac_status); }; }; then 13706 16168 break 13707 16169 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) 13709 16176 if test "$CXX" = "g++" ; then 13710 16177 # Extract the first word of "g++", so it can be a program name with args. 13711 16178 set dummy g++; ac_word=$2 13712 16179 -echo "$as_me:3060: checking for $ac_word" >&5 13713 +echo "$as_me: 3166: checking for $ac_word" >&516180 +echo "$as_me:2988: checking for $ac_word" >&5 13714 16181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13715 16182 if test "${ac_cv_path_CXX+set}" = set; then 13716 16183 echo $ECHO_N "(cached) $ECHO_C" >&6 13717 @@ -3074,7 +3 180,7 @@16184 @@ -3074,7 +3002,7 @@ 13718 16185 test -z "$ac_dir" && ac_dir=. 13719 16186 if $as_executable_p "$ac_dir/$ac_word"; then 13720 16187 ac_cv_path_CXX="$ac_dir/$ac_word" 13721 16188 - echo "$as_me:3077: found $ac_dir/$ac_word" >&5 13722 + echo "$as_me:3 183: found $ac_dir/$ac_word" >&516189 + echo "$as_me:3005: found $ac_dir/$ac_word" >&5 13723 16190 break 13724 16191 fi 13725 16192 done 13726 @@ -3085, 16 +3191,16@@16193 @@ -3085,28 +3013,30 @@ 13727 16194 CXX=$ac_cv_path_CXX 13728 16195 13729 16196 if test -n "$CXX"; then 13730 16197 - echo "$as_me:3088: result: $CXX" >&5 13731 + echo "$as_me:3 194: result: $CXX" >&516198 + echo "$as_me:3016: result: $CXX" >&5 13732 16199 echo "${ECHO_T}$CXX" >&6 13733 16200 else 13734 16201 - echo "$as_me:3091: result: no" >&5 13735 + echo "$as_me:3 197: result: no" >&516202 + echo "$as_me:3019: result: no" >&5 13736 16203 echo "${ECHO_T}no" >&6 13737 16204 fi 13738 16205 13739 16206 fi 13740 16207 - if test "$CXX" = "g++" ; then 13741 16208 - { 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;} 13744 16214 cf_with_cxx=no; CXX=""; GXX=""; 13745 fi 13746 @@ -3102,11 +3208,11 @@ 16215 - fi 16216 + ;; 16217 + esac 16218 fi 13747 16219 13748 16220 GXX_VERSION=none 13749 16221 if test "$GXX" = yes; then 13750 16222 - 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 13753 16226 GXX_VERSION="`${CXX:-g++} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" 13754 16227 test -z "$GXX_VERSION" && GXX_VERSION=unknown 13755 16228 - echo "$as_me:3109: result: $GXX_VERSION" >&5 13756 + echo "$as_me:3 215: result: $GXX_VERSION" >&516229 + echo "$as_me:3039: result: $GXX_VERSION" >&5 13757 16230 echo "${ECHO_T}$GXX_VERSION" >&6 13758 16231 fi 13759 16232 13760 @@ -3114,12 +3 220,12 @@16233 @@ -3114,12 +3044,12 @@ 13761 16234 1*|2.[0-6]*) 13762 16235 # GXX=""; CXX=""; ac_cv_prog_gxx=no 13763 16236 # cf_cxx_library=no 13764 16237 - { echo "$as_me:3117: WARNING: templates do not work" >&5 13765 + { echo "$as_me:3 223: WARNING: templates do not work" >&516238 + { echo "$as_me:3047: WARNING: templates do not work" >&5 13766 16239 echo "$as_me: WARNING: templates do not work" >&2;} 13767 16240 ;; … … 13769 16242 13770 16243 -echo "$as_me:3122: checking if you want to build C++ binding and demo" >&5 13771 +echo "$as_me:3 228: checking if you want to build C++ binding and demo" >&516244 +echo "$as_me:3052: checking if you want to build C++ binding and demo" >&5 13772 16245 echo $ECHO_N "checking if you want to build C++ binding and demo... $ECHO_C" >&6 13773 16246 13774 16247 # Check whether --with-cxx-binding or --without-cxx-binding was given. 13775 @@ -3129, 10 +3235,10@@16248 @@ -3129,23 +3059,15 @@ 13776 16249 else 13777 16250 cf_with_cxx_binding=$cf_with_cxx 13778 16251 fi; 13779 16252 -echo "$as_me:3132: result: $cf_with_cxx_binding" >&5 13780 +echo "$as_me:3 238: result: $cf_with_cxx_binding" >&516253 +echo "$as_me:3062: result: $cf_with_cxx_binding" >&5 13781 16254 echo "${ECHO_T}$cf_with_cxx_binding" >&6 13782 16255 13783 16256 -echo "$as_me:3135: checking if you want to build with Ada95" >&5 13784 +echo "$as_me:3 241: checking if you want to build with Ada95" >&516257 +echo "$as_me:3065: checking if you want to build with Ada95" >&5 13785 16258 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; 13792 16267 -echo "$as_me:3145: result: $cf_with_ada" >&5 13793 +echo "$as_me:3 251: result: $cf_with_ada" >&516268 +echo "$as_me:3067: result: $cf_with_ada" >&5 13794 16269 echo "${ECHO_T}$cf_with_ada" >&6 13795 16270 13796 16271 -echo "$as_me:3148: checking if you want to install manpages" >&5 13797 +echo "$as_me:3 254: checking if you want to install manpages" >&516272 +echo "$as_me:3070: checking if you want to install manpages" >&5 13798 16273 echo $ECHO_N "checking if you want to install manpages... $ECHO_C" >&6 13799 16274 13800 16275 # Check whether --with-manpages or --without-manpages was given. 13801 @@ -3155,10 +3 261,10 @@16276 @@ -3155,10 +3077,10 @@ 13802 16277 else 13803 16278 cf_with_manpages=yes 13804 16279 fi; 13805 16280 -echo "$as_me:3158: result: $cf_with_manpages" >&5 13806 +echo "$as_me:3 264: result: $cf_with_manpages" >&516281 +echo "$as_me:3080: result: $cf_with_manpages" >&5 13807 16282 echo "${ECHO_T}$cf_with_manpages" >&6 13808 16283 13809 16284 -echo "$as_me:3161: checking if you want to build programs such as tic" >&5 13810 +echo "$as_me:3 267: checking if you want to build programs such as tic" >&516285 +echo "$as_me:3083: checking if you want to build programs such as tic" >&5 13811 16286 echo $ECHO_N "checking if you want to build programs such as tic... $ECHO_C" >&6 13812 16287 13813 16288 # Check whether --with-progs or --without-progs was given. 13814 @@ -3168,10 +3 274,10 @@16289 @@ -3168,10 +3090,10 @@ 13815 16290 else 13816 16291 cf_with_progs=yes 13817 16292 fi; 13818 16293 -echo "$as_me:3171: result: $cf_with_progs" >&5 13819 +echo "$as_me:3 277: result: $cf_with_progs" >&516294 +echo "$as_me:3093: result: $cf_with_progs" >&5 13820 16295 echo "${ECHO_T}$cf_with_progs" >&6 13821 16296 13822 16297 -echo "$as_me:3174: checking if you want to build test-programs" >&5 13823 +echo "$as_me:3 280: checking if you want to build test-programs" >&516298 +echo "$as_me:3096: checking if you want to build test-programs" >&5 13824 16299 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6 13825 16300 13826 16301 # Check whether --with-tests or --without-tests was given. 13827 @@ -3181,10 +3 287,10 @@16302 @@ -3181,10 +3103,10 @@ 13828 16303 else 13829 16304 cf_with_tests=yes 13830 16305 fi; 13831 16306 -echo "$as_me:3184: result: $cf_with_tests" >&5 13832 +echo "$as_me:3 290: result: $cf_with_tests" >&516307 +echo "$as_me:3106: result: $cf_with_tests" >&5 13833 16308 echo "${ECHO_T}$cf_with_tests" >&6 13834 16309 13835 16310 -echo "$as_me:3187: checking if you wish to install curses.h" >&5 13836 +echo "$as_me:3 293: checking if you wish to install curses.h" >&516311 +echo "$as_me:3109: checking if you wish to install curses.h" >&5 13837 16312 echo $ECHO_N "checking if you wish to install curses.h... $ECHO_C" >&6 13838 16313 13839 16314 # Check whether --with-curses-h or --without-curses-h was given. 13840 @@ -3194,7 +3 300,7 @@16315 @@ -3194,7 +3116,7 @@ 13841 16316 else 13842 16317 with_curses_h=yes 13843 16318 fi; 13844 16319 -echo "$as_me:3197: result: $with_curses_h" >&5 13845 +echo "$as_me:3 303: result: $with_curses_h" >&516320 +echo "$as_me:3119: result: $with_curses_h" >&5 13846 16321 echo "${ECHO_T}$with_curses_h" >&6 13847 16322 13848 16323 modules_to_build="ncurses" 13849 @@ -3220,7 +3 326,7 @@16324 @@ -3220,7 +3142,7 @@ 13850 16325 do 13851 16326 # Extract the first word of "$ac_prog", so it can be a program name with args. 13852 16327 set dummy $ac_prog; ac_word=$2 13853 16328 -echo "$as_me:3223: checking for $ac_word" >&5 13854 +echo "$as_me:3 329: checking for $ac_word" >&516329 +echo "$as_me:3145: checking for $ac_word" >&5 13855 16330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13856 16331 if test "${ac_cv_prog_AWK+set}" = set; then 13857 16332 echo $ECHO_N "(cached) $ECHO_C" >&6 13858 @@ -3235,7 +3 341,7 @@16333 @@ -3235,7 +3157,7 @@ 13859 16334 test -z "$ac_dir" && ac_dir=. 13860 16335 $as_executable_p "$ac_dir/$ac_word" || continue 13861 16336 ac_cv_prog_AWK="$ac_prog" 13862 16337 -echo "$as_me:3238: found $ac_dir/$ac_word" >&5 13863 +echo "$as_me:3 344: found $ac_dir/$ac_word" >&516338 +echo "$as_me:3160: found $ac_dir/$ac_word" >&5 13864 16339 break 13865 16340 done 13866 16341 13867 @@ -3243,21 +3 349,21 @@16342 @@ -3243,21 +3165,21 @@ 13868 16343 fi 13869 16344 AWK=$ac_cv_prog_AWK 13870 16345 if test -n "$AWK"; then 13871 16346 - echo "$as_me:3246: result: $AWK" >&5 13872 + echo "$as_me:3 352: result: $AWK" >&516347 + echo "$as_me:3168: result: $AWK" >&5 13873 16348 echo "${ECHO_T}$AWK" >&6 13874 16349 else 13875 16350 - echo "$as_me:3249: result: no" >&5 13876 + echo "$as_me:3 355: result: no" >&516351 + echo "$as_me:3171: result: no" >&5 13877 16352 echo "${ECHO_T}no" >&6 13878 16353 fi … … 13882 16357 13883 16358 -test -z "$AWK" && { { echo "$as_me:3256: error: No awk program found" >&5 13884 +test -z "$AWK" && { { echo "$as_me:3 362: error: No awk program found" >&516359 +test -z "$AWK" && { { echo "$as_me:3178: error: No awk program found" >&5 13885 16360 echo "$as_me: error: No awk program found" >&2;} 13886 16361 { (exit 1); exit 1; }; } 13887 16362 13888 16363 -echo "$as_me:3260: checking for egrep" >&5 13889 +echo "$as_me:3 366: checking for egrep" >&516364 +echo "$as_me:3182: checking for egrep" >&5 13890 16365 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 13891 16366 if test "${ac_cv_prog_egrep+set}" = set; then 13892 16367 echo $ECHO_N "(cached) $ECHO_C" >&6 13893 @@ -3267,11 +3 373,11 @@16368 @@ -3267,11 +3189,11 @@ 13894 16369 else ac_cv_prog_egrep='egrep' 13895 16370 fi 13896 16371 fi 13897 16372 -echo "$as_me:3270: result: $ac_cv_prog_egrep" >&5 13898 +echo "$as_me:3 376: result: $ac_cv_prog_egrep" >&516373 +echo "$as_me:3192: result: $ac_cv_prog_egrep" >&5 13899 16374 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 13900 16375 EGREP=$ac_cv_prog_egrep 13901 16376 13902 16377 -test -z "$EGREP" && { { echo "$as_me:3274: error: No egrep program found" >&5 13903 +test -z "$EGREP" && { { echo "$as_me:3 380: error: No egrep program found" >&516378 +test -z "$EGREP" && { { echo "$as_me:3196: error: No egrep program found" >&5 13904 16379 echo "$as_me: error: No egrep program found" >&2;} 13905 16380 { (exit 1); exit 1; }; } 13906 16381 13907 @@ -3287,7 +3 393,7 @@16382 @@ -3287,7 +3209,7 @@ 13908 16383 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 13909 16384 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 13910 16385 # ./install, which can be erroneously created by make from ./install.sh. 13911 16386 -echo "$as_me:3290: checking for a BSD compatible install" >&5 13912 +echo "$as_me:3 396: checking for a BSD compatible install" >&516387 +echo "$as_me:3212: checking for a BSD compatible install" >&5 13913 16388 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 13914 16389 if test -z "$INSTALL"; then 13915 16390 if test "${ac_cv_path_install+set}" = set; then 13916 @@ -3336,7 +3 442,7 @@16391 @@ -3336,7 +3258,7 @@ 13917 16392 INSTALL=$ac_install_sh 13918 16393 fi 13919 16394 fi 13920 16395 -echo "$as_me:3339: result: $INSTALL" >&5 13921 +echo "$as_me:3 445: result: $INSTALL" >&516396 +echo "$as_me:3261: result: $INSTALL" >&5 13922 16397 echo "${ECHO_T}$INSTALL" >&6 13923 16398 13924 16399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 13925 @@ -3361,7 +3 467,7 @@16400 @@ -3361,7 +3283,7 @@ 13926 16401 do 13927 16402 # Extract the first word of "$ac_prog", so it can be a program name with args. 13928 16403 set dummy $ac_prog; ac_word=$2 13929 16404 -echo "$as_me:3364: checking for $ac_word" >&5 13930 +echo "$as_me:3 470: checking for $ac_word" >&516405 +echo "$as_me:3286: checking for $ac_word" >&5 13931 16406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13932 16407 if test "${ac_cv_prog_LINT+set}" = set; then 13933 16408 echo $ECHO_N "(cached) $ECHO_C" >&6 13934 @@ -3376,7 +3 482,7 @@16409 @@ -3376,7 +3298,7 @@ 13935 16410 test -z "$ac_dir" && ac_dir=. 13936 16411 $as_executable_p "$ac_dir/$ac_word" || continue 13937 16412 ac_cv_prog_LINT="$ac_prog" 13938 16413 -echo "$as_me:3379: found $ac_dir/$ac_word" >&5 13939 +echo "$as_me:3 485: found $ac_dir/$ac_word" >&516414 +echo "$as_me:3301: found $ac_dir/$ac_word" >&5 13940 16415 break 13941 16416 done 13942 16417 13943 @@ -3384,28 +3 490,28 @@16418 @@ -3384,28 +3306,28 @@ 13944 16419 fi 13945 16420 LINT=$ac_cv_prog_LINT 13946 16421 if test -n "$LINT"; then 13947 16422 - echo "$as_me:3387: result: $LINT" >&5 13948 + echo "$as_me:3 493: result: $LINT" >&516423 + echo "$as_me:3309: result: $LINT" >&5 13949 16424 echo "${ECHO_T}$LINT" >&6 13950 16425 else 13951 16426 - echo "$as_me:3390: result: no" >&5 13952 + echo "$as_me:3 496: result: no" >&516427 + echo "$as_me:3312: result: no" >&5 13953 16428 echo "${ECHO_T}no" >&6 13954 16429 fi … … 13958 16433 13959 16434 -echo "$as_me:3397: checking whether ln -s works" >&5 13960 +echo "$as_me:3 503: checking whether ln -s works" >&516435 +echo "$as_me:3319: checking whether ln -s works" >&5 13961 16436 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 13962 16437 LN_S=$as_ln_s 13963 16438 if test "$LN_S" = "ln -s"; then 13964 16439 - echo "$as_me:3401: result: yes" >&5 13965 + echo "$as_me:3 507: result: yes" >&516440 + echo "$as_me:3323: result: yes" >&5 13966 16441 echo "${ECHO_T}yes" >&6 13967 16442 else 13968 16443 - echo "$as_me:3404: result: no, using $LN_S" >&5 13969 + echo "$as_me:3 510: result: no, using $LN_S" >&516444 + echo "$as_me:3326: result: no, using $LN_S" >&5 13970 16445 echo "${ECHO_T}no, using $LN_S" >&6 13971 16446 fi 13972 16447 13973 16448 -echo "$as_me:3408: checking if $LN_S -f options work" >&5 13974 +echo "$as_me:3 514: checking if $LN_S -f options work" >&516449 +echo "$as_me:3330: checking if $LN_S -f options work" >&5 13975 16450 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6 13976 16451 13977 16452 rm -f conf$$.src conf$$dst 13978 @@ -3417,12 +3 523,12 @@16453 @@ -3417,12 +3339,12 @@ 13979 16454 cf_prog_ln_sf=no 13980 16455 fi 13981 16456 rm -f conf$$.dst conf$$src 13982 16457 -echo "$as_me:3420: result: $cf_prog_ln_sf" >&5 13983 +echo "$as_me:3 526: result: $cf_prog_ln_sf" >&516458 +echo "$as_me:3342: result: $cf_prog_ln_sf" >&5 13984 16459 echo "${ECHO_T}$cf_prog_ln_sf" >&6 13985 16460 … … 13987 16462 13988 16463 -echo "$as_me:3425: checking for long file names" >&5 13989 +echo "$as_me:3 531: checking for long file names" >&516464 +echo "$as_me:3347: checking for long file names" >&5 13990 16465 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 13991 16466 if test "${ac_cv_sys_long_file_names+set}" = set; then 13992 16467 echo $ECHO_N "(cached) $ECHO_C" >&6 13993 @@ -3461,7 +3 567,7 @@16468 @@ -3461,7 +3383,7 @@ 13994 16469 rm -rf $ac_xdir 2>/dev/null 13995 16470 done 13996 16471 fi 13997 16472 -echo "$as_me:3464: result: $ac_cv_sys_long_file_names" >&5 13998 +echo "$as_me:3 570: result: $ac_cv_sys_long_file_names" >&516473 +echo "$as_me:3386: result: $ac_cv_sys_long_file_names" >&5 13999 16474 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 14000 16475 if test $ac_cv_sys_long_file_names = yes; then 14001 16476 14002 @@ -3473,7 +3 579,7 @@16477 @@ -3473,7 +3395,7 @@ 14003 16478 14004 16479 # if we find pkg-config, check if we should install the ".pc" files. 14005 16480 14006 16481 -echo "$as_me:3476: checking if you want to use pkg-config" >&5 14007 +echo "$as_me:3 582: checking if you want to use pkg-config" >&516482 +echo "$as_me:3398: checking if you want to use pkg-config" >&5 14008 16483 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6 14009 16484 14010 16485 # Check whether --with-pkg-config or --without-pkg-config was given. 14011 @@ -3483,7 +3 589,7 @@16486 @@ -3483,7 +3405,7 @@ 14012 16487 else 14013 16488 cf_pkg_config=yes 14014 16489 fi; 14015 16490 -echo "$as_me:3486: result: $cf_pkg_config" >&5 14016 +echo "$as_me:3 592: result: $cf_pkg_config" >&516491 +echo "$as_me:3408: result: $cf_pkg_config" >&5 14017 16492 echo "${ECHO_T}$cf_pkg_config" >&6 14018 16493 14019 16494 case $cf_pkg_config in #(vi 14020 @@ -3491,10 +3 597,11 @@16495 @@ -3491,10 +3413,11 @@ 14021 16496 PKG_CONFIG=none 14022 16497 ;; … … 14028 16503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14029 16504 -echo "$as_me:3497: checking for $ac_word" >&5 14030 +echo "$as_me:3 604: checking for $ac_word" >&516505 +echo "$as_me:3420: checking for $ac_word" >&5 14031 16506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14032 16507 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 14033 16508 echo $ECHO_N "(cached) $ECHO_C" >&6 14034 @@ -3511,7 +3 618,7 @@16509 @@ -3511,7 +3434,7 @@ 14035 16510 test -z "$ac_dir" && ac_dir=. 14036 16511 if $as_executable_p "$ac_dir/$ac_word"; then 14037 16512 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" 14038 16513 - echo "$as_me:3514: found $ac_dir/$ac_word" >&5 14039 + echo "$as_me:3 621: found $ac_dir/$ac_word" >&516514 + echo "$as_me:3437: found $ac_dir/$ac_word" >&5 14040 16515 break 14041 16516 fi 14042 16517 done 14043 @@ -3522,10 +3 629,10 @@16518 @@ -3522,10 +3445,10 @@ 14044 16519 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14045 16520 14046 16521 if test -n "$PKG_CONFIG"; then 14047 16522 - echo "$as_me:3525: result: $PKG_CONFIG" >&5 14048 + echo "$as_me:3 632: result: $PKG_CONFIG" >&516523 + echo "$as_me:3448: result: $PKG_CONFIG" >&5 14049 16524 echo "${ECHO_T}$PKG_CONFIG" >&6 14050 16525 else 14051 16526 - echo "$as_me:3528: result: no" >&5 14052 + echo "$as_me:3 635: result: no" >&516527 + echo "$as_me:3451: result: no" >&5 14053 16528 echo "${ECHO_T}no" >&6 14054 16529 fi 14055 16530 14056 @@ -3534,7 +3 641,7 @@16531 @@ -3534,7 +3457,7 @@ 14057 16532 ac_pt_PKG_CONFIG=$PKG_CONFIG 14058 16533 # Extract the first word of "pkg-config", so it can be a program name with args. 14059 16534 set dummy pkg-config; ac_word=$2 14060 16535 -echo "$as_me:3537: checking for $ac_word" >&5 14061 +echo "$as_me:3 644: checking for $ac_word" >&516536 +echo "$as_me:3460: checking for $ac_word" >&5 14062 16537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14063 16538 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 14064 16539 echo $ECHO_N "(cached) $ECHO_C" >&6 14065 @@ -3551,7 +3 658,7 @@16540 @@ -3551,7 +3474,7 @@ 14066 16541 test -z "$ac_dir" && ac_dir=. 14067 16542 if $as_executable_p "$ac_dir/$ac_word"; then 14068 16543 ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word" 14069 16544 - echo "$as_me:3554: found $ac_dir/$ac_word" >&5 14070 + echo "$as_me:3 661: found $ac_dir/$ac_word" >&516545 + echo "$as_me:3477: found $ac_dir/$ac_word" >&5 14071 16546 break 14072 16547 fi 14073 16548 done 14074 @@ -3563,10 +3 670,10 @@16549 @@ -3563,10 +3486,10 @@ 14075 16550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14076 16551 14077 16552 if test -n "$ac_pt_PKG_CONFIG"; then 14078 16553 - echo "$as_me:3566: result: $ac_pt_PKG_CONFIG" >&5 14079 + echo "$as_me:3 673: result: $ac_pt_PKG_CONFIG" >&516554 + echo "$as_me:3489: result: $ac_pt_PKG_CONFIG" >&5 14080 16555 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 14081 16556 else 14082 16557 - echo "$as_me:3569: result: no" >&5 14083 + echo "$as_me:3 676: result: no" >&516558 + echo "$as_me:3492: result: no" >&5 14084 16559 echo "${ECHO_T}no" >&6 14085 16560 fi 14086 16561 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 @@ 14088 16572 PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%` 14089 16573 ;; 14090 16574 *) 14091 16575 - { { echo "$as_me:3612: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 14092 + { { echo "$as_me:3 719: error: expected a pathname, not \"$PKG_CONFIG\"" >&516576 + { { echo "$as_me:3535: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 14093 16577 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;} 14094 16578 { (exit 1); exit 1; }; } 14095 16579 ;; 14096 @@ -3617,16 +3 724,52@@16580 @@ -3617,16 +3540,51 @@ 14097 16581 14098 16582 fi … … 14102 16586 -echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6 14103 16587 +if test "$PKG_CONFIG" != none ; then 14104 + echo "$as_me:3 728: checking for $PKG_CONFIG library directory" >&516588 + echo "$as_me:3544: checking for $PKG_CONFIG library directory" >&5 14105 16589 +echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6 14106 16590 … … 14110 16594 - fi 14111 16595 - 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 14112 16597 +# Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given. 14113 16598 +if test "${with_pkg_config_libdir+set}" = set; then … … 14144 16629 + esac 14145 16630 + 14146 + echo "$as_me:3 765: result: $PKG_CONFIG_LIBDIR" >&516631 + echo "$as_me:3581: result: $PKG_CONFIG_LIBDIR" >&5 14147 16632 +echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6 14148 16633 +fi 14149 16634 + 14150 16635 +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 14153 16637 +echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6 14154 16638 14155 16639 # Check whether --enable-pc-files or --disable-pc-files was given. 14156 16640 if test "${enable_pc_files+set}" = set; then 14157 @@ -3635,18 +3 778,18 @@16641 @@ -3635,18 +3593,48 @@ 14158 16642 else 14159 16643 enable_pc_files=no 14160 16644 fi; 14161 16645 - echo "$as_me:3638: result: $enable_pc_files" >&5 14162 + echo "$as_me:3781: result: $enable_pc_files" >&516646 + echo "$as_me:3596: result: $enable_pc_files" >&5 14163 16647 echo "${ECHO_T}$enable_pc_files" >&6 14164 16648 - else … … 14167 16651 - { echo "$as_me:3643: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5 14168 16652 -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 + 14173 16688 fi 14174 16689 +else … … 14177 16692 14178 16693 -echo "$as_me:3649: checking if we should assume mixed-case filenames" >&5 14179 +echo "$as_me:3 792: checking if we should assume mixed-case filenames" >&516694 +echo "$as_me:3637: checking if we should assume mixed-case filenames" >&5 14180 16695 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6 14181 16696 14182 16697 # Check whether --enable-mixed-case or --disable-mixed-case was given. 14183 @@ -3656,11 +3 799,11 @@16698 @@ -3656,11 +3644,11 @@ 14184 16699 else 14185 16700 enable_mixedcase=auto 14186 16701 fi; 14187 16702 -echo "$as_me:3659: result: $enable_mixedcase" >&5 14188 +echo "$as_me:3 802: result: $enable_mixedcase" >&516703 +echo "$as_me:3647: result: $enable_mixedcase" >&5 14189 16704 echo "${ECHO_T}$enable_mixedcase" >&6 14190 16705 if test "$enable_mixedcase" = "auto" ; then 14191 16706 14192 16707 -echo "$as_me:3663: checking if filesystem supports mixed-case filenames" >&5 14193 +echo "$as_me:3 806: checking if filesystem supports mixed-case filenames" >&516708 +echo "$as_me:3651: checking if filesystem supports mixed-case filenames" >&5 14194 16709 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6 14195 16710 if test "${cf_cv_mixedcase+set}" = set; then 14196 16711 echo $ECHO_N "(cached) $ECHO_C" >&6 14197 @@ -3687,7 +3 830,7 @@16712 @@ -3687,7 +3675,7 @@ 14198 16713 fi 14199 16714 14200 16715 fi 14201 16716 -echo "$as_me:3690: result: $cf_cv_mixedcase" >&5 14202 +echo "$as_me:3 833: result: $cf_cv_mixedcase" >&516717 +echo "$as_me:3678: result: $cf_cv_mixedcase" >&5 14203 16718 echo "${ECHO_T}$cf_cv_mixedcase" >&6 14204 16719 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF 14205 16720 #define MIXEDCASE_FILENAMES 1 14206 @@ -3704,7 +3 847,7 @@16721 @@ -3704,7 +3692,7 @@ 14207 16722 fi 14208 16723 14209 16724 # do this after mixed-case option (tags/TAGS is not as important as tic). 14210 16725 -echo "$as_me:3707: checking whether ${MAKE-make} sets \${MAKE}" >&5 14211 +echo "$as_me:3 850: checking whether ${MAKE-make} sets \${MAKE}" >&516726 +echo "$as_me:3695: checking whether ${MAKE-make} sets \${MAKE}" >&5 14212 16727 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 14213 16728 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 14214 16729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 14215 @@ -3724,11 +3 867,11 @@16730 @@ -3724,11 +3712,11 @@ 14216 16731 rm -f conftest.make 14217 16732 fi 14218 16733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 14219 16734 - echo "$as_me:3727: result: yes" >&5 14220 + echo "$as_me:3 870: result: yes" >&516735 + echo "$as_me:3715: result: yes" >&5 14221 16736 echo "${ECHO_T}yes" >&6 14222 16737 SET_MAKE= 14223 16738 else 14224 16739 - echo "$as_me:3731: result: no" >&5 14225 + echo "$as_me:3 874: result: no" >&516740 + echo "$as_me:3719: result: no" >&5 14226 16741 echo "${ECHO_T}no" >&6 14227 16742 SET_MAKE="MAKE=${MAKE-make}" 14228 16743 fi 14229 @@ -3737,7 +3 880,7 @@16744 @@ -3737,7 +3725,7 @@ 14230 16745 do 14231 16746 # Extract the first word of "$ac_prog", so it can be a program name with args. 14232 16747 set dummy $ac_prog; ac_word=$2 14233 16748 -echo "$as_me:3740: checking for $ac_word" >&5 14234 +echo "$as_me:3 883: checking for $ac_word" >&516749 +echo "$as_me:3728: checking for $ac_word" >&5 14235 16750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14236 16751 if test "${ac_cv_prog_CTAGS+set}" = set; then 14237 16752 echo $ECHO_N "(cached) $ECHO_C" >&6 14238 @@ -3752,7 +3 895,7 @@16753 @@ -3752,7 +3740,7 @@ 14239 16754 test -z "$ac_dir" && ac_dir=. 14240 16755 $as_executable_p "$ac_dir/$ac_word" || continue 14241 16756 ac_cv_prog_CTAGS="$ac_prog" 14242 16757 -echo "$as_me:3755: found $ac_dir/$ac_word" >&5 14243 +echo "$as_me:3 898: found $ac_dir/$ac_word" >&516758 +echo "$as_me:3743: found $ac_dir/$ac_word" >&5 14244 16759 break 14245 16760 done 14246 16761 14247 @@ -3760,10 +3 903,10 @@16762 @@ -3760,10 +3748,10 @@ 14248 16763 fi 14249 16764 CTAGS=$ac_cv_prog_CTAGS 14250 16765 if test -n "$CTAGS"; then 14251 16766 - echo "$as_me:3763: result: $CTAGS" >&5 14252 + echo "$as_me:3 906: result: $CTAGS" >&516767 + echo "$as_me:3751: result: $CTAGS" >&5 14253 16768 echo "${ECHO_T}$CTAGS" >&6 14254 16769 else 14255 16770 - echo "$as_me:3766: result: no" >&5 14256 + echo "$as_me:3 909: result: no" >&516771 + echo "$as_me:3754: result: no" >&5 14257 16772 echo "${ECHO_T}no" >&6 14258 16773 fi 14259 16774 14260 @@ -3774,7 +3 917,7 @@16775 @@ -3774,7 +3762,7 @@ 14261 16776 do 14262 16777 # Extract the first word of "$ac_prog", so it can be a program name with args. 14263 16778 set dummy $ac_prog; ac_word=$2 14264 16779 -echo "$as_me:3777: checking for $ac_word" >&5 14265 +echo "$as_me:3 920: checking for $ac_word" >&516780 +echo "$as_me:3765: checking for $ac_word" >&5 14266 16781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14267 16782 if test "${ac_cv_prog_ETAGS+set}" = set; then 14268 16783 echo $ECHO_N "(cached) $ECHO_C" >&6 14269 @@ -3789,7 +3 932,7 @@16784 @@ -3789,7 +3777,7 @@ 14270 16785 test -z "$ac_dir" && ac_dir=. 14271 16786 $as_executable_p "$ac_dir/$ac_word" || continue 14272 16787 ac_cv_prog_ETAGS="$ac_prog" 14273 16788 -echo "$as_me:3792: found $ac_dir/$ac_word" >&5 14274 +echo "$as_me:3 935: found $ac_dir/$ac_word" >&516789 +echo "$as_me:3780: found $ac_dir/$ac_word" >&5 14275 16790 break 14276 16791 done 14277 16792 14278 @@ -3797,10 +3 940,10 @@16793 @@ -3797,10 +3785,10 @@ 14279 16794 fi 14280 16795 ETAGS=$ac_cv_prog_ETAGS 14281 16796 if test -n "$ETAGS"; then 14282 16797 - echo "$as_me:3800: result: $ETAGS" >&5 14283 + echo "$as_me:3 943: result: $ETAGS" >&516798 + echo "$as_me:3788: result: $ETAGS" >&5 14284 16799 echo "${ECHO_T}$ETAGS" >&6 14285 16800 else 14286 16801 - echo "$as_me:3803: result: no" >&5 14287 + echo "$as_me:3 946: result: no" >&516802 + echo "$as_me:3791: result: no" >&5 14288 16803 echo "${ECHO_T}no" >&6 14289 16804 fi 14290 16805 14291 @@ -3809,7 +3 952,7 @@16806 @@ -3809,7 +3797,7 @@ 14292 16807 14293 16808 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. 14294 16809 set dummy ${CTAGS:-ctags}; ac_word=$2 14295 16810 -echo "$as_me:3812: checking for $ac_word" >&5 14296 +echo "$as_me:3 955: checking for $ac_word" >&516811 +echo "$as_me:3800: checking for $ac_word" >&5 14297 16812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14298 16813 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then 14299 16814 echo $ECHO_N "(cached) $ECHO_C" >&6 14300 @@ -3824,7 +3 967,7 @@16815 @@ -3824,7 +3812,7 @@ 14301 16816 test -z "$ac_dir" && ac_dir=. 14302 16817 $as_executable_p "$ac_dir/$ac_word" || continue 14303 16818 ac_cv_prog_MAKE_LOWER_TAGS="yes" 14304 16819 -echo "$as_me:3827: found $ac_dir/$ac_word" >&5 14305 +echo "$as_me:3 970: found $ac_dir/$ac_word" >&516820 +echo "$as_me:3815: found $ac_dir/$ac_word" >&5 14306 16821 break 14307 16822 done 14308 16823 14309 @@ -3833,17 +3 976,17 @@16824 @@ -3833,17 +3821,17 @@ 14310 16825 fi 14311 16826 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS 14312 16827 if test -n "$MAKE_LOWER_TAGS"; then 14313 16828 - echo "$as_me:3836: result: $MAKE_LOWER_TAGS" >&5 14314 + echo "$as_me:3 979: result: $MAKE_LOWER_TAGS" >&516829 + echo "$as_me:3824: result: $MAKE_LOWER_TAGS" >&5 14315 16830 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 14316 16831 else 14317 16832 - echo "$as_me:3839: result: no" >&5 14318 + echo "$as_me:3 982: result: no" >&516833 + echo "$as_me:3827: result: no" >&5 14319 16834 echo "${ECHO_T}no" >&6 14320 16835 fi … … 14324 16839 set dummy ${ETAGS:-etags}; ac_word=$2 14325 16840 -echo "$as_me:3846: checking for $ac_word" >&5 14326 +echo "$as_me:3 989: checking for $ac_word" >&516841 +echo "$as_me:3834: checking for $ac_word" >&5 14327 16842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14328 16843 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then 14329 16844 echo $ECHO_N "(cached) $ECHO_C" >&6 14330 @@ -3858,7 + 4001,7 @@16845 @@ -3858,7 +3846,7 @@ 14331 16846 test -z "$ac_dir" && ac_dir=. 14332 16847 $as_executable_p "$ac_dir/$ac_word" || continue 14333 16848 ac_cv_prog_MAKE_UPPER_TAGS="yes" 14334 16849 -echo "$as_me:3861: found $ac_dir/$ac_word" >&5 14335 +echo "$as_me: 4004: found $ac_dir/$ac_word" >&516850 +echo "$as_me:3849: found $ac_dir/$ac_word" >&5 14336 16851 break 14337 16852 done 14338 16853 14339 @@ -3867,10 + 4010,10 @@16854 @@ -3867,10 +3855,10 @@ 14340 16855 fi 14341 16856 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS 14342 16857 if test -n "$MAKE_UPPER_TAGS"; then 14343 16858 - echo "$as_me:3870: result: $MAKE_UPPER_TAGS" >&5 14344 + echo "$as_me: 4013: result: $MAKE_UPPER_TAGS" >&516859 + echo "$as_me:3858: result: $MAKE_UPPER_TAGS" >&5 14345 16860 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 14346 16861 else 14347 16862 - echo "$as_me:3873: result: no" >&5 14348 + echo "$as_me: 4016: result: no" >&516863 + echo "$as_me:3861: result: no" >&5 14349 16864 echo "${ECHO_T}no" >&6 14350 16865 fi 14351 16866 14352 @@ -3890,7 + 4033,7 @@16867 @@ -3890,7 +3878,7 @@ 14353 16868 MAKE_LOWER_TAGS="#" 14354 16869 fi 14355 16870 14356 16871 -echo "$as_me:3893: checking for makeflags variable" >&5 14357 +echo "$as_me: 4036: checking for makeflags variable" >&516872 +echo "$as_me:3881: checking for makeflags variable" >&5 14358 16873 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6 14359 16874 if test "${cf_cv_makeflags+set}" = set; then 14360 16875 echo $ECHO_N "(cached) $ECHO_C" >&6 14361 @@ -3924,13 + 4067,13 @@16876 @@ -3924,13 +3912,13 @@ 14362 16877 rm -f cf_makeflags.tmp 14363 16878 14364 16879 fi 14365 16880 -echo "$as_me:3927: result: $cf_cv_makeflags" >&5 14366 +echo "$as_me: 4070: result: $cf_cv_makeflags" >&516881 +echo "$as_me:3915: result: $cf_cv_makeflags" >&5 14367 16882 echo "${ECHO_T}$cf_cv_makeflags" >&6 14368 16883 … … 14371 16886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 14372 16887 -echo "$as_me:3933: checking for $ac_word" >&5 14373 +echo "$as_me: 4076: checking for $ac_word" >&516888 +echo "$as_me:3921: checking for $ac_word" >&5 14374 16889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14375 16890 if test "${ac_cv_prog_RANLIB+set}" = set; then 14376 16891 echo $ECHO_N "(cached) $ECHO_C" >&6 14377 @@ -3945,7 + 4088,7 @@16892 @@ -3945,7 +3933,7 @@ 14378 16893 test -z "$ac_dir" && ac_dir=. 14379 16894 $as_executable_p "$ac_dir/$ac_word" || continue 14380 16895 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 14381 16896 -echo "$as_me:3948: found $ac_dir/$ac_word" >&5 14382 +echo "$as_me: 4091: found $ac_dir/$ac_word" >&516897 +echo "$as_me:3936: found $ac_dir/$ac_word" >&5 14383 16898 break 14384 16899 done 14385 16900 14386 @@ -3953,10 + 4096,10 @@16901 @@ -3953,10 +3941,10 @@ 14387 16902 fi 14388 16903 RANLIB=$ac_cv_prog_RANLIB 14389 16904 if test -n "$RANLIB"; then 14390 16905 - echo "$as_me:3956: result: $RANLIB" >&5 14391 + echo "$as_me: 4099: result: $RANLIB" >&516906 + echo "$as_me:3944: result: $RANLIB" >&5 14392 16907 echo "${ECHO_T}$RANLIB" >&6 14393 16908 else 14394 16909 - echo "$as_me:3959: result: no" >&5 14395 + echo "$as_me: 4102: result: no" >&516910 + echo "$as_me:3947: result: no" >&5 14396 16911 echo "${ECHO_T}no" >&6 14397 16912 fi 14398 16913 14399 @@ -3965,7 + 4108,7 @@16914 @@ -3965,7 +3953,7 @@ 14400 16915 ac_ct_RANLIB=$RANLIB 14401 16916 # Extract the first word of "ranlib", so it can be a program name with args. 14402 16917 set dummy ranlib; ac_word=$2 14403 16918 -echo "$as_me:3968: checking for $ac_word" >&5 14404 +echo "$as_me: 4111: checking for $ac_word" >&516919 +echo "$as_me:3956: checking for $ac_word" >&5 14405 16920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14406 16921 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 14407 16922 echo $ECHO_N "(cached) $ECHO_C" >&6 14408 @@ -3980,7 + 4123,7 @@16923 @@ -3980,7 +3968,7 @@ 14409 16924 test -z "$ac_dir" && ac_dir=. 14410 16925 $as_executable_p "$ac_dir/$ac_word" || continue 14411 16926 ac_cv_prog_ac_ct_RANLIB="ranlib" 14412 16927 -echo "$as_me:3983: found $ac_dir/$ac_word" >&5 14413 +echo "$as_me: 4126: found $ac_dir/$ac_word" >&516928 +echo "$as_me:3971: found $ac_dir/$ac_word" >&5 14414 16929 break 14415 16930 done 14416 16931 14417 @@ -3989,10 + 4132,10 @@16932 @@ -3989,10 +3977,10 @@ 14418 16933 fi 14419 16934 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 14420 16935 if test -n "$ac_ct_RANLIB"; then 14421 16936 - echo "$as_me:3992: result: $ac_ct_RANLIB" >&5 14422 + echo "$as_me: 4135: result: $ac_ct_RANLIB" >&516937 + echo "$as_me:3980: result: $ac_ct_RANLIB" >&5 14423 16938 echo "${ECHO_T}$ac_ct_RANLIB" >&6 14424 16939 else 14425 16940 - echo "$as_me:3995: result: no" >&5 14426 + echo "$as_me: 4138: result: no" >&516941 + echo "$as_me:3983: result: no" >&5 14427 16942 echo "${ECHO_T}no" >&6 14428 16943 fi 14429 16944 14430 @@ -4004,7 + 4147,7 @@16945 @@ -4004,7 +3992,7 @@ 14431 16946 if test -n "$ac_tool_prefix"; then 14432 16947 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. 14433 16948 set dummy ${ac_tool_prefix}ld; ac_word=$2 14434 16949 -echo "$as_me:4007: checking for $ac_word" >&5 14435 +echo "$as_me: 4150: checking for $ac_word" >&516950 +echo "$as_me:3995: checking for $ac_word" >&5 14436 16951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14437 16952 if test "${ac_cv_prog_LD+set}" = set; then 14438 16953 echo $ECHO_N "(cached) $ECHO_C" >&6 14439 @@ -4019,7 +4 162,7 @@16954 @@ -4019,7 +4007,7 @@ 14440 16955 test -z "$ac_dir" && ac_dir=. 14441 16956 $as_executable_p "$ac_dir/$ac_word" || continue 14442 16957 ac_cv_prog_LD="${ac_tool_prefix}ld" 14443 16958 -echo "$as_me:4022: found $ac_dir/$ac_word" >&5 14444 +echo "$as_me:4 165: found $ac_dir/$ac_word" >&516959 +echo "$as_me:4010: found $ac_dir/$ac_word" >&5 14445 16960 break 14446 16961 done 14447 16962 14448 @@ -4027,10 +4 170,10 @@16963 @@ -4027,10 +4015,10 @@ 14449 16964 fi 14450 16965 LD=$ac_cv_prog_LD 14451 16966 if test -n "$LD"; then 14452 16967 - echo "$as_me:4030: result: $LD" >&5 14453 + echo "$as_me:4 173: result: $LD" >&516968 + echo "$as_me:4018: result: $LD" >&5 14454 16969 echo "${ECHO_T}$LD" >&6 14455 16970 else 14456 16971 - echo "$as_me:4033: result: no" >&5 14457 + echo "$as_me:4 176: result: no" >&516972 + echo "$as_me:4021: result: no" >&5 14458 16973 echo "${ECHO_T}no" >&6 14459 16974 fi 14460 16975 14461 @@ -4039,7 +4 182,7 @@16976 @@ -4039,7 +4027,7 @@ 14462 16977 ac_ct_LD=$LD 14463 16978 # Extract the first word of "ld", so it can be a program name with args. 14464 16979 set dummy ld; ac_word=$2 14465 16980 -echo "$as_me:4042: checking for $ac_word" >&5 14466 +echo "$as_me:4 185: checking for $ac_word" >&516981 +echo "$as_me:4030: checking for $ac_word" >&5 14467 16982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14468 16983 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then 14469 16984 echo $ECHO_N "(cached) $ECHO_C" >&6 14470 @@ -4054,7 +4 197,7 @@16985 @@ -4054,7 +4042,7 @@ 14471 16986 test -z "$ac_dir" && ac_dir=. 14472 16987 $as_executable_p "$ac_dir/$ac_word" || continue 14473 16988 ac_cv_prog_ac_ct_LD="ld" 14474 16989 -echo "$as_me:4057: found $ac_dir/$ac_word" >&5 14475 +echo "$as_me:4 200: found $ac_dir/$ac_word" >&516990 +echo "$as_me:4045: found $ac_dir/$ac_word" >&5 14476 16991 break 14477 16992 done 14478 16993 14479 @@ -4063,10 +4 206,10 @@16994 @@ -4063,10 +4051,10 @@ 14480 16995 fi 14481 16996 ac_ct_LD=$ac_cv_prog_ac_ct_LD 14482 16997 if test -n "$ac_ct_LD"; then 14483 16998 - echo "$as_me:4066: result: $ac_ct_LD" >&5 14484 + echo "$as_me:4 209: result: $ac_ct_LD" >&516999 + echo "$as_me:4054: result: $ac_ct_LD" >&5 14485 17000 echo "${ECHO_T}$ac_ct_LD" >&6 14486 17001 else 14487 17002 - echo "$as_me:4069: result: no" >&5 14488 + echo "$as_me:4 212: result: no" >&517003 + echo "$as_me:4057: result: no" >&5 14489 17004 echo "${ECHO_T}no" >&6 14490 17005 fi 14491 17006 14492 @@ -4078,7 +4 221,7 @@17007 @@ -4078,7 +4066,7 @@ 14493 17008 if test -n "$ac_tool_prefix"; then 14494 17009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 14495 17010 set dummy ${ac_tool_prefix}ar; ac_word=$2 14496 17011 -echo "$as_me:4081: checking for $ac_word" >&5 14497 +echo "$as_me:4 224: checking for $ac_word" >&517012 +echo "$as_me:4069: checking for $ac_word" >&5 14498 17013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14499 17014 if test "${ac_cv_prog_AR+set}" = set; then 14500 17015 echo $ECHO_N "(cached) $ECHO_C" >&6 14501 @@ -4093,7 +4 236,7 @@17016 @@ -4093,7 +4081,7 @@ 14502 17017 test -z "$ac_dir" && ac_dir=. 14503 17018 $as_executable_p "$ac_dir/$ac_word" || continue 14504 17019 ac_cv_prog_AR="${ac_tool_prefix}ar" 14505 17020 -echo "$as_me:4096: found $ac_dir/$ac_word" >&5 14506 +echo "$as_me:4 239: found $ac_dir/$ac_word" >&517021 +echo "$as_me:4084: found $ac_dir/$ac_word" >&5 14507 17022 break 14508 17023 done 14509 17024 14510 @@ -4101,10 +4 244,10 @@17025 @@ -4101,10 +4089,10 @@ 14511 17026 fi 14512 17027 AR=$ac_cv_prog_AR 14513 17028 if test -n "$AR"; then 14514 17029 - echo "$as_me:4104: result: $AR" >&5 14515 + echo "$as_me:4 247: result: $AR" >&517030 + echo "$as_me:4092: result: $AR" >&5 14516 17031 echo "${ECHO_T}$AR" >&6 14517 17032 else 14518 17033 - echo "$as_me:4107: result: no" >&5 14519 + echo "$as_me:4 250: result: no" >&517034 + echo "$as_me:4095: result: no" >&5 14520 17035 echo "${ECHO_T}no" >&6 14521 17036 fi 14522 17037 14523 @@ -4113,7 +4 256,7 @@17038 @@ -4113,7 +4101,7 @@ 14524 17039 ac_ct_AR=$AR 14525 17040 # Extract the first word of "ar", so it can be a program name with args. 14526 17041 set dummy ar; ac_word=$2 14527 17042 -echo "$as_me:4116: checking for $ac_word" >&5 14528 +echo "$as_me:4 259: checking for $ac_word" >&517043 +echo "$as_me:4104: checking for $ac_word" >&5 14529 17044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14530 17045 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 14531 17046 echo $ECHO_N "(cached) $ECHO_C" >&6 14532 @@ -4128,7 +4 271,7 @@17047 @@ -4128,7 +4116,7 @@ 14533 17048 test -z "$ac_dir" && ac_dir=. 14534 17049 $as_executable_p "$ac_dir/$ac_word" || continue 14535 17050 ac_cv_prog_ac_ct_AR="ar" 14536 17051 -echo "$as_me:4131: found $ac_dir/$ac_word" >&5 14537 +echo "$as_me:4 274: found $ac_dir/$ac_word" >&517052 +echo "$as_me:4119: found $ac_dir/$ac_word" >&5 14538 17053 break 14539 17054 done 14540 17055 14541 @@ -4137,10 +4 280,10 @@17056 @@ -4137,10 +4125,10 @@ 14542 17057 fi 14543 17058 ac_ct_AR=$ac_cv_prog_ac_ct_AR 14544 17059 if test -n "$ac_ct_AR"; then 14545 17060 - echo "$as_me:4140: result: $ac_ct_AR" >&5 14546 + echo "$as_me:4 283: result: $ac_ct_AR" >&517061 + echo "$as_me:4128: result: $ac_ct_AR" >&5 14547 17062 echo "${ECHO_T}$ac_ct_AR" >&6 14548 17063 else 14549 17064 - echo "$as_me:4143: result: no" >&5 14550 + echo "$as_me:4 286: result: no" >&517065 + echo "$as_me:4131: result: no" >&5 14551 17066 echo "${ECHO_T}no" >&6 14552 17067 fi 14553 17068 14554 @@ -4152,7 +4 295,7 @@17069 @@ -4152,7 +4140,7 @@ 14555 17070 if test -n "$ac_tool_prefix"; then 14556 17071 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 14557 17072 set dummy ${ac_tool_prefix}ar; ac_word=$2 14558 17073 -echo "$as_me:4155: checking for $ac_word" >&5 14559 +echo "$as_me:4 298: checking for $ac_word" >&517074 +echo "$as_me:4143: checking for $ac_word" >&5 14560 17075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14561 17076 if test "${ac_cv_prog_AR+set}" = set; then 14562 17077 echo $ECHO_N "(cached) $ECHO_C" >&6 14563 @@ -4167,7 +4 310,7 @@17078 @@ -4167,7 +4155,7 @@ 14564 17079 test -z "$ac_dir" && ac_dir=. 14565 17080 $as_executable_p "$ac_dir/$ac_word" || continue 14566 17081 ac_cv_prog_AR="${ac_tool_prefix}ar" 14567 17082 -echo "$as_me:4170: found $ac_dir/$ac_word" >&5 14568 +echo "$as_me:4 313: found $ac_dir/$ac_word" >&517083 +echo "$as_me:4158: found $ac_dir/$ac_word" >&5 14569 17084 break 14570 17085 done 14571 17086 14572 @@ -4175,10 +4 318,10 @@17087 @@ -4175,10 +4163,10 @@ 14573 17088 fi 14574 17089 AR=$ac_cv_prog_AR 14575 17090 if test -n "$AR"; then 14576 17091 - echo "$as_me:4178: result: $AR" >&5 14577 + echo "$as_me:4 321: result: $AR" >&517092 + echo "$as_me:4166: result: $AR" >&5 14578 17093 echo "${ECHO_T}$AR" >&6 14579 17094 else 14580 17095 - echo "$as_me:4181: result: no" >&5 14581 + echo "$as_me:4 324: result: no" >&517096 + echo "$as_me:4169: result: no" >&5 14582 17097 echo "${ECHO_T}no" >&6 14583 17098 fi 14584 17099 14585 @@ -4187,7 +4 330,7 @@17100 @@ -4187,7 +4175,7 @@ 14586 17101 ac_ct_AR=$AR 14587 17102 # Extract the first word of "ar", so it can be a program name with args. 14588 17103 set dummy ar; ac_word=$2 14589 17104 -echo "$as_me:4190: checking for $ac_word" >&5 14590 +echo "$as_me:4 333: checking for $ac_word" >&517105 +echo "$as_me:4178: checking for $ac_word" >&5 14591 17106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14592 17107 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 14593 17108 echo $ECHO_N "(cached) $ECHO_C" >&6 14594 @@ -4202,7 +4 345,7 @@17109 @@ -4202,7 +4190,7 @@ 14595 17110 test -z "$ac_dir" && ac_dir=. 14596 17111 $as_executable_p "$ac_dir/$ac_word" || continue 14597 17112 ac_cv_prog_ac_ct_AR="ar" 14598 17113 -echo "$as_me:4205: found $ac_dir/$ac_word" >&5 14599 +echo "$as_me:4 348: found $ac_dir/$ac_word" >&517114 +echo "$as_me:4193: found $ac_dir/$ac_word" >&5 14600 17115 break 14601 17116 done 14602 17117 14603 @@ -4211,10 +4 354,10 @@17118 @@ -4211,10 +4199,10 @@ 14604 17119 fi 14605 17120 ac_ct_AR=$ac_cv_prog_ac_ct_AR 14606 17121 if test -n "$ac_ct_AR"; then 14607 17122 - echo "$as_me:4214: result: $ac_ct_AR" >&5 14608 + echo "$as_me:4 357: result: $ac_ct_AR" >&517123 + echo "$as_me:4202: result: $ac_ct_AR" >&5 14609 17124 echo "${ECHO_T}$ac_ct_AR" >&6 14610 17125 else 14611 17126 - echo "$as_me:4217: result: no" >&5 14612 + echo "$as_me:4 360: result: no" >&517127 + echo "$as_me:4205: result: no" >&5 14613 17128 echo "${ECHO_T}no" >&6 14614 17129 fi 14615 17130 14616 @@ -4223,7 +4 366,7 @@17131 @@ -4223,7 +4211,7 @@ 14617 17132 AR="$ac_cv_prog_AR" 14618 17133 fi 14619 17134 14620 17135 -echo "$as_me:4226: checking for options to update archives" >&5 14621 +echo "$as_me:4 369: checking for options to update archives" >&517136 +echo "$as_me:4214: checking for options to update archives" >&5 14622 17137 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6 14623 17138 if test "${cf_cv_ar_flags+set}" = set; then 14624 17139 echo $ECHO_N "(cached) $ECHO_C" >&6 14625 @@ -4246,13 +4 389,13 @@17140 @@ -4246,13 +4234,13 @@ 14626 17141 rm -f conftest.a 14627 17142 14628 17143 cat >conftest.$ac_ext <<EOF 14629 17144 -#line 4249 "configure" 14630 +#line 4 392"configure"17145 +#line 4237 "configure" 14631 17146 int testdata[3] = { 123, 456, 789 }; 14632 17147 EOF 14633 17148 - if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5 14634 + if { (eval echo "$as_me:4 395: \"$ac_compile\"") >&517149 + if { (eval echo "$as_me:4240: \"$ac_compile\"") >&5 14635 17150 (eval $ac_compile) 2>&5 14636 17151 ac_status=$? 14637 17152 - echo "$as_me:4255: \$? = $ac_status" >&5 14638 + echo "$as_me:4 398: \$? = $ac_status" >&517153 + echo "$as_me:4243: \$? = $ac_status" >&5 14639 17154 (exit $ac_status); } ; then 14640 17155 echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5 14641 17156 $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null 14642 @@ -4263,7 +4 406,7 @@17157 @@ -4263,7 +4251,7 @@ 14643 17158 else 14644 17159 test -n "$verbose" && echo " cannot compile test-program" 1>&6 14645 17160 14646 17161 -echo "${as_me:-configure}:4266: testing cannot compile test-program ..." 1>&5 14647 +echo "${as_me:-configure}:4 409: testing cannot compile test-program ..." 1>&517162 +echo "${as_me:-configure}:4254: testing cannot compile test-program ..." 1>&5 14648 17163 14649 17164 break 14650 17165 fi 14651 @@ -4271,7 +4 414,7 @@17166 @@ -4271,7 +4259,7 @@ 14652 17167 rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext 14653 17168 14654 17169 fi 14655 17170 -echo "$as_me:4274: result: $cf_cv_ar_flags" >&5 14656 +echo "$as_me:4 417: result: $cf_cv_ar_flags" >&517171 +echo "$as_me:4262: result: $cf_cv_ar_flags" >&5 14657 17172 echo "${ECHO_T}$cf_cv_ar_flags" >&6 14658 17173 14659 17174 if test -n "$ARFLAGS" ; then 14660 @@ -4282,7 +4 425,7 @@17175 @@ -4282,7 +4270,7 @@ 14661 17176 ARFLAGS=$cf_cv_ar_flags 14662 17177 fi 14663 17178 14664 17179 -echo "$as_me:4285: checking if you have specified an install-prefix" >&5 14665 +echo "$as_me:4 428: checking if you have specified an install-prefix" >&517180 +echo "$as_me:4273: checking if you have specified an install-prefix" >&5 14666 17181 echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6 14667 17182 14668 17183 # Check whether --with-install-prefix or --without-install-prefix was given. 14669 @@ -4295,7 +4 438,7 @@17184 @@ -4295,7 +4283,7 @@ 14670 17185 ;; 14671 17186 esac 14672 17187 fi; 14673 17188 -echo "$as_me:4298: result: $DESTDIR" >&5 14674 +echo "$as_me:4 441: result: $DESTDIR" >&517189 +echo "$as_me:4286: result: $DESTDIR" >&5 14675 17190 echo "${ECHO_T}$DESTDIR" >&6 14676 17191 14677 17192 ############################################################################### 14678 @@ -4323,7 +4 466,7 @@17193 @@ -4323,7 +4311,7 @@ 14679 17194 do 14680 17195 # Extract the first word of "$ac_prog", so it can be a program name with args. 14681 17196 set dummy $ac_prog; ac_word=$2 14682 17197 -echo "$as_me:4326: checking for $ac_word" >&5 14683 +echo "$as_me:4 469: checking for $ac_word" >&517198 +echo "$as_me:4314: checking for $ac_word" >&5 14684 17199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14685 17200 if test "${ac_cv_prog_BUILD_CC+set}" = set; then 14686 17201 echo $ECHO_N "(cached) $ECHO_C" >&6 14687 @@ -4338,7 +4 481,7 @@17202 @@ -4338,7 +4326,7 @@ 14688 17203 test -z "$ac_dir" && ac_dir=. 14689 17204 $as_executable_p "$ac_dir/$ac_word" || continue 14690 17205 ac_cv_prog_BUILD_CC="$ac_prog" 14691 17206 -echo "$as_me:4341: found $ac_dir/$ac_word" >&5 14692 +echo "$as_me:4 484: found $ac_dir/$ac_word" >&517207 +echo "$as_me:4329: found $ac_dir/$ac_word" >&5 14693 17208 break 14694 17209 done 14695 17210 14696 @@ -4346,10 +4 489,10 @@17211 @@ -4346,10 +4334,10 @@ 14697 17212 fi 14698 17213 BUILD_CC=$ac_cv_prog_BUILD_CC 14699 17214 if test -n "$BUILD_CC"; then 14700 17215 - echo "$as_me:4349: result: $BUILD_CC" >&5 14701 + echo "$as_me:4 492: result: $BUILD_CC" >&517216 + echo "$as_me:4337: result: $BUILD_CC" >&5 14702 17217 echo "${ECHO_T}$BUILD_CC" >&6 14703 17218 else 14704 17219 - echo "$as_me:4352: result: no" >&5 14705 + echo "$as_me:4 495: result: no" >&517220 + echo "$as_me:4340: result: no" >&5 14706 17221 echo "${ECHO_T}no" >&6 14707 17222 fi 14708 17223 14709 @@ -4357,12 +4 500,12 @@17224 @@ -4357,12 +4345,12 @@ 14710 17225 done 14711 17226 14712 17227 fi; 14713 17228 - echo "$as_me:4360: checking for native build C compiler" >&5 14714 + echo "$as_me:4 503: checking for native build C compiler" >&517229 + echo "$as_me:4348: checking for native build C compiler" >&5 14715 17230 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6 14716 17231 - echo "$as_me:4362: result: $BUILD_CC" >&5 14717 + echo "$as_me:4 505: result: $BUILD_CC" >&517232 + echo "$as_me:4350: result: $BUILD_CC" >&5 14718 17233 echo "${ECHO_T}$BUILD_CC" >&6 14719 17234 14720 17235 - echo "$as_me:4365: checking for native build C preprocessor" >&5 14721 + echo "$as_me:4 508: checking for native build C preprocessor" >&517236 + echo "$as_me:4353: checking for native build C preprocessor" >&5 14722 17237 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6 14723 17238 14724 17239 # Check whether --with-build-cpp or --without-build-cpp was given. 14725 @@ -4372,10 +4 515,10 @@17240 @@ -4372,10 +4360,10 @@ 14726 17241 else 14727 17242 BUILD_CPP='${BUILD_CC} -E' 14728 17243 fi; 14729 17244 - echo "$as_me:4375: result: $BUILD_CPP" >&5 14730 + echo "$as_me:4 518: result: $BUILD_CPP" >&517245 + echo "$as_me:4363: result: $BUILD_CPP" >&5 14731 17246 echo "${ECHO_T}$BUILD_CPP" >&6 14732 17247 14733 17248 - echo "$as_me:4378: checking for native build C flags" >&5 14734 + echo "$as_me:4 521: checking for native build C flags" >&517249 + echo "$as_me:4366: checking for native build C flags" >&5 14735 17250 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6 14736 17251 14737 17252 # Check whether --with-build-cflags or --without-build-cflags was given. 14738 @@ -4383,10 +4 526,10 @@17253 @@ -4383,10 +4371,10 @@ 14739 17254 withval="$with_build_cflags" 14740 17255 BUILD_CFLAGS="$withval" 14741 17256 fi; 14742 17257 - echo "$as_me:4386: result: $BUILD_CFLAGS" >&5 14743 + echo "$as_me:4 529: result: $BUILD_CFLAGS" >&517258 + echo "$as_me:4374: result: $BUILD_CFLAGS" >&5 14744 17259 echo "${ECHO_T}$BUILD_CFLAGS" >&6 14745 17260 14746 17261 - echo "$as_me:4389: checking for native build C preprocessor-flags" >&5 14747 + echo "$as_me:4 532: checking for native build C preprocessor-flags" >&517262 + echo "$as_me:4377: checking for native build C preprocessor-flags" >&5 14748 17263 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6 14749 17264 14750 17265 # Check whether --with-build-cppflags or --without-build-cppflags was given. 14751 @@ -4394,10 +4 537,10 @@17266 @@ -4394,10 +4382,10 @@ 14752 17267 withval="$with_build_cppflags" 14753 17268 BUILD_CPPFLAGS="$withval" 14754 17269 fi; 14755 17270 - echo "$as_me:4397: result: $BUILD_CPPFLAGS" >&5 14756 + echo "$as_me:4 540: result: $BUILD_CPPFLAGS" >&517271 + echo "$as_me:4385: result: $BUILD_CPPFLAGS" >&5 14757 17272 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6 14758 17273 14759 17274 - echo "$as_me:4400: checking for native build linker-flags" >&5 14760 + echo "$as_me:4 543: checking for native build linker-flags" >&517275 + echo "$as_me:4388: checking for native build linker-flags" >&5 14761 17276 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6 14762 17277 14763 17278 # Check whether --with-build-ldflags or --without-build-ldflags was given. 14764 @@ -4405,10 +4 548,10 @@17279 @@ -4405,10 +4393,10 @@ 14765 17280 withval="$with_build_ldflags" 14766 17281 BUILD_LDFLAGS="$withval" 14767 17282 fi; 14768 17283 - echo "$as_me:4408: result: $BUILD_LDFLAGS" >&5 14769 + echo "$as_me:4 551: result: $BUILD_LDFLAGS" >&517284 + echo "$as_me:4396: result: $BUILD_LDFLAGS" >&5 14770 17285 echo "${ECHO_T}$BUILD_LDFLAGS" >&6 14771 17286 14772 17287 - echo "$as_me:4411: checking for native build linker-libraries" >&5 14773 + echo "$as_me:4 554: checking for native build linker-libraries" >&517288 + echo "$as_me:4399: checking for native build linker-libraries" >&5 14774 17289 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6 14775 17290 14776 17291 # Check whether --with-build-libs or --without-build-libs was given. 14777 @@ -4416,7 +4 559,7 @@17292 @@ -4416,7 +4404,7 @@ 14778 17293 withval="$with_build_libs" 14779 17294 BUILD_LIBS="$withval" 14780 17295 fi; 14781 17296 - echo "$as_me:4419: result: $BUILD_LIBS" >&5 14782 + echo "$as_me:4 562: result: $BUILD_LIBS" >&517297 + echo "$as_me:4407: result: $BUILD_LIBS" >&5 14783 17298 echo "${ECHO_T}$BUILD_LIBS" >&6 14784 17299 14785 17300 # this assumes we're on Unix. 14786 @@ -4426,7 +4 569,7 @@17301 @@ -4426,7 +4414,7 @@ 14787 17302 : ${BUILD_CC:='${CC}'} 14788 17303 14789 17304 if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then 14790 17305 - { { echo "$as_me:4429: error: Cross-build requires two compilers. 14791 + { { echo "$as_me:4 572: error: Cross-build requires two compilers.17306 + { { echo "$as_me:4417: error: Cross-build requires two compilers. 14792 17307 Use --with-build-cc to specify the native compiler." >&5 14793 17308 echo "$as_me: error: Cross-build requires two compilers. 14794 17309 Use --with-build-cc to specify the native compiler." >&2;} 14795 @@ -4451,7 +4 594,7 @@17310 @@ -4451,7 +4439,7 @@ 14796 17311 ### shared, for example. 14797 17312 cf_list_models="" 14798 17313 14799 17314 -echo "$as_me:4454: checking if libtool -version-number should be used" >&5 14800 +echo "$as_me:4 597: checking if libtool -version-number should be used" >&517315 +echo "$as_me:4442: checking if libtool -version-number should be used" >&5 14801 17316 echo $ECHO_N "checking if libtool -version-number should be used... $ECHO_C" >&6 14802 17317 14803 17318 # Check whether --enable-libtool-version or --disable-libtool-version was given. 14804 @@ -4468,7 +4 611,7 @@17319 @@ -4468,7 +4456,7 @@ 14805 17320 cf_libtool_version=yes 14806 17321 14807 17322 fi; 14808 17323 -echo "$as_me:4471: result: $cf_libtool_version" >&5 14809 +echo "$as_me:4 614: result: $cf_libtool_version" >&517324 +echo "$as_me:4459: result: $cf_libtool_version" >&5 14810 17325 echo "${ECHO_T}$cf_libtool_version" >&6 14811 17326 14812 17327 if test "$cf_libtool_version" = yes ; then 14813 @@ -4493,7 +4 636,7 @@17328 @@ -4493,7 +4481,7 @@ 14814 17329 LIB_INSTALL= 14815 17330 LIB_UNINSTALL= 14816 17331 14817 17332 -echo "$as_me:4496: checking if you want to build libraries with libtool" >&5 14818 +echo "$as_me:4 639: checking if you want to build libraries with libtool" >&517333 +echo "$as_me:4484: checking if you want to build libraries with libtool" >&5 14819 17334 echo $ECHO_N "checking if you want to build libraries with libtool... $ECHO_C" >&6 14820 17335 14821 17336 # Check whether --with-libtool or --without-libtool was given. 14822 @@ -4503,7 +4 646,7 @@17337 @@ -4503,7 +4491,7 @@ 14823 17338 else 14824 17339 with_libtool=no 14825 17340 fi; 14826 17341 -echo "$as_me:4506: result: $with_libtool" >&5 14827 +echo "$as_me:4 649: result: $with_libtool" >&517342 +echo "$as_me:4494: result: $with_libtool" >&5 14828 17343 echo "${ECHO_T}$with_libtool" >&6 14829 17344 if test "$with_libtool" != "no"; then 14830 17345 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 @@ 14832 17356 with_libtool=`echo $with_libtool | sed -e s%NONE%$cf_path_syntax%` 14833 17357 ;; 14834 17358 *) 14835 17359 - { { echo "$as_me:4537: error: expected a pathname, not \"$with_libtool\"" >&5 14836 + { { echo "$as_me:4 680: error: expected a pathname, not \"$with_libtool\"" >&517360 + { { echo "$as_me:4525: error: expected a pathname, not \"$with_libtool\"" >&5 14837 17361 echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;} 14838 17362 { (exit 1); exit 1; }; } 14839 17363 ;; 14840 @@ -4544,7 +4 687,7 @@17364 @@ -4544,7 +4532,7 @@ 14841 17365 else 14842 17366 # Extract the first word of "libtool", so it can be a program name with args. 14843 17367 set dummy libtool; ac_word=$2 14844 17368 -echo "$as_me:4547: checking for $ac_word" >&5 14845 +echo "$as_me:4 690: checking for $ac_word" >&517369 +echo "$as_me:4535: checking for $ac_word" >&5 14846 17370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14847 17371 if test "${ac_cv_path_LIBTOOL+set}" = set; then 14848 17372 echo $ECHO_N "(cached) $ECHO_C" >&6 14849 @@ -4561,7 +4 704,7 @@17373 @@ -4561,7 +4549,7 @@ 14850 17374 test -z "$ac_dir" && ac_dir=. 14851 17375 if $as_executable_p "$ac_dir/$ac_word"; then 14852 17376 ac_cv_path_LIBTOOL="$ac_dir/$ac_word" 14853 17377 - echo "$as_me:4564: found $ac_dir/$ac_word" >&5 14854 + echo "$as_me:4 707: found $ac_dir/$ac_word" >&517378 + echo "$as_me:4552: found $ac_dir/$ac_word" >&5 14855 17379 break 14856 17380 fi 14857 17381 done 14858 @@ -4572,20 +4 715,20 @@17382 @@ -4572,20 +4560,20 @@ 14859 17383 LIBTOOL=$ac_cv_path_LIBTOOL 14860 17384 14861 17385 if test -n "$LIBTOOL"; then 14862 17386 - echo "$as_me:4575: result: $LIBTOOL" >&5 14863 + echo "$as_me:4 718: result: $LIBTOOL" >&517387 + echo "$as_me:4563: result: $LIBTOOL" >&5 14864 17388 echo "${ECHO_T}$LIBTOOL" >&6 14865 17389 else 14866 17390 - echo "$as_me:4578: result: no" >&5 14867 + echo "$as_me:4 721: result: no" >&517391 + echo "$as_me:4566: result: no" >&5 14868 17392 echo "${ECHO_T}no" >&6 14869 17393 fi … … 14872 17396 if test -z "$LIBTOOL" ; then 14873 17397 - { { echo "$as_me:4584: error: Cannot find libtool" >&5 14874 + { { echo "$as_me:4 727: error: Cannot find libtool" >&517398 + { { echo "$as_me:4572: error: Cannot find libtool" >&5 14875 17399 echo "$as_me: error: Cannot find libtool" >&2;} 14876 17400 { (exit 1); exit 1; }; } … … 14881 17405 LIB_SUFFIX=.la 14882 17406 LIB_CLEAN='${LIBTOOL} --mode=clean' 14883 @@ -4596,17 +4 739,17 @@17407 @@ -4596,17 +4584,17 @@ 14884 17408 LIB_PREP=: 14885 17409 14886 17410 # Show the version of libtool 14887 17411 - echo "$as_me:4599: checking version of libtool" >&5 14888 + echo "$as_me:4 742: checking version of libtool" >&517412 + echo "$as_me:4587: checking version of libtool" >&5 14889 17413 echo $ECHO_N "checking version of libtool... $ECHO_C" >&6 14890 17414 … … 14894 17418 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.].*//'` 14895 17419 - echo "$as_me:4606: result: $cf_cv_libtool_version" >&5 14896 + echo "$as_me:4 749: result: $cf_cv_libtool_version" >&517420 + echo "$as_me:4594: result: $cf_cv_libtool_version" >&5 14897 17421 echo "${ECHO_T}$cf_cv_libtool_version" >&6 14898 17422 if test -z "$cf_cv_libtool_version" ; then 14899 17423 - { { echo "$as_me:4609: error: This is not GNU libtool" >&5 14900 + { { echo "$as_me:4 752: error: This is not GNU libtool" >&517424 + { { echo "$as_me:4597: error: This is not GNU libtool" >&5 14901 17425 echo "$as_me: error: This is not GNU libtool" >&2;} 14902 17426 { (exit 1); exit 1; }; } 14903 17427 fi 14904 @@ -4614,7 +4 757,7 @@17428 @@ -4614,7 +4602,7 @@ 14905 17429 # special hack to add -no-undefined (which libtool should do for itself) 14906 17430 LT_UNDEF= … … 14911 17435 ;; 14912 17436 esac 14913 @@ -4642,7 +4 785,7 @@17437 @@ -4642,7 +4630,7 @@ 14914 17438 14915 17439 else 14916 17440 14917 17441 -echo "$as_me:4645: checking if you want to build shared libraries" >&5 14918 +echo "$as_me:4 788: checking if you want to build shared libraries" >&517442 +echo "$as_me:4633: checking if you want to build shared libraries" >&5 14919 17443 echo $ECHO_N "checking if you want to build shared libraries... $ECHO_C" >&6 14920 17444 14921 17445 # Check whether --with-shared or --without-shared was given. 14922 @@ -4652,11 +4 795,11 @@17446 @@ -4652,11 +4640,11 @@ 14923 17447 else 14924 17448 with_shared=no 14925 17449 fi; 14926 17450 -echo "$as_me:4655: result: $with_shared" >&5 14927 +echo "$as_me:4 798: result: $with_shared" >&517451 +echo "$as_me:4643: result: $with_shared" >&5 14928 17452 echo "${ECHO_T}$with_shared" >&6 14929 17453 test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared" 14930 17454 14931 17455 -echo "$as_me:4659: checking if you want to build static libraries" >&5 14932 +echo "$as_me:4 802: checking if you want to build static libraries" >&517456 +echo "$as_me:4647: checking if you want to build static libraries" >&5 14933 17457 echo $ECHO_N "checking if you want to build static libraries... $ECHO_C" >&6 14934 17458 14935 17459 # Check whether --with-normal or --without-normal was given. 14936 @@ -4666,11 +4 809,11 @@17460 @@ -4666,11 +4654,11 @@ 14937 17461 else 14938 17462 with_normal=yes 14939 17463 fi; 14940 17464 -echo "$as_me:4669: result: $with_normal" >&5 14941 +echo "$as_me:4 812: result: $with_normal" >&517465 +echo "$as_me:4657: result: $with_normal" >&5 14942 17466 echo "${ECHO_T}$with_normal" >&6 14943 17467 test "$with_normal" = "yes" && cf_list_models="$cf_list_models normal" 14944 17468 14945 17469 -echo "$as_me:4673: checking if you want to build debug libraries" >&5 14946 +echo "$as_me:4 816: checking if you want to build debug libraries" >&517470 +echo "$as_me:4661: checking if you want to build debug libraries" >&5 14947 17471 echo $ECHO_N "checking if you want to build debug libraries... $ECHO_C" >&6 14948 17472 14949 17473 # Check whether --with-debug or --without-debug was given. 14950 @@ -4680,11 +4 823,11 @@17474 @@ -4680,11 +4668,11 @@ 14951 17475 else 14952 17476 with_debug=yes 14953 17477 fi; 14954 17478 -echo "$as_me:4683: result: $with_debug" >&5 14955 +echo "$as_me:4 826: result: $with_debug" >&517479 +echo "$as_me:4671: result: $with_debug" >&5 14956 17480 echo "${ECHO_T}$with_debug" >&6 14957 17481 test "$with_debug" = "yes" && cf_list_models="$cf_list_models debug" 14958 17482 14959 17483 -echo "$as_me:4687: checking if you want to build profiling libraries" >&5 14960 +echo "$as_me:4 830: checking if you want to build profiling libraries" >&517484 +echo "$as_me:4675: checking if you want to build profiling libraries" >&5 14961 17485 echo $ECHO_N "checking if you want to build profiling libraries... $ECHO_C" >&6 14962 17486 14963 17487 # Check whether --with-profile or --without-profile was given. 14964 @@ -4694,7 +4 837,7 @@17488 @@ -4694,7 +4682,7 @@ 14965 17489 else 14966 17490 with_profile=no 14967 17491 fi; 14968 17492 -echo "$as_me:4697: result: $with_profile" >&5 14969 +echo "$as_me:4 840: result: $with_profile" >&517493 +echo "$as_me:4685: result: $with_profile" >&5 14970 17494 echo "${ECHO_T}$with_profile" >&6 14971 17495 test "$with_profile" = "yes" && cf_list_models="$cf_list_models profile" 14972 17496 14973 @@ -4702,19 +4 845,19 @@17497 @@ -4702,19 +4690,19 @@ 14974 17498 14975 17499 ############################################################################### 14976 17500 14977 17501 -echo "$as_me:4705: checking for specified models" >&5 14978 +echo "$as_me:4 848: checking for specified models" >&517502 +echo "$as_me:4693: checking for specified models" >&5 14979 17503 echo $ECHO_N "checking for specified models... $ECHO_C" >&6 14980 17504 test -z "$cf_list_models" && cf_list_models=normal 14981 17505 test "$with_libtool" != "no" && cf_list_models=libtool 14982 17506 -echo "$as_me:4709: result: $cf_list_models" >&5 14983 +echo "$as_me:4 852: result: $cf_list_models" >&517507 +echo "$as_me:4697: result: $cf_list_models" >&5 14984 17508 echo "${ECHO_T}$cf_list_models" >&6 14985 17509 … … 14987 17511 ### up test-applications. 14988 17512 -echo "$as_me:4714: checking for default model" >&5 14989 +echo "$as_me:4 857: checking for default model" >&517513 +echo "$as_me:4702: checking for default model" >&5 14990 17514 echo $ECHO_N "checking for default model... $ECHO_C" >&6 14991 17515 DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` 14992 17516 -echo "$as_me:4717: result: $DFT_LWR_MODEL" >&5 14993 +echo "$as_me:4 860: result: $DFT_LWR_MODEL" >&517517 +echo "$as_me:4705: result: $DFT_LWR_MODEL" >&5 14994 17518 echo "${ECHO_T}$DFT_LWR_MODEL" >&6 14995 17519 14996 17520 DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` 14997 @@ -4728,6 +4 871,22 @@17521 @@ -4728,6 +4716,22 @@ 14998 17522 LIB_DIR=../lib 14999 17523 LIB_2ND=../../lib 15000 17524 15001 +echo "$as_me:4 874: checking if you want to have a library-prefix" >&517525 +echo "$as_me:4719: checking if you want to have a library-prefix" >&5 15002 17526 +echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 15003 17527 + … … 15009 17533 + with_lib_prefix=auto 15010 17534 +fi; 15011 +echo "$as_me:4 884: result: $with_lib_prefix" >&517535 +echo "$as_me:4729: result: $with_lib_prefix" >&5 15012 17536 +echo "${ECHO_T}$with_lib_prefix" >&6 15013 17537 + … … 15018 17542 OS/2*|os2*) #(vi 15019 17543 LIB_PREFIX='' 15020 @@ -4737,13 +4 896,18 @@17544 @@ -4737,13 +4741,18 @@ 15021 17545 esac 15022 17546 cf_prefix=$LIB_PREFIX … … 15035 17559 15036 17560 -echo "$as_me:4746: checking if you want to build a separate terminfo library" >&5 15037 +echo "$as_me:4 910: checking if you want to build a separate terminfo library" >&517561 +echo "$as_me:4755: checking if you want to build a separate terminfo library" >&5 15038 17562 echo $ECHO_N "checking if you want to build a separate terminfo library... $ECHO_C" >&6 15039 17563 15040 17564 # Check whether --with-termlib or --without-termlib was given. 15041 @@ -4753,10 +4 917,10 @@17565 @@ -4753,10 +4762,10 @@ 15042 17566 else 15043 17567 with_termlib=no 15044 17568 fi; 15045 17569 -echo "$as_me:4756: result: $with_termlib" >&5 15046 +echo "$as_me:4 920: result: $with_termlib" >&517570 +echo "$as_me:4765: result: $with_termlib" >&5 15047 17571 echo "${ECHO_T}$with_termlib" >&6 15048 17572 15049 17573 -echo "$as_me:4759: checking if you want to build a separate tic library" >&5 15050 +echo "$as_me:4 923: checking if you want to build a separate tic library" >&517574 +echo "$as_me:4768: checking if you want to build a separate tic library" >&5 15051 17575 echo $ECHO_N "checking if you want to build a separate tic library... $ECHO_C" >&6 15052 17576 15053 17577 # Check whether --with-ticlib or --without-ticlib was given. 15054 @@ -4766,13 +4 930,13 @@17578 @@ -4766,13 +4775,13 @@ 15055 17579 else 15056 17580 with_ticlib=no 15057 17581 fi; 15058 17582 -echo "$as_me:4769: result: $with_ticlib" >&5 15059 +echo "$as_me:4 933: result: $with_ticlib" >&517583 +echo "$as_me:4778: result: $with_ticlib" >&5 15060 17584 echo "${ECHO_T}$with_ticlib" >&6 15061 17585 … … 15064 17588 15065 17589 -echo "$as_me:4775: checking if you want to link with the GPM mouse library" >&5 15066 +echo "$as_me:4 939: checking if you want to link with the GPM mouse library" >&517590 +echo "$as_me:4784: checking if you want to link with the GPM mouse library" >&5 15067 17591 echo $ECHO_N "checking if you want to link with the GPM mouse library... $ECHO_C" >&6 15068 17592 15069 17593 # Check whether --with-gpm or --without-gpm was given. 15070 @@ -4782,27 +4 946,27 @@17594 @@ -4782,27 +4791,27 @@ 15071 17595 else 15072 17596 with_gpm=maybe 15073 17597 fi; 15074 17598 -echo "$as_me:4785: result: $with_gpm" >&5 15075 +echo "$as_me:4 949: result: $with_gpm" >&517599 +echo "$as_me:4794: result: $with_gpm" >&5 15076 17600 echo "${ECHO_T}$with_gpm" >&6 15077 17601 15078 17602 if test "$with_gpm" != no ; then 15079 17603 - echo "$as_me:4789: checking for gpm.h" >&5 15080 + echo "$as_me:4 953: checking for gpm.h" >&517604 + echo "$as_me:4798: checking for gpm.h" >&5 15081 17605 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6 15082 17606 if test "${ac_cv_header_gpm_h+set}" = set; then … … 15085 17609 cat >conftest.$ac_ext <<_ACEOF 15086 17610 -#line 4795 "configure" 15087 +#line 4 959"configure"17611 +#line 4804 "configure" 15088 17612 #include "confdefs.h" 15089 17613 #include <gpm.h> 15090 17614 _ACEOF 15091 17615 -if { (eval echo "$as_me:4799: \"$ac_cpp conftest.$ac_ext\"") >&5 15092 +if { (eval echo "$as_me:4 963: \"$ac_cpp conftest.$ac_ext\"") >&517616 +if { (eval echo "$as_me:4808: \"$ac_cpp conftest.$ac_ext\"") >&5 15093 17617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15094 17618 ac_status=$? … … 15097 17621 cat conftest.err >&5 15098 17622 - echo "$as_me:4805: \$? = $ac_status" >&5 15099 + echo "$as_me:4 969: \$? = $ac_status" >&517623 + echo "$as_me:4814: \$? = $ac_status" >&5 15100 17624 (exit $ac_status); } >/dev/null; then 15101 17625 if test -s conftest.err; then 15102 17626 ac_cpp_err=$ac_c_preproc_warn_flag 15103 @@ -4821,7 +4 985,7 @@17627 @@ -4821,7 +4830,7 @@ 15104 17628 fi 15105 17629 rm -f conftest.err conftest.$ac_ext 15106 17630 fi 15107 17631 -echo "$as_me:4824: result: $ac_cv_header_gpm_h" >&5 15108 +echo "$as_me:4 988: result: $ac_cv_header_gpm_h" >&517632 +echo "$as_me:4833: result: $ac_cv_header_gpm_h" >&5 15109 17633 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6 15110 17634 if test $ac_cv_header_gpm_h = yes; then 15111 17635 15112 @@ -4832,14 +4 996,14 @@17636 @@ -4832,14 +4841,14 @@ 15113 17637 if test "$with_gpm" != yes && test "$with_gpm" != maybe ; then 15114 17638 test -n "$verbose" && echo " assuming we really have GPM library" 1>&6 15115 17639 15116 17640 -echo "${as_me:-configure}:4835: testing assuming we really have GPM library ..." 1>&5 15117 +echo "${as_me:-configure}:4 999: testing assuming we really have GPM library ..." 1>&517641 +echo "${as_me:-configure}:4844: testing assuming we really have GPM library ..." 1>&5 15118 17642 15119 17643 cat >>confdefs.h <<\EOF … … 15123 17647 else 15124 17648 - echo "$as_me:4842: checking for Gpm_Open in -lgpm" >&5 15125 + echo "$as_me: 5006: checking for Gpm_Open in -lgpm" >&517649 + echo "$as_me:4851: checking for Gpm_Open in -lgpm" >&5 15126 17650 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 15127 17651 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 15128 17652 echo $ECHO_N "(cached) $ECHO_C" >&6 15129 @@ -4847,7 + 5011,7 @@17653 @@ -4847,7 +4856,7 @@ 15130 17654 ac_check_lib_save_LIBS=$LIBS 15131 17655 LIBS="-lgpm $LIBS" 15132 17656 cat >conftest.$ac_ext <<_ACEOF 15133 17657 -#line 4850 "configure" 15134 +#line 5014"configure"17658 +#line 4859 "configure" 15135 17659 #include "confdefs.h" 15136 17660 15137 17661 /* Override any gcc2 internal prototype to avoid an error. */ 15138 @@ -4866,16 + 5030,16 @@17662 @@ -4866,16 +4875,16 @@ 15139 17663 } 15140 17664 _ACEOF 15141 17665 rm -f conftest.$ac_objext conftest$ac_exeext 15142 17666 -if { (eval echo "$as_me:4869: \"$ac_link\"") >&5 15143 +if { (eval echo "$as_me: 5033: \"$ac_link\"") >&517667 +if { (eval echo "$as_me:4878: \"$ac_link\"") >&5 15144 17668 (eval $ac_link) 2>&5 15145 17669 ac_status=$? 15146 17670 - echo "$as_me:4872: \$? = $ac_status" >&5 15147 + echo "$as_me: 5036: \$? = $ac_status" >&517671 + echo "$as_me:4881: \$? = $ac_status" >&5 15148 17672 (exit $ac_status); } && 15149 17673 { ac_try='test -s conftest$ac_exeext' 15150 17674 - { (eval echo "$as_me:4875: \"$ac_try\"") >&5 15151 + { (eval echo "$as_me: 5039: \"$ac_try\"") >&517675 + { (eval echo "$as_me:4884: \"$ac_try\"") >&5 15152 17676 (eval $ac_try) 2>&5 15153 17677 ac_status=$? 15154 17678 - echo "$as_me:4878: \$? = $ac_status" >&5 15155 + echo "$as_me: 5042: \$? = $ac_status" >&517679 + echo "$as_me:4887: \$? = $ac_status" >&5 15156 17680 (exit $ac_status); }; }; then 15157 17681 ac_cv_lib_gpm_Gpm_Open=yes 15158 17682 else 15159 @@ -4886,13 + 5050,13 @@17683 @@ -4886,13 +4895,13 @@ 15160 17684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15161 17685 LIBS=$ac_check_lib_save_LIBS 15162 17686 fi 15163 17687 -echo "$as_me:4889: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15164 +echo "$as_me: 5053: result: $ac_cv_lib_gpm_Gpm_Open" >&517688 +echo "$as_me:4898: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15165 17689 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 15166 17690 if test $ac_cv_lib_gpm_Gpm_Open = yes; then … … 15169 17693 15170 17694 - { { echo "$as_me:4895: error: Cannot link with GPM library" >&5 15171 + { { echo "$as_me: 5059: error: Cannot link with GPM library" >&517695 + { { echo "$as_me:4904: error: Cannot link with GPM library" >&5 15172 17696 echo "$as_me: error: Cannot link with GPM library" >&2;} 15173 17697 { (exit 1); exit 1; }; } 15174 17698 fi 15175 @@ -4902,7 + 5066,7 @@17699 @@ -4902,7 +4911,7 @@ 15176 17700 15177 17701 else 15178 17702 15179 17703 - 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" >&517704 + test "$with_gpm" != maybe && { echo "$as_me:4914: WARNING: Cannot find GPM header" >&5 15181 17705 echo "$as_me: WARNING: Cannot find GPM header" >&2;} 15182 17706 with_gpm=no 15183 17707 15184 @@ -4911,7 + 5075,7 @@17708 @@ -4911,7 +4920,7 @@ 15185 17709 fi 15186 17710 15187 17711 if test "$with_gpm" != no ; then 15188 17712 - 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" >&517713 + echo "$as_me:4923: checking if you want to load GPM dynamically" >&5 15190 17714 echo $ECHO_N "checking if you want to load GPM dynamically... $ECHO_C" >&6 15191 17715 15192 17716 # Check whether --with-dlsym or --without-dlsym was given. 15193 @@ -4921,18 + 5085,18 @@17717 @@ -4921,18 +4930,18 @@ 15194 17718 else 15195 17719 with_dlsym=yes 15196 17720 fi; 15197 17721 - echo "$as_me:4924: result: $with_dlsym" >&5 15198 + echo "$as_me: 5088: result: $with_dlsym" >&517722 + echo "$as_me:4933: result: $with_dlsym" >&5 15199 17723 echo "${ECHO_T}$with_dlsym" >&6 15200 17724 if test "$with_dlsym" = yes ; then … … 15202 17726 cf_have_dlsym=no 15203 17727 -echo "$as_me:4929: checking for dlsym" >&5 15204 +echo "$as_me: 5093: checking for dlsym" >&517728 +echo "$as_me:4938: checking for dlsym" >&5 15205 17729 echo $ECHO_N "checking for dlsym... $ECHO_C" >&6 15206 17730 if test "${ac_cv_func_dlsym+set}" = set; then … … 15209 17733 cat >conftest.$ac_ext <<_ACEOF 15210 17734 -#line 4935 "configure" 15211 +#line 5099"configure"17735 +#line 4944 "configure" 15212 17736 #include "confdefs.h" 15213 17737 /* System header to define __stub macros and hopefully few prototypes, 15214 17738 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 @@ 15216 17749 } 15217 17750 _ACEOF 15218 17751 rm -f conftest.$ac_objext conftest$ac_exeext 15219 17752 -if { (eval echo "$as_me:4966: \"$ac_link\"") >&5 15220 +if { (eval echo "$as_me: 5130: \"$ac_link\"") >&517753 +if { (eval echo "$as_me:4975: \"$ac_link\"") >&5 15221 17754 (eval $ac_link) 2>&5 15222 17755 ac_status=$? 15223 17756 - echo "$as_me:4969: \$? = $ac_status" >&5 15224 + echo "$as_me: 5133: \$? = $ac_status" >&517757 + echo "$as_me:4978: \$? = $ac_status" >&5 15225 17758 (exit $ac_status); } && 15226 17759 { ac_try='test -s conftest$ac_exeext' 15227 17760 - { (eval echo "$as_me:4972: \"$ac_try\"") >&5 15228 + { (eval echo "$as_me: 5136: \"$ac_try\"") >&517761 + { (eval echo "$as_me:4981: \"$ac_try\"") >&5 15229 17762 (eval $ac_try) 2>&5 15230 17763 ac_status=$? 15231 17764 - echo "$as_me:4975: \$? = $ac_status" >&5 15232 + echo "$as_me: 5139: \$? = $ac_status" >&517765 + echo "$as_me:4984: \$? = $ac_status" >&5 15233 17766 (exit $ac_status); }; }; then 15234 17767 ac_cv_func_dlsym=yes 15235 17768 else 15236 @@ -4982,14 + 5146,14 @@17769 @@ -4982,14 +4991,14 @@ 15237 17770 fi 15238 17771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15239 17772 fi 15240 17773 -echo "$as_me:4985: result: $ac_cv_func_dlsym" >&5 15241 +echo "$as_me: 5149: result: $ac_cv_func_dlsym" >&517774 +echo "$as_me:4994: result: $ac_cv_func_dlsym" >&5 15242 17775 echo "${ECHO_T}$ac_cv_func_dlsym" >&6 15243 17776 if test $ac_cv_func_dlsym = yes; then … … 15247 17780 cf_have_libdl=no 15248 17781 -echo "$as_me:4992: checking for dlsym in -ldl" >&5 15249 +echo "$as_me:5 156: checking for dlsym in -ldl" >&517782 +echo "$as_me:5001: checking for dlsym in -ldl" >&5 15250 17783 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 15251 17784 if test "${ac_cv_lib_dl_dlsym+set}" = set; then 15252 17785 echo $ECHO_N "(cached) $ECHO_C" >&6 15253 @@ -4997,7 +5 161,7 @@17786 @@ -4997,7 +5006,7 @@ 15254 17787 ac_check_lib_save_LIBS=$LIBS 15255 17788 LIBS="-ldl $LIBS" 15256 17789 cat >conftest.$ac_ext <<_ACEOF 15257 17790 -#line 5000 "configure" 15258 +#line 5 164"configure"17791 +#line 5009 "configure" 15259 17792 #include "confdefs.h" 15260 17793 15261 17794 /* Override any gcc2 internal prototype to avoid an error. */ 15262 @@ -5016,16 +5 180,16 @@17795 @@ -5016,16 +5025,16 @@ 15263 17796 } 15264 17797 _ACEOF 15265 17798 rm -f conftest.$ac_objext conftest$ac_exeext 15266 17799 -if { (eval echo "$as_me:5019: \"$ac_link\"") >&5 15267 +if { (eval echo "$as_me:5 183: \"$ac_link\"") >&517800 +if { (eval echo "$as_me:5028: \"$ac_link\"") >&5 15268 17801 (eval $ac_link) 2>&5 15269 17802 ac_status=$? 15270 17803 - echo "$as_me:5022: \$? = $ac_status" >&5 15271 + echo "$as_me:5 186: \$? = $ac_status" >&517804 + echo "$as_me:5031: \$? = $ac_status" >&5 15272 17805 (exit $ac_status); } && 15273 17806 { ac_try='test -s conftest$ac_exeext' 15274 17807 - { (eval echo "$as_me:5025: \"$ac_try\"") >&5 15275 + { (eval echo "$as_me:5 189: \"$ac_try\"") >&517808 + { (eval echo "$as_me:5034: \"$ac_try\"") >&5 15276 17809 (eval $ac_try) 2>&5 15277 17810 ac_status=$? 15278 17811 - echo "$as_me:5028: \$? = $ac_status" >&5 15279 + echo "$as_me:5 192: \$? = $ac_status" >&517812 + echo "$as_me:5037: \$? = $ac_status" >&5 15280 17813 (exit $ac_status); }; }; then 15281 17814 ac_cv_lib_dl_dlsym=yes 15282 17815 else 15283 @@ -5036,7 +5 200,7 @@17816 @@ -5036,7 +5045,7 @@ 15284 17817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15285 17818 LIBS=$ac_check_lib_save_LIBS 15286 17819 fi 15287 17820 -echo "$as_me:5039: result: $ac_cv_lib_dl_dlsym" >&5 15288 +echo "$as_me:5 203: result: $ac_cv_lib_dl_dlsym" >&517821 +echo "$as_me:5048: result: $ac_cv_lib_dl_dlsym" >&5 15289 17822 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 15290 17823 if test $ac_cv_lib_dl_dlsym = yes; then 15291 17824 15292 @@ -5049,10 +5 213,10 @@17825 @@ -5049,10 +5058,10 @@ 15293 17826 if test "$cf_have_dlsym" = yes ; then 15294 17827 test "$cf_have_libdl" = yes && LIBS="-ldl $LIBS" 15295 17828 15296 17829 - echo "$as_me:5052: checking whether able to link to dl*() functions" >&5 15297 + echo "$as_me:5 216: checking whether able to link to dl*() functions" >&517830 + echo "$as_me:5061: checking whether able to link to dl*() functions" >&5 15298 17831 echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6 15299 17832 cat >conftest.$ac_ext <<_ACEOF 15300 17833 -#line 5055 "configure" 15301 +#line 5 219"configure"17834 +#line 5064 "configure" 15302 17835 #include "confdefs.h" 15303 17836 #include <dlfcn.h> 15304 17837 int 15305 @@ -5070,16 +5 234,16 @@17838 @@ -5070,16 +5079,16 @@ 15306 17839 } 15307 17840 _ACEOF 15308 17841 rm -f conftest.$ac_objext conftest$ac_exeext 15309 17842 -if { (eval echo "$as_me:5073: \"$ac_link\"") >&5 15310 +if { (eval echo "$as_me:5 237: \"$ac_link\"") >&517843 +if { (eval echo "$as_me:5082: \"$ac_link\"") >&5 15311 17844 (eval $ac_link) 2>&5 15312 17845 ac_status=$? 15313 17846 - echo "$as_me:5076: \$? = $ac_status" >&5 15314 + echo "$as_me:5 240: \$? = $ac_status" >&517847 + echo "$as_me:5085: \$? = $ac_status" >&5 15315 17848 (exit $ac_status); } && 15316 17849 { ac_try='test -s conftest$ac_exeext' 15317 17850 - { (eval echo "$as_me:5079: \"$ac_try\"") >&5 15318 + { (eval echo "$as_me:5 243: \"$ac_try\"") >&517851 + { (eval echo "$as_me:5088: \"$ac_try\"") >&5 15319 17852 (eval $ac_try) 2>&5 15320 17853 ac_status=$? 15321 17854 - echo "$as_me:5082: \$? = $ac_status" >&5 15322 + echo "$as_me:5 246: \$? = $ac_status" >&517855 + echo "$as_me:5091: \$? = $ac_status" >&5 15323 17856 (exit $ac_status); }; }; then 15324 17857 15325 17858 cat >>confdefs.h <<\EOF 15326 @@ -5090,15 +5 254,15 @@17859 @@ -5090,15 +5099,15 @@ 15327 17860 echo "$as_me: failed program was:" >&5 15328 17861 cat conftest.$ac_ext >&5 15329 17862 15330 17863 - { { echo "$as_me:5093: error: Cannot link test program for libdl" >&5 15331 + { { echo "$as_me:5 257: error: Cannot link test program for libdl" >&517864 + { { echo "$as_me:5102: error: Cannot link test program for libdl" >&5 15332 17865 echo "$as_me: error: Cannot link test program for libdl" >&2;} 15333 17866 { (exit 1); exit 1; }; } … … 15335 17868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15336 17869 - echo "$as_me:5098: result: ok" >&5 15337 + echo "$as_me:5 262: result: ok" >&517870 + echo "$as_me:5107: result: ok" >&5 15338 17871 echo "${ECHO_T}ok" >&6 15339 17872 else 15340 17873 - { { echo "$as_me:5101: error: Cannot find dlsym function" >&5 15341 + { { echo "$as_me:5 265: error: Cannot find dlsym function" >&517874 + { { echo "$as_me:5110: error: Cannot find dlsym function" >&5 15342 17875 echo "$as_me: error: Cannot find dlsym function" >&2;} 15343 17876 { (exit 1); exit 1; }; } 15344 17877 fi 15345 @@ -5106,12 +5 270,12 @@17878 @@ -5106,12 +5115,12 @@ 15346 17879 if test "$with_gpm" != yes ; then 15347 17880 test -n "$verbose" && echo " assuming soname for gpm is $with_gpm" 1>&6 15348 17881 15349 17882 -echo "${as_me:-configure}:5109: testing assuming soname for gpm is $with_gpm ..." 1>&5 15350 +echo "${as_me:-configure}:5 273: testing assuming soname for gpm is $with_gpm ..." 1>&517883 +echo "${as_me:-configure}:5118: testing assuming soname for gpm is $with_gpm ..." 1>&5 15351 17884 15352 17885 cf_cv_gpm_soname="$with_gpm" … … 15354 17887 15355 17888 -echo "$as_me:5114: checking for soname of gpm library" >&5 15356 +echo "$as_me:5 278: checking for soname of gpm library" >&517889 +echo "$as_me:5123: checking for soname of gpm library" >&5 15357 17890 echo $ECHO_N "checking for soname of gpm library... $ECHO_C" >&6 15358 17891 if test "${cf_cv_gpm_soname+set}" = set; then 15359 17892 echo $ECHO_N "(cached) $ECHO_C" >&6 15360 @@ -5129,15 +5 293,15 @@17893 @@ -5129,15 +5138,15 @@ 15361 17894 CF_EOF 15362 17895 cf_save_LIBS="$LIBS" 15363 17896 LIBS="-lgpm $LIBS" 15364 17897 - if { (eval echo "$as_me:5132: \"$ac_compile\"") >&5 15365 + if { (eval echo "$as_me:5 296: \"$ac_compile\"") >&517898 + if { (eval echo "$as_me:5141: \"$ac_compile\"") >&5 15366 17899 (eval $ac_compile) 2>&5 15367 17900 ac_status=$? 15368 17901 - echo "$as_me:5135: \$? = $ac_status" >&5 15369 + echo "$as_me:5 299: \$? = $ac_status" >&517902 + echo "$as_me:5144: \$? = $ac_status" >&5 15370 17903 (exit $ac_status); } ; then 15371 17904 - if { (eval echo "$as_me:5137: \"$ac_link\"") >&5 15372 + if { (eval echo "$as_me:5 301: \"$ac_link\"") >&517905 + if { (eval echo "$as_me:5146: \"$ac_link\"") >&5 15373 17906 (eval $ac_link) 2>&5 15374 17907 ac_status=$? 15375 17908 - echo "$as_me:5140: \$? = $ac_status" >&5 15376 + echo "$as_me:5 304: \$? = $ac_status" >&517909 + echo "$as_me:5149: \$? = $ac_status" >&5 15377 17910 (exit $ac_status); } ; then 15378 17911 cf_cv_gpm_soname=`ldd conftest$ac_exeext 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | fgrep libgpm.` 15379 17912 test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown 15380 @@ -5148,7 +5 312,7 @@17913 @@ -5148,7 +5157,7 @@ 15381 17914 fi 15382 17915 15383 17916 fi 15384 17917 -echo "$as_me:5151: result: $cf_cv_gpm_soname" >&5 15385 +echo "$as_me:5 315: result: $cf_cv_gpm_soname" >&517918 +echo "$as_me:5160: result: $cf_cv_gpm_soname" >&5 15386 17919 echo "${ECHO_T}$cf_cv_gpm_soname" >&6 15387 17920 15388 17921 fi 15389 @@ -5165,7 +5 329,7 @@17922 @@ -5165,7 +5174,7 @@ 15390 17923 #define HAVE_LIBGPM 1 15391 17924 EOF 15392 17925 15393 17926 -echo "$as_me:5168: checking for Gpm_Wgetch in -lgpm" >&5 15394 +echo "$as_me:5 332: checking for Gpm_Wgetch in -lgpm" >&517927 +echo "$as_me:5177: checking for Gpm_Wgetch in -lgpm" >&5 15395 17928 echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6 15396 17929 if test "${ac_cv_lib_gpm_Gpm_Wgetch+set}" = set; then 15397 17930 echo $ECHO_N "(cached) $ECHO_C" >&6 15398 @@ -5173,7 +5 337,7 @@17931 @@ -5173,7 +5182,7 @@ 15399 17932 ac_check_lib_save_LIBS=$LIBS 15400 17933 LIBS="-lgpm $LIBS" 15401 17934 cat >conftest.$ac_ext <<_ACEOF 15402 17935 -#line 5176 "configure" 15403 +#line 5 340"configure"17936 +#line 5185 "configure" 15404 17937 #include "confdefs.h" 15405 17938 15406 17939 /* Override any gcc2 internal prototype to avoid an error. */ 15407 @@ -5192,16 +5 356,16 @@17940 @@ -5192,16 +5201,16 @@ 15408 17941 } 15409 17942 _ACEOF 15410 17943 rm -f conftest.$ac_objext conftest$ac_exeext 15411 17944 -if { (eval echo "$as_me:5195: \"$ac_link\"") >&5 15412 +if { (eval echo "$as_me:5 359: \"$ac_link\"") >&517945 +if { (eval echo "$as_me:5204: \"$ac_link\"") >&5 15413 17946 (eval $ac_link) 2>&5 15414 17947 ac_status=$? 15415 17948 - echo "$as_me:5198: \$? = $ac_status" >&5 15416 + echo "$as_me:5 362: \$? = $ac_status" >&517949 + echo "$as_me:5207: \$? = $ac_status" >&5 15417 17950 (exit $ac_status); } && 15418 17951 { ac_try='test -s conftest$ac_exeext' 15419 17952 - { (eval echo "$as_me:5201: \"$ac_try\"") >&5 15420 + { (eval echo "$as_me:5 365: \"$ac_try\"") >&517953 + { (eval echo "$as_me:5210: \"$ac_try\"") >&5 15421 17954 (eval $ac_try) 2>&5 15422 17955 ac_status=$? 15423 17956 - echo "$as_me:5204: \$? = $ac_status" >&5 15424 + echo "$as_me:5 368: \$? = $ac_status" >&517957 + echo "$as_me:5213: \$? = $ac_status" >&5 15425 17958 (exit $ac_status); }; }; then 15426 17959 ac_cv_lib_gpm_Gpm_Wgetch=yes 15427 17960 else 15428 @@ -5212,11 +5 376,11 @@17961 @@ -5212,11 +5221,11 @@ 15429 17962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15430 17963 LIBS=$ac_check_lib_save_LIBS 15431 17964 fi 15432 17965 -echo "$as_me:5215: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 15433 +echo "$as_me:5 379: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&517966 +echo "$as_me:5224: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 15434 17967 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Wgetch" >&6 15435 17968 if test $ac_cv_lib_gpm_Gpm_Wgetch = yes; then 15436 17969 15437 17970 -echo "$as_me:5219: checking if GPM is weakly bound to curses library" >&5 15438 +echo "$as_me:5 383: checking if GPM is weakly bound to curses library" >&517971 +echo "$as_me:5228: checking if GPM is weakly bound to curses library" >&5 15439 17972 echo $ECHO_N "checking if GPM is weakly bound to curses library... $ECHO_C" >&6 15440 17973 if test "${cf_cv_check_gpm_wgetch+set}" = set; then 15441 17974 echo $ECHO_N "(cached) $ECHO_C" >&6 15442 @@ -5240,15 +5 404,15 @@17975 @@ -5240,15 +5249,15 @@ 15443 17976 # to rely on the static library, noting that some packagers may not 15444 17977 # include it. 15445 17978 LIBS="-static -lgpm -dynamic $LIBS" 15446 17979 - if { (eval echo "$as_me:5243: \"$ac_compile\"") >&5 15447 + if { (eval echo "$as_me:5 407: \"$ac_compile\"") >&517980 + if { (eval echo "$as_me:5252: \"$ac_compile\"") >&5 15448 17981 (eval $ac_compile) 2>&5 15449 17982 ac_status=$? 15450 17983 - echo "$as_me:5246: \$? = $ac_status" >&5 15451 + echo "$as_me:5 410: \$? = $ac_status" >&517984 + echo "$as_me:5255: \$? = $ac_status" >&5 15452 17985 (exit $ac_status); } ; then 15453 17986 - if { (eval echo "$as_me:5248: \"$ac_link\"") >&5 15454 + if { (eval echo "$as_me:5 412: \"$ac_link\"") >&517987 + if { (eval echo "$as_me:5257: \"$ac_link\"") >&5 15455 17988 (eval $ac_link) 2>&5 15456 17989 ac_status=$? 15457 17990 - echo "$as_me:5251: \$? = $ac_status" >&5 15458 + echo "$as_me:5 415: \$? = $ac_status" >&517991 + echo "$as_me:5260: \$? = $ac_status" >&5 15459 17992 (exit $ac_status); } ; then 15460 17993 cf_cv_check_gpm_wgetch=`nm conftest$ac_exeext | egrep '\<wgetch\>' | egrep '\<[vVwW]\>'` 15461 17994 test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes 15462 @@ -5260,11 +5 424,11 @@17995 @@ -5260,11 +5269,11 @@ 15463 17996 fi 15464 17997 15465 17998 fi 15466 17999 -echo "$as_me:5263: result: $cf_cv_check_gpm_wgetch" >&5 15467 +echo "$as_me:5 427: result: $cf_cv_check_gpm_wgetch" >&518000 +echo "$as_me:5272: result: $cf_cv_check_gpm_wgetch" >&5 15468 18001 echo "${ECHO_T}$cf_cv_check_gpm_wgetch" >&6 15469 18002 15470 18003 if test "$cf_cv_check_gpm_wgetch" != yes ; then 15471 18004 - { echo "$as_me:5267: WARNING: GPM library is already linked with curses - read the FAQ" >&5 15472 + { echo "$as_me:5 431: WARNING: GPM library is already linked with curses - read the FAQ" >&518005 + { echo "$as_me:5276: WARNING: GPM library is already linked with curses - read the FAQ" >&5 15473 18006 echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;} 15474 18007 fi 15475 18008 15476 @@ -5274,7 +5 438,7 @@18009 @@ -5274,7 +5283,7 @@ 15477 18010 15478 18011 # not everyone has "test -c" 15479 18012 if test -c /dev/sysmouse 2>/dev/null ; then 15480 18013 -echo "$as_me:5277: checking if you want to use sysmouse" >&5 15481 +echo "$as_me:5 441: checking if you want to use sysmouse" >&518014 +echo "$as_me:5286: checking if you want to use sysmouse" >&5 15482 18015 echo $ECHO_N "checking if you want to use sysmouse... $ECHO_C" >&6 15483 18016 15484 18017 # Check whether --with-sysmouse or --without-sysmouse was given. 15485 @@ -5286,7 +5 450,7 @@18018 @@ -5286,7 +5295,7 @@ 15486 18019 fi; 15487 18020 if test "$cf_with_sysmouse" != no ; then 15488 18021 cat >conftest.$ac_ext <<_ACEOF 15489 18022 -#line 5289 "configure" 15490 +#line 5 453"configure"18023 +#line 5298 "configure" 15491 18024 #include "confdefs.h" 15492 18025 15493 18026 #include <osreldate.h> 15494 @@ -5309,16 +5 473,16 @@18027 @@ -5309,16 +5318,16 @@ 15495 18028 } 15496 18029 _ACEOF 15497 18030 rm -f conftest.$ac_objext 15498 18031 -if { (eval echo "$as_me:5312: \"$ac_compile\"") >&5 15499 +if { (eval echo "$as_me:5 476: \"$ac_compile\"") >&518032 +if { (eval echo "$as_me:5321: \"$ac_compile\"") >&5 15500 18033 (eval $ac_compile) 2>&5 15501 18034 ac_status=$? 15502 18035 - echo "$as_me:5315: \$? = $ac_status" >&5 15503 + echo "$as_me:5 479: \$? = $ac_status" >&518036 + echo "$as_me:5324: \$? = $ac_status" >&5 15504 18037 (exit $ac_status); } && 15505 18038 { ac_try='test -s conftest.$ac_objext' 15506 18039 - { (eval echo "$as_me:5318: \"$ac_try\"") >&5 15507 + { (eval echo "$as_me:5 482: \"$ac_try\"") >&518040 + { (eval echo "$as_me:5327: \"$ac_try\"") >&5 15508 18041 (eval $ac_try) 2>&5 15509 18042 ac_status=$? 15510 18043 - echo "$as_me:5321: \$? = $ac_status" >&5 15511 + echo "$as_me:5 485: \$? = $ac_status" >&518044 + echo "$as_me:5330: \$? = $ac_status" >&5 15512 18045 (exit $ac_status); }; }; then 15513 18046 cf_with_sysmouse=yes 15514 18047 else 15515 @@ -5328,7 +5 492,7 @@18048 @@ -5328,7 +5337,7 @@ 15516 18049 fi 15517 18050 rm -f conftest.$ac_objext conftest.$ac_ext 15518 18051 fi 15519 18052 -echo "$as_me:5331: result: $cf_with_sysmouse" >&5 15520 +echo "$as_me:5 495: result: $cf_with_sysmouse" >&518053 +echo "$as_me:5340: result: $cf_with_sysmouse" >&5 15521 18054 echo "${ECHO_T}$cf_with_sysmouse" >&6 15522 18055 test "$cf_with_sysmouse" = yes && cat >>confdefs.h <<\EOF 15523 18056 #define USE_SYSMOUSE 1 15524 @@ -5346,7 +5 510,7 @@18057 @@ -5346,7 +5355,7 @@ 15525 18058 test -n "$GXX" && test "${ac_cv_prog_cxx_g}" != yes && CXX_G_OPT='' 15526 18059 fi 15527 18060 15528 18061 -echo "$as_me:5349: checking for default loader flags" >&5 15529 +echo "$as_me:5 513: checking for default loader flags" >&518062 +echo "$as_me:5358: checking for default loader flags" >&5 15530 18063 echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 15531 18064 case $DFT_LWR_MODEL in 15532 18065 libtool) LD_MODEL='' ;; 15533 @@ -5355,13 +5 519,13 @@18066 @@ -5355,13 +5364,13 @@ 15534 18067 profile) LD_MODEL='-pg';; 15535 18068 shared) LD_MODEL='' ;; 15536 18069 esac 15537 18070 -echo "$as_me:5358: result: $LD_MODEL" >&5 15538 +echo "$as_me:5 522: result: $LD_MODEL" >&518071 +echo "$as_me:5367: result: $LD_MODEL" >&5 15539 18072 echo "${ECHO_T}$LD_MODEL" >&6 15540 18073 … … 15543 18076 15544 18077 -echo "$as_me:5364: checking if rpath option should be used" >&5 15545 +echo "$as_me:5 528: checking if rpath option should be used" >&518078 +echo "$as_me:5373: checking if rpath option should be used" >&5 15546 18079 echo $ECHO_N "checking if rpath option should be used... $ECHO_C" >&6 15547 18080 15548 18081 # Check whether --enable-rpath or --disable-rpath was given. 15549 @@ -5371,10 +5 535,10 @@18082 @@ -5371,10 +5380,10 @@ 15550 18083 else 15551 18084 cf_cv_enable_rpath=no 15552 18085 fi; 15553 18086 -echo "$as_me:5374: result: $cf_cv_enable_rpath" >&5 15554 +echo "$as_me:5 538: result: $cf_cv_enable_rpath" >&518087 +echo "$as_me:5383: result: $cf_cv_enable_rpath" >&5 15555 18088 echo "${ECHO_T}$cf_cv_enable_rpath" >&6 15556 18089 15557 18090 -echo "$as_me:5377: checking if shared libraries should be relinked during install" >&5 15558 +echo "$as_me:5 541: checking if shared libraries should be relinked during install" >&518091 +echo "$as_me:5386: checking if shared libraries should be relinked during install" >&5 15559 18092 echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6 15560 18093 15561 18094 # Check whether --enable-relink or --disable-relink was given. 15562 @@ -5384,13 +5 548,13 @@18095 @@ -5384,13 +5393,13 @@ 15563 18096 else 15564 18097 cf_cv_do_relink=yes 15565 18098 fi; 15566 18099 -echo "$as_me:5387: result: $cf_cv_do_relink" >&5 15567 +echo "$as_me:5 551: result: $cf_cv_do_relink" >&518100 +echo "$as_me:5396: result: $cf_cv_do_relink" >&5 15568 18101 echo "${ECHO_T}$cf_cv_do_relink" >&6 15569 18102 ;; … … 15572 18105 LD_RPATH_OPT= 15573 18106 -echo "$as_me:5393: checking for an rpath option" >&5 15574 +echo "$as_me:5 557: checking for an rpath option" >&518107 +echo "$as_me:5402: checking for an rpath option" >&5 15575 18108 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 15576 18109 case $cf_cv_system_name in #(vi 15577 18110 irix*) #(vi 15578 @@ -5403,10 +5 567,10 @@18111 @@ -5403,10 +5412,10 @@ 15579 18112 linux*|gnu*|k*bsd*-gnu) #(vi 15580 18113 LD_RPATH_OPT="-Wl,-rpath," … … 15589 18122 ;; 15590 18123 netbsd*) #(vi 15591 @@ -5421,17 +5 585,17 @@18124 @@ -5421,17 +5430,17 @@ 15592 18125 *) 15593 18126 ;; 15594 18127 esac 15595 18128 -echo "$as_me:5424: result: $LD_RPATH_OPT" >&5 15596 +echo "$as_me:5 588: result: $LD_RPATH_OPT" >&518129 +echo "$as_me:5433: result: $LD_RPATH_OPT" >&5 15597 18130 echo "${ECHO_T}$LD_RPATH_OPT" >&6 15598 18131 … … 15600 18133 x-R*) 15601 18134 - echo "$as_me:5429: checking if we need a space after rpath option" >&5 15602 + echo "$as_me:5 593: checking if we need a space after rpath option" >&518135 + echo "$as_me:5438: checking if we need a space after rpath option" >&5 15603 18136 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6 15604 18137 cf_save_LIBS="$LIBS" … … 15606 18139 cat >conftest.$ac_ext <<_ACEOF 15607 18140 -#line 5434 "configure" 15608 +#line 5 598"configure"18141 +#line 5443 "configure" 15609 18142 #include "confdefs.h" 15610 18143 15611 18144 int 15612 @@ -5443,16 +5 607,16 @@18145 @@ -5443,16 +5452,16 @@ 15613 18146 } 15614 18147 _ACEOF 15615 18148 rm -f conftest.$ac_objext conftest$ac_exeext 15616 18149 -if { (eval echo "$as_me:5446: \"$ac_link\"") >&5 15617 +if { (eval echo "$as_me:5 610: \"$ac_link\"") >&518150 +if { (eval echo "$as_me:5455: \"$ac_link\"") >&5 15618 18151 (eval $ac_link) 2>&5 15619 18152 ac_status=$? 15620 18153 - echo "$as_me:5449: \$? = $ac_status" >&5 15621 + echo "$as_me:5 613: \$? = $ac_status" >&518154 + echo "$as_me:5458: \$? = $ac_status" >&5 15622 18155 (exit $ac_status); } && 15623 18156 { ac_try='test -s conftest$ac_exeext' 15624 18157 - { (eval echo "$as_me:5452: \"$ac_try\"") >&5 15625 + { (eval echo "$as_me:5 616: \"$ac_try\"") >&518158 + { (eval echo "$as_me:5461: \"$ac_try\"") >&5 15626 18159 (eval $ac_try) 2>&5 15627 18160 ac_status=$? 15628 18161 - echo "$as_me:5455: \$? = $ac_status" >&5 15629 + echo "$as_me:5 619: \$? = $ac_status" >&518162 + echo "$as_me:5464: \$? = $ac_status" >&5 15630 18163 (exit $ac_status); }; }; then 15631 18164 cf_rpath_space=no 15632 18165 else 15633 @@ -5462,7 +5 626,7 @@18166 @@ -5462,7 +5471,7 @@ 15634 18167 fi 15635 18168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15636 18169 LIBS="$cf_save_LIBS" 15637 18170 - echo "$as_me:5465: result: $cf_rpath_space" >&5 15638 + echo "$as_me:5 629: result: $cf_rpath_space" >&518171 + echo "$as_me:5474: result: $cf_rpath_space" >&5 15639 18172 echo "${ECHO_T}$cf_rpath_space" >&6 15640 18173 test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " 15641 18174 ;; 15642 @@ -5477,7 +5 641,7 @@18175 @@ -5477,7 +5486,7 @@ 15643 18176 cf_ld_rpath_opt= 15644 18177 test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" 15645 18178 15646 18179 - echo "$as_me:5480: checking if release/abi version should be used for shared libs" >&5 15647 + echo "$as_me:5 644: checking if release/abi version should be used for shared libs" >&518180 + echo "$as_me:5489: checking if release/abi version should be used for shared libs" >&5 15648 18181 echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 15649 18182 15650 18183 # Check whether --with-shlib-version or --without-shlib-version was given. 15651 @@ -5492,7 +5 656,7 @@18184 @@ -5492,7 +5501,7 @@ 15652 18185 cf_cv_shlib_version=$withval 15653 18186 ;; 15654 18187 *) 15655 18188 - { { echo "$as_me:5495: error: option value must be one of: rel, abi, auto or no" >&5 15656 + { { echo "$as_me:5 659: error: option value must be one of: rel, abi, auto or no" >&518189 + { { echo "$as_me:5504: error: option value must be one of: rel, abi, auto or no" >&5 15657 18190 echo "$as_me: error: option value must be one of: rel, abi, auto or no" >&2;} 15658 18191 { (exit 1); exit 1; }; } 15659 18192 ;; 15660 @@ -5501,7 +5 665,7 @@18193 @@ -5501,7 +5510,7 @@ 15661 18194 else 15662 18195 cf_cv_shlib_version=auto 15663 18196 fi; 15664 18197 - echo "$as_me:5504: result: $cf_cv_shlib_version" >&5 15665 + echo "$as_me:5 668: result: $cf_cv_shlib_version" >&518198 + echo "$as_me:5513: result: $cf_cv_shlib_version" >&5 15666 18199 echo "${ECHO_T}$cf_cv_shlib_version" >&6 15667 18200 15668 18201 cf_cv_rm_so_locs=no 15669 @@ -5510,14 +5 674,14 @@18202 @@ -5510,14 +5519,14 @@ 15670 18203 CC_SHARED_OPTS= 15671 18204 if test "$GCC" = yes 15672 18205 then 15673 18206 - echo "$as_me:5513: checking which $CC option to use" >&5 15674 + echo "$as_me:5 677: checking which $CC option to use" >&518207 + echo "$as_me:5522: checking which $CC option to use" >&5 15675 18208 echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 15676 18209 cf_save_CFLAGS="$CFLAGS" … … 15680 18213 cat >conftest.$ac_ext <<_ACEOF 15681 18214 -#line 5520 "configure" 15682 +#line 5 684"configure"18215 +#line 5529 "configure" 15683 18216 #include "confdefs.h" 15684 18217 #include <stdio.h> 15685 18218 int 15686 @@ -5529,16 +5 693,16 @@18219 @@ -5529,16 +5538,16 @@ 15687 18220 } 15688 18221 _ACEOF 15689 18222 rm -f conftest.$ac_objext 15690 18223 -if { (eval echo "$as_me:5532: \"$ac_compile\"") >&5 15691 +if { (eval echo "$as_me:5 696: \"$ac_compile\"") >&518224 +if { (eval echo "$as_me:5541: \"$ac_compile\"") >&5 15692 18225 (eval $ac_compile) 2>&5 15693 18226 ac_status=$? 15694 18227 - echo "$as_me:5535: \$? = $ac_status" >&5 15695 + echo "$as_me:5 699: \$? = $ac_status" >&518228 + echo "$as_me:5544: \$? = $ac_status" >&5 15696 18229 (exit $ac_status); } && 15697 18230 { ac_try='test -s conftest.$ac_objext' 15698 18231 - { (eval echo "$as_me:5538: \"$ac_try\"") >&5 15699 + { (eval echo "$as_me:5 702: \"$ac_try\"") >&518232 + { (eval echo "$as_me:5547: \"$ac_try\"") >&5 15700 18233 (eval $ac_try) 2>&5 15701 18234 ac_status=$? 15702 18235 - echo "$as_me:5541: \$? = $ac_status" >&5 15703 + echo "$as_me:5 705: \$? = $ac_status" >&518236 + echo "$as_me:5550: \$? = $ac_status" >&5 15704 18237 (exit $ac_status); }; }; then 15705 18238 break 15706 18239 else 15707 @@ -5547,7 +5 711,7 @@18240 @@ -5547,7 +5556,7 @@ 15708 18241 fi 15709 18242 rm -f conftest.$ac_objext conftest.$ac_ext 15710 18243 done 15711 18244 - echo "$as_me:5550: result: $CC_SHARED_OPTS" >&5 15712 + echo "$as_me:5 714: result: $CC_SHARED_OPTS" >&518245 + echo "$as_me:5559: result: $CC_SHARED_OPTS" >&5 15713 18246 echo "${ECHO_T}$CC_SHARED_OPTS" >&6 15714 18247 CFLAGS="$cf_save_CFLAGS" 15715 18248 fi 15716 @@ -5555,10 +5 719,14 @@18249 @@ -5555,10 +5564,14 @@ 15717 18250 cf_cv_shlib_version_infix=no 15718 18251 … … 15731 18264 ;; 15732 18265 beos*) #(vi 15733 @@ -5589,7 +5 757,7 @@18266 @@ -5589,7 +5602,7 @@ 15734 18267 MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' 15735 18268 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi 15736 18269 cf_cv_shlib_version_infix=yes 15737 18270 - echo "$as_me:5592: checking if ld -search_paths_first works" >&5 15738 + echo "$as_me:5 760: checking if ld -search_paths_first works" >&518271 + echo "$as_me:5605: checking if ld -search_paths_first works" >&5 15739 18272 echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 15740 18273 if test "${cf_cv_ldflags_search_paths_first+set}" = set; then 15741 18274 echo $ECHO_N "(cached) $ECHO_C" >&6 15742 @@ -5598,7 +5 766,7 @@18275 @@ -5598,7 +5611,7 @@ 15743 18276 cf_save_LDFLAGS=$LDFLAGS 15744 18277 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 15745 18278 cat >conftest.$ac_ext <<_ACEOF 15746 18279 -#line 5601 "configure" 15747 +#line 5 769"configure"18280 +#line 5614 "configure" 15748 18281 #include "confdefs.h" 15749 18282 15750 18283 int 15751 @@ -5610,16 +5 778,16 @@18284 @@ -5610,16 +5623,16 @@ 15752 18285 } 15753 18286 _ACEOF 15754 18287 rm -f conftest.$ac_objext conftest$ac_exeext 15755 18288 -if { (eval echo "$as_me:5613: \"$ac_link\"") >&5 15756 +if { (eval echo "$as_me:5 781: \"$ac_link\"") >&518289 +if { (eval echo "$as_me:5626: \"$ac_link\"") >&5 15757 18290 (eval $ac_link) 2>&5 15758 18291 ac_status=$? 15759 18292 - echo "$as_me:5616: \$? = $ac_status" >&5 15760 + echo "$as_me:5 784: \$? = $ac_status" >&518293 + echo "$as_me:5629: \$? = $ac_status" >&5 15761 18294 (exit $ac_status); } && 15762 18295 { ac_try='test -s conftest$ac_exeext' 15763 18296 - { (eval echo "$as_me:5619: \"$ac_try\"") >&5 15764 + { (eval echo "$as_me:5 787: \"$ac_try\"") >&518297 + { (eval echo "$as_me:5632: \"$ac_try\"") >&5 15765 18298 (eval $ac_try) 2>&5 15766 18299 ac_status=$? 15767 18300 - echo "$as_me:5622: \$? = $ac_status" >&5 15768 + echo "$as_me:5 790: \$? = $ac_status" >&518301 + echo "$as_me:5635: \$? = $ac_status" >&5 15769 18302 (exit $ac_status); }; }; then 15770 18303 cf_cv_ldflags_search_paths_first=yes 15771 18304 else 15772 @@ -5630,7 +5 798,7 @@18305 @@ -5630,7 +5643,7 @@ 15773 18306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15774 18307 LDFLAGS=$cf_save_LDFLAGS 15775 18308 fi 15776 18309 -echo "$as_me:5633: result: $cf_cv_ldflags_search_paths_first" >&5 15777 +echo "$as_me:5 801: result: $cf_cv_ldflags_search_paths_first" >&518310 +echo "$as_me:5646: result: $cf_cv_ldflags_search_paths_first" >&5 15778 18311 echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 15779 18312 if test $cf_cv_ldflags_search_paths_first = yes; then 15780 18313 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 15781 @@ -5649,9 +5 817,19 @@18314 @@ -5649,9 +5662,19 @@ 15782 18315 # readonly to exploit a quirk in the memory manager. 15783 18316 INSTALL_LIB="-m 555" … … 15800 18333 # tested with IRIX 5.2 and 'cc'. 15801 18334 if test "$GCC" != yes; then 15802 @@ -5668,7 +5 846,7 @@18335 @@ -5668,7 +5691,7 @@ 15803 18336 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" 15804 18337 fi … … 15809 18342 15810 18343 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel 15811 @@ -5680,13 +5 858,13@@18344 @@ -5680,13 +5703,34 @@ 15812 18345 15813 18346 MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@' 15814 18347 ;; 15815 18348 - 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 + ;; 15816 18370 + openbsd[2-9].*|mirbsd*) #(vi 15817 18371 if test "$DFT_LWR_MODEL" = "shared" ; then … … 15825 18379 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" 15826 18380 15827 @@ -5704,12 +5 882,12 @@18381 @@ -5704,12 +5748,12 @@ 15828 18382 MK_SHARED_LIB='${LD} -Bshareable -o $@' 15829 18383 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel … … 15841 18395 15842 18396 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel 15843 @@ -5726,7 +5 904,7 @@18397 @@ -5726,7 +5770,7 @@ 15844 18398 if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_enable_rpath" = yes ; then 15845 18399 LOCAL_LDFLAGS="${cf_ld_rpath_opt}\$(LOCAL_LIBDIR)" … … 15850 18404 if test -f /usr/libexec/ld.elf_so; then 15851 18405 cf_cv_shlib_version=abi 15852 @@ -5810,7 +5 988,7 @@18406 @@ -5810,7 +5854,7 @@ 15853 18407 do 15854 18408 CFLAGS="$cf_shared_opts $cf_save_CFLAGS" 15855 18409 cat >conftest.$ac_ext <<_ACEOF 15856 18410 -#line 5813 "configure" 15857 +#line 5 991"configure"18411 +#line 5857 "configure" 15858 18412 #include "confdefs.h" 15859 18413 #include <stdio.h> 15860 18414 int 15861 @@ -5822,16 + 6000,16 @@18415 @@ -5822,16 +5866,16 @@ 15862 18416 } 15863 18417 _ACEOF 15864 18418 rm -f conftest.$ac_objext 15865 18419 -if { (eval echo "$as_me:5825: \"$ac_compile\"") >&5 15866 +if { (eval echo "$as_me: 6003: \"$ac_compile\"") >&518420 +if { (eval echo "$as_me:5869: \"$ac_compile\"") >&5 15867 18421 (eval $ac_compile) 2>&5 15868 18422 ac_status=$? 15869 18423 - echo "$as_me:5828: \$? = $ac_status" >&5 15870 + echo "$as_me: 6006: \$? = $ac_status" >&518424 + echo "$as_me:5872: \$? = $ac_status" >&5 15871 18425 (exit $ac_status); } && 15872 18426 { ac_try='test -s conftest.$ac_objext' 15873 18427 - { (eval echo "$as_me:5831: \"$ac_try\"") >&5 15874 + { (eval echo "$as_me: 6009: \"$ac_try\"") >&518428 + { (eval echo "$as_me:5875: \"$ac_try\"") >&5 15875 18429 (eval $ac_try) 2>&5 15876 18430 ac_status=$? 15877 18431 - echo "$as_me:5834: \$? = $ac_status" >&5 15878 + echo "$as_me: 6012: \$? = $ac_status" >&518432 + echo "$as_me:5878: \$? = $ac_status" >&5 15879 18433 (exit $ac_status); }; }; then 15880 18434 break 15881 18435 else 15882 @@ -5868,21 + 6046,21@@18436 @@ -5868,21 +5912,29 @@ 15883 18437 test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes 15884 18438 ;; 15885 18439 *) 15886 18440 - { echo "$as_me:5871: WARNING: ignored --with-shlib-version" >&5 15887 + { echo "$as_me: 6049: WARNING: ignored --with-shlib-version" >&518441 + { echo "$as_me:5915: WARNING: ignored --with-shlib-version" >&5 15888 18442 echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} 15889 18443 ;; … … 15898 18452 + test -n "$cf_ld_rpath_opt" && MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\${RPATH_LIST}" 15899 18453 + 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 15900 18462 15901 18463 if test "$CC_SHARED_OPTS" = "unknown"; then … … 15903 18465 if test "$model" = "shared"; then 15904 18466 - { { 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" >&518467 + { { echo "$as_me:5937: error: Shared libraries are not supported in this version" >&5 15906 18468 echo "$as_me: error: Shared libraries are not supported in this version" >&2;} 15907 18469 { (exit 1); exit 1; }; } 15908 18470 fi 15909 @@ -5892,7 + 6070,7 @@18471 @@ -5892,7 +5944,7 @@ 15910 18472 ### If we're building with rpath, try to link non-standard libs that way too. 15911 18473 if test "$DFT_LWR_MODEL" = "shared"; then 15912 18474 15913 18475 -echo "$as_me:5895: checking if rpath-hack should be disabled" >&5 15914 +echo "$as_me: 6073: checking if rpath-hack should be disabled" >&518476 +echo "$as_me:5947: checking if rpath-hack should be disabled" >&5 15915 18477 echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6 15916 18478 15917 18479 # Check whether --enable-rpath-hack or --disable-rpath-hack was given. 15918 @@ -5909,21 + 6087,21 @@18480 @@ -5909,21 +5961,21 @@ 15919 18481 cf_disable_rpath_hack=no 15920 18482 15921 18483 fi; 15922 18484 -echo "$as_me:5912: result: $cf_disable_rpath_hack" >&5 15923 +echo "$as_me: 6090: result: $cf_disable_rpath_hack" >&518485 +echo "$as_me:5964: result: $cf_disable_rpath_hack" >&5 15924 18486 echo "${ECHO_T}$cf_disable_rpath_hack" >&6 15925 18487 if test "$cf_disable_rpath_hack" = no ; then 15926 18488 15927 18489 -echo "$as_me:5916: checking for updated LDFLAGS" >&5 15928 +echo "$as_me: 6094: checking for updated LDFLAGS" >&518490 +echo "$as_me:5968: checking for updated LDFLAGS" >&5 15929 18491 echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6 15930 18492 if test -n "$LD_RPATH_OPT" ; then 15931 18493 - echo "$as_me:5919: result: maybe" >&5 15932 + echo "$as_me: 6097: result: maybe" >&518494 + echo "$as_me:5971: result: maybe" >&5 15933 18495 echo "${ECHO_T}maybe" >&6 15934 18496 … … 15938 18500 set dummy $ac_prog; ac_word=$2 15939 18501 -echo "$as_me:5926: checking for $ac_word" >&5 15940 +echo "$as_me: 6104: checking for $ac_word" >&518502 +echo "$as_me:5978: checking for $ac_word" >&5 15941 18503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15942 18504 if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then 15943 18505 echo $ECHO_N "(cached) $ECHO_C" >&6 15944 @@ -5938,7 + 6116,7 @@18506 @@ -5938,7 +5990,7 @@ 15945 18507 test -z "$ac_dir" && ac_dir=. 15946 18508 $as_executable_p "$ac_dir/$ac_word" || continue 15947 18509 ac_cv_prog_cf_ldd_prog="$ac_prog" 15948 18510 -echo "$as_me:5941: found $ac_dir/$ac_word" >&5 15949 +echo "$as_me: 6119: found $ac_dir/$ac_word" >&518511 +echo "$as_me:5993: found $ac_dir/$ac_word" >&5 15950 18512 break 15951 18513 done 15952 18514 15953 @@ -5946,10 + 6124,10 @@18515 @@ -5946,10 +5998,10 @@ 15954 18516 fi 15955 18517 cf_ldd_prog=$ac_cv_prog_cf_ldd_prog 15956 18518 if test -n "$cf_ldd_prog"; then 15957 18519 - echo "$as_me:5949: result: $cf_ldd_prog" >&5 15958 + echo "$as_me:6 127: result: $cf_ldd_prog" >&518520 + echo "$as_me:6001: result: $cf_ldd_prog" >&5 15959 18521 echo "${ECHO_T}$cf_ldd_prog" >&6 15960 18522 else 15961 18523 - echo "$as_me:5952: result: no" >&5 15962 + echo "$as_me:6 130: result: no" >&518524 + echo "$as_me:6004: result: no" >&5 15963 18525 echo "${ECHO_T}no" >&6 15964 18526 fi 15965 18527 15966 @@ -5963,7 +6 141,7 @@18528 @@ -5963,7 +6015,7 @@ 15967 18529 cf_rpath_oops= 15968 18530 15969 18531 cat >conftest.$ac_ext <<_ACEOF 15970 18532 -#line 5966 "configure" 15971 +#line 6 144"configure"18533 +#line 6018 "configure" 15972 18534 #include "confdefs.h" 15973 18535 #include <stdio.h> 15974 18536 int 15975 @@ -5975,16 +6 153,16 @@18537 @@ -5975,16 +6027,16 @@ 15976 18538 } 15977 18539 _ACEOF 15978 18540 rm -f conftest.$ac_objext conftest$ac_exeext 15979 18541 -if { (eval echo "$as_me:5978: \"$ac_link\"") >&5 15980 +if { (eval echo "$as_me:6 156: \"$ac_link\"") >&518542 +if { (eval echo "$as_me:6030: \"$ac_link\"") >&5 15981 18543 (eval $ac_link) 2>&5 15982 18544 ac_status=$? 15983 18545 - echo "$as_me:5981: \$? = $ac_status" >&5 15984 + echo "$as_me:6 159: \$? = $ac_status" >&518546 + echo "$as_me:6033: \$? = $ac_status" >&5 15985 18547 (exit $ac_status); } && 15986 18548 { ac_try='test -s conftest$ac_exeext' 15987 18549 - { (eval echo "$as_me:5984: \"$ac_try\"") >&5 15988 + { (eval echo "$as_me:6 162: \"$ac_try\"") >&518550 + { (eval echo "$as_me:6036: \"$ac_try\"") >&5 15989 18551 (eval $ac_try) 2>&5 15990 18552 ac_status=$? 15991 18553 - echo "$as_me:5987: \$? = $ac_status" >&5 15992 + echo "$as_me:6 165: \$? = $ac_status" >&518554 + echo "$as_me:6039: \$? = $ac_status" >&5 15993 18555 (exit $ac_status); }; }; then 15994 18556 cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort -u` 15995 18557 cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort -u` 15996 @@ -6012,7 +6 190,7 @@18558 @@ -6012,7 +6064,7 @@ 15997 18559 then 15998 18560 test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 15999 18561 16000 18562 -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}:6 193: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&518563 +echo "${as_me:-configure}:6067: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 16002 18564 16003 18565 LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" 16004 18566 break 16005 @@ -6024,11 +6 202,11 @@18567 @@ -6024,11 +6076,11 @@ 16006 18568 16007 18569 test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 16008 18570 16009 18571 -echo "${as_me:-configure}:6027: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 16010 +echo "${as_me:-configure}:6 205: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&518572 +echo "${as_me:-configure}:6079: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 16011 18573 16012 18574 test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 16013 18575 16014 18576 -echo "${as_me:-configure}:6031: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 16015 +echo "${as_me:-configure}:6 209: testing ...checking LDFLAGS $LDFLAGS ..." 1>&518577 +echo "${as_me:-configure}:6083: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 16016 18578 16017 18579 cf_rpath_dst= 16018 18580 for cf_rpath_src in $LDFLAGS 16019 @@ -6065,7 +6 243,7 @@18581 @@ -6065,7 +6117,7 @@ 16020 18582 then 16021 18583 test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 16022 18584 16023 18585 -echo "${as_me:-configure}:6068: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 16024 +echo "${as_me:-configure}:6 246: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&518586 +echo "${as_me:-configure}:6120: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 16025 18587 16026 18588 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" 16027 18589 fi 16028 @@ -6078,11 +6 256,11 @@18590 @@ -6078,11 +6130,11 @@ 16029 18591 16030 18592 test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 16031 18593 16032 18594 -echo "${as_me:-configure}:6081: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 16033 +echo "${as_me:-configure}:6 259: testing ...checked LDFLAGS $LDFLAGS ..." 1>&518595 +echo "${as_me:-configure}:6133: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 16034 18596 16035 18597 test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 16036 18598 16037 18599 -echo "${as_me:-configure}:6085: testing ...checking LIBS $LIBS ..." 1>&5 16038 +echo "${as_me:-configure}:6 263: testing ...checking LIBS $LIBS ..." 1>&518600 +echo "${as_me:-configure}:6137: testing ...checking LIBS $LIBS ..." 1>&5 16039 18601 16040 18602 cf_rpath_dst= 16041 18603 for cf_rpath_src in $LIBS 16042 @@ -6119,7 +6 297,7 @@18604 @@ -6119,7 +6171,7 @@ 16043 18605 then 16044 18606 test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 16045 18607 16046 18608 -echo "${as_me:-configure}:6122: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 16047 +echo "${as_me:-configure}:6 300: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&518609 +echo "${as_me:-configure}:6174: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 16048 18610 16049 18611 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" 16050 18612 fi 16051 @@ -6132,11 +6 310,11 @@18613 @@ -6132,11 +6184,11 @@ 16052 18614 16053 18615 test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 16054 18616 16055 18617 -echo "${as_me:-configure}:6135: testing ...checked LIBS $LIBS ..." 1>&5 16056 +echo "${as_me:-configure}:6 313: testing ...checked LIBS $LIBS ..." 1>&518618 +echo "${as_me:-configure}:6187: testing ...checked LIBS $LIBS ..." 1>&5 16057 18619 16058 18620 test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 16059 18621 16060 18622 -echo "${as_me:-configure}:6139: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 16061 +echo "${as_me:-configure}:6 317: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&516062 16063 fi 16064 16065 @@ -6147,7 +6 325,7 @@18623 +echo "${as_me:-configure}:6191: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 18624 18625 fi 18626 18627 @@ -6147,7 +6199,7 @@ 16066 18628 ############################################################################### 16067 18629 16068 18630 ### use option --disable-overwrite to leave out the link to -lcurses 16069 18631 -echo "$as_me:6150: checking if you wish to install ncurses overwriting curses" >&5 16070 +echo "$as_me:6 328: checking if you wish to install ncurses overwriting curses" >&518632 +echo "$as_me:6202: checking if you wish to install ncurses overwriting curses" >&5 16071 18633 echo $ECHO_N "checking if you wish to install ncurses overwriting curses... $ECHO_C" >&6 16072 18634 16073 18635 # Check whether --enable-overwrite or --disable-overwrite was given. 16074 @@ -6157,10 +6 335,10 @@18636 @@ -6157,10 +6209,10 @@ 16075 18637 else 16076 18638 if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi 16077 18639 fi; 16078 18640 -echo "$as_me:6160: result: $with_overwrite" >&5 16079 +echo "$as_me:6 338: result: $with_overwrite" >&518641 +echo "$as_me:6212: result: $with_overwrite" >&5 16080 18642 echo "${ECHO_T}$with_overwrite" >&6 16081 18643 16082 18644 -echo "$as_me:6163: checking if external terminfo-database is used" >&5 16083 +echo "$as_me:6 341: checking if external terminfo-database is used" >&518645 +echo "$as_me:6215: checking if external terminfo-database is used" >&5 16084 18646 echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6 16085 18647 16086 18648 # Check whether --enable-database or --disable-database was given. 16087 @@ -6170,7 +6 348,7 @@18649 @@ -6170,7 +6222,7 @@ 16088 18650 else 16089 18651 use_database=yes 16090 18652 fi; 16091 18653 -echo "$as_me:6173: result: $use_database" >&5 16092 +echo "$as_me:6 351: result: $use_database" >&518654 +echo "$as_me:6225: result: $use_database" >&5 16093 18655 echo "${ECHO_T}$use_database" >&6 16094 18656 16095 18657 case $host_os in #(vi 16096 @@ -6182,17 +6 360,12 @@18658 @@ -6182,17 +6234,12 @@ 16097 18659 ;; 16098 18660 esac … … 16109 18671 16110 18672 - echo "$as_me:6195: checking which terminfo source-file will be installed" >&5 16111 + echo "$as_me:6 368: checking which terminfo source-file will be installed" >&518673 + echo "$as_me:6242: checking which terminfo source-file will be installed" >&5 16112 18674 echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6 16113 18675 16114 18676 # Check whether --with-database or --without-database was given. 16115 @@ -6200,10 +6 373,10 @@18677 @@ -6200,10 +6247,10 @@ 16116 18678 withval="$with_database" 16117 18679 TERMINFO_SRC=$withval 16118 18680 fi; 16119 18681 - echo "$as_me:6203: result: $TERMINFO_SRC" >&5 16120 + echo "$as_me:6 376: result: $TERMINFO_SRC" >&518682 + echo "$as_me:6250: result: $TERMINFO_SRC" >&5 16121 18683 echo "${ECHO_T}$TERMINFO_SRC" >&6 16122 18684 16123 18685 - echo "$as_me:6206: checking whether to use hashed database instead of directory/tree" >&5 16124 + echo "$as_me:6 379: checking whether to use hashed database instead of directory/tree" >&518686 + echo "$as_me:6253: checking whether to use hashed database instead of directory/tree" >&5 16125 18687 echo $ECHO_N "checking whether to use hashed database instead of directory/tree... $ECHO_C" >&6 16126 18688 16127 18689 # Check whether --with-hashed-db or --without-hashed-db was given. 16128 @@ -6213,13 +6 386,13 @@18690 @@ -6213,13 +6260,13 @@ 16129 18691 else 16130 18692 with_hashed_db=no 16131 18693 fi; 16132 18694 - echo "$as_me:6216: result: $with_hashed_db" >&5 16133 + echo "$as_me:6 389: result: $with_hashed_db" >&518695 + echo "$as_me:6263: result: $with_hashed_db" >&5 16134 18696 echo "${ECHO_T}$with_hashed_db" >&6 16135 18697 else … … 16138 18700 16139 18701 -echo "$as_me:6222: checking for list of fallback descriptions" >&5 16140 +echo "$as_me:6 395: checking for list of fallback descriptions" >&518702 +echo "$as_me:6269: checking for list of fallback descriptions" >&5 16141 18703 echo $ECHO_N "checking for list of fallback descriptions... $ECHO_C" >&6 16142 18704 16143 18705 # Check whether --with-fallbacks or --without-fallbacks was given. 16144 @@ -6229,11 +6 402,11 @@18706 @@ -6229,11 +6276,11 @@ 16145 18707 else 16146 18708 with_fallback= 16147 18709 fi; 16148 18710 -echo "$as_me:6232: result: $with_fallback" >&5 16149 +echo "$as_me:6 405: result: $with_fallback" >&518711 +echo "$as_me:6279: result: $with_fallback" >&5 16150 18712 echo "${ECHO_T}$with_fallback" >&6 16151 18713 FALLBACK_LIST=`echo "$with_fallback" | sed -e 's/,/ /g'` 16152 18714 16153 18715 -echo "$as_me:6236: checking if you want modern xterm or antique" >&5 16154 +echo "$as_me:6 409: checking if you want modern xterm or antique" >&518716 +echo "$as_me:6283: checking if you want modern xterm or antique" >&5 16155 18717 echo $ECHO_N "checking if you want modern xterm or antique... $ECHO_C" >&6 16156 18718 16157 18719 # Check whether --with-xterm-new or --without-xterm-new was given. 16158 @@ -6247,19 +6 420,49 @@18720 @@ -6247,19 +6294,49 @@ 16159 18721 no) with_xterm_new=xterm-old;; 16160 18722 *) with_xterm_new=xterm-new;; 16161 18723 esac 16162 18724 -echo "$as_me:6250: result: $with_xterm_new" >&5 16163 +echo "$as_me:6 423: result: $with_xterm_new" >&518725 +echo "$as_me:6297: result: $with_xterm_new" >&5 16164 18726 echo "${ECHO_T}$with_xterm_new" >&6 16165 18727 WHICH_XTERM=$with_xterm_new 16166 18728 16167 +echo "$as_me:6 427: checking if xterm backspace sends BS or DEL" >&518729 +echo "$as_me:6301: checking if xterm backspace sends BS or DEL" >&5 16168 18730 +echo $ECHO_N "checking if xterm backspace sends BS or DEL... $ECHO_C" >&6 16169 18731 + … … 16186 18748 + ;; 16187 18749 +esac 16188 +echo "$as_me:6 448: result: $with_xterm_kbs" >&518750 +echo "$as_me:6322: result: $with_xterm_kbs" >&5 16189 18751 +echo "${ECHO_T}$with_xterm_kbs" >&6 16190 18752 +XTERM_KBS=$with_xterm_kbs … … 16197 18759 16198 18760 -echo "$as_me:6260: checking for list of terminfo directories" >&5 16199 +echo "$as_me:6 458: checking for list of terminfo directories" >&518761 +echo "$as_me:6332: checking for list of terminfo directories" >&5 16200 18762 echo $ECHO_N "checking for list of terminfo directories... $ECHO_C" >&6 16201 18763 … … 16208 18770 if test "${with_terminfo_dirs+set}" = set; then 16209 18771 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 @@ 16211 18782 cf_src_path=`echo $cf_src_path | sed -e s%NONE%$cf_path_syntax%` 16212 18783 ;; 16213 18784 *) 16214 18785 - { { echo "$as_me:6300: error: expected a pathname, not \"$cf_src_path\"" >&5 16215 + { { echo "$as_me:6 503: error: expected a pathname, not \"$cf_src_path\"" >&518786 + { { echo "$as_me:6377: error: expected a pathname, not \"$cf_src_path\"" >&5 16216 18787 echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} 16217 18788 { (exit 1); exit 1; }; } 16218 18789 ;; 16219 @@ -6310,13 +6 513,13 @@18790 @@ -6310,13 +6387,13 @@ 16220 18791 16221 18792 eval 'TERMINFO_DIRS="$cf_dst_path"' 16222 18793 16223 18794 -echo "$as_me:6313: result: $TERMINFO_DIRS" >&5 16224 +echo "$as_me:6 516: result: $TERMINFO_DIRS" >&518795 +echo "$as_me:6390: result: $TERMINFO_DIRS" >&5 16225 18796 echo "${ECHO_T}$TERMINFO_DIRS" >&6 16226 18797 test -n "$TERMINFO_DIRS" && cat >>confdefs.h <<EOF … … 16229 18800 16230 18801 -echo "$as_me:6319: checking for default terminfo directory" >&5 16231 +echo "$as_me:6 522: checking for default terminfo directory" >&518802 +echo "$as_me:6396: checking for default terminfo directory" >&5 16232 18803 echo $ECHO_N "checking for default terminfo directory... $ECHO_C" >&6 16233 18804 16234 18805 # 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 @@ 16236 18816 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 16237 18817 ;; 16238 18818 *) 16239 18819 - { { echo "$as_me:6355: error: expected a pathname, not \"$withval\"" >&5 16240 + { { echo "$as_me:6 558: error: expected a pathname, not \"$withval\"" >&518820 + { { echo "$as_me:6432: error: expected a pathname, not \"$withval\"" >&5 16241 18821 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 16242 18822 { (exit 1); exit 1; }; } 16243 18823 ;; 16244 @@ -6361,7 +6 564,7 @@18824 @@ -6361,7 +6438,7 @@ 16245 18825 fi 16246 18826 TERMINFO="$withval" 16247 18827 16248 18828 -echo "$as_me:6364: result: $TERMINFO" >&5 16249 +echo "$as_me:6 567: result: $TERMINFO" >&518829 +echo "$as_me:6441: result: $TERMINFO" >&5 16250 18830 echo "${ECHO_T}$TERMINFO" >&6 16251 18831 cat >>confdefs.h <<EOF 16252 18832 #define TERMINFO "$TERMINFO" 16253 @@ -6371,7 +6 574,7 @@18833 @@ -6371,7 +6448,7 @@ 16254 18834 16255 18835 ### use option --disable-big-core to make tic run on small machines 16256 18836 ### We need 4Mb, check if we can allocate 50% more than that. 16257 18837 -echo "$as_me:6374: checking if big-core option selected" >&5 16258 +echo "$as_me:6 577: checking if big-core option selected" >&518838 +echo "$as_me:6451: checking if big-core option selected" >&5 16259 18839 echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6 16260 18840 16261 18841 # Check whether --enable-big-core or --disable-big-core was given. 16262 @@ -6383,7 +6 586,7 @@18842 @@ -6383,7 +6460,7 @@ 16263 18843 with_big_core=no 16264 18844 else 16265 18845 cat >conftest.$ac_ext <<_ACEOF 16266 18846 -#line 6386 "configure" 16267 +#line 6 589"configure"18847 +#line 6463 "configure" 16268 18848 #include "confdefs.h" 16269 18849 16270 18850 #include <stdlib.h> 16271 @@ -6397,15 +6 600,15 @@18851 @@ -6397,15 +6474,15 @@ 16272 18852 } 16273 18853 _ACEOF 16274 18854 rm -f conftest$ac_exeext 16275 18855 -if { (eval echo "$as_me:6400: \"$ac_link\"") >&5 16276 +if { (eval echo "$as_me:6 603: \"$ac_link\"") >&518856 +if { (eval echo "$as_me:6477: \"$ac_link\"") >&5 16277 18857 (eval $ac_link) 2>&5 16278 18858 ac_status=$? 16279 18859 - echo "$as_me:6403: \$? = $ac_status" >&5 16280 + echo "$as_me:6 606: \$? = $ac_status" >&518860 + echo "$as_me:6480: \$? = $ac_status" >&5 16281 18861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16282 18862 - { (eval echo "$as_me:6405: \"$ac_try\"") >&5 16283 + { (eval echo "$as_me:6 608: \"$ac_try\"") >&518863 + { (eval echo "$as_me:6482: \"$ac_try\"") >&5 16284 18864 (eval $ac_try) 2>&5 16285 18865 ac_status=$? 16286 18866 - echo "$as_me:6408: \$? = $ac_status" >&5 16287 + echo "$as_me:6 611: \$? = $ac_status" >&518867 + echo "$as_me:6485: \$? = $ac_status" >&5 16288 18868 (exit $ac_status); }; }; then 16289 18869 with_big_core=yes 16290 18870 else 16291 @@ -6417,7 +6 620,7 @@18871 @@ -6417,7 +6494,7 @@ 16292 18872 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16293 18873 fi 16294 18874 fi; 16295 18875 -echo "$as_me:6420: result: $with_big_core" >&5 16296 +echo "$as_me:6 623: result: $with_big_core" >&518876 +echo "$as_me:6497: result: $with_big_core" >&5 16297 18877 echo "${ECHO_T}$with_big_core" >&6 16298 18878 test "$with_big_core" = "yes" && cat >>confdefs.h <<\EOF 16299 18879 #define HAVE_BIG_CORE 1 16300 @@ -6426,7 +6 629,7 @@18880 @@ -6426,7 +6503,7 @@ 16301 18881 ### ISO C only guarantees 512-char strings, we have tables which load faster 16302 18882 ### when constructed using "big" strings. More than the C compiler, the awk 16303 18883 ### program is a limit on most vendor UNIX systems. Check that we can build. 16304 18884 -echo "$as_me:6429: checking if big-strings option selected" >&5 16305 +echo "$as_me:6 632: checking if big-strings option selected" >&518885 +echo "$as_me:6506: checking if big-strings option selected" >&5 16306 18886 echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6 16307 18887 16308 18888 # Check whether --enable-big-strings or --disable-big-strings was given. 16309 @@ -6440,8 +6 643,8 @@18889 @@ -6440,8 +6517,8 @@ 16310 18890 eval with_big_strings=no 16311 18891 ;; … … 16318 18898 else 16319 18899 eval with_big_strings=no 16320 @@ -6450,14 +6 653,14 @@18900 @@ -6450,14 +6527,14 @@ 16321 18901 esac 16322 18902 16323 18903 fi; 16324 18904 -echo "$as_me:6453: result: $with_big_strings" >&5 16325 +echo "$as_me:6 656: result: $with_big_strings" >&518905 +echo "$as_me:6530: result: $with_big_strings" >&5 16326 18906 echo "${ECHO_T}$with_big_strings" >&6 16327 18907 … … 16331 18911 ### use option --enable-termcap to compile in the termcap fallback support 16332 18912 -echo "$as_me:6460: checking if you want termcap-fallback support" >&5 16333 +echo "$as_me:6 663: checking if you want termcap-fallback support" >&518913 +echo "$as_me:6537: checking if you want termcap-fallback support" >&5 16334 18914 echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6 16335 18915 16336 18916 # Check whether --enable-termcap or --disable-termcap was given. 16337 @@ -6467,13 +6 670,13 @@18917 @@ -6467,13 +6544,13 @@ 16338 18918 else 16339 18919 with_termcap=no 16340 18920 fi; 16341 18921 -echo "$as_me:6470: result: $with_termcap" >&5 16342 +echo "$as_me:6 673: result: $with_termcap" >&518922 +echo "$as_me:6547: result: $with_termcap" >&5 16343 18923 echo "${ECHO_T}$with_termcap" >&6 16344 18924 … … 16347 18927 if test -z "$with_fallback" ; then 16348 18928 - { { echo "$as_me:6476: error: You have disabled the database w/o specifying fallbacks" >&5 16349 + { { echo "$as_me:6 679: error: You have disabled the database w/o specifying fallbacks" >&518929 + { { echo "$as_me:6553: error: You have disabled the database w/o specifying fallbacks" >&5 16350 18930 echo "$as_me: error: You have disabled the database w/o specifying fallbacks" >&2;} 16351 18931 { (exit 1); exit 1; }; } 16352 18932 fi 16353 @@ -6485,7 +6 688,7 @@18933 @@ -6485,7 +6562,7 @@ 16354 18934 else 16355 18935 16356 18936 if test "$with_ticlib" != no ; then 16357 18937 - { { echo "$as_me:6488: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 16358 + { { echo "$as_me:6 691: error: Options --with-ticlib and --enable-termcap cannot be combined" >&518938 + { { echo "$as_me:6565: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 16359 18939 echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;} 16360 18940 { (exit 1); exit 1; }; } 16361 18941 fi 16362 @@ -6494,7 +6 697,7 @@18942 @@ -6494,7 +6571,7 @@ 16363 18943 #define USE_TERMCAP 1 16364 18944 EOF 16365 18945 16366 18946 -echo "$as_me:6497: checking for list of termcap files" >&5 16367 +echo "$as_me:6 700: checking for list of termcap files" >&518947 +echo "$as_me:6574: checking for list of termcap files" >&5 16368 18948 echo $ECHO_N "checking for list of termcap files... $ECHO_C" >&6 16369 18949 16370 18950 # 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 @@ 16372 18961 cf_src_path=`echo $cf_src_path | sed -e s%NONE%$cf_path_syntax%` 16373 18962 ;; 16374 18963 *) 16375 18964 - { { echo "$as_me:6537: error: expected a pathname, not \"$cf_src_path\"" >&5 16376 + { { echo "$as_me:6 740: error: expected a pathname, not \"$cf_src_path\"" >&518965 + { { echo "$as_me:6614: error: expected a pathname, not \"$cf_src_path\"" >&5 16377 18966 echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} 16378 18967 { (exit 1); exit 1; }; } 16379 18968 ;; 16380 @@ -6547,14 +6 750,14 @@18969 @@ -6547,14 +6624,14 @@ 16381 18970 16382 18971 eval 'TERMPATH="$cf_dst_path"' 16383 18972 16384 18973 -echo "$as_me:6550: result: $TERMPATH" >&5 16385 +echo "$as_me:6 753: result: $TERMPATH" >&518974 +echo "$as_me:6627: result: $TERMPATH" >&5 16386 18975 echo "${ECHO_T}$TERMPATH" >&6 16387 18976 test -n "$TERMPATH" && cat >>confdefs.h <<EOF … … 16391 18980 ### use option --enable-getcap to use a hacked getcap for reading termcaps 16392 18981 -echo "$as_me:6557: checking if fast termcap-loader is needed" >&5 16393 +echo "$as_me:6 760: checking if fast termcap-loader is needed" >&518982 +echo "$as_me:6634: checking if fast termcap-loader is needed" >&5 16394 18983 echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6 16395 18984 16396 18985 # Check whether --enable-getcap or --disable-getcap was given. 16397 @@ -6564,13 +6 767,13 @@18986 @@ -6564,13 +6641,13 @@ 16398 18987 else 16399 18988 with_getcap=no 16400 18989 fi; 16401 18990 -echo "$as_me:6567: result: $with_getcap" >&5 16402 +echo "$as_me:6 770: result: $with_getcap" >&518991 +echo "$as_me:6644: result: $with_getcap" >&5 16403 18992 echo "${ECHO_T}$with_getcap" >&6 16404 18993 test "$with_getcap" = "yes" && cat >>confdefs.h <<\EOF … … 16407 18996 16408 18997 -echo "$as_me:6573: checking if translated termcaps will be cached in ~/.terminfo" >&5 16409 +echo "$as_me:6 776: checking if translated termcaps will be cached in ~/.terminfo" >&518998 +echo "$as_me:6650: checking if translated termcaps will be cached in ~/.terminfo" >&5 16410 18999 echo $ECHO_N "checking if translated termcaps will be cached in ~/.terminfo... $ECHO_C" >&6 16411 19000 16412 19001 # Check whether --enable-getcap-cache or --disable-getcap-cache was given. 16413 @@ -6580,7 +6 783,7 @@19002 @@ -6580,7 +6657,7 @@ 16414 19003 else 16415 19004 with_getcap_cache=no 16416 19005 fi; 16417 19006 -echo "$as_me:6583: result: $with_getcap_cache" >&5 16418 +echo "$as_me:6 786: result: $with_getcap_cache" >&519007 +echo "$as_me:6660: result: $with_getcap_cache" >&5 16419 19008 echo "${ECHO_T}$with_getcap_cache" >&6 16420 19009 test "$with_getcap_cache" = "yes" && cat >>confdefs.h <<\EOF 16421 19010 #define USE_GETCAP_CACHE 1 16422 @@ -6589,7 +6 792,7 @@19011 @@ -6589,7 +6666,7 @@ 16423 19012 fi 16424 19013 16425 19014 ### Use option --disable-home-terminfo to completely remove ~/.terminfo 16426 19015 -echo "$as_me:6592: checking if ~/.terminfo is wanted" >&5 16427 +echo "$as_me:6 795: checking if ~/.terminfo is wanted" >&519016 +echo "$as_me:6669: checking if ~/.terminfo is wanted" >&5 16428 19017 echo $ECHO_N "checking if ~/.terminfo is wanted... $ECHO_C" >&6 16429 19018 16430 19019 # Check whether --enable-home-terminfo or --disable-home-terminfo was given. 16431 @@ -6599,13 +6 802,13 @@19020 @@ -6599,13 +6676,13 @@ 16432 19021 else 16433 19022 with_home_terminfo=yes 16434 19023 fi; 16435 19024 -echo "$as_me:6602: result: $with_home_terminfo" >&5 16436 +echo "$as_me:6 805: result: $with_home_terminfo" >&519025 +echo "$as_me:6679: result: $with_home_terminfo" >&5 16437 19026 echo "${ECHO_T}$with_home_terminfo" >&6 16438 19027 test "$with_home_terminfo" = "yes" && cat >>confdefs.h <<\EOF … … 16441 19030 16442 19031 -echo "$as_me:6608: checking if you want to use restricted environment when running as root" >&5 16443 +echo "$as_me:6 811: checking if you want to use restricted environment when running as root" >&519032 +echo "$as_me:6685: checking if you want to use restricted environment when running as root" >&5 16444 19033 echo $ECHO_N "checking if you want to use restricted environment when running as root... $ECHO_C" >&6 16445 19034 16446 19035 # Check whether --enable-root-environ or --disable-root-environ was given. 16447 @@ -6615,7 +6 818,7 @@19036 @@ -6615,7 +6692,7 @@ 16448 19037 else 16449 19038 with_root_environ=yes 16450 19039 fi; 16451 19040 -echo "$as_me:6618: result: $with_root_environ" >&5 16452 +echo "$as_me:6 821: result: $with_root_environ" >&519041 +echo "$as_me:6695: result: $with_root_environ" >&5 16453 19042 echo "${ECHO_T}$with_root_environ" >&6 16454 19043 test "$with_root_environ" = yes && cat >>confdefs.h <<\EOF 16455 19044 #define USE_ROOT_ENVIRON 1 16456 @@ -6629,13 +6 832,13 @@19045 @@ -6629,13 +6706,13 @@ 16457 19046 unlink 16458 19047 do 16459 19048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16460 19049 -echo "$as_me:6632: checking for $ac_func" >&5 16461 +echo "$as_me:6 835: checking for $ac_func" >&519050 +echo "$as_me:6709: checking for $ac_func" >&5 16462 19051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16463 19052 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 16466 19055 cat >conftest.$ac_ext <<_ACEOF 16467 19056 -#line 6638 "configure" 16468 +#line 6 841"configure"19057 +#line 6715 "configure" 16469 19058 #include "confdefs.h" 16470 19059 /* System header to define __stub macros and hopefully few prototypes, 16471 19060 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 @@ 16473 19071 } 16474 19072 _ACEOF 16475 19073 rm -f conftest.$ac_objext conftest$ac_exeext 16476 19074 -if { (eval echo "$as_me:6669: \"$ac_link\"") >&5 16477 +if { (eval echo "$as_me:6 872: \"$ac_link\"") >&519075 +if { (eval echo "$as_me:6746: \"$ac_link\"") >&5 16478 19076 (eval $ac_link) 2>&5 16479 19077 ac_status=$? 16480 19078 - echo "$as_me:6672: \$? = $ac_status" >&5 16481 + echo "$as_me:6 875: \$? = $ac_status" >&519079 + echo "$as_me:6749: \$? = $ac_status" >&5 16482 19080 (exit $ac_status); } && 16483 19081 { ac_try='test -s conftest$ac_exeext' 16484 19082 - { (eval echo "$as_me:6675: \"$ac_try\"") >&5 16485 + { (eval echo "$as_me:6 878: \"$ac_try\"") >&519083 + { (eval echo "$as_me:6752: \"$ac_try\"") >&5 16486 19084 (eval $ac_try) 2>&5 16487 19085 ac_status=$? 16488 19086 - echo "$as_me:6678: \$? = $ac_status" >&5 16489 + echo "$as_me:6 881: \$? = $ac_status" >&519087 + echo "$as_me:6755: \$? = $ac_status" >&5 16490 19088 (exit $ac_status); }; }; then 16491 19089 eval "$as_ac_var=yes" 16492 19090 else 16493 @@ -6685,7 +6 888,7 @@19091 @@ -6685,7 +6762,7 @@ 16494 19092 fi 16495 19093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16496 19094 fi 16497 19095 -echo "$as_me:6688: result: `eval echo '${'$as_ac_var'}'`" >&5 16498 +echo "$as_me:6 891: result: `eval echo '${'$as_ac_var'}'`" >&519096 +echo "$as_me:6765: result: `eval echo '${'$as_ac_var'}'`" >&5 16499 19097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16500 19098 if test `eval echo '${'$as_ac_var'}'` = yes; then 16501 19099 cat >>confdefs.h <<EOF 16502 @@ -6702,13 +6 905,13 @@19100 @@ -6702,13 +6779,13 @@ 16503 19101 symlink 16504 19102 do 16505 19103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16506 19104 -echo "$as_me:6705: checking for $ac_func" >&5 16507 +echo "$as_me:6 908: checking for $ac_func" >&519105 +echo "$as_me:6782: checking for $ac_func" >&5 16508 19106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16509 19107 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 16512 19110 cat >conftest.$ac_ext <<_ACEOF 16513 19111 -#line 6711 "configure" 16514 +#line 6 914"configure"19112 +#line 6788 "configure" 16515 19113 #include "confdefs.h" 16516 19114 /* System header to define __stub macros and hopefully few prototypes, 16517 19115 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 @@ 16519 19126 } 16520 19127 _ACEOF 16521 19128 rm -f conftest.$ac_objext conftest$ac_exeext 16522 19129 -if { (eval echo "$as_me:6742: \"$ac_link\"") >&5 16523 +if { (eval echo "$as_me:6 945: \"$ac_link\"") >&519130 +if { (eval echo "$as_me:6819: \"$ac_link\"") >&5 16524 19131 (eval $ac_link) 2>&5 16525 19132 ac_status=$? 16526 19133 - echo "$as_me:6745: \$? = $ac_status" >&5 16527 + echo "$as_me:6 948: \$? = $ac_status" >&519134 + echo "$as_me:6822: \$? = $ac_status" >&5 16528 19135 (exit $ac_status); } && 16529 19136 { ac_try='test -s conftest$ac_exeext' 16530 19137 - { (eval echo "$as_me:6748: \"$ac_try\"") >&5 16531 + { (eval echo "$as_me:6 951: \"$ac_try\"") >&519138 + { (eval echo "$as_me:6825: \"$ac_try\"") >&5 16532 19139 (eval $ac_try) 2>&5 16533 19140 ac_status=$? 16534 19141 - echo "$as_me:6751: \$? = $ac_status" >&5 16535 + echo "$as_me:6 954: \$? = $ac_status" >&519142 + echo "$as_me:6828: \$? = $ac_status" >&5 16536 19143 (exit $ac_status); }; }; then 16537 19144 eval "$as_ac_var=yes" 16538 19145 else 16539 @@ -6758,7 +6 961,7 @@19146 @@ -6758,7 +6835,7 @@ 16540 19147 fi 16541 19148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16542 19149 fi 16543 19150 -echo "$as_me:6761: result: `eval echo '${'$as_ac_var'}'`" >&5 16544 +echo "$as_me:6 964: result: `eval echo '${'$as_ac_var'}'`" >&519151 +echo "$as_me:6838: result: `eval echo '${'$as_ac_var'}'`" >&5 16545 19152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16546 19153 if test `eval echo '${'$as_ac_var'}'` = yes; then 16547 19154 cat >>confdefs.h <<EOF 16548 @@ -6769,7 +6 972,7 @@19155 @@ -6769,7 +6846,7 @@ 16549 19156 done 16550 19157 16551 19158 else 16552 19159 - echo "$as_me:6772: checking if link/symlink functions work" >&5 16553 + echo "$as_me:6 975: checking if link/symlink functions work" >&519160 + echo "$as_me:6849: checking if link/symlink functions work" >&5 16554 19161 echo $ECHO_N "checking if link/symlink functions work... $ECHO_C" >&6 16555 19162 if test "${cf_cv_link_funcs+set}" = set; then 16556 19163 echo $ECHO_N "(cached) $ECHO_C" >&6 16557 @@ -6782,7 +6 985,7 @@19164 @@ -6782,7 +6859,7 @@ 16558 19165 eval 'ac_cv_func_'$cf_func'=error' 16559 19166 else 16560 19167 cat >conftest.$ac_ext <<_ACEOF 16561 19168 -#line 6785 "configure" 16562 +#line 6 988"configure"19169 +#line 6862 "configure" 16563 19170 #include "confdefs.h" 16564 19171 16565 19172 #include <sys/types.h> 16566 @@ -6812,15 + 7015,15 @@19173 @@ -6812,15 +6889,15 @@ 16567 19174 16568 19175 _ACEOF 16569 19176 rm -f conftest$ac_exeext 16570 19177 -if { (eval echo "$as_me:6815: \"$ac_link\"") >&5 16571 +if { (eval echo "$as_me: 7018: \"$ac_link\"") >&519178 +if { (eval echo "$as_me:6892: \"$ac_link\"") >&5 16572 19179 (eval $ac_link) 2>&5 16573 19180 ac_status=$? 16574 19181 - echo "$as_me:6818: \$? = $ac_status" >&5 16575 + echo "$as_me: 7021: \$? = $ac_status" >&519182 + echo "$as_me:6895: \$? = $ac_status" >&5 16576 19183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16577 19184 - { (eval echo "$as_me:6820: \"$ac_try\"") >&5 16578 + { (eval echo "$as_me: 7023: \"$ac_try\"") >&519185 + { (eval echo "$as_me:6897: \"$ac_try\"") >&5 16579 19186 (eval $ac_try) 2>&5 16580 19187 ac_status=$? 16581 19188 - echo "$as_me:6823: \$? = $ac_status" >&5 16582 + echo "$as_me: 7026: \$? = $ac_status" >&519189 + echo "$as_me:6900: \$? = $ac_status" >&5 16583 19190 (exit $ac_status); }; }; then 16584 19191 16585 19192 cf_cv_link_funcs="$cf_cv_link_funcs $cf_func" 16586 @@ -6838,7 + 7041,7 @@19193 @@ -6838,7 +6915,7 @@ 16587 19194 test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no 16588 19195 16589 19196 fi 16590 19197 -echo "$as_me:6841: result: $cf_cv_link_funcs" >&5 16591 +echo "$as_me: 7044: result: $cf_cv_link_funcs" >&519198 +echo "$as_me:6918: result: $cf_cv_link_funcs" >&5 16592 19199 echo "${ECHO_T}$cf_cv_link_funcs" >&6 16593 19200 test "$ac_cv_func_link" = yes && cat >>confdefs.h <<\EOF 16594 19201 #define HAVE_LINK 1 16595 @@ -6856,7 + 7059,7 @@19202 @@ -6856,7 +6933,7 @@ 16596 19203 # soft links (symbolic links) are useful for some systems where hard links do 16597 19204 # not work, or to make it simpler to copy terminfo trees around. 16598 19205 if test "$ac_cv_func_symlink" = yes ; then 16599 19206 - echo "$as_me:6859: checking if tic should use symbolic links" >&5 16600 + echo "$as_me: 7062: checking if tic should use symbolic links" >&519207 + echo "$as_me:6936: checking if tic should use symbolic links" >&5 16601 19208 echo $ECHO_N "checking if tic should use symbolic links... $ECHO_C" >&6 16602 19209 16603 19210 # Check whether --enable-symlinks or --disable-symlinks was given. 16604 @@ -6866,21 + 7069,21 @@19211 @@ -6866,21 +6943,21 @@ 16605 19212 else 16606 19213 with_symlinks=no 16607 19214 fi; 16608 19215 - echo "$as_me:6869: result: $with_symlinks" >&5 16609 + echo "$as_me: 7072: result: $with_symlinks" >&519216 + echo "$as_me:6946: result: $with_symlinks" >&5 16610 19217 echo "${ECHO_T}$with_symlinks" >&6 16611 19218 fi … … 16615 19222 if test "$with_symlinks" = no ; then 16616 19223 - echo "$as_me:6876: checking if tic should use hard links" >&5 16617 + echo "$as_me: 7079: checking if tic should use hard links" >&519224 + echo "$as_me:6953: checking if tic should use hard links" >&5 16618 19225 echo $ECHO_N "checking if tic should use hard links... $ECHO_C" >&6 16619 19226 if test "$ac_cv_func_link" = yes ; then … … 16623 19230 fi 16624 19231 - echo "$as_me:6883: result: $with_links" >&5 16625 + echo "$as_me: 7086: result: $with_links" >&519232 + echo "$as_me:6960: result: $with_links" >&5 16626 19233 echo "${ECHO_T}$with_links" >&6 16627 19234 fi 16628 19235 16629 @@ -6893,7 + 7096,7 @@19236 @@ -6893,7 +6970,7 @@ 16630 19237 EOF 16631 19238 16632 19239 ### use option --enable-broken-linker to force on use of broken-linker support 16633 19240 -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" >&519241 +echo "$as_me:6973: checking if you want broken-linker support code" >&5 16635 19242 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 16636 19243 16637 19244 # Check whether --enable-broken_linker or --disable-broken_linker was given. 16638 @@ -6903,7 + 7106,7 @@19245 @@ -6903,7 +6980,7 @@ 16639 19246 else 16640 19247 with_broken_linker=${BROKEN_LINKER:-no} 16641 19248 fi; 16642 19249 -echo "$as_me:6906: result: $with_broken_linker" >&5 16643 +echo "$as_me: 7109: result: $with_broken_linker" >&519250 +echo "$as_me:6983: result: $with_broken_linker" >&5 16644 19251 echo "${ECHO_T}$with_broken_linker" >&6 16645 19252 16646 19253 BROKEN_LINKER=0 16647 @@ -6923,14 +7 126,14 @@19254 @@ -6923,14 +7000,14 @@ 16648 19255 BROKEN_LINKER=1 16649 19256 test -n "$verbose" && echo " cygwin linker is broken anyway" 1>&6 16650 19257 16651 19258 -echo "${as_me:-configure}:6926: testing cygwin linker is broken anyway ..." 1>&5 16652 +echo "${as_me:-configure}:7 129: testing cygwin linker is broken anyway ..." 1>&519259 +echo "${as_me:-configure}:7003: testing cygwin linker is broken anyway ..." 1>&5 16653 19260 16654 19261 ;; … … 16658 19265 ### use option --enable-bsdpad to have tputs process BSD-style prefix padding 16659 19266 -echo "$as_me:6933: checking if tputs should process BSD-style prefix padding" >&5 16660 +echo "$as_me:7 136: checking if tputs should process BSD-style prefix padding" >&519267 +echo "$as_me:7010: checking if tputs should process BSD-style prefix padding" >&5 16661 19268 echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6 16662 19269 16663 19270 # Check whether --enable-bsdpad or --disable-bsdpad was given. 16664 @@ -6940,7 +7 143,7 @@19271 @@ -6940,7 +7017,7 @@ 16665 19272 else 16666 19273 with_bsdpad=no 16667 19274 fi; 16668 19275 -echo "$as_me:6943: result: $with_bsdpad" >&5 16669 +echo "$as_me:7 146: result: $with_bsdpad" >&519276 +echo "$as_me:7020: result: $with_bsdpad" >&5 16670 19277 echo "${ECHO_T}$with_bsdpad" >&6 16671 19278 test "$with_bsdpad" = yes && cat >>confdefs.h <<\EOF 16672 19279 #define BSD_TPUTS 1 16673 @@ -6962,7 +7 165,7 @@19280 @@ -6962,7 +7039,7 @@ 16674 19281 cf_xopen_source= 16675 19282 … … 16680 19287 ;; 16681 19288 cygwin) #(vi 16682 @@ -6973,6 +7 176,7 @@19289 @@ -6973,6 +7050,7 @@ 16683 19290 ;; 16684 19291 darwin*) #(vi … … 16688 19295 freebsd*|dragonfly*) #(vi 16689 19296 # 5.x headers associate 16690 @@ -6990,17 +7 194,18 @@19297 @@ -6990,17 +7068,18 @@ 16691 19298 ;; 16692 19299 irix[56].*) #(vi … … 16697 19304 16698 19305 -echo "$as_me:6996: checking if we must define _GNU_SOURCE" >&5 16699 +echo "$as_me:7 201: checking if we must define _GNU_SOURCE" >&519306 +echo "$as_me:7075: checking if we must define _GNU_SOURCE" >&5 16700 19307 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 16701 19308 if test "${cf_cv_gnu_source+set}" = set; then … … 16705 19312 cat >conftest.$ac_ext <<_ACEOF 16706 19313 -#line 7003 "configure" 16707 +#line 7 208"configure"19314 +#line 7082 "configure" 16708 19315 #include "confdefs.h" 16709 19316 #include <sys/types.h> 16710 19317 int 16711 @@ -7015,16 +7 220,16 @@19318 @@ -7015,16 +7094,16 @@ 16712 19319 } 16713 19320 _ACEOF 16714 19321 rm -f conftest.$ac_objext 16715 19322 -if { (eval echo "$as_me:7018: \"$ac_compile\"") >&5 16716 +if { (eval echo "$as_me:7 223: \"$ac_compile\"") >&519323 +if { (eval echo "$as_me:7097: \"$ac_compile\"") >&5 16717 19324 (eval $ac_compile) 2>&5 16718 19325 ac_status=$? 16719 19326 - echo "$as_me:7021: \$? = $ac_status" >&5 16720 + echo "$as_me:7 226: \$? = $ac_status" >&519327 + echo "$as_me:7100: \$? = $ac_status" >&5 16721 19328 (exit $ac_status); } && 16722 19329 { ac_try='test -s conftest.$ac_objext' 16723 19330 - { (eval echo "$as_me:7024: \"$ac_try\"") >&5 16724 + { (eval echo "$as_me:7 229: \"$ac_try\"") >&519331 + { (eval echo "$as_me:7103: \"$ac_try\"") >&5 16725 19332 (eval $ac_try) 2>&5 16726 19333 ac_status=$? 16727 19334 - echo "$as_me:7027: \$? = $ac_status" >&5 16728 + echo "$as_me:7 232: \$? = $ac_status" >&519335 + echo "$as_me:7106: \$? = $ac_status" >&5 16729 19336 (exit $ac_status); }; }; then 16730 19337 cf_cv_gnu_source=no 16731 19338 else 16732 @@ -7033,7 +7 238,7 @@19339 @@ -7033,7 +7112,7 @@ 16733 19340 cf_save="$CPPFLAGS" 16734 19341 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" 16735 19342 cat >conftest.$ac_ext <<_ACEOF 16736 19343 -#line 7036 "configure" 16737 +#line 7 241"configure"19344 +#line 7115 "configure" 16738 19345 #include "confdefs.h" 16739 19346 #include <sys/types.h> 16740 19347 int 16741 @@ -7048,16 +7 253,16 @@19348 @@ -7048,16 +7127,16 @@ 16742 19349 } 16743 19350 _ACEOF 16744 19351 rm -f conftest.$ac_objext 16745 19352 -if { (eval echo "$as_me:7051: \"$ac_compile\"") >&5 16746 +if { (eval echo "$as_me:7 256: \"$ac_compile\"") >&519353 +if { (eval echo "$as_me:7130: \"$ac_compile\"") >&5 16747 19354 (eval $ac_compile) 2>&5 16748 19355 ac_status=$? 16749 19356 - echo "$as_me:7054: \$? = $ac_status" >&5 16750 + echo "$as_me:7 259: \$? = $ac_status" >&519357 + echo "$as_me:7133: \$? = $ac_status" >&5 16751 19358 (exit $ac_status); } && 16752 19359 { ac_try='test -s conftest.$ac_objext' 16753 19360 - { (eval echo "$as_me:7057: \"$ac_try\"") >&5 16754 + { (eval echo "$as_me:7 262: \"$ac_try\"") >&519361 + { (eval echo "$as_me:7136: \"$ac_try\"") >&5 16755 19362 (eval $ac_try) 2>&5 16756 19363 ac_status=$? 16757 19364 - echo "$as_me:7060: \$? = $ac_status" >&5 16758 + echo "$as_me:7 265: \$? = $ac_status" >&519365 + echo "$as_me:7139: \$? = $ac_status" >&5 16759 19366 (exit $ac_status); }; }; then 16760 19367 cf_cv_gnu_source=no 16761 19368 else 16762 @@ -7072,51 +7 277,45 @@19369 @@ -7072,51 +7151,45 @@ 16763 19370 rm -f conftest.$ac_objext conftest.$ac_ext 16764 19371 16765 19372 fi 16766 19373 -echo "$as_me:7075: result: $cf_cv_gnu_source" >&5 16767 +echo "$as_me:7 280: result: $cf_cv_gnu_source" >&519374 +echo "$as_me:7154: result: $cf_cv_gnu_source" >&5 16768 19375 echo "${ECHO_T}$cf_cv_gnu_source" >&6 16769 19376 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" … … 16814 19421 + -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` 16815 19422 + 16816 +echo "$as_me:7 302: checking if we should define _POSIX_C_SOURCE" >&519423 +echo "$as_me:7176: checking if we should define _POSIX_C_SOURCE" >&5 16817 19424 +echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 16818 19425 +if test "${cf_cv_posix_c_source+set}" = set; then … … 16820 19427 else 16821 19428 16822 +echo "${as_me:-configure}:7 308: testing if the symbol is already defined go no further ..." 1>&519429 +echo "${as_me:-configure}:7182: testing if the symbol is already defined go no further ..." 1>&5 16823 19430 + 16824 19431 cat >conftest.$ac_ext <<_ACEOF 16825 19432 -#line 7112 "configure" 16826 +#line 7 311"configure"19433 +#line 7185 "configure" 16827 19434 #include "confdefs.h" 16828 19435 #include <sys/types.h> … … 16836 19443 #endif 16837 19444 ; 16838 @@ -7124,32 +7 323,44 @@19445 @@ -7124,32 +7197,44 @@ 16839 19446 } 16840 19447 _ACEOF 16841 19448 rm -f conftest.$ac_objext 16842 19449 -if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5 16843 +if { (eval echo "$as_me:7 326: \"$ac_compile\"") >&519450 +if { (eval echo "$as_me:7200: \"$ac_compile\"") >&5 16844 19451 (eval $ac_compile) 2>&5 16845 19452 ac_status=$? 16846 19453 - echo "$as_me:7130: \$? = $ac_status" >&5 16847 + echo "$as_me:7 329: \$? = $ac_status" >&519454 + echo "$as_me:7203: \$? = $ac_status" >&5 16848 19455 (exit $ac_status); } && 16849 19456 { ac_try='test -s conftest.$ac_objext' 16850 19457 - { (eval echo "$as_me:7133: \"$ac_try\"") >&5 16851 + { (eval echo "$as_me:7 332: \"$ac_try\"") >&519458 + { (eval echo "$as_me:7206: \"$ac_try\"") >&5 16852 19459 (eval $ac_try) 2>&5 16853 19460 ac_status=$? 16854 19461 - echo "$as_me:7136: \$? = $ac_status" >&5 16855 + echo "$as_me:7 335: \$? = $ac_status" >&519462 + echo "$as_me:7209: \$? = $ac_status" >&5 16856 19463 (exit $ac_status); }; }; then 16857 19464 - cf_cv_xopen_source=no … … 16879 19486 + if test "$cf_want_posix_source" = yes ; then 16880 19487 + cat >conftest.$ac_ext <<_ACEOF 16881 +#line 7 356"configure"19488 +#line 7230 "configure" 16882 19489 #include "confdefs.h" 16883 19490 #include <sys/types.h> … … 16891 19498 #endif 16892 19499 ; 16893 @@ -7157,5 7 +7368,94@@19500 @@ -7157,50 +7242,87 @@ 16894 19501 } 16895 19502 _ACEOF 16896 19503 rm -f conftest.$ac_objext 16897 19504 -if { (eval echo "$as_me:7160: \"$ac_compile\"") >&5 16898 +if { (eval echo "$as_me:7 371: \"$ac_compile\"") >&519505 +if { (eval echo "$as_me:7245: \"$ac_compile\"") >&5 16899 19506 (eval $ac_compile) 2>&5 16900 19507 ac_status=$? 16901 19508 - echo "$as_me:7163: \$? = $ac_status" >&5 16902 + echo "$as_me:7 374: \$? = $ac_status" >&519509 + echo "$as_me:7248: \$? = $ac_status" >&5 16903 19510 (exit $ac_status); } && 16904 19511 { ac_try='test -s conftest.$ac_objext' 16905 19512 - { (eval echo "$as_me:7166: \"$ac_try\"") >&5 16906 + { (eval echo "$as_me:7 377: \"$ac_try\"") >&519513 + { (eval echo "$as_me:7251: \"$ac_try\"") >&5 16907 19514 (eval $ac_try) 2>&5 16908 19515 ac_status=$? 16909 19516 - echo "$as_me:7169: \$? = $ac_status" >&5 16910 + echo "$as_me:7 380: \$? = $ac_status" >&519517 + echo "$as_me:7254: \$? = $ac_status" >&5 16911 19518 (exit $ac_status); }; }; then 16912 19519 - cf_cv_xopen_source=no … … 16916 19523 cat conftest.$ac_ext >&5 16917 19524 -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 16920 19528 - CPPFLAGS="$cf_save" 16921 -16922 +cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"16923 fi16924 rm -f conftest.$ac_objext conftest.$ac_ext16925 19529 + 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 + 16940 19533 + CFLAGS="$cf_trim_CFLAGS" 16941 19534 + 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 + 16950 19538 + cat >conftest.$ac_ext <<_ACEOF 16951 +#line 7 399"configure"19539 +#line 7273 "configure" 16952 19540 +#include "confdefs.h" 16953 19541 +#include <sys/types.h> … … 16956 19544 +{ 16957 19545 16958 -for cf_add_cflags in $cf_temp_xopen_source16959 -do16960 -case $cf_fix_cppflags in16961 -no)16962 - case $cf_add_cflags in #(vi16963 - -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi16964 - case $cf_add_cflags in16965 - -D*)16966 19546 +#ifndef _POSIX_C_SOURCE 16967 19547 +make an error … … 16972 19552 +_ACEOF 16973 19553 +rm -f conftest.$ac_objext 16974 +if { (eval echo "$as_me:7 414: \"$ac_compile\"") >&519554 +if { (eval echo "$as_me:7288: \"$ac_compile\"") >&5 16975 19555 + (eval $ac_compile) 2>&5 16976 19556 + ac_status=$? 16977 + echo "$as_me:7 417: \$? = $ac_status" >&519557 + echo "$as_me:7291: \$? = $ac_status" >&5 16978 19558 + (exit $ac_status); } && 16979 19559 + { ac_try='test -s conftest.$ac_objext' 16980 + { (eval echo "$as_me:7 420: \"$ac_try\"") >&519560 + { (eval echo "$as_me:7294: \"$ac_try\"") >&5 16981 19561 + (eval $ac_try) 2>&5 16982 19562 + ac_status=$? 16983 + echo "$as_me:7 423: \$? = $ac_status" >&519563 + echo "$as_me:7297: \$? = $ac_status" >&5 16984 19564 + (exit $ac_status); }; }; then 16985 19565 + : … … 16988 19568 +cat conftest.$ac_ext >&5 16989 19569 +cf_cv_posix_c_source=no 16990 +fi16991 +rm -f conftest.$ac_objext conftest.$ac_ext19570 fi 19571 rm -f conftest.$ac_objext conftest.$ac_ext 16992 19572 + CFLAGS="$cf_save_CFLAGS" 16993 19573 + 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'` 16995 19588 +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 17000 19590 +echo "${ECHO_T}$cf_cv_posix_c_source" >&6 17001 + 19591 19592 - cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source" 17002 19593 +if test "$cf_cv_posix_c_source" != no ; then 17003 19594 + CFLAGS="$cf_trim_CFLAGS" 17004 19595 + 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 17011 19603 +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 @@ 17023 19608 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" 17024 19609 fi … … 17026 19611 - fi 17027 19612 +fi 17028 + 19613 19614 -cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE 17029 19615 + ;; 17030 19616 +netbsd*) #(vi … … 17053 19639 +*) 17054 19640 + 17055 +echo "$as_me:7 552: checking if we should define _XOPEN_SOURCE" >&519641 +echo "$as_me:7426: checking if we should define _XOPEN_SOURCE" >&5 17056 19642 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 17057 19643 +if test "${cf_cv_xopen_source+set}" = set; then … … 17060 19646 + 17061 19647 + cat >conftest.$ac_ext <<_ACEOF 17062 +#line 7 559"configure"19648 +#line 7433 "configure" 17063 19649 +#include "confdefs.h" 17064 19650 + … … 17079 19665 +_ACEOF 17080 19666 +rm -f conftest.$ac_objext 17081 +if { (eval echo "$as_me:7 578: \"$ac_compile\"") >&519667 +if { (eval echo "$as_me:7452: \"$ac_compile\"") >&5 17082 19668 + (eval $ac_compile) 2>&5 17083 19669 + ac_status=$? 17084 + echo "$as_me:7 581: \$? = $ac_status" >&519670 + echo "$as_me:7455: \$? = $ac_status" >&5 17085 19671 + (exit $ac_status); } && 17086 19672 + { ac_try='test -s conftest.$ac_objext' 17087 + { (eval echo "$as_me:7 584: \"$ac_try\"") >&519673 + { (eval echo "$as_me:7458: \"$ac_try\"") >&5 17088 19674 + (eval $ac_try) 2>&5 17089 19675 + ac_status=$? 17090 + echo "$as_me:7 587: \$? = $ac_status" >&519676 + echo "$as_me:7461: \$? = $ac_status" >&5 17091 19677 + (exit $ac_status); }; }; then 17092 19678 + cf_cv_xopen_source=no … … 17097 19683 + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" 17098 19684 + cat >conftest.$ac_ext <<_ACEOF 17099 +#line 7 596"configure"19685 +#line 7470 "configure" 17100 19686 +#include "confdefs.h" 17101 19687 + … … 17116 19702 +_ACEOF 17117 19703 +rm -f conftest.$ac_objext 17118 +if { (eval echo "$as_me:7 615: \"$ac_compile\"") >&519704 +if { (eval echo "$as_me:7489: \"$ac_compile\"") >&5 17119 19705 + (eval $ac_compile) 2>&5 17120 19706 + ac_status=$? 17121 + echo "$as_me:7 618: \$? = $ac_status" >&519707 + echo "$as_me:7492: \$? = $ac_status" >&5 17122 19708 + (exit $ac_status); } && 17123 19709 + { ac_try='test -s conftest.$ac_objext' 17124 + { (eval echo "$as_me:7 621: \"$ac_try\"") >&519710 + { (eval echo "$as_me:7495: \"$ac_try\"") >&5 17125 19711 + (eval $ac_try) 2>&5 17126 19712 + ac_status=$? 17127 + echo "$as_me:7 624: \$? = $ac_status" >&519713 + echo "$as_me:7498: \$? = $ac_status" >&5 17128 19714 + (exit $ac_status); }; }; then 17129 19715 + cf_cv_xopen_source=no … … 17140 19726 + 17141 19727 +fi 17142 +echo "$as_me:7 639: result: $cf_cv_xopen_source" >&519728 +echo "$as_me:7513: result: $cf_cv_xopen_source" >&5 17143 19729 +echo "${ECHO_T}$cf_cv_xopen_source" >&6 17144 19730 + … … 17234 19820 + 17235 19821 +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 @@ 17240 19828 sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ 17241 19829 -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` 17242 19830 17243 19831 -echo "$as_me:7291: checking if we should define _POSIX_C_SOURCE" >&5 17244 +echo "$as_me:7 747: checking if we should define _POSIX_C_SOURCE" >&519832 +echo "$as_me:7621: checking if we should define _POSIX_C_SOURCE" >&5 17245 19833 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 17246 19834 if test "${cf_cv_posix_c_source+set}" = set; then … … 17249 19837 17250 19838 -echo "${as_me:-configure}:7297: testing if the symbol is already defined go no further ..." 1>&5 17251 +echo "${as_me:-configure}:7 753: testing if the symbol is already defined go no further ..." 1>&519839 +echo "${as_me:-configure}:7627: testing if the symbol is already defined go no further ..." 1>&5 17252 19840 17253 19841 cat >conftest.$ac_ext <<_ACEOF 17254 19842 -#line 7300 "configure" 17255 +#line 7 756"configure"19843 +#line 7630 "configure" 17256 19844 #include "confdefs.h" 17257 19845 #include <sys/types.h> 17258 19846 int 17259 @@ -7312,16 +7 768,16 @@19847 @@ -7312,16 +7642,16 @@ 17260 19848 } 17261 19849 _ACEOF 17262 19850 rm -f conftest.$ac_objext 17263 19851 -if { (eval echo "$as_me:7315: \"$ac_compile\"") >&5 17264 +if { (eval echo "$as_me:7 771: \"$ac_compile\"") >&519852 +if { (eval echo "$as_me:7645: \"$ac_compile\"") >&5 17265 19853 (eval $ac_compile) 2>&5 17266 19854 ac_status=$? 17267 19855 - echo "$as_me:7318: \$? = $ac_status" >&5 17268 + echo "$as_me:7 774: \$? = $ac_status" >&519856 + echo "$as_me:7648: \$? = $ac_status" >&5 17269 19857 (exit $ac_status); } && 17270 19858 { ac_try='test -s conftest.$ac_objext' 17271 19859 - { (eval echo "$as_me:7321: \"$ac_try\"") >&5 17272 + { (eval echo "$as_me:7 777: \"$ac_try\"") >&519860 + { (eval echo "$as_me:7651: \"$ac_try\"") >&5 17273 19861 (eval $ac_try) 2>&5 17274 19862 ac_status=$? 17275 19863 - echo "$as_me:7324: \$? = $ac_status" >&5 17276 + echo "$as_me:7 780: \$? = $ac_status" >&519864 + echo "$as_me:7654: \$? = $ac_status" >&5 17277 19865 (exit $ac_status); }; }; then 17278 19866 cf_cv_posix_c_source=no 17279 19867 else 17280 @@ -7342, 7 +7798,7@@19868 @@ -7342,14 +7672,362 @@ 17281 19869 esac 17282 19870 if test "$cf_want_posix_source" = yes ; then 17283 19871 cat >conftest.$ac_ext <<_ACEOF 17284 19872 -#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 17357 19948 +rm -f conftest.$ac_objext conftest.$ac_ext 17358 19949 + CFLAGS="$cf_save_CFLAGS" … … 17363 19954 + 17364 19955 +fi 17365 +echo "$as_me:7 884: result: $cf_cv_posix_c_source" >&519956 +echo "$as_me:7758: result: $cf_cv_posix_c_source" >&5 17366 19957 +echo "${ECHO_T}$cf_cv_posix_c_source" >&6 17367 19958 + … … 17439 20030 + 17440 20031 +if test -n "$cf_new_cppflags" ; then 17441 20032 + 17442 20033 + CPPFLAGS="$CPPFLAGS $cf_new_cppflags" 17443 fi 17444 -rm -f conftest.$ac_objext conftest.$ac_ext 17445 20034 +fi 20035 + 17446 20036 +if test -n "$cf_new_extra_cppflags" ; then 17447 20037 + 17448 20038 + 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 + 17456 20041 +fi 17457 20042 + … … 17460 20045 + 17461 20046 +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 + 17469 20053 +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 + 17479 20128 +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" >&520129 + echo "$as_me:7931: checking if _XOPEN_SOURCE really is set" >&5 17481 20130 +echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 17482 20131 + cat >conftest.$ac_ext <<_ACEOF 17483 +#line 8060"configure"20132 +#line 7934 "configure" 17484 20133 +#include "confdefs.h" 17485 20134 +#include <stdlib.h> … … 17487 20136 +main () 17488 20137 +{ 17489 17490 -if test -n "$cf_xopen_source" ; then 20138 + 17491 20139 +#ifndef _XOPEN_SOURCE 17492 20140 +make an error … … 17497 20145 +_ACEOF 17498 20146 +rm -f conftest.$ac_objext 17499 +if { (eval echo "$as_me: 8075: \"$ac_compile\"") >&520147 +if { (eval echo "$as_me:7949: \"$ac_compile\"") >&5 17500 20148 + (eval $ac_compile) 2>&5 17501 20149 + ac_status=$? 17502 + echo "$as_me: 8078: \$? = $ac_status" >&520150 + echo "$as_me:7952: \$? = $ac_status" >&5 17503 20151 + (exit $ac_status); } && 17504 20152 + { ac_try='test -s conftest.$ac_objext' 17505 + { (eval echo "$as_me: 8081: \"$ac_try\"") >&520153 + { (eval echo "$as_me:7955: \"$ac_try\"") >&5 17506 20154 + (eval $ac_try) 2>&5 17507 20155 + ac_status=$? 17508 + echo "$as_me: 8084: \$? = $ac_status" >&520156 + echo "$as_me:7958: \$? = $ac_status" >&5 17509 20157 + (exit $ac_status); }; }; then 17510 20158 + cf_XOPEN_SOURCE_set=yes … … 17515 20163 +fi 17516 20164 +rm -f conftest.$ac_objext conftest.$ac_ext 17517 + echo "$as_me: 8093: result: $cf_XOPEN_SOURCE_set" >&520165 + echo "$as_me:7967: result: $cf_XOPEN_SOURCE_set" >&5 17518 20166 +echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 17519 20167 + if test $cf_XOPEN_SOURCE_set = yes 17520 20168 + then 17521 20169 + cat >conftest.$ac_ext <<_ACEOF 17522 +#line 8098"configure"20170 +#line 7972 "configure" 17523 20171 +#include "confdefs.h" 17524 20172 +#include <stdlib.h> … … 17535 20183 +_ACEOF 17536 20184 +rm -f conftest.$ac_objext 17537 +if { (eval echo "$as_me: 8113: \"$ac_compile\"") >&520185 +if { (eval echo "$as_me:7987: \"$ac_compile\"") >&5 17538 20186 + (eval $ac_compile) 2>&5 17539 20187 + ac_status=$? 17540 + echo "$as_me: 8116: \$? = $ac_status" >&520188 + echo "$as_me:7990: \$? = $ac_status" >&5 17541 20189 + (exit $ac_status); } && 17542 20190 + { ac_try='test -s conftest.$ac_objext' 17543 + { (eval echo "$as_me: 8119: \"$ac_try\"") >&520191 + { (eval echo "$as_me:7993: \"$ac_try\"") >&5 17544 20192 + (eval $ac_try) 2>&5 17545 20193 + ac_status=$? 17546 + echo "$as_me: 8122: \$? = $ac_status" >&520194 + echo "$as_me:7996: \$? = $ac_status" >&5 17547 20195 + (exit $ac_status); }; }; then 17548 20196 + cf_XOPEN_SOURCE_set_ok=yes … … 17555 20203 + if test $cf_XOPEN_SOURCE_set_ok = no 17556 20204 + then 17557 + { echo "$as_me:8 133: WARNING: _XOPEN_SOURCE is lower than requested" >&520205 + { echo "$as_me:8007: WARNING: _XOPEN_SOURCE is lower than requested" >&5 17558 20206 +echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} 17559 20207 + fi 17560 20208 + else 17561 20209 + 17562 +echo "$as_me:8 138: checking if we should define _XOPEN_SOURCE" >&520210 +echo "$as_me:8012: checking if we should define _XOPEN_SOURCE" >&5 17563 20211 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 17564 20212 +if test "${cf_cv_xopen_source+set}" = set; then … … 17567 20215 + 17568 20216 + cat >conftest.$ac_ext <<_ACEOF 17569 +#line 8 145"configure"17570 +#include "confdefs.h"20217 +#line 8019 "configure" 20218 #include "confdefs.h" 17571 20219 + 17572 20220 +#include <stdlib.h> 17573 20221 +#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 17580 20229 +#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 - : 17599 20253 + 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 - 17603 20269 +cf_save="$CPPFLAGS" 17604 20270 + 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" 17608 20275 + 17609 20276 +#include <stdlib.h> 17610 20277 +#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 17617 20285 +#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 - : 17636 20309 + 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 17640 20314 +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" 17643 20319 + 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 17650 20347 +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 17652 20352 +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/=.*//'` 17654 20370 +CFLAGS=`echo "$CFLAGS" | \ 17655 20371 + sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ 17656 20372 + -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 17659 20420 + sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ 17660 20421 + -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'` 17661 + 20422 20423 -if test -n "$cf_xopen_source" ; then 17662 20424 + cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source" 17663 20425 … … 17672 20434 case $cf_fix_cppflags in 17673 20435 no) 17674 @@ -7597,16 +8 317,19 @@20436 @@ -7597,16 +8191,19 @@ 17675 20437 17676 20438 fi … … 17682 20444 17683 20445 -echo "$as_me:7602: checking if SIGWINCH is defined" >&5 17684 +echo "$as_me:8 325: checking if SIGWINCH is defined" >&520446 +echo "$as_me:8199: checking if SIGWINCH is defined" >&5 17685 20447 echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 17686 20448 if test "${cf_cv_define_sigwinch+set}" = set; then … … 17690 20452 cat >conftest.$ac_ext <<_ACEOF 17691 20453 -#line 7609 "configure" 17692 +#line 8 332"configure"20454 +#line 8206 "configure" 17693 20455 #include "confdefs.h" 17694 20456 17695 20457 #include <sys/types.h> 17696 @@ -7621,23 +8 344,23 @@20458 @@ -7621,23 +8218,23 @@ 17697 20459 } 17698 20460 _ACEOF 17699 20461 rm -f conftest.$ac_objext 17700 20462 -if { (eval echo "$as_me:7624: \"$ac_compile\"") >&5 17701 +if { (eval echo "$as_me:8 347: \"$ac_compile\"") >&520463 +if { (eval echo "$as_me:8221: \"$ac_compile\"") >&5 17702 20464 (eval $ac_compile) 2>&5 17703 20465 ac_status=$? 17704 20466 - echo "$as_me:7627: \$? = $ac_status" >&5 17705 + echo "$as_me:8 350: \$? = $ac_status" >&520467 + echo "$as_me:8224: \$? = $ac_status" >&5 17706 20468 (exit $ac_status); } && 17707 20469 { ac_try='test -s conftest.$ac_objext' 17708 20470 - { (eval echo "$as_me:7630: \"$ac_try\"") >&5 17709 + { (eval echo "$as_me:8 353: \"$ac_try\"") >&520471 + { (eval echo "$as_me:8227: \"$ac_try\"") >&5 17710 20472 (eval $ac_try) 2>&5 17711 20473 ac_status=$? 17712 20474 - echo "$as_me:7633: \$? = $ac_status" >&5 17713 + echo "$as_me:8 356: \$? = $ac_status" >&520475 + echo "$as_me:8230: \$? = $ac_status" >&5 17714 20476 (exit $ac_status); }; }; then 17715 20477 cf_cv_define_sigwinch=yes … … 17719 20481 cat >conftest.$ac_ext <<_ACEOF 17720 20482 -#line 7640 "configure" 17721 +#line 8 363"configure"20483 +#line 8237 "configure" 17722 20484 #include "confdefs.h" 17723 20485 17724 20486 #undef _XOPEN_SOURCE 17725 @@ -7655,16 +8 378,16 @@20487 @@ -7655,16 +8252,16 @@ 17726 20488 } 17727 20489 _ACEOF 17728 20490 rm -f conftest.$ac_objext 17729 20491 -if { (eval echo "$as_me:7658: \"$ac_compile\"") >&5 17730 +if { (eval echo "$as_me:8 381: \"$ac_compile\"") >&520492 +if { (eval echo "$as_me:8255: \"$ac_compile\"") >&5 17731 20493 (eval $ac_compile) 2>&5 17732 20494 ac_status=$? 17733 20495 - echo "$as_me:7661: \$? = $ac_status" >&5 17734 + echo "$as_me:8 384: \$? = $ac_status" >&520496 + echo "$as_me:8258: \$? = $ac_status" >&5 17735 20497 (exit $ac_status); } && 17736 20498 { ac_try='test -s conftest.$ac_objext' 17737 20499 - { (eval echo "$as_me:7664: \"$ac_try\"") >&5 17738 + { (eval echo "$as_me:8 387: \"$ac_try\"") >&520500 + { (eval echo "$as_me:8261: \"$ac_try\"") >&5 17739 20501 (eval $ac_try) 2>&5 17740 20502 ac_status=$? 17741 20503 - echo "$as_me:7667: \$? = $ac_status" >&5 17742 + echo "$as_me:8 390: \$? = $ac_status" >&520504 + echo "$as_me:8264: \$? = $ac_status" >&5 17743 20505 (exit $ac_status); }; }; then 17744 20506 cf_cv_define_sigwinch=maybe 17745 20507 else 17746 @@ -7678,11 +8 401,11 @@20508 @@ -7678,11 +8275,11 @@ 17747 20509 rm -f conftest.$ac_objext conftest.$ac_ext 17748 20510 17749 20511 fi 17750 20512 -echo "$as_me:7681: result: $cf_cv_define_sigwinch" >&5 17751 +echo "$as_me:8 404: result: $cf_cv_define_sigwinch" >&520513 +echo "$as_me:8278: result: $cf_cv_define_sigwinch" >&5 17752 20514 echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 17753 20515 17754 20516 if test "$cf_cv_define_sigwinch" = maybe ; then 17755 20517 -echo "$as_me:7685: checking for actual SIGWINCH definition" >&5 17756 +echo "$as_me:8 408: checking for actual SIGWINCH definition" >&520518 +echo "$as_me:8282: checking for actual SIGWINCH definition" >&5 17757 20519 echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 17758 20520 if test "${cf_cv_fixup_sigwinch+set}" = set; then 17759 20521 echo $ECHO_N "(cached) $ECHO_C" >&6 17760 @@ -7693,7 +8 416,7 @@20522 @@ -7693,7 +8290,7 @@ 17761 20523 while test $cf_sigwinch != 1 17762 20524 do 17763 20525 cat >conftest.$ac_ext <<_ACEOF 17764 20526 -#line 7696 "configure" 17765 +#line 8 419"configure"20527 +#line 8293 "configure" 17766 20528 #include "confdefs.h" 17767 20529 17768 20530 #undef _XOPEN_SOURCE 17769 @@ -7715,16 +8 438,16 @@20531 @@ -7715,16 +8312,16 @@ 17770 20532 } 17771 20533 _ACEOF 17772 20534 rm -f conftest.$ac_objext 17773 20535 -if { (eval echo "$as_me:7718: \"$ac_compile\"") >&5 17774 +if { (eval echo "$as_me:8 441: \"$ac_compile\"") >&520536 +if { (eval echo "$as_me:8315: \"$ac_compile\"") >&5 17775 20537 (eval $ac_compile) 2>&5 17776 20538 ac_status=$? 17777 20539 - echo "$as_me:7721: \$? = $ac_status" >&5 17778 + echo "$as_me:8 444: \$? = $ac_status" >&520540 + echo "$as_me:8318: \$? = $ac_status" >&5 17779 20541 (exit $ac_status); } && 17780 20542 { ac_try='test -s conftest.$ac_objext' 17781 20543 - { (eval echo "$as_me:7724: \"$ac_try\"") >&5 17782 + { (eval echo "$as_me:8 447: \"$ac_try\"") >&520544 + { (eval echo "$as_me:8321: \"$ac_try\"") >&5 17783 20545 (eval $ac_try) 2>&5 17784 20546 ac_status=$? 17785 20547 - echo "$as_me:7727: \$? = $ac_status" >&5 17786 + echo "$as_me:8 450: \$? = $ac_status" >&520548 + echo "$as_me:8324: \$? = $ac_status" >&5 17787 20549 (exit $ac_status); }; }; then 17788 20550 cf_cv_fixup_sigwinch=$cf_sigwinch 17789 20551 break 17790 @@ -7738,7 +8 461,7 @@20552 @@ -7738,7 +8335,7 @@ 17791 20553 done 17792 20554 17793 20555 fi 17794 20556 -echo "$as_me:7741: result: $cf_cv_fixup_sigwinch" >&5 17795 +echo "$as_me:8 464: result: $cf_cv_fixup_sigwinch" >&520557 +echo "$as_me:8338: result: $cf_cv_fixup_sigwinch" >&5 17796 20558 echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 17797 20559 17798 20560 if test "$cf_cv_fixup_sigwinch" != unknown ; then 17799 @@ -7748,13 +8 471,13 @@20561 @@ -7748,13 +8345,13 @@ 17800 20562 17801 20563 # Checks for CODESET support. 17802 20564 17803 20565 - echo "$as_me:7751: checking for nl_langinfo and CODESET" >&5 17804 + echo "$as_me:8 474: checking for nl_langinfo and CODESET" >&520566 + echo "$as_me:8348: checking for nl_langinfo and CODESET" >&5 17805 20567 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 17806 20568 if test "${am_cv_langinfo_codeset+set}" = set; then … … 17809 20571 cat >conftest.$ac_ext <<_ACEOF 17810 20572 -#line 7757 "configure" 17811 +#line 8 480"configure"20573 +#line 8354 "configure" 17812 20574 #include "confdefs.h" 17813 20575 #include <langinfo.h> 17814 20576 int 17815 @@ -7766,16 +8 489,16 @@20577 @@ -7766,16 +8363,16 @@ 17816 20578 } 17817 20579 _ACEOF 17818 20580 rm -f conftest.$ac_objext conftest$ac_exeext 17819 20581 -if { (eval echo "$as_me:7769: \"$ac_link\"") >&5 17820 +if { (eval echo "$as_me:8 492: \"$ac_link\"") >&520582 +if { (eval echo "$as_me:8366: \"$ac_link\"") >&5 17821 20583 (eval $ac_link) 2>&5 17822 20584 ac_status=$? 17823 20585 - echo "$as_me:7772: \$? = $ac_status" >&5 17824 + echo "$as_me:8 495: \$? = $ac_status" >&520586 + echo "$as_me:8369: \$? = $ac_status" >&5 17825 20587 (exit $ac_status); } && 17826 20588 { ac_try='test -s conftest$ac_exeext' 17827 20589 - { (eval echo "$as_me:7775: \"$ac_try\"") >&5 17828 + { (eval echo "$as_me:8 498: \"$ac_try\"") >&520590 + { (eval echo "$as_me:8372: \"$ac_try\"") >&5 17829 20591 (eval $ac_try) 2>&5 17830 20592 ac_status=$? 17831 20593 - echo "$as_me:7778: \$? = $ac_status" >&5 17832 + echo "$as_me:8 501: \$? = $ac_status" >&520594 + echo "$as_me:8375: \$? = $ac_status" >&5 17833 20595 (exit $ac_status); }; }; then 17834 20596 am_cv_langinfo_codeset=yes 17835 20597 else 17836 @@ -7786,7 +8 509,7 @@20598 @@ -7786,7 +8383,7 @@ 17837 20599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17838 20600 17839 20601 fi 17840 20602 -echo "$as_me:7789: result: $am_cv_langinfo_codeset" >&5 17841 +echo "$as_me:8 512: result: $am_cv_langinfo_codeset" >&520603 +echo "$as_me:8386: result: $am_cv_langinfo_codeset" >&5 17842 20604 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 17843 20605 if test $am_cv_langinfo_codeset = yes; then 17844 20606 17845 @@ -7800,7 +8 523,7 @@20607 @@ -7800,7 +8397,7 @@ 17846 20608 NCURSES_OK_WCHAR_T= 17847 20609 NCURSES_OK_WINT_T= 17848 20610 17849 20611 -echo "$as_me:7803: checking if you want wide-character code" >&5 17850 +echo "$as_me:8 526: checking if you want wide-character code" >&520612 +echo "$as_me:8400: checking if you want wide-character code" >&5 17851 20613 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 17852 20614 17853 20615 # Check whether --enable-widec or --disable-widec was given. 17854 @@ -7810,7 +8 533,7 @@20616 @@ -7810,7 +8407,7 @@ 17855 20617 else 17856 20618 with_widec=no 17857 20619 fi; 17858 20620 -echo "$as_me:7813: result: $with_widec" >&5 17859 +echo "$as_me:8 536: result: $with_widec" >&520621 +echo "$as_me:8410: result: $with_widec" >&5 17860 20622 echo "${ECHO_T}$with_widec" >&6 17861 20623 if test "$with_widec" = yes ; then 17862 20624 LIB_SUFFIX="w${LIB_SUFFIX}" 17863 @@ -7818,15 +8 541,63 @@20625 @@ -7818,15 +8415,63 @@ 17864 20626 #define USE_WIDEC_SUPPORT 1 17865 20627 EOF … … 17873 20635 +EOF 17874 20636 + 17875 +echo "$as_me:8 548: checking if wchar.h can be used as is" >&520637 +echo "$as_me:8422: checking if wchar.h can be used as is" >&5 17876 20638 +echo $ECHO_N "checking if wchar.h can be used as is... $ECHO_C" >&6 17877 20639 +if test "${cf_cv_wchar_h_okay+set}" = set; then … … 17880 20642 + 17881 20643 +cat >conftest.$ac_ext <<_ACEOF 17882 +#line 8 555"configure"20644 +#line 8429 "configure" 17883 20645 +#include "confdefs.h" 17884 20646 + … … 17897 20659 +_ACEOF 17898 20660 +rm -f conftest.$ac_objext 17899 +if { (eval echo "$as_me:8 572: \"$ac_compile\"") >&520661 +if { (eval echo "$as_me:8446: \"$ac_compile\"") >&5 17900 20662 + (eval $ac_compile) 2>&5 17901 20663 + ac_status=$? 17902 + echo "$as_me:8 575: \$? = $ac_status" >&520664 + echo "$as_me:8449: \$? = $ac_status" >&5 17903 20665 + (exit $ac_status); } && 17904 20666 + { ac_try='test -s conftest.$ac_objext' 17905 + { (eval echo "$as_me:8 578: \"$ac_try\"") >&520667 + { (eval echo "$as_me:8452: \"$ac_try\"") >&5 17906 20668 + (eval $ac_try) 2>&5 17907 20669 + ac_status=$? 17908 + echo "$as_me:8 581: \$? = $ac_status" >&520670 + echo "$as_me:8455: \$? = $ac_status" >&5 17909 20671 + (exit $ac_status); }; }; then 17910 20672 + cf_cv_wchar_h_okay=yes … … 17916 20678 +rm -f conftest.$ac_objext conftest.$ac_ext 17917 20679 +fi 17918 +echo "$as_me:8 591: result: $cf_cv_wchar_h_okay" >&520680 +echo "$as_me:8465: result: $cf_cv_wchar_h_okay" >&5 17919 20681 +echo "${ECHO_T}$cf_cv_wchar_h_okay" >&6 17920 20682 + … … 17923 20685 17924 20686 -echo "$as_me:7826: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 17925 +echo "$as_me:8 597: checking if we must define _XOPEN_SOURCE_EXTENDED" >&520687 +echo "$as_me:8471: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 17926 20688 echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 17927 20689 cat >conftest.$ac_ext <<_ACEOF 17928 20690 -#line 7829 "configure" 17929 +#line 8 600"configure"20691 +#line 8474 "configure" 17930 20692 #include "confdefs.h" 17931 20693 #include <sys/types.h> 17932 20694 17933 @@ -7842,16 +8 613,16 @@20695 @@ -7842,16 +8487,16 @@ 17934 20696 } 17935 20697 _ACEOF 17936 20698 rm -f conftest.$ac_objext 17937 20699 -if { (eval echo "$as_me:7845: \"$ac_compile\"") >&5 17938 +if { (eval echo "$as_me:8 616: \"$ac_compile\"") >&520700 +if { (eval echo "$as_me:8490: \"$ac_compile\"") >&5 17939 20701 (eval $ac_compile) 2>&5 17940 20702 ac_status=$? 17941 20703 - echo "$as_me:7848: \$? = $ac_status" >&5 17942 + echo "$as_me:8 619: \$? = $ac_status" >&520704 + echo "$as_me:8493: \$? = $ac_status" >&5 17943 20705 (exit $ac_status); } && 17944 20706 { ac_try='test -s conftest.$ac_objext' 17945 20707 - { (eval echo "$as_me:7851: \"$ac_try\"") >&5 17946 + { (eval echo "$as_me:8 622: \"$ac_try\"") >&520708 + { (eval echo "$as_me:8496: \"$ac_try\"") >&5 17947 20709 (eval $ac_try) 2>&5 17948 20710 ac_status=$? 17949 20711 - echo "$as_me:7854: \$? = $ac_status" >&5 17950 + echo "$as_me:8 625: \$? = $ac_status" >&520712 + echo "$as_me:8499: \$? = $ac_status" >&5 17951 20713 (exit $ac_status); }; }; then 17952 20714 cf_result=no 17953 20715 else 17954 @@ -7860,16 +8 631,16 @@20716 @@ -7860,16 +8505,16 @@ 17955 20717 cf_result=yes 17956 20718 fi 17957 20719 rm -f conftest.$ac_objext conftest.$ac_ext 17958 20720 -echo "$as_me:7863: result: $cf_result" >&5 17959 +echo "$as_me:8 634: result: $cf_result" >&520721 +echo "$as_me:8508: result: $cf_result" >&5 17960 20722 echo "${ECHO_T}$cf_result" >&6 17961 20723 … … 17964 20726 elif test "x" != "x" ; then 17965 20727 - echo "$as_me:7869: checking checking for compatible value versus " >&5 17966 + echo "$as_me:8 640: checking checking for compatible value versus " >&520728 + echo "$as_me:8514: checking checking for compatible value versus " >&5 17967 20729 echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6 17968 20730 cat >conftest.$ac_ext <<_ACEOF 17969 20731 -#line 7872 "configure" 17970 +#line 8 643"configure"20732 +#line 8517 "configure" 17971 20733 #include "confdefs.h" 17972 20734 #include <sys/types.h> 17973 20735 17974 @@ -7885,16 +8 656,16 @@20736 @@ -7885,16 +8530,16 @@ 17975 20737 } 17976 20738 _ACEOF 17977 20739 rm -f conftest.$ac_objext 17978 20740 -if { (eval echo "$as_me:7888: \"$ac_compile\"") >&5 17979 +if { (eval echo "$as_me:8 659: \"$ac_compile\"") >&520741 +if { (eval echo "$as_me:8533: \"$ac_compile\"") >&5 17980 20742 (eval $ac_compile) 2>&5 17981 20743 ac_status=$? 17982 20744 - echo "$as_me:7891: \$? = $ac_status" >&5 17983 + echo "$as_me:8 662: \$? = $ac_status" >&520745 + echo "$as_me:8536: \$? = $ac_status" >&5 17984 20746 (exit $ac_status); } && 17985 20747 { ac_try='test -s conftest.$ac_objext' 17986 20748 - { (eval echo "$as_me:7894: \"$ac_try\"") >&5 17987 + { (eval echo "$as_me:8 665: \"$ac_try\"") >&520749 + { (eval echo "$as_me:8539: \"$ac_try\"") >&5 17988 20750 (eval $ac_try) 2>&5 17989 20751 ac_status=$? 17990 20752 - echo "$as_me:7897: \$? = $ac_status" >&5 17991 + echo "$as_me:8 668: \$? = $ac_status" >&520753 + echo "$as_me:8542: \$? = $ac_status" >&5 17992 20754 (exit $ac_status); }; }; then 17993 20755 cf_result=yes 17994 20756 else 17995 @@ -7903,7 +8 674,7 @@20757 @@ -7903,7 +8548,7 @@ 17996 20758 cf_result=no 17997 20759 fi 17998 20760 rm -f conftest.$ac_objext conftest.$ac_ext 17999 20761 - echo "$as_me:7906: result: $cf_result" >&5 18000 + echo "$as_me:8 677: result: $cf_result" >&520762 + echo "$as_me:8551: result: $cf_result" >&5 18001 20763 echo "${ECHO_T}$cf_result" >&6 18002 20764 if test "$cf_result" = no ; then 18003 20765 # perhaps we can override it - try... 18004 @@ -7911,8 +8 682,7 @@20766 @@ -7911,8 +8556,7 @@ 18005 20767 fi 18006 20768 fi … … 18012 20774 # with_overwrite=no 18013 20775 NCURSES_CH_T=cchar_t 18014 @@ -7920,13 +8 690,13 @@20776 @@ -7920,13 +8564,13 @@ 18015 20777 for ac_func in putwc btowc wctob mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs 18016 20778 do 18017 20779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18018 20780 -echo "$as_me:7923: checking for $ac_func" >&5 18019 +echo "$as_me:8 693: checking for $ac_func" >&520781 +echo "$as_me:8567: checking for $ac_func" >&5 18020 20782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 18021 20783 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 18024 20786 cat >conftest.$ac_ext <<_ACEOF 18025 20787 -#line 7929 "configure" 18026 +#line 8 699"configure"20788 +#line 8573 "configure" 18027 20789 #include "confdefs.h" 18028 20790 /* System header to define __stub macros and hopefully few prototypes, 18029 20791 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 @@ 18031 20802 } 18032 20803 _ACEOF 18033 20804 rm -f conftest.$ac_objext conftest$ac_exeext 18034 20805 -if { (eval echo "$as_me:7960: \"$ac_link\"") >&5 18035 +if { (eval echo "$as_me:8 730: \"$ac_link\"") >&520806 +if { (eval echo "$as_me:8604: \"$ac_link\"") >&5 18036 20807 (eval $ac_link) 2>&5 18037 20808 ac_status=$? 18038 20809 - echo "$as_me:7963: \$? = $ac_status" >&5 18039 + echo "$as_me:8 733: \$? = $ac_status" >&520810 + echo "$as_me:8607: \$? = $ac_status" >&5 18040 20811 (exit $ac_status); } && 18041 20812 { ac_try='test -s conftest$ac_exeext' 18042 20813 - { (eval echo "$as_me:7966: \"$ac_try\"") >&5 18043 + { (eval echo "$as_me:8 736: \"$ac_try\"") >&520814 + { (eval echo "$as_me:8610: \"$ac_try\"") >&5 18044 20815 (eval $ac_try) 2>&5 18045 20816 ac_status=$? 18046 20817 - echo "$as_me:7969: \$? = $ac_status" >&5 18047 + echo "$as_me:8 739: \$? = $ac_status" >&520818 + echo "$as_me:8613: \$? = $ac_status" >&5 18048 20819 (exit $ac_status); }; }; then 18049 20820 eval "$as_ac_var=yes" 18050 20821 else 18051 @@ -7976,7 +8 746,7 @@20822 @@ -7976,7 +8620,7 @@ 18052 20823 fi 18053 20824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18054 20825 fi 18055 20826 -echo "$as_me:7979: result: `eval echo '${'$as_ac_var'}'`" >&5 18056 +echo "$as_me:8 749: result: `eval echo '${'$as_ac_var'}'`" >&520827 +echo "$as_me:8623: result: `eval echo '${'$as_ac_var'}'`" >&5 18057 20828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18058 20829 if test `eval echo '${'$as_ac_var'}'` = yes; then 18059 20830 cat >>confdefs.h <<EOF 18060 @@ -7988,7 +8 758,7 @@20831 @@ -7988,7 +8632,7 @@ 18061 20832 18062 20833 if test "$ac_cv_func_putwc" != yes ; then 18063 20834 18064 20835 -echo "$as_me:7991: checking for multibyte character support" >&5 18065 +echo "$as_me:8 761: checking for multibyte character support" >&520836 +echo "$as_me:8635: checking for multibyte character support" >&5 18066 20837 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6 18067 20838 if test "${cf_cv_utf8_lib+set}" = set; then 18068 20839 echo $ECHO_N "(cached) $ECHO_C" >&6 18069 @@ -7996,7 +8 766,7 @@20840 @@ -7996,7 +8640,7 @@ 18070 20841 18071 20842 cf_save_LIBS="$LIBS" 18072 20843 cat >conftest.$ac_ext <<_ACEOF 18073 20844 -#line 7999 "configure" 18074 +#line 8 769"configure"20845 +#line 8643 "configure" 18075 20846 #include "confdefs.h" 18076 20847 18077 20848 #include <stdlib.h> 18078 @@ -8009,16 +8 779,16 @@20849 @@ -8009,16 +8653,16 @@ 18079 20850 } 18080 20851 _ACEOF 18081 20852 rm -f conftest.$ac_objext conftest$ac_exeext 18082 20853 -if { (eval echo "$as_me:8012: \"$ac_link\"") >&5 18083 +if { (eval echo "$as_me:8 782: \"$ac_link\"") >&520854 +if { (eval echo "$as_me:8656: \"$ac_link\"") >&5 18084 20855 (eval $ac_link) 2>&5 18085 20856 ac_status=$? 18086 20857 - echo "$as_me:8015: \$? = $ac_status" >&5 18087 + echo "$as_me:8 785: \$? = $ac_status" >&520858 + echo "$as_me:8659: \$? = $ac_status" >&5 18088 20859 (exit $ac_status); } && 18089 20860 { ac_try='test -s conftest$ac_exeext' 18090 20861 - { (eval echo "$as_me:8018: \"$ac_try\"") >&5 18091 + { (eval echo "$as_me:8 788: \"$ac_try\"") >&520862 + { (eval echo "$as_me:8662: \"$ac_try\"") >&5 18092 20863 (eval $ac_try) 2>&5 18093 20864 ac_status=$? 18094 20865 - echo "$as_me:8021: \$? = $ac_status" >&5 18095 + echo "$as_me:8 791: \$? = $ac_status" >&520866 + echo "$as_me:8665: \$? = $ac_status" >&5 18096 20867 (exit $ac_status); }; }; then 18097 20868 cf_cv_utf8_lib=yes 18098 20869 else 18099 @@ -8030,12 +8 800,12 @@20870 @@ -8030,12 +8674,12 @@ 18100 20871 cf_cv_header_path_utf8= 18101 20872 cf_cv_library_path_utf8= 18102 20873 18103 20874 -echo "${as_me:-configure}:8033: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 18104 +echo "${as_me:-configure}:8 803: testing Starting FIND_LINKAGE(utf8,) ..." 1>&520875 +echo "${as_me:-configure}:8677: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 18105 20876 18106 20877 cf_save_LIBS="$LIBS" … … 18108 20879 cat >conftest.$ac_ext <<_ACEOF 18109 20880 -#line 8038 "configure" 18110 +#line 8 808"configure"20881 +#line 8682 "configure" 18111 20882 #include "confdefs.h" 18112 20883 18113 20884 #include <libutf8.h> 18114 @@ -8048,16 +8 818,16 @@20885 @@ -8048,16 +8692,16 @@ 18115 20886 } 18116 20887 _ACEOF 18117 20888 rm -f conftest.$ac_objext conftest$ac_exeext 18118 20889 -if { (eval echo "$as_me:8051: \"$ac_link\"") >&5 18119 +if { (eval echo "$as_me:8 821: \"$ac_link\"") >&520890 +if { (eval echo "$as_me:8695: \"$ac_link\"") >&5 18120 20891 (eval $ac_link) 2>&5 18121 20892 ac_status=$? 18122 20893 - echo "$as_me:8054: \$? = $ac_status" >&5 18123 + echo "$as_me:8 824: \$? = $ac_status" >&520894 + echo "$as_me:8698: \$? = $ac_status" >&5 18124 20895 (exit $ac_status); } && 18125 20896 { ac_try='test -s conftest$ac_exeext' 18126 20897 - { (eval echo "$as_me:8057: \"$ac_try\"") >&5 18127 + { (eval echo "$as_me:8 827: \"$ac_try\"") >&520898 + { (eval echo "$as_me:8701: \"$ac_try\"") >&5 18128 20899 (eval $ac_try) 2>&5 18129 20900 ac_status=$? 18130 20901 - echo "$as_me:8060: \$? = $ac_status" >&5 18131 + echo "$as_me:8 830: \$? = $ac_status" >&520902 + echo "$as_me:8704: \$? = $ac_status" >&5 18132 20903 (exit $ac_status); }; }; then 18133 20904 18134 20905 cf_cv_find_linkage_utf8=yes 18135 @@ -8071,7 +8 841,7 @@20906 @@ -8071,7 +8715,7 @@ 18136 20907 LIBS="-lutf8 $cf_save_LIBS" 18137 20908 18138 20909 cat >conftest.$ac_ext <<_ACEOF 18139 20910 -#line 8074 "configure" 18140 +#line 8 844"configure"20911 +#line 8718 "configure" 18141 20912 #include "confdefs.h" 18142 20913 18143 20914 #include <libutf8.h> 18144 @@ -8084,16 +8 854,16 @@20915 @@ -8084,16 +8728,16 @@ 18145 20916 } 18146 20917 _ACEOF 18147 20918 rm -f conftest.$ac_objext conftest$ac_exeext 18148 20919 -if { (eval echo "$as_me:8087: \"$ac_link\"") >&5 18149 +if { (eval echo "$as_me:8 857: \"$ac_link\"") >&520920 +if { (eval echo "$as_me:8731: \"$ac_link\"") >&5 18150 20921 (eval $ac_link) 2>&5 18151 20922 ac_status=$? 18152 20923 - echo "$as_me:8090: \$? = $ac_status" >&5 18153 + echo "$as_me:8 860: \$? = $ac_status" >&520924 + echo "$as_me:8734: \$? = $ac_status" >&5 18154 20925 (exit $ac_status); } && 18155 20926 { ac_try='test -s conftest$ac_exeext' 18156 20927 - { (eval echo "$as_me:8093: \"$ac_try\"") >&5 18157 + { (eval echo "$as_me:8 863: \"$ac_try\"") >&520928 + { (eval echo "$as_me:8737: \"$ac_try\"") >&5 18158 20929 (eval $ac_try) 2>&5 18159 20930 ac_status=$? 18160 20931 - echo "$as_me:8096: \$? = $ac_status" >&5 18161 + echo "$as_me:8 866: \$? = $ac_status" >&520932 + echo "$as_me:8740: \$? = $ac_status" >&5 18162 20933 (exit $ac_status); }; }; then 18163 20934 18164 20935 cf_cv_find_linkage_utf8=yes 18165 @@ -8110,9 +8 880,9 @@20936 @@ -8110,9 +8754,9 @@ 18166 20937 18167 20938 test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 18168 20939 18169 20940 -echo "${as_me:-configure}:8113: testing find linkage for utf8 library ..." 1>&5 18170 +echo "${as_me:-configure}:8 883: testing find linkage for utf8 library ..." 1>&520941 +echo "${as_me:-configure}:8757: testing find linkage for utf8 library ..." 1>&5 18171 20942 18172 20943 -echo "${as_me:-configure}:8115: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 18173 +echo "${as_me:-configure}:8 885: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&520944 +echo "${as_me:-configure}:8759: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 18174 20945 18175 20946 cf_save_CPPFLAGS="$CPPFLAGS" 18176 20947 cf_test_CPPFLAGS="$CPPFLAGS" 18177 @@ -8225,11 +8 995,11 @@20948 @@ -8225,11 +8869,11 @@ 18178 20949 if test -d $cf_cv_header_path_utf8 ; then 18179 20950 test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6 18180 20951 18181 20952 -echo "${as_me:-configure}:8228: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 18182 +echo "${as_me:-configure}:8 998: testing ... testing $cf_cv_header_path_utf8 ..." 1>&520953 +echo "${as_me:-configure}:8872: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 18183 20954 18184 20955 CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8" 18185 20956 cat >conftest.$ac_ext <<_ACEOF 18186 20957 -#line 8232 "configure" 18187 +#line 9002"configure"20958 +#line 8876 "configure" 18188 20959 #include "confdefs.h" 18189 20960 18190 20961 #include <libutf8.h> 18191 @@ -8242,21 + 9012,21 @@20962 @@ -8242,21 +8886,21 @@ 18192 20963 } 18193 20964 _ACEOF 18194 20965 rm -f conftest.$ac_objext 18195 20966 -if { (eval echo "$as_me:8245: \"$ac_compile\"") >&5 18196 +if { (eval echo "$as_me: 9015: \"$ac_compile\"") >&520967 +if { (eval echo "$as_me:8889: \"$ac_compile\"") >&5 18197 20968 (eval $ac_compile) 2>&5 18198 20969 ac_status=$? 18199 20970 - echo "$as_me:8248: \$? = $ac_status" >&5 18200 + echo "$as_me: 9018: \$? = $ac_status" >&520971 + echo "$as_me:8892: \$? = $ac_status" >&5 18201 20972 (exit $ac_status); } && 18202 20973 { ac_try='test -s conftest.$ac_objext' 18203 20974 - { (eval echo "$as_me:8251: \"$ac_try\"") >&5 18204 + { (eval echo "$as_me: 9021: \"$ac_try\"") >&520975 + { (eval echo "$as_me:8895: \"$ac_try\"") >&5 18205 20976 (eval $ac_try) 2>&5 18206 20977 ac_status=$? 18207 20978 - echo "$as_me:8254: \$? = $ac_status" >&5 18208 + echo "$as_me: 9024: \$? = $ac_status" >&520979 + echo "$as_me:8898: \$? = $ac_status" >&5 18209 20980 (exit $ac_status); }; }; then 18210 20981 … … 18212 20983 18213 20984 -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>&520985 +echo "${as_me:-configure}:8903: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 18215 20986 18216 20987 cf_cv_find_linkage_utf8=maybe 18217 20988 cf_test_CPPFLAGS="$CPPFLAGS" 18218 @@ -8274,7 + 9044,7 @@20989 @@ -8274,7 +8918,7 @@ 18219 20990 18220 20991 if test "$cf_cv_find_linkage_utf8" = maybe ; then 18221 20992 18222 20993 -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>&520994 +echo "${as_me:-configure}:8921: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 18224 20995 18225 20996 cf_save_LIBS="$LIBS" 18226 20997 cf_save_LDFLAGS="$LDFLAGS" 18227 @@ -8371,13 +9 141,13 @@20998 @@ -8371,13 +9015,13 @@ 18228 20999 if test -d $cf_cv_library_path_utf8 ; then 18229 21000 test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6 18230 21001 18231 21002 -echo "${as_me:-configure}:8374: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 18232 +echo "${as_me:-configure}:9 144: testing ... testing $cf_cv_library_path_utf8 ..." 1>&521003 +echo "${as_me:-configure}:9018: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 18233 21004 18234 21005 CPPFLAGS="$cf_test_CPPFLAGS" … … 18237 21008 cat >conftest.$ac_ext <<_ACEOF 18238 21009 -#line 8380 "configure" 18239 +#line 9 150"configure"21010 +#line 9024 "configure" 18240 21011 #include "confdefs.h" 18241 21012 18242 21013 #include <libutf8.h> 18243 @@ -8390,21 +9 160,21 @@21014 @@ -8390,21 +9034,21 @@ 18244 21015 } 18245 21016 _ACEOF 18246 21017 rm -f conftest.$ac_objext conftest$ac_exeext 18247 21018 -if { (eval echo "$as_me:8393: \"$ac_link\"") >&5 18248 +if { (eval echo "$as_me:9 163: \"$ac_link\"") >&521019 +if { (eval echo "$as_me:9037: \"$ac_link\"") >&5 18249 21020 (eval $ac_link) 2>&5 18250 21021 ac_status=$? 18251 21022 - echo "$as_me:8396: \$? = $ac_status" >&5 18252 + echo "$as_me:9 166: \$? = $ac_status" >&521023 + echo "$as_me:9040: \$? = $ac_status" >&5 18253 21024 (exit $ac_status); } && 18254 21025 { ac_try='test -s conftest$ac_exeext' 18255 21026 - { (eval echo "$as_me:8399: \"$ac_try\"") >&5 18256 + { (eval echo "$as_me:9 169: \"$ac_try\"") >&521027 + { (eval echo "$as_me:9043: \"$ac_try\"") >&5 18257 21028 (eval $ac_try) 2>&5 18258 21029 ac_status=$? 18259 21030 - echo "$as_me:8402: \$? = $ac_status" >&5 18260 + echo "$as_me:9 172: \$? = $ac_status" >&521031 + echo "$as_me:9046: \$? = $ac_status" >&5 18261 21032 (exit $ac_status); }; }; then 18262 21033 … … 18264 21035 18265 21036 -echo "${as_me:-configure}:8407: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 18266 +echo "${as_me:-configure}:9 177: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&521037 +echo "${as_me:-configure}:9051: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 18267 21038 18268 21039 cf_cv_find_linkage_utf8=yes 18269 21040 cf_cv_library_file_utf8="-lutf8" 18270 @@ -8446,7 +9 216,7 @@21041 @@ -8446,7 +9090,7 @@ 18271 21042 fi 18272 21043 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18273 21044 fi 18274 21045 -echo "$as_me:8449: result: $cf_cv_utf8_lib" >&5 18275 +echo "$as_me:9 219: result: $cf_cv_utf8_lib" >&521046 +echo "$as_me:9093: result: $cf_cv_utf8_lib" >&5 18276 21047 echo "${ECHO_T}$cf_cv_utf8_lib" >&6 18277 21048 18278 21049 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between 18279 @@ -8480,7 +9 250,7 @@21050 @@ -8480,7 +9124,7 @@ 18280 21051 cf_save_CPPFLAGS=$CPPFLAGS 18281 21052 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 18282 21053 cat >conftest.$ac_ext <<_ACEOF 18283 21054 -#line 8483 "configure" 18284 +#line 9 253"configure"21055 +#line 9127 "configure" 18285 21056 #include "confdefs.h" 18286 21057 #include <stdio.h> 18287 21058 int 18288 @@ -8492,16 +9 262,16 @@21059 @@ -8492,16 +9136,16 @@ 18289 21060 } 18290 21061 _ACEOF 18291 21062 rm -f conftest.$ac_objext 18292 21063 -if { (eval echo "$as_me:8495: \"$ac_compile\"") >&5 18293 +if { (eval echo "$as_me:9 265: \"$ac_compile\"") >&521064 +if { (eval echo "$as_me:9139: \"$ac_compile\"") >&5 18294 21065 (eval $ac_compile) 2>&5 18295 21066 ac_status=$? 18296 21067 - echo "$as_me:8498: \$? = $ac_status" >&5 18297 + echo "$as_me:9 268: \$? = $ac_status" >&521068 + echo "$as_me:9142: \$? = $ac_status" >&5 18298 21069 (exit $ac_status); } && 18299 21070 { ac_try='test -s conftest.$ac_objext' 18300 21071 - { (eval echo "$as_me:8501: \"$ac_try\"") >&5 18301 + { (eval echo "$as_me:9 271: \"$ac_try\"") >&521072 + { (eval echo "$as_me:9145: \"$ac_try\"") >&5 18302 21073 (eval $ac_try) 2>&5 18303 21074 ac_status=$? 18304 21075 - echo "$as_me:8504: \$? = $ac_status" >&5 18305 + echo "$as_me:9 274: \$? = $ac_status" >&521076 + echo "$as_me:9148: \$? = $ac_status" >&5 18306 21077 (exit $ac_status); }; }; then 18307 21078 : 18308 21079 else 18309 @@ -8518,7 +9 288,7 @@21080 @@ -8518,7 +9162,7 @@ 18310 21081 if test "$cf_have_incdir" = no ; then 18311 21082 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 18312 21083 18313 21084 -echo "${as_me:-configure}:8521: testing adding $cf_add_incdir to include-path ..." 1>&5 18314 +echo "${as_me:-configure}:9 291: testing adding $cf_add_incdir to include-path ..." 1>&521085 +echo "${as_me:-configure}:9165: testing adding $cf_add_incdir to include-path ..." 1>&5 18315 21086 18316 21087 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 18317 21088 18318 @@ -8552,7 +9 322,7 @@21089 @@ -8552,7 +9196,7 @@ 18319 21090 if test "$cf_have_libdir" = no ; then 18320 21091 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 18321 21092 18322 21093 -echo "${as_me:-configure}:8555: testing adding $cf_add_libdir to library-path ..." 1>&5 18323 +echo "${as_me:-configure}:9 325: testing adding $cf_add_libdir to library-path ..." 1>&521094 +echo "${as_me:-configure}:9199: testing adding $cf_add_libdir to library-path ..." 1>&5 18324 21095 18325 21096 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 18326 21097 fi 18327 @@ -8569,14 +9 339,14 @@21098 @@ -8569,14 +9213,14 @@ 18328 21099 fi 18329 21100 18330 21101 # This is needed on Tru64 5.0 to declare mbstate_t 18331 21102 -echo "$as_me:8572: checking if we must include wchar.h to declare mbstate_t" >&5 18332 +echo "$as_me:9 342: checking if we must include wchar.h to declare mbstate_t" >&521103 +echo "$as_me:9216: checking if we must include wchar.h to declare mbstate_t" >&5 18333 21104 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6 18334 21105 if test "${cf_cv_mbstate_t+set}" = set; then … … 18338 21109 cat >conftest.$ac_ext <<_ACEOF 18339 21110 -#line 8579 "configure" 18340 +#line 9 349"configure"21111 +#line 9223 "configure" 18341 21112 #include "confdefs.h" 18342 21113 18343 21114 #include <stdlib.h> 18344 @@ -8594,23 +9 364,23 @@21115 @@ -8594,23 +9238,23 @@ 18345 21116 } 18346 21117 _ACEOF 18347 21118 rm -f conftest.$ac_objext 18348 21119 -if { (eval echo "$as_me:8597: \"$ac_compile\"") >&5 18349 +if { (eval echo "$as_me:9 367: \"$ac_compile\"") >&521120 +if { (eval echo "$as_me:9241: \"$ac_compile\"") >&5 18350 21121 (eval $ac_compile) 2>&5 18351 21122 ac_status=$? 18352 21123 - echo "$as_me:8600: \$? = $ac_status" >&5 18353 + echo "$as_me:9 370: \$? = $ac_status" >&521124 + echo "$as_me:9244: \$? = $ac_status" >&5 18354 21125 (exit $ac_status); } && 18355 21126 { ac_try='test -s conftest.$ac_objext' 18356 21127 - { (eval echo "$as_me:8603: \"$ac_try\"") >&5 18357 + { (eval echo "$as_me:9 373: \"$ac_try\"") >&521128 + { (eval echo "$as_me:9247: \"$ac_try\"") >&5 18358 21129 (eval $ac_try) 2>&5 18359 21130 ac_status=$? 18360 21131 - echo "$as_me:8606: \$? = $ac_status" >&5 18361 + echo "$as_me:9 376: \$? = $ac_status" >&521132 + echo "$as_me:9250: \$? = $ac_status" >&5 18362 21133 (exit $ac_status); }; }; then 18363 21134 cf_cv_mbstate_t=no … … 18367 21138 cat >conftest.$ac_ext <<_ACEOF 18368 21139 -#line 8613 "configure" 18369 +#line 9 383"configure"21140 +#line 9257 "configure" 18370 21141 #include "confdefs.h" 18371 21142 18372 21143 #include <stdlib.h> 18373 @@ -8629,16 +9 399,16 @@21144 @@ -8629,16 +9273,16 @@ 18374 21145 } 18375 21146 _ACEOF 18376 21147 rm -f conftest.$ac_objext 18377 21148 -if { (eval echo "$as_me:8632: \"$ac_compile\"") >&5 18378 +if { (eval echo "$as_me:9 402: \"$ac_compile\"") >&521149 +if { (eval echo "$as_me:9276: \"$ac_compile\"") >&5 18379 21150 (eval $ac_compile) 2>&5 18380 21151 ac_status=$? 18381 21152 - echo "$as_me:8635: \$? = $ac_status" >&5 18382 + echo "$as_me:9 405: \$? = $ac_status" >&521153 + echo "$as_me:9279: \$? = $ac_status" >&5 18383 21154 (exit $ac_status); } && 18384 21155 { ac_try='test -s conftest.$ac_objext' 18385 21156 - { (eval echo "$as_me:8638: \"$ac_try\"") >&5 18386 + { (eval echo "$as_me:9 408: \"$ac_try\"") >&521157 + { (eval echo "$as_me:9282: \"$ac_try\"") >&5 18387 21158 (eval $ac_try) 2>&5 18388 21159 ac_status=$? 18389 21160 - echo "$as_me:8641: \$? = $ac_status" >&5 18390 + echo "$as_me:9 411: \$? = $ac_status" >&521161 + echo "$as_me:9285: \$? = $ac_status" >&5 18391 21162 (exit $ac_status); }; }; then 18392 21163 cf_cv_mbstate_t=yes 18393 21164 else 18394 @@ -8650,7 +9 420,7 @@21165 @@ -8650,7 +9294,7 @@ 18395 21166 fi 18396 21167 rm -f conftest.$ac_objext conftest.$ac_ext 18397 21168 fi 18398 21169 -echo "$as_me:8653: result: $cf_cv_mbstate_t" >&5 18399 +echo "$as_me:9 423: result: $cf_cv_mbstate_t" >&521170 +echo "$as_me:9297: result: $cf_cv_mbstate_t" >&5 18400 21171 echo "${ECHO_T}$cf_cv_mbstate_t" >&6 18401 21172 18402 21173 if test "$cf_cv_mbstate_t" = yes ; then 18403 @@ -8667,14 +9 437,14 @@21174 @@ -8667,14 +9311,14 @@ 18404 21175 fi 18405 21176 18406 21177 # This is needed on Tru64 5.0 to declare wchar_t 18407 21178 -echo "$as_me:8670: checking if we must include wchar.h to declare wchar_t" >&5 18408 +echo "$as_me:9 440: checking if we must include wchar.h to declare wchar_t" >&521179 +echo "$as_me:9314: checking if we must include wchar.h to declare wchar_t" >&5 18409 21180 echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 18410 21181 if test "${cf_cv_wchar_t+set}" = set; then … … 18414 21185 cat >conftest.$ac_ext <<_ACEOF 18415 21186 -#line 8677 "configure" 18416 +#line 9 447"configure"21187 +#line 9321 "configure" 18417 21188 #include "confdefs.h" 18418 21189 18419 21190 #include <stdlib.h> 18420 @@ -8692,23 +9 462,23 @@21191 @@ -8692,23 +9336,23 @@ 18421 21192 } 18422 21193 _ACEOF 18423 21194 rm -f conftest.$ac_objext 18424 21195 -if { (eval echo "$as_me:8695: \"$ac_compile\"") >&5 18425 +if { (eval echo "$as_me:9 465: \"$ac_compile\"") >&521196 +if { (eval echo "$as_me:9339: \"$ac_compile\"") >&5 18426 21197 (eval $ac_compile) 2>&5 18427 21198 ac_status=$? 18428 21199 - echo "$as_me:8698: \$? = $ac_status" >&5 18429 + echo "$as_me:9 468: \$? = $ac_status" >&521200 + echo "$as_me:9342: \$? = $ac_status" >&5 18430 21201 (exit $ac_status); } && 18431 21202 { ac_try='test -s conftest.$ac_objext' 18432 21203 - { (eval echo "$as_me:8701: \"$ac_try\"") >&5 18433 + { (eval echo "$as_me:9 471: \"$ac_try\"") >&521204 + { (eval echo "$as_me:9345: \"$ac_try\"") >&5 18434 21205 (eval $ac_try) 2>&5 18435 21206 ac_status=$? 18436 21207 - echo "$as_me:8704: \$? = $ac_status" >&5 18437 + echo "$as_me:9 474: \$? = $ac_status" >&521208 + echo "$as_me:9348: \$? = $ac_status" >&5 18438 21209 (exit $ac_status); }; }; then 18439 21210 cf_cv_wchar_t=no … … 18443 21214 cat >conftest.$ac_ext <<_ACEOF 18444 21215 -#line 8711 "configure" 18445 +#line 9 481"configure"21216 +#line 9355 "configure" 18446 21217 #include "confdefs.h" 18447 21218 18448 21219 #include <stdlib.h> 18449 @@ -8727,16 +9 497,16 @@21220 @@ -8727,16 +9371,16 @@ 18450 21221 } 18451 21222 _ACEOF 18452 21223 rm -f conftest.$ac_objext 18453 21224 -if { (eval echo "$as_me:8730: \"$ac_compile\"") >&5 18454 +if { (eval echo "$as_me:9 500: \"$ac_compile\"") >&521225 +if { (eval echo "$as_me:9374: \"$ac_compile\"") >&5 18455 21226 (eval $ac_compile) 2>&5 18456 21227 ac_status=$? 18457 21228 - echo "$as_me:8733: \$? = $ac_status" >&5 18458 + echo "$as_me:9 503: \$? = $ac_status" >&521229 + echo "$as_me:9377: \$? = $ac_status" >&5 18459 21230 (exit $ac_status); } && 18460 21231 { ac_try='test -s conftest.$ac_objext' 18461 21232 - { (eval echo "$as_me:8736: \"$ac_try\"") >&5 18462 + { (eval echo "$as_me:9 506: \"$ac_try\"") >&521233 + { (eval echo "$as_me:9380: \"$ac_try\"") >&5 18463 21234 (eval $ac_try) 2>&5 18464 21235 ac_status=$? 18465 21236 - echo "$as_me:8739: \$? = $ac_status" >&5 18466 + echo "$as_me:9 509: \$? = $ac_status" >&521237 + echo "$as_me:9383: \$? = $ac_status" >&5 18467 21238 (exit $ac_status); }; }; then 18468 21239 cf_cv_wchar_t=yes 18469 21240 else 18470 @@ -8748,7 +9 518,7 @@21241 @@ -8748,7 +9392,7 @@ 18471 21242 fi 18472 21243 rm -f conftest.$ac_objext conftest.$ac_ext 18473 21244 fi 18474 21245 -echo "$as_me:8751: result: $cf_cv_wchar_t" >&5 18475 +echo "$as_me:9 521: result: $cf_cv_wchar_t" >&521246 +echo "$as_me:9395: result: $cf_cv_wchar_t" >&5 18476 21247 echo "${ECHO_T}$cf_cv_wchar_t" >&6 18477 21248 18478 21249 if test "$cf_cv_wchar_t" = yes ; then 18479 @@ -8770,14 +9 540,14 @@21250 @@ -8770,14 +9414,14 @@ 18480 21251 fi 18481 21252 18482 21253 # This is needed on Tru64 5.0 to declare wint_t 18483 21254 -echo "$as_me:8773: checking if we must include wchar.h to declare wint_t" >&5 18484 +echo "$as_me:9 543: checking if we must include wchar.h to declare wint_t" >&521255 +echo "$as_me:9417: checking if we must include wchar.h to declare wint_t" >&5 18485 21256 echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 18486 21257 if test "${cf_cv_wint_t+set}" = set; then … … 18490 21261 cat >conftest.$ac_ext <<_ACEOF 18491 21262 -#line 8780 "configure" 18492 +#line 9 550"configure"21263 +#line 9424 "configure" 18493 21264 #include "confdefs.h" 18494 21265 18495 21266 #include <stdlib.h> 18496 @@ -8795,23 +9 565,23 @@21267 @@ -8795,23 +9439,23 @@ 18497 21268 } 18498 21269 _ACEOF 18499 21270 rm -f conftest.$ac_objext 18500 21271 -if { (eval echo "$as_me:8798: \"$ac_compile\"") >&5 18501 +if { (eval echo "$as_me:9 568: \"$ac_compile\"") >&521272 +if { (eval echo "$as_me:9442: \"$ac_compile\"") >&5 18502 21273 (eval $ac_compile) 2>&5 18503 21274 ac_status=$? 18504 21275 - echo "$as_me:8801: \$? = $ac_status" >&5 18505 + echo "$as_me:9 571: \$? = $ac_status" >&521276 + echo "$as_me:9445: \$? = $ac_status" >&5 18506 21277 (exit $ac_status); } && 18507 21278 { ac_try='test -s conftest.$ac_objext' 18508 21279 - { (eval echo "$as_me:8804: \"$ac_try\"") >&5 18509 + { (eval echo "$as_me:9 574: \"$ac_try\"") >&521280 + { (eval echo "$as_me:9448: \"$ac_try\"") >&5 18510 21281 (eval $ac_try) 2>&5 18511 21282 ac_status=$? 18512 21283 - echo "$as_me:8807: \$? = $ac_status" >&5 18513 + echo "$as_me:9 577: \$? = $ac_status" >&521284 + echo "$as_me:9451: \$? = $ac_status" >&5 18514 21285 (exit $ac_status); }; }; then 18515 21286 cf_cv_wint_t=no … … 18519 21290 cat >conftest.$ac_ext <<_ACEOF 18520 21291 -#line 8814 "configure" 18521 +#line 9 584"configure"21292 +#line 9458 "configure" 18522 21293 #include "confdefs.h" 18523 21294 18524 21295 #include <stdlib.h> 18525 @@ -8830,16 +9 600,16 @@21296 @@ -8830,16 +9474,16 @@ 18526 21297 } 18527 21298 _ACEOF 18528 21299 rm -f conftest.$ac_objext 18529 21300 -if { (eval echo "$as_me:8833: \"$ac_compile\"") >&5 18530 +if { (eval echo "$as_me:9 603: \"$ac_compile\"") >&521301 +if { (eval echo "$as_me:9477: \"$ac_compile\"") >&5 18531 21302 (eval $ac_compile) 2>&5 18532 21303 ac_status=$? 18533 21304 - echo "$as_me:8836: \$? = $ac_status" >&5 18534 + echo "$as_me:9 606: \$? = $ac_status" >&521305 + echo "$as_me:9480: \$? = $ac_status" >&5 18535 21306 (exit $ac_status); } && 18536 21307 { ac_try='test -s conftest.$ac_objext' 18537 21308 - { (eval echo "$as_me:8839: \"$ac_try\"") >&5 18538 + { (eval echo "$as_me:9 609: \"$ac_try\"") >&521309 + { (eval echo "$as_me:9483: \"$ac_try\"") >&5 18539 21310 (eval $ac_try) 2>&5 18540 21311 ac_status=$? 18541 21312 - echo "$as_me:8842: \$? = $ac_status" >&5 18542 + echo "$as_me:9 612: \$? = $ac_status" >&521313 + echo "$as_me:9486: \$? = $ac_status" >&5 18543 21314 (exit $ac_status); }; }; then 18544 21315 cf_cv_wint_t=yes 18545 21316 else 18546 @@ -8851,7 +9 621,7 @@21317 @@ -8851,7 +9495,7 @@ 18547 21318 fi 18548 21319 rm -f conftest.$ac_objext conftest.$ac_ext 18549 21320 fi 18550 21321 -echo "$as_me:8854: result: $cf_cv_wint_t" >&5 18551 +echo "$as_me:9 624: result: $cf_cv_wint_t" >&521322 +echo "$as_me:9498: result: $cf_cv_wint_t" >&5 18552 21323 echo "${ECHO_T}$cf_cv_wint_t" >&6 18553 21324 18554 21325 if test "$cf_cv_wint_t" = yes ; then 18555 @@ -8890,7 +9 660,7 @@21326 @@ -8890,7 +9534,7 @@ 18556 21327 ;; 18557 21328 esac 18558 21329 18559 21330 -echo "$as_me:8893: checking whether to enable _LP64 definition in curses.h" >&5 18560 +echo "$as_me:9 663: checking whether to enable _LP64 definition in curses.h" >&521331 +echo "$as_me:9537: checking whether to enable _LP64 definition in curses.h" >&5 18561 21332 echo $ECHO_N "checking whether to enable _LP64 definition in curses.h... $ECHO_C" >&6 18562 21333 18563 21334 # Check whether --enable-lp64 or --disable-lp64 was given. 18564 @@ -8900,7 +9 670,7 @@21335 @@ -8900,7 +9544,7 @@ 18565 21336 else 18566 21337 with_lp64=$default_with_lp64 18567 21338 fi; 18568 21339 -echo "$as_me:8903: result: $with_lp64" >&5 18569 +echo "$as_me:9 673: result: $with_lp64" >&521340 +echo "$as_me:9547: result: $with_lp64" >&5 18570 21341 echo "${ECHO_T}$with_lp64" >&6 18571 21342 18572 21343 if test "$with_lp64" = yes ; then 18573 @@ -8916,7 +9 686,7 @@21344 @@ -8916,7 +9560,7 @@ 18574 21345 fi; 18575 21346 if test "$enable_largefile" != no; then 18576 21347 18577 21348 - echo "$as_me:8919: checking for special C compiler options needed for large files" >&5 18578 + echo "$as_me:9 689: checking for special C compiler options needed for large files" >&521349 + echo "$as_me:9563: checking for special C compiler options needed for large files" >&5 18579 21350 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 18580 21351 if test "${ac_cv_sys_largefile_CC+set}" = set; then 18581 21352 echo $ECHO_N "(cached) $ECHO_C" >&6 18582 @@ -8928,7 +9 698,7 @@21353 @@ -8928,7 +9572,7 @@ 18583 21354 # IRIX 6.2 and later do not support large files by default, 18584 21355 # so use the C compiler's -n32 option if that helps. 18585 21356 cat >conftest.$ac_ext <<_ACEOF 18586 21357 -#line 8931 "configure" 18587 +#line 9 701"configure"21358 +#line 9575 "configure" 18588 21359 #include "confdefs.h" 18589 21360 #include <sys/types.h> 18590 21361 /* Check that off_t can represent 2**63 - 1 correctly. 18591 @@ -8948,16 +9 718,16 @@21362 @@ -8948,16 +9592,16 @@ 18592 21363 } 18593 21364 _ACEOF 18594 21365 rm -f conftest.$ac_objext 18595 21366 -if { (eval echo "$as_me:8951: \"$ac_compile\"") >&5 18596 +if { (eval echo "$as_me:9 721: \"$ac_compile\"") >&521367 +if { (eval echo "$as_me:9595: \"$ac_compile\"") >&5 18597 21368 (eval $ac_compile) 2>&5 18598 21369 ac_status=$? 18599 21370 - echo "$as_me:8954: \$? = $ac_status" >&5 18600 + echo "$as_me:9 724: \$? = $ac_status" >&521371 + echo "$as_me:9598: \$? = $ac_status" >&5 18601 21372 (exit $ac_status); } && 18602 21373 { ac_try='test -s conftest.$ac_objext' 18603 21374 - { (eval echo "$as_me:8957: \"$ac_try\"") >&5 18604 + { (eval echo "$as_me:9 727: \"$ac_try\"") >&521375 + { (eval echo "$as_me:9601: \"$ac_try\"") >&5 18605 21376 (eval $ac_try) 2>&5 18606 21377 ac_status=$? 18607 21378 - echo "$as_me:8960: \$? = $ac_status" >&5 18608 + echo "$as_me:9 730: \$? = $ac_status" >&521379 + echo "$as_me:9604: \$? = $ac_status" >&5 18609 21380 (exit $ac_status); }; }; then 18610 21381 break 18611 21382 else 18612 @@ -8967,16 +9 737,16 @@21383 @@ -8967,16 +9611,16 @@ 18613 21384 rm -f conftest.$ac_objext 18614 21385 CC="$CC -n32" 18615 21386 rm -f conftest.$ac_objext 18616 21387 -if { (eval echo "$as_me:8970: \"$ac_compile\"") >&5 18617 +if { (eval echo "$as_me:9 740: \"$ac_compile\"") >&521388 +if { (eval echo "$as_me:9614: \"$ac_compile\"") >&5 18618 21389 (eval $ac_compile) 2>&5 18619 21390 ac_status=$? 18620 21391 - echo "$as_me:8973: \$? = $ac_status" >&5 18621 + echo "$as_me:9 743: \$? = $ac_status" >&521392 + echo "$as_me:9617: \$? = $ac_status" >&5 18622 21393 (exit $ac_status); } && 18623 21394 { ac_try='test -s conftest.$ac_objext' 18624 21395 - { (eval echo "$as_me:8976: \"$ac_try\"") >&5 18625 + { (eval echo "$as_me:9 746: \"$ac_try\"") >&521396 + { (eval echo "$as_me:9620: \"$ac_try\"") >&5 18626 21397 (eval $ac_try) 2>&5 18627 21398 ac_status=$? 18628 21399 - echo "$as_me:8979: \$? = $ac_status" >&5 18629 + echo "$as_me:9 749: \$? = $ac_status" >&521400 + echo "$as_me:9623: \$? = $ac_status" >&5 18630 21401 (exit $ac_status); }; }; then 18631 21402 ac_cv_sys_largefile_CC=' -n32'; break 18632 21403 else 18633 @@ -8990,13 +9 760,13 @@21404 @@ -8990,13 +9634,13 @@ 18634 21405 rm -f conftest.$ac_ext 18635 21406 fi 18636 21407 fi 18637 21408 -echo "$as_me:8993: result: $ac_cv_sys_largefile_CC" >&5 18638 +echo "$as_me:9 763: result: $ac_cv_sys_largefile_CC" >&521409 +echo "$as_me:9637: result: $ac_cv_sys_largefile_CC" >&5 18639 21410 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 18640 21411 if test "$ac_cv_sys_largefile_CC" != no; then … … 18643 21414 18644 21415 - echo "$as_me:8999: checking for _FILE_OFFSET_BITS value needed for large files" >&5 18645 + echo "$as_me:9 769: checking for _FILE_OFFSET_BITS value needed for large files" >&521416 + echo "$as_me:9643: checking for _FILE_OFFSET_BITS value needed for large files" >&5 18646 21417 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 18647 21418 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 18648 21419 echo $ECHO_N "(cached) $ECHO_C" >&6 18649 @@ -9004,7 +9 774,7 @@21420 @@ -9004,7 +9648,7 @@ 18650 21421 while :; do 18651 21422 ac_cv_sys_file_offset_bits=no 18652 21423 cat >conftest.$ac_ext <<_ACEOF 18653 21424 -#line 9007 "configure" 18654 +#line 9 777"configure"21425 +#line 9651 "configure" 18655 21426 #include "confdefs.h" 18656 21427 #include <sys/types.h> 18657 21428 /* Check that off_t can represent 2**63 - 1 correctly. 18658 @@ -9024,16 +9 794,16 @@21429 @@ -9024,16 +9668,16 @@ 18659 21430 } 18660 21431 _ACEOF 18661 21432 rm -f conftest.$ac_objext 18662 21433 -if { (eval echo "$as_me:9027: \"$ac_compile\"") >&5 18663 +if { (eval echo "$as_me:9 797: \"$ac_compile\"") >&521434 +if { (eval echo "$as_me:9671: \"$ac_compile\"") >&5 18664 21435 (eval $ac_compile) 2>&5 18665 21436 ac_status=$? 18666 21437 - echo "$as_me:9030: \$? = $ac_status" >&5 18667 + echo "$as_me:9 800: \$? = $ac_status" >&521438 + echo "$as_me:9674: \$? = $ac_status" >&5 18668 21439 (exit $ac_status); } && 18669 21440 { ac_try='test -s conftest.$ac_objext' 18670 21441 - { (eval echo "$as_me:9033: \"$ac_try\"") >&5 18671 + { (eval echo "$as_me:9 803: \"$ac_try\"") >&521442 + { (eval echo "$as_me:9677: \"$ac_try\"") >&5 18672 21443 (eval $ac_try) 2>&5 18673 21444 ac_status=$? 18674 21445 - echo "$as_me:9036: \$? = $ac_status" >&5 18675 + echo "$as_me:9 806: \$? = $ac_status" >&521446 + echo "$as_me:9680: \$? = $ac_status" >&5 18676 21447 (exit $ac_status); }; }; then 18677 21448 break 18678 21449 else 18679 @@ -9042,7 +9 812,7 @@21450 @@ -9042,7 +9686,7 @@ 18680 21451 fi 18681 21452 rm -f conftest.$ac_objext conftest.$ac_ext 18682 21453 cat >conftest.$ac_ext <<_ACEOF 18683 21454 -#line 9045 "configure" 18684 +#line 9 815"configure"21455 +#line 9689 "configure" 18685 21456 #include "confdefs.h" 18686 21457 #define _FILE_OFFSET_BITS 64 18687 21458 #include <sys/types.h> 18688 @@ -9063,16 +9 833,16 @@21459 @@ -9063,16 +9707,16 @@ 18689 21460 } 18690 21461 _ACEOF 18691 21462 rm -f conftest.$ac_objext 18692 21463 -if { (eval echo "$as_me:9066: \"$ac_compile\"") >&5 18693 +if { (eval echo "$as_me:9 836: \"$ac_compile\"") >&521464 +if { (eval echo "$as_me:9710: \"$ac_compile\"") >&5 18694 21465 (eval $ac_compile) 2>&5 18695 21466 ac_status=$? 18696 21467 - echo "$as_me:9069: \$? = $ac_status" >&5 18697 + echo "$as_me:9 839: \$? = $ac_status" >&521468 + echo "$as_me:9713: \$? = $ac_status" >&5 18698 21469 (exit $ac_status); } && 18699 21470 { ac_try='test -s conftest.$ac_objext' 18700 21471 - { (eval echo "$as_me:9072: \"$ac_try\"") >&5 18701 + { (eval echo "$as_me:9 842: \"$ac_try\"") >&521472 + { (eval echo "$as_me:9716: \"$ac_try\"") >&5 18702 21473 (eval $ac_try) 2>&5 18703 21474 ac_status=$? 18704 21475 - echo "$as_me:9075: \$? = $ac_status" >&5 18705 + echo "$as_me:9 845: \$? = $ac_status" >&521476 + echo "$as_me:9719: \$? = $ac_status" >&5 18706 21477 (exit $ac_status); }; }; then 18707 21478 ac_cv_sys_file_offset_bits=64; break 18708 21479 else 18709 @@ -9083,7 +9 853,7 @@21480 @@ -9083,7 +9727,7 @@ 18710 21481 break 18711 21482 done 18712 21483 fi 18713 21484 -echo "$as_me:9086: result: $ac_cv_sys_file_offset_bits" >&5 18714 +echo "$as_me:9 856: result: $ac_cv_sys_file_offset_bits" >&521485 +echo "$as_me:9730: result: $ac_cv_sys_file_offset_bits" >&5 18715 21486 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 18716 21487 if test "$ac_cv_sys_file_offset_bits" != no; then 18717 21488 18718 @@ -9093,7 +9 863,7 @@21489 @@ -9093,7 +9737,7 @@ 18719 21490 18720 21491 fi 18721 21492 rm -rf conftest* 18722 21493 - echo "$as_me:9096: checking for _LARGE_FILES value needed for large files" >&5 18723 + echo "$as_me:9 866: checking for _LARGE_FILES value needed for large files" >&521494 + echo "$as_me:9740: checking for _LARGE_FILES value needed for large files" >&5 18724 21495 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 18725 21496 if test "${ac_cv_sys_large_files+set}" = set; then 18726 21497 echo $ECHO_N "(cached) $ECHO_C" >&6 18727 @@ -9101,7 +9 871,7 @@21498 @@ -9101,7 +9745,7 @@ 18728 21499 while :; do 18729 21500 ac_cv_sys_large_files=no 18730 21501 cat >conftest.$ac_ext <<_ACEOF 18731 21502 -#line 9104 "configure" 18732 +#line 9 874"configure"21503 +#line 9748 "configure" 18733 21504 #include "confdefs.h" 18734 21505 #include <sys/types.h> 18735 21506 /* Check that off_t can represent 2**63 - 1 correctly. 18736 @@ -9121,16 +9 891,16 @@21507 @@ -9121,16 +9765,16 @@ 18737 21508 } 18738 21509 _ACEOF 18739 21510 rm -f conftest.$ac_objext 18740 21511 -if { (eval echo "$as_me:9124: \"$ac_compile\"") >&5 18741 +if { (eval echo "$as_me:9 894: \"$ac_compile\"") >&521512 +if { (eval echo "$as_me:9768: \"$ac_compile\"") >&5 18742 21513 (eval $ac_compile) 2>&5 18743 21514 ac_status=$? 18744 21515 - echo "$as_me:9127: \$? = $ac_status" >&5 18745 + echo "$as_me:9 897: \$? = $ac_status" >&521516 + echo "$as_me:9771: \$? = $ac_status" >&5 18746 21517 (exit $ac_status); } && 18747 21518 { ac_try='test -s conftest.$ac_objext' 18748 21519 - { (eval echo "$as_me:9130: \"$ac_try\"") >&5 18749 + { (eval echo "$as_me:9 900: \"$ac_try\"") >&521520 + { (eval echo "$as_me:9774: \"$ac_try\"") >&5 18750 21521 (eval $ac_try) 2>&5 18751 21522 ac_status=$? 18752 21523 - echo "$as_me:9133: \$? = $ac_status" >&5 18753 + echo "$as_me:9 903: \$? = $ac_status" >&521524 + echo "$as_me:9777: \$? = $ac_status" >&5 18754 21525 (exit $ac_status); }; }; then 18755 21526 break 18756 21527 else 18757 @@ -9139,7 +9 909,7 @@21528 @@ -9139,7 +9783,7 @@ 18758 21529 fi 18759 21530 rm -f conftest.$ac_objext conftest.$ac_ext 18760 21531 cat >conftest.$ac_ext <<_ACEOF 18761 21532 -#line 9142 "configure" 18762 +#line 9 912"configure"21533 +#line 9786 "configure" 18763 21534 #include "confdefs.h" 18764 21535 #define _LARGE_FILES 1 18765 21536 #include <sys/types.h> 18766 @@ -9160,16 +9 930,16 @@21537 @@ -9160,16 +9804,16 @@ 18767 21538 } 18768 21539 _ACEOF 18769 21540 rm -f conftest.$ac_objext 18770 21541 -if { (eval echo "$as_me:9163: \"$ac_compile\"") >&5 18771 +if { (eval echo "$as_me:9 933: \"$ac_compile\"") >&521542 +if { (eval echo "$as_me:9807: \"$ac_compile\"") >&5 18772 21543 (eval $ac_compile) 2>&5 18773 21544 ac_status=$? 18774 21545 - echo "$as_me:9166: \$? = $ac_status" >&5 18775 + echo "$as_me:9 936: \$? = $ac_status" >&521546 + echo "$as_me:9810: \$? = $ac_status" >&5 18776 21547 (exit $ac_status); } && 18777 21548 { ac_try='test -s conftest.$ac_objext' 18778 21549 - { (eval echo "$as_me:9169: \"$ac_try\"") >&5 18779 + { (eval echo "$as_me:9 939: \"$ac_try\"") >&521550 + { (eval echo "$as_me:9813: \"$ac_try\"") >&5 18780 21551 (eval $ac_try) 2>&5 18781 21552 ac_status=$? 18782 21553 - echo "$as_me:9172: \$? = $ac_status" >&5 18783 + echo "$as_me:9 942: \$? = $ac_status" >&521554 + echo "$as_me:9816: \$? = $ac_status" >&5 18784 21555 (exit $ac_status); }; }; then 18785 21556 ac_cv_sys_large_files=1; break 18786 21557 else 18787 @@ -9180,7 +9 950,7 @@21558 @@ -9180,7 +9824,7 @@ 18788 21559 break 18789 21560 done 18790 21561 fi 18791 21562 -echo "$as_me:9183: result: $ac_cv_sys_large_files" >&5 18792 +echo "$as_me:9 953: result: $ac_cv_sys_large_files" >&521563 +echo "$as_me:9827: result: $ac_cv_sys_large_files" >&5 18793 21564 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 18794 21565 if test "$ac_cv_sys_large_files" != no; then 18795 21566 18796 @@ -9193,7 +9 963,7 @@21567 @@ -9193,7 +9837,7 @@ 18797 21568 fi 18798 21569 18799 21570 if test "$enable_largefile" != no ; then 18800 21571 - echo "$as_me:9196: checking for _LARGEFILE_SOURCE value needed for large files" >&5 18801 + echo "$as_me:9 966: checking for _LARGEFILE_SOURCE value needed for large files" >&521572 + echo "$as_me:9840: checking for _LARGEFILE_SOURCE value needed for large files" >&5 18802 21573 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 18803 21574 if test "${ac_cv_sys_largefile_source+set}" = set; then 18804 21575 echo $ECHO_N "(cached) $ECHO_C" >&6 18805 @@ -9201,7 +9 971,7 @@21576 @@ -9201,7 +9845,7 @@ 18806 21577 while :; do 18807 21578 ac_cv_sys_largefile_source=no 18808 21579 cat >conftest.$ac_ext <<_ACEOF 18809 21580 -#line 9204 "configure" 18810 +#line 9 974"configure"21581 +#line 9848 "configure" 18811 21582 #include "confdefs.h" 18812 21583 #include <stdio.h> 18813 21584 int 18814 @@ -9213,16 +9 983,16 @@21585 @@ -9213,16 +9857,16 @@ 18815 21586 } 18816 21587 _ACEOF 18817 21588 rm -f conftest.$ac_objext 18818 21589 -if { (eval echo "$as_me:9216: \"$ac_compile\"") >&5 18819 +if { (eval echo "$as_me:9 986: \"$ac_compile\"") >&521590 +if { (eval echo "$as_me:9860: \"$ac_compile\"") >&5 18820 21591 (eval $ac_compile) 2>&5 18821 21592 ac_status=$? 18822 21593 - echo "$as_me:9219: \$? = $ac_status" >&5 18823 + echo "$as_me:9 989: \$? = $ac_status" >&521594 + echo "$as_me:9863: \$? = $ac_status" >&5 18824 21595 (exit $ac_status); } && 18825 21596 { ac_try='test -s conftest.$ac_objext' 18826 21597 - { (eval echo "$as_me:9222: \"$ac_try\"") >&5 18827 + { (eval echo "$as_me:9 992: \"$ac_try\"") >&521598 + { (eval echo "$as_me:9866: \"$ac_try\"") >&5 18828 21599 (eval $ac_try) 2>&5 18829 21600 ac_status=$? 18830 21601 - echo "$as_me:9225: \$? = $ac_status" >&5 18831 + echo "$as_me:9 995: \$? = $ac_status" >&521602 + echo "$as_me:9869: \$? = $ac_status" >&5 18832 21603 (exit $ac_status); }; }; then 18833 21604 break 18834 21605 else 18835 @@ -9231,7 + 10001,7 @@21606 @@ -9231,7 +9875,7 @@ 18836 21607 fi 18837 21608 rm -f conftest.$ac_objext conftest.$ac_ext 18838 21609 cat >conftest.$ac_ext <<_ACEOF 18839 21610 -#line 9234 "configure" 18840 +#line 10004"configure"21611 +#line 9878 "configure" 18841 21612 #include "confdefs.h" 18842 21613 #define _LARGEFILE_SOURCE 1 18843 21614 #include <stdio.h> 18844 @@ -9244,16 + 10014,16 @@21615 @@ -9244,16 +9888,16 @@ 18845 21616 } 18846 21617 _ACEOF 18847 21618 rm -f conftest.$ac_objext 18848 21619 -if { (eval echo "$as_me:9247: \"$ac_compile\"") >&5 18849 +if { (eval echo "$as_me: 10017: \"$ac_compile\"") >&521620 +if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5 18850 21621 (eval $ac_compile) 2>&5 18851 21622 ac_status=$? 18852 21623 - echo "$as_me:9250: \$? = $ac_status" >&5 18853 + echo "$as_me: 10020: \$? = $ac_status" >&521624 + echo "$as_me:9894: \$? = $ac_status" >&5 18854 21625 (exit $ac_status); } && 18855 21626 { ac_try='test -s conftest.$ac_objext' 18856 21627 - { (eval echo "$as_me:9253: \"$ac_try\"") >&5 18857 + { (eval echo "$as_me: 10023: \"$ac_try\"") >&521628 + { (eval echo "$as_me:9897: \"$ac_try\"") >&5 18858 21629 (eval $ac_try) 2>&5 18859 21630 ac_status=$? 18860 21631 - echo "$as_me:9256: \$? = $ac_status" >&5 18861 + echo "$as_me: 10026: \$? = $ac_status" >&521632 + echo "$as_me:9900: \$? = $ac_status" >&5 18862 21633 (exit $ac_status); }; }; then 18863 21634 ac_cv_sys_largefile_source=1; break 18864 21635 else 18865 @@ -9264,7 + 10034,7 @@21636 @@ -9264,7 +9908,7 @@ 18866 21637 break 18867 21638 done 18868 21639 fi 18869 21640 -echo "$as_me:9267: result: $ac_cv_sys_largefile_source" >&5 18870 +echo "$as_me: 10037: result: $ac_cv_sys_largefile_source" >&521641 +echo "$as_me:9911: result: $ac_cv_sys_largefile_source" >&5 18871 21642 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 18872 21643 if test "$ac_cv_sys_largefile_source" != no; then 18873 21644 18874 @@ -9278,13 + 10048,13 @@21645 @@ -9278,13 +9922,13 @@ 18875 21646 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 18876 21647 # in glibc 2.1.3, but that breaks too many other things. 18877 21648 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 18878 21649 -echo "$as_me:9281: checking for fseeko" >&5 18879 +echo "$as_me: 10051: checking for fseeko" >&521650 +echo "$as_me:9925: checking for fseeko" >&5 18880 21651 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 18881 21652 if test "${ac_cv_func_fseeko+set}" = set; then … … 18884 21655 cat >conftest.$ac_ext <<_ACEOF 18885 21656 -#line 9287 "configure" 18886 +#line 10057"configure"21657 +#line 9931 "configure" 18887 21658 #include "confdefs.h" 18888 21659 #include <stdio.h> 18889 21660 int 18890 @@ -9296,16 + 10066,16 @@21661 @@ -9296,16 +9940,16 @@ 18891 21662 } 18892 21663 _ACEOF 18893 21664 rm -f conftest.$ac_objext conftest$ac_exeext 18894 21665 -if { (eval echo "$as_me:9299: \"$ac_link\"") >&5 18895 +if { (eval echo "$as_me: 10069: \"$ac_link\"") >&521666 +if { (eval echo "$as_me:9943: \"$ac_link\"") >&5 18896 21667 (eval $ac_link) 2>&5 18897 21668 ac_status=$? 18898 21669 - echo "$as_me:9302: \$? = $ac_status" >&5 18899 + echo "$as_me: 10072: \$? = $ac_status" >&521670 + echo "$as_me:9946: \$? = $ac_status" >&5 18900 21671 (exit $ac_status); } && 18901 21672 { ac_try='test -s conftest$ac_exeext' 18902 21673 - { (eval echo "$as_me:9305: \"$ac_try\"") >&5 18903 + { (eval echo "$as_me: 10075: \"$ac_try\"") >&521674 + { (eval echo "$as_me:9949: \"$ac_try\"") >&5 18904 21675 (eval $ac_try) 2>&5 18905 21676 ac_status=$? 18906 21677 - echo "$as_me:9308: \$? = $ac_status" >&5 18907 + echo "$as_me: 10078: \$? = $ac_status" >&521678 + echo "$as_me:9952: \$? = $ac_status" >&5 18908 21679 (exit $ac_status); }; }; then 18909 21680 ac_cv_func_fseeko=yes 18910 21681 else 18911 @@ -9315,7 + 10085,7 @@21682 @@ -9315,7 +9959,7 @@ 18912 21683 fi 18913 21684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18914 21685 fi 18915 21686 -echo "$as_me:9318: result: $ac_cv_func_fseeko" >&5 18916 +echo "$as_me: 10088: result: $ac_cv_func_fseeko" >&521687 +echo "$as_me:9962: result: $ac_cv_func_fseeko" >&5 18917 21688 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 18918 21689 if test $ac_cv_func_fseeko = yes; then 18919 21690 18920 @@ -9336,14 + 10106,14 @@21691 @@ -9336,14 +9980,14 @@ 18921 21692 test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE " 18922 21693 test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits " 18923 21694 18924 21695 - echo "$as_me:9339: checking whether to use struct dirent64" >&5 18925 + echo "$as_me: 10109: checking whether to use struct dirent64" >&521696 + echo "$as_me:9983: checking whether to use struct dirent64" >&5 18926 21697 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 18927 21698 if test "${cf_cv_struct_dirent64+set}" = set; then … … 18931 21702 cat >conftest.$ac_ext <<_ACEOF 18932 21703 -#line 9346 "configure" 18933 +#line 10116"configure"21704 +#line 9990 "configure" 18934 21705 #include "confdefs.h" 18935 21706 18936 21707 #include <sys/types.h> 18937 @@ -9364,16 +10 134,16 @@21708 @@ -9364,16 +10008,16 @@ 18938 21709 } 18939 21710 _ACEOF 18940 21711 rm -f conftest.$ac_objext 18941 21712 -if { (eval echo "$as_me:9367: \"$ac_compile\"") >&5 18942 +if { (eval echo "$as_me:10 137: \"$ac_compile\"") >&521713 +if { (eval echo "$as_me:10011: \"$ac_compile\"") >&5 18943 21714 (eval $ac_compile) 2>&5 18944 21715 ac_status=$? 18945 21716 - echo "$as_me:9370: \$? = $ac_status" >&5 18946 + echo "$as_me:10 140: \$? = $ac_status" >&521717 + echo "$as_me:10014: \$? = $ac_status" >&5 18947 21718 (exit $ac_status); } && 18948 21719 { ac_try='test -s conftest.$ac_objext' 18949 21720 - { (eval echo "$as_me:9373: \"$ac_try\"") >&5 18950 + { (eval echo "$as_me:10 143: \"$ac_try\"") >&521721 + { (eval echo "$as_me:10017: \"$ac_try\"") >&5 18951 21722 (eval $ac_try) 2>&5 18952 21723 ac_status=$? 18953 21724 - echo "$as_me:9376: \$? = $ac_status" >&5 18954 + echo "$as_me:10 146: \$? = $ac_status" >&521725 + echo "$as_me:10020: \$? = $ac_status" >&5 18955 21726 (exit $ac_status); }; }; then 18956 21727 cf_cv_struct_dirent64=yes 18957 21728 else 18958 @@ -9384,7 +10 154,7 @@21729 @@ -9384,7 +10028,7 @@ 18959 21730 rm -f conftest.$ac_objext conftest.$ac_ext 18960 21731 18961 21732 fi 18962 21733 -echo "$as_me:9387: result: $cf_cv_struct_dirent64" >&5 18963 +echo "$as_me:10 157: result: $cf_cv_struct_dirent64" >&521734 +echo "$as_me:10031: result: $cf_cv_struct_dirent64" >&5 18964 21735 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 18965 21736 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF 18966 21737 #define HAVE_STRUCT_DIRENT64 1 18967 @@ -9393,7 +10 163,7 @@21738 @@ -9393,7 +10037,7 @@ 18968 21739 fi 18969 21740 18970 21741 ### use option --disable-tparm-varargs to make tparm() conform to X/Open 18971 21742 -echo "$as_me:9396: checking if you want tparm not to use X/Open fixed-parameter list" >&5 18972 +echo "$as_me:10 166: checking if you want tparm not to use X/Open fixed-parameter list" >&521743 +echo "$as_me:10040: checking if you want tparm not to use X/Open fixed-parameter list" >&5 18973 21744 echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6 18974 21745 18975 21746 # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given. 18976 @@ -9403,14 +10 173,14 @@21747 @@ -9403,14 +10047,14 @@ 18977 21748 else 18978 21749 with_tparm_varargs=yes 18979 21750 fi; 18980 21751 -echo "$as_me:9406: result: $with_tparm_varargs" >&5 18981 +echo "$as_me:10 176: result: $with_tparm_varargs" >&521752 +echo "$as_me:10050: result: $with_tparm_varargs" >&5 18982 21753 echo "${ECHO_T}$with_tparm_varargs" >&6 18983 21754 NCURSES_TPARM_VARARGS=0 … … 18987 21758 if test "$with_ticlib" != no ; then 18988 21759 -echo "$as_me:9413: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 18989 +echo "$as_me:10 183: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&521760 +echo "$as_me:10057: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 18990 21761 echo $ECHO_N "checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library... $ECHO_C" >&6 18991 21762 18992 21763 # Check whether --enable-tic-depends or --disable-tic-depends was given. 18993 @@ -9420,14 +10 190,14 @@21764 @@ -9420,14 +10064,14 @@ 18994 21765 else 18995 21766 with_tic_depends=yes 18996 21767 fi; 18997 21768 -echo "$as_me:9423: result: $with_tic_depends" >&5 18998 +echo "$as_me:10 193: result: $with_tic_depends" >&521769 +echo "$as_me:10067: result: $with_tic_depends" >&5 18999 21770 echo "${ECHO_T}$with_tic_depends" >&6 19000 21771 else … … 19004 21775 ### use option --with-bool to override bool's type 19005 21776 -echo "$as_me:9430: checking for type of bool" >&5 19006 +echo "$as_me:10 200: checking for type of bool" >&521777 +echo "$as_me:10074: checking for type of bool" >&5 19007 21778 echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 19008 21779 19009 21780 # Check whether --with-bool or --without-bool was given. 19010 @@ -9437,10 +10 207,10 @@21781 @@ -9437,10 +10081,10 @@ 19011 21782 else 19012 21783 NCURSES_BOOL=auto 19013 21784 fi; 19014 21785 -echo "$as_me:9440: result: $NCURSES_BOOL" >&5 19015 +echo "$as_me:10 210: result: $NCURSES_BOOL" >&521786 +echo "$as_me:10084: result: $NCURSES_BOOL" >&5 19016 21787 echo "${ECHO_T}$NCURSES_BOOL" >&6 19017 21788 19018 21789 -echo "$as_me:9443: checking for alternate terminal capabilities file" >&5 19019 +echo "$as_me:10 213: checking for alternate terminal capabilities file" >&521790 +echo "$as_me:10087: checking for alternate terminal capabilities file" >&5 19020 21791 echo $ECHO_N "checking for alternate terminal capabilities file... $ECHO_C" >&6 19021 21792 19022 21793 # Check whether --with-caps or --without-caps was given. 19023 @@ -9451,11 +10 221,11 @@21794 @@ -9451,11 +10095,11 @@ 19024 21795 TERMINFO_CAPS=Caps 19025 21796 fi; 19026 21797 test -f "${srcdir}/include/${TERMINFO_CAPS}" || TERMINFO_CAPS=Caps 19027 21798 -echo "$as_me:9454: result: $TERMINFO_CAPS" >&5 19028 +echo "$as_me:10 224: result: $TERMINFO_CAPS" >&521799 +echo "$as_me:10098: result: $TERMINFO_CAPS" >&5 19029 21800 echo "${ECHO_T}$TERMINFO_CAPS" >&6 19030 21801 19031 21802 ### use option --with-chtype to override chtype's type 19032 21803 -echo "$as_me:9458: checking for type of chtype" >&5 19033 +echo "$as_me:10 228: checking for type of chtype" >&521804 +echo "$as_me:10102: checking for type of chtype" >&5 19034 21805 echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 19035 21806 19036 21807 # Check whether --with-chtype or --without-chtype was given. 19037 @@ -9465,11 +10 235,11 @@21808 @@ -9465,11 +10109,11 @@ 19038 21809 else 19039 21810 NCURSES_CHTYPE=auto 19040 21811 fi; 19041 21812 -echo "$as_me:9468: result: $NCURSES_CHTYPE" >&5 19042 +echo "$as_me:10 238: result: $NCURSES_CHTYPE" >&521813 +echo "$as_me:10112: result: $NCURSES_CHTYPE" >&5 19043 21814 echo "${ECHO_T}$NCURSES_CHTYPE" >&6 19044 21815 19045 21816 ### use option --with-ospeed to override ospeed's type 19046 21817 -echo "$as_me:9472: checking for type of ospeed" >&5 19047 +echo "$as_me:10 242: checking for type of ospeed" >&521818 +echo "$as_me:10116: checking for type of ospeed" >&5 19048 21819 echo $ECHO_N "checking for type of ospeed... $ECHO_C" >&6 19049 21820 19050 21821 # Check whether --with-ospeed or --without-ospeed was given. 19051 @@ -9479,11 +10 249,11 @@21822 @@ -9479,11 +10123,11 @@ 19052 21823 else 19053 21824 NCURSES_OSPEED=short 19054 21825 fi; 19055 21826 -echo "$as_me:9482: result: $NCURSES_OSPEED" >&5 19056 +echo "$as_me:10 252: result: $NCURSES_OSPEED" >&521827 +echo "$as_me:10126: result: $NCURSES_OSPEED" >&5 19057 21828 echo "${ECHO_T}$NCURSES_OSPEED" >&6 19058 21829 19059 21830 ### use option --with-mmask-t to override mmask_t's type 19060 21831 -echo "$as_me:9486: checking for type of mmask_t" >&5 19061 +echo "$as_me:10 256: checking for type of mmask_t" >&521832 +echo "$as_me:10130: checking for type of mmask_t" >&5 19062 21833 echo $ECHO_N "checking for type of mmask_t... $ECHO_C" >&6 19063 21834 19064 21835 # Check whether --with-mmask-t or --without-mmask-t was given. 19065 @@ -9493,11 +10 263,11 @@21836 @@ -9493,11 +10137,11 @@ 19066 21837 else 19067 21838 NCURSES_MMASK_T=auto 19068 21839 fi; 19069 21840 -echo "$as_me:9496: result: $NCURSES_MMASK_T" >&5 19070 +echo "$as_me:10 266: result: $NCURSES_MMASK_T" >&521841 +echo "$as_me:10140: result: $NCURSES_MMASK_T" >&5 19071 21842 echo "${ECHO_T}$NCURSES_MMASK_T" >&6 19072 21843 19073 21844 ### use option --with-ccharw-max to override CCHARW_MAX size 19074 21845 -echo "$as_me:9500: checking for size CCHARW_MAX" >&5 19075 +echo "$as_me:10 270: checking for size CCHARW_MAX" >&521846 +echo "$as_me:10144: checking for size CCHARW_MAX" >&5 19076 21847 echo $ECHO_N "checking for size CCHARW_MAX... $ECHO_C" >&6 19077 21848 19078 21849 # Check whether --with-ccharw-max or --without-ccharw-max was given. 19079 @@ -9507,11 +10 277,11@@21850 @@ -9507,11 +10151,25 @@ 19080 21851 else 19081 21852 NCURSES_CCHARW_MAX=5 19082 21853 fi; 19083 21854 -echo "$as_me:9510: result: $NCURSES_CCHARW_MAX" >&5 19084 +echo "$as_me:10 280: result: $NCURSES_CCHARW_MAX" >&521855 +echo "$as_me:10154: result: $NCURSES_CCHARW_MAX" >&5 19085 21856 echo "${ECHO_T}$NCURSES_CCHARW_MAX" >&6 19086 21857 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 + 19087 21872 ### Enable compiling-in rcs id's 19088 21873 -echo "$as_me:9514: checking if RCS identifiers should be compiled-in" >&5 19089 +echo "$as_me:10 284: checking if RCS identifiers should be compiled-in" >&521874 +echo "$as_me:10172: checking if RCS identifiers should be compiled-in" >&5 19090 21875 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 19091 21876 19092 21877 # Check whether --with-rcs-ids or --without-rcs-ids was given. 19093 @@ -9521,7 +10 291,7 @@21878 @@ -9521,7 +10179,7 @@ 19094 21879 else 19095 21880 with_rcs_ids=no 19096 21881 fi; 19097 21882 -echo "$as_me:9524: result: $with_rcs_ids" >&5 19098 +echo "$as_me:10 294: result: $with_rcs_ids" >&521883 +echo "$as_me:10182: result: $with_rcs_ids" >&5 19099 21884 echo "${ECHO_T}$with_rcs_ids" >&6 19100 21885 test "$with_rcs_ids" = yes && cat >>confdefs.h <<\EOF 19101 21886 #define USE_RCS_IDS 1 19102 @@ -9529,7 +10 299,7 @@21887 @@ -9529,7 +10187,7 @@ 19103 21888 19104 21889 ############################################################################### 19105 21890 19106 21891 -echo "$as_me:9532: checking format of man-pages" >&5 19107 +echo "$as_me:10 302: checking format of man-pages" >&521892 +echo "$as_me:10190: checking format of man-pages" >&5 19108 21893 echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6 19109 21894 19110 21895 # Check whether --with-manpage-format or --without-manpage-format was given. 19111 @@ -9618,14 +10 388,14 @@21896 @@ -9618,14 +10276,14 @@ 19112 21897 ;; 19113 21898 esac 19114 21899 19115 21900 -echo "$as_me:9621: result: $MANPAGE_FORMAT" >&5 19116 +echo "$as_me:10 391: result: $MANPAGE_FORMAT" >&521901 +echo "$as_me:10279: result: $MANPAGE_FORMAT" >&5 19117 21902 echo "${ECHO_T}$MANPAGE_FORMAT" >&6 19118 21903 if test -n "$cf_unknown" ; then 19119 21904 - { echo "$as_me:9624: WARNING: Unexpected manpage-format $cf_unknown" >&5 19120 + { echo "$as_me:10 394: WARNING: Unexpected manpage-format $cf_unknown" >&521905 + { echo "$as_me:10282: WARNING: Unexpected manpage-format $cf_unknown" >&5 19121 21906 echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;} 19122 21907 fi 19123 21908 19124 21909 -echo "$as_me:9628: checking for manpage renaming" >&5 19125 +echo "$as_me:10 398: checking for manpage renaming" >&521910 +echo "$as_me:10286: checking for manpage renaming" >&5 19126 21911 echo $ECHO_N "checking for manpage renaming... $ECHO_C" >&6 19127 21912 19128 21913 # Check whether --with-manpage-renames or --without-manpage-renames was given. 19129 @@ -9653,7 +10 423,7 @@21914 @@ -9653,7 +10311,7 @@ 19130 21915 if test -f $srcdir/man/$MANPAGE_RENAMES ; then 19131 21916 MANPAGE_RENAMES=`cd $srcdir/man && pwd`/$MANPAGE_RENAMES 19132 21917 elif test ! -f $MANPAGE_RENAMES ; then 19133 21918 - { { echo "$as_me:9656: error: not a filename: $MANPAGE_RENAMES" >&5 19134 + { { echo "$as_me:10 426: error: not a filename: $MANPAGE_RENAMES" >&521919 + { { echo "$as_me:10314: error: not a filename: $MANPAGE_RENAMES" >&5 19135 21920 echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} 19136 21921 { (exit 1); exit 1; }; } 19137 21922 fi 19138 @@ -9667,10 +10 437,10 @@21923 @@ -9667,10 +10325,10 @@ 19139 21924 fi 19140 21925 fi 19141 21926 19142 21927 -echo "$as_me:9670: result: $MANPAGE_RENAMES" >&5 19143 +echo "$as_me:10 440: result: $MANPAGE_RENAMES" >&521928 +echo "$as_me:10328: result: $MANPAGE_RENAMES" >&5 19144 21929 echo "${ECHO_T}$MANPAGE_RENAMES" >&6 19145 21930 19146 21931 -echo "$as_me:9673: checking if manpage aliases will be installed" >&5 19147 +echo "$as_me:10 443: checking if manpage aliases will be installed" >&521932 +echo "$as_me:10331: checking if manpage aliases will be installed" >&5 19148 21933 echo $ECHO_N "checking if manpage aliases will be installed... $ECHO_C" >&6 19149 21934 19150 21935 # Check whether --with-manpage-aliases or --without-manpage-aliases was given. 19151 @@ -9681,7 +10 451,7 @@21936 @@ -9681,7 +10339,7 @@ 19152 21937 MANPAGE_ALIASES=yes 19153 21938 fi; 19154 21939 19155 21940 -echo "$as_me:9684: result: $MANPAGE_ALIASES" >&5 19156 +echo "$as_me:10 454: result: $MANPAGE_ALIASES" >&521941 +echo "$as_me:10342: result: $MANPAGE_ALIASES" >&5 19157 21942 echo "${ECHO_T}$MANPAGE_ALIASES" >&6 19158 21943 19159 21944 case "x$LN_S" in #(vi 19160 @@ -9695,7 +10 465,7 @@21945 @@ -9695,7 +10353,7 @@ 19161 21946 19162 21947 MANPAGE_SYMLINKS=no 19163 21948 if test "$MANPAGE_ALIASES" = yes ; then 19164 21949 -echo "$as_me:9698: checking if manpage symlinks should be used" >&5 19165 +echo "$as_me:10 468: checking if manpage symlinks should be used" >&521950 +echo "$as_me:10356: checking if manpage symlinks should be used" >&5 19166 21951 echo $ECHO_N "checking if manpage symlinks should be used... $ECHO_C" >&6 19167 21952 19168 21953 # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given. 19169 @@ -9708,17 +10 478,17 @@21954 @@ -9708,17 +10366,17 @@ 19170 21955 19171 21956 if test "$$cf_use_symlinks" = no; then 19172 21957 if test "$MANPAGE_SYMLINKS" = yes ; then 19173 21958 - { echo "$as_me:9711: WARNING: cannot make symlinks" >&5 19174 + { echo "$as_me:10 481: WARNING: cannot make symlinks" >&521959 + { echo "$as_me:10369: WARNING: cannot make symlinks" >&5 19175 21960 echo "$as_me: WARNING: cannot make symlinks" >&2;} 19176 21961 MANPAGE_SYMLINKS=no … … 19179 21964 19180 21965 -echo "$as_me:9717: result: $MANPAGE_SYMLINKS" >&5 19181 +echo "$as_me:10 487: result: $MANPAGE_SYMLINKS" >&521966 +echo "$as_me:10375: result: $MANPAGE_SYMLINKS" >&5 19182 21967 echo "${ECHO_T}$MANPAGE_SYMLINKS" >&6 19183 21968 fi 19184 21969 19185 21970 -echo "$as_me:9721: checking for manpage tbl" >&5 19186 +echo "$as_me:10 491: checking for manpage tbl" >&521971 +echo "$as_me:10379: checking for manpage tbl" >&5 19187 21972 echo $ECHO_N "checking for manpage tbl... $ECHO_C" >&6 19188 21973 19189 21974 # Check whether --with-manpage-tbl or --without-manpage-tbl was given. 19190 @@ -9729,7 +10 499,7 @@21975 @@ -9729,7 +10387,7 @@ 19191 21976 MANPAGE_TBL=no 19192 21977 fi; 19193 21978 19194 21979 -echo "$as_me:9732: result: $MANPAGE_TBL" >&5 19195 +echo "$as_me:10 502: result: $MANPAGE_TBL" >&521980 +echo "$as_me:10390: result: $MANPAGE_TBL" >&5 19196 21981 echo "${ECHO_T}$MANPAGE_TBL" >&6 19197 21982 19198 21983 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 @@ 19200 21993 19201 21994 if test "$MANPAGE_ALIASES" != no ; then … … 19208 22001 fi 19209 22002 19210 @@ -9915,6 +10 687,13 @@22003 @@ -9915,6 +10576,13 @@ 19211 22004 fi 19212 22005 CF_EOF … … 19222 22015 cat >>$cf_edit_man <<CF_EOF 19223 22016 sed -e "/\#[ ]*include/s,curses.h,ncurses.h," < \$TMP >\$TMP.out 19224 @@ -10051,7 +10 830,7 @@22017 @@ -10051,7 +10719,7 @@ 19225 22018 ############################################################################### 19226 22019 19227 22020 ### Note that some functions (such as const) are normally disabled anyway. 19228 22021 -echo "$as_me:10054: checking if you want to build with function extensions" >&5 19229 +echo "$as_me:10 833: checking if you want to build with function extensions" >&522022 +echo "$as_me:10722: checking if you want to build with function extensions" >&5 19230 22023 echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 19231 22024 19232 22025 # Check whether --enable-ext-funcs or --disable-ext-funcs was given. 19233 @@ -10061,11 +10 840,15 @@22026 @@ -10061,11 +10729,15 @@ 19234 22027 else 19235 22028 with_ext_funcs=yes 19236 22029 fi; 19237 22030 -echo "$as_me:10064: result: $with_ext_funcs" >&5 19238 +echo "$as_me:10 843: result: $with_ext_funcs" >&522031 +echo "$as_me:10732: result: $with_ext_funcs" >&5 19239 22032 echo "${ECHO_T}$with_ext_funcs" >&6 19240 22033 if test "$with_ext_funcs" = yes ; then … … 19248 22041 EOF 19249 22042 19250 @@ -10090,6 +10 873,14 @@22043 @@ -10090,6 +10762,14 @@ 19251 22044 EOF 19252 22045 … … 19263 22056 EOF 19264 22057 19265 @@ -10103,7 +10 894,7 @@22058 @@ -10103,7 +10783,7 @@ 19266 22059 GENERATED_EXT_FUNCS= 19267 22060 fi 19268 22061 19269 22062 -echo "$as_me:10106: checking if you want to build with experimental SCREEN extensions" >&5 19270 +echo "$as_me:10 897: checking if you want to build with experimental SCREEN extensions" >&522063 +echo "$as_me:10786: checking if you want to build with experimental SCREEN extensions" >&5 19271 22064 echo $ECHO_N "checking if you want to build with experimental SCREEN extensions... $ECHO_C" >&6 19272 22065 19273 22066 # Check whether --enable-sp-funcs or --disable-sp-funcs was given. 19274 @@ -10113,7 +10 904,7 @@22067 @@ -10113,7 +10793,7 @@ 19275 22068 else 19276 22069 with_sp_funcs=no 19277 22070 fi; 19278 22071 -echo "$as_me:10116: result: $with_sp_funcs" >&5 19279 +echo "$as_me:10 907: result: $with_sp_funcs" >&522072 +echo "$as_me:10796: result: $with_sp_funcs" >&5 19280 22073 echo "${ECHO_T}$with_sp_funcs" >&6 19281 22074 if test "$with_sp_funcs" = yes ; then 19282 22075 NCURSES_SP_FUNCS=1 19283 @@ -10127,7 +10 918,7 @@22076 @@ -10127,7 +10807,7 @@ 19284 22077 GENERATED_SP_FUNCS= 19285 22078 fi 19286 22079 19287 22080 -echo "$as_me:10130: checking if you want to build with experimental terminal-driver" >&5 19288 +echo "$as_me:10 921: checking if you want to build with experimental terminal-driver" >&522081 +echo "$as_me:10810: checking if you want to build with experimental terminal-driver" >&5 19289 22082 echo $ECHO_N "checking if you want to build with experimental terminal-driver... $ECHO_C" >&6 19290 22083 19291 22084 # Check whether --enable-term-driver or --disable-term-driver was given. 19292 @@ -10137,7 +10 928,7 @@22085 @@ -10137,7 +10817,7 @@ 19293 22086 else 19294 22087 with_term_driver=no 19295 22088 fi; 19296 22089 -echo "$as_me:10140: result: $with_term_driver" >&5 19297 +echo "$as_me:10 931: result: $with_term_driver" >&522090 +echo "$as_me:10820: result: $with_term_driver" >&5 19298 22091 echo "${ECHO_T}$with_term_driver" >&6 19299 22092 if test "$with_term_driver" = yes ; then 19300 22093 cat >>confdefs.h <<\EOF 19301 @@ -10145,14 +10 936,14 @@22094 @@ -10145,14 +10825,14 @@ 19302 22095 EOF 19303 22096 19304 22097 if test "$with_sp_funcs" != yes ; then 19305 22098 - { { echo "$as_me:10148: error: The term-driver option relies upon sp-funcs" >&5 19306 + { { echo "$as_me:10 939: error: The term-driver option relies upon sp-funcs" >&522099 + { { echo "$as_me:10828: error: The term-driver option relies upon sp-funcs" >&5 19307 22100 echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;} 19308 22101 { (exit 1); exit 1; }; } … … 19312 22105 ### use option --enable-const to turn on use of const beyond that in XSI. 19313 22106 -echo "$as_me:10155: checking for extended use of const keyword" >&5 19314 +echo "$as_me:10 946: checking for extended use of const keyword" >&522107 +echo "$as_me:10835: checking for extended use of const keyword" >&5 19315 22108 echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 19316 22109 19317 22110 # Check whether --enable-const or --disable-const was given. 19318 @@ -10162,7 +10 953,7 @@22111 @@ -10162,7 +10842,7 @@ 19319 22112 else 19320 22113 with_ext_const=no 19321 22114 fi; 19322 22115 -echo "$as_me:10165: result: $with_ext_const" >&5 19323 +echo "$as_me:10 956: result: $with_ext_const" >&522116 +echo "$as_me:10845: result: $with_ext_const" >&5 19324 22117 echo "${ECHO_T}$with_ext_const" >&6 19325 22118 NCURSES_CONST='/*nothing*/' 19326 22119 if test "$with_ext_const" = yes ; then 19327 @@ -10170,7 +10 961,7 @@22120 @@ -10170,7 +10850,7 @@ 19328 22121 fi 19329 22122 19330 22123 ### use option --enable-ext-colors to turn on use of colors beyond 16. 19331 22124 -echo "$as_me:10173: checking if you want to use extended colors" >&5 19332 +echo "$as_me:10 964: checking if you want to use extended colors" >&522125 +echo "$as_me:10853: checking if you want to use extended colors" >&5 19333 22126 echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6 19334 22127 19335 22128 # Check whether --enable-ext-colors or --disable-ext-colors was given. 19336 @@ -10180,12 +10 971,12 @@22129 @@ -10180,12 +10860,12 @@ 19337 22130 else 19338 22131 with_ext_colors=no 19339 22132 fi; 19340 22133 -echo "$as_me:10183: result: $with_ext_colors" >&5 19341 +echo "$as_me:10 974: result: $with_ext_colors" >&522134 +echo "$as_me:10863: result: $with_ext_colors" >&5 19342 22135 echo "${ECHO_T}$with_ext_colors" >&6 19343 22136 NCURSES_EXT_COLORS=0 … … 19345 22138 if test "$with_widec" != yes ; then 19346 22139 - { { echo "$as_me:10188: error: This option applies only to wide-character library" >&5 19347 + { { echo "$as_me:10 979: error: This option applies only to wide-character library" >&522140 + { { echo "$as_me:10868: error: This option applies only to wide-character library" >&5 19348 22141 echo "$as_me: error: This option applies only to wide-character library" >&2;} 19349 22142 { (exit 1); exit 1; }; } 19350 22143 else 19351 @@ -10196,7 +10 987,7 @@22144 @@ -10196,7 +10876,7 @@ 19352 22145 5.*) 19353 22146 cf_cv_rel_version=6.0 19354 22147 cf_cv_abi_version=6 19355 22148 - { echo "$as_me:10199: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 19356 + { echo "$as_me:10 990: WARNING: Overriding ABI version to $cf_cv_abi_version" >&522149 + { echo "$as_me:10879: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 19357 22150 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;} 19358 22151 ;; 19359 22152 esac 19360 @@ -10211,7 +1 1002,7 @@22153 @@ -10211,7 +10891,7 @@ 19361 22154 fi 19362 22155 19363 22156 ### use option --enable-ext-mouse to modify coding to support 5-button mice 19364 22157 -echo "$as_me:10214: checking if you want to use extended mouse encoding" >&5 19365 +echo "$as_me:1 1005: checking if you want to use extended mouse encoding" >&522158 +echo "$as_me:10894: checking if you want to use extended mouse encoding" >&5 19366 22159 echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6 19367 22160 19368 22161 # Check whether --enable-ext-mouse or --disable-ext-mouse was given. 19369 @@ -10221,7 +1 1012,7 @@22162 @@ -10221,7 +10901,7 @@ 19370 22163 else 19371 22164 with_ext_mouse=no 19372 22165 fi; 19373 22166 -echo "$as_me:10224: result: $with_ext_mouse" >&5 19374 +echo "$as_me:1 1015: result: $with_ext_mouse" >&522167 +echo "$as_me:10904: result: $with_ext_mouse" >&5 19375 22168 echo "${ECHO_T}$with_ext_mouse" >&6 19376 22169 NCURSES_MOUSE_VERSION=1 19377 22170 if test "$with_ext_mouse" = yes ; then 19378 @@ -10232,7 +1 1023,7 @@22171 @@ -10232,7 +10912,7 @@ 19379 22172 5.*) 19380 22173 cf_cv_rel_version=6.0 19381 22174 cf_cv_abi_version=6 19382 22175 - { echo "$as_me:10235: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 19383 + { echo "$as_me:1 1026: WARNING: Overriding ABI version to $cf_cv_abi_version" >&522176 + { echo "$as_me:10915: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 19384 22177 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;} 19385 22178 ;; 19386 22179 esac 19387 @@ -10240,7 +1 1031,7 @@22180 @@ -10240,7 +10920,7 @@ 19388 22181 19389 22182 fi 19390 22183 19391 22184 -echo "$as_me:10243: checking if you want \$NCURSES_NO_PADDING code" >&5 19392 +echo "$as_me:1 1034: checking if you want \$NCURSES_NO_PADDING code" >&522185 +echo "$as_me:10923: checking if you want \$NCURSES_NO_PADDING code" >&5 19393 22186 echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6 19394 22187 19395 22188 # Check whether --enable-no-padding or --disable-no-padding was given. 19396 @@ -10250,19 +1 1041,19 @@22189 @@ -10250,19 +10930,19 @@ 19397 22190 else 19398 22191 with_no_padding=$with_ext_funcs 19399 22192 fi; 19400 22193 -echo "$as_me:10253: result: $with_no_padding" >&5 19401 +echo "$as_me:1 1044: result: $with_no_padding" >&522194 +echo "$as_me:10933: result: $with_no_padding" >&5 19402 22195 echo "${ECHO_T}$with_no_padding" >&6 19403 22196 test "$with_no_padding" = yes && cat >>confdefs.h <<\EOF … … 19406 22199 19407 22200 -echo "$as_me:10259: checking for ANSI C header files" >&5 19408 +echo "$as_me:1 1050: checking for ANSI C header files" >&522201 +echo "$as_me:10939: checking for ANSI C header files" >&5 19409 22202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 19410 22203 if test "${ac_cv_header_stdc+set}" = set; then … … 19413 22206 cat >conftest.$ac_ext <<_ACEOF 19414 22207 -#line 10265 "configure" 19415 +#line 1 1056"configure"22208 +#line 10945 "configure" 19416 22209 #include "confdefs.h" 19417 22210 #include <stdlib.h> 19418 22211 #include <stdarg.h> 19419 @@ -10270,13 +1 1061,13 @@22212 @@ -10270,13 +10950,13 @@ 19420 22213 #include <float.h> 19421 22214 19422 22215 _ACEOF 19423 22216 -if { (eval echo "$as_me:10273: \"$ac_cpp conftest.$ac_ext\"") >&5 19424 +if { (eval echo "$as_me:1 1064: \"$ac_cpp conftest.$ac_ext\"") >&522217 +if { (eval echo "$as_me:10953: \"$ac_cpp conftest.$ac_ext\"") >&5 19425 22218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19426 22219 ac_status=$? … … 19429 22222 cat conftest.err >&5 19430 22223 - echo "$as_me:10279: \$? = $ac_status" >&5 19431 + echo "$as_me:1 1070: \$? = $ac_status" >&522224 + echo "$as_me:10959: \$? = $ac_status" >&5 19432 22225 (exit $ac_status); } >/dev/null; then 19433 22226 if test -s conftest.err; then 19434 22227 ac_cpp_err=$ac_c_preproc_warn_flag 19435 @@ -10298,7 +1 1089,7 @@22228 @@ -10298,7 +10978,7 @@ 19436 22229 if test $ac_cv_header_stdc = yes; then 19437 22230 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 19438 22231 cat >conftest.$ac_ext <<_ACEOF 19439 22232 -#line 10301 "configure" 19440 +#line 1 1092"configure"22233 +#line 10981 "configure" 19441 22234 #include "confdefs.h" 19442 22235 #include <string.h> 19443 22236 19444 @@ -10316,7 +1 1107,7 @@22237 @@ -10316,7 +10996,7 @@ 19445 22238 if test $ac_cv_header_stdc = yes; then 19446 22239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 19447 22240 cat >conftest.$ac_ext <<_ACEOF 19448 22241 -#line 10319 "configure" 19449 +#line 1 1110"configure"22242 +#line 10999 "configure" 19450 22243 #include "confdefs.h" 19451 22244 #include <stdlib.h> 19452 22245 19453 @@ -10337,7 +11 128,7 @@22246 @@ -10337,7 +11017,7 @@ 19454 22247 : 19455 22248 else 19456 22249 cat >conftest.$ac_ext <<_ACEOF 19457 22250 -#line 10340 "configure" 19458 +#line 11 131"configure"22251 +#line 11020 "configure" 19459 22252 #include "confdefs.h" 19460 22253 #include <ctype.h> 19461 22254 #if ((' ' & 0x0FF) == 0x020) 19462 @@ -10363,15 +11 154,15 @@22255 @@ -10363,15 +11043,15 @@ 19463 22256 } 19464 22257 _ACEOF 19465 22258 rm -f conftest$ac_exeext 19466 22259 -if { (eval echo "$as_me:10366: \"$ac_link\"") >&5 19467 +if { (eval echo "$as_me:11 157: \"$ac_link\"") >&522260 +if { (eval echo "$as_me:11046: \"$ac_link\"") >&5 19468 22261 (eval $ac_link) 2>&5 19469 22262 ac_status=$? 19470 22263 - echo "$as_me:10369: \$? = $ac_status" >&5 19471 + echo "$as_me:11 160: \$? = $ac_status" >&522264 + echo "$as_me:11049: \$? = $ac_status" >&5 19472 22265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19473 22266 - { (eval echo "$as_me:10371: \"$ac_try\"") >&5 19474 + { (eval echo "$as_me:11 162: \"$ac_try\"") >&522267 + { (eval echo "$as_me:11051: \"$ac_try\"") >&5 19475 22268 (eval $ac_try) 2>&5 19476 22269 ac_status=$? 19477 22270 - echo "$as_me:10374: \$? = $ac_status" >&5 19478 + echo "$as_me:11 165: \$? = $ac_status" >&522271 + echo "$as_me:11054: \$? = $ac_status" >&5 19479 22272 (exit $ac_status); }; }; then 19480 22273 : 19481 22274 else 19482 @@ -10384,7 +11 175,7 @@22275 @@ -10384,7 +11064,7 @@ 19483 22276 fi 19484 22277 fi 19485 22278 fi 19486 22279 -echo "$as_me:10387: result: $ac_cv_header_stdc" >&5 19487 +echo "$as_me:11 178: result: $ac_cv_header_stdc" >&522280 +echo "$as_me:11067: result: $ac_cv_header_stdc" >&5 19488 22281 echo "${ECHO_T}$ac_cv_header_stdc" >&6 19489 22282 if test $ac_cv_header_stdc = yes; then 19490 22283 19491 @@ -10400,28 +11 191,28 @@22284 @@ -10400,28 +11080,28 @@ 19492 22285 inttypes.h stdint.h unistd.h 19493 22286 do 19494 22287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19495 22288 -echo "$as_me:10403: checking for $ac_header" >&5 19496 +echo "$as_me:11 194: checking for $ac_header" >&522289 +echo "$as_me:11083: checking for $ac_header" >&5 19497 22290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19498 22291 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 19501 22294 cat >conftest.$ac_ext <<_ACEOF 19502 22295 -#line 10409 "configure" 19503 +#line 11 200"configure"22296 +#line 11089 "configure" 19504 22297 #include "confdefs.h" 19505 22298 $ac_includes_default … … 19508 22301 rm -f conftest.$ac_objext 19509 22302 -if { (eval echo "$as_me:10415: \"$ac_compile\"") >&5 19510 +if { (eval echo "$as_me:11 206: \"$ac_compile\"") >&522303 +if { (eval echo "$as_me:11095: \"$ac_compile\"") >&5 19511 22304 (eval $ac_compile) 2>&5 19512 22305 ac_status=$? 19513 22306 - echo "$as_me:10418: \$? = $ac_status" >&5 19514 + echo "$as_me:11 209: \$? = $ac_status" >&522307 + echo "$as_me:11098: \$? = $ac_status" >&5 19515 22308 (exit $ac_status); } && 19516 22309 { ac_try='test -s conftest.$ac_objext' 19517 22310 - { (eval echo "$as_me:10421: \"$ac_try\"") >&5 19518 + { (eval echo "$as_me:11 212: \"$ac_try\"") >&522311 + { (eval echo "$as_me:11101: \"$ac_try\"") >&5 19519 22312 (eval $ac_try) 2>&5 19520 22313 ac_status=$? 19521 22314 - echo "$as_me:10424: \$? = $ac_status" >&5 19522 + echo "$as_me:11 215: \$? = $ac_status" >&522315 + echo "$as_me:11104: \$? = $ac_status" >&5 19523 22316 (exit $ac_status); }; }; then 19524 22317 eval "$as_ac_Header=yes" 19525 22318 else 19526 @@ -10431,7 +11 222,7 @@22319 @@ -10431,7 +11111,7 @@ 19527 22320 fi 19528 22321 rm -f conftest.$ac_objext conftest.$ac_ext 19529 22322 fi 19530 22323 -echo "$as_me:10434: result: `eval echo '${'$as_ac_Header'}'`" >&5 19531 +echo "$as_me:11 225: result: `eval echo '${'$as_ac_Header'}'`" >&522324 +echo "$as_me:11114: result: `eval echo '${'$as_ac_Header'}'`" >&5 19532 22325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19533 22326 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19534 22327 cat >>confdefs.h <<EOF 19535 @@ -10441,13 +11 232,13 @@22328 @@ -10441,13 +11121,13 @@ 19536 22329 fi 19537 22330 done 19538 22331 19539 22332 -echo "$as_me:10444: checking for signed char" >&5 19540 +echo "$as_me:11 235: checking for signed char" >&522333 +echo "$as_me:11124: checking for signed char" >&5 19541 22334 echo $ECHO_N "checking for signed char... $ECHO_C" >&6 19542 22335 if test "${ac_cv_type_signed_char+set}" = set; then … … 19545 22338 cat >conftest.$ac_ext <<_ACEOF 19546 22339 -#line 10450 "configure" 19547 +#line 11 241"configure"22340 +#line 11130 "configure" 19548 22341 #include "confdefs.h" 19549 22342 $ac_includes_default 19550 22343 int 19551 @@ -10462,16 +11 253,16 @@22344 @@ -10462,16 +11142,16 @@ 19552 22345 } 19553 22346 _ACEOF 19554 22347 rm -f conftest.$ac_objext 19555 22348 -if { (eval echo "$as_me:10465: \"$ac_compile\"") >&5 19556 +if { (eval echo "$as_me:11 256: \"$ac_compile\"") >&522349 +if { (eval echo "$as_me:11145: \"$ac_compile\"") >&5 19557 22350 (eval $ac_compile) 2>&5 19558 22351 ac_status=$? 19559 22352 - echo "$as_me:10468: \$? = $ac_status" >&5 19560 + echo "$as_me:11 259: \$? = $ac_status" >&522353 + echo "$as_me:11148: \$? = $ac_status" >&5 19561 22354 (exit $ac_status); } && 19562 22355 { ac_try='test -s conftest.$ac_objext' 19563 22356 - { (eval echo "$as_me:10471: \"$ac_try\"") >&5 19564 + { (eval echo "$as_me:11 262: \"$ac_try\"") >&522357 + { (eval echo "$as_me:11151: \"$ac_try\"") >&5 19565 22358 (eval $ac_try) 2>&5 19566 22359 ac_status=$? 19567 22360 - echo "$as_me:10474: \$? = $ac_status" >&5 19568 + echo "$as_me:11 265: \$? = $ac_status" >&522361 + echo "$as_me:11154: \$? = $ac_status" >&5 19569 22362 (exit $ac_status); }; }; then 19570 22363 ac_cv_type_signed_char=yes 19571 22364 else 19572 @@ -10481,10 +11 272,10 @@22365 @@ -10481,10 +11161,10 @@ 19573 22366 fi 19574 22367 rm -f conftest.$ac_objext conftest.$ac_ext 19575 22368 fi 19576 22369 -echo "$as_me:10484: result: $ac_cv_type_signed_char" >&5 19577 +echo "$as_me:11 275: result: $ac_cv_type_signed_char" >&522370 +echo "$as_me:11164: result: $ac_cv_type_signed_char" >&5 19578 22371 echo "${ECHO_T}$ac_cv_type_signed_char" >&6 19579 22372 19580 22373 -echo "$as_me:10487: checking size of signed char" >&5 19581 +echo "$as_me:11 278: checking size of signed char" >&522374 +echo "$as_me:11167: checking size of signed char" >&5 19582 22375 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 19583 22376 if test "${ac_cv_sizeof_signed_char+set}" = set; then 19584 22377 echo $ECHO_N "(cached) $ECHO_C" >&6 19585 @@ -10493,7 +11 284,7 @@22378 @@ -10493,7 +11173,7 @@ 19586 22379 if test "$cross_compiling" = yes; then 19587 22380 # Depending upon the size, compute the lo and hi bounds. 19588 22381 cat >conftest.$ac_ext <<_ACEOF 19589 22382 -#line 10496 "configure" 19590 +#line 11 287"configure"22383 +#line 11176 "configure" 19591 22384 #include "confdefs.h" 19592 22385 $ac_includes_default 19593 22386 int 19594 @@ -10505,21 +11 296,21 @@22387 @@ -10505,21 +11185,21 @@ 19595 22388 } 19596 22389 _ACEOF 19597 22390 rm -f conftest.$ac_objext 19598 22391 -if { (eval echo "$as_me:10508: \"$ac_compile\"") >&5 19599 +if { (eval echo "$as_me:11 299: \"$ac_compile\"") >&522392 +if { (eval echo "$as_me:11188: \"$ac_compile\"") >&5 19600 22393 (eval $ac_compile) 2>&5 19601 22394 ac_status=$? 19602 22395 - echo "$as_me:10511: \$? = $ac_status" >&5 19603 + echo "$as_me:11 302: \$? = $ac_status" >&522396 + echo "$as_me:11191: \$? = $ac_status" >&5 19604 22397 (exit $ac_status); } && 19605 22398 { ac_try='test -s conftest.$ac_objext' 19606 22399 - { (eval echo "$as_me:10514: \"$ac_try\"") >&5 19607 + { (eval echo "$as_me:11 305: \"$ac_try\"") >&522400 + { (eval echo "$as_me:11194: \"$ac_try\"") >&5 19608 22401 (eval $ac_try) 2>&5 19609 22402 ac_status=$? 19610 22403 - echo "$as_me:10517: \$? = $ac_status" >&5 19611 + echo "$as_me:11 308: \$? = $ac_status" >&522404 + echo "$as_me:11197: \$? = $ac_status" >&5 19612 22405 (exit $ac_status); }; }; then 19613 22406 ac_lo=0 ac_mid=0 … … 19615 22408 cat >conftest.$ac_ext <<_ACEOF 19616 22409 -#line 10522 "configure" 19617 +#line 11 313"configure"22410 +#line 11202 "configure" 19618 22411 #include "confdefs.h" 19619 22412 $ac_includes_default 19620 22413 int 19621 @@ -10531,16 +11 322,16 @@22414 @@ -10531,16 +11211,16 @@ 19622 22415 } 19623 22416 _ACEOF 19624 22417 rm -f conftest.$ac_objext 19625 22418 -if { (eval echo "$as_me:10534: \"$ac_compile\"") >&5 19626 +if { (eval echo "$as_me:11 325: \"$ac_compile\"") >&522419 +if { (eval echo "$as_me:11214: \"$ac_compile\"") >&5 19627 22420 (eval $ac_compile) 2>&5 19628 22421 ac_status=$? 19629 22422 - echo "$as_me:10537: \$? = $ac_status" >&5 19630 + echo "$as_me:11 328: \$? = $ac_status" >&522423 + echo "$as_me:11217: \$? = $ac_status" >&5 19631 22424 (exit $ac_status); } && 19632 22425 { ac_try='test -s conftest.$ac_objext' 19633 22426 - { (eval echo "$as_me:10540: \"$ac_try\"") >&5 19634 + { (eval echo "$as_me:11 331: \"$ac_try\"") >&522427 + { (eval echo "$as_me:11220: \"$ac_try\"") >&5 19635 22428 (eval $ac_try) 2>&5 19636 22429 ac_status=$? 19637 22430 - echo "$as_me:10543: \$? = $ac_status" >&5 19638 + echo "$as_me:11 334: \$? = $ac_status" >&522431 + echo "$as_me:11223: \$? = $ac_status" >&5 19639 22432 (exit $ac_status); }; }; then 19640 22433 ac_hi=$ac_mid; break 19641 22434 else 19642 @@ -10556,7 +11 347,7 @@22435 @@ -10556,7 +11236,7 @@ 19643 22436 ac_hi=-1 ac_mid=-1 19644 22437 while :; do 19645 22438 cat >conftest.$ac_ext <<_ACEOF 19646 22439 -#line 10559 "configure" 19647 +#line 11 350"configure"22440 +#line 11239 "configure" 19648 22441 #include "confdefs.h" 19649 22442 $ac_includes_default 19650 22443 int 19651 @@ -10568,16 +11 359,16 @@22444 @@ -10568,16 +11248,16 @@ 19652 22445 } 19653 22446 _ACEOF 19654 22447 rm -f conftest.$ac_objext 19655 22448 -if { (eval echo "$as_me:10571: \"$ac_compile\"") >&5 19656 +if { (eval echo "$as_me:11 362: \"$ac_compile\"") >&522449 +if { (eval echo "$as_me:11251: \"$ac_compile\"") >&5 19657 22450 (eval $ac_compile) 2>&5 19658 22451 ac_status=$? 19659 22452 - echo "$as_me:10574: \$? = $ac_status" >&5 19660 + echo "$as_me:11 365: \$? = $ac_status" >&522453 + echo "$as_me:11254: \$? = $ac_status" >&5 19661 22454 (exit $ac_status); } && 19662 22455 { ac_try='test -s conftest.$ac_objext' 19663 22456 - { (eval echo "$as_me:10577: \"$ac_try\"") >&5 19664 + { (eval echo "$as_me:11 368: \"$ac_try\"") >&522457 + { (eval echo "$as_me:11257: \"$ac_try\"") >&5 19665 22458 (eval $ac_try) 2>&5 19666 22459 ac_status=$? 19667 22460 - echo "$as_me:10580: \$? = $ac_status" >&5 19668 + echo "$as_me:11 371: \$? = $ac_status" >&522461 + echo "$as_me:11260: \$? = $ac_status" >&5 19669 22462 (exit $ac_status); }; }; then 19670 22463 ac_lo=$ac_mid; break 19671 22464 else 19672 @@ -10593,7 +11 384,7 @@22465 @@ -10593,7 +11273,7 @@ 19673 22466 while test "x$ac_lo" != "x$ac_hi"; do 19674 22467 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 19675 22468 cat >conftest.$ac_ext <<_ACEOF 19676 22469 -#line 10596 "configure" 19677 +#line 11 387"configure"22470 +#line 11276 "configure" 19678 22471 #include "confdefs.h" 19679 22472 $ac_includes_default 19680 22473 int 19681 @@ -10605,16 +11 396,16 @@22474 @@ -10605,16 +11285,16 @@ 19682 22475 } 19683 22476 _ACEOF 19684 22477 rm -f conftest.$ac_objext 19685 22478 -if { (eval echo "$as_me:10608: \"$ac_compile\"") >&5 19686 +if { (eval echo "$as_me:11 399: \"$ac_compile\"") >&522479 +if { (eval echo "$as_me:11288: \"$ac_compile\"") >&5 19687 22480 (eval $ac_compile) 2>&5 19688 22481 ac_status=$? 19689 22482 - echo "$as_me:10611: \$? = $ac_status" >&5 19690 + echo "$as_me:11 402: \$? = $ac_status" >&522483 + echo "$as_me:11291: \$? = $ac_status" >&5 19691 22484 (exit $ac_status); } && 19692 22485 { ac_try='test -s conftest.$ac_objext' 19693 22486 - { (eval echo "$as_me:10614: \"$ac_try\"") >&5 19694 + { (eval echo "$as_me:11 405: \"$ac_try\"") >&522487 + { (eval echo "$as_me:11294: \"$ac_try\"") >&5 19695 22488 (eval $ac_try) 2>&5 19696 22489 ac_status=$? 19697 22490 - echo "$as_me:10617: \$? = $ac_status" >&5 19698 + echo "$as_me:11 408: \$? = $ac_status" >&522491 + echo "$as_me:11297: \$? = $ac_status" >&5 19699 22492 (exit $ac_status); }; }; then 19700 22493 ac_hi=$ac_mid 19701 22494 else 19702 @@ -10627,12 +11 418,12 @@22495 @@ -10627,12 +11307,12 @@ 19703 22496 ac_cv_sizeof_signed_char=$ac_lo 19704 22497 else 19705 22498 if test "$cross_compiling" = yes; then 19706 22499 - { { echo "$as_me:10630: error: cannot run test program while cross compiling" >&5 19707 + { { echo "$as_me:11 421: error: cannot run test program while cross compiling" >&522500 + { { echo "$as_me:11310: error: cannot run test program while cross compiling" >&5 19708 22501 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 19709 22502 { (exit 1); exit 1; }; } … … 19711 22504 cat >conftest.$ac_ext <<_ACEOF 19712 22505 -#line 10635 "configure" 19713 +#line 11 426"configure"22506 +#line 11315 "configure" 19714 22507 #include "confdefs.h" 19715 22508 $ac_includes_default 19716 22509 int 19717 @@ -10648,15 +11 439,15 @@22510 @@ -10648,15 +11328,15 @@ 19718 22511 } 19719 22512 _ACEOF 19720 22513 rm -f conftest$ac_exeext 19721 22514 -if { (eval echo "$as_me:10651: \"$ac_link\"") >&5 19722 +if { (eval echo "$as_me:11 442: \"$ac_link\"") >&522515 +if { (eval echo "$as_me:11331: \"$ac_link\"") >&5 19723 22516 (eval $ac_link) 2>&5 19724 22517 ac_status=$? 19725 22518 - echo "$as_me:10654: \$? = $ac_status" >&5 19726 + echo "$as_me:11 445: \$? = $ac_status" >&522519 + echo "$as_me:11334: \$? = $ac_status" >&5 19727 22520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19728 22521 - { (eval echo "$as_me:10656: \"$ac_try\"") >&5 19729 + { (eval echo "$as_me:11 447: \"$ac_try\"") >&522522 + { (eval echo "$as_me:11336: \"$ac_try\"") >&5 19730 22523 (eval $ac_try) 2>&5 19731 22524 ac_status=$? 19732 22525 - echo "$as_me:10659: \$? = $ac_status" >&5 19733 + echo "$as_me:11 450: \$? = $ac_status" >&522526 + echo "$as_me:11339: \$? = $ac_status" >&5 19734 22527 (exit $ac_status); }; }; then 19735 22528 ac_cv_sizeof_signed_char=`cat conftest.val` 19736 22529 else 19737 @@ -10672,7 +11 463,7 @@22530 @@ -10672,7 +11352,7 @@ 19738 22531 ac_cv_sizeof_signed_char=0 19739 22532 fi 19740 22533 fi 19741 22534 -echo "$as_me:10675: result: $ac_cv_sizeof_signed_char" >&5 19742 +echo "$as_me:11 466: result: $ac_cv_sizeof_signed_char" >&522535 +echo "$as_me:11355: result: $ac_cv_sizeof_signed_char" >&5 19743 22536 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 19744 22537 cat >>confdefs.h <<EOF 19745 22538 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char 19746 @@ -10683,7 +11 474,7 @@22539 @@ -10683,7 +11363,7 @@ 19747 22540 else 19748 22541 NCURSES_SBOOL="char" 19749 22542 fi 19750 22543 -echo "$as_me:10686: checking if you want to use signed Boolean array in term.h" >&5 19751 +echo "$as_me:11 477: checking if you want to use signed Boolean array in term.h" >&522544 +echo "$as_me:11366: checking if you want to use signed Boolean array in term.h" >&5 19752 22545 echo $ECHO_N "checking if you want to use signed Boolean array in term.h... $ECHO_C" >&6 19753 22546 19754 22547 # Check whether --enable-signed-char or --disable-signed-char was given. 19755 @@ -10693,12 +11 484,12 @@22548 @@ -10693,12 +11373,12 @@ 19756 22549 else 19757 22550 with_signed_char=no 19758 22551 fi; 19759 22552 -echo "$as_me:10696: result: $with_signed_char" >&5 19760 +echo "$as_me:11 487: result: $with_signed_char" >&522553 +echo "$as_me:11376: result: $with_signed_char" >&5 19761 22554 echo "${ECHO_T}$with_signed_char" >&6 19762 22555 test "$with_signed_char" != yes && NCURSES_SBOOL="char" … … 19764 22557 ### use option --enable-sigwinch to turn on use of SIGWINCH logic 19765 22558 -echo "$as_me:10701: checking if you want SIGWINCH handler" >&5 19766 +echo "$as_me:11 492: checking if you want SIGWINCH handler" >&522559 +echo "$as_me:11381: checking if you want SIGWINCH handler" >&5 19767 22560 echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6 19768 22561 19769 22562 # Check whether --enable-sigwinch or --disable-sigwinch was given. 19770 @@ -10708,14 +11 499,14 @@22563 @@ -10708,14 +11388,14 @@ 19771 22564 else 19772 22565 with_sigwinch=$with_ext_funcs 19773 22566 fi; 19774 22567 -echo "$as_me:10711: result: $with_sigwinch" >&5 19775 +echo "$as_me:11 502: result: $with_sigwinch" >&522568 +echo "$as_me:11391: result: $with_sigwinch" >&5 19776 22569 echo "${ECHO_T}$with_sigwinch" >&6 19777 22570 test "$with_sigwinch" = yes && cat >>confdefs.h <<\EOF … … 19781 22574 ### use option --enable-tcap-names to allow user to define new capabilities 19782 22575 -echo "$as_me:10718: checking if you want user-definable terminal capabilities like termcap" >&5 19783 +echo "$as_me:11 509: checking if you want user-definable terminal capabilities like termcap" >&522576 +echo "$as_me:11398: checking if you want user-definable terminal capabilities like termcap" >&5 19784 22577 echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6 19785 22578 19786 22579 # Check whether --enable-tcap-names or --disable-tcap-names was given. 19787 @@ -10725,7 +11 516,7 @@22580 @@ -10725,7 +11405,7 @@ 19788 22581 else 19789 22582 with_tcap_names=$with_ext_funcs 19790 22583 fi; 19791 22584 -echo "$as_me:10728: result: $with_tcap_names" >&5 19792 +echo "$as_me:11 519: result: $with_tcap_names" >&522585 +echo "$as_me:11408: result: $with_tcap_names" >&5 19793 22586 echo "${ECHO_T}$with_tcap_names" >&6 19794 22587 NCURSES_XNAMES=0 19795 22588 test "$with_tcap_names" = yes && NCURSES_XNAMES=1 19796 @@ -10733,7 +11 524,7 @@22589 @@ -10733,7 +11413,7 @@ 19797 22590 ############################################################################### 19798 22591 # These options are relatively safe to experiment with. 19799 22592 19800 22593 -echo "$as_me:10736: checking if you want all development code" >&5 19801 +echo "$as_me:11 527: checking if you want all development code" >&522594 +echo "$as_me:11416: checking if you want all development code" >&5 19802 22595 echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 19803 22596 19804 22597 # Check whether --with-develop or --without-develop was given. 19805 @@ -10743,11 +11 534,11 @@22598 @@ -10743,11 +11423,11 @@ 19806 22599 else 19807 22600 with_develop=no 19808 22601 fi; 19809 22602 -echo "$as_me:10746: result: $with_develop" >&5 19810 +echo "$as_me:11 537: result: $with_develop" >&522603 +echo "$as_me:11426: result: $with_develop" >&5 19811 22604 echo "${ECHO_T}$with_develop" >&6 19812 22605 19813 22606 ### use option --enable-hard-tabs to turn on use of hard-tabs optimize 19814 22607 -echo "$as_me:10750: checking if you want hard-tabs code" >&5 19815 +echo "$as_me:11 541: checking if you want hard-tabs code" >&522608 +echo "$as_me:11430: checking if you want hard-tabs code" >&5 19816 22609 echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6 19817 22610 19818 22611 # Check whether --enable-hard-tabs or --disable-hard-tabs was given. 19819 @@ -10757,14 +11 548,14 @@22612 @@ -10757,14 +11437,14 @@ 19820 22613 else 19821 22614 enable_hard_tabs=$with_develop 19822 22615 fi; 19823 22616 -echo "$as_me:10760: result: $enable_hard_tabs" >&5 19824 +echo "$as_me:11 551: result: $enable_hard_tabs" >&522617 +echo "$as_me:11440: result: $enable_hard_tabs" >&5 19825 22618 echo "${ECHO_T}$enable_hard_tabs" >&6 19826 22619 test "$enable_hard_tabs" = yes && cat >>confdefs.h <<\EOF … … 19830 22623 ### use option --enable-xmc-glitch to turn on use of magic-cookie optimize 19831 22624 -echo "$as_me:10767: checking if you want limited support for xmc" >&5 19832 +echo "$as_me:11 558: checking if you want limited support for xmc" >&522625 +echo "$as_me:11447: checking if you want limited support for xmc" >&5 19833 22626 echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6 19834 22627 19835 22628 # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given. 19836 @@ -10774,7 +11 565,7 @@22629 @@ -10774,7 +11454,7 @@ 19837 22630 else 19838 22631 enable_xmc_glitch=$with_develop 19839 22632 fi; 19840 22633 -echo "$as_me:10777: result: $enable_xmc_glitch" >&5 19841 +echo "$as_me:11 568: result: $enable_xmc_glitch" >&522634 +echo "$as_me:11457: result: $enable_xmc_glitch" >&5 19842 22635 echo "${ECHO_T}$enable_xmc_glitch" >&6 19843 22636 test "$enable_xmc_glitch" = yes && cat >>confdefs.h <<\EOF 19844 22637 #define USE_XMC_SUPPORT 1 19845 @@ -10783,7 +11 574,7 @@22638 @@ -10783,7 +11463,7 @@ 19846 22639 ############################################################################### 19847 22640 # These are just experimental, probably should not be in a package: 19848 22641 19849 22642 -echo "$as_me:10786: checking if you do not want to assume colors are white-on-black" >&5 19850 +echo "$as_me:11 577: checking if you do not want to assume colors are white-on-black" >&522643 +echo "$as_me:11466: checking if you do not want to assume colors are white-on-black" >&5 19851 22644 echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6 19852 22645 19853 22646 # Check whether --enable-assumed-color or --disable-assumed-color was given. 19854 @@ -10793,14 +11 584,14 @@22647 @@ -10793,14 +11473,14 @@ 19855 22648 else 19856 22649 with_assumed_color=yes 19857 22650 fi; 19858 22651 -echo "$as_me:10796: result: $with_assumed_color" >&5 19859 +echo "$as_me:11 587: result: $with_assumed_color" >&522652 +echo "$as_me:11476: result: $with_assumed_color" >&5 19860 22653 echo "${ECHO_T}$with_assumed_color" >&6 19861 22654 test "$with_assumed_color" = yes && cat >>confdefs.h <<\EOF … … 19865 22658 ### use option --enable-hashmap to turn on use of hashmap scrolling logic 19866 22659 -echo "$as_me:10803: checking if you want hashmap scrolling-optimization code" >&5 19867 +echo "$as_me:11 594: checking if you want hashmap scrolling-optimization code" >&522660 +echo "$as_me:11483: checking if you want hashmap scrolling-optimization code" >&5 19868 22661 echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6 19869 22662 19870 22663 # Check whether --enable-hashmap or --disable-hashmap was given. 19871 @@ -10810,14 +11 601,14 @@22664 @@ -10810,14 +11490,14 @@ 19872 22665 else 19873 22666 with_hashmap=yes 19874 22667 fi; 19875 22668 -echo "$as_me:10813: result: $with_hashmap" >&5 19876 +echo "$as_me:11 604: result: $with_hashmap" >&522669 +echo "$as_me:11493: result: $with_hashmap" >&5 19877 22670 echo "${ECHO_T}$with_hashmap" >&6 19878 22671 test "$with_hashmap" = yes && cat >>confdefs.h <<\EOF … … 19882 22675 ### use option --enable-colorfgbg to turn on use of $COLORFGBG environment 19883 22676 -echo "$as_me:10820: checking if you want colorfgbg code" >&5 19884 +echo "$as_me:11 611: checking if you want colorfgbg code" >&522677 +echo "$as_me:11500: checking if you want colorfgbg code" >&5 19885 22678 echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6 19886 22679 19887 22680 # Check whether --enable-colorfgbg or --disable-colorfgbg was given. 19888 @@ -10827,14 +11 618,14 @@22681 @@ -10827,14 +11507,14 @@ 19889 22682 else 19890 22683 with_colorfgbg=no 19891 22684 fi; 19892 22685 -echo "$as_me:10830: result: $with_colorfgbg" >&5 19893 +echo "$as_me:11 621: result: $with_colorfgbg" >&522686 +echo "$as_me:11510: result: $with_colorfgbg" >&5 19894 22687 echo "${ECHO_T}$with_colorfgbg" >&6 19895 22688 test "$with_colorfgbg" = yes && cat >>confdefs.h <<\EOF … … 19899 22692 ### use option --enable-interop to turn on use of bindings used for interop 19900 22693 -echo "$as_me:10837: checking if you want interop bindings" >&5 19901 +echo "$as_me:11 628: checking if you want interop bindings" >&522694 +echo "$as_me:11517: checking if you want interop bindings" >&5 19902 22695 echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6 19903 22696 19904 22697 # Check whether --enable-interop or --disable-interop was given. 19905 @@ -10844,7 +11 635,7 @@22698 @@ -10844,7 +11524,7 @@ 19906 22699 else 19907 22700 with_exp_interop=no 19908 22701 fi; 19909 22702 -echo "$as_me:10847: result: $with_exp_interop" >&5 19910 +echo "$as_me:11 638: result: $with_exp_interop" >&522703 +echo "$as_me:11527: result: $with_exp_interop" >&5 19911 22704 echo "${ECHO_T}$with_exp_interop" >&6 19912 22705 19913 22706 NCURSES_INTEROP_FUNCS=0 19914 @@ -10853,7 +11 644,7 @@22707 @@ -10853,7 +11533,7 @@ 19915 22708 # This is still experimental (20080329), but should ultimately be moved to 19916 22709 # the script-block --with-normal, etc. 19917 22710 19918 22711 -echo "$as_me:10856: checking if you want to link with the pthread library" >&5 19919 +echo "$as_me:11 647: checking if you want to link with the pthread library" >&522712 +echo "$as_me:11536: checking if you want to link with the pthread library" >&5 19920 22713 echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 19921 22714 19922 22715 # Check whether --with-pthread or --without-pthread was given. 19923 @@ -10863,27 +11 654,27 @@22716 @@ -10863,27 +11543,27 @@ 19924 22717 else 19925 22718 with_pthread=no 19926 22719 fi; 19927 22720 -echo "$as_me:10866: result: $with_pthread" >&5 19928 +echo "$as_me:11 657: result: $with_pthread" >&522721 +echo "$as_me:11546: result: $with_pthread" >&5 19929 22722 echo "${ECHO_T}$with_pthread" >&6 19930 22723 19931 22724 if test "$with_pthread" != no ; then 19932 22725 - echo "$as_me:10870: checking for pthread.h" >&5 19933 + echo "$as_me:11 661: checking for pthread.h" >&522726 + echo "$as_me:11550: checking for pthread.h" >&5 19934 22727 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 19935 22728 if test "${ac_cv_header_pthread_h+set}" = set; then … … 19938 22731 cat >conftest.$ac_ext <<_ACEOF 19939 22732 -#line 10876 "configure" 19940 +#line 11 667"configure"22733 +#line 11556 "configure" 19941 22734 #include "confdefs.h" 19942 22735 #include <pthread.h> 19943 22736 _ACEOF 19944 22737 -if { (eval echo "$as_me:10880: \"$ac_cpp conftest.$ac_ext\"") >&5 19945 +if { (eval echo "$as_me:11 671: \"$ac_cpp conftest.$ac_ext\"") >&522738 +if { (eval echo "$as_me:11560: \"$ac_cpp conftest.$ac_ext\"") >&5 19946 22739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19947 22740 ac_status=$? … … 19950 22743 cat conftest.err >&5 19951 22744 - echo "$as_me:10886: \$? = $ac_status" >&5 19952 + echo "$as_me:11 677: \$? = $ac_status" >&522745 + echo "$as_me:11566: \$? = $ac_status" >&5 19953 22746 (exit $ac_status); } >/dev/null; then 19954 22747 if test -s conftest.err; then 19955 22748 ac_cpp_err=$ac_c_preproc_warn_flag 19956 @@ -10902,7 +11 693,7 @@22749 @@ -10902,7 +11582,7 @@ 19957 22750 fi 19958 22751 rm -f conftest.err conftest.$ac_ext 19959 22752 fi 19960 22753 -echo "$as_me:10905: result: $ac_cv_header_pthread_h" >&5 19961 +echo "$as_me:11 696: result: $ac_cv_header_pthread_h" >&522754 +echo "$as_me:11585: result: $ac_cv_header_pthread_h" >&5 19962 22755 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 19963 22756 if test $ac_cv_header_pthread_h = yes; then 19964 22757 19965 @@ -10910,12 +11 701,14 @@22758 @@ -10910,12 +11590,14 @@ 19966 22759 #define HAVE_PTHREADS_H 1 19967 22760 EOF … … 19975 22768 + for cf_lib_pthread in pthread c_r 19976 22769 + do 19977 + echo "$as_me:11 706: checking if we can link with the $cf_lib_pthread library" >&522770 + echo "$as_me:11595: checking if we can link with the $cf_lib_pthread library" >&5 19978 22771 +echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 19979 22772 + cf_save_LIBS="$LIBS" 19980 22773 + LIBS="-l$cf_lib_pthread $LIBS" 19981 22774 + cat >conftest.$ac_ext <<_ACEOF 19982 +#line 11 711"configure"22775 +#line 11600 "configure" 19983 22776 #include "confdefs.h" 19984 22777 19985 22778 #include <pthread.h> 19986 @@ -10924,23 +11 717,24 @@22779 @@ -10924,23 +11606,24 @@ 19987 22780 main () 19988 22781 { … … 19998 22791 rm -f conftest.$ac_objext conftest$ac_exeext 19999 22792 -if { (eval echo "$as_me:10934: \"$ac_link\"") >&5 20000 +if { (eval echo "$as_me:11 728: \"$ac_link\"") >&522793 +if { (eval echo "$as_me:11617: \"$ac_link\"") >&5 20001 22794 (eval $ac_link) 2>&5 20002 22795 ac_status=$? 20003 22796 - echo "$as_me:10937: \$? = $ac_status" >&5 20004 + echo "$as_me:11 731: \$? = $ac_status" >&522797 + echo "$as_me:11620: \$? = $ac_status" >&5 20005 22798 (exit $ac_status); } && 20006 22799 { ac_try='test -s conftest$ac_exeext' 20007 22800 - { (eval echo "$as_me:10940: \"$ac_try\"") >&5 20008 + { (eval echo "$as_me:11 734: \"$ac_try\"") >&522801 + { (eval echo "$as_me:11623: \"$ac_try\"") >&5 20009 22802 (eval $ac_try) 2>&5 20010 22803 ac_status=$? 20011 22804 - echo "$as_me:10943: \$? = $ac_status" >&5 20012 + echo "$as_me:11 737: \$? = $ac_status" >&522805 + echo "$as_me:11626: \$? = $ac_status" >&5 20013 22806 (exit $ac_status); }; }; then 20014 22807 with_pthread=yes 20015 22808 else 20016 @@ -10949,34 +11 743,36 @@22809 @@ -10949,34 +11632,36 @@ 20017 22810 with_pthread=no 20018 22811 fi … … 20021 22814 - echo "$as_me:10953: result: $with_pthread" >&5 20022 22815 + LIBS="$cf_save_LIBS" 20023 + echo "$as_me:11 747: result: $with_pthread" >&522816 + echo "$as_me:11636: result: $with_pthread" >&5 20024 22817 echo "${ECHO_T}$with_pthread" >&6 20025 22818 + test "$with_pthread" = yes && break … … 20038 22831 - { { echo "$as_me:10963: error: Cannot link with pthread library" >&5 20039 22832 + else 20040 + { { echo "$as_me:11 759: error: Cannot link with pthread library" >&522833 + { { echo "$as_me:11648: error: Cannot link with pthread library" >&5 20041 22834 echo "$as_me: error: Cannot link with pthread library" >&2;} 20042 22835 { (exit 1); exit 1; }; } … … 20050 22843 if test "x$with_pthread" != xno; then 20051 22844 - echo "$as_me:10973: checking for pthread_kill" >&5 20052 + echo "$as_me:11 769: checking for pthread_kill" >&522845 + echo "$as_me:11658: checking for pthread_kill" >&5 20053 22846 echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6 20054 22847 if test "${ac_cv_func_pthread_kill+set}" = set; then … … 20057 22850 cat >conftest.$ac_ext <<_ACEOF 20058 22851 -#line 10979 "configure" 20059 +#line 11 775"configure"22852 +#line 11664 "configure" 20060 22853 #include "confdefs.h" 20061 22854 /* System header to define __stub macros and hopefully few prototypes, 20062 22855 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 @@ 20064 22866 } 20065 22867 _ACEOF 20066 22868 rm -f conftest.$ac_objext conftest$ac_exeext 20067 22869 -if { (eval echo "$as_me:11010: \"$ac_link\"") >&5 20068 +if { (eval echo "$as_me:11 806: \"$ac_link\"") >&522870 +if { (eval echo "$as_me:11695: \"$ac_link\"") >&5 20069 22871 (eval $ac_link) 2>&5 20070 22872 ac_status=$? 20071 22873 - echo "$as_me:11013: \$? = $ac_status" >&5 20072 + echo "$as_me:11 809: \$? = $ac_status" >&522874 + echo "$as_me:11698: \$? = $ac_status" >&5 20073 22875 (exit $ac_status); } && 20074 22876 { ac_try='test -s conftest$ac_exeext' 20075 22877 - { (eval echo "$as_me:11016: \"$ac_try\"") >&5 20076 + { (eval echo "$as_me:11 812: \"$ac_try\"") >&522878 + { (eval echo "$as_me:11701: \"$ac_try\"") >&5 20077 22879 (eval $ac_try) 2>&5 20078 22880 ac_status=$? 20079 22881 - echo "$as_me:11019: \$? = $ac_status" >&5 20080 + echo "$as_me:11 815: \$? = $ac_status" >&522882 + echo "$as_me:11704: \$? = $ac_status" >&5 20081 22883 (exit $ac_status); }; }; then 20082 22884 ac_cv_func_pthread_kill=yes 20083 22885 else 20084 @@ -11026,11 +11 822,11 @@22886 @@ -11026,11 +11711,11 @@ 20085 22887 fi 20086 22888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20087 22889 fi 20088 22890 -echo "$as_me:11029: result: $ac_cv_func_pthread_kill" >&5 20089 +echo "$as_me:11 825: result: $ac_cv_func_pthread_kill" >&522891 +echo "$as_me:11714: result: $ac_cv_func_pthread_kill" >&5 20090 22892 echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6 20091 22893 if test $ac_cv_func_pthread_kill = yes; then 20092 22894 20093 22895 - echo "$as_me:11033: checking if you want to allow EINTR in wgetch with pthreads" >&5 20094 + echo "$as_me:11 829: checking if you want to allow EINTR in wgetch with pthreads" >&522896 + echo "$as_me:11718: checking if you want to allow EINTR in wgetch with pthreads" >&5 20095 22897 echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6 20096 22898 20097 22899 # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given. 20098 @@ -11040,7 +11 836,7 @@22900 @@ -11040,7 +11725,7 @@ 20099 22901 else 20100 22902 use_pthreads_eintr=no 20101 22903 fi; 20102 22904 - echo "$as_me:11043: result: $use_pthreads_eintr" >&5 20103 + echo "$as_me:11 839: result: $use_pthreads_eintr" >&522905 + echo "$as_me:11728: result: $use_pthreads_eintr" >&5 20104 22906 echo "${ECHO_T}$use_pthreads_eintr" >&6 20105 22907 if test $use_pthreads_eintr = yes ; then 20106 22908 cat >>confdefs.h <<\EOF 20107 @@ -11050,7 +11 846,7 @@22909 @@ -11050,7 +11735,7 @@ 20108 22910 fi 20109 22911 fi 20110 22912 20111 22913 - echo "$as_me:11053: checking if you want to use weak-symbols for pthreads" >&5 20112 + echo "$as_me:11 849: checking if you want to use weak-symbols for pthreads" >&522914 + echo "$as_me:11738: checking if you want to use weak-symbols for pthreads" >&5 20113 22915 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 20114 22916 20115 22917 # Check whether --enable-weak-symbols or --disable-weak-symbols was given. 20116 @@ -11060,18 +11 856,18 @@22918 @@ -11060,18 +11745,18 @@ 20117 22919 else 20118 22920 use_weak_symbols=no 20119 22921 fi; 20120 22922 - echo "$as_me:11063: result: $use_weak_symbols" >&5 20121 + echo "$as_me:11 859: result: $use_weak_symbols" >&522923 + echo "$as_me:11748: result: $use_weak_symbols" >&5 20122 22924 echo "${ECHO_T}$use_weak_symbols" >&6 20123 22925 if test "$use_weak_symbols" = yes ; then 20124 22926 20125 22927 -echo "$as_me:11067: checking if $CC supports weak symbols" >&5 20126 +echo "$as_me:11 863: checking if $CC supports weak symbols" >&522928 +echo "$as_me:11752: checking if $CC supports weak symbols" >&5 20127 22929 echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 20128 22930 if test "${cf_cv_weak_symbols+set}" = set; then … … 20132 22934 cat >conftest.$ac_ext <<_ACEOF 20133 22935 -#line 11074 "configure" 20134 +#line 11 870"configure"22936 +#line 11759 "configure" 20135 22937 #include "confdefs.h" 20136 22938 20137 22939 #include <stdio.h> 20138 @@ -11097,16 +11 893,16 @@22940 @@ -11097,16 +11782,16 @@ 20139 22941 } 20140 22942 _ACEOF 20141 22943 rm -f conftest.$ac_objext 20142 22944 -if { (eval echo "$as_me:11100: \"$ac_compile\"") >&5 20143 +if { (eval echo "$as_me:11 896: \"$ac_compile\"") >&522945 +if { (eval echo "$as_me:11785: \"$ac_compile\"") >&5 20144 22946 (eval $ac_compile) 2>&5 20145 22947 ac_status=$? 20146 22948 - echo "$as_me:11103: \$? = $ac_status" >&5 20147 + echo "$as_me:11 899: \$? = $ac_status" >&522949 + echo "$as_me:11788: \$? = $ac_status" >&5 20148 22950 (exit $ac_status); } && 20149 22951 { ac_try='test -s conftest.$ac_objext' 20150 22952 - { (eval echo "$as_me:11106: \"$ac_try\"") >&5 20151 + { (eval echo "$as_me:11 902: \"$ac_try\"") >&522953 + { (eval echo "$as_me:11791: \"$ac_try\"") >&5 20152 22954 (eval $ac_try) 2>&5 20153 22955 ac_status=$? 20154 22956 - echo "$as_me:11109: \$? = $ac_status" >&5 20155 + echo "$as_me:11 905: \$? = $ac_status" >&522957 + echo "$as_me:11794: \$? = $ac_status" >&5 20156 22958 (exit $ac_status); }; }; then 20157 22959 cf_cv_weak_symbols=yes 20158 22960 else 20159 @@ -11117,7 +11 913,7 @@22961 @@ -11117,7 +11802,7 @@ 20160 22962 rm -f conftest.$ac_objext conftest.$ac_ext 20161 22963 20162 22964 fi 20163 22965 -echo "$as_me:11120: result: $cf_cv_weak_symbols" >&5 20164 +echo "$as_me:11 916: result: $cf_cv_weak_symbols" >&522966 +echo "$as_me:11805: result: $cf_cv_weak_symbols" >&5 20165 22967 echo "${ECHO_T}$cf_cv_weak_symbols" >&6 20166 22968 20167 22969 else 20168 @@ -11148,7 +11 944,7 @@22970 @@ -11148,7 +11833,7 @@ 20169 22971 # opaque outside of that, so there is no --enable-opaque option. We can use 20170 22972 # this option without --with-pthreads, but this will be always set for 20171 22973 # pthreads. 20172 22974 -echo "$as_me:11151: checking if you want experimental reentrant code" >&5 20173 +echo "$as_me:11 947: checking if you want experimental reentrant code" >&522975 +echo "$as_me:11836: checking if you want experimental reentrant code" >&5 20174 22976 echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 20175 22977 20176 22978 # Check whether --enable-reentrant or --disable-reentrant was given. 20177 @@ -11158,7 +11 954,7 @@22979 @@ -11158,7 +11843,7 @@ 20178 22980 else 20179 22981 with_reentrant=no 20180 22982 fi; 20181 22983 -echo "$as_me:11161: result: $with_reentrant" >&5 20182 +echo "$as_me:11 957: result: $with_reentrant" >&522984 +echo "$as_me:11846: result: $with_reentrant" >&5 20183 22985 echo "${ECHO_T}$with_reentrant" >&6 20184 22986 if test "$with_reentrant" = yes ; then 20185 22987 cf_cv_enable_reentrant=1 20186 @@ -11184,7 +11 980,7 @@22988 @@ -11184,7 +11869,7 @@ 20187 22989 5.*) 20188 22990 cf_cv_rel_version=6.0 20189 22991 cf_cv_abi_version=6 20190 22992 - { echo "$as_me:11187: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 20191 + { echo "$as_me:11 983: WARNING: Overriding ABI version to $cf_cv_abi_version" >&522993 + { echo "$as_me:11872: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 20192 22994 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;} 20193 22995 ;; 20194 22996 esac 20195 @@ -11199,7 +11 995,7 @@22997 @@ -11199,7 +11884,7 @@ 20196 22998 20197 22999 ### Allow using a different wrap-prefix 20198 23000 if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then 20199 23001 - echo "$as_me:11202: checking for prefix used to wrap public variables" >&5 20200 + echo "$as_me:11 998: checking for prefix used to wrap public variables" >&523002 + echo "$as_me:11887: checking for prefix used to wrap public variables" >&5 20201 23003 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 20202 23004 20203 23005 # Check whether --with-wrap-prefix or --without-wrap-prefix was given. 20204 @@ -11209,7 +1 2005,7 @@23006 @@ -11209,7 +11894,7 @@ 20205 23007 else 20206 23008 NCURSES_WRAP_PREFIX=_nc_ 20207 23009 fi; 20208 23010 - echo "$as_me:11212: result: $NCURSES_WRAP_PREFIX" >&5 20209 + echo "$as_me:1 2008: result: $NCURSES_WRAP_PREFIX" >&523011 + echo "$as_me:11897: result: $NCURSES_WRAP_PREFIX" >&5 20210 23012 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 20211 23013 else 20212 23014 NCURSES_WRAP_PREFIX=_nc_ 20213 @@ -11219,7 +1 2015,7 @@23015 @@ -11219,7 +11904,7 @@ 20214 23016 #define NCURSES_WRAP_PREFIX "$NCURSES_WRAP_PREFIX" 20215 23017 EOF 20216 23018 20217 23019 -echo "$as_me:11222: checking if you want experimental safe-sprintf code" >&5 20218 +echo "$as_me:1 2018: checking if you want experimental safe-sprintf code" >&523020 +echo "$as_me:11907: checking if you want experimental safe-sprintf code" >&5 20219 23021 echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6 20220 23022 20221 23023 # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given. 20222 @@ -11229,7 +1 2025,7 @@23024 @@ -11229,7 +11914,7 @@ 20223 23025 else 20224 23026 with_safe_sprintf=no 20225 23027 fi; 20226 23028 -echo "$as_me:11232: result: $with_safe_sprintf" >&5 20227 +echo "$as_me:1 2028: result: $with_safe_sprintf" >&523029 +echo "$as_me:11917: result: $with_safe_sprintf" >&5 20228 23030 echo "${ECHO_T}$with_safe_sprintf" >&6 20229 23031 test "$with_safe_sprintf" = yes && cat >>confdefs.h <<\EOF 20230 23032 #define USE_SAFE_SPRINTF 1 20231 @@ -11238,7 +1 2034,7 @@23033 @@ -11238,7 +11923,7 @@ 20232 23034 ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic 20233 23035 # when hashmap is used scroll hints are useless 20234 23036 if test "$with_hashmap" = no ; then 20235 23037 -echo "$as_me:11241: checking if you want to experiment without scrolling-hints code" >&5 20236 +echo "$as_me:1 2037: checking if you want to experiment without scrolling-hints code" >&523038 +echo "$as_me:11926: checking if you want to experiment without scrolling-hints code" >&5 20237 23039 echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6 20238 23040 20239 23041 # Check whether --enable-scroll-hints or --disable-scroll-hints was given. 20240 @@ -11248,7 +1 2044,7 @@23042 @@ -11248,7 +11933,7 @@ 20241 23043 else 20242 23044 with_scroll_hints=yes 20243 23045 fi; 20244 23046 -echo "$as_me:11251: result: $with_scroll_hints" >&5 20245 +echo "$as_me:1 2047: result: $with_scroll_hints" >&523047 +echo "$as_me:11936: result: $with_scroll_hints" >&5 20246 23048 echo "${ECHO_T}$with_scroll_hints" >&6 20247 23049 test "$with_scroll_hints" = yes && cat >>confdefs.h <<\EOF 20248 23050 #define USE_SCROLL_HINTS 1 20249 @@ -11256,7 +1 2052,7 @@23051 @@ -11256,7 +11941,7 @@ 20250 23052 20251 23053 fi 20252 23054 20253 23055 -echo "$as_me:11259: checking if you want experimental wgetch-events code" >&5 20254 +echo "$as_me:1 2055: checking if you want experimental wgetch-events code" >&523056 +echo "$as_me:11944: checking if you want experimental wgetch-events code" >&5 20255 23057 echo $ECHO_N "checking if you want experimental wgetch-events code... $ECHO_C" >&6 20256 23058 20257 23059 # Check whether --enable-wgetch-events or --disable-wgetch-events was given. 20258 @@ -11266,7 +1 2062,7 @@23060 @@ -11266,7 +11951,7 @@ 20259 23061 else 20260 23062 with_wgetch_events=no 20261 23063 fi; 20262 23064 -echo "$as_me:11269: result: $with_wgetch_events" >&5 20263 +echo "$as_me:1 2065: result: $with_wgetch_events" >&523065 +echo "$as_me:11954: result: $with_wgetch_events" >&5 20264 23066 echo "${ECHO_T}$with_wgetch_events" >&6 20265 23067 test "$with_wgetch_events" = yes && cat >>confdefs.h <<\EOF 20266 23068 #define NCURSES_WGETCH_EVENTS 1 20267 @@ -11275, 7 +12071,7@@23069 @@ -11275,28 +11960,54 @@ 20268 23070 ############################################################################### 20269 23071 20270 23072 ### use option --disable-echo to suppress full display compiling commands 20271 23073 -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 20274 23078 20275 23079 # 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 $@ ... ;' 20277 23120 test -n "$LIBTOOL" && LIBTOOL="$LIBTOOL --silent" 20278 23121 test -n "$LIBTOOL_CXX" && LIBTOOL_CXX="$LIBTOOL_CXX --silent" 20279 23122 fi 20280 23123 -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 20283 23125 20284 23126 ### use option --enable-warnings to turn on all gcc warnings 20285 23127 -echo "$as_me:11299: checking if you want to see compiler warnings" >&5 20286 +echo "$as_me:120 95: checking if you want to see compiler warnings" >&523128 +echo "$as_me:12010: checking if you want to see compiler warnings" >&5 20287 23129 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6 20288 23130 20289 23131 # Check whether --enable-warnings or --disable-warnings was given. 20290 @@ -11304,7 +12 100,7 @@23132 @@ -11304,7 +12015,7 @@ 20291 23133 enableval="$enable_warnings" 20292 23134 with_warnings=$enableval 20293 23135 fi; 20294 23136 -echo "$as_me:11307: result: $with_warnings" >&5 20295 +echo "$as_me:12 103: result: $with_warnings" >&523137 +echo "$as_me:12018: result: $with_warnings" >&5 20296 23138 echo "${ECHO_T}$with_warnings" >&6 20297 23139 20298 23140 if test "x$with_warnings" = "xyes"; then 20299 @@ -11316,12 +12 112,12 @@23141 @@ -11316,12 +12027,12 @@ 20300 23142 if test "$GCC" = yes ; then 20301 23143 case $host_os in 20302 23144 linux*|gnu*) 20303 23145 - echo "$as_me:11319: checking if this is really Intel C compiler" >&5 20304 + echo "$as_me:12 115: checking if this is really Intel C compiler" >&523146 + echo "$as_me:12030: checking if this is really Intel C compiler" >&5 20305 23147 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 20306 23148 cf_save_CFLAGS="$CFLAGS" … … 20308 23150 cat >conftest.$ac_ext <<_ACEOF 20309 23151 -#line 11324 "configure" 20310 +#line 12 120"configure"23152 +#line 12035 "configure" 20311 23153 #include "confdefs.h" 20312 23154 20313 23155 int 20314 @@ -11338,16 +12 134,16 @@23156 @@ -11338,16 +12049,16 @@ 20315 23157 } 20316 23158 _ACEOF 20317 23159 rm -f conftest.$ac_objext 20318 23160 -if { (eval echo "$as_me:11341: \"$ac_compile\"") >&5 20319 +if { (eval echo "$as_me:12 137: \"$ac_compile\"") >&523161 +if { (eval echo "$as_me:12052: \"$ac_compile\"") >&5 20320 23162 (eval $ac_compile) 2>&5 20321 23163 ac_status=$? 20322 23164 - echo "$as_me:11344: \$? = $ac_status" >&5 20323 + echo "$as_me:12 140: \$? = $ac_status" >&523165 + echo "$as_me:12055: \$? = $ac_status" >&5 20324 23166 (exit $ac_status); } && 20325 23167 { ac_try='test -s conftest.$ac_objext' 20326 23168 - { (eval echo "$as_me:11347: \"$ac_try\"") >&5 20327 + { (eval echo "$as_me:12 143: \"$ac_try\"") >&523169 + { (eval echo "$as_me:12058: \"$ac_try\"") >&5 20328 23170 (eval $ac_try) 2>&5 20329 23171 ac_status=$? 20330 23172 - echo "$as_me:11350: \$? = $ac_status" >&5 20331 + echo "$as_me:12 146: \$? = $ac_status" >&523173 + echo "$as_me:12061: \$? = $ac_status" >&5 20332 23174 (exit $ac_status); }; }; then 20333 23175 INTEL_COMPILER=yes 20334 23176 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 20336 23179 fi 20337 23180 rm -f conftest.$ac_objext conftest.$ac_ext 20338 23181 - CFLAGS="$cf_save_CFLAGS" 20339 23182 - 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 20344 23240 fi 20345 23241 20346 23242 cat > conftest.$ac_ext <<EOF 20347 23243 -#line 11368 "${as_me:-configure}" 20348 +#line 121 64"${as_me:-configure}"23244 +#line 12128 "${as_me:-configure}" 20349 23245 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } 20350 23246 EOF 20351 23247 20352 @@ -11382,7 +121 78,7 @@23248 @@ -11382,7 +12142,7 @@ 20353 23249 # remark #981: operands are evaluated in unspecified order 20354 23250 # warning #279: controlling expression is constant 20355 23251 20356 23252 - { echo "$as_me:11385: checking for $CC warning options..." >&5 20357 + { echo "$as_me:121 81: checking for $CC warning options..." >&523253 + { echo "$as_me:12145: checking for $CC warning options..." >&5 20358 23254 echo "$as_me: checking for $CC warning options..." >&6;} 20359 23255 cf_save_CFLAGS="$CFLAGS" 20360 23256 EXTRA_CFLAGS="-Wall" 20361 @@ -11398,12 +121 94,12 @@23257 @@ -11398,12 +12158,12 @@ 20362 23258 wd981 20363 23259 do 20364 23260 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 20365 23261 - if { (eval echo "$as_me:11401: \"$ac_compile\"") >&5 20366 + if { (eval echo "$as_me:121 97: \"$ac_compile\"") >&523262 + if { (eval echo "$as_me:12161: \"$ac_compile\"") >&5 20367 23263 (eval $ac_compile) 2>&5 20368 23264 ac_status=$? 20369 23265 - echo "$as_me:11404: \$? = $ac_status" >&5 20370 + echo "$as_me:12 200: \$? = $ac_status" >&523266 + echo "$as_me:12164: \$? = $ac_status" >&5 20371 23267 (exit $ac_status); }; then 20372 23268 - test -n "$verbose" && echo "$as_me:11406: result: ... -$cf_opt" >&5 20373 + test -n "$verbose" && echo "$as_me:12 202: result: ... -$cf_opt" >&523269 + test -n "$verbose" && echo "$as_me:12166: result: ... -$cf_opt" >&5 20374 23270 echo "${ECHO_T}... -$cf_opt" >&6 20375 23271 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" 20376 23272 fi 20377 @@ -11412,7 +12 208,7 @@23273 @@ -11412,7 +12172,7 @@ 20378 23274 20379 23275 elif test "$GCC" = yes 20380 23276 then 20381 23277 - { echo "$as_me:11415: checking for $CC warning options..." >&5 20382 + { echo "$as_me:12 211: checking for $CC warning options..." >&523278 + { echo "$as_me:12175: checking for $CC warning options..." >&5 20383 23279 echo "$as_me: checking for $CC warning options..." >&6;} 20384 23280 cf_save_CFLAGS="$CFLAGS" 20385 23281 EXTRA_CFLAGS= 20386 @@ -11432,12 +12 228,12 @@23282 @@ -11432,12 +12192,12 @@ 20387 23283 Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum 20388 23284 do 20389 23285 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 20390 23286 - if { (eval echo "$as_me:11435: \"$ac_compile\"") >&5 20391 + if { (eval echo "$as_me:12 231: \"$ac_compile\"") >&523287 + if { (eval echo "$as_me:12195: \"$ac_compile\"") >&5 20392 23288 (eval $ac_compile) 2>&5 20393 23289 ac_status=$? 20394 23290 - echo "$as_me:11438: \$? = $ac_status" >&5 20395 + echo "$as_me:12 234: \$? = $ac_status" >&523291 + echo "$as_me:12198: \$? = $ac_status" >&5 20396 23292 (exit $ac_status); }; then 20397 23293 - test -n "$verbose" && echo "$as_me:11440: result: ... -$cf_opt" >&5 20398 + test -n "$verbose" && echo "$as_me:122 36: result: ... -$cf_opt" >&523294 + test -n "$verbose" && echo "$as_me:12200: result: ... -$cf_opt" >&5 20399 23295 echo "${ECHO_T}... -$cf_opt" >&6 20400 23296 case $cf_opt in #(vi 20401 23297 Wcast-qual) #(vi 20402 @@ -11448,7 +122 44,7 @@23298 @@ -11448,7 +12208,17 @@ 20403 23299 [34].*) 20404 23300 test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 20405 23301 20406 23302 -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 20408 23314 20409 23315 continue;; 20410 23316 esac 20411 @@ -11468,12 +122 64,12 @@23317 @@ -11468,12 +12238,12 @@ 20412 23318 if test "$GCC" = yes ; then 20413 23319 case $host_os in 20414 23320 linux*|gnu*) 20415 23321 - echo "$as_me:11471: checking if this is really Intel C++ compiler" >&5 20416 + echo "$as_me:122 67: checking if this is really Intel C++ compiler" >&523322 + echo "$as_me:12241: checking if this is really Intel C++ compiler" >&5 20417 23323 echo $ECHO_N "checking if this is really Intel C++ compiler... $ECHO_C" >&6 20418 23324 cf_save_CFLAGS="$CXXFLAGS" … … 20420 23326 cat >conftest.$ac_ext <<_ACEOF 20421 23327 -#line 11476 "configure" 20422 +#line 122 72"configure"23328 +#line 12246 "configure" 20423 23329 #include "confdefs.h" 20424 23330 20425 23331 int 20426 @@ -11490,16 +122 86,16 @@23332 @@ -11490,16 +12260,16 @@ 20427 23333 } 20428 23334 _ACEOF 20429 23335 rm -f conftest.$ac_objext 20430 23336 -if { (eval echo "$as_me:11493: \"$ac_compile\"") >&5 20431 +if { (eval echo "$as_me:122 89: \"$ac_compile\"") >&523337 +if { (eval echo "$as_me:12263: \"$ac_compile\"") >&5 20432 23338 (eval $ac_compile) 2>&5 20433 23339 ac_status=$? 20434 23340 - echo "$as_me:11496: \$? = $ac_status" >&5 20435 + echo "$as_me:122 92: \$? = $ac_status" >&523341 + echo "$as_me:12266: \$? = $ac_status" >&5 20436 23342 (exit $ac_status); } && 20437 23343 { ac_try='test -s conftest.$ac_objext' 20438 23344 - { (eval echo "$as_me:11499: \"$ac_try\"") >&5 20439 + { (eval echo "$as_me:122 95: \"$ac_try\"") >&523345 + { (eval echo "$as_me:12269: \"$ac_try\"") >&5 20440 23346 (eval $ac_try) 2>&5 20441 23347 ac_status=$? 20442 23348 - echo "$as_me:11502: \$? = $ac_status" >&5 20443 + echo "$as_me:122 98: \$? = $ac_status" >&523349 + echo "$as_me:12272: \$? = $ac_status" >&5 20444 23350 (exit $ac_status); }; }; then 20445 23351 INTEL_CPLUSPLUS=yes 20446 23352 cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" 20447 @@ -11510, 7 +12306,7@@23353 @@ -11510,12 +12280,61 @@ 20448 23354 fi 20449 23355 rm -f conftest.$ac_objext conftest.$ac_ext 20450 23356 CXXFLAGS="$cf_save_CFLAGS" 20451 23357 - echo "$as_me:11513: result: $INTEL_CPLUSPLUS" >&5 20452 + echo "$as_me:12 309: result: $INTEL_CPLUSPLUS" >&523358 + echo "$as_me:12283: result: $INTEL_CPLUSPLUS" >&5 20453 23359 echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 20454 23360 ;; 20455 23361 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 @@ 20457 23417 ac_main_return=return 20458 23418 20459 23419 cat > conftest.$ac_ext <<EOF 20460 23420 -#line 11527 "configure" 20461 +#line 123 23"configure"23421 +#line 12346 "configure" 20462 23422 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } 20463 23423 EOF 20464 23424 20465 @@ -11542,7 +123 38,7 @@23425 @@ -11542,7 +12361,7 @@ 20466 23426 # remark #981: operands are evaluated in unspecified order 20467 23427 # warning #269: invalid format string conversion 20468 23428 20469 23429 - { echo "$as_me:11545: checking for $CC warning options..." >&5 20470 + { echo "$as_me:123 41: checking for $CC warning options..." >&523430 + { echo "$as_me:12364: checking for $CC warning options..." >&5 20471 23431 echo "$as_me: checking for $CC warning options..." >&6;} 20472 23432 cf_save_CXXFLAGS="$CXXFLAGS" 20473 23433 EXTRA_CXXFLAGS="-Wall" 20474 @@ -11559,12 +123 55,12 @@23434 @@ -11559,12 +12378,12 @@ 20475 23435 wd981 20476 23436 do 20477 23437 CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" 20478 23438 - if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5 20479 + if { (eval echo "$as_me:123 58: \"$ac_compile\"") >&523439 + if { (eval echo "$as_me:12381: \"$ac_compile\"") >&5 20480 23440 (eval $ac_compile) 2>&5 20481 23441 ac_status=$? 20482 23442 - echo "$as_me:11565: \$? = $ac_status" >&5 20483 + echo "$as_me:123 61: \$? = $ac_status" >&523443 + echo "$as_me:12384: \$? = $ac_status" >&5 20484 23444 (exit $ac_status); }; then 20485 23445 - test -n "$verbose" && echo "$as_me:11567: result: ... -$cf_opt" >&5 20486 + test -n "$verbose" && echo "$as_me:123 63: result: ... -$cf_opt" >&523446 + test -n "$verbose" && echo "$as_me:12386: result: ... -$cf_opt" >&5 20487 23447 echo "${ECHO_T}... -$cf_opt" >&6 20488 23448 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" 20489 23449 fi 20490 @@ -11573,7 +123 69,7 @@23450 @@ -11573,7 +12392,7 @@ 20491 23451 20492 23452 elif test "$GXX" = yes 20493 23453 then 20494 23454 - { echo "$as_me:11576: checking for $CXX warning options..." >&5 20495 + { echo "$as_me:123 72: checking for $CXX warning options..." >&523455 + { echo "$as_me:12395: checking for $CXX warning options..." >&5 20496 23456 echo "$as_me: checking for $CXX warning options..." >&6;} 20497 23457 cf_save_CXXFLAGS="$CXXFLAGS" 20498 23458 EXTRA_CXXFLAGS="-W -Wall" 20499 @@ -11602,16 +12 398,16 @@23459 @@ -11602,16 +12421,16 @@ 20500 23460 Wundef $cf_gxx_extra_warnings Wno-unused 20501 23461 do 20502 23462 CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" 20503 23463 - if { (eval echo "$as_me:11605: \"$ac_compile\"") >&5 20504 + if { (eval echo "$as_me:124 01: \"$ac_compile\"") >&523464 + if { (eval echo "$as_me:12424: \"$ac_compile\"") >&5 20505 23465 (eval $ac_compile) 2>&5 20506 23466 ac_status=$? 20507 23467 - echo "$as_me:11608: \$? = $ac_status" >&5 20508 + echo "$as_me:124 04: \$? = $ac_status" >&523468 + echo "$as_me:12427: \$? = $ac_status" >&5 20509 23469 (exit $ac_status); }; then 20510 23470 - test -n "$verbose" && echo "$as_me:11610: result: ... -$cf_opt" >&5 20511 + test -n "$verbose" && echo "$as_me:124 06: result: ... -$cf_opt" >&523471 + test -n "$verbose" && echo "$as_me:12429: result: ... -$cf_opt" >&5 20512 23472 echo "${ECHO_T}... -$cf_opt" >&6 20513 23473 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" 20514 23474 else 20515 23475 - test -n "$verbose" && echo "$as_me:11614: result: ... no -$cf_opt" >&5 20516 + test -n "$verbose" && echo "$as_me:124 10: result: ... no -$cf_opt" >&523476 + test -n "$verbose" && echo "$as_me:12433: result: ... no -$cf_opt" >&5 20517 23477 echo "${ECHO_T}... no -$cf_opt" >&6 20518 23478 fi 20519 23479 done 20520 @@ -11647,10 +124 43,10 @@23480 @@ -11647,10 +12466,10 @@ 20521 23481 EOF 20522 23482 if test "$GCC" = yes 20523 23483 then 20524 23484 - { echo "$as_me:11650: checking for $CC __attribute__ directives..." >&5 20525 + { echo "$as_me:124 46: checking for $CC __attribute__ directives..." >&523485 + { echo "$as_me:12469: checking for $CC __attribute__ directives..." >&5 20526 23486 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} 20527 23487 cat > conftest.$ac_ext <<EOF 20528 23488 -#line 11653 "${as_me:-configure}" 20529 +#line 124 49"${as_me:-configure}"23489 +#line 12472 "${as_me:-configure}" 20530 23490 #include "confdefs.h" 20531 23491 #include "conftest.h" 20532 23492 #include "conftest.i" 20533 @@ -11699,12 +12 495,12 @@23493 @@ -11699,12 +12518,12 @@ 20534 23494 ;; 20535 23495 esac 20536 23496 20537 23497 - if { (eval echo "$as_me:11702: \"$ac_compile\"") >&5 20538 + if { (eval echo "$as_me:12 498: \"$ac_compile\"") >&523498 + if { (eval echo "$as_me:12521: \"$ac_compile\"") >&5 20539 23499 (eval $ac_compile) 2>&5 20540 23500 ac_status=$? 20541 23501 - echo "$as_me:11705: \$? = $ac_status" >&5 20542 + echo "$as_me:125 01: \$? = $ac_status" >&523502 + echo "$as_me:12524: \$? = $ac_status" >&5 20543 23503 (exit $ac_status); }; then 20544 23504 - test -n "$verbose" && echo "$as_me:11707: result: ... $cf_attribute" >&5 20545 + test -n "$verbose" && echo "$as_me:125 03: result: ... $cf_attribute" >&523505 + test -n "$verbose" && echo "$as_me:12526: result: ... $cf_attribute" >&5 20546 23506 echo "${ECHO_T}... $cf_attribute" >&6 20547 23507 cat conftest.h >>confdefs.h 20548 23508 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 + 20552 23605 ### use option --enable-assertions to turn on generation of assertion code 20553 23606 -echo "$as_me:11743: checking if you want to enable runtime assertions" >&5 20554 +echo "$as_me:12 539: checking if you want to enable runtime assertions" >&523607 +echo "$as_me:12654: checking if you want to enable runtime assertions" >&5 20555 23608 echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 20556 23609 20557 23610 # Check whether --enable-assertions or --disable-assertions was given. 20558 @@ -11750, 7 +12546,7@@23611 @@ -11750,16 +12661,12 @@ 20559 23612 else 20560 23613 with_assertions=no 20561 23614 fi; 20562 23615 -echo "$as_me:11753: result: $with_assertions" >&5 20563 +echo "$as_me:12 549: result: $with_assertions" >&523616 +echo "$as_me:12664: result: $with_assertions" >&5 20564 23617 echo "${ECHO_T}$with_assertions" >&6 20565 23618 if test -n "$GCC" 20566 23619 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 @@ 20568 23630 20569 23631 ### use option --disable-leaks to suppress "permanent" leaks, for testing 20570 23632 20571 23633 -echo "$as_me:11773: checking if you want to use dmalloc for testing" >&5 20572 +echo "$as_me:12 569: checking if you want to use dmalloc for testing" >&523634 +echo "$as_me:12680: checking if you want to use dmalloc for testing" >&5 20573 23635 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 20574 23636 20575 23637 # Check whether --with-dmalloc or --without-dmalloc was given. 20576 @@ -11786,7 +12 582,7 @@23638 @@ -11786,7 +12693,7 @@ 20577 23639 else 20578 23640 with_dmalloc= 20579 23641 fi; 20580 23642 -echo "$as_me:11789: result: ${with_dmalloc:-no}" >&5 20581 +echo "$as_me:12 585: result: ${with_dmalloc:-no}" >&523643 +echo "$as_me:12696: result: ${with_dmalloc:-no}" >&5 20582 23644 echo "${ECHO_T}${with_dmalloc:-no}" >&6 20583 23645 20584 23646 case .$with_cflags in #(vi 20585 @@ -11880,23 +12 676,23 @@23647 @@ -11880,23 +12787,23 @@ 20586 23648 esac 20587 23649 20588 23650 if test "$with_dmalloc" = yes ; then 20589 23651 - echo "$as_me:11883: checking for dmalloc.h" >&5 20590 + echo "$as_me:12 679: checking for dmalloc.h" >&523652 + echo "$as_me:12790: checking for dmalloc.h" >&5 20591 23653 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 20592 23654 if test "${ac_cv_header_dmalloc_h+set}" = set; then … … 20595 23657 cat >conftest.$ac_ext <<_ACEOF 20596 23658 -#line 11889 "configure" 20597 +#line 12 685"configure"23659 +#line 12796 "configure" 20598 23660 #include "confdefs.h" 20599 23661 #include <dmalloc.h> 20600 23662 _ACEOF 20601 23663 -if { (eval echo "$as_me:11893: \"$ac_cpp conftest.$ac_ext\"") >&5 20602 +if { (eval echo "$as_me:12 689: \"$ac_cpp conftest.$ac_ext\"") >&523664 +if { (eval echo "$as_me:12800: \"$ac_cpp conftest.$ac_ext\"") >&5 20603 23665 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20604 23666 ac_status=$? … … 20607 23669 cat conftest.err >&5 20608 23670 - echo "$as_me:11899: \$? = $ac_status" >&5 20609 + echo "$as_me:12 695: \$? = $ac_status" >&523671 + echo "$as_me:12806: \$? = $ac_status" >&5 20610 23672 (exit $ac_status); } >/dev/null; then 20611 23673 if test -s conftest.err; then 20612 23674 ac_cpp_err=$ac_c_preproc_warn_flag 20613 @@ -11915,11 +12 711,11 @@23675 @@ -11915,11 +12822,11 @@ 20614 23676 fi 20615 23677 rm -f conftest.err conftest.$ac_ext 20616 23678 fi 20617 23679 -echo "$as_me:11918: result: $ac_cv_header_dmalloc_h" >&5 20618 +echo "$as_me:12 714: result: $ac_cv_header_dmalloc_h" >&523680 +echo "$as_me:12825: result: $ac_cv_header_dmalloc_h" >&5 20619 23681 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 20620 23682 if test $ac_cv_header_dmalloc_h = yes; then 20621 23683 20622 23684 -echo "$as_me:11922: checking for dmalloc_debug in -ldmalloc" >&5 20623 +echo "$as_me:12 718: checking for dmalloc_debug in -ldmalloc" >&523685 +echo "$as_me:12829: checking for dmalloc_debug in -ldmalloc" >&5 20624 23686 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 20625 23687 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then 20626 23688 echo $ECHO_N "(cached) $ECHO_C" >&6 20627 @@ -11927,7 +12 723,7 @@23689 @@ -11927,7 +12834,7 @@ 20628 23690 ac_check_lib_save_LIBS=$LIBS 20629 23691 LIBS="-ldmalloc $LIBS" 20630 23692 cat >conftest.$ac_ext <<_ACEOF 20631 23693 -#line 11930 "configure" 20632 +#line 12 726"configure"23694 +#line 12837 "configure" 20633 23695 #include "confdefs.h" 20634 23696 20635 23697 /* Override any gcc2 internal prototype to avoid an error. */ 20636 @@ -11946,16 +12 742,16 @@23698 @@ -11946,16 +12853,16 @@ 20637 23699 } 20638 23700 _ACEOF 20639 23701 rm -f conftest.$ac_objext conftest$ac_exeext 20640 23702 -if { (eval echo "$as_me:11949: \"$ac_link\"") >&5 20641 +if { (eval echo "$as_me:12 745: \"$ac_link\"") >&523703 +if { (eval echo "$as_me:12856: \"$ac_link\"") >&5 20642 23704 (eval $ac_link) 2>&5 20643 23705 ac_status=$? 20644 23706 - echo "$as_me:11952: \$? = $ac_status" >&5 20645 + echo "$as_me:12 748: \$? = $ac_status" >&523707 + echo "$as_me:12859: \$? = $ac_status" >&5 20646 23708 (exit $ac_status); } && 20647 23709 { ac_try='test -s conftest$ac_exeext' 20648 23710 - { (eval echo "$as_me:11955: \"$ac_try\"") >&5 20649 + { (eval echo "$as_me:12 751: \"$ac_try\"") >&523711 + { (eval echo "$as_me:12862: \"$ac_try\"") >&5 20650 23712 (eval $ac_try) 2>&5 20651 23713 ac_status=$? 20652 23714 - echo "$as_me:11958: \$? = $ac_status" >&5 20653 + echo "$as_me:12 754: \$? = $ac_status" >&523715 + echo "$as_me:12865: \$? = $ac_status" >&5 20654 23716 (exit $ac_status); }; }; then 20655 23717 ac_cv_lib_dmalloc_dmalloc_debug=yes 20656 23718 else 20657 @@ -11966,7 +12 762,7 @@23719 @@ -11966,7 +12873,7 @@ 20658 23720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20659 23721 LIBS=$ac_check_lib_save_LIBS 20660 23722 fi 20661 23723 -echo "$as_me:11969: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 20662 +echo "$as_me:12 765: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&523724 +echo "$as_me:12876: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 20663 23725 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 20664 23726 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then 20665 23727 cat >>confdefs.h <<EOF 20666 @@ -11981,7 +12 777,7 @@23728 @@ -11981,7 +12888,7 @@ 20667 23729 20668 23730 fi 20669 23731 20670 23732 -echo "$as_me:11984: checking if you want to use dbmalloc for testing" >&5 20671 +echo "$as_me:12 780: checking if you want to use dbmalloc for testing" >&523733 +echo "$as_me:12891: checking if you want to use dbmalloc for testing" >&5 20672 23734 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 20673 23735 20674 23736 # Check whether --with-dbmalloc or --without-dbmalloc was given. 20675 @@ -11997,7 +12 793,7 @@23737 @@ -11997,7 +12904,7 @@ 20676 23738 else 20677 23739 with_dbmalloc= 20678 23740 fi; 20679 23741 -echo "$as_me:12000: result: ${with_dbmalloc:-no}" >&5 20680 +echo "$as_me:12 796: result: ${with_dbmalloc:-no}" >&523742 +echo "$as_me:12907: result: ${with_dbmalloc:-no}" >&5 20681 23743 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 20682 23744 20683 23745 case .$with_cflags in #(vi 20684 @@ -12091,23 +12 887,23 @@23746 @@ -12091,23 +12998,23 @@ 20685 23747 esac 20686 23748 20687 23749 if test "$with_dbmalloc" = yes ; then 20688 23750 - echo "$as_me:12094: checking for dbmalloc.h" >&5 20689 + echo "$as_me:1 2890: checking for dbmalloc.h" >&523751 + echo "$as_me:13001: checking for dbmalloc.h" >&5 20690 23752 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 20691 23753 if test "${ac_cv_header_dbmalloc_h+set}" = set; then … … 20694 23756 cat >conftest.$ac_ext <<_ACEOF 20695 23757 -#line 12100 "configure" 20696 +#line 1 2896"configure"23758 +#line 13007 "configure" 20697 23759 #include "confdefs.h" 20698 23760 #include <dbmalloc.h> 20699 23761 _ACEOF 20700 23762 -if { (eval echo "$as_me:12104: \"$ac_cpp conftest.$ac_ext\"") >&5 20701 +if { (eval echo "$as_me:1 2900: \"$ac_cpp conftest.$ac_ext\"") >&523763 +if { (eval echo "$as_me:13011: \"$ac_cpp conftest.$ac_ext\"") >&5 20702 23764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20703 23765 ac_status=$? … … 20706 23768 cat conftest.err >&5 20707 23769 - echo "$as_me:12110: \$? = $ac_status" >&5 20708 + echo "$as_me:1 2906: \$? = $ac_status" >&523770 + echo "$as_me:13017: \$? = $ac_status" >&5 20709 23771 (exit $ac_status); } >/dev/null; then 20710 23772 if test -s conftest.err; then 20711 23773 ac_cpp_err=$ac_c_preproc_warn_flag 20712 @@ -12126,11 +1 2922,11 @@23774 @@ -12126,11 +13033,11 @@ 20713 23775 fi 20714 23776 rm -f conftest.err conftest.$ac_ext 20715 23777 fi 20716 23778 -echo "$as_me:12129: result: $ac_cv_header_dbmalloc_h" >&5 20717 +echo "$as_me:1 2925: result: $ac_cv_header_dbmalloc_h" >&523779 +echo "$as_me:13036: result: $ac_cv_header_dbmalloc_h" >&5 20718 23780 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 20719 23781 if test $ac_cv_header_dbmalloc_h = yes; then 20720 23782 20721 23783 -echo "$as_me:12133: checking for debug_malloc in -ldbmalloc" >&5 20722 +echo "$as_me:1 2929: checking for debug_malloc in -ldbmalloc" >&523784 +echo "$as_me:13040: checking for debug_malloc in -ldbmalloc" >&5 20723 23785 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 20724 23786 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then 20725 23787 echo $ECHO_N "(cached) $ECHO_C" >&6 20726 @@ -12138,7 +1 2934,7 @@23788 @@ -12138,7 +13045,7 @@ 20727 23789 ac_check_lib_save_LIBS=$LIBS 20728 23790 LIBS="-ldbmalloc $LIBS" 20729 23791 cat >conftest.$ac_ext <<_ACEOF 20730 23792 -#line 12141 "configure" 20731 +#line 1 2937"configure"23793 +#line 13048 "configure" 20732 23794 #include "confdefs.h" 20733 23795 20734 23796 /* Override any gcc2 internal prototype to avoid an error. */ 20735 @@ -12157,16 +1 2953,16 @@23797 @@ -12157,16 +13064,16 @@ 20736 23798 } 20737 23799 _ACEOF 20738 23800 rm -f conftest.$ac_objext conftest$ac_exeext 20739 23801 -if { (eval echo "$as_me:12160: \"$ac_link\"") >&5 20740 +if { (eval echo "$as_me:1 2956: \"$ac_link\"") >&523802 +if { (eval echo "$as_me:13067: \"$ac_link\"") >&5 20741 23803 (eval $ac_link) 2>&5 20742 23804 ac_status=$? 20743 23805 - echo "$as_me:12163: \$? = $ac_status" >&5 20744 + echo "$as_me:1 2959: \$? = $ac_status" >&523806 + echo "$as_me:13070: \$? = $ac_status" >&5 20745 23807 (exit $ac_status); } && 20746 23808 { ac_try='test -s conftest$ac_exeext' 20747 23809 - { (eval echo "$as_me:12166: \"$ac_try\"") >&5 20748 + { (eval echo "$as_me:1 2962: \"$ac_try\"") >&523810 + { (eval echo "$as_me:13073: \"$ac_try\"") >&5 20749 23811 (eval $ac_try) 2>&5 20750 23812 ac_status=$? 20751 23813 - echo "$as_me:12169: \$? = $ac_status" >&5 20752 + echo "$as_me:1 2965: \$? = $ac_status" >&523814 + echo "$as_me:13076: \$? = $ac_status" >&5 20753 23815 (exit $ac_status); }; }; then 20754 23816 ac_cv_lib_dbmalloc_debug_malloc=yes 20755 23817 else 20756 @@ -12177,7 +1 2973,7 @@23818 @@ -12177,7 +13084,7 @@ 20757 23819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20758 23820 LIBS=$ac_check_lib_save_LIBS 20759 23821 fi 20760 23822 -echo "$as_me:12180: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 20761 +echo "$as_me:1 2976: result: $ac_cv_lib_dbmalloc_debug_malloc" >&523823 +echo "$as_me:13087: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 20762 23824 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 20763 23825 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then 20764 23826 cat >>confdefs.h <<EOF 20765 @@ -12192,7 +1 2988,7 @@23827 @@ -12192,7 +13099,7 @@ 20766 23828 20767 23829 fi 20768 23830 20769 23831 -echo "$as_me:12195: checking if you want to use valgrind for testing" >&5 20770 +echo "$as_me:1 2991: checking if you want to use valgrind for testing" >&523832 +echo "$as_me:13102: checking if you want to use valgrind for testing" >&5 20771 23833 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6 20772 23834 20773 23835 # Check whether --with-valgrind or --without-valgrind was given. 20774 @@ -12208,7 +13 004,7 @@23836 @@ -12208,7 +13115,7 @@ 20775 23837 else 20776 23838 with_valgrind= 20777 23839 fi; 20778 23840 -echo "$as_me:12211: result: ${with_valgrind:-no}" >&5 20779 +echo "$as_me:13 007: result: ${with_valgrind:-no}" >&523841 +echo "$as_me:13118: result: ${with_valgrind:-no}" >&5 20780 23842 echo "${ECHO_T}${with_valgrind:-no}" >&6 20781 23843 20782 23844 case .$with_cflags in #(vi 20783 @@ -12301,7 +13 097,7 @@23845 @@ -12301,7 +13208,7 @@ 20784 23846 ;; 20785 23847 esac 20786 23848 20787 23849 -echo "$as_me:12304: checking if you want to perform memory-leak testing" >&5 20788 +echo "$as_me:13 100: checking if you want to perform memory-leak testing" >&523850 +echo "$as_me:13211: checking if you want to perform memory-leak testing" >&5 20789 23851 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6 20790 23852 20791 23853 # Check whether --enable-leaks or --disable-leaks was given. 20792 @@ -12311,7 +13 107,7 @@23854 @@ -12311,7 +13218,7 @@ 20793 23855 else 20794 23856 : ${with_no_leaks:=no} 20795 23857 fi; 20796 23858 -echo "$as_me:12314: result: $with_no_leaks" >&5 20797 +echo "$as_me:13 110: result: $with_no_leaks" >&523859 +echo "$as_me:13221: result: $with_no_leaks" >&5 20798 23860 echo "${ECHO_T}$with_no_leaks" >&6 20799 23861 20800 23862 if test "$with_no_leaks" = yes ; then 20801 @@ -12360,7 +13 156,7 @@23863 @@ -12360,7 +13267,7 @@ 20802 23864 ;; 20803 23865 esac 20804 23866 20805 23867 -echo "$as_me:12363: checking whether to add trace feature to all models" >&5 20806 +echo "$as_me:13 159: checking whether to add trace feature to all models" >&523868 +echo "$as_me:13270: checking whether to add trace feature to all models" >&5 20807 23869 echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 20808 23870 20809 23871 # Check whether --with-trace or --without-trace was given. 20810 @@ -12370,7 +13 166,7 @@23872 @@ -12370,7 +13277,7 @@ 20811 23873 else 20812 23874 cf_with_trace=$cf_all_traces 20813 23875 fi; 20814 23876 -echo "$as_me:12373: result: $cf_with_trace" >&5 20815 +echo "$as_me:13 169: result: $cf_with_trace" >&523877 +echo "$as_me:13280: result: $cf_with_trace" >&5 20816 23878 echo "${ECHO_T}$cf_with_trace" >&6 20817 23879 20818 23880 if test "$cf_with_trace" = yes ; then 20819 @@ -12465,13 +13 261,13 @@23881 @@ -12465,13 +13372,13 @@ 20820 23882 *mingw32*) #(vi 20821 23883 ;; 20822 23884 *) 20823 23885 -echo "$as_me:12468: checking for gettimeofday" >&5 20824 +echo "$as_me:13 264: checking for gettimeofday" >&523886 +echo "$as_me:13375: checking for gettimeofday" >&5 20825 23887 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 20826 23888 if test "${ac_cv_func_gettimeofday+set}" = set; then … … 20829 23891 cat >conftest.$ac_ext <<_ACEOF 20830 23892 -#line 12474 "configure" 20831 +#line 13 270"configure"23893 +#line 13381 "configure" 20832 23894 #include "confdefs.h" 20833 23895 /* System header to define __stub macros and hopefully few prototypes, 20834 23896 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 @@ 20836 23907 } 20837 23908 _ACEOF 20838 23909 rm -f conftest.$ac_objext conftest$ac_exeext 20839 23910 -if { (eval echo "$as_me:12505: \"$ac_link\"") >&5 20840 +if { (eval echo "$as_me:13 301: \"$ac_link\"") >&523911 +if { (eval echo "$as_me:13412: \"$ac_link\"") >&5 20841 23912 (eval $ac_link) 2>&5 20842 23913 ac_status=$? 20843 23914 - echo "$as_me:12508: \$? = $ac_status" >&5 20844 + echo "$as_me:13 304: \$? = $ac_status" >&523915 + echo "$as_me:13415: \$? = $ac_status" >&5 20845 23916 (exit $ac_status); } && 20846 23917 { ac_try='test -s conftest$ac_exeext' 20847 23918 - { (eval echo "$as_me:12511: \"$ac_try\"") >&5 20848 + { (eval echo "$as_me:13 307: \"$ac_try\"") >&523919 + { (eval echo "$as_me:13418: \"$ac_try\"") >&5 20849 23920 (eval $ac_try) 2>&5 20850 23921 ac_status=$? 20851 23922 - echo "$as_me:12514: \$? = $ac_status" >&5 20852 + echo "$as_me:13 310: \$? = $ac_status" >&523923 + echo "$as_me:13421: \$? = $ac_status" >&5 20853 23924 (exit $ac_status); }; }; then 20854 23925 ac_cv_func_gettimeofday=yes 20855 23926 else 20856 @@ -12521,7 +13 317,7 @@23927 @@ -12521,7 +13428,7 @@ 20857 23928 fi 20858 23929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20859 23930 fi 20860 23931 -echo "$as_me:12524: result: $ac_cv_func_gettimeofday" >&5 20861 +echo "$as_me:13 320: result: $ac_cv_func_gettimeofday" >&523932 +echo "$as_me:13431: result: $ac_cv_func_gettimeofday" >&5 20862 23933 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 20863 23934 if test $ac_cv_func_gettimeofday = yes; then 20864 23935 cat >>confdefs.h <<\EOF 20865 @@ -12530,7 +13 326,7 @@23936 @@ -12530,7 +13437,7 @@ 20866 23937 20867 23938 else 20868 23939 20869 23940 -echo "$as_me:12533: checking for gettimeofday in -lbsd" >&5 20870 +echo "$as_me:13 329: checking for gettimeofday in -lbsd" >&523941 +echo "$as_me:13440: checking for gettimeofday in -lbsd" >&5 20871 23942 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 20872 23943 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 20873 23944 echo $ECHO_N "(cached) $ECHO_C" >&6 20874 @@ -12538,7 +13 334,7 @@23945 @@ -12538,7 +13445,7 @@ 20875 23946 ac_check_lib_save_LIBS=$LIBS 20876 23947 LIBS="-lbsd $LIBS" 20877 23948 cat >conftest.$ac_ext <<_ACEOF 20878 23949 -#line 12541 "configure" 20879 +#line 13 337"configure"23950 +#line 13448 "configure" 20880 23951 #include "confdefs.h" 20881 23952 20882 23953 /* Override any gcc2 internal prototype to avoid an error. */ 20883 @@ -12557,16 +13 353,16 @@23954 @@ -12557,16 +13464,16 @@ 20884 23955 } 20885 23956 _ACEOF 20886 23957 rm -f conftest.$ac_objext conftest$ac_exeext 20887 23958 -if { (eval echo "$as_me:12560: \"$ac_link\"") >&5 20888 +if { (eval echo "$as_me:13 356: \"$ac_link\"") >&523959 +if { (eval echo "$as_me:13467: \"$ac_link\"") >&5 20889 23960 (eval $ac_link) 2>&5 20890 23961 ac_status=$? 20891 23962 - echo "$as_me:12563: \$? = $ac_status" >&5 20892 + echo "$as_me:13 359: \$? = $ac_status" >&523963 + echo "$as_me:13470: \$? = $ac_status" >&5 20893 23964 (exit $ac_status); } && 20894 23965 { ac_try='test -s conftest$ac_exeext' 20895 23966 - { (eval echo "$as_me:12566: \"$ac_try\"") >&5 20896 + { (eval echo "$as_me:13 362: \"$ac_try\"") >&523967 + { (eval echo "$as_me:13473: \"$ac_try\"") >&5 20897 23968 (eval $ac_try) 2>&5 20898 23969 ac_status=$? 20899 23970 - echo "$as_me:12569: \$? = $ac_status" >&5 20900 + echo "$as_me:13 365: \$? = $ac_status" >&523971 + echo "$as_me:13476: \$? = $ac_status" >&5 20901 23972 (exit $ac_status); }; }; then 20902 23973 ac_cv_lib_bsd_gettimeofday=yes 20903 23974 else 20904 @@ -12577,7 +13 373,7 @@23975 @@ -12577,7 +13484,7 @@ 20905 23976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20906 23977 LIBS=$ac_check_lib_save_LIBS 20907 23978 fi 20908 23979 -echo "$as_me:12580: result: $ac_cv_lib_bsd_gettimeofday" >&5 20909 +echo "$as_me:13 376: result: $ac_cv_lib_bsd_gettimeofday" >&523980 +echo "$as_me:13487: result: $ac_cv_lib_bsd_gettimeofday" >&5 20910 23981 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 20911 23982 if test $ac_cv_lib_bsd_gettimeofday = yes; then 20912 23983 cat >>confdefs.h <<\EOF 20913 @@ -12591,14 +13 387,14 @@23984 @@ -12591,14 +13498,14 @@ 20914 23985 ;; 20915 23986 esac 20916 23987 20917 23988 -echo "$as_me:12594: checking if -lm needed for math functions" >&5 20918 +echo "$as_me:13 390: checking if -lm needed for math functions" >&523989 +echo "$as_me:13501: checking if -lm needed for math functions" >&5 20919 23990 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6 20920 23991 if test "${cf_cv_need_libm+set}" = set; then … … 20924 23995 cat >conftest.$ac_ext <<_ACEOF 20925 23996 -#line 12601 "configure" 20926 +#line 13 397"configure"23997 +#line 13508 "configure" 20927 23998 #include "confdefs.h" 20928 23999 20929 24000 #include <stdio.h> 20930 @@ -12613,16 +13 409,16 @@24001 @@ -12613,16 +13520,16 @@ 20931 24002 } 20932 24003 _ACEOF 20933 24004 rm -f conftest.$ac_objext conftest$ac_exeext 20934 24005 -if { (eval echo "$as_me:12616: \"$ac_link\"") >&5 20935 +if { (eval echo "$as_me:13 412: \"$ac_link\"") >&524006 +if { (eval echo "$as_me:13523: \"$ac_link\"") >&5 20936 24007 (eval $ac_link) 2>&5 20937 24008 ac_status=$? 20938 24009 - echo "$as_me:12619: \$? = $ac_status" >&5 20939 + echo "$as_me:13 415: \$? = $ac_status" >&524010 + echo "$as_me:13526: \$? = $ac_status" >&5 20940 24011 (exit $ac_status); } && 20941 24012 { ac_try='test -s conftest$ac_exeext' 20942 24013 - { (eval echo "$as_me:12622: \"$ac_try\"") >&5 20943 + { (eval echo "$as_me:13 418: \"$ac_try\"") >&524014 + { (eval echo "$as_me:13529: \"$ac_try\"") >&5 20944 24015 (eval $ac_try) 2>&5 20945 24016 ac_status=$? 20946 24017 - echo "$as_me:12625: \$? = $ac_status" >&5 20947 + echo "$as_me:13 421: \$? = $ac_status" >&524018 + echo "$as_me:13532: \$? = $ac_status" >&5 20948 24019 (exit $ac_status); }; }; then 20949 24020 cf_cv_need_libm=no 20950 24021 else 20951 @@ -12632,7 +13 428,7 @@24022 @@ -12632,7 +13539,7 @@ 20952 24023 fi 20953 24024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20954 24025 fi 20955 24026 -echo "$as_me:12635: result: $cf_cv_need_libm" >&5 20956 +echo "$as_me:13 431: result: $cf_cv_need_libm" >&524027 +echo "$as_me:13542: result: $cf_cv_need_libm" >&5 20957 24028 echo "${ECHO_T}$cf_cv_need_libm" >&6 20958 24029 if test "$cf_cv_need_libm" = yes 20959 24030 then 20960 @@ -12640,13 +13 436,13 @@24031 @@ -12640,13 +13547,13 @@ 20961 24032 fi 20962 24033 20963 24034 ### Checks for header files. 20964 24035 -echo "$as_me:12643: checking for ANSI C header files" >&5 20965 +echo "$as_me:13 439: checking for ANSI C header files" >&524036 +echo "$as_me:13550: checking for ANSI C header files" >&5 20966 24037 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 20967 24038 if test "${ac_cv_header_stdc+set}" = set; then … … 20970 24041 cat >conftest.$ac_ext <<_ACEOF 20971 24042 -#line 12649 "configure" 20972 +#line 13 445"configure"24043 +#line 13556 "configure" 20973 24044 #include "confdefs.h" 20974 24045 #include <stdlib.h> 20975 24046 #include <stdarg.h> 20976 @@ -12654,13 +13 450,13 @@24047 @@ -12654,13 +13561,13 @@ 20977 24048 #include <float.h> 20978 24049 20979 24050 _ACEOF 20980 24051 -if { (eval echo "$as_me:12657: \"$ac_cpp conftest.$ac_ext\"") >&5 20981 +if { (eval echo "$as_me:13 453: \"$ac_cpp conftest.$ac_ext\"") >&524052 +if { (eval echo "$as_me:13564: \"$ac_cpp conftest.$ac_ext\"") >&5 20982 24053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20983 24054 ac_status=$? … … 20986 24057 cat conftest.err >&5 20987 24058 - echo "$as_me:12663: \$? = $ac_status" >&5 20988 + echo "$as_me:13 459: \$? = $ac_status" >&524059 + echo "$as_me:13570: \$? = $ac_status" >&5 20989 24060 (exit $ac_status); } >/dev/null; then 20990 24061 if test -s conftest.err; then 20991 24062 ac_cpp_err=$ac_c_preproc_warn_flag 20992 @@ -12682,7 +13 478,7 @@24063 @@ -12682,7 +13589,7 @@ 20993 24064 if test $ac_cv_header_stdc = yes; then 20994 24065 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 20995 24066 cat >conftest.$ac_ext <<_ACEOF 20996 24067 -#line 12685 "configure" 20997 +#line 13 481"configure"24068 +#line 13592 "configure" 20998 24069 #include "confdefs.h" 20999 24070 #include <string.h> 21000 24071 21001 @@ -12700,7 +13 496,7 @@24072 @@ -12700,7 +13607,7 @@ 21002 24073 if test $ac_cv_header_stdc = yes; then 21003 24074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 21004 24075 cat >conftest.$ac_ext <<_ACEOF 21005 24076 -#line 12703 "configure" 21006 +#line 13 499"configure"24077 +#line 13610 "configure" 21007 24078 #include "confdefs.h" 21008 24079 #include <stdlib.h> 21009 24080 21010 @@ -12721,7 +13 517,7 @@24081 @@ -12721,7 +13628,7 @@ 21011 24082 : 21012 24083 else 21013 24084 cat >conftest.$ac_ext <<_ACEOF 21014 24085 -#line 12724 "configure" 21015 +#line 13 520"configure"24086 +#line 13631 "configure" 21016 24087 #include "confdefs.h" 21017 24088 #include <ctype.h> 21018 24089 #if ((' ' & 0x0FF) == 0x020) 21019 @@ -12747,15 +13 543,15 @@24090 @@ -12747,15 +13654,15 @@ 21020 24091 } 21021 24092 _ACEOF 21022 24093 rm -f conftest$ac_exeext 21023 24094 -if { (eval echo "$as_me:12750: \"$ac_link\"") >&5 21024 +if { (eval echo "$as_me:13 546: \"$ac_link\"") >&524095 +if { (eval echo "$as_me:13657: \"$ac_link\"") >&5 21025 24096 (eval $ac_link) 2>&5 21026 24097 ac_status=$? 21027 24098 - echo "$as_me:12753: \$? = $ac_status" >&5 21028 + echo "$as_me:13 549: \$? = $ac_status" >&524099 + echo "$as_me:13660: \$? = $ac_status" >&5 21029 24100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21030 24101 - { (eval echo "$as_me:12755: \"$ac_try\"") >&5 21031 + { (eval echo "$as_me:13 551: \"$ac_try\"") >&524102 + { (eval echo "$as_me:13662: \"$ac_try\"") >&5 21032 24103 (eval $ac_try) 2>&5 21033 24104 ac_status=$? 21034 24105 - echo "$as_me:12758: \$? = $ac_status" >&5 21035 + echo "$as_me:13 554: \$? = $ac_status" >&524106 + echo "$as_me:13665: \$? = $ac_status" >&5 21036 24107 (exit $ac_status); }; }; then 21037 24108 : 21038 24109 else 21039 @@ -12768,7 +13 564,7 @@24110 @@ -12768,7 +13675,7 @@ 21040 24111 fi 21041 24112 fi 21042 24113 fi 21043 24114 -echo "$as_me:12771: result: $ac_cv_header_stdc" >&5 21044 +echo "$as_me:13 567: result: $ac_cv_header_stdc" >&524115 +echo "$as_me:13678: result: $ac_cv_header_stdc" >&5 21045 24116 echo "${ECHO_T}$ac_cv_header_stdc" >&6 21046 24117 if test $ac_cv_header_stdc = yes; then 21047 24118 21048 @@ -12781,13 +13 577,13 @@24119 @@ -12781,13 +13688,13 @@ 21049 24120 ac_header_dirent=no 21050 24121 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 21051 24122 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 21052 24123 -echo "$as_me:12784: checking for $ac_hdr that defines DIR" >&5 21053 +echo "$as_me:13 580: checking for $ac_hdr that defines DIR" >&524124 +echo "$as_me:13691: checking for $ac_hdr that defines DIR" >&5 21054 24125 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 21055 24126 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 21058 24129 cat >conftest.$ac_ext <<_ACEOF 21059 24130 -#line 12790 "configure" 21060 +#line 13 586"configure"24131 +#line 13697 "configure" 21061 24132 #include "confdefs.h" 21062 24133 #include <sys/types.h> 21063 24134 #include <$ac_hdr> 21064 @@ -12802,16 +13 598,16 @@24135 @@ -12802,16 +13709,16 @@ 21065 24136 } 21066 24137 _ACEOF 21067 24138 rm -f conftest.$ac_objext 21068 24139 -if { (eval echo "$as_me:12805: \"$ac_compile\"") >&5 21069 +if { (eval echo "$as_me:13 601: \"$ac_compile\"") >&524140 +if { (eval echo "$as_me:13712: \"$ac_compile\"") >&5 21070 24141 (eval $ac_compile) 2>&5 21071 24142 ac_status=$? 21072 24143 - echo "$as_me:12808: \$? = $ac_status" >&5 21073 + echo "$as_me:13 604: \$? = $ac_status" >&524144 + echo "$as_me:13715: \$? = $ac_status" >&5 21074 24145 (exit $ac_status); } && 21075 24146 { ac_try='test -s conftest.$ac_objext' 21076 24147 - { (eval echo "$as_me:12811: \"$ac_try\"") >&5 21077 + { (eval echo "$as_me:13 607: \"$ac_try\"") >&524148 + { (eval echo "$as_me:13718: \"$ac_try\"") >&5 21078 24149 (eval $ac_try) 2>&5 21079 24150 ac_status=$? 21080 24151 - echo "$as_me:12814: \$? = $ac_status" >&5 21081 + echo "$as_me:13 610: \$? = $ac_status" >&524152 + echo "$as_me:13721: \$? = $ac_status" >&5 21082 24153 (exit $ac_status); }; }; then 21083 24154 eval "$as_ac_Header=yes" 21084 24155 else 21085 @@ -12821,7 +13 617,7 @@24156 @@ -12821,7 +13728,7 @@ 21086 24157 fi 21087 24158 rm -f conftest.$ac_objext conftest.$ac_ext 21088 24159 fi 21089 24160 -echo "$as_me:12824: result: `eval echo '${'$as_ac_Header'}'`" >&5 21090 +echo "$as_me:13 620: result: `eval echo '${'$as_ac_Header'}'`" >&524161 +echo "$as_me:13731: result: `eval echo '${'$as_ac_Header'}'`" >&5 21091 24162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21092 24163 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21093 24164 cat >>confdefs.h <<EOF 21094 @@ -12834,7 +13 630,7 @@24165 @@ -12834,7 +13741,7 @@ 21095 24166 done 21096 24167 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 21097 24168 if test $ac_header_dirent = dirent.h; then 21098 24169 - echo "$as_me:12837: checking for opendir in -ldir" >&5 21099 + echo "$as_me:13 633: checking for opendir in -ldir" >&524170 + echo "$as_me:13744: checking for opendir in -ldir" >&5 21100 24171 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 21101 24172 if test "${ac_cv_lib_dir_opendir+set}" = set; then 21102 24173 echo $ECHO_N "(cached) $ECHO_C" >&6 21103 @@ -12842,7 +13 638,7 @@24174 @@ -12842,7 +13749,7 @@ 21104 24175 ac_check_lib_save_LIBS=$LIBS 21105 24176 LIBS="-ldir $LIBS" 21106 24177 cat >conftest.$ac_ext <<_ACEOF 21107 24178 -#line 12845 "configure" 21108 +#line 13 641"configure"24179 +#line 13752 "configure" 21109 24180 #include "confdefs.h" 21110 24181 21111 24182 /* Override any gcc2 internal prototype to avoid an error. */ 21112 @@ -12861,16 +13 657,16 @@24183 @@ -12861,16 +13768,16 @@ 21113 24184 } 21114 24185 _ACEOF 21115 24186 rm -f conftest.$ac_objext conftest$ac_exeext 21116 24187 -if { (eval echo "$as_me:12864: \"$ac_link\"") >&5 21117 +if { (eval echo "$as_me:13 660: \"$ac_link\"") >&524188 +if { (eval echo "$as_me:13771: \"$ac_link\"") >&5 21118 24189 (eval $ac_link) 2>&5 21119 24190 ac_status=$? 21120 24191 - echo "$as_me:12867: \$? = $ac_status" >&5 21121 + echo "$as_me:13 663: \$? = $ac_status" >&524192 + echo "$as_me:13774: \$? = $ac_status" >&5 21122 24193 (exit $ac_status); } && 21123 24194 { ac_try='test -s conftest$ac_exeext' 21124 24195 - { (eval echo "$as_me:12870: \"$ac_try\"") >&5 21125 + { (eval echo "$as_me:13 666: \"$ac_try\"") >&524196 + { (eval echo "$as_me:13777: \"$ac_try\"") >&5 21126 24197 (eval $ac_try) 2>&5 21127 24198 ac_status=$? 21128 24199 - echo "$as_me:12873: \$? = $ac_status" >&5 21129 + echo "$as_me:13 669: \$? = $ac_status" >&524200 + echo "$as_me:13780: \$? = $ac_status" >&5 21130 24201 (exit $ac_status); }; }; then 21131 24202 ac_cv_lib_dir_opendir=yes 21132 24203 else 21133 @@ -12881,14 +13 677,14 @@24204 @@ -12881,14 +13788,14 @@ 21134 24205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21135 24206 LIBS=$ac_check_lib_save_LIBS 21136 24207 fi 21137 24208 -echo "$as_me:12884: result: $ac_cv_lib_dir_opendir" >&5 21138 +echo "$as_me:13 680: result: $ac_cv_lib_dir_opendir" >&524209 +echo "$as_me:13791: result: $ac_cv_lib_dir_opendir" >&5 21139 24210 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 21140 24211 if test $ac_cv_lib_dir_opendir = yes; then … … 21144 24215 else 21145 24216 - echo "$as_me:12891: checking for opendir in -lx" >&5 21146 + echo "$as_me:13 687: checking for opendir in -lx" >&524217 + echo "$as_me:13798: checking for opendir in -lx" >&5 21147 24218 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 21148 24219 if test "${ac_cv_lib_x_opendir+set}" = set; then 21149 24220 echo $ECHO_N "(cached) $ECHO_C" >&6 21150 @@ -12896,7 +13 692,7 @@24221 @@ -12896,7 +13803,7 @@ 21151 24222 ac_check_lib_save_LIBS=$LIBS 21152 24223 LIBS="-lx $LIBS" 21153 24224 cat >conftest.$ac_ext <<_ACEOF 21154 24225 -#line 12899 "configure" 21155 +#line 13 695"configure"24226 +#line 13806 "configure" 21156 24227 #include "confdefs.h" 21157 24228 21158 24229 /* Override any gcc2 internal prototype to avoid an error. */ 21159 @@ -12915,16 +13 711,16 @@24230 @@ -12915,16 +13822,16 @@ 21160 24231 } 21161 24232 _ACEOF 21162 24233 rm -f conftest.$ac_objext conftest$ac_exeext 21163 24234 -if { (eval echo "$as_me:12918: \"$ac_link\"") >&5 21164 +if { (eval echo "$as_me:13 714: \"$ac_link\"") >&524235 +if { (eval echo "$as_me:13825: \"$ac_link\"") >&5 21165 24236 (eval $ac_link) 2>&5 21166 24237 ac_status=$? 21167 24238 - echo "$as_me:12921: \$? = $ac_status" >&5 21168 + echo "$as_me:13 717: \$? = $ac_status" >&524239 + echo "$as_me:13828: \$? = $ac_status" >&5 21169 24240 (exit $ac_status); } && 21170 24241 { ac_try='test -s conftest$ac_exeext' 21171 24242 - { (eval echo "$as_me:12924: \"$ac_try\"") >&5 21172 + { (eval echo "$as_me:13 720: \"$ac_try\"") >&524243 + { (eval echo "$as_me:13831: \"$ac_try\"") >&5 21173 24244 (eval $ac_try) 2>&5 21174 24245 ac_status=$? 21175 24246 - echo "$as_me:12927: \$? = $ac_status" >&5 21176 + echo "$as_me:13 723: \$? = $ac_status" >&524247 + echo "$as_me:13834: \$? = $ac_status" >&5 21177 24248 (exit $ac_status); }; }; then 21178 24249 ac_cv_lib_x_opendir=yes 21179 24250 else 21180 @@ -12935,7 +13 731,7 @@24251 @@ -12935,7 +13842,7 @@ 21181 24252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21182 24253 LIBS=$ac_check_lib_save_LIBS 21183 24254 fi 21184 24255 -echo "$as_me:12938: result: $ac_cv_lib_x_opendir" >&5 21185 +echo "$as_me:13 734: result: $ac_cv_lib_x_opendir" >&524256 +echo "$as_me:13845: result: $ac_cv_lib_x_opendir" >&5 21186 24257 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 21187 24258 if test $ac_cv_lib_x_opendir = yes; then 21188 24259 LIBS="$LIBS -lx" 21189 @@ -12943,13 +13 739,13 @@24260 @@ -12943,13 +13850,13 @@ 21190 24261 21191 24262 fi 21192 24263 21193 24264 -echo "$as_me:12946: checking whether time.h and sys/time.h may both be included" >&5 21194 +echo "$as_me:13 742: checking whether time.h and sys/time.h may both be included" >&524265 +echo "$as_me:13853: checking whether time.h and sys/time.h may both be included" >&5 21195 24266 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 21196 24267 if test "${ac_cv_header_time+set}" = set; then … … 21199 24270 cat >conftest.$ac_ext <<_ACEOF 21200 24271 -#line 12952 "configure" 21201 +#line 13 748"configure"24272 +#line 13859 "configure" 21202 24273 #include "confdefs.h" 21203 24274 #include <sys/types.h> 21204 24275 #include <sys/time.h> 21205 @@ -12965,16 +13 761,16 @@24276 @@ -12965,16 +13872,16 @@ 21206 24277 } 21207 24278 _ACEOF 21208 24279 rm -f conftest.$ac_objext 21209 24280 -if { (eval echo "$as_me:12968: \"$ac_compile\"") >&5 21210 +if { (eval echo "$as_me:13 764: \"$ac_compile\"") >&524281 +if { (eval echo "$as_me:13875: \"$ac_compile\"") >&5 21211 24282 (eval $ac_compile) 2>&5 21212 24283 ac_status=$? 21213 24284 - echo "$as_me:12971: \$? = $ac_status" >&5 21214 + echo "$as_me:13 767: \$? = $ac_status" >&524285 + echo "$as_me:13878: \$? = $ac_status" >&5 21215 24286 (exit $ac_status); } && 21216 24287 { ac_try='test -s conftest.$ac_objext' 21217 24288 - { (eval echo "$as_me:12974: \"$ac_try\"") >&5 21218 + { (eval echo "$as_me:13 770: \"$ac_try\"") >&524289 + { (eval echo "$as_me:13881: \"$ac_try\"") >&5 21219 24290 (eval $ac_try) 2>&5 21220 24291 ac_status=$? 21221 24292 - echo "$as_me:12977: \$? = $ac_status" >&5 21222 + echo "$as_me:13 773: \$? = $ac_status" >&524293 + echo "$as_me:13884: \$? = $ac_status" >&5 21223 24294 (exit $ac_status); }; }; then 21224 24295 ac_cv_header_time=yes 21225 24296 else 21226 @@ -12984,7 +13 780,7 @@24297 @@ -12984,7 +13891,7 @@ 21227 24298 fi 21228 24299 rm -f conftest.$ac_objext conftest.$ac_ext 21229 24300 fi 21230 24301 -echo "$as_me:12987: result: $ac_cv_header_time" >&5 21231 +echo "$as_me:13 783: result: $ac_cv_header_time" >&524302 +echo "$as_me:13894: result: $ac_cv_header_time" >&5 21232 24303 echo "${ECHO_T}$ac_cv_header_time" >&6 21233 24304 if test $ac_cv_header_time = yes; then 21234 24305 21235 @@ -12999,17 +13 795,17 @@24306 @@ -12999,17 +13906,17 @@ 21236 24307 cf_regex_libs="regex re" 21237 24308 case $host_os in #(vi … … 21243 24314 21244 24315 -echo "$as_me:13006: checking for regcomp" >&5 21245 +echo "$as_me:13 802: checking for regcomp" >&524316 +echo "$as_me:13913: checking for regcomp" >&5 21246 24317 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 21247 24318 if test "${ac_cv_func_regcomp+set}" = set; then … … 21250 24321 cat >conftest.$ac_ext <<_ACEOF 21251 24322 -#line 13012 "configure" 21252 +#line 13 808"configure"24323 +#line 13919 "configure" 21253 24324 #include "confdefs.h" 21254 24325 /* System header to define __stub macros and hopefully few prototypes, 21255 24326 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 @@ 21257 24337 } 21258 24338 _ACEOF 21259 24339 rm -f conftest.$ac_objext conftest$ac_exeext 21260 24340 -if { (eval echo "$as_me:13043: \"$ac_link\"") >&5 21261 +if { (eval echo "$as_me:13 839: \"$ac_link\"") >&524341 +if { (eval echo "$as_me:13950: \"$ac_link\"") >&5 21262 24342 (eval $ac_link) 2>&5 21263 24343 ac_status=$? 21264 24344 - echo "$as_me:13046: \$? = $ac_status" >&5 21265 + echo "$as_me:13 842: \$? = $ac_status" >&524345 + echo "$as_me:13953: \$? = $ac_status" >&5 21266 24346 (exit $ac_status); } && 21267 24347 { ac_try='test -s conftest$ac_exeext' 21268 24348 - { (eval echo "$as_me:13049: \"$ac_try\"") >&5 21269 + { (eval echo "$as_me:13 845: \"$ac_try\"") >&524349 + { (eval echo "$as_me:13956: \"$ac_try\"") >&5 21270 24350 (eval $ac_try) 2>&5 21271 24351 ac_status=$? 21272 24352 - echo "$as_me:13052: \$? = $ac_status" >&5 21273 + echo "$as_me:13 848: \$? = $ac_status" >&524353 + echo "$as_me:13959: \$? = $ac_status" >&5 21274 24354 (exit $ac_status); }; }; then 21275 24355 ac_cv_func_regcomp=yes 21276 24356 else 21277 @@ -13059,7 +13 855,7 @@24357 @@ -13059,7 +13966,7 @@ 21278 24358 fi 21279 24359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21280 24360 fi 21281 24361 -echo "$as_me:13062: result: $ac_cv_func_regcomp" >&5 21282 +echo "$as_me:13 858: result: $ac_cv_func_regcomp" >&524362 +echo "$as_me:13969: result: $ac_cv_func_regcomp" >&5 21283 24363 echo "${ECHO_T}$ac_cv_func_regcomp" >&6 21284 24364 if test $ac_cv_func_regcomp = yes; then 21285 24365 cf_regex_func=regcomp 21286 @@ -13068,7 +13 864,7 @@24366 @@ -13068,7 +13975,7 @@ 21287 24367 for cf_regex_lib in $cf_regex_libs 21288 24368 do 21289 24369 as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` 21290 24370 -echo "$as_me:13071: checking for regcomp in -l$cf_regex_lib" >&5 21291 +echo "$as_me:13 867: checking for regcomp in -l$cf_regex_lib" >&524371 +echo "$as_me:13978: checking for regcomp in -l$cf_regex_lib" >&5 21292 24372 echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 21293 24373 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 21294 24374 echo $ECHO_N "(cached) $ECHO_C" >&6 21295 @@ -13076,7 +13 872,7 @@24375 @@ -13076,7 +13983,7 @@ 21296 24376 ac_check_lib_save_LIBS=$LIBS 21297 24377 LIBS="-l$cf_regex_lib $LIBS" 21298 24378 cat >conftest.$ac_ext <<_ACEOF 21299 24379 -#line 13079 "configure" 21300 +#line 13 875"configure"24380 +#line 13986 "configure" 21301 24381 #include "confdefs.h" 21302 24382 21303 24383 /* Override any gcc2 internal prototype to avoid an error. */ 21304 @@ -13095,16 +1 3891,16 @@24384 @@ -13095,16 +14002,16 @@ 21305 24385 } 21306 24386 _ACEOF 21307 24387 rm -f conftest.$ac_objext conftest$ac_exeext 21308 24388 -if { (eval echo "$as_me:13098: \"$ac_link\"") >&5 21309 +if { (eval echo "$as_me:1 3894: \"$ac_link\"") >&524389 +if { (eval echo "$as_me:14005: \"$ac_link\"") >&5 21310 24390 (eval $ac_link) 2>&5 21311 24391 ac_status=$? 21312 24392 - echo "$as_me:13101: \$? = $ac_status" >&5 21313 + echo "$as_me:1 3897: \$? = $ac_status" >&524393 + echo "$as_me:14008: \$? = $ac_status" >&5 21314 24394 (exit $ac_status); } && 21315 24395 { ac_try='test -s conftest$ac_exeext' 21316 24396 - { (eval echo "$as_me:13104: \"$ac_try\"") >&5 21317 + { (eval echo "$as_me:1 3900: \"$ac_try\"") >&524397 + { (eval echo "$as_me:14011: \"$ac_try\"") >&5 21318 24398 (eval $ac_try) 2>&5 21319 24399 ac_status=$? 21320 24400 - echo "$as_me:13107: \$? = $ac_status" >&5 21321 + echo "$as_me:1 3903: \$? = $ac_status" >&524401 + echo "$as_me:14014: \$? = $ac_status" >&5 21322 24402 (exit $ac_status); }; }; then 21323 24403 eval "$as_ac_Lib=yes" 21324 24404 else 21325 @@ -13115,7 +1 3911,7 @@24405 @@ -13115,7 +14022,7 @@ 21326 24406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21327 24407 LIBS=$ac_check_lib_save_LIBS 21328 24408 fi 21329 24409 -echo "$as_me:13118: result: `eval echo '${'$as_ac_Lib'}'`" >&5 21330 +echo "$as_me:1 3914: result: `eval echo '${'$as_ac_Lib'}'`" >&524410 +echo "$as_me:14025: result: `eval echo '${'$as_ac_Lib'}'`" >&5 21331 24411 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 21332 24412 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 21333 24413 21334 @@ -13129,13 +1 3925,13 @@24414 @@ -13129,13 +14036,13 @@ 21335 24415 fi 21336 24416 21337 24417 if test "$cf_regex_func" = no ; then 21338 24418 - echo "$as_me:13132: checking for compile" >&5 21339 + echo "$as_me:1 3928: checking for compile" >&524419 + echo "$as_me:14039: checking for compile" >&5 21340 24420 echo $ECHO_N "checking for compile... $ECHO_C" >&6 21341 24421 if test "${ac_cv_func_compile+set}" = set; then … … 21344 24424 cat >conftest.$ac_ext <<_ACEOF 21345 24425 -#line 13138 "configure" 21346 +#line 1 3934"configure"24426 +#line 14045 "configure" 21347 24427 #include "confdefs.h" 21348 24428 /* System header to define __stub macros and hopefully few prototypes, 21349 24429 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 @@ 21351 24440 } 21352 24441 _ACEOF 21353 24442 rm -f conftest.$ac_objext conftest$ac_exeext 21354 24443 -if { (eval echo "$as_me:13169: \"$ac_link\"") >&5 21355 +if { (eval echo "$as_me:1 3965: \"$ac_link\"") >&524444 +if { (eval echo "$as_me:14076: \"$ac_link\"") >&5 21356 24445 (eval $ac_link) 2>&5 21357 24446 ac_status=$? 21358 24447 - echo "$as_me:13172: \$? = $ac_status" >&5 21359 + echo "$as_me:1 3968: \$? = $ac_status" >&524448 + echo "$as_me:14079: \$? = $ac_status" >&5 21360 24449 (exit $ac_status); } && 21361 24450 { ac_try='test -s conftest$ac_exeext' 21362 24451 - { (eval echo "$as_me:13175: \"$ac_try\"") >&5 21363 + { (eval echo "$as_me:1 3971: \"$ac_try\"") >&524452 + { (eval echo "$as_me:14082: \"$ac_try\"") >&5 21364 24453 (eval $ac_try) 2>&5 21365 24454 ac_status=$? 21366 24455 - echo "$as_me:13178: \$? = $ac_status" >&5 21367 + echo "$as_me:1 3974: \$? = $ac_status" >&524456 + echo "$as_me:14085: \$? = $ac_status" >&5 21368 24457 (exit $ac_status); }; }; then 21369 24458 ac_cv_func_compile=yes 21370 24459 else 21371 @@ -13185,13 +1 3981,13 @@24460 @@ -13185,13 +14092,13 @@ 21372 24461 fi 21373 24462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21374 24463 fi 21375 24464 -echo "$as_me:13188: result: $ac_cv_func_compile" >&5 21376 +echo "$as_me:1 3984: result: $ac_cv_func_compile" >&524465 +echo "$as_me:14095: result: $ac_cv_func_compile" >&5 21377 24466 echo "${ECHO_T}$ac_cv_func_compile" >&6 21378 24467 if test $ac_cv_func_compile = yes; then … … 21381 24470 21382 24471 - echo "$as_me:13194: checking for compile in -lgen" >&5 21383 + echo "$as_me:1 3990: checking for compile in -lgen" >&524472 + echo "$as_me:14101: checking for compile in -lgen" >&5 21384 24473 echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 21385 24474 if test "${ac_cv_lib_gen_compile+set}" = set; then 21386 24475 echo $ECHO_N "(cached) $ECHO_C" >&6 21387 @@ -13199,7 +1 3995,7 @@24476 @@ -13199,7 +14106,7 @@ 21388 24477 ac_check_lib_save_LIBS=$LIBS 21389 24478 LIBS="-lgen $LIBS" 21390 24479 cat >conftest.$ac_ext <<_ACEOF 21391 24480 -#line 13202 "configure" 21392 +#line 1 3998"configure"24481 +#line 14109 "configure" 21393 24482 #include "confdefs.h" 21394 24483 21395 24484 /* Override any gcc2 internal prototype to avoid an error. */ 21396 @@ -13218,16 +14 014,16 @@24485 @@ -13218,16 +14125,16 @@ 21397 24486 } 21398 24487 _ACEOF 21399 24488 rm -f conftest.$ac_objext conftest$ac_exeext 21400 24489 -if { (eval echo "$as_me:13221: \"$ac_link\"") >&5 21401 +if { (eval echo "$as_me:14 017: \"$ac_link\"") >&524490 +if { (eval echo "$as_me:14128: \"$ac_link\"") >&5 21402 24491 (eval $ac_link) 2>&5 21403 24492 ac_status=$? 21404 24493 - echo "$as_me:13224: \$? = $ac_status" >&5 21405 + echo "$as_me:14 020: \$? = $ac_status" >&524494 + echo "$as_me:14131: \$? = $ac_status" >&5 21406 24495 (exit $ac_status); } && 21407 24496 { ac_try='test -s conftest$ac_exeext' 21408 24497 - { (eval echo "$as_me:13227: \"$ac_try\"") >&5 21409 + { (eval echo "$as_me:14 023: \"$ac_try\"") >&524498 + { (eval echo "$as_me:14134: \"$ac_try\"") >&5 21410 24499 (eval $ac_try) 2>&5 21411 24500 ac_status=$? 21412 24501 - echo "$as_me:13230: \$? = $ac_status" >&5 21413 + echo "$as_me:14 026: \$? = $ac_status" >&524502 + echo "$as_me:14137: \$? = $ac_status" >&5 21414 24503 (exit $ac_status); }; }; then 21415 24504 ac_cv_lib_gen_compile=yes 21416 24505 else 21417 @@ -13238,7 +14 034,7 @@24506 @@ -13238,7 +14145,7 @@ 21418 24507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21419 24508 LIBS=$ac_check_lib_save_LIBS 21420 24509 fi 21421 24510 -echo "$as_me:13241: result: $ac_cv_lib_gen_compile" >&5 21422 +echo "$as_me:14 037: result: $ac_cv_lib_gen_compile" >&524511 +echo "$as_me:14148: result: $ac_cv_lib_gen_compile" >&5 21423 24512 echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 21424 24513 if test $ac_cv_lib_gen_compile = yes; then 21425 24514 21426 @@ -13251,11 +14 047,11 @@24515 @@ -13251,11 +14158,11 @@ 21427 24516 fi 21428 24517 21429 24518 if test "$cf_regex_func" = no ; then 21430 24519 - { echo "$as_me:13254: WARNING: cannot find regular expression library" >&5 21431 + { echo "$as_me:14 050: WARNING: cannot find regular expression library" >&524520 + { echo "$as_me:14161: WARNING: cannot find regular expression library" >&5 21432 24521 echo "$as_me: WARNING: cannot find regular expression library" >&2;} 21433 24522 fi 21434 24523 21435 24524 -echo "$as_me:13258: checking for regular-expression headers" >&5 21436 +echo "$as_me:14 054: checking for regular-expression headers" >&524525 +echo "$as_me:14165: checking for regular-expression headers" >&5 21437 24526 echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 21438 24527 if test "${cf_cv_regex_hdrs+set}" = set; then 21439 24528 echo $ECHO_N "(cached) $ECHO_C" >&6 21440 @@ -13267,7 +14 063,7 @@24529 @@ -13267,7 +14174,7 @@ 21441 24530 for cf_regex_hdr in regexp.h regexpr.h 21442 24531 do 21443 24532 cat >conftest.$ac_ext <<_ACEOF 21444 24533 -#line 13270 "configure" 21445 +#line 14 066"configure"24534 +#line 14177 "configure" 21446 24535 #include "confdefs.h" 21447 24536 #include <$cf_regex_hdr> 21448 24537 int 21449 @@ -13282,16 +14 078,16 @@24538 @@ -13282,16 +14189,16 @@ 21450 24539 } 21451 24540 _ACEOF 21452 24541 rm -f conftest.$ac_objext conftest$ac_exeext 21453 24542 -if { (eval echo "$as_me:13285: \"$ac_link\"") >&5 21454 +if { (eval echo "$as_me:14 081: \"$ac_link\"") >&524543 +if { (eval echo "$as_me:14192: \"$ac_link\"") >&5 21455 24544 (eval $ac_link) 2>&5 21456 24545 ac_status=$? 21457 24546 - echo "$as_me:13288: \$? = $ac_status" >&5 21458 + echo "$as_me:14 084: \$? = $ac_status" >&524547 + echo "$as_me:14195: \$? = $ac_status" >&5 21459 24548 (exit $ac_status); } && 21460 24549 { ac_try='test -s conftest$ac_exeext' 21461 24550 - { (eval echo "$as_me:13291: \"$ac_try\"") >&5 21462 + { (eval echo "$as_me:14 087: \"$ac_try\"") >&524551 + { (eval echo "$as_me:14198: \"$ac_try\"") >&5 21463 24552 (eval $ac_try) 2>&5 21464 24553 ac_status=$? 21465 24554 - echo "$as_me:13294: \$? = $ac_status" >&5 21466 + echo "$as_me:14 090: \$? = $ac_status" >&524555 + echo "$as_me:14201: \$? = $ac_status" >&5 21467 24556 (exit $ac_status); }; }; then 21468 24557 21469 24558 cf_cv_regex_hdrs=$cf_regex_hdr 21470 @@ -13308,7 +14 104,7 @@24559 @@ -13308,7 +14215,7 @@ 21471 24560 for cf_regex_hdr in regex.h 21472 24561 do 21473 24562 cat >conftest.$ac_ext <<_ACEOF 21474 24563 -#line 13311 "configure" 21475 +#line 14 107"configure"24564 +#line 14218 "configure" 21476 24565 #include "confdefs.h" 21477 24566 #include <sys/types.h> 21478 24567 #include <$cf_regex_hdr> 21479 @@ -13326,16 +14 122,16 @@24568 @@ -13326,16 +14233,16 @@ 21480 24569 } 21481 24570 _ACEOF 21482 24571 rm -f conftest.$ac_objext conftest$ac_exeext 21483 24572 -if { (eval echo "$as_me:13329: \"$ac_link\"") >&5 21484 +if { (eval echo "$as_me:14 125: \"$ac_link\"") >&524573 +if { (eval echo "$as_me:14236: \"$ac_link\"") >&5 21485 24574 (eval $ac_link) 2>&5 21486 24575 ac_status=$? 21487 24576 - echo "$as_me:13332: \$? = $ac_status" >&5 21488 + echo "$as_me:14 128: \$? = $ac_status" >&524577 + echo "$as_me:14239: \$? = $ac_status" >&5 21489 24578 (exit $ac_status); } && 21490 24579 { ac_try='test -s conftest$ac_exeext' 21491 24580 - { (eval echo "$as_me:13335: \"$ac_try\"") >&5 21492 + { (eval echo "$as_me:14 131: \"$ac_try\"") >&524581 + { (eval echo "$as_me:14242: \"$ac_try\"") >&5 21493 24582 (eval $ac_try) 2>&5 21494 24583 ac_status=$? 21495 24584 - echo "$as_me:13338: \$? = $ac_status" >&5 21496 + echo "$as_me:14 134: \$? = $ac_status" >&524585 + echo "$as_me:14245: \$? = $ac_status" >&5 21497 24586 (exit $ac_status); }; }; then 21498 24587 21499 24588 cf_cv_regex_hdrs=$cf_regex_hdr 21500 @@ -13351,11 +14 147,11 @@24589 @@ -13351,11 +14258,11 @@ 21501 24590 esac 21502 24591 21503 24592 fi 21504 24593 -echo "$as_me:13354: result: $cf_cv_regex_hdrs" >&5 21505 +echo "$as_me:14 150: result: $cf_cv_regex_hdrs" >&524594 +echo "$as_me:14261: result: $cf_cv_regex_hdrs" >&5 21506 24595 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 21507 24596 21508 24597 case $cf_cv_regex_hdrs in #(vi 21509 24598 - no) { echo "$as_me:13358: WARNING: no regular expression header found" >&5 21510 + no) { echo "$as_me:14 154: WARNING: no regular expression header found" >&524599 + no) { echo "$as_me:14265: WARNING: no regular expression header found" >&5 21511 24600 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; #(vi 21512 24601 regex.h) cat >>confdefs.h <<\EOF 21513 24602 #define HAVE_REGEX_H_FUNCS 1 21514 @@ -13391,23 +14 187,71 @@24603 @@ -13391,23 +14298,71 @@ 21515 24604 21516 24605 do 21517 24606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21518 24607 -echo "$as_me:13394: checking for $ac_header" >&5 21519 +echo "$as_me:14 190: checking for $ac_header" >&524608 +echo "$as_me:14301: checking for $ac_header" >&5 21520 24609 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21521 24610 +if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 21523 24612 +else 21524 24613 + cat >conftest.$ac_ext <<_ACEOF 21525 +#line 14 196"configure"24614 +#line 14307 "configure" 21526 24615 +#include "confdefs.h" 21527 24616 +#include <$ac_header> 21528 24617 +_ACEOF 21529 +if { (eval echo "$as_me:14 200: \"$ac_cpp conftest.$ac_ext\"") >&524618 +if { (eval echo "$as_me:14311: \"$ac_cpp conftest.$ac_ext\"") >&5 21530 24619 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21531 24620 + ac_status=$? … … 21533 24622 + rm -f conftest.er1 21534 24623 + cat conftest.err >&5 21535 + echo "$as_me:14 206: \$? = $ac_status" >&524624 + echo "$as_me:14317: \$? = $ac_status" >&5 21536 24625 + (exit $ac_status); } >/dev/null; then 21537 24626 + if test -s conftest.err; then … … 21552 24641 +rm -f conftest.err conftest.$ac_ext 21553 24642 +fi 21554 +echo "$as_me:14 225: result: `eval echo '${'$as_ac_Header'}'`" >&524643 +echo "$as_me:14336: result: `eval echo '${'$as_ac_Header'}'`" >&5 21555 24644 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21556 24645 +if test `eval echo '${'$as_ac_Header'}'` = yes; then … … 21565 24654 +do 21566 24655 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21567 +echo "$as_me:14 238: checking for $ac_header" >&524656 +echo "$as_me:14349: checking for $ac_header" >&5 21568 24657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21569 24658 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 21572 24661 cat >conftest.$ac_ext <<_ACEOF 21573 24662 -#line 13400 "configure" 21574 +#line 14 244"configure"24663 +#line 14355 "configure" 21575 24664 #include "confdefs.h" 21576 24665 #include <$ac_header> 21577 24666 _ACEOF 21578 24667 -if { (eval echo "$as_me:13404: \"$ac_cpp conftest.$ac_ext\"") >&5 21579 +if { (eval echo "$as_me:14 248: \"$ac_cpp conftest.$ac_ext\"") >&524668 +if { (eval echo "$as_me:14359: \"$ac_cpp conftest.$ac_ext\"") >&5 21580 24669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21581 24670 ac_status=$? … … 21584 24673 cat conftest.err >&5 21585 24674 - echo "$as_me:13410: \$? = $ac_status" >&5 21586 + echo "$as_me:14 254: \$? = $ac_status" >&524675 + echo "$as_me:14365: \$? = $ac_status" >&5 21587 24676 (exit $ac_status); } >/dev/null; then 21588 24677 if test -s conftest.err; then 21589 24678 ac_cpp_err=$ac_c_preproc_warn_flag 21590 @@ -13426,7 +14 270,7 @@24679 @@ -13426,7 +14381,7 @@ 21591 24680 fi 21592 24681 rm -f conftest.err conftest.$ac_ext 21593 24682 fi 21594 24683 -echo "$as_me:13429: result: `eval echo '${'$as_ac_Header'}'`" >&5 21595 +echo "$as_me:14 273: result: `eval echo '${'$as_ac_Header'}'`" >&524684 +echo "$as_me:14384: result: `eval echo '${'$as_ac_Header'}'`" >&5 21596 24685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21597 24686 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21598 24687 cat >>confdefs.h <<EOF 21599 @@ -13436,11 +14 280,64 @@24688 @@ -13436,11 +14391,64 @@ 21600 24689 fi 21601 24690 done 21602 24691 21603 +echo "$as_me:14 283: checking for header declaring getopt variables" >&524692 +echo "$as_me:14394: checking for header declaring getopt variables" >&5 21604 24693 +echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 21605 24694 +if test "${cf_cv_getopt_header+set}" = set; then … … 21611 24700 +do 21612 24701 +cat >conftest.$ac_ext <<_ACEOF 21613 +#line 14 293"configure"24702 +#line 14404 "configure" 21614 24703 +#include "confdefs.h" 21615 24704 + … … 21624 24713 +_ACEOF 21625 24714 +rm -f conftest.$ac_objext 21626 +if { (eval echo "$as_me:14 306: \"$ac_compile\"") >&524715 +if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5 21627 24716 + (eval $ac_compile) 2>&5 21628 24717 + ac_status=$? 21629 + echo "$as_me:14 309: \$? = $ac_status" >&524718 + echo "$as_me:14420: \$? = $ac_status" >&5 21630 24719 + (exit $ac_status); } && 21631 24720 + { ac_try='test -s conftest.$ac_objext' 21632 + { (eval echo "$as_me:14 312: \"$ac_try\"") >&524721 + { (eval echo "$as_me:14423: \"$ac_try\"") >&5 21633 24722 + (eval $ac_try) 2>&5 21634 24723 + ac_status=$? 21635 + echo "$as_me:14 315: \$? = $ac_status" >&524724 + echo "$as_me:14426: \$? = $ac_status" >&5 21636 24725 + (exit $ac_status); }; }; then 21637 24726 + cf_cv_getopt_header=$cf_header … … 21645 24734 + 21646 24735 +fi 21647 +echo "$as_me:14 327: result: $cf_cv_getopt_header" >&524736 +echo "$as_me:14438: result: $cf_cv_getopt_header" >&5 21648 24737 +echo "${ECHO_T}$cf_cv_getopt_header" >&6 21649 24738 +if test $cf_cv_getopt_header != none ; then … … 21659 24748 21660 24749 -echo "$as_me:13443: checking for main in -lcposix" >&5 21661 +echo "$as_me:14 340: checking for main in -lcposix" >&524750 +echo "$as_me:14451: checking for main in -lcposix" >&5 21662 24751 echo $ECHO_N "checking for main in -lcposix... $ECHO_C" >&6 21663 24752 if test "${ac_cv_lib_cposix_main+set}" = set; then 21664 24753 echo $ECHO_N "(cached) $ECHO_C" >&6 21665 @@ -13448,7 +14 345,7 @@24754 @@ -13448,7 +14456,7 @@ 21666 24755 ac_check_lib_save_LIBS=$LIBS 21667 24756 LIBS="-lcposix $LIBS" 21668 24757 cat >conftest.$ac_ext <<_ACEOF 21669 24758 -#line 13451 "configure" 21670 +#line 14 348"configure"24759 +#line 14459 "configure" 21671 24760 #include "confdefs.h" 21672 24761 21673 24762 int 21674 @@ -13460,16 +14 357,16 @@24763 @@ -13460,16 +14468,16 @@ 21675 24764 } 21676 24765 _ACEOF 21677 24766 rm -f conftest.$ac_objext conftest$ac_exeext 21678 24767 -if { (eval echo "$as_me:13463: \"$ac_link\"") >&5 21679 +if { (eval echo "$as_me:14 360: \"$ac_link\"") >&524768 +if { (eval echo "$as_me:14471: \"$ac_link\"") >&5 21680 24769 (eval $ac_link) 2>&5 21681 24770 ac_status=$? 21682 24771 - echo "$as_me:13466: \$? = $ac_status" >&5 21683 + echo "$as_me:14 363: \$? = $ac_status" >&524772 + echo "$as_me:14474: \$? = $ac_status" >&5 21684 24773 (exit $ac_status); } && 21685 24774 { ac_try='test -s conftest$ac_exeext' 21686 24775 - { (eval echo "$as_me:13469: \"$ac_try\"") >&5 21687 + { (eval echo "$as_me:14 366: \"$ac_try\"") >&524776 + { (eval echo "$as_me:14477: \"$ac_try\"") >&5 21688 24777 (eval $ac_try) 2>&5 21689 24778 ac_status=$? 21690 24779 - echo "$as_me:13472: \$? = $ac_status" >&5 21691 + echo "$as_me:14 369: \$? = $ac_status" >&524780 + echo "$as_me:14480: \$? = $ac_status" >&5 21692 24781 (exit $ac_status); }; }; then 21693 24782 ac_cv_lib_cposix_main=yes 21694 24783 else 21695 @@ -13480,7 +14 377,7 @@24784 @@ -13480,7 +14488,7 @@ 21696 24785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21697 24786 LIBS=$ac_check_lib_save_LIBS 21698 24787 fi 21699 24788 -echo "$as_me:13483: result: $ac_cv_lib_cposix_main" >&5 21700 +echo "$as_me:14 380: result: $ac_cv_lib_cposix_main" >&524789 +echo "$as_me:14491: result: $ac_cv_lib_cposix_main" >&5 21701 24790 echo "${ECHO_T}$ac_cv_lib_cposix_main" >&6 21702 24791 if test $ac_cv_lib_cposix_main = yes; then 21703 24792 cat >>confdefs.h <<EOF 21704 @@ -13491,7 +14 388,7 @@24793 @@ -13491,7 +14499,7 @@ 21705 24794 21706 24795 fi 21707 24796 21708 24797 - echo "$as_me:13494: checking for bzero in -linet" >&5 21709 + echo "$as_me:14 391: checking for bzero in -linet" >&524798 + echo "$as_me:14502: checking for bzero in -linet" >&5 21710 24799 echo $ECHO_N "checking for bzero in -linet... $ECHO_C" >&6 21711 24800 if test "${ac_cv_lib_inet_bzero+set}" = set; then 21712 24801 echo $ECHO_N "(cached) $ECHO_C" >&6 21713 @@ -13499,7 +14 396,7 @@24802 @@ -13499,7 +14507,7 @@ 21714 24803 ac_check_lib_save_LIBS=$LIBS 21715 24804 LIBS="-linet $LIBS" 21716 24805 cat >conftest.$ac_ext <<_ACEOF 21717 24806 -#line 13502 "configure" 21718 +#line 14 399"configure"24807 +#line 14510 "configure" 21719 24808 #include "confdefs.h" 21720 24809 21721 24810 /* Override any gcc2 internal prototype to avoid an error. */ 21722 @@ -13518,16 +14 415,16 @@24811 @@ -13518,16 +14526,16 @@ 21723 24812 } 21724 24813 _ACEOF 21725 24814 rm -f conftest.$ac_objext conftest$ac_exeext 21726 24815 -if { (eval echo "$as_me:13521: \"$ac_link\"") >&5 21727 +if { (eval echo "$as_me:14 418: \"$ac_link\"") >&524816 +if { (eval echo "$as_me:14529: \"$ac_link\"") >&5 21728 24817 (eval $ac_link) 2>&5 21729 24818 ac_status=$? 21730 24819 - echo "$as_me:13524: \$? = $ac_status" >&5 21731 + echo "$as_me:14 421: \$? = $ac_status" >&524820 + echo "$as_me:14532: \$? = $ac_status" >&5 21732 24821 (exit $ac_status); } && 21733 24822 { ac_try='test -s conftest$ac_exeext' 21734 24823 - { (eval echo "$as_me:13527: \"$ac_try\"") >&5 21735 + { (eval echo "$as_me:14 424: \"$ac_try\"") >&524824 + { (eval echo "$as_me:14535: \"$ac_try\"") >&5 21736 24825 (eval $ac_try) 2>&5 21737 24826 ac_status=$? 21738 24827 - echo "$as_me:13530: \$? = $ac_status" >&5 21739 + echo "$as_me:14 427: \$? = $ac_status" >&524828 + echo "$as_me:14538: \$? = $ac_status" >&5 21740 24829 (exit $ac_status); }; }; then 21741 24830 ac_cv_lib_inet_bzero=yes 21742 24831 else 21743 @@ -13538,21 +14 435,21 @@24832 @@ -13538,21 +14546,21 @@ 21744 24833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21745 24834 LIBS=$ac_check_lib_save_LIBS 21746 24835 fi 21747 24836 -echo "$as_me:13541: result: $ac_cv_lib_inet_bzero" >&5 21748 +echo "$as_me:14 438: result: $ac_cv_lib_inet_bzero" >&524837 +echo "$as_me:14549: result: $ac_cv_lib_inet_bzero" >&5 21749 24838 echo "${ECHO_T}$ac_cv_lib_inet_bzero" >&6 21750 24839 if test $ac_cv_lib_inet_bzero = yes; then … … 21754 24843 21755 24844 -echo "$as_me:13548: checking if sys/time.h works with sys/select.h" >&5 21756 +echo "$as_me:14 445: checking if sys/time.h works with sys/select.h" >&524845 +echo "$as_me:14556: checking if sys/time.h works with sys/select.h" >&5 21757 24846 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 21758 24847 if test "${cf_cv_sys_time_select+set}" = set; then … … 21762 24851 cat >conftest.$ac_ext <<_ACEOF 21763 24852 -#line 13555 "configure" 21764 +#line 14 452"configure"24853 +#line 14563 "configure" 21765 24854 #include "confdefs.h" 21766 24855 21767 24856 #include <sys/types.h> 21768 @@ -13572,16 +14 469,16 @@24857 @@ -13572,16 +14580,16 @@ 21769 24858 } 21770 24859 _ACEOF 21771 24860 rm -f conftest.$ac_objext 21772 24861 -if { (eval echo "$as_me:13575: \"$ac_compile\"") >&5 21773 +if { (eval echo "$as_me:14 472: \"$ac_compile\"") >&524862 +if { (eval echo "$as_me:14583: \"$ac_compile\"") >&5 21774 24863 (eval $ac_compile) 2>&5 21775 24864 ac_status=$? 21776 24865 - echo "$as_me:13578: \$? = $ac_status" >&5 21777 + echo "$as_me:14 475: \$? = $ac_status" >&524866 + echo "$as_me:14586: \$? = $ac_status" >&5 21778 24867 (exit $ac_status); } && 21779 24868 { ac_try='test -s conftest.$ac_objext' 21780 24869 - { (eval echo "$as_me:13581: \"$ac_try\"") >&5 21781 + { (eval echo "$as_me:14 478: \"$ac_try\"") >&524870 + { (eval echo "$as_me:14589: \"$ac_try\"") >&5 21782 24871 (eval $ac_try) 2>&5 21783 24872 ac_status=$? 21784 24873 - echo "$as_me:13584: \$? = $ac_status" >&5 21785 + echo "$as_me:14 481: \$? = $ac_status" >&524874 + echo "$as_me:14592: \$? = $ac_status" >&5 21786 24875 (exit $ac_status); }; }; then 21787 24876 cf_cv_sys_time_select=yes 21788 24877 else 21789 @@ -13593,7 +14 490,7 @@24878 @@ -13593,7 +14601,7 @@ 21790 24879 21791 24880 fi 21792 24881 21793 24882 -echo "$as_me:13596: result: $cf_cv_sys_time_select" >&5 21794 +echo "$as_me:14 493: result: $cf_cv_sys_time_select" >&524883 +echo "$as_me:14604: result: $cf_cv_sys_time_select" >&5 21795 24884 echo "${ECHO_T}$cf_cv_sys_time_select" >&6 21796 24885 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF 21797 24886 #define HAVE_SYS_TIME_SELECT 1 21798 @@ -13607,7 +14 504,7 @@24887 @@ -13607,7 +14615,7 @@ 21799 24888 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21800 24889 ac_main_return=return 21801 24890 21802 24891 -echo "$as_me:13610: checking for $CC option to accept ANSI C" >&5 21803 +echo "$as_me:14 507: checking for $CC option to accept ANSI C" >&524892 +echo "$as_me:14618: checking for $CC option to accept ANSI C" >&5 21804 24893 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 21805 24894 if test "${ac_cv_prog_cc_stdc+set}" = set; then 21806 24895 echo $ECHO_N "(cached) $ECHO_C" >&6 21807 @@ -13615,7 +14 512,7 @@24896 @@ -13615,7 +14623,7 @@ 21808 24897 ac_cv_prog_cc_stdc=no 21809 24898 ac_save_CC=$CC 21810 24899 cat >conftest.$ac_ext <<_ACEOF 21811 24900 -#line 13618 "configure" 21812 +#line 14 515"configure"24901 +#line 14626 "configure" 21813 24902 #include "confdefs.h" 21814 24903 #include <stdarg.h> 21815 24904 #include <stdio.h> 21816 @@ -13664,16 +14 561,16 @@24905 @@ -13664,16 +14672,16 @@ 21817 24906 do 21818 24907 CC="$ac_save_CC $ac_arg" 21819 24908 rm -f conftest.$ac_objext 21820 24909 -if { (eval echo "$as_me:13667: \"$ac_compile\"") >&5 21821 +if { (eval echo "$as_me:14 564: \"$ac_compile\"") >&524910 +if { (eval echo "$as_me:14675: \"$ac_compile\"") >&5 21822 24911 (eval $ac_compile) 2>&5 21823 24912 ac_status=$? 21824 24913 - echo "$as_me:13670: \$? = $ac_status" >&5 21825 + echo "$as_me:14 567: \$? = $ac_status" >&524914 + echo "$as_me:14678: \$? = $ac_status" >&5 21826 24915 (exit $ac_status); } && 21827 24916 { ac_try='test -s conftest.$ac_objext' 21828 24917 - { (eval echo "$as_me:13673: \"$ac_try\"") >&5 21829 + { (eval echo "$as_me:14 570: \"$ac_try\"") >&524918 + { (eval echo "$as_me:14681: \"$ac_try\"") >&5 21830 24919 (eval $ac_try) 2>&5 21831 24920 ac_status=$? 21832 24921 - echo "$as_me:13676: \$? = $ac_status" >&5 21833 + echo "$as_me:14 573: \$? = $ac_status" >&524922 + echo "$as_me:14684: \$? = $ac_status" >&5 21834 24923 (exit $ac_status); }; }; then 21835 24924 ac_cv_prog_cc_stdc=$ac_arg 21836 24925 break 21837 @@ -13690,21 +14 587,21 @@24926 @@ -13690,21 +14698,21 @@ 21838 24927 21839 24928 case "x$ac_cv_prog_cc_stdc" in 21840 24929 x|xno) 21841 24930 - echo "$as_me:13693: result: none needed" >&5 21842 + echo "$as_me:14 590: result: none needed" >&524931 + echo "$as_me:14701: result: none needed" >&5 21843 24932 echo "${ECHO_T}none needed" >&6 ;; 21844 24933 *) 21845 24934 - echo "$as_me:13696: result: $ac_cv_prog_cc_stdc" >&5 21846 + echo "$as_me:14 593: result: $ac_cv_prog_cc_stdc" >&524935 + echo "$as_me:14704: result: $ac_cv_prog_cc_stdc" >&5 21847 24936 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 21848 24937 CC="$CC $ac_cv_prog_cc_stdc" ;; … … 21850 24939 21851 24940 -echo "$as_me:13701: checking for an ANSI C-conforming const" >&5 21852 +echo "$as_me:14 598: checking for an ANSI C-conforming const" >&524941 +echo "$as_me:14709: checking for an ANSI C-conforming const" >&5 21853 24942 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 21854 24943 if test "${ac_cv_c_const+set}" = set; then … … 21857 24946 cat >conftest.$ac_ext <<_ACEOF 21858 24947 -#line 13707 "configure" 21859 +#line 14 604"configure"24948 +#line 14715 "configure" 21860 24949 #include "confdefs.h" 21861 24950 21862 24951 int 21863 @@ -13762,16 +14 659,16 @@24952 @@ -13762,16 +14770,16 @@ 21864 24953 } 21865 24954 _ACEOF 21866 24955 rm -f conftest.$ac_objext 21867 24956 -if { (eval echo "$as_me:13765: \"$ac_compile\"") >&5 21868 +if { (eval echo "$as_me:14 662: \"$ac_compile\"") >&524957 +if { (eval echo "$as_me:14773: \"$ac_compile\"") >&5 21869 24958 (eval $ac_compile) 2>&5 21870 24959 ac_status=$? 21871 24960 - echo "$as_me:13768: \$? = $ac_status" >&5 21872 + echo "$as_me:14 665: \$? = $ac_status" >&524961 + echo "$as_me:14776: \$? = $ac_status" >&5 21873 24962 (exit $ac_status); } && 21874 24963 { ac_try='test -s conftest.$ac_objext' 21875 24964 - { (eval echo "$as_me:13771: \"$ac_try\"") >&5 21876 + { (eval echo "$as_me:14 668: \"$ac_try\"") >&524965 + { (eval echo "$as_me:14779: \"$ac_try\"") >&5 21877 24966 (eval $ac_try) 2>&5 21878 24967 ac_status=$? 21879 24968 - echo "$as_me:13774: \$? = $ac_status" >&5 21880 + echo "$as_me:14 671: \$? = $ac_status" >&524969 + echo "$as_me:14782: \$? = $ac_status" >&5 21881 24970 (exit $ac_status); }; }; then 21882 24971 ac_cv_c_const=yes 21883 24972 else 21884 @@ -13781,7 +14 678,7 @@24973 @@ -13781,7 +14789,7 @@ 21885 24974 fi 21886 24975 rm -f conftest.$ac_objext conftest.$ac_ext 21887 24976 fi 21888 24977 -echo "$as_me:13784: result: $ac_cv_c_const" >&5 21889 +echo "$as_me:14 681: result: $ac_cv_c_const" >&524978 +echo "$as_me:14792: result: $ac_cv_c_const" >&5 21890 24979 echo "${ECHO_T}$ac_cv_c_const" >&6 21891 24980 if test $ac_cv_c_const = no; then 21892 24981 21893 @@ -13791,7 +14 688,7 @@24982 @@ -13791,7 +14799,7 @@ 21894 24983 21895 24984 fi 21896 24985 21897 24986 -echo "$as_me:13794: checking for inline" >&5 21898 +echo "$as_me:14 691: checking for inline" >&524987 +echo "$as_me:14802: checking for inline" >&5 21899 24988 echo $ECHO_N "checking for inline... $ECHO_C" >&6 21900 24989 if test "${ac_cv_c_inline+set}" = set; then 21901 24990 echo $ECHO_N "(cached) $ECHO_C" >&6 21902 @@ -13799,7 +14 696,7 @@24991 @@ -13799,7 +14807,7 @@ 21903 24992 ac_cv_c_inline=no 21904 24993 for ac_kw in inline __inline__ __inline; do 21905 24994 cat >conftest.$ac_ext <<_ACEOF 21906 24995 -#line 13802 "configure" 21907 +#line 14 699"configure"24996 +#line 14810 "configure" 21908 24997 #include "confdefs.h" 21909 24998 #ifndef __cplusplus 21910 24999 static $ac_kw int static_foo () {return 0; } 21911 @@ -13808,16 +14 705,16 @@25000 @@ -13808,16 +14816,16 @@ 21912 25001 21913 25002 _ACEOF 21914 25003 rm -f conftest.$ac_objext 21915 25004 -if { (eval echo "$as_me:13811: \"$ac_compile\"") >&5 21916 +if { (eval echo "$as_me:14 708: \"$ac_compile\"") >&525005 +if { (eval echo "$as_me:14819: \"$ac_compile\"") >&5 21917 25006 (eval $ac_compile) 2>&5 21918 25007 ac_status=$? 21919 25008 - echo "$as_me:13814: \$? = $ac_status" >&5 21920 + echo "$as_me:14 711: \$? = $ac_status" >&525009 + echo "$as_me:14822: \$? = $ac_status" >&5 21921 25010 (exit $ac_status); } && 21922 25011 { ac_try='test -s conftest.$ac_objext' 21923 25012 - { (eval echo "$as_me:13817: \"$ac_try\"") >&5 21924 + { (eval echo "$as_me:14 714: \"$ac_try\"") >&525013 + { (eval echo "$as_me:14825: \"$ac_try\"") >&5 21925 25014 (eval $ac_try) 2>&5 21926 25015 ac_status=$? 21927 25016 - echo "$as_me:13820: \$? = $ac_status" >&5 21928 + echo "$as_me:14 717: \$? = $ac_status" >&525017 + echo "$as_me:14828: \$? = $ac_status" >&5 21929 25018 (exit $ac_status); }; }; then 21930 25019 ac_cv_c_inline=$ac_kw; break 21931 25020 else 21932 @@ -13828,7 +14 725,7 @@25021 @@ -13828,7 +14836,7 @@ 21933 25022 done 21934 25023 21935 25024 fi 21936 25025 -echo "$as_me:13831: result: $ac_cv_c_inline" >&5 21937 +echo "$as_me:14 728: result: $ac_cv_c_inline" >&525026 +echo "$as_me:14839: result: $ac_cv_c_inline" >&5 21938 25027 echo "${ECHO_T}$ac_cv_c_inline" >&6 21939 25028 case $ac_cv_c_inline in 21940 25029 inline | yes) ;; 21941 @@ -13851,7 +14748,7 @@ 25030 @@ -13849,9 +14857,12 @@ 25031 if test "$INTEL_COMPILER" = yes 25032 then 21942 25033 : 25034 + elif test "$CLANG_COMPILER" = yes 25035 + then 25036 + : 21943 25037 elif test "$GCC" = yes 21944 25038 then 21945 25039 - echo "$as_me:13854: checking if $CC supports options to tune inlining" >&5 21946 + echo "$as_me:14 751: checking if $CC supports options to tune inlining" >&525040 + echo "$as_me:14865: checking if $CC supports options to tune inlining" >&5 21947 25041 echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 21948 25042 if test "${cf_cv_gcc_inline+set}" = set; then 21949 25043 echo $ECHO_N "(cached) $ECHO_C" >&6 21950 @@ -13860,7 +14 757,7 @@25044 @@ -13860,7 +14871,7 @@ 21951 25045 cf_save_CFLAGS=$CFLAGS 21952 25046 CFLAGS="$CFLAGS --param max-inline-insns-single=1200" 21953 25047 cat >conftest.$ac_ext <<_ACEOF 21954 25048 -#line 13863 "configure" 21955 +#line 14 760"configure"25049 +#line 14874 "configure" 21956 25050 #include "confdefs.h" 21957 25051 inline int foo(void) { return 1; } 21958 25052 int 21959 @@ -13872,16 +14 769,16 @@25053 @@ -13872,16 +14883,16 @@ 21960 25054 } 21961 25055 _ACEOF 21962 25056 rm -f conftest.$ac_objext 21963 25057 -if { (eval echo "$as_me:13875: \"$ac_compile\"") >&5 21964 +if { (eval echo "$as_me:14 772: \"$ac_compile\"") >&525058 +if { (eval echo "$as_me:14886: \"$ac_compile\"") >&5 21965 25059 (eval $ac_compile) 2>&5 21966 25060 ac_status=$? 21967 25061 - echo "$as_me:13878: \$? = $ac_status" >&5 21968 + echo "$as_me:14 775: \$? = $ac_status" >&525062 + echo "$as_me:14889: \$? = $ac_status" >&5 21969 25063 (exit $ac_status); } && 21970 25064 { ac_try='test -s conftest.$ac_objext' 21971 25065 - { (eval echo "$as_me:13881: \"$ac_try\"") >&5 21972 + { (eval echo "$as_me:14 778: \"$ac_try\"") >&525066 + { (eval echo "$as_me:14892: \"$ac_try\"") >&5 21973 25067 (eval $ac_try) 2>&5 21974 25068 ac_status=$? 21975 25069 - echo "$as_me:13884: \$? = $ac_status" >&5 21976 + echo "$as_me:14 781: \$? = $ac_status" >&525070 + echo "$as_me:14895: \$? = $ac_status" >&5 21977 25071 (exit $ac_status); }; }; then 21978 25072 cf_cv_gcc_inline=yes 21979 25073 else 21980 @@ -13893,7 +14 790,7 @@25074 @@ -13893,7 +14904,7 @@ 21981 25075 CFLAGS=$cf_save_CFLAGS 21982 25076 21983 25077 fi 21984 25078 -echo "$as_me:13896: result: $cf_cv_gcc_inline" >&5 21985 +echo "$as_me:14 793: result: $cf_cv_gcc_inline" >&525079 +echo "$as_me:14907: result: $cf_cv_gcc_inline" >&5 21986 25080 echo "${ECHO_T}$cf_cv_gcc_inline" >&6 21987 25081 if test "$cf_cv_gcc_inline" = yes ; then 21988 25082 21989 @@ -13979,7 +14 876,7 @@25083 @@ -13979,7 +14990,7 @@ 21990 25084 fi 21991 25085 fi 21992 25086 21993 25087 -echo "$as_me:13982: checking for signal global datatype" >&5 21994 +echo "$as_me:14 879: checking for signal global datatype" >&525088 +echo "$as_me:14993: checking for signal global datatype" >&5 21995 25089 echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 21996 25090 if test "${cf_cv_sig_atomic_t+set}" = set; then 21997 25091 echo $ECHO_N "(cached) $ECHO_C" >&6 21998 @@ -13991,7 +1 4888,7 @@25092 @@ -13991,7 +15002,7 @@ 21999 25093 "int" 22000 25094 do 22001 25095 cat >conftest.$ac_ext <<_ACEOF 22002 25096 -#line 13994 "configure" 22003 +#line 1 4891"configure"25097 +#line 15005 "configure" 22004 25098 #include "confdefs.h" 22005 25099 22006 25100 #include <sys/types.h> 22007 @@ -14014,16 +1 4911,16 @@25101 @@ -14014,16 +15025,16 @@ 22008 25102 } 22009 25103 _ACEOF 22010 25104 rm -f conftest.$ac_objext 22011 25105 -if { (eval echo "$as_me:14017: \"$ac_compile\"") >&5 22012 +if { (eval echo "$as_me:1 4914: \"$ac_compile\"") >&525106 +if { (eval echo "$as_me:15028: \"$ac_compile\"") >&5 22013 25107 (eval $ac_compile) 2>&5 22014 25108 ac_status=$? 22015 25109 - echo "$as_me:14020: \$? = $ac_status" >&5 22016 + echo "$as_me:1 4917: \$? = $ac_status" >&525110 + echo "$as_me:15031: \$? = $ac_status" >&5 22017 25111 (exit $ac_status); } && 22018 25112 { ac_try='test -s conftest.$ac_objext' 22019 25113 - { (eval echo "$as_me:14023: \"$ac_try\"") >&5 22020 + { (eval echo "$as_me:1 4920: \"$ac_try\"") >&525114 + { (eval echo "$as_me:15034: \"$ac_try\"") >&5 22021 25115 (eval $ac_try) 2>&5 22022 25116 ac_status=$? 22023 25117 - echo "$as_me:14026: \$? = $ac_status" >&5 22024 + echo "$as_me:1 4923: \$? = $ac_status" >&525118 + echo "$as_me:15037: \$? = $ac_status" >&5 22025 25119 (exit $ac_status); }; }; then 22026 25120 cf_cv_sig_atomic_t=$cf_type 22027 25121 else 22028 @@ -14037,7 +1 4934,7 @@25122 @@ -14037,7 +15048,7 @@ 22029 25123 22030 25124 fi 22031 25125 22032 25126 -echo "$as_me:14040: result: $cf_cv_sig_atomic_t" >&5 22033 +echo "$as_me:1 4937: result: $cf_cv_sig_atomic_t" >&525127 +echo "$as_me:15051: result: $cf_cv_sig_atomic_t" >&5 22034 25128 echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 22035 25129 test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <<EOF 22036 25130 #define SIG_ATOMIC_T $cf_cv_sig_atomic_t 22037 @@ -14045,7 +1 4942,7 @@25131 @@ -14045,7 +15056,7 @@ 22038 25132 22039 25133 if test $NCURSES_CHTYPE = auto ; then 22040 25134 22041 25135 -echo "$as_me:14048: checking for type of chtype" >&5 22042 +echo "$as_me:1 4945: checking for type of chtype" >&525136 +echo "$as_me:15059: checking for type of chtype" >&5 22043 25137 echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 22044 25138 if test "${cf_cv_typeof_chtype+set}" = set; then 22045 25139 echo $ECHO_N "(cached) $ECHO_C" >&6 22046 @@ -14055,7 +1 4952,7 @@25140 @@ -14055,7 +15066,7 @@ 22047 25141 cf_cv_typeof_chtype=long 22048 25142 else 22049 25143 cat >conftest.$ac_ext <<_ACEOF 22050 25144 -#line 14058 "configure" 22051 +#line 1 4955"configure"25145 +#line 15069 "configure" 22052 25146 #include "confdefs.h" 22053 25147 22054 25148 #define WANT_BITS 31 22055 @@ -14090,15 +1 4987,15 @@25149 @@ -14090,15 +15101,15 @@ 22056 25150 22057 25151 _ACEOF 22058 25152 rm -f conftest$ac_exeext 22059 25153 -if { (eval echo "$as_me:14093: \"$ac_link\"") >&5 22060 +if { (eval echo "$as_me:1 4990: \"$ac_link\"") >&525154 +if { (eval echo "$as_me:15104: \"$ac_link\"") >&5 22061 25155 (eval $ac_link) 2>&5 22062 25156 ac_status=$? 22063 25157 - echo "$as_me:14096: \$? = $ac_status" >&5 22064 + echo "$as_me:1 4993: \$? = $ac_status" >&525158 + echo "$as_me:15107: \$? = $ac_status" >&5 22065 25159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22066 25160 - { (eval echo "$as_me:14098: \"$ac_try\"") >&5 22067 + { (eval echo "$as_me:1 4995: \"$ac_try\"") >&525161 + { (eval echo "$as_me:15109: \"$ac_try\"") >&5 22068 25162 (eval $ac_try) 2>&5 22069 25163 ac_status=$? 22070 25164 - echo "$as_me:14101: \$? = $ac_status" >&5 22071 + echo "$as_me:1 4998: \$? = $ac_status" >&525165 + echo "$as_me:15112: \$? = $ac_status" >&5 22072 25166 (exit $ac_status); }; }; then 22073 25167 cf_cv_typeof_chtype=`cat cf_test.out` 22074 25168 else 22075 @@ -14113,7 +15 010,7 @@25169 @@ -14113,7 +15124,7 @@ 22076 25170 22077 25171 fi 22078 25172 22079 25173 -echo "$as_me:14116: result: $cf_cv_typeof_chtype" >&5 22080 +echo "$as_me:15 013: result: $cf_cv_typeof_chtype" >&525174 +echo "$as_me:15127: result: $cf_cv_typeof_chtype" >&5 22081 25175 echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 22082 25176 22083 25177 cat >>confdefs.h <<EOF 22084 @@ -14125,14 +15 022,14 @@25178 @@ -14125,14 +15136,14 @@ 22085 25179 fi 22086 25180 test "$cf_cv_typeof_chtype" = unsigned && cf_cv_typeof_chtype="" 22087 25181 22088 25182 -echo "$as_me:14128: checking if unsigned literals are legal" >&5 22089 +echo "$as_me:15 025: checking if unsigned literals are legal" >&525183 +echo "$as_me:15139: checking if unsigned literals are legal" >&5 22090 25184 echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 22091 25185 if test "${cf_cv_unsigned_literals+set}" = set; then … … 22095 25189 cat >conftest.$ac_ext <<_ACEOF 22096 25190 -#line 14135 "configure" 22097 +#line 15 032"configure"25191 +#line 15146 "configure" 22098 25192 #include "confdefs.h" 22099 25193 22100 25194 int 22101 @@ -14144,16 +15 041,16 @@25195 @@ -14144,16 +15155,16 @@ 22102 25196 } 22103 25197 _ACEOF 22104 25198 rm -f conftest.$ac_objext 22105 25199 -if { (eval echo "$as_me:14147: \"$ac_compile\"") >&5 22106 +if { (eval echo "$as_me:15 044: \"$ac_compile\"") >&525200 +if { (eval echo "$as_me:15158: \"$ac_compile\"") >&5 22107 25201 (eval $ac_compile) 2>&5 22108 25202 ac_status=$? 22109 25203 - echo "$as_me:14150: \$? = $ac_status" >&5 22110 + echo "$as_me:15 047: \$? = $ac_status" >&525204 + echo "$as_me:15161: \$? = $ac_status" >&5 22111 25205 (exit $ac_status); } && 22112 25206 { ac_try='test -s conftest.$ac_objext' 22113 25207 - { (eval echo "$as_me:14153: \"$ac_try\"") >&5 22114 + { (eval echo "$as_me:15 050: \"$ac_try\"") >&525208 + { (eval echo "$as_me:15164: \"$ac_try\"") >&5 22115 25209 (eval $ac_try) 2>&5 22116 25210 ac_status=$? 22117 25211 - echo "$as_me:14156: \$? = $ac_status" >&5 22118 + echo "$as_me:15 053: \$? = $ac_status" >&525212 + echo "$as_me:15167: \$? = $ac_status" >&5 22119 25213 (exit $ac_status); }; }; then 22120 25214 cf_cv_unsigned_literals=yes 22121 25215 else 22122 @@ -14165,7 +15 062,7 @@25216 @@ -14165,7 +15176,7 @@ 22123 25217 22124 25218 fi 22125 25219 22126 25220 -echo "$as_me:14168: result: $cf_cv_unsigned_literals" >&5 22127 +echo "$as_me:15 065: result: $cf_cv_unsigned_literals" >&525221 +echo "$as_me:15179: result: $cf_cv_unsigned_literals" >&5 22128 25222 echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 22129 25223 22130 25224 cf_cv_1UL="1" 22131 @@ -14181,14 +15 078,14 @@25225 @@ -14181,14 +15192,14 @@ 22132 25226 22133 25227 ### Checks for external-data 22134 25228 22135 25229 -echo "$as_me:14184: checking if external errno is declared" >&5 22136 +echo "$as_me:15 081: checking if external errno is declared" >&525230 +echo "$as_me:15195: checking if external errno is declared" >&5 22137 25231 echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 22138 25232 if test "${cf_cv_dcl_errno+set}" = set; then … … 22142 25236 cat >conftest.$ac_ext <<_ACEOF 22143 25237 -#line 14191 "configure" 22144 +#line 15 088"configure"25238 +#line 15202 "configure" 22145 25239 #include "confdefs.h" 22146 25240 22147 25241 #ifdef HAVE_STDLIB_H 22148 @@ -14206,16 +15 103,16 @@25242 @@ -14206,16 +15217,16 @@ 22149 25243 } 22150 25244 _ACEOF 22151 25245 rm -f conftest.$ac_objext 22152 25246 -if { (eval echo "$as_me:14209: \"$ac_compile\"") >&5 22153 +if { (eval echo "$as_me:15 106: \"$ac_compile\"") >&525247 +if { (eval echo "$as_me:15220: \"$ac_compile\"") >&5 22154 25248 (eval $ac_compile) 2>&5 22155 25249 ac_status=$? 22156 25250 - echo "$as_me:14212: \$? = $ac_status" >&5 22157 + echo "$as_me:15 109: \$? = $ac_status" >&525251 + echo "$as_me:15223: \$? = $ac_status" >&5 22158 25252 (exit $ac_status); } && 22159 25253 { ac_try='test -s conftest.$ac_objext' 22160 25254 - { (eval echo "$as_me:14215: \"$ac_try\"") >&5 22161 + { (eval echo "$as_me:15 112: \"$ac_try\"") >&525255 + { (eval echo "$as_me:15226: \"$ac_try\"") >&5 22162 25256 (eval $ac_try) 2>&5 22163 25257 ac_status=$? 22164 25258 - echo "$as_me:14218: \$? = $ac_status" >&5 22165 + echo "$as_me:15 115: \$? = $ac_status" >&525259 + echo "$as_me:15229: \$? = $ac_status" >&5 22166 25260 (exit $ac_status); }; }; then 22167 25261 cf_cv_dcl_errno=yes 22168 25262 else 22169 @@ -14226,7 +15 123,7 @@25263 @@ -14226,7 +15237,7 @@ 22170 25264 rm -f conftest.$ac_objext conftest.$ac_ext 22171 25265 22172 25266 fi 22173 25267 -echo "$as_me:14229: result: $cf_cv_dcl_errno" >&5 22174 +echo "$as_me:15 126: result: $cf_cv_dcl_errno" >&525268 +echo "$as_me:15240: result: $cf_cv_dcl_errno" >&5 22175 25269 echo "${ECHO_T}$cf_cv_dcl_errno" >&6 22176 25270 22177 25271 if test "$cf_cv_dcl_errno" = no ; then 22178 @@ -14241,14 +15 138,14 @@25272 @@ -14241,14 +15252,14 @@ 22179 25273 22180 25274 # It's possible (for near-UNIX clones) that the data doesn't exist 22181 25275 22182 25276 -echo "$as_me:14244: checking if external errno exists" >&5 22183 +echo "$as_me:15 141: checking if external errno exists" >&525277 +echo "$as_me:15255: checking if external errno exists" >&5 22184 25278 echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 22185 25279 if test "${cf_cv_have_errno+set}" = set; then … … 22189 25283 cat >conftest.$ac_ext <<_ACEOF 22190 25284 -#line 14251 "configure" 22191 +#line 15 148"configure"25285 +#line 15262 "configure" 22192 25286 #include "confdefs.h" 22193 25287 22194 25288 #undef errno 22195 @@ -14263,16 +15 160,16 @@25289 @@ -14263,16 +15274,16 @@ 22196 25290 } 22197 25291 _ACEOF 22198 25292 rm -f conftest.$ac_objext conftest$ac_exeext 22199 25293 -if { (eval echo "$as_me:14266: \"$ac_link\"") >&5 22200 +if { (eval echo "$as_me:15 163: \"$ac_link\"") >&525294 +if { (eval echo "$as_me:15277: \"$ac_link\"") >&5 22201 25295 (eval $ac_link) 2>&5 22202 25296 ac_status=$? 22203 25297 - echo "$as_me:14269: \$? = $ac_status" >&5 22204 + echo "$as_me:15 166: \$? = $ac_status" >&525298 + echo "$as_me:15280: \$? = $ac_status" >&5 22205 25299 (exit $ac_status); } && 22206 25300 { ac_try='test -s conftest$ac_exeext' 22207 25301 - { (eval echo "$as_me:14272: \"$ac_try\"") >&5 22208 + { (eval echo "$as_me:15 169: \"$ac_try\"") >&525302 + { (eval echo "$as_me:15283: \"$ac_try\"") >&5 22209 25303 (eval $ac_try) 2>&5 22210 25304 ac_status=$? 22211 25305 - echo "$as_me:14275: \$? = $ac_status" >&5 22212 + echo "$as_me:15 172: \$? = $ac_status" >&525306 + echo "$as_me:15286: \$? = $ac_status" >&5 22213 25307 (exit $ac_status); }; }; then 22214 25308 cf_cv_have_errno=yes 22215 25309 else 22216 @@ -14283,7 +15 180,7 @@25310 @@ -14283,7 +15294,7 @@ 22217 25311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22218 25312 22219 25313 fi 22220 25314 -echo "$as_me:14286: result: $cf_cv_have_errno" >&5 22221 +echo "$as_me:15 183: result: $cf_cv_have_errno" >&525315 +echo "$as_me:15297: result: $cf_cv_have_errno" >&5 22222 25316 echo "${ECHO_T}$cf_cv_have_errno" >&6 22223 25317 22224 25318 if test "$cf_cv_have_errno" = yes ; then 22225 @@ -14296,7 +15 193,7 @@25319 @@ -14296,7 +15307,7 @@ 22226 25320 22227 25321 fi 22228 25322 22229 25323 -echo "$as_me:14299: checking if data-only library module links" >&5 22230 +echo "$as_me:15 196: checking if data-only library module links" >&525324 +echo "$as_me:15310: checking if data-only library module links" >&5 22231 25325 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 22232 25326 if test "${cf_cv_link_dataonly+set}" = set; then 22233 25327 echo $ECHO_N "(cached) $ECHO_C" >&6 22234 @@ -14304,20 +15 201,20 @@25328 @@ -14304,20 +15315,20 @@ 22235 25329 22236 25330 rm -f conftest.a 22237 25331 cat >conftest.$ac_ext <<EOF 22238 25332 -#line 14307 "configure" 22239 +#line 15 204"configure"25333 +#line 15318 "configure" 22240 25334 int testdata[3] = { 123, 456, 789 }; 22241 25335 EOF 22242 25336 - if { (eval echo "$as_me:14310: \"$ac_compile\"") >&5 22243 + if { (eval echo "$as_me:15 207: \"$ac_compile\"") >&525337 + if { (eval echo "$as_me:15321: \"$ac_compile\"") >&5 22244 25338 (eval $ac_compile) 2>&5 22245 25339 ac_status=$? 22246 25340 - echo "$as_me:14313: \$? = $ac_status" >&5 22247 + echo "$as_me:15 210: \$? = $ac_status" >&525341 + echo "$as_me:15324: \$? = $ac_status" >&5 22248 25342 (exit $ac_status); } ; then 22249 25343 mv conftest.o data.o && \ … … 22253 25347 cat >conftest.$ac_ext <<EOF 22254 25348 -#line 14320 "configure" 22255 +#line 15 217"configure"25349 +#line 15331 "configure" 22256 25350 int testfunc() 22257 25351 { 22258 25352 #if defined(NeXT) 22259 @@ -14330,10 +15 227,10 @@25353 @@ -14330,10 +15341,10 @@ 22260 25354 #endif 22261 25355 } 22262 25356 EOF 22263 25357 - if { (eval echo "$as_me:14333: \"$ac_compile\"") >&5 22264 + if { (eval echo "$as_me:15 230: \"$ac_compile\"") >&525358 + if { (eval echo "$as_me:15344: \"$ac_compile\"") >&5 22265 25359 (eval $ac_compile) 2>&5 22266 25360 ac_status=$? 22267 25361 - echo "$as_me:14336: \$? = $ac_status" >&5 22268 + echo "$as_me:15 233: \$? = $ac_status" >&525362 + echo "$as_me:15347: \$? = $ac_status" >&5 22269 25363 (exit $ac_status); }; then 22270 25364 mv conftest.o func.o && \ 22271 25365 ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null 22272 @@ -14346,7 +15 243,7 @@25366 @@ -14346,7 +15357,7 @@ 22273 25367 cf_cv_link_dataonly=unknown 22274 25368 else 22275 25369 cat >conftest.$ac_ext <<_ACEOF 22276 25370 -#line 14349 "configure" 22277 +#line 15 246"configure"25371 +#line 15360 "configure" 22278 25372 #include "confdefs.h" 22279 25373 22280 25374 int main() 22281 @@ -14357,15 +15 254,15 @@25375 @@ -14357,15 +15368,15 @@ 22282 25376 22283 25377 _ACEOF 22284 25378 rm -f conftest$ac_exeext 22285 25379 -if { (eval echo "$as_me:14360: \"$ac_link\"") >&5 22286 +if { (eval echo "$as_me:15 257: \"$ac_link\"") >&525380 +if { (eval echo "$as_me:15371: \"$ac_link\"") >&5 22287 25381 (eval $ac_link) 2>&5 22288 25382 ac_status=$? 22289 25383 - echo "$as_me:14363: \$? = $ac_status" >&5 22290 + echo "$as_me:15 260: \$? = $ac_status" >&525384 + echo "$as_me:15374: \$? = $ac_status" >&5 22291 25385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22292 25386 - { (eval echo "$as_me:14365: \"$ac_try\"") >&5 22293 + { (eval echo "$as_me:15 262: \"$ac_try\"") >&525387 + { (eval echo "$as_me:15376: \"$ac_try\"") >&5 22294 25388 (eval $ac_try) 2>&5 22295 25389 ac_status=$? 22296 25390 - echo "$as_me:14368: \$? = $ac_status" >&5 22297 + echo "$as_me:15 265: \$? = $ac_status" >&525391 + echo "$as_me:15379: \$? = $ac_status" >&5 22298 25392 (exit $ac_status); }; }; then 22299 25393 cf_cv_link_dataonly=yes 22300 25394 else 22301 @@ -14380,7 +15 277,7 @@25395 @@ -14380,7 +15391,7 @@ 22302 25396 22303 25397 fi 22304 25398 22305 25399 -echo "$as_me:14383: result: $cf_cv_link_dataonly" >&5 22306 +echo "$as_me:15 280: result: $cf_cv_link_dataonly" >&525400 +echo "$as_me:15394: result: $cf_cv_link_dataonly" >&5 22307 25401 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 22308 25402 22309 25403 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 @@ 22311 25418 22312 25419 do 22313 25420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 22314 25421 -echo "$as_me:14418: checking for $ac_func" >&5 22315 +echo "$as_me:15 315: checking for $ac_func" >&525422 +echo "$as_me:15431: checking for $ac_func" >&5 22316 25423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 22317 25424 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 22320 25427 cat >conftest.$ac_ext <<_ACEOF 22321 25428 -#line 14424 "configure" 22322 +#line 15 321"configure"25429 +#line 15437 "configure" 22323 25430 #include "confdefs.h" 22324 25431 /* System header to define __stub macros and hopefully few prototypes, 22325 25432 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 @@ 22327 25443 } 22328 25444 _ACEOF 22329 25445 rm -f conftest.$ac_objext conftest$ac_exeext 22330 25446 -if { (eval echo "$as_me:14455: \"$ac_link\"") >&5 22331 +if { (eval echo "$as_me:15 352: \"$ac_link\"") >&525447 +if { (eval echo "$as_me:15468: \"$ac_link\"") >&5 22332 25448 (eval $ac_link) 2>&5 22333 25449 ac_status=$? 22334 25450 - echo "$as_me:14458: \$? = $ac_status" >&5 22335 + echo "$as_me:15 355: \$? = $ac_status" >&525451 + echo "$as_me:15471: \$? = $ac_status" >&5 22336 25452 (exit $ac_status); } && 22337 25453 { ac_try='test -s conftest$ac_exeext' 22338 25454 - { (eval echo "$as_me:14461: \"$ac_try\"") >&5 22339 + { (eval echo "$as_me:15 358: \"$ac_try\"") >&525455 + { (eval echo "$as_me:15474: \"$ac_try\"") >&5 22340 25456 (eval $ac_try) 2>&5 22341 25457 ac_status=$? 22342 25458 - echo "$as_me:14464: \$? = $ac_status" >&5 22343 + echo "$as_me:15 361: \$? = $ac_status" >&525459 + echo "$as_me:15477: \$? = $ac_status" >&5 22344 25460 (exit $ac_status); }; }; then 22345 25461 eval "$as_ac_var=yes" 22346 25462 else 22347 @@ -14471,7 +15 368,7 @@25463 @@ -14471,7 +15484,7 @@ 22348 25464 fi 22349 25465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22350 25466 fi 22351 25467 -echo "$as_me:14474: result: `eval echo '${'$as_ac_var'}'`" >&5 22352 +echo "$as_me:15 371: result: `eval echo '${'$as_ac_var'}'`" >&525468 +echo "$as_me:15487: result: `eval echo '${'$as_ac_var'}'`" >&5 22353 25469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 22354 25470 if test `eval echo '${'$as_ac_var'}'` = yes; then 22355 25471 cat >>confdefs.h <<EOF 22356 @@ -14483,14 +15 380,14@@25472 @@ -14483,14 +15496,70 @@ 22357 25473 22358 25474 if test "$with_getcap" = "yes" ; then 22359 25475 22360 25476 -echo "$as_me:14486: checking for terminal-capability database functions" >&5 22361 +echo "$as_me:15 383: checking for terminal-capability database functions" >&525477 +echo "$as_me:15499: checking for terminal-capability database functions" >&5 22362 25478 echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 22363 25479 if test "${cf_cv_cgetent+set}" = set; then … … 22367 25483 cat >conftest.$ac_ext <<_ACEOF 22368 25484 -#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" 22427 25486 +#include "confdefs.h" 22428 25487 + … … 22434 25493 + char temp[128]; 22435 25494 + 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; 22438 25496 + cgetent(&buf, &db_array, "vt100"); 22439 +#endif22440 25497 + cgetcap(buf, "tc", '='); 22441 25498 + cgetmatch(buf, "tc"); … … 22446 25503 +_ACEOF 22447 25504 +rm -f conftest.$ac_objext conftest$ac_exeext 22448 +if { (eval echo "$as_me:15 468: \"$ac_link\"") >&525505 +if { (eval echo "$as_me:15526: \"$ac_link\"") >&5 22449 25506 + (eval $ac_link) 2>&5 22450 25507 + ac_status=$? 22451 + echo "$as_me:15 471: \$? = $ac_status" >&525508 + echo "$as_me:15529: \$? = $ac_status" >&5 22452 25509 + (exit $ac_status); } && 22453 25510 + { ac_try='test -s conftest$ac_exeext' 22454 + { (eval echo "$as_me:15 474: \"$ac_try\"") >&525511 + { (eval echo "$as_me:15532: \"$ac_try\"") >&5 22455 25512 + (eval $ac_try) 2>&5 22456 25513 + ac_status=$? 22457 + echo "$as_me:15 477: \$? = $ac_status" >&525514 + echo "$as_me:15535: \$? = $ac_status" >&5 22458 25515 + (exit $ac_status); }; }; then 22459 + cf_cv_cgetent _const=yes25516 + cf_cv_cgetent=yes 22460 25517 +else 22461 25518 + echo "$as_me: failed program was:" >&5 22462 25519 +cat conftest.$ac_ext >&5 22463 +cf_cv_cgetent _const=no25520 +cf_cv_cgetent=no 22464 25521 +fi 22465 25522 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22466 25523 + 22467 25524 +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 22469 25594 +echo "${ECHO_T}$cf_cv_cgetent_const" >&6 22470 25595 + if test "$cf_cv_cgetent_const" = yes … … 22472 25597 + cat >>confdefs.h <<EOF 22473 25598 +#define CGETENT_CONST const 22474 +EOF22475 + 25599 EOF 25600 22476 25601 + fi 22477 25602 +fi … … 22480 25605 22481 25606 -echo "$as_me:14542: checking for isascii" >&5 22482 +echo "$as_me:15 501: checking for isascii" >&525607 +echo "$as_me:15617: checking for isascii" >&5 22483 25608 echo $ECHO_N "checking for isascii... $ECHO_C" >&6 22484 25609 if test "${cf_cv_have_isascii+set}" = set; then … … 22488 25613 cat >conftest.$ac_ext <<_ACEOF 22489 25614 -#line 14549 "configure" 22490 +#line 15 508"configure"25615 +#line 15624 "configure" 22491 25616 #include "confdefs.h" 22492 25617 #include <ctype.h> 22493 25618 int 22494 @@ -14558,16 +15 517,16 @@25619 @@ -14558,16 +15633,16 @@ 22495 25620 } 22496 25621 _ACEOF 22497 25622 rm -f conftest.$ac_objext conftest$ac_exeext 22498 25623 -if { (eval echo "$as_me:14561: \"$ac_link\"") >&5 22499 +if { (eval echo "$as_me:15 520: \"$ac_link\"") >&525624 +if { (eval echo "$as_me:15636: \"$ac_link\"") >&5 22500 25625 (eval $ac_link) 2>&5 22501 25626 ac_status=$? 22502 25627 - echo "$as_me:14564: \$? = $ac_status" >&5 22503 + echo "$as_me:15 523: \$? = $ac_status" >&525628 + echo "$as_me:15639: \$? = $ac_status" >&5 22504 25629 (exit $ac_status); } && 22505 25630 { ac_try='test -s conftest$ac_exeext' 22506 25631 - { (eval echo "$as_me:14567: \"$ac_try\"") >&5 22507 + { (eval echo "$as_me:15 526: \"$ac_try\"") >&525632 + { (eval echo "$as_me:15642: \"$ac_try\"") >&5 22508 25633 (eval $ac_try) 2>&5 22509 25634 ac_status=$? 22510 25635 - echo "$as_me:14570: \$? = $ac_status" >&5 22511 + echo "$as_me:15 529: \$? = $ac_status" >&525636 + echo "$as_me:15645: \$? = $ac_status" >&5 22512 25637 (exit $ac_status); }; }; then 22513 25638 cf_cv_have_isascii=yes 22514 25639 else 22515 @@ -14578,17 +15 537,17 @@25640 @@ -14578,17 +15653,17 @@ 22516 25641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22517 25642 22518 25643 fi 22519 25644 -echo "$as_me:14581: result: $cf_cv_have_isascii" >&5 22520 +echo "$as_me:15 540: result: $cf_cv_have_isascii" >&525645 +echo "$as_me:15656: result: $cf_cv_have_isascii" >&5 22521 25646 echo "${ECHO_T}$cf_cv_have_isascii" >&6 22522 25647 test "$cf_cv_have_isascii" = yes && cat >>confdefs.h <<\EOF … … 22526 25651 if test "$ac_cv_func_sigaction" = yes; then 22527 25652 -echo "$as_me:14588: checking whether sigaction needs _POSIX_SOURCE" >&5 22528 +echo "$as_me:15 547: checking whether sigaction needs _POSIX_SOURCE" >&525653 +echo "$as_me:15663: checking whether sigaction needs _POSIX_SOURCE" >&5 22529 25654 echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 22530 25655 cat >conftest.$ac_ext <<_ACEOF 22531 25656 -#line 14591 "configure" 22532 +#line 15 550"configure"25657 +#line 15666 "configure" 22533 25658 #include "confdefs.h" 22534 25659 22535 25660 #include <sys/types.h> 22536 @@ -14602,16 +15 561,16 @@25661 @@ -14602,16 +15677,16 @@ 22537 25662 } 22538 25663 _ACEOF 22539 25664 rm -f conftest.$ac_objext 22540 25665 -if { (eval echo "$as_me:14605: \"$ac_compile\"") >&5 22541 +if { (eval echo "$as_me:15 564: \"$ac_compile\"") >&525666 +if { (eval echo "$as_me:15680: \"$ac_compile\"") >&5 22542 25667 (eval $ac_compile) 2>&5 22543 25668 ac_status=$? 22544 25669 - echo "$as_me:14608: \$? = $ac_status" >&5 22545 + echo "$as_me:15 567: \$? = $ac_status" >&525670 + echo "$as_me:15683: \$? = $ac_status" >&5 22546 25671 (exit $ac_status); } && 22547 25672 { ac_try='test -s conftest.$ac_objext' 22548 25673 - { (eval echo "$as_me:14611: \"$ac_try\"") >&5 22549 + { (eval echo "$as_me:15 570: \"$ac_try\"") >&525674 + { (eval echo "$as_me:15686: \"$ac_try\"") >&5 22550 25675 (eval $ac_try) 2>&5 22551 25676 ac_status=$? 22552 25677 - echo "$as_me:14614: \$? = $ac_status" >&5 22553 + echo "$as_me:15 573: \$? = $ac_status" >&525678 + echo "$as_me:15689: \$? = $ac_status" >&5 22554 25679 (exit $ac_status); }; }; then 22555 25680 sigact_bad=no 22556 25681 else 22557 @@ -14619,7 +15 578,7 @@25682 @@ -14619,7 +15694,7 @@ 22558 25683 cat conftest.$ac_ext >&5 22559 25684 22560 25685 cat >conftest.$ac_ext <<_ACEOF 22561 25686 -#line 14622 "configure" 22562 +#line 15 581"configure"25687 +#line 15697 "configure" 22563 25688 #include "confdefs.h" 22564 25689 22565 25690 #define _POSIX_SOURCE 22566 @@ -14634,20 +15 593,20 @@25691 @@ -14634,20 +15709,20 @@ 22567 25692 } 22568 25693 _ACEOF 22569 25694 rm -f conftest.$ac_objext 22570 25695 -if { (eval echo "$as_me:14637: \"$ac_compile\"") >&5 22571 +if { (eval echo "$as_me:15 596: \"$ac_compile\"") >&525696 +if { (eval echo "$as_me:15712: \"$ac_compile\"") >&5 22572 25697 (eval $ac_compile) 2>&5 22573 25698 ac_status=$? 22574 25699 - echo "$as_me:14640: \$? = $ac_status" >&5 22575 + echo "$as_me:15 599: \$? = $ac_status" >&525700 + echo "$as_me:15715: \$? = $ac_status" >&5 22576 25701 (exit $ac_status); } && 22577 25702 { ac_try='test -s conftest.$ac_objext' 22578 25703 - { (eval echo "$as_me:14643: \"$ac_try\"") >&5 22579 + { (eval echo "$as_me:15 602: \"$ac_try\"") >&525704 + { (eval echo "$as_me:15718: \"$ac_try\"") >&5 22580 25705 (eval $ac_try) 2>&5 22581 25706 ac_status=$? 22582 25707 - echo "$as_me:14646: \$? = $ac_status" >&5 22583 + echo "$as_me:15 605: \$? = $ac_status" >&525708 + echo "$as_me:15721: \$? = $ac_status" >&5 22584 25709 (exit $ac_status); }; }; then 22585 25710 sigact_bad=yes … … 22590 25715 22591 25716 else 22592 @@ -14658,11 +15 617,11 @@25717 @@ -14658,11 +15733,11 @@ 22593 25718 rm -f conftest.$ac_objext conftest.$ac_ext 22594 25719 fi 22595 25720 rm -f conftest.$ac_objext conftest.$ac_ext 22596 25721 -echo "$as_me:14661: result: $sigact_bad" >&5 22597 +echo "$as_me:15 620: result: $sigact_bad" >&525722 +echo "$as_me:15736: result: $sigact_bad" >&5 22598 25723 echo "${ECHO_T}$sigact_bad" >&6 22599 25724 fi 22600 25725 22601 25726 -echo "$as_me:14665: checking if nanosleep really works" >&5 22602 +echo "$as_me:15 624: checking if nanosleep really works" >&525727 +echo "$as_me:15740: checking if nanosleep really works" >&5 22603 25728 echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 22604 25729 if test "${cf_cv_func_nanosleep+set}" = set; then 22605 25730 echo $ECHO_N "(cached) $ECHO_C" >&6 22606 @@ -14672,7 +15 631,7 @@25731 @@ -14672,7 +15747,7 @@ 22607 25732 cf_cv_func_nanosleep=unknown 22608 25733 else 22609 25734 cat >conftest.$ac_ext <<_ACEOF 22610 25735 -#line 14675 "configure" 22611 +#line 15 634"configure"25736 +#line 15750 "configure" 22612 25737 #include "confdefs.h" 22613 25738 22614 25739 #include <stdio.h> 22615 @@ -14697,15 +15 656,15 @@25740 @@ -14697,15 +15772,15 @@ 22616 25741 22617 25742 _ACEOF 22618 25743 rm -f conftest$ac_exeext 22619 25744 -if { (eval echo "$as_me:14700: \"$ac_link\"") >&5 22620 +if { (eval echo "$as_me:15 659: \"$ac_link\"") >&525745 +if { (eval echo "$as_me:15775: \"$ac_link\"") >&5 22621 25746 (eval $ac_link) 2>&5 22622 25747 ac_status=$? 22623 25748 - echo "$as_me:14703: \$? = $ac_status" >&5 22624 + echo "$as_me:15 662: \$? = $ac_status" >&525749 + echo "$as_me:15778: \$? = $ac_status" >&5 22625 25750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22626 25751 - { (eval echo "$as_me:14705: \"$ac_try\"") >&5 22627 + { (eval echo "$as_me:15 664: \"$ac_try\"") >&525752 + { (eval echo "$as_me:15780: \"$ac_try\"") >&5 22628 25753 (eval $ac_try) 2>&5 22629 25754 ac_status=$? 22630 25755 - echo "$as_me:14708: \$? = $ac_status" >&5 22631 + echo "$as_me:15 667: \$? = $ac_status" >&525756 + echo "$as_me:15783: \$? = $ac_status" >&5 22632 25757 (exit $ac_status); }; }; then 22633 25758 cf_cv_func_nanosleep=yes 22634 25759 else 22635 @@ -14717,7 +15 676,7 @@25760 @@ -14717,7 +15792,7 @@ 22636 25761 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22637 25762 fi 22638 25763 fi 22639 25764 -echo "$as_me:14720: result: $cf_cv_func_nanosleep" >&5 22640 +echo "$as_me:15 679: result: $cf_cv_func_nanosleep" >&525765 +echo "$as_me:15795: result: $cf_cv_func_nanosleep" >&5 22641 25766 echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 22642 25767 22643 25768 test "$cf_cv_func_nanosleep" = "yes" && cat >>confdefs.h <<\EOF 22644 @@ -14731,23 +15 690,23 @@25769 @@ -14731,23 +15806,23 @@ 22645 25770 22646 25771 do 22647 25772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22648 25773 -echo "$as_me:14734: checking for $ac_header" >&5 22649 +echo "$as_me:15 693: checking for $ac_header" >&525774 +echo "$as_me:15809: checking for $ac_header" >&5 22650 25775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22651 25776 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 22654 25779 cat >conftest.$ac_ext <<_ACEOF 22655 25780 -#line 14740 "configure" 22656 +#line 15 699"configure"25781 +#line 15815 "configure" 22657 25782 #include "confdefs.h" 22658 25783 #include <$ac_header> 22659 25784 _ACEOF 22660 25785 -if { (eval echo "$as_me:14744: \"$ac_cpp conftest.$ac_ext\"") >&5 22661 +if { (eval echo "$as_me:15 703: \"$ac_cpp conftest.$ac_ext\"") >&525786 +if { (eval echo "$as_me:15819: \"$ac_cpp conftest.$ac_ext\"") >&5 22662 25787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22663 25788 ac_status=$? … … 22666 25791 cat conftest.err >&5 22667 25792 - echo "$as_me:14750: \$? = $ac_status" >&5 22668 + echo "$as_me:15 709: \$? = $ac_status" >&525793 + echo "$as_me:15825: \$? = $ac_status" >&5 22669 25794 (exit $ac_status); } >/dev/null; then 22670 25795 if test -s conftest.err; then 22671 25796 ac_cpp_err=$ac_c_preproc_warn_flag 22672 @@ -14766,7 +15 725,7 @@25797 @@ -14766,7 +15841,7 @@ 22673 25798 fi 22674 25799 rm -f conftest.err conftest.$ac_ext 22675 25800 fi 22676 25801 -echo "$as_me:14769: result: `eval echo '${'$as_ac_Header'}'`" >&5 22677 +echo "$as_me:15 728: result: `eval echo '${'$as_ac_Header'}'`" >&525802 +echo "$as_me:15844: result: `eval echo '${'$as_ac_Header'}'`" >&5 22678 25803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22679 25804 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22680 25805 cat >>confdefs.h <<EOF 22681 @@ -14781,23 +15 740,23 @@25806 @@ -14781,23 +15856,23 @@ 22682 25807 for ac_header in sys/termio.h 22683 25808 do 22684 25809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22685 25810 -echo "$as_me:14784: checking for $ac_header" >&5 22686 +echo "$as_me:15 743: checking for $ac_header" >&525811 +echo "$as_me:15859: checking for $ac_header" >&5 22687 25812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22688 25813 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 22691 25816 cat >conftest.$ac_ext <<_ACEOF 22692 25817 -#line 14790 "configure" 22693 +#line 15 749"configure"25818 +#line 15865 "configure" 22694 25819 #include "confdefs.h" 22695 25820 #include <$ac_header> 22696 25821 _ACEOF 22697 25822 -if { (eval echo "$as_me:14794: \"$ac_cpp conftest.$ac_ext\"") >&5 22698 +if { (eval echo "$as_me:15 753: \"$ac_cpp conftest.$ac_ext\"") >&525823 +if { (eval echo "$as_me:15869: \"$ac_cpp conftest.$ac_ext\"") >&5 22699 25824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22700 25825 ac_status=$? … … 22703 25828 cat conftest.err >&5 22704 25829 - echo "$as_me:14800: \$? = $ac_status" >&5 22705 + echo "$as_me:15 759: \$? = $ac_status" >&525830 + echo "$as_me:15875: \$? = $ac_status" >&5 22706 25831 (exit $ac_status); } >/dev/null; then 22707 25832 if test -s conftest.err; then 22708 25833 ac_cpp_err=$ac_c_preproc_warn_flag 22709 @@ -14816,7 +15 775,7 @@25834 @@ -14816,7 +15891,7 @@ 22710 25835 fi 22711 25836 rm -f conftest.err conftest.$ac_ext 22712 25837 fi 22713 25838 -echo "$as_me:14819: result: `eval echo '${'$as_ac_Header'}'`" >&5 22714 +echo "$as_me:15 778: result: `eval echo '${'$as_ac_Header'}'`" >&525839 +echo "$as_me:15894: result: `eval echo '${'$as_ac_Header'}'`" >&5 22715 25840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22716 25841 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22717 25842 cat >>confdefs.h <<EOF 22718 @@ -14834,10 +15 793,10 @@25843 @@ -14834,10 +15909,10 @@ 22719 25844 *) termios_bad=maybe ;; 22720 25845 esac 22721 25846 if test "$termios_bad" = maybe ; then 22722 25847 - echo "$as_me:14837: checking whether termios.h needs _POSIX_SOURCE" >&5 22723 + echo "$as_me:15 796: checking whether termios.h needs _POSIX_SOURCE" >&525848 + echo "$as_me:15912: checking whether termios.h needs _POSIX_SOURCE" >&5 22724 25849 echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 22725 25850 cat >conftest.$ac_ext <<_ACEOF 22726 25851 -#line 14840 "configure" 22727 +#line 15 799"configure"25852 +#line 15915 "configure" 22728 25853 #include "confdefs.h" 22729 25854 #include <termios.h> 22730 25855 int 22731 @@ -14849,16 +15 808,16 @@25856 @@ -14849,16 +15924,16 @@ 22732 25857 } 22733 25858 _ACEOF 22734 25859 rm -f conftest.$ac_objext 22735 25860 -if { (eval echo "$as_me:14852: \"$ac_compile\"") >&5 22736 +if { (eval echo "$as_me:15 811: \"$ac_compile\"") >&525861 +if { (eval echo "$as_me:15927: \"$ac_compile\"") >&5 22737 25862 (eval $ac_compile) 2>&5 22738 25863 ac_status=$? 22739 25864 - echo "$as_me:14855: \$? = $ac_status" >&5 22740 + echo "$as_me:15 814: \$? = $ac_status" >&525865 + echo "$as_me:15930: \$? = $ac_status" >&5 22741 25866 (exit $ac_status); } && 22742 25867 { ac_try='test -s conftest.$ac_objext' 22743 25868 - { (eval echo "$as_me:14858: \"$ac_try\"") >&5 22744 + { (eval echo "$as_me:15 817: \"$ac_try\"") >&525869 + { (eval echo "$as_me:15933: \"$ac_try\"") >&5 22745 25870 (eval $ac_try) 2>&5 22746 25871 ac_status=$? 22747 25872 - echo "$as_me:14861: \$? = $ac_status" >&5 22748 + echo "$as_me:15 820: \$? = $ac_status" >&525873 + echo "$as_me:15936: \$? = $ac_status" >&5 22749 25874 (exit $ac_status); }; }; then 22750 25875 termios_bad=no 22751 25876 else 22752 @@ -14866,7 +15 825,7 @@25877 @@ -14866,7 +15941,7 @@ 22753 25878 cat conftest.$ac_ext >&5 22754 25879 22755 25880 cat >conftest.$ac_ext <<_ACEOF 22756 25881 -#line 14869 "configure" 22757 +#line 15 828"configure"25882 +#line 15944 "configure" 22758 25883 #include "confdefs.h" 22759 25884 22760 25885 #define _POSIX_SOURCE 22761 @@ -14880,23 +15 839,23 @@25886 @@ -14880,23 +15955,23 @@ 22762 25887 } 22763 25888 _ACEOF 22764 25889 rm -f conftest.$ac_objext 22765 25890 -if { (eval echo "$as_me:14883: \"$ac_compile\"") >&5 22766 +if { (eval echo "$as_me:15 842: \"$ac_compile\"") >&525891 +if { (eval echo "$as_me:15958: \"$ac_compile\"") >&5 22767 25892 (eval $ac_compile) 2>&5 22768 25893 ac_status=$? 22769 25894 - echo "$as_me:14886: \$? = $ac_status" >&5 22770 + echo "$as_me:15 845: \$? = $ac_status" >&525895 + echo "$as_me:15961: \$? = $ac_status" >&5 22771 25896 (exit $ac_status); } && 22772 25897 { ac_try='test -s conftest.$ac_objext' 22773 25898 - { (eval echo "$as_me:14889: \"$ac_try\"") >&5 22774 + { (eval echo "$as_me:15 848: \"$ac_try\"") >&525899 + { (eval echo "$as_me:15964: \"$ac_try\"") >&5 22775 25900 (eval $ac_try) 2>&5 22776 25901 ac_status=$? 22777 25902 - echo "$as_me:14892: \$? = $ac_status" >&5 22778 + echo "$as_me:15 851: \$? = $ac_status" >&525903 + echo "$as_me:15967: \$? = $ac_status" >&5 22779 25904 (exit $ac_status); }; }; then 22780 25905 termios_bad=unknown … … 22788 25913 22789 25914 fi 22790 @@ -14904,19 +15 863,19 @@25915 @@ -14904,19 +15979,19 @@ 22791 25916 22792 25917 fi 22793 25918 rm -f conftest.$ac_objext conftest.$ac_ext 22794 25919 - echo "$as_me:14907: result: $termios_bad" >&5 22795 + echo "$as_me:15 866: result: $termios_bad" >&525920 + echo "$as_me:15982: result: $termios_bad" >&5 22796 25921 echo "${ECHO_T}$termios_bad" >&6 22797 25922 fi … … 22799 25924 22800 25925 -echo "$as_me:14912: checking for tcgetattr" >&5 22801 +echo "$as_me:15 871: checking for tcgetattr" >&525926 +echo "$as_me:15987: checking for tcgetattr" >&5 22802 25927 echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 22803 25928 if test "${cf_cv_have_tcgetattr+set}" = set; then … … 22807 25932 cat >conftest.$ac_ext <<_ACEOF 22808 25933 -#line 14919 "configure" 22809 +#line 15 878"configure"25934 +#line 15994 "configure" 22810 25935 #include "confdefs.h" 22811 25936 22812 25937 #include <sys/types.h> 22813 @@ -14944,16 +1 5903,16 @@25938 @@ -14944,16 +16019,16 @@ 22814 25939 } 22815 25940 _ACEOF 22816 25941 rm -f conftest.$ac_objext conftest$ac_exeext 22817 25942 -if { (eval echo "$as_me:14947: \"$ac_link\"") >&5 22818 +if { (eval echo "$as_me:1 5906: \"$ac_link\"") >&525943 +if { (eval echo "$as_me:16022: \"$ac_link\"") >&5 22819 25944 (eval $ac_link) 2>&5 22820 25945 ac_status=$? 22821 25946 - echo "$as_me:14950: \$? = $ac_status" >&5 22822 + echo "$as_me:1 5909: \$? = $ac_status" >&525947 + echo "$as_me:16025: \$? = $ac_status" >&5 22823 25948 (exit $ac_status); } && 22824 25949 { ac_try='test -s conftest$ac_exeext' 22825 25950 - { (eval echo "$as_me:14953: \"$ac_try\"") >&5 22826 + { (eval echo "$as_me:1 5912: \"$ac_try\"") >&525951 + { (eval echo "$as_me:16028: \"$ac_try\"") >&5 22827 25952 (eval $ac_try) 2>&5 22828 25953 ac_status=$? 22829 25954 - echo "$as_me:14956: \$? = $ac_status" >&5 22830 + echo "$as_me:1 5915: \$? = $ac_status" >&525955 + echo "$as_me:16031: \$? = $ac_status" >&5 22831 25956 (exit $ac_status); }; }; then 22832 25957 cf_cv_have_tcgetattr=yes 22833 25958 else 22834 @@ -14963,20 +1 5922,20 @@25959 @@ -14963,20 +16038,20 @@ 22835 25960 fi 22836 25961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22837 25962 fi 22838 25963 -echo "$as_me:14966: result: $cf_cv_have_tcgetattr" >&5 22839 +echo "$as_me:1 5925: result: $cf_cv_have_tcgetattr" >&525964 +echo "$as_me:16041: result: $cf_cv_have_tcgetattr" >&5 22840 25965 echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 22841 25966 test "$cf_cv_have_tcgetattr" = yes && cat >>confdefs.h <<\EOF … … 22844 25969 22845 25970 -echo "$as_me:14972: checking for vsscanf function or workaround" >&5 22846 +echo "$as_me:1 5931: checking for vsscanf function or workaround" >&525971 +echo "$as_me:16047: checking for vsscanf function or workaround" >&5 22847 25972 echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 22848 25973 if test "${cf_cv_func_vsscanf+set}" = set; then … … 22852 25977 cat >conftest.$ac_ext <<_ACEOF 22853 25978 -#line 14979 "configure" 22854 +#line 1 5938"configure"25979 +#line 16054 "configure" 22855 25980 #include "confdefs.h" 22856 25981 22857 25982 #include <stdarg.h> 22858 @@ -14992,16 +1 5951,16 @@25983 @@ -14992,16 +16067,16 @@ 22859 25984 } 22860 25985 _ACEOF 22861 25986 rm -f conftest.$ac_objext conftest$ac_exeext 22862 25987 -if { (eval echo "$as_me:14995: \"$ac_link\"") >&5 22863 +if { (eval echo "$as_me:1 5954: \"$ac_link\"") >&525988 +if { (eval echo "$as_me:16070: \"$ac_link\"") >&5 22864 25989 (eval $ac_link) 2>&5 22865 25990 ac_status=$? 22866 25991 - echo "$as_me:14998: \$? = $ac_status" >&5 22867 + echo "$as_me:1 5957: \$? = $ac_status" >&525992 + echo "$as_me:16073: \$? = $ac_status" >&5 22868 25993 (exit $ac_status); } && 22869 25994 { ac_try='test -s conftest$ac_exeext' 22870 25995 - { (eval echo "$as_me:15001: \"$ac_try\"") >&5 22871 + { (eval echo "$as_me:1 5960: \"$ac_try\"") >&525996 + { (eval echo "$as_me:16076: \"$ac_try\"") >&5 22872 25997 (eval $ac_try) 2>&5 22873 25998 ac_status=$? 22874 25999 - echo "$as_me:15004: \$? = $ac_status" >&5 22875 + echo "$as_me:1 5963: \$? = $ac_status" >&526000 + echo "$as_me:16079: \$? = $ac_status" >&5 22876 26001 (exit $ac_status); }; }; then 22877 26002 cf_cv_func_vsscanf=vsscanf 22878 26003 else 22879 @@ -15009,7 +1 5968,7 @@26004 @@ -15009,7 +16084,7 @@ 22880 26005 cat conftest.$ac_ext >&5 22881 26006 22882 26007 cat >conftest.$ac_ext <<_ACEOF 22883 26008 -#line 15012 "configure" 22884 +#line 1 5971"configure"26009 +#line 16087 "configure" 22885 26010 #include "confdefs.h" 22886 26011 22887 26012 #include <stdarg.h> 22888 @@ -15031,16 +1 5990,16 @@26013 @@ -15031,16 +16106,16 @@ 22889 26014 } 22890 26015 _ACEOF 22891 26016 rm -f conftest.$ac_objext conftest$ac_exeext 22892 26017 -if { (eval echo "$as_me:15034: \"$ac_link\"") >&5 22893 +if { (eval echo "$as_me:1 5993: \"$ac_link\"") >&526018 +if { (eval echo "$as_me:16109: \"$ac_link\"") >&5 22894 26019 (eval $ac_link) 2>&5 22895 26020 ac_status=$? 22896 26021 - echo "$as_me:15037: \$? = $ac_status" >&5 22897 + echo "$as_me:1 5996: \$? = $ac_status" >&526022 + echo "$as_me:16112: \$? = $ac_status" >&5 22898 26023 (exit $ac_status); } && 22899 26024 { ac_try='test -s conftest$ac_exeext' 22900 26025 - { (eval echo "$as_me:15040: \"$ac_try\"") >&5 22901 + { (eval echo "$as_me:1 5999: \"$ac_try\"") >&526026 + { (eval echo "$as_me:16115: \"$ac_try\"") >&5 22902 26027 (eval $ac_try) 2>&5 22903 26028 ac_status=$? 22904 26029 - echo "$as_me:15043: \$? = $ac_status" >&5 22905 + echo "$as_me:16 002: \$? = $ac_status" >&526030 + echo "$as_me:16118: \$? = $ac_status" >&5 22906 26031 (exit $ac_status); }; }; then 22907 26032 cf_cv_func_vsscanf=vfscanf 22908 26033 else 22909 @@ -15048,7 +16 007,7 @@26034 @@ -15048,7 +16123,7 @@ 22910 26035 cat conftest.$ac_ext >&5 22911 26036 22912 26037 cat >conftest.$ac_ext <<_ACEOF 22913 26038 -#line 15051 "configure" 22914 +#line 16 010"configure"26039 +#line 16126 "configure" 22915 26040 #include "confdefs.h" 22916 26041 22917 26042 #include <stdarg.h> 22918 @@ -15070,16 +16 029,16 @@26043 @@ -15070,16 +16145,16 @@ 22919 26044 } 22920 26045 _ACEOF 22921 26046 rm -f conftest.$ac_objext conftest$ac_exeext 22922 26047 -if { (eval echo "$as_me:15073: \"$ac_link\"") >&5 22923 +if { (eval echo "$as_me:16 032: \"$ac_link\"") >&526048 +if { (eval echo "$as_me:16148: \"$ac_link\"") >&5 22924 26049 (eval $ac_link) 2>&5 22925 26050 ac_status=$? 22926 26051 - echo "$as_me:15076: \$? = $ac_status" >&5 22927 + echo "$as_me:16 035: \$? = $ac_status" >&526052 + echo "$as_me:16151: \$? = $ac_status" >&5 22928 26053 (exit $ac_status); } && 22929 26054 { ac_try='test -s conftest$ac_exeext' 22930 26055 - { (eval echo "$as_me:15079: \"$ac_try\"") >&5 22931 + { (eval echo "$as_me:16 038: \"$ac_try\"") >&526056 + { (eval echo "$as_me:16154: \"$ac_try\"") >&5 22932 26057 (eval $ac_try) 2>&5 22933 26058 ac_status=$? 22934 26059 - echo "$as_me:15082: \$? = $ac_status" >&5 22935 + echo "$as_me:16 041: \$? = $ac_status" >&526060 + echo "$as_me:16157: \$? = $ac_status" >&5 22936 26061 (exit $ac_status); }; }; then 22937 26062 cf_cv_func_vsscanf=_doscan 22938 26063 else 22939 @@ -15094,7 +16 053,7 @@26064 @@ -15094,7 +16169,7 @@ 22940 26065 fi 22941 26066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22942 26067 fi 22943 26068 -echo "$as_me:15097: result: $cf_cv_func_vsscanf" >&5 22944 +echo "$as_me:16 056: result: $cf_cv_func_vsscanf" >&526069 +echo "$as_me:16172: result: $cf_cv_func_vsscanf" >&5 22945 26070 echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 22946 26071 22947 26072 case $cf_cv_func_vsscanf in #(vi 22948 @@ -15112,7 +16 071,7 @@26073 @@ -15112,7 +16187,7 @@ 22949 26074 ;; 22950 26075 esac 22951 26076 22952 26077 -echo "$as_me:15115: checking for working mkstemp" >&5 22953 +echo "$as_me:16 074: checking for working mkstemp" >&526078 +echo "$as_me:16190: checking for working mkstemp" >&5 22954 26079 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 22955 26080 if test "${cf_cv_func_mkstemp+set}" = set; then 22956 26081 echo $ECHO_N "(cached) $ECHO_C" >&6 22957 @@ -15120, 13 +16079,13@@26082 @@ -15120,68 +16195,10 @@ 22958 26083 22959 26084 rm -rf conftest* 22960 26085 if test "$cross_compiling" = yes; then 22961 26086 - 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 22968 26092 -#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 22977 26123 -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=$? 22981 26126 - 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' 22985 26129 - { (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=$? 22989 26132 - 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 22998 26142 -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 23002 26146 else 23003 26147 cat >conftest.$ac_ext <<_ACEOF 23004 26148 -#line 15184 "configure" 23005 +#line 16 143"configure"26149 +#line 16201 "configure" 23006 26150 #include "confdefs.h" 23007 26151 23008 26152 #include <sys/types.h> 23009 @@ -15219,15 +16 178,15 @@26153 @@ -15219,15 +16236,15 @@ 23010 26154 23011 26155 _ACEOF 23012 26156 rm -f conftest$ac_exeext 23013 26157 -if { (eval echo "$as_me:15222: \"$ac_link\"") >&5 23014 +if { (eval echo "$as_me:16 181: \"$ac_link\"") >&526158 +if { (eval echo "$as_me:16239: \"$ac_link\"") >&5 23015 26159 (eval $ac_link) 2>&5 23016 26160 ac_status=$? 23017 26161 - echo "$as_me:15225: \$? = $ac_status" >&5 23018 + echo "$as_me:16 184: \$? = $ac_status" >&526162 + echo "$as_me:16242: \$? = $ac_status" >&5 23019 26163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23020 26164 - { (eval echo "$as_me:15227: \"$ac_try\"") >&5 23021 + { (eval echo "$as_me:16 186: \"$ac_try\"") >&526165 + { (eval echo "$as_me:16244: \"$ac_try\"") >&5 23022 26166 (eval $ac_try) 2>&5 23023 26167 ac_status=$? 23024 26168 - echo "$as_me:15230: \$? = $ac_status" >&5 23025 + echo "$as_me:16 189: \$? = $ac_status" >&526169 + echo "$as_me:16247: \$? = $ac_status" >&5 23026 26170 (exit $ac_status); }; }; then 23027 26171 cf_cv_func_mkstemp=yes 23028 26172 23029 @@ -15242, 7 +16201,7@@26173 @@ -15242,8 +16259,69 @@ 23030 26174 fi 23031 26175 23032 26176 fi 23033 26177 -echo "$as_me:15245: result: $cf_cv_func_mkstemp" >&5 23034 +echo "$as_me:162 04: result: $cf_cv_func_mkstemp" >&526178 +echo "$as_me:16262: result: $cf_cv_func_mkstemp" >&5 23035 26179 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 23036 26241 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then 23037 26242 cat >>confdefs.h <<\EOF 23038 @@ -15260,21 +16219,21 @@ 26243 #define HAVE_MKSTEMP 1 26244 @@ -15260,21 +16338,21 @@ 23039 26245 fi 23040 26246 23041 26247 if test "$cross_compiling" = yes ; then 23042 26248 - { echo "$as_me:15263: WARNING: cross compiling: assume setvbuf params not reversed" >&5 23043 + { echo "$as_me:16 222: WARNING: cross compiling: assume setvbuf params not reversed" >&526249 + { echo "$as_me:16341: WARNING: cross compiling: assume setvbuf params not reversed" >&5 23044 26250 echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} 23045 26251 else 23046 26252 - echo "$as_me:15266: checking whether setvbuf arguments are reversed" >&5 23047 + echo "$as_me:16 225: checking whether setvbuf arguments are reversed" >&526253 + echo "$as_me:16344: checking whether setvbuf arguments are reversed" >&5 23048 26254 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 23049 26255 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then … … 23052 26258 if test "$cross_compiling" = yes; then 23053 26259 - { { echo "$as_me:15272: error: cannot run test program while cross compiling" >&5 23054 + { { echo "$as_me:16 231: error: cannot run test program while cross compiling" >&526260 + { { echo "$as_me:16350: error: cannot run test program while cross compiling" >&5 23055 26261 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 23056 26262 { (exit 1); exit 1; }; } … … 23058 26264 cat >conftest.$ac_ext <<_ACEOF 23059 26265 -#line 15277 "configure" 23060 +#line 16 236"configure"26266 +#line 16355 "configure" 23061 26267 #include "confdefs.h" 23062 26268 #include <stdio.h> 23063 26269 /* If setvbuf has the reversed format, exit 0. */ 23064 @@ -15291,15 +16 250,15 @@26270 @@ -15291,15 +16369,15 @@ 23065 26271 } 23066 26272 _ACEOF 23067 26273 rm -f conftest$ac_exeext 23068 26274 -if { (eval echo "$as_me:15294: \"$ac_link\"") >&5 23069 +if { (eval echo "$as_me:16 253: \"$ac_link\"") >&526275 +if { (eval echo "$as_me:16372: \"$ac_link\"") >&5 23070 26276 (eval $ac_link) 2>&5 23071 26277 ac_status=$? 23072 26278 - echo "$as_me:15297: \$? = $ac_status" >&5 23073 + echo "$as_me:16 256: \$? = $ac_status" >&526279 + echo "$as_me:16375: \$? = $ac_status" >&5 23074 26280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23075 26281 - { (eval echo "$as_me:15299: \"$ac_try\"") >&5 23076 + { (eval echo "$as_me:16 258: \"$ac_try\"") >&526282 + { (eval echo "$as_me:16377: \"$ac_try\"") >&5 23077 26283 (eval $ac_try) 2>&5 23078 26284 ac_status=$? 23079 26285 - echo "$as_me:15302: \$? = $ac_status" >&5 23080 + echo "$as_me:16 261: \$? = $ac_status" >&526286 + echo "$as_me:16380: \$? = $ac_status" >&5 23081 26287 (exit $ac_status); }; }; then 23082 26288 ac_cv_func_setvbuf_reversed=yes 23083 26289 else 23084 @@ -15312,7 +16 271,7 @@26290 @@ -15312,7 +16390,7 @@ 23085 26291 fi 23086 26292 rm -f core core.* *.core 23087 26293 fi 23088 26294 -echo "$as_me:15315: result: $ac_cv_func_setvbuf_reversed" >&5 23089 +echo "$as_me:16 274: result: $ac_cv_func_setvbuf_reversed" >&526295 +echo "$as_me:16393: result: $ac_cv_func_setvbuf_reversed" >&5 23090 26296 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 23091 26297 if test $ac_cv_func_setvbuf_reversed = yes; then 23092 26298 23093 @@ -15323,13 +16 282,13 @@26299 @@ -15323,13 +16401,13 @@ 23094 26300 fi 23095 26301 23096 26302 fi 23097 26303 -echo "$as_me:15326: checking return type of signal handlers" >&5 23098 +echo "$as_me:16 285: checking return type of signal handlers" >&526304 +echo "$as_me:16404: checking return type of signal handlers" >&5 23099 26305 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 23100 26306 if test "${ac_cv_type_signal+set}" = set; then … … 23103 26309 cat >conftest.$ac_ext <<_ACEOF 23104 26310 -#line 15332 "configure" 23105 +#line 16 291"configure"26311 +#line 16410 "configure" 23106 26312 #include "confdefs.h" 23107 26313 #include <sys/types.h> 23108 26314 #include <signal.h> 23109 @@ -15351,16 +16 310,16 @@26315 @@ -15351,16 +16429,16 @@ 23110 26316 } 23111 26317 _ACEOF 23112 26318 rm -f conftest.$ac_objext 23113 26319 -if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5 23114 +if { (eval echo "$as_me:16 313: \"$ac_compile\"") >&526320 +if { (eval echo "$as_me:16432: \"$ac_compile\"") >&5 23115 26321 (eval $ac_compile) 2>&5 23116 26322 ac_status=$? 23117 26323 - echo "$as_me:15357: \$? = $ac_status" >&5 23118 + echo "$as_me:16 316: \$? = $ac_status" >&526324 + echo "$as_me:16435: \$? = $ac_status" >&5 23119 26325 (exit $ac_status); } && 23120 26326 { ac_try='test -s conftest.$ac_objext' 23121 26327 - { (eval echo "$as_me:15360: \"$ac_try\"") >&5 23122 + { (eval echo "$as_me:16 319: \"$ac_try\"") >&526328 + { (eval echo "$as_me:16438: \"$ac_try\"") >&5 23123 26329 (eval $ac_try) 2>&5 23124 26330 ac_status=$? 23125 26331 - echo "$as_me:15363: \$? = $ac_status" >&5 23126 + echo "$as_me:16 322: \$? = $ac_status" >&526332 + echo "$as_me:16441: \$? = $ac_status" >&5 23127 26333 (exit $ac_status); }; }; then 23128 26334 ac_cv_type_signal=void 23129 26335 else 23130 @@ -15370,21 +16 329,73 @@26336 @@ -15370,21 +16448,73 @@ 23131 26337 fi 23132 26338 rm -f conftest.$ac_objext conftest.$ac_ext 23133 26339 fi 23134 26340 -echo "$as_me:15373: result: $ac_cv_type_signal" >&5 23135 +echo "$as_me:16 332: result: $ac_cv_type_signal" >&526341 +echo "$as_me:16451: result: $ac_cv_type_signal" >&5 23136 26342 echo "${ECHO_T}$ac_cv_type_signal" >&6 23137 26343 … … 23141 26347 23142 26348 -echo "$as_me:15380: checking for type sigaction_t" >&5 23143 +echo "$as_me:16 339: checking for intptr_t" >&526349 +echo "$as_me:16458: checking for intptr_t" >&5 23144 26350 +echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 23145 26351 +if test "${ac_cv_type_intptr_t+set}" = set; then … … 23147 26353 +else 23148 26354 + cat >conftest.$ac_ext <<_ACEOF 23149 +#line 16 345"configure"26355 +#line 16464 "configure" 23150 26356 +#include "confdefs.h" 23151 26357 +$ac_includes_default … … 23162 26368 +_ACEOF 23163 26369 +rm -f conftest.$ac_objext 23164 +if { (eval echo "$as_me:16 360: \"$ac_compile\"") >&526370 +if { (eval echo "$as_me:16479: \"$ac_compile\"") >&5 23165 26371 + (eval $ac_compile) 2>&5 23166 26372 + ac_status=$? 23167 + echo "$as_me:16 363: \$? = $ac_status" >&526373 + echo "$as_me:16482: \$? = $ac_status" >&5 23168 26374 + (exit $ac_status); } && 23169 26375 + { ac_try='test -s conftest.$ac_objext' 23170 + { (eval echo "$as_me:16 366: \"$ac_try\"") >&526376 + { (eval echo "$as_me:16485: \"$ac_try\"") >&5 23171 26377 + (eval $ac_try) 2>&5 23172 26378 + ac_status=$? 23173 + echo "$as_me:16 369: \$? = $ac_status" >&526379 + echo "$as_me:16488: \$? = $ac_status" >&5 23174 26380 + (exit $ac_status); }; }; then 23175 26381 + ac_cv_type_intptr_t=yes … … 23181 26387 +rm -f conftest.$ac_objext conftest.$ac_ext 23182 26388 +fi 23183 +echo "$as_me:16 379: result: $ac_cv_type_intptr_t" >&526389 +echo "$as_me:16498: result: $ac_cv_type_intptr_t" >&5 23184 26390 +echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 23185 26391 +if test $ac_cv_type_intptr_t = yes; then … … 23193 26399 +fi 23194 26400 + 23195 +echo "$as_me:16 391: checking for type sigaction_t" >&526401 +echo "$as_me:16510: checking for type sigaction_t" >&5 23196 26402 echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 23197 26403 if test "${cf_cv_type_sigaction+set}" = set; then … … 23201 26407 cat >conftest.$ac_ext <<_ACEOF 23202 26408 -#line 15387 "configure" 23203 +#line 16 398"configure"26409 +#line 16517 "configure" 23204 26410 #include "confdefs.h" 23205 26411 23206 26412 #include <signal.h> 23207 @@ -15397,16 +16 408,16 @@26413 @@ -15397,16 +16527,16 @@ 23208 26414 } 23209 26415 _ACEOF 23210 26416 rm -f conftest.$ac_objext 23211 26417 -if { (eval echo "$as_me:15400: \"$ac_compile\"") >&5 23212 +if { (eval echo "$as_me:16 411: \"$ac_compile\"") >&526418 +if { (eval echo "$as_me:16530: \"$ac_compile\"") >&5 23213 26419 (eval $ac_compile) 2>&5 23214 26420 ac_status=$? 23215 26421 - echo "$as_me:15403: \$? = $ac_status" >&5 23216 + echo "$as_me:16 414: \$? = $ac_status" >&526422 + echo "$as_me:16533: \$? = $ac_status" >&5 23217 26423 (exit $ac_status); } && 23218 26424 { ac_try='test -s conftest.$ac_objext' 23219 26425 - { (eval echo "$as_me:15406: \"$ac_try\"") >&5 23220 + { (eval echo "$as_me:16 417: \"$ac_try\"") >&526426 + { (eval echo "$as_me:16536: \"$ac_try\"") >&5 23221 26427 (eval $ac_try) 2>&5 23222 26428 ac_status=$? 23223 26429 - echo "$as_me:15409: \$? = $ac_status" >&5 23224 + echo "$as_me:16 420: \$? = $ac_status" >&526430 + echo "$as_me:16539: \$? = $ac_status" >&5 23225 26431 (exit $ac_status); }; }; then 23226 26432 cf_cv_type_sigaction=yes 23227 26433 else 23228 @@ -15417,13 +16 428,13 @@26434 @@ -15417,13 +16547,13 @@ 23229 26435 rm -f conftest.$ac_objext conftest.$ac_ext 23230 26436 fi 23231 26437 23232 26438 -echo "$as_me:15420: result: $cf_cv_type_sigaction" >&5 23233 +echo "$as_me:16 431: result: $cf_cv_type_sigaction" >&526439 +echo "$as_me:16550: result: $cf_cv_type_sigaction" >&5 23234 26440 echo "${ECHO_T}$cf_cv_type_sigaction" >&6 23235 26441 test "$cf_cv_type_sigaction" = yes && cat >>confdefs.h <<\EOF … … 23238 26444 23239 26445 -echo "$as_me:15426: checking declaration of size-change" >&5 23240 +echo "$as_me:16 437: checking declaration of size-change" >&526446 +echo "$as_me:16556: checking declaration of size-change" >&5 23241 26447 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 23242 26448 if test "${cf_cv_sizechange+set}" = set; then 23243 26449 echo $ECHO_N "(cached) $ECHO_C" >&6 23244 @@ -15438,7 +16 449,7 @@26450 @@ -15438,7 +16568,7 @@ 23245 26451 CPPFLAGS="$cf_save_CPPFLAGS" 23246 26452 test -n "$cf_opts" && CPPFLAGS="$CPPFLAGS -D$cf_opts" 23247 26453 cat >conftest.$ac_ext <<_ACEOF 23248 26454 -#line 15441 "configure" 23249 +#line 16 452"configure"26455 +#line 16571 "configure" 23250 26456 #include "confdefs.h" 23251 26457 #include <sys/types.h> 23252 26458 #ifdef HAVE_TERMIOS_H 23253 @@ -15482,16 +16 493,16 @@26459 @@ -15482,16 +16612,16 @@ 23254 26460 } 23255 26461 _ACEOF 23256 26462 rm -f conftest.$ac_objext 23257 26463 -if { (eval echo "$as_me:15485: \"$ac_compile\"") >&5 23258 +if { (eval echo "$as_me:16 496: \"$ac_compile\"") >&526464 +if { (eval echo "$as_me:16615: \"$ac_compile\"") >&5 23259 26465 (eval $ac_compile) 2>&5 23260 26466 ac_status=$? 23261 26467 - echo "$as_me:15488: \$? = $ac_status" >&5 23262 + echo "$as_me:16 499: \$? = $ac_status" >&526468 + echo "$as_me:16618: \$? = $ac_status" >&5 23263 26469 (exit $ac_status); } && 23264 26470 { ac_try='test -s conftest.$ac_objext' 23265 26471 - { (eval echo "$as_me:15491: \"$ac_try\"") >&5 23266 + { (eval echo "$as_me:16 502: \"$ac_try\"") >&526472 + { (eval echo "$as_me:16621: \"$ac_try\"") >&5 23267 26473 (eval $ac_try) 2>&5 23268 26474 ac_status=$? 23269 26475 - echo "$as_me:15494: \$? = $ac_status" >&5 23270 + echo "$as_me:16 505: \$? = $ac_status" >&526476 + echo "$as_me:16624: \$? = $ac_status" >&5 23271 26477 (exit $ac_status); }; }; then 23272 26478 cf_cv_sizechange=yes 23273 26479 else 23274 @@ -15510,7 +16 521,7 @@26480 @@ -15510,7 +16640,7 @@ 23275 26481 done 23276 26482 23277 26483 fi 23278 26484 -echo "$as_me:15513: result: $cf_cv_sizechange" >&5 23279 +echo "$as_me:16 524: result: $cf_cv_sizechange" >&526485 +echo "$as_me:16643: result: $cf_cv_sizechange" >&5 23280 26486 echo "${ECHO_T}$cf_cv_sizechange" >&6 23281 26487 if test "$cf_cv_sizechange" != no ; then 23282 26488 cat >>confdefs.h <<\EOF 23283 @@ -15527,13 +16 538,13 @@26489 @@ -15527,13 +16657,13 @@ 23284 26490 esac 23285 26491 fi 23286 26492 23287 26493 -echo "$as_me:15530: checking for memmove" >&5 23288 +echo "$as_me:16 541: checking for memmove" >&526494 +echo "$as_me:16660: checking for memmove" >&5 23289 26495 echo $ECHO_N "checking for memmove... $ECHO_C" >&6 23290 26496 if test "${ac_cv_func_memmove+set}" = set; then … … 23293 26499 cat >conftest.$ac_ext <<_ACEOF 23294 26500 -#line 15536 "configure" 23295 +#line 16 547"configure"26501 +#line 16666 "configure" 23296 26502 #include "confdefs.h" 23297 26503 /* System header to define __stub macros and hopefully few prototypes, 23298 26504 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 @@ 23300 26515 } 23301 26516 _ACEOF 23302 26517 rm -f conftest.$ac_objext conftest$ac_exeext 23303 26518 -if { (eval echo "$as_me:15567: \"$ac_link\"") >&5 23304 +if { (eval echo "$as_me:16 578: \"$ac_link\"") >&526519 +if { (eval echo "$as_me:16697: \"$ac_link\"") >&5 23305 26520 (eval $ac_link) 2>&5 23306 26521 ac_status=$? 23307 26522 - echo "$as_me:15570: \$? = $ac_status" >&5 23308 + echo "$as_me:16 581: \$? = $ac_status" >&526523 + echo "$as_me:16700: \$? = $ac_status" >&5 23309 26524 (exit $ac_status); } && 23310 26525 { ac_try='test -s conftest$ac_exeext' 23311 26526 - { (eval echo "$as_me:15573: \"$ac_try\"") >&5 23312 + { (eval echo "$as_me:16 584: \"$ac_try\"") >&526527 + { (eval echo "$as_me:16703: \"$ac_try\"") >&5 23313 26528 (eval $ac_try) 2>&5 23314 26529 ac_status=$? 23315 26530 - echo "$as_me:15576: \$? = $ac_status" >&5 23316 + echo "$as_me:16 587: \$? = $ac_status" >&526531 + echo "$as_me:16706: \$? = $ac_status" >&5 23317 26532 (exit $ac_status); }; }; then 23318 26533 ac_cv_func_memmove=yes 23319 26534 else 23320 @@ -15583,19 +16 594,19 @@26535 @@ -15583,19 +16713,19 @@ 23321 26536 fi 23322 26537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23323 26538 fi 23324 26539 -echo "$as_me:15586: result: $ac_cv_func_memmove" >&5 23325 +echo "$as_me:16 597: result: $ac_cv_func_memmove" >&526540 +echo "$as_me:16716: result: $ac_cv_func_memmove" >&5 23326 26541 echo "${ECHO_T}$ac_cv_func_memmove" >&6 23327 26542 if test $ac_cv_func_memmove = yes; then … … 23330 26545 23331 26546 -echo "$as_me:15592: checking for bcopy" >&5 23332 +echo "$as_me:16 603: checking for bcopy" >&526547 +echo "$as_me:16722: checking for bcopy" >&5 23333 26548 echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 23334 26549 if test "${ac_cv_func_bcopy+set}" = set; then … … 23337 26552 cat >conftest.$ac_ext <<_ACEOF 23338 26553 -#line 15598 "configure" 23339 +#line 16 609"configure"26554 +#line 16728 "configure" 23340 26555 #include "confdefs.h" 23341 26556 /* System header to define __stub macros and hopefully few prototypes, 23342 26557 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 @@ 23344 26568 } 23345 26569 _ACEOF 23346 26570 rm -f conftest.$ac_objext conftest$ac_exeext 23347 26571 -if { (eval echo "$as_me:15629: \"$ac_link\"") >&5 23348 +if { (eval echo "$as_me:16 640: \"$ac_link\"") >&526572 +if { (eval echo "$as_me:16759: \"$ac_link\"") >&5 23349 26573 (eval $ac_link) 2>&5 23350 26574 ac_status=$? 23351 26575 - echo "$as_me:15632: \$? = $ac_status" >&5 23352 + echo "$as_me:16 643: \$? = $ac_status" >&526576 + echo "$as_me:16762: \$? = $ac_status" >&5 23353 26577 (exit $ac_status); } && 23354 26578 { ac_try='test -s conftest$ac_exeext' 23355 26579 - { (eval echo "$as_me:15635: \"$ac_try\"") >&5 23356 + { (eval echo "$as_me:16 646: \"$ac_try\"") >&526580 + { (eval echo "$as_me:16765: \"$ac_try\"") >&5 23357 26581 (eval $ac_try) 2>&5 23358 26582 ac_status=$? 23359 26583 - echo "$as_me:15638: \$? = $ac_status" >&5 23360 + echo "$as_me:16 649: \$? = $ac_status" >&526584 + echo "$as_me:16768: \$? = $ac_status" >&5 23361 26585 (exit $ac_status); }; }; then 23362 26586 ac_cv_func_bcopy=yes 23363 26587 else 23364 @@ -15645,11 +16 656,11 @@26588 @@ -15645,11 +16775,11 @@ 23365 26589 fi 23366 26590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23367 26591 fi 23368 26592 -echo "$as_me:15648: result: $ac_cv_func_bcopy" >&5 23369 +echo "$as_me:16 659: result: $ac_cv_func_bcopy" >&526593 +echo "$as_me:16778: result: $ac_cv_func_bcopy" >&5 23370 26594 echo "${ECHO_T}$ac_cv_func_bcopy" >&6 23371 26595 if test $ac_cv_func_bcopy = yes; then 23372 26596 23373 26597 - echo "$as_me:15652: checking if bcopy does overlapping moves" >&5 23374 + echo "$as_me:16 663: checking if bcopy does overlapping moves" >&526598 + echo "$as_me:16782: checking if bcopy does overlapping moves" >&5 23375 26599 echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 23376 26600 if test "${cf_cv_good_bcopy+set}" = set; then 23377 26601 echo $ECHO_N "(cached) $ECHO_C" >&6 23378 @@ -15659,7 +16 670,7 @@26602 @@ -15659,7 +16789,7 @@ 23379 26603 cf_cv_good_bcopy=unknown 23380 26604 else 23381 26605 cat >conftest.$ac_ext <<_ACEOF 23382 26606 -#line 15662 "configure" 23383 +#line 16 673"configure"26607 +#line 16792 "configure" 23384 26608 #include "confdefs.h" 23385 26609 23386 26610 int main() { 23387 @@ -15673,15 +16 684,15 @@26611 @@ -15673,15 +16803,15 @@ 23388 26612 23389 26613 _ACEOF 23390 26614 rm -f conftest$ac_exeext 23391 26615 -if { (eval echo "$as_me:15676: \"$ac_link\"") >&5 23392 +if { (eval echo "$as_me:16 687: \"$ac_link\"") >&526616 +if { (eval echo "$as_me:16806: \"$ac_link\"") >&5 23393 26617 (eval $ac_link) 2>&5 23394 26618 ac_status=$? 23395 26619 - echo "$as_me:15679: \$? = $ac_status" >&5 23396 + echo "$as_me:16 690: \$? = $ac_status" >&526620 + echo "$as_me:16809: \$? = $ac_status" >&5 23397 26621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23398 26622 - { (eval echo "$as_me:15681: \"$ac_try\"") >&5 23399 + { (eval echo "$as_me:16 692: \"$ac_try\"") >&526623 + { (eval echo "$as_me:16811: \"$ac_try\"") >&5 23400 26624 (eval $ac_try) 2>&5 23401 26625 ac_status=$? 23402 26626 - echo "$as_me:15684: \$? = $ac_status" >&5 23403 + echo "$as_me:16 695: \$? = $ac_status" >&526627 + echo "$as_me:16814: \$? = $ac_status" >&5 23404 26628 (exit $ac_status); }; }; then 23405 26629 cf_cv_good_bcopy=yes 23406 26630 else 23407 @@ -15694,7 +16 705,7 @@26631 @@ -15694,7 +16824,7 @@ 23408 26632 fi 23409 26633 23410 26634 fi 23411 26635 -echo "$as_me:15697: result: $cf_cv_good_bcopy" >&5 23412 +echo "$as_me:16 708: result: $cf_cv_good_bcopy" >&526636 +echo "$as_me:16827: result: $cf_cv_good_bcopy" >&5 23413 26637 echo "${ECHO_T}$cf_cv_good_bcopy" >&6 23414 26638 23415 26639 else 23416 @@ -15715,7 +16 726,7 @@26640 @@ -15715,7 +16845,7 @@ 23417 26641 23418 26642 fi 23419 26643 23420 26644 -echo "$as_me:15718: checking if poll really works" >&5 23421 +echo "$as_me:16 729: checking if poll really works" >&526645 +echo "$as_me:16848: checking if poll really works" >&5 23422 26646 echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 23423 26647 if test "${cf_cv_working_poll+set}" = set; then 23424 26648 echo $ECHO_N "(cached) $ECHO_C" >&6 23425 @@ -15725, 7 +16736,7@@26649 @@ -15725,10 +16855,13 @@ 23426 26650 cf_cv_working_poll=unknown 23427 26651 else 23428 26652 cat >conftest.$ac_ext <<_ACEOF 23429 26653 -#line 15728 "configure" 23430 +#line 16 739"configure"26654 +#line 16858 "configure" 23431 26655 #include "confdefs.h" 23432 26656 26657 +#include <stdlib.h> 23433 26658 #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); 23435 26698 } 23436 26699 _ACEOF 23437 26700 rm -f conftest$ac_exeext 23438 26701 -if { (eval echo "$as_me:15749: \"$ac_link\"") >&5 23439 +if { (eval echo "$as_me:16 760: \"$ac_link\"") >&526702 +if { (eval echo "$as_me:16905: \"$ac_link\"") >&5 23440 26703 (eval $ac_link) 2>&5 23441 26704 ac_status=$? 23442 26705 - echo "$as_me:15752: \$? = $ac_status" >&5 23443 + echo "$as_me:16 763: \$? = $ac_status" >&526706 + echo "$as_me:16908: \$? = $ac_status" >&5 23444 26707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23445 26708 - { (eval echo "$as_me:15754: \"$ac_try\"") >&5 23446 + { (eval echo "$as_me:16 765: \"$ac_try\"") >&526709 + { (eval echo "$as_me:16910: \"$ac_try\"") >&5 23447 26710 (eval $ac_try) 2>&5 23448 26711 ac_status=$? 23449 26712 - echo "$as_me:15757: \$? = $ac_status" >&5 23450 + echo "$as_me:16 768: \$? = $ac_status" >&526713 + echo "$as_me:16913: \$? = $ac_status" >&5 23451 26714 (exit $ac_status); }; }; then 23452 26715 cf_cv_working_poll=yes 23453 26716 else 23454 @@ -15766,20 +16 777,20 @@26717 @@ -15766,20 +16922,20 @@ 23455 26718 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23456 26719 fi 23457 26720 fi 23458 26721 -echo "$as_me:15769: result: $cf_cv_working_poll" >&5 23459 +echo "$as_me:16 780: result: $cf_cv_working_poll" >&526722 +echo "$as_me:16925: result: $cf_cv_working_poll" >&5 23460 26723 echo "${ECHO_T}$cf_cv_working_poll" >&6 23461 26724 test "$cf_cv_working_poll" = "yes" && cat >>confdefs.h <<\EOF … … 23464 26727 23465 26728 -echo "$as_me:15775: checking for va_copy" >&5 23466 +echo "$as_me:16 786: checking for va_copy" >&526729 +echo "$as_me:16931: checking for va_copy" >&5 23467 26730 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 23468 26731 if test "${cf_cv_have_va_copy+set}" = set; then … … 23472 26735 cat >conftest.$ac_ext <<_ACEOF 23473 26736 -#line 15782 "configure" 23474 +#line 16 793"configure"26737 +#line 16938 "configure" 23475 26738 #include "confdefs.h" 23476 26739 23477 26740 #include <stdarg.h> 23478 @@ -15796,16 +16 807,16 @@26741 @@ -15796,16 +16952,16 @@ 23479 26742 } 23480 26743 _ACEOF 23481 26744 rm -f conftest.$ac_objext conftest$ac_exeext 23482 26745 -if { (eval echo "$as_me:15799: \"$ac_link\"") >&5 23483 +if { (eval echo "$as_me:16 810: \"$ac_link\"") >&526746 +if { (eval echo "$as_me:16955: \"$ac_link\"") >&5 23484 26747 (eval $ac_link) 2>&5 23485 26748 ac_status=$? 23486 26749 - echo "$as_me:15802: \$? = $ac_status" >&5 23487 + echo "$as_me:16 813: \$? = $ac_status" >&526750 + echo "$as_me:16958: \$? = $ac_status" >&5 23488 26751 (exit $ac_status); } && 23489 26752 { ac_try='test -s conftest$ac_exeext' 23490 26753 - { (eval echo "$as_me:15805: \"$ac_try\"") >&5 23491 + { (eval echo "$as_me:16 816: \"$ac_try\"") >&526754 + { (eval echo "$as_me:16961: \"$ac_try\"") >&5 23492 26755 (eval $ac_try) 2>&5 23493 26756 ac_status=$? 23494 26757 - echo "$as_me:15808: \$? = $ac_status" >&5 23495 + echo "$as_me:16 819: \$? = $ac_status" >&526758 + echo "$as_me:16964: \$? = $ac_status" >&5 23496 26759 (exit $ac_status); }; }; then 23497 26760 cf_cv_have_va_copy=yes 23498 26761 else 23499 @@ -15815,21 +16 826,21 @@26762 @@ -15815,21 +16971,21 @@ 23500 26763 fi 23501 26764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23502 26765 fi 23503 26766 -echo "$as_me:15818: result: $cf_cv_have_va_copy" >&5 23504 +echo "$as_me:16 829: result: $cf_cv_have_va_copy" >&526767 +echo "$as_me:16974: result: $cf_cv_have_va_copy" >&5 23505 26768 echo "${ECHO_T}$cf_cv_have_va_copy" >&6 23506 26769 … … 23510 26773 23511 26774 -echo "$as_me:15825: checking for __va_copy" >&5 23512 +echo "$as_me:16 836: checking for __va_copy" >&526775 +echo "$as_me:16981: checking for __va_copy" >&5 23513 26776 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 23514 26777 if test "${cf_cv_have___va_copy+set}" = set; then … … 23518 26781 cat >conftest.$ac_ext <<_ACEOF 23519 26782 -#line 15832 "configure" 23520 +#line 16 843"configure"26783 +#line 16988 "configure" 23521 26784 #include "confdefs.h" 23522 26785 23523 26786 #include <stdarg.h> 23524 @@ -15846,16 +1 6857,16 @@26787 @@ -15846,16 +17002,16 @@ 23525 26788 } 23526 26789 _ACEOF 23527 26790 rm -f conftest.$ac_objext conftest$ac_exeext 23528 26791 -if { (eval echo "$as_me:15849: \"$ac_link\"") >&5 23529 +if { (eval echo "$as_me:1 6860: \"$ac_link\"") >&526792 +if { (eval echo "$as_me:17005: \"$ac_link\"") >&5 23530 26793 (eval $ac_link) 2>&5 23531 26794 ac_status=$? 23532 26795 - echo "$as_me:15852: \$? = $ac_status" >&5 23533 + echo "$as_me:1 6863: \$? = $ac_status" >&526796 + echo "$as_me:17008: \$? = $ac_status" >&5 23534 26797 (exit $ac_status); } && 23535 26798 { ac_try='test -s conftest$ac_exeext' 23536 26799 - { (eval echo "$as_me:15855: \"$ac_try\"") >&5 23537 + { (eval echo "$as_me:1 6866: \"$ac_try\"") >&526800 + { (eval echo "$as_me:17011: \"$ac_try\"") >&5 23538 26801 (eval $ac_try) 2>&5 23539 26802 ac_status=$? 23540 26803 - echo "$as_me:15858: \$? = $ac_status" >&5 23541 + echo "$as_me:1 6869: \$? = $ac_status" >&526804 + echo "$as_me:17014: \$? = $ac_status" >&5 23542 26805 (exit $ac_status); }; }; then 23543 26806 cf_cv_have___va_copy=yes 23544 26807 else 23545 @@ -15865,20 +1 6876,20 @@26808 @@ -15865,20 +17021,20 @@ 23546 26809 fi 23547 26810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23548 26811 fi 23549 26812 -echo "$as_me:15868: result: $cf_cv_have___va_copy" >&5 23550 +echo "$as_me:1 6879: result: $cf_cv_have___va_copy" >&526813 +echo "$as_me:17024: result: $cf_cv_have___va_copy" >&5 23551 26814 echo "${ECHO_T}$cf_cv_have___va_copy" >&6 23552 26815 … … 23556 26819 23557 26820 -echo "$as_me:15875: checking for pid_t" >&5 23558 +echo "$as_me:1 6886: checking for pid_t" >&526821 +echo "$as_me:17031: checking for pid_t" >&5 23559 26822 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 23560 26823 if test "${ac_cv_type_pid_t+set}" = set; then … … 23563 26826 cat >conftest.$ac_ext <<_ACEOF 23564 26827 -#line 15881 "configure" 23565 +#line 1 6892"configure"26828 +#line 17037 "configure" 23566 26829 #include "confdefs.h" 23567 26830 $ac_includes_default 23568 26831 int 23569 @@ -15893,16 +1 6904,16 @@26832 @@ -15893,16 +17049,16 @@ 23570 26833 } 23571 26834 _ACEOF 23572 26835 rm -f conftest.$ac_objext 23573 26836 -if { (eval echo "$as_me:15896: \"$ac_compile\"") >&5 23574 +if { (eval echo "$as_me:1 6907: \"$ac_compile\"") >&526837 +if { (eval echo "$as_me:17052: \"$ac_compile\"") >&5 23575 26838 (eval $ac_compile) 2>&5 23576 26839 ac_status=$? 23577 26840 - echo "$as_me:15899: \$? = $ac_status" >&5 23578 + echo "$as_me:1 6910: \$? = $ac_status" >&526841 + echo "$as_me:17055: \$? = $ac_status" >&5 23579 26842 (exit $ac_status); } && 23580 26843 { ac_try='test -s conftest.$ac_objext' 23581 26844 - { (eval echo "$as_me:15902: \"$ac_try\"") >&5 23582 + { (eval echo "$as_me:1 6913: \"$ac_try\"") >&526845 + { (eval echo "$as_me:17058: \"$ac_try\"") >&5 23583 26846 (eval $ac_try) 2>&5 23584 26847 ac_status=$? 23585 26848 - echo "$as_me:15905: \$? = $ac_status" >&5 23586 + echo "$as_me:1 6916: \$? = $ac_status" >&526849 + echo "$as_me:17061: \$? = $ac_status" >&5 23587 26850 (exit $ac_status); }; }; then 23588 26851 ac_cv_type_pid_t=yes 23589 26852 else 23590 @@ -15912,7 +1 6923,7 @@26853 @@ -15912,7 +17068,7 @@ 23591 26854 fi 23592 26855 rm -f conftest.$ac_objext conftest.$ac_ext 23593 26856 fi 23594 26857 -echo "$as_me:15915: result: $ac_cv_type_pid_t" >&5 23595 +echo "$as_me:1 6926: result: $ac_cv_type_pid_t" >&526858 +echo "$as_me:17071: result: $ac_cv_type_pid_t" >&5 23596 26859 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 23597 26860 if test $ac_cv_type_pid_t = yes; then 23598 26861 : 23599 @@ -15927,23 +1 6938,23 @@26862 @@ -15927,23 +17083,23 @@ 23600 26863 for ac_header in unistd.h vfork.h 23601 26864 do 23602 26865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23603 26866 -echo "$as_me:15930: checking for $ac_header" >&5 23604 +echo "$as_me:1 6941: checking for $ac_header" >&526867 +echo "$as_me:17086: checking for $ac_header" >&5 23605 26868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23606 26869 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 23609 26872 cat >conftest.$ac_ext <<_ACEOF 23610 26873 -#line 15936 "configure" 23611 +#line 1 6947"configure"26874 +#line 17092 "configure" 23612 26875 #include "confdefs.h" 23613 26876 #include <$ac_header> 23614 26877 _ACEOF 23615 26878 -if { (eval echo "$as_me:15940: \"$ac_cpp conftest.$ac_ext\"") >&5 23616 +if { (eval echo "$as_me:1 6951: \"$ac_cpp conftest.$ac_ext\"") >&526879 +if { (eval echo "$as_me:17096: \"$ac_cpp conftest.$ac_ext\"") >&5 23617 26880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23618 26881 ac_status=$? … … 23621 26884 cat conftest.err >&5 23622 26885 - echo "$as_me:15946: \$? = $ac_status" >&5 23623 + echo "$as_me:1 6957: \$? = $ac_status" >&526886 + echo "$as_me:17102: \$? = $ac_status" >&5 23624 26887 (exit $ac_status); } >/dev/null; then 23625 26888 if test -s conftest.err; then 23626 26889 ac_cpp_err=$ac_c_preproc_warn_flag 23627 @@ -15962,7 +1 6973,7 @@26890 @@ -15962,7 +17118,7 @@ 23628 26891 fi 23629 26892 rm -f conftest.err conftest.$ac_ext 23630 26893 fi 23631 26894 -echo "$as_me:15965: result: `eval echo '${'$as_ac_Header'}'`" >&5 23632 +echo "$as_me:1 6976: result: `eval echo '${'$as_ac_Header'}'`" >&526895 +echo "$as_me:17121: result: `eval echo '${'$as_ac_Header'}'`" >&5 23633 26896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23634 26897 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23635 26898 cat >>confdefs.h <<EOF 23636 @@ -15975,13 +1 6986,13 @@26899 @@ -15975,13 +17131,13 @@ 23637 26900 for ac_func in fork vfork 23638 26901 do 23639 26902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 23640 26903 -echo "$as_me:15978: checking for $ac_func" >&5 23641 +echo "$as_me:1 6989: checking for $ac_func" >&526904 +echo "$as_me:17134: checking for $ac_func" >&5 23642 26905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 23643 26906 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 23646 26909 cat >conftest.$ac_ext <<_ACEOF 23647 26910 -#line 15984 "configure" 23648 +#line 1 6995"configure"26911 +#line 17140 "configure" 23649 26912 #include "confdefs.h" 23650 26913 /* System header to define __stub macros and hopefully few prototypes, 23651 26914 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 @@ 23653 26925 } 23654 26926 _ACEOF 23655 26927 rm -f conftest.$ac_objext conftest$ac_exeext 23656 26928 -if { (eval echo "$as_me:16015: \"$ac_link\"") >&5 23657 +if { (eval echo "$as_me:17 026: \"$ac_link\"") >&526929 +if { (eval echo "$as_me:17171: \"$ac_link\"") >&5 23658 26930 (eval $ac_link) 2>&5 23659 26931 ac_status=$? 23660 26932 - echo "$as_me:16018: \$? = $ac_status" >&5 23661 + echo "$as_me:17 029: \$? = $ac_status" >&526933 + echo "$as_me:17174: \$? = $ac_status" >&5 23662 26934 (exit $ac_status); } && 23663 26935 { ac_try='test -s conftest$ac_exeext' 23664 26936 - { (eval echo "$as_me:16021: \"$ac_try\"") >&5 23665 + { (eval echo "$as_me:17 032: \"$ac_try\"") >&526937 + { (eval echo "$as_me:17177: \"$ac_try\"") >&5 23666 26938 (eval $ac_try) 2>&5 23667 26939 ac_status=$? 23668 26940 - echo "$as_me:16024: \$? = $ac_status" >&5 23669 + echo "$as_me:17 035: \$? = $ac_status" >&526941 + echo "$as_me:17180: \$? = $ac_status" >&5 23670 26942 (exit $ac_status); }; }; then 23671 26943 eval "$as_ac_var=yes" 23672 26944 else 23673 @@ -16031,7 +17 042,7 @@26945 @@ -16031,7 +17187,7 @@ 23674 26946 fi 23675 26947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23676 26948 fi 23677 26949 -echo "$as_me:16034: result: `eval echo '${'$as_ac_var'}'`" >&5 23678 +echo "$as_me:17 045: result: `eval echo '${'$as_ac_var'}'`" >&526950 +echo "$as_me:17190: result: `eval echo '${'$as_ac_var'}'`" >&5 23679 26951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 23680 26952 if test `eval echo '${'$as_ac_var'}'` = yes; then 23681 26953 cat >>confdefs.h <<EOF 23682 @@ -16043,7 +17 054,7 @@26954 @@ -16043,7 +17199,7 @@ 23683 26955 23684 26956 ac_cv_func_fork_works=$ac_cv_func_fork 23685 26957 if test "x$ac_cv_func_fork" = xyes; then 23686 26958 - echo "$as_me:16046: checking for working fork" >&5 23687 + echo "$as_me:17 057: checking for working fork" >&526959 + echo "$as_me:17202: checking for working fork" >&5 23688 26960 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 23689 26961 if test "${ac_cv_func_fork_works+set}" = set; then 23690 26962 echo $ECHO_N "(cached) $ECHO_C" >&6 23691 @@ -16066,15 +17 077,15 @@26963 @@ -16066,15 +17222,15 @@ 23692 26964 } 23693 26965 _ACEOF 23694 26966 rm -f conftest$ac_exeext 23695 26967 -if { (eval echo "$as_me:16069: \"$ac_link\"") >&5 23696 +if { (eval echo "$as_me:17 080: \"$ac_link\"") >&526968 +if { (eval echo "$as_me:17225: \"$ac_link\"") >&5 23697 26969 (eval $ac_link) 2>&5 23698 26970 ac_status=$? 23699 26971 - echo "$as_me:16072: \$? = $ac_status" >&5 23700 + echo "$as_me:17 083: \$? = $ac_status" >&526972 + echo "$as_me:17228: \$? = $ac_status" >&5 23701 26973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23702 26974 - { (eval echo "$as_me:16074: \"$ac_try\"") >&5 23703 + { (eval echo "$as_me:17 085: \"$ac_try\"") >&526975 + { (eval echo "$as_me:17230: \"$ac_try\"") >&5 23704 26976 (eval $ac_try) 2>&5 23705 26977 ac_status=$? 23706 26978 - echo "$as_me:16077: \$? = $ac_status" >&5 23707 + echo "$as_me:17 088: \$? = $ac_status" >&526979 + echo "$as_me:17233: \$? = $ac_status" >&5 23708 26980 (exit $ac_status); }; }; then 23709 26981 ac_cv_func_fork_works=yes 23710 26982 else 23711 @@ -16086,7 +17 097,7 @@26983 @@ -16086,7 +17242,7 @@ 23712 26984 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23713 26985 fi 23714 26986 fi 23715 26987 -echo "$as_me:16089: result: $ac_cv_func_fork_works" >&5 23716 +echo "$as_me:17 100: result: $ac_cv_func_fork_works" >&526988 +echo "$as_me:17245: result: $ac_cv_func_fork_works" >&5 23717 26989 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 23718 26990 23719 26991 fi 23720 @@ -16100,12 +17 111,12 @@26992 @@ -16100,12 +17256,12 @@ 23721 26993 ac_cv_func_fork_works=yes 23722 26994 ;; 23723 26995 esac 23724 26996 - { echo "$as_me:16103: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 23725 + { echo "$as_me:17 114: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&526997 + { echo "$as_me:17259: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 23726 26998 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 23727 26999 fi … … 23729 27001 if test "x$ac_cv_func_vfork" = xyes; then 23730 27002 - echo "$as_me:16108: checking for working vfork" >&5 23731 + echo "$as_me:17 119: checking for working vfork" >&527003 + echo "$as_me:17264: checking for working vfork" >&5 23732 27004 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 23733 27005 if test "${ac_cv_func_vfork_works+set}" = set; then 23734 27006 echo $ECHO_N "(cached) $ECHO_C" >&6 23735 @@ -16114,7 +17 125,7 @@27007 @@ -16114,7 +17270,7 @@ 23736 27008 ac_cv_func_vfork_works=cross 23737 27009 else 23738 27010 cat >conftest.$ac_ext <<_ACEOF 23739 27011 -#line 16117 "configure" 23740 +#line 17 128"configure"27012 +#line 17273 "configure" 23741 27013 #include "confdefs.h" 23742 27014 /* Thanks to Paul Eggert for this test. */ 23743 27015 #include <stdio.h> 23744 @@ -16211,15 +17 222,15 @@27016 @@ -16211,15 +17367,15 @@ 23745 27017 } 23746 27018 _ACEOF 23747 27019 rm -f conftest$ac_exeext 23748 27020 -if { (eval echo "$as_me:16214: \"$ac_link\"") >&5 23749 +if { (eval echo "$as_me:17 225: \"$ac_link\"") >&527021 +if { (eval echo "$as_me:17370: \"$ac_link\"") >&5 23750 27022 (eval $ac_link) 2>&5 23751 27023 ac_status=$? 23752 27024 - echo "$as_me:16217: \$? = $ac_status" >&5 23753 + echo "$as_me:17 228: \$? = $ac_status" >&527025 + echo "$as_me:17373: \$? = $ac_status" >&5 23754 27026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23755 27027 - { (eval echo "$as_me:16219: \"$ac_try\"") >&5 23756 + { (eval echo "$as_me:17 230: \"$ac_try\"") >&527028 + { (eval echo "$as_me:17375: \"$ac_try\"") >&5 23757 27029 (eval $ac_try) 2>&5 23758 27030 ac_status=$? 23759 27031 - echo "$as_me:16222: \$? = $ac_status" >&5 23760 + echo "$as_me:17 233: \$? = $ac_status" >&527032 + echo "$as_me:17378: \$? = $ac_status" >&5 23761 27033 (exit $ac_status); }; }; then 23762 27034 ac_cv_func_vfork_works=yes 23763 27035 else 23764 @@ -16231,13 +17 242,13 @@27036 @@ -16231,13 +17387,13 @@ 23765 27037 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23766 27038 fi 23767 27039 fi 23768 27040 -echo "$as_me:16234: result: $ac_cv_func_vfork_works" >&5 23769 +echo "$as_me:17 245: result: $ac_cv_func_vfork_works" >&527041 +echo "$as_me:17390: result: $ac_cv_func_vfork_works" >&5 23770 27042 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 23771 27043 … … 23774 27046 ac_cv_func_vfork_works=ac_cv_func_vfork 23775 27047 - { echo "$as_me:16240: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 23776 + { echo "$as_me:17 251: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&527048 + { echo "$as_me:17396: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 23777 27049 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 23778 27050 fi 23779 27051 23780 @@ -16264,7 +17 275,7 @@27052 @@ -16264,7 +17420,7 @@ 23781 27053 23782 27054 # special check for test/ditto.c 23783 27055 23784 27056 -echo "$as_me:16267: checking for openpty in -lutil" >&5 23785 +echo "$as_me:17 278: checking for openpty in -lutil" >&527057 +echo "$as_me:17423: checking for openpty in -lutil" >&5 23786 27058 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 23787 27059 if test "${ac_cv_lib_util_openpty+set}" = set; then 23788 27060 echo $ECHO_N "(cached) $ECHO_C" >&6 23789 @@ -16272,7 +17 283,7 @@27061 @@ -16272,7 +17428,7 @@ 23790 27062 ac_check_lib_save_LIBS=$LIBS 23791 27063 LIBS="-lutil $LIBS" 23792 27064 cat >conftest.$ac_ext <<_ACEOF 23793 27065 -#line 16275 "configure" 23794 +#line 17 286"configure"27066 +#line 17431 "configure" 23795 27067 #include "confdefs.h" 23796 27068 23797 27069 /* Override any gcc2 internal prototype to avoid an error. */ 23798 @@ -16291,16 +17 302,16 @@27070 @@ -16291,16 +17447,16 @@ 23799 27071 } 23800 27072 _ACEOF 23801 27073 rm -f conftest.$ac_objext conftest$ac_exeext 23802 27074 -if { (eval echo "$as_me:16294: \"$ac_link\"") >&5 23803 +if { (eval echo "$as_me:17 305: \"$ac_link\"") >&527075 +if { (eval echo "$as_me:17450: \"$ac_link\"") >&5 23804 27076 (eval $ac_link) 2>&5 23805 27077 ac_status=$? 23806 27078 - echo "$as_me:16297: \$? = $ac_status" >&5 23807 + echo "$as_me:17 308: \$? = $ac_status" >&527079 + echo "$as_me:17453: \$? = $ac_status" >&5 23808 27080 (exit $ac_status); } && 23809 27081 { ac_try='test -s conftest$ac_exeext' 23810 27082 - { (eval echo "$as_me:16300: \"$ac_try\"") >&5 23811 + { (eval echo "$as_me:17 311: \"$ac_try\"") >&527083 + { (eval echo "$as_me:17456: \"$ac_try\"") >&5 23812 27084 (eval $ac_try) 2>&5 23813 27085 ac_status=$? 23814 27086 - echo "$as_me:16303: \$? = $ac_status" >&5 23815 + echo "$as_me:17 314: \$? = $ac_status" >&527087 + echo "$as_me:17459: \$? = $ac_status" >&5 23816 27088 (exit $ac_status); }; }; then 23817 27089 ac_cv_lib_util_openpty=yes 23818 27090 else 23819 @@ -16311,7 +17 322,7 @@27091 @@ -16311,7 +17467,7 @@ 23820 27092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 23821 27093 LIBS=$ac_check_lib_save_LIBS 23822 27094 fi 23823 27095 -echo "$as_me:16314: result: $ac_cv_lib_util_openpty" >&5 23824 +echo "$as_me:17 325: result: $ac_cv_lib_util_openpty" >&527096 +echo "$as_me:17470: result: $ac_cv_lib_util_openpty" >&5 23825 27097 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 23826 27098 if test $ac_cv_lib_util_openpty = yes; then 23827 27099 cf_cv_lib_util=yes 23828 @@ -16319,7 +17 330,7 @@27100 @@ -16319,7 +17475,7 @@ 23829 27101 cf_cv_lib_util=no 23830 27102 fi 23831 27103 23832 27104 -echo "$as_me:16322: checking for openpty header" >&5 23833 +echo "$as_me:17 333: checking for openpty header" >&527105 +echo "$as_me:17478: checking for openpty header" >&5 23834 27106 echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 23835 27107 if test "${cf_cv_func_openpty+set}" = set; then 23836 27108 echo $ECHO_N "(cached) $ECHO_C" >&6 23837 @@ -16330,7 +17 341,7 @@27109 @@ -16330,7 +17486,7 @@ 23838 27110 for cf_header in pty.h libutil.h util.h 23839 27111 do 23840 27112 cat >conftest.$ac_ext <<_ACEOF 23841 27113 -#line 16333 "configure" 23842 +#line 17 344"configure"27114 +#line 17489 "configure" 23843 27115 #include "confdefs.h" 23844 27116 23845 27117 #include <$cf_header> 23846 @@ -16347,16 +17 358,16 @@27118 @@ -16347,16 +17503,16 @@ 23847 27119 } 23848 27120 _ACEOF 23849 27121 rm -f conftest.$ac_objext conftest$ac_exeext 23850 27122 -if { (eval echo "$as_me:16350: \"$ac_link\"") >&5 23851 +if { (eval echo "$as_me:17 361: \"$ac_link\"") >&527123 +if { (eval echo "$as_me:17506: \"$ac_link\"") >&5 23852 27124 (eval $ac_link) 2>&5 23853 27125 ac_status=$? 23854 27126 - echo "$as_me:16353: \$? = $ac_status" >&5 23855 + echo "$as_me:17 364: \$? = $ac_status" >&527127 + echo "$as_me:17509: \$? = $ac_status" >&5 23856 27128 (exit $ac_status); } && 23857 27129 { ac_try='test -s conftest$ac_exeext' 23858 27130 - { (eval echo "$as_me:16356: \"$ac_try\"") >&5 23859 + { (eval echo "$as_me:17 367: \"$ac_try\"") >&527131 + { (eval echo "$as_me:17512: \"$ac_try\"") >&5 23860 27132 (eval $ac_try) 2>&5 23861 27133 ac_status=$? 23862 27134 - echo "$as_me:16359: \$? = $ac_status" >&5 23863 + echo "$as_me:17 370: \$? = $ac_status" >&527135 + echo "$as_me:17515: \$? = $ac_status" >&5 23864 27136 (exit $ac_status); }; }; then 23865 27137 23866 27138 cf_cv_func_openpty=$cf_header 23867 @@ -16374,7 +17 385,7 @@27139 @@ -16374,7 +17530,7 @@ 23868 27140 LIBS="$cf_save_LIBS" 23869 27141 23870 27142 fi 23871 27143 -echo "$as_me:16377: result: $cf_cv_func_openpty" >&5 23872 +echo "$as_me:17 388: result: $cf_cv_func_openpty" >&527144 +echo "$as_me:17533: result: $cf_cv_func_openpty" >&5 23873 27145 echo "${ECHO_T}$cf_cv_func_openpty" >&6 23874 27146 23875 27147 if test "$cf_cv_func_openpty" != no ; then 23876 @@ -16426,7 +17 437,7 @@27148 @@ -16426,7 +17582,7 @@ 23877 27149 cf_save_CPPFLAGS=$CPPFLAGS 23878 27150 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 23879 27151 cat >conftest.$ac_ext <<_ACEOF 23880 27152 -#line 16429 "configure" 23881 +#line 17 440"configure"27153 +#line 17585 "configure" 23882 27154 #include "confdefs.h" 23883 27155 #include <stdio.h> 23884 27156 int 23885 @@ -16438,16 +17 449,16 @@27157 @@ -16438,16 +17594,16 @@ 23886 27158 } 23887 27159 _ACEOF 23888 27160 rm -f conftest.$ac_objext 23889 27161 -if { (eval echo "$as_me:16441: \"$ac_compile\"") >&5 23890 +if { (eval echo "$as_me:17 452: \"$ac_compile\"") >&527162 +if { (eval echo "$as_me:17597: \"$ac_compile\"") >&5 23891 27163 (eval $ac_compile) 2>&5 23892 27164 ac_status=$? 23893 27165 - echo "$as_me:16444: \$? = $ac_status" >&5 23894 + echo "$as_me:17 455: \$? = $ac_status" >&527166 + echo "$as_me:17600: \$? = $ac_status" >&5 23895 27167 (exit $ac_status); } && 23896 27168 { ac_try='test -s conftest.$ac_objext' 23897 27169 - { (eval echo "$as_me:16447: \"$ac_try\"") >&5 23898 + { (eval echo "$as_me:17 458: \"$ac_try\"") >&527170 + { (eval echo "$as_me:17603: \"$ac_try\"") >&5 23899 27171 (eval $ac_try) 2>&5 23900 27172 ac_status=$? 23901 27173 - echo "$as_me:16450: \$? = $ac_status" >&5 23902 + echo "$as_me:17 461: \$? = $ac_status" >&527174 + echo "$as_me:17606: \$? = $ac_status" >&5 23903 27175 (exit $ac_status); }; }; then 23904 27176 : 23905 27177 else 23906 @@ -16464,7 +17 475,7 @@27178 @@ -16464,7 +17620,7 @@ 23907 27179 if test "$cf_have_incdir" = no ; then 23908 27180 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 23909 27181 23910 27182 -echo "${as_me:-configure}:16467: testing adding $cf_add_incdir to include-path ..." 1>&5 23911 +echo "${as_me:-configure}:17 478: testing adding $cf_add_incdir to include-path ..." 1>&527183 +echo "${as_me:-configure}:17623: testing adding $cf_add_incdir to include-path ..." 1>&5 23912 27184 23913 27185 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 23914 27186 23915 @@ -16498,7 +17 509,7 @@27187 @@ -16498,7 +17654,7 @@ 23916 27188 if test "$cf_have_libdir" = no ; then 23917 27189 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 23918 27190 23919 27191 -echo "${as_me:-configure}:16501: testing adding $cf_add_libdir to library-path ..." 1>&5 23920 +echo "${as_me:-configure}:17 512: testing adding $cf_add_libdir to library-path ..." 1>&527192 +echo "${as_me:-configure}:17657: testing adding $cf_add_libdir to library-path ..." 1>&5 23921 27193 23922 27194 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 23923 27195 fi 23924 @@ -16509,23 +17 520,23 @@27196 @@ -16509,23 +17665,23 @@ 23925 27197 fi 23926 27198 esac 23927 27199 23928 27200 -echo "$as_me:16512: checking for db.h" >&5 23929 +echo "$as_me:17 523: checking for db.h" >&527201 +echo "$as_me:17668: checking for db.h" >&5 23930 27202 echo $ECHO_N "checking for db.h... $ECHO_C" >&6 23931 27203 if test "${ac_cv_header_db_h+set}" = set; then … … 23934 27206 cat >conftest.$ac_ext <<_ACEOF 23935 27207 -#line 16518 "configure" 23936 +#line 17 529"configure"27208 +#line 17674 "configure" 23937 27209 #include "confdefs.h" 23938 27210 #include <db.h> 23939 27211 _ACEOF 23940 27212 -if { (eval echo "$as_me:16522: \"$ac_cpp conftest.$ac_ext\"") >&5 23941 +if { (eval echo "$as_me:17 533: \"$ac_cpp conftest.$ac_ext\"") >&527213 +if { (eval echo "$as_me:17678: \"$ac_cpp conftest.$ac_ext\"") >&5 23942 27214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23943 27215 ac_status=$? … … 23946 27218 cat conftest.err >&5 23947 27219 - echo "$as_me:16528: \$? = $ac_status" >&5 23948 + echo "$as_me:17 539: \$? = $ac_status" >&527220 + echo "$as_me:17684: \$? = $ac_status" >&5 23949 27221 (exit $ac_status); } >/dev/null; then 23950 27222 if test -s conftest.err; then 23951 27223 ac_cpp_err=$ac_c_preproc_warn_flag 23952 @@ -16544,11 +17 555,11 @@27224 @@ -16544,11 +17700,11 @@ 23953 27225 fi 23954 27226 rm -f conftest.err conftest.$ac_ext 23955 27227 fi 23956 27228 -echo "$as_me:16547: result: $ac_cv_header_db_h" >&5 23957 +echo "$as_me:17 558: result: $ac_cv_header_db_h" >&527229 +echo "$as_me:17703: result: $ac_cv_header_db_h" >&5 23958 27230 echo "${ECHO_T}$ac_cv_header_db_h" >&6 23959 27231 if test $ac_cv_header_db_h = yes; then 23960 27232 23961 27233 -echo "$as_me:16551: checking for version of db" >&5 23962 +echo "$as_me:17 562: checking for version of db" >&527234 +echo "$as_me:17707: checking for version of db" >&5 23963 27235 echo $ECHO_N "checking for version of db... $ECHO_C" >&6 23964 27236 if test "${cf_cv_hashed_db_version+set}" = set; then 23965 27237 echo $ECHO_N "(cached) $ECHO_C" >&6 23966 @@ -16559,10 +17 570,10 @@27238 @@ -16559,10 +17715,10 @@ 23967 27239 for cf_db_version in 1 2 3 4 5 23968 27240 do 23969 27241 23970 27242 -echo "${as_me:-configure}:16562: testing checking for db version $cf_db_version ..." 1>&5 23971 +echo "${as_me:-configure}:17 573: testing checking for db version $cf_db_version ..." 1>&527243 +echo "${as_me:-configure}:17718: testing checking for db version $cf_db_version ..." 1>&5 23972 27244 23973 27245 cat >conftest.$ac_ext <<_ACEOF 23974 27246 -#line 16565 "configure" 23975 +#line 17 576"configure"27247 +#line 17721 "configure" 23976 27248 #include "confdefs.h" 23977 27249 23978 27250 $ac_includes_default 23979 @@ -16592,16 +17 603,16 @@27251 @@ -16592,16 +17748,16 @@ 23980 27252 } 23981 27253 _ACEOF 23982 27254 rm -f conftest.$ac_objext 23983 27255 -if { (eval echo "$as_me:16595: \"$ac_compile\"") >&5 23984 +if { (eval echo "$as_me:17 606: \"$ac_compile\"") >&527256 +if { (eval echo "$as_me:17751: \"$ac_compile\"") >&5 23985 27257 (eval $ac_compile) 2>&5 23986 27258 ac_status=$? 23987 27259 - echo "$as_me:16598: \$? = $ac_status" >&5 23988 + echo "$as_me:17 609: \$? = $ac_status" >&527260 + echo "$as_me:17754: \$? = $ac_status" >&5 23989 27261 (exit $ac_status); } && 23990 27262 { ac_try='test -s conftest.$ac_objext' 23991 27263 - { (eval echo "$as_me:16601: \"$ac_try\"") >&5 23992 + { (eval echo "$as_me:17 612: \"$ac_try\"") >&527264 + { (eval echo "$as_me:17757: \"$ac_try\"") >&5 23993 27265 (eval $ac_try) 2>&5 23994 27266 ac_status=$? 23995 27267 - echo "$as_me:16604: \$? = $ac_status" >&5 23996 + echo "$as_me:17 615: \$? = $ac_status" >&527268 + echo "$as_me:17760: \$? = $ac_status" >&5 23997 27269 (exit $ac_status); }; }; then 23998 27270 23999 27271 cf_cv_hashed_db_version=$cf_db_version 24000 @@ -16615,16 +17 626,16 @@27272 @@ -16615,16 +17771,16 @@ 24001 27273 done 24002 27274 24003 27275 fi 24004 27276 -echo "$as_me:16618: result: $cf_cv_hashed_db_version" >&5 24005 +echo "$as_me:17 629: result: $cf_cv_hashed_db_version" >&527277 +echo "$as_me:17774: result: $cf_cv_hashed_db_version" >&5 24006 27278 echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 24007 27279 24008 27280 if test "$cf_cv_hashed_db_version" = unknown ; then 24009 27281 - { { echo "$as_me:16622: error: Cannot determine version of db" >&5 24010 + { { echo "$as_me:17 633: error: Cannot determine version of db" >&527282 + { { echo "$as_me:17778: error: Cannot determine version of db" >&5 24011 27283 echo "$as_me: error: Cannot determine version of db" >&2;} 24012 27284 { (exit 1); exit 1; }; } … … 24014 27286 24015 27287 -echo "$as_me:16627: checking for db libraries" >&5 24016 +echo "$as_me:17 638: checking for db libraries" >&527288 +echo "$as_me:17783: checking for db libraries" >&5 24017 27289 echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 24018 27290 if test "${cf_cv_hashed_db_libs+set}" = set; then 24019 27291 echo $ECHO_N "(cached) $ECHO_C" >&6 24020 @@ -16638,10 +17 649,10 @@27292 @@ -16638,10 +17794,10 @@ 24021 27293 LIBS="-l$cf_db_libs $LIBS" 24022 27294 fi 24023 27295 24024 27296 -echo "${as_me:-configure}:16641: testing checking for library "$cf_db_libs" ..." 1>&5 24025 +echo "${as_me:-configure}:17 652: testing checking for library "$cf_db_libs" ..." 1>&527297 +echo "${as_me:-configure}:17797: testing checking for library "$cf_db_libs" ..." 1>&5 24026 27298 24027 27299 cat >conftest.$ac_ext <<_ACEOF 24028 27300 -#line 16644 "configure" 24029 +#line 17 655"configure"27301 +#line 17800 "configure" 24030 27302 #include "confdefs.h" 24031 27303 24032 27304 $ac_includes_default 24033 @@ -16696,16 +17 707,16 @@27305 @@ -16696,16 +17852,16 @@ 24034 27306 } 24035 27307 _ACEOF 24036 27308 rm -f conftest.$ac_objext conftest$ac_exeext 24037 27309 -if { (eval echo "$as_me:16699: \"$ac_link\"") >&5 24038 +if { (eval echo "$as_me:17 710: \"$ac_link\"") >&527310 +if { (eval echo "$as_me:17855: \"$ac_link\"") >&5 24039 27311 (eval $ac_link) 2>&5 24040 27312 ac_status=$? 24041 27313 - echo "$as_me:16702: \$? = $ac_status" >&5 24042 + echo "$as_me:17 713: \$? = $ac_status" >&527314 + echo "$as_me:17858: \$? = $ac_status" >&5 24043 27315 (exit $ac_status); } && 24044 27316 { ac_try='test -s conftest$ac_exeext' 24045 27317 - { (eval echo "$as_me:16705: \"$ac_try\"") >&5 24046 + { (eval echo "$as_me:17 716: \"$ac_try\"") >&527318 + { (eval echo "$as_me:17861: \"$ac_try\"") >&5 24047 27319 (eval $ac_try) 2>&5 24048 27320 ac_status=$? 24049 27321 - echo "$as_me:16708: \$? = $ac_status" >&5 24050 + echo "$as_me:17 719: \$? = $ac_status" >&527322 + echo "$as_me:17864: \$? = $ac_status" >&5 24051 27323 (exit $ac_status); }; }; then 24052 27324 24053 27325 if test -n "$cf_db_libs" ; then 24054 @@ -16725,11 +17 736,11 @@27326 @@ -16725,11 +17881,11 @@ 24055 27327 done 24056 27328 24057 27329 fi 24058 27330 -echo "$as_me:16728: result: $cf_cv_hashed_db_libs" >&5 24059 +echo "$as_me:17 739: result: $cf_cv_hashed_db_libs" >&527331 +echo "$as_me:17884: result: $cf_cv_hashed_db_libs" >&5 24060 27332 echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 24061 27333 24062 27334 if test "$cf_cv_hashed_db_libs" = unknown ; then 24063 27335 - { { echo "$as_me:16732: error: Cannot determine library for db" >&5 24064 + { { echo "$as_me:17 743: error: Cannot determine library for db" >&527336 + { { echo "$as_me:17888: error: Cannot determine library for db" >&5 24065 27337 echo "$as_me: error: Cannot determine library for db" >&2;} 24066 27338 { (exit 1); exit 1; }; } 24067 27339 elif test "$cf_cv_hashed_db_libs" != default ; then 24068 @@ -16739,7 +17 750,7 @@27340 @@ -16739,7 +17895,7 @@ 24069 27341 24070 27342 else 24071 27343 24072 27344 - { { echo "$as_me:16742: error: Cannot find db.h" >&5 24073 + { { echo "$as_me:17 753: error: Cannot find db.h" >&527345 + { { echo "$as_me:17898: error: Cannot find db.h" >&5 24074 27346 echo "$as_me: error: Cannot find db.h" >&2;} 24075 27347 { (exit 1); exit 1; }; } 24076 27348 24077 @@ -16754,7 +17 765,7 @@27349 @@ -16754,7 +17910,7 @@ 24078 27350 24079 27351 # Just in case, check if the C compiler has a bool type. 24080 27352 24081 27353 -echo "$as_me:16757: checking if we should include stdbool.h" >&5 24082 +echo "$as_me:17 768: checking if we should include stdbool.h" >&527354 +echo "$as_me:17913: checking if we should include stdbool.h" >&5 24083 27355 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 24084 27356 24085 27357 if test "${cf_cv_header_stdbool_h+set}" = set; then 24086 @@ -16762,7 +17 773,7 @@27358 @@ -16762,7 +17918,7 @@ 24087 27359 else 24088 27360 24089 27361 cat >conftest.$ac_ext <<_ACEOF 24090 27362 -#line 16765 "configure" 24091 +#line 17 776"configure"27363 +#line 17921 "configure" 24092 27364 #include "confdefs.h" 24093 27365 24094 27366 int 24095 @@ -16774,23 +17 785,23 @@27367 @@ -16774,23 +17930,23 @@ 24096 27368 } 24097 27369 _ACEOF 24098 27370 rm -f conftest.$ac_objext 24099 27371 -if { (eval echo "$as_me:16777: \"$ac_compile\"") >&5 24100 +if { (eval echo "$as_me:17 788: \"$ac_compile\"") >&527372 +if { (eval echo "$as_me:17933: \"$ac_compile\"") >&5 24101 27373 (eval $ac_compile) 2>&5 24102 27374 ac_status=$? 24103 27375 - echo "$as_me:16780: \$? = $ac_status" >&5 24104 + echo "$as_me:17 791: \$? = $ac_status" >&527376 + echo "$as_me:17936: \$? = $ac_status" >&5 24105 27377 (exit $ac_status); } && 24106 27378 { ac_try='test -s conftest.$ac_objext' 24107 27379 - { (eval echo "$as_me:16783: \"$ac_try\"") >&5 24108 + { (eval echo "$as_me:17 794: \"$ac_try\"") >&527380 + { (eval echo "$as_me:17939: \"$ac_try\"") >&5 24109 27381 (eval $ac_try) 2>&5 24110 27382 ac_status=$? 24111 27383 - echo "$as_me:16786: \$? = $ac_status" >&5 24112 + echo "$as_me:17 797: \$? = $ac_status" >&527384 + echo "$as_me:17942: \$? = $ac_status" >&5 24113 27385 (exit $ac_status); }; }; then 24114 27386 cf_cv_header_stdbool_h=0 … … 24118 27390 cat >conftest.$ac_ext <<_ACEOF 24119 27391 -#line 16793 "configure" 24120 +#line 17 804"configure"27392 +#line 17949 "configure" 24121 27393 #include "confdefs.h" 24122 27394 24123 27395 #ifndef __BEOS__ 24124 @@ -16806,16 +17 817,16 @@27396 @@ -16806,16 +17962,16 @@ 24125 27397 } 24126 27398 _ACEOF 24127 27399 rm -f conftest.$ac_objext 24128 27400 -if { (eval echo "$as_me:16809: \"$ac_compile\"") >&5 24129 +if { (eval echo "$as_me:17 820: \"$ac_compile\"") >&527401 +if { (eval echo "$as_me:17965: \"$ac_compile\"") >&5 24130 27402 (eval $ac_compile) 2>&5 24131 27403 ac_status=$? 24132 27404 - echo "$as_me:16812: \$? = $ac_status" >&5 24133 + echo "$as_me:17 823: \$? = $ac_status" >&527405 + echo "$as_me:17968: \$? = $ac_status" >&5 24134 27406 (exit $ac_status); } && 24135 27407 { ac_try='test -s conftest.$ac_objext' 24136 27408 - { (eval echo "$as_me:16815: \"$ac_try\"") >&5 24137 + { (eval echo "$as_me:17 826: \"$ac_try\"") >&527409 + { (eval echo "$as_me:17971: \"$ac_try\"") >&5 24138 27410 (eval $ac_try) 2>&5 24139 27411 ac_status=$? 24140 27412 - echo "$as_me:16818: \$? = $ac_status" >&5 24141 + echo "$as_me:17 829: \$? = $ac_status" >&527413 + echo "$as_me:17974: \$? = $ac_status" >&5 24142 27414 (exit $ac_status); }; }; then 24143 27415 cf_cv_header_stdbool_h=1 24144 27416 else 24145 @@ -16829,13 +17 840,13 @@27417 @@ -16829,13 +17985,13 @@ 24146 27418 fi 24147 27419 24148 27420 if test "$cf_cv_header_stdbool_h" = 1 24149 27421 -then echo "$as_me:16832: result: yes" >&5 24150 +then echo "$as_me:17 843: result: yes" >&527422 +then echo "$as_me:17988: result: yes" >&5 24151 27423 echo "${ECHO_T}yes" >&6 24152 27424 -else echo "$as_me:16834: result: no" >&5 24153 +else echo "$as_me:17 845: result: no" >&527425 +else echo "$as_me:17990: result: no" >&5 24154 27426 echo "${ECHO_T}no" >&6 24155 27427 fi 24156 27428 24157 27429 -echo "$as_me:16838: checking for builtin bool type" >&5 24158 +echo "$as_me:17 849: checking for builtin bool type" >&527430 +echo "$as_me:17994: checking for builtin bool type" >&5 24159 27431 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 24160 27432 24161 27433 if test "${cf_cv_cc_bool_type+set}" = set; then 24162 @@ -16843,7 +17 854,7 @@27434 @@ -16843,7 +17999,7 @@ 24163 27435 else 24164 27436 24165 27437 cat >conftest.$ac_ext <<_ACEOF 24166 27438 -#line 16846 "configure" 24167 +#line 1 7857"configure"27439 +#line 18002 "configure" 24168 27440 #include "confdefs.h" 24169 27441 24170 27442 #include <stdio.h> 24171 @@ -16858,16 +1 7869,16 @@27443 @@ -16858,16 +18014,16 @@ 24172 27444 } 24173 27445 _ACEOF 24174 27446 rm -f conftest.$ac_objext 24175 27447 -if { (eval echo "$as_me:16861: \"$ac_compile\"") >&5 24176 +if { (eval echo "$as_me:1 7872: \"$ac_compile\"") >&527448 +if { (eval echo "$as_me:18017: \"$ac_compile\"") >&5 24177 27449 (eval $ac_compile) 2>&5 24178 27450 ac_status=$? 24179 27451 - echo "$as_me:16864: \$? = $ac_status" >&5 24180 + echo "$as_me:1 7875: \$? = $ac_status" >&527452 + echo "$as_me:18020: \$? = $ac_status" >&5 24181 27453 (exit $ac_status); } && 24182 27454 { ac_try='test -s conftest.$ac_objext' 24183 27455 - { (eval echo "$as_me:16867: \"$ac_try\"") >&5 24184 + { (eval echo "$as_me:1 7878: \"$ac_try\"") >&527456 + { (eval echo "$as_me:18023: \"$ac_try\"") >&5 24185 27457 (eval $ac_try) 2>&5 24186 27458 ac_status=$? 24187 27459 - echo "$as_me:16870: \$? = $ac_status" >&5 24188 + echo "$as_me:1 7881: \$? = $ac_status" >&527460 + echo "$as_me:18026: \$? = $ac_status" >&5 24189 27461 (exit $ac_status); }; }; then 24190 27462 cf_cv_cc_bool_type=1 24191 27463 else 24192 @@ -16880,9 +1 7891,9 @@27464 @@ -16880,9 +18036,9 @@ 24193 27465 fi 24194 27466 24195 27467 if test "$cf_cv_cc_bool_type" = 1 24196 27468 -then echo "$as_me:16883: result: yes" >&5 24197 +then echo "$as_me:1 7894: result: yes" >&527469 +then echo "$as_me:18039: result: yes" >&5 24198 27470 echo "${ECHO_T}yes" >&6 24199 27471 -else echo "$as_me:16885: result: no" >&5 24200 +else echo "$as_me:1 7896: result: no" >&527472 +else echo "$as_me:18041: result: no" >&5 24201 27473 echo "${ECHO_T}no" >&6 24202 27474 fi 24203 27475 24204 @@ -16904,7 +1 7915,7 @@27476 @@ -16904,7 +18060,7 @@ 24205 27477 cf_stdcpp_libname=stdc++ 24206 27478 ;; 24207 27479 esac 24208 27480 -echo "$as_me:16907: checking for library $cf_stdcpp_libname" >&5 24209 +echo "$as_me:1 7918: checking for library $cf_stdcpp_libname" >&527481 +echo "$as_me:18063: checking for library $cf_stdcpp_libname" >&5 24210 27482 echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 24211 27483 if test "${cf_cv_libstdcpp+set}" = set; then 24212 27484 echo $ECHO_N "(cached) $ECHO_C" >&6 24213 @@ -16913,7 +1 7924,7 @@27485 @@ -16913,7 +18069,7 @@ 24214 27486 cf_save="$LIBS" 24215 27487 LIBS="-l$cf_stdcpp_libname $LIBS" 24216 27488 cat >conftest.$ac_ext <<_ACEOF 24217 27489 -#line 16916 "configure" 24218 +#line 1 7927"configure"27490 +#line 18072 "configure" 24219 27491 #include "confdefs.h" 24220 27492 24221 27493 #include <strstream.h> 24222 @@ -16929,16 +1 7940,16 @@27494 @@ -16929,16 +18085,16 @@ 24223 27495 } 24224 27496 _ACEOF 24225 27497 rm -f conftest.$ac_objext conftest$ac_exeext 24226 27498 -if { (eval echo "$as_me:16932: \"$ac_link\"") >&5 24227 +if { (eval echo "$as_me:1 7943: \"$ac_link\"") >&527499 +if { (eval echo "$as_me:18088: \"$ac_link\"") >&5 24228 27500 (eval $ac_link) 2>&5 24229 27501 ac_status=$? 24230 27502 - echo "$as_me:16935: \$? = $ac_status" >&5 24231 + echo "$as_me:1 7946: \$? = $ac_status" >&527503 + echo "$as_me:18091: \$? = $ac_status" >&5 24232 27504 (exit $ac_status); } && 24233 27505 { ac_try='test -s conftest$ac_exeext' 24234 27506 - { (eval echo "$as_me:16938: \"$ac_try\"") >&5 24235 + { (eval echo "$as_me:1 7949: \"$ac_try\"") >&527507 + { (eval echo "$as_me:18094: \"$ac_try\"") >&5 24236 27508 (eval $ac_try) 2>&5 24237 27509 ac_status=$? 24238 27510 - echo "$as_me:16941: \$? = $ac_status" >&5 24239 + echo "$as_me:1 7952: \$? = $ac_status" >&527511 + echo "$as_me:18097: \$? = $ac_status" >&5 24240 27512 (exit $ac_status); }; }; then 24241 27513 cf_cv_libstdcpp=yes 24242 27514 else 24243 @@ -16950,12 +1 7961,12 @@27515 @@ -16950,12 +18106,12 @@ 24244 27516 LIBS="$cf_save" 24245 27517 24246 27518 fi 24247 27519 -echo "$as_me:16953: result: $cf_cv_libstdcpp" >&5 24248 +echo "$as_me:1 7964: result: $cf_cv_libstdcpp" >&527520 +echo "$as_me:18109: result: $cf_cv_libstdcpp" >&5 24249 27521 echo "${ECHO_T}$cf_cv_libstdcpp" >&6 24250 27522 test "$cf_cv_libstdcpp" = yes && CXXLIBS="-l$cf_stdcpp_libname $CXXLIBS" … … 24252 27524 24253 27525 - echo "$as_me:16958: checking whether $CXX understands -c and -o together" >&5 24254 + echo "$as_me:1 7969: checking whether $CXX understands -c and -o together" >&527526 + echo "$as_me:18114: checking whether $CXX understands -c and -o together" >&5 24255 27527 echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 24256 27528 if test "${cf_cv_prog_CXX_c_o+set}" = set; then 24257 27529 echo $ECHO_N "(cached) $ECHO_C" >&6 24258 @@ -16971,15 +1 7982,15 @@27530 @@ -16971,15 +18127,15 @@ 24259 27531 # We do the test twice because some compilers refuse to overwrite an 24260 27532 # existing .o file with -o, though they will create one. 24261 27533 ac_try='$CXX -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 24262 27534 -if { (eval echo "$as_me:16974: \"$ac_try\"") >&5 24263 +if { (eval echo "$as_me:1 7985: \"$ac_try\"") >&527535 +if { (eval echo "$as_me:18130: \"$ac_try\"") >&5 24264 27536 (eval $ac_try) 2>&5 24265 27537 ac_status=$? 24266 27538 - echo "$as_me:16977: \$? = $ac_status" >&5 24267 + echo "$as_me:1 7988: \$? = $ac_status" >&527539 + echo "$as_me:18133: \$? = $ac_status" >&5 24268 27540 (exit $ac_status); } && 24269 27541 - test -f conftest2.$ac_objext && { (eval echo "$as_me:16979: \"$ac_try\"") >&5 24270 + test -f conftest2.$ac_objext && { (eval echo "$as_me:1 7990: \"$ac_try\"") >&527542 + test -f conftest2.$ac_objext && { (eval echo "$as_me:18135: \"$ac_try\"") >&5 24271 27543 (eval $ac_try) 2>&5 24272 27544 ac_status=$? 24273 27545 - echo "$as_me:16982: \$? = $ac_status" >&5 24274 + echo "$as_me:1 7993: \$? = $ac_status" >&527546 + echo "$as_me:18138: \$? = $ac_status" >&5 24275 27547 (exit $ac_status); }; 24276 27548 then 24277 27549 eval cf_cv_prog_CXX_c_o=yes 24278 @@ -16990,10 +18 001,10 @@27550 @@ -16990,10 +18146,10 @@ 24279 27551 24280 27552 fi 24281 27553 if test $cf_cv_prog_CXX_c_o = yes; then 24282 27554 - echo "$as_me:16993: result: yes" >&5 24283 + echo "$as_me:18 004: result: yes" >&527555 + echo "$as_me:18149: result: yes" >&5 24284 27556 echo "${ECHO_T}yes" >&6 24285 27557 else 24286 27558 - echo "$as_me:16996: result: no" >&5 24287 + echo "$as_me:18 007: result: no" >&527559 + echo "$as_me:18152: result: no" >&5 24288 27560 echo "${ECHO_T}no" >&6 24289 27561 fi 24290 27562 24291 @@ -17013,12 +18 024,12 @@27563 @@ -17013,12 +18169,12 @@ 24292 27564 ;; 24293 27565 esac 24294 27566 if test "$GXX" = yes; then 24295 27567 - echo "$as_me:17016: checking for lib$cf_gpp_libname" >&5 24296 + echo "$as_me:18 027: checking for lib$cf_gpp_libname" >&527568 + echo "$as_me:18172: checking for lib$cf_gpp_libname" >&5 24297 27569 echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 24298 27570 cf_save="$LIBS" … … 24300 27572 cat >conftest.$ac_ext <<_ACEOF 24301 27573 -#line 17021 "configure" 24302 +#line 18 032"configure"27574 +#line 18177 "configure" 24303 27575 #include "confdefs.h" 24304 27576 24305 27577 #include <$cf_gpp_libname/builtin.h> 24306 @@ -17032,16 +18 043,16 @@27578 @@ -17032,16 +18188,16 @@ 24307 27579 } 24308 27580 _ACEOF 24309 27581 rm -f conftest.$ac_objext conftest$ac_exeext 24310 27582 -if { (eval echo "$as_me:17035: \"$ac_link\"") >&5 24311 +if { (eval echo "$as_me:18 046: \"$ac_link\"") >&527583 +if { (eval echo "$as_me:18191: \"$ac_link\"") >&5 24312 27584 (eval $ac_link) 2>&5 24313 27585 ac_status=$? 24314 27586 - echo "$as_me:17038: \$? = $ac_status" >&5 24315 + echo "$as_me:18 049: \$? = $ac_status" >&527587 + echo "$as_me:18194: \$? = $ac_status" >&5 24316 27588 (exit $ac_status); } && 24317 27589 { ac_try='test -s conftest$ac_exeext' 24318 27590 - { (eval echo "$as_me:17041: \"$ac_try\"") >&5 24319 + { (eval echo "$as_me:18 052: \"$ac_try\"") >&527591 + { (eval echo "$as_me:18197: \"$ac_try\"") >&5 24320 27592 (eval $ac_try) 2>&5 24321 27593 ac_status=$? 24322 27594 - echo "$as_me:17044: \$? = $ac_status" >&5 24323 + echo "$as_me:18 055: \$? = $ac_status" >&527595 + echo "$as_me:18200: \$? = $ac_status" >&5 24324 27596 (exit $ac_status); }; }; then 24325 27597 cf_cxx_library=yes 24326 27598 CXXLIBS="-l$cf_gpp_libname $CXXLIBS" 24327 @@ -17060,7 +18 071,7 @@27599 @@ -17060,7 +18216,7 @@ 24328 27600 echo "$as_me: failed program was:" >&5 24329 27601 cat conftest.$ac_ext >&5 24330 27602 cat >conftest.$ac_ext <<_ACEOF 24331 27603 -#line 17063 "configure" 24332 +#line 18 074"configure"27604 +#line 18219 "configure" 24333 27605 #include "confdefs.h" 24334 27606 24335 27607 #include <builtin.h> 24336 @@ -17074,16 +18 085,16 @@27608 @@ -17074,16 +18230,16 @@ 24337 27609 } 24338 27610 _ACEOF 24339 27611 rm -f conftest.$ac_objext conftest$ac_exeext 24340 27612 -if { (eval echo "$as_me:17077: \"$ac_link\"") >&5 24341 +if { (eval echo "$as_me:18 088: \"$ac_link\"") >&527613 +if { (eval echo "$as_me:18233: \"$ac_link\"") >&5 24342 27614 (eval $ac_link) 2>&5 24343 27615 ac_status=$? 24344 27616 - echo "$as_me:17080: \$? = $ac_status" >&5 24345 + echo "$as_me:18 091: \$? = $ac_status" >&527617 + echo "$as_me:18236: \$? = $ac_status" >&5 24346 27618 (exit $ac_status); } && 24347 27619 { ac_try='test -s conftest$ac_exeext' 24348 27620 - { (eval echo "$as_me:17083: \"$ac_try\"") >&5 24349 + { (eval echo "$as_me:18 094: \"$ac_try\"") >&527621 + { (eval echo "$as_me:18239: \"$ac_try\"") >&5 24350 27622 (eval $ac_try) 2>&5 24351 27623 ac_status=$? 24352 27624 - echo "$as_me:17086: \$? = $ac_status" >&5 24353 + echo "$as_me:18 097: \$? = $ac_status" >&527625 + echo "$as_me:18242: \$? = $ac_status" >&5 24354 27626 (exit $ac_status); }; }; then 24355 27627 cf_cxx_library=yes 24356 27628 CXXLIBS="-l$cf_gpp_libname $CXXLIBS" 24357 @@ -17100,7 +18 111,7 @@27629 @@ -17100,7 +18256,7 @@ 24358 27630 fi 24359 27631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 24360 27632 LIBS="$cf_save" 24361 27633 - echo "$as_me:17103: result: $cf_cxx_library" >&5 24362 + echo "$as_me:18 114: result: $cf_cxx_library" >&527634 + echo "$as_me:18259: result: $cf_cxx_library" >&5 24363 27635 echo "${ECHO_T}$cf_cxx_library" >&6 24364 27636 fi 24365 27637 24366 @@ -17116,7 +18 127,7 @@27638 @@ -17116,7 +18272,7 @@ 24367 27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24368 27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24369 27641 ac_main_return=return 24370 27642 -echo "$as_me:17119: checking how to run the C++ preprocessor" >&5 24371 +echo "$as_me:18 130: checking how to run the C++ preprocessor" >&527643 +echo "$as_me:18275: checking how to run the C++ preprocessor" >&5 24372 27644 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 24373 27645 if test -z "$CXXCPP"; then 24374 27646 if test "${ac_cv_prog_CXXCPP+set}" = set; then 24375 @@ -17133,18 +18 144,18 @@27647 @@ -17133,18 +18289,18 @@ 24376 27648 # On the NeXT, cc -E runs the code through the compiler's parser, 24377 27649 # not just through cpp. "Syntax error" is here to catch this case. 24378 27650 cat >conftest.$ac_ext <<_ACEOF 24379 27651 -#line 17136 "configure" 24380 +#line 18 147"configure"27652 +#line 18292 "configure" 24381 27653 #include "confdefs.h" 24382 27654 #include <assert.h> … … 24384 27656 _ACEOF 24385 27657 -if { (eval echo "$as_me:17141: \"$ac_cpp conftest.$ac_ext\"") >&5 24386 +if { (eval echo "$as_me:18 152: \"$ac_cpp conftest.$ac_ext\"") >&527658 +if { (eval echo "$as_me:18297: \"$ac_cpp conftest.$ac_ext\"") >&5 24387 27659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24388 27660 ac_status=$? … … 24391 27663 cat conftest.err >&5 24392 27664 - echo "$as_me:17147: \$? = $ac_status" >&5 24393 + echo "$as_me:18 158: \$? = $ac_status" >&527665 + echo "$as_me:18303: \$? = $ac_status" >&5 24394 27666 (exit $ac_status); } >/dev/null; then 24395 27667 if test -s conftest.err; then 24396 27668 ac_cpp_err=$ac_cxx_preproc_warn_flag 24397 @@ -17167,17 +18 178,17 @@27669 @@ -17167,17 +18323,17 @@ 24398 27670 # OK, works on sane cases. Now check whether non-existent headers 24399 27671 # can be detected and how. 24400 27672 cat >conftest.$ac_ext <<_ACEOF 24401 27673 -#line 17170 "configure" 24402 +#line 18 181"configure"27674 +#line 18326 "configure" 24403 27675 #include "confdefs.h" 24404 27676 #include <ac_nonexistent.h> 24405 27677 _ACEOF 24406 27678 -if { (eval echo "$as_me:17174: \"$ac_cpp conftest.$ac_ext\"") >&5 24407 +if { (eval echo "$as_me:18 185: \"$ac_cpp conftest.$ac_ext\"") >&527679 +if { (eval echo "$as_me:18330: \"$ac_cpp conftest.$ac_ext\"") >&5 24408 27680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24409 27681 ac_status=$? … … 24412 27684 cat conftest.err >&5 24413 27685 - echo "$as_me:17180: \$? = $ac_status" >&5 24414 + echo "$as_me:18 191: \$? = $ac_status" >&527686 + echo "$as_me:18336: \$? = $ac_status" >&5 24415 27687 (exit $ac_status); } >/dev/null; then 24416 27688 if test -s conftest.err; then 24417 27689 ac_cpp_err=$ac_cxx_preproc_warn_flag 24418 @@ -17214,7 +18 225,7 @@27690 @@ -17214,7 +18370,7 @@ 24419 27691 else 24420 27692 ac_cv_prog_CXXCPP=$CXXCPP 24421 27693 fi 24422 27694 -echo "$as_me:17217: result: $CXXCPP" >&5 24423 +echo "$as_me:18 228: result: $CXXCPP" >&527695 +echo "$as_me:18373: result: $CXXCPP" >&5 24424 27696 echo "${ECHO_T}$CXXCPP" >&6 24425 27697 ac_preproc_ok=false 24426 27698 for ac_cxx_preproc_warn_flag in '' yes 24427 @@ -17224,18 +18 235,18 @@27699 @@ -17224,18 +18380,18 @@ 24428 27700 # On the NeXT, cc -E runs the code through the compiler's parser, 24429 27701 # not just through cpp. "Syntax error" is here to catch this case. 24430 27702 cat >conftest.$ac_ext <<_ACEOF 24431 27703 -#line 17227 "configure" 24432 +#line 18 238"configure"27704 +#line 18383 "configure" 24433 27705 #include "confdefs.h" 24434 27706 #include <assert.h> … … 24436 27708 _ACEOF 24437 27709 -if { (eval echo "$as_me:17232: \"$ac_cpp conftest.$ac_ext\"") >&5 24438 +if { (eval echo "$as_me:18 243: \"$ac_cpp conftest.$ac_ext\"") >&527710 +if { (eval echo "$as_me:18388: \"$ac_cpp conftest.$ac_ext\"") >&5 24439 27711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24440 27712 ac_status=$? … … 24443 27715 cat conftest.err >&5 24444 27716 - echo "$as_me:17238: \$? = $ac_status" >&5 24445 + echo "$as_me:18 249: \$? = $ac_status" >&527717 + echo "$as_me:18394: \$? = $ac_status" >&5 24446 27718 (exit $ac_status); } >/dev/null; then 24447 27719 if test -s conftest.err; then 24448 27720 ac_cpp_err=$ac_cxx_preproc_warn_flag 24449 @@ -17258,17 +18 269,17 @@27721 @@ -17258,17 +18414,17 @@ 24450 27722 # OK, works on sane cases. Now check whether non-existent headers 24451 27723 # can be detected and how. 24452 27724 cat >conftest.$ac_ext <<_ACEOF 24453 27725 -#line 17261 "configure" 24454 +#line 18 272"configure"27726 +#line 18417 "configure" 24455 27727 #include "confdefs.h" 24456 27728 #include <ac_nonexistent.h> 24457 27729 _ACEOF 24458 27730 -if { (eval echo "$as_me:17265: \"$ac_cpp conftest.$ac_ext\"") >&5 24459 +if { (eval echo "$as_me:18 276: \"$ac_cpp conftest.$ac_ext\"") >&527731 +if { (eval echo "$as_me:18421: \"$ac_cpp conftest.$ac_ext\"") >&5 24460 27732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24461 27733 ac_status=$? … … 24464 27736 cat conftest.err >&5 24465 27737 - echo "$as_me:17271: \$? = $ac_status" >&5 24466 + echo "$as_me:18 282: \$? = $ac_status" >&527738 + echo "$as_me:18427: \$? = $ac_status" >&5 24467 27739 (exit $ac_status); } >/dev/null; then 24468 27740 if test -s conftest.err; then 24469 27741 ac_cpp_err=$ac_cxx_preproc_warn_flag 24470 @@ -17296,7 +18 307,7 @@27742 @@ -17296,7 +18452,7 @@ 24471 27743 if $ac_preproc_ok; then 24472 27744 : 24473 27745 else 24474 27746 - { { echo "$as_me:17299: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 24475 + { { echo "$as_me:18 310: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&527747 + { { echo "$as_me:18455: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 24476 27748 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} 24477 27749 { (exit 1); exit 1; }; } 24478 27750 fi 24479 @@ -17308,26 +18 319,74 @@27751 @@ -17308,26 +18464,74 @@ 24480 27752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24481 27753 ac_main_return=return … … 24485 27757 +do 24486 27758 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24487 +echo "$as_me:18 325: checking for $ac_header" >&527759 +echo "$as_me:18470: checking for $ac_header" >&5 24488 27760 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24489 27761 +if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 24491 27763 +else 24492 27764 + cat >conftest.$ac_ext <<_ACEOF 24493 +#line 18 331"configure"27765 +#line 18476 "configure" 24494 27766 +#include "confdefs.h" 24495 27767 +#include <$ac_header> 24496 27768 +_ACEOF 24497 +if { (eval echo "$as_me:18 335: \"$ac_cpp conftest.$ac_ext\"") >&527769 +if { (eval echo "$as_me:18480: \"$ac_cpp conftest.$ac_ext\"") >&5 24498 27770 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24499 27771 + ac_status=$? … … 24501 27773 + rm -f conftest.er1 24502 27774 + cat conftest.err >&5 24503 + echo "$as_me:18 341: \$? = $ac_status" >&527775 + echo "$as_me:18486: \$? = $ac_status" >&5 24504 27776 + (exit $ac_status); } >/dev/null; then 24505 27777 + if test -s conftest.err; then … … 24520 27792 +rm -f conftest.err conftest.$ac_ext 24521 27793 +fi 24522 +echo "$as_me:18 360: result: `eval echo '${'$as_ac_Header'}'`" >&527794 +echo "$as_me:18505: result: `eval echo '${'$as_ac_Header'}'`" >&5 24523 27795 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24524 27796 +if test `eval echo '${'$as_ac_Header'}'` = yes; then … … 24534 27806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24535 27807 -echo "$as_me:17314: checking for $ac_header" >&5 24536 +echo "$as_me:18 373: checking for $ac_header" >&527808 +echo "$as_me:18518: checking for $ac_header" >&5 24537 27809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24538 27810 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 24541 27813 cat >conftest.$ac_ext <<_ACEOF 24542 27814 -#line 17320 "configure" 24543 +#line 18 379"configure"27815 +#line 18524 "configure" 24544 27816 #include "confdefs.h" 24545 27817 #include <$ac_header> 24546 27818 _ACEOF 24547 27819 -if { (eval echo "$as_me:17324: \"$ac_cpp conftest.$ac_ext\"") >&5 24548 +if { (eval echo "$as_me:18 383: \"$ac_cpp conftest.$ac_ext\"") >&527820 +if { (eval echo "$as_me:18528: \"$ac_cpp conftest.$ac_ext\"") >&5 24549 27821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24550 27822 ac_status=$? … … 24553 27825 cat conftest.err >&5 24554 27826 - echo "$as_me:17330: \$? = $ac_status" >&5 24555 + echo "$as_me:18 389: \$? = $ac_status" >&527827 + echo "$as_me:18534: \$? = $ac_status" >&5 24556 27828 (exit $ac_status); } >/dev/null; then 24557 27829 if test -s conftest.err; then 24558 27830 ac_cpp_err=$ac_cxx_preproc_warn_flag 24559 @@ -17346,7 +18 405,7 @@27831 @@ -17346,7 +18550,7 @@ 24560 27832 fi 24561 27833 rm -f conftest.err conftest.$ac_ext 24562 27834 fi 24563 27835 -echo "$as_me:17349: result: `eval echo '${'$as_ac_Header'}'`" >&5 24564 +echo "$as_me:18 408: result: `eval echo '${'$as_ac_Header'}'`" >&527836 +echo "$as_me:18553: result: `eval echo '${'$as_ac_Header'}'`" >&5 24565 27837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24566 27838 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24567 27839 cat >>confdefs.h <<EOF 24568 @@ -17356,11 +18 415,11 @@27840 @@ -17356,11 +18560,11 @@ 24569 27841 fi 24570 27842 done … … 24573 27845 - echo "$as_me:17360: checking if iostream uses std-namespace" >&5 24574 27846 +if test x"$ac_cv_header_iostream" = xyes ; then 24575 + echo "$as_me:18 419: checking if iostream uses std-namespace" >&527847 + echo "$as_me:18564: checking if iostream uses std-namespace" >&5 24576 27848 echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 24577 27849 - cat >conftest.$ac_ext <<_ACEOF 24578 27850 -#line 17363 "configure" 24579 27851 + cat >conftest.$ac_ext <<_ACEOF 24580 +#line 18 422"configure"27852 +#line 18567 "configure" 24581 27853 #include "confdefs.h" 24582 27854 24583 27855 #include <iostream> 24584 @@ -17377,16 +18 436,16 @@27856 @@ -17377,16 +18581,16 @@ 24585 27857 } 24586 27858 _ACEOF 24587 27859 rm -f conftest.$ac_objext 24588 27860 -if { (eval echo "$as_me:17380: \"$ac_compile\"") >&5 24589 +if { (eval echo "$as_me:18 439: \"$ac_compile\"") >&527861 +if { (eval echo "$as_me:18584: \"$ac_compile\"") >&5 24590 27862 (eval $ac_compile) 2>&5 24591 27863 ac_status=$? 24592 27864 - echo "$as_me:17383: \$? = $ac_status" >&5 24593 + echo "$as_me:18 442: \$? = $ac_status" >&527865 + echo "$as_me:18587: \$? = $ac_status" >&5 24594 27866 (exit $ac_status); } && 24595 27867 { ac_try='test -s conftest.$ac_objext' 24596 27868 - { (eval echo "$as_me:17386: \"$ac_try\"") >&5 24597 + { (eval echo "$as_me:18 445: \"$ac_try\"") >&527869 + { (eval echo "$as_me:18590: \"$ac_try\"") >&5 24598 27870 (eval $ac_try) 2>&5 24599 27871 ac_status=$? 24600 27872 - echo "$as_me:17389: \$? = $ac_status" >&5 24601 + echo "$as_me:18 448: \$? = $ac_status" >&527873 + echo "$as_me:18593: \$? = $ac_status" >&5 24602 27874 (exit $ac_status); }; }; then 24603 27875 cf_iostream_namespace=yes 24604 27876 else 24605 @@ -17395,17 +18 454,17 @@27877 @@ -17395,17 +18599,17 @@ 24606 27878 cf_iostream_namespace=no 24607 27879 fi 24608 27880 rm -f conftest.$ac_objext conftest.$ac_ext 24609 27881 - echo "$as_me:17398: result: $cf_iostream_namespace" >&5 24610 + echo "$as_me:18 457: result: $cf_iostream_namespace" >&527882 + echo "$as_me:18602: result: $cf_iostream_namespace" >&5 24611 27883 echo "${ECHO_T}$cf_iostream_namespace" >&6 24612 27884 - if test "$cf_iostream_namespace" = yes ; then … … 24623 27895 24624 27896 -echo "$as_me:17408: checking if we should include stdbool.h" >&5 24625 +echo "$as_me:18 467: checking if we should include stdbool.h" >&527897 +echo "$as_me:18612: checking if we should include stdbool.h" >&5 24626 27898 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 24627 27899 24628 27900 if test "${cf_cv_header_stdbool_h+set}" = set; then 24629 @@ -17413,7 +18 472,7 @@27901 @@ -17413,7 +18617,7 @@ 24630 27902 else 24631 27903 24632 27904 cat >conftest.$ac_ext <<_ACEOF 24633 27905 -#line 17416 "configure" 24634 +#line 18 475"configure"27906 +#line 18620 "configure" 24635 27907 #include "confdefs.h" 24636 27908 24637 27909 int 24638 @@ -17425,23 +18 484,23 @@27910 @@ -17425,23 +18629,23 @@ 24639 27911 } 24640 27912 _ACEOF 24641 27913 rm -f conftest.$ac_objext 24642 27914 -if { (eval echo "$as_me:17428: \"$ac_compile\"") >&5 24643 +if { (eval echo "$as_me:18 487: \"$ac_compile\"") >&527915 +if { (eval echo "$as_me:18632: \"$ac_compile\"") >&5 24644 27916 (eval $ac_compile) 2>&5 24645 27917 ac_status=$? 24646 27918 - echo "$as_me:17431: \$? = $ac_status" >&5 24647 + echo "$as_me:18 490: \$? = $ac_status" >&527919 + echo "$as_me:18635: \$? = $ac_status" >&5 24648 27920 (exit $ac_status); } && 24649 27921 { ac_try='test -s conftest.$ac_objext' 24650 27922 - { (eval echo "$as_me:17434: \"$ac_try\"") >&5 24651 + { (eval echo "$as_me:18 493: \"$ac_try\"") >&527923 + { (eval echo "$as_me:18638: \"$ac_try\"") >&5 24652 27924 (eval $ac_try) 2>&5 24653 27925 ac_status=$? 24654 27926 - echo "$as_me:17437: \$? = $ac_status" >&5 24655 + echo "$as_me:18 496: \$? = $ac_status" >&527927 + echo "$as_me:18641: \$? = $ac_status" >&5 24656 27928 (exit $ac_status); }; }; then 24657 27929 cf_cv_header_stdbool_h=0 … … 24661 27933 cat >conftest.$ac_ext <<_ACEOF 24662 27934 -#line 17444 "configure" 24663 +#line 18 503"configure"27935 +#line 18648 "configure" 24664 27936 #include "confdefs.h" 24665 27937 24666 27938 #ifndef __BEOS__ 24667 @@ -17457,16 +18 516,16 @@27939 @@ -17457,16 +18661,16 @@ 24668 27940 } 24669 27941 _ACEOF 24670 27942 rm -f conftest.$ac_objext 24671 27943 -if { (eval echo "$as_me:17460: \"$ac_compile\"") >&5 24672 +if { (eval echo "$as_me:18 519: \"$ac_compile\"") >&527944 +if { (eval echo "$as_me:18664: \"$ac_compile\"") >&5 24673 27945 (eval $ac_compile) 2>&5 24674 27946 ac_status=$? 24675 27947 - echo "$as_me:17463: \$? = $ac_status" >&5 24676 + echo "$as_me:18 522: \$? = $ac_status" >&527948 + echo "$as_me:18667: \$? = $ac_status" >&5 24677 27949 (exit $ac_status); } && 24678 27950 { ac_try='test -s conftest.$ac_objext' 24679 27951 - { (eval echo "$as_me:17466: \"$ac_try\"") >&5 24680 + { (eval echo "$as_me:18 525: \"$ac_try\"") >&527952 + { (eval echo "$as_me:18670: \"$ac_try\"") >&5 24681 27953 (eval $ac_try) 2>&5 24682 27954 ac_status=$? 24683 27955 - echo "$as_me:17469: \$? = $ac_status" >&5 24684 + echo "$as_me:18 528: \$? = $ac_status" >&527956 + echo "$as_me:18673: \$? = $ac_status" >&5 24685 27957 (exit $ac_status); }; }; then 24686 27958 cf_cv_header_stdbool_h=1 24687 27959 else 24688 @@ -17480,13 +18 539,13 @@27960 @@ -17480,13 +18684,13 @@ 24689 27961 fi 24690 27962 24691 27963 if test "$cf_cv_header_stdbool_h" = 1 24692 27964 -then echo "$as_me:17483: result: yes" >&5 24693 +then echo "$as_me:18 542: result: yes" >&527965 +then echo "$as_me:18687: result: yes" >&5 24694 27966 echo "${ECHO_T}yes" >&6 24695 27967 -else echo "$as_me:17485: result: no" >&5 24696 +else echo "$as_me:18 544: result: no" >&527968 +else echo "$as_me:18689: result: no" >&5 24697 27969 echo "${ECHO_T}no" >&6 24698 27970 fi 24699 27971 24700 27972 -echo "$as_me:17489: checking for builtin bool type" >&5 24701 +echo "$as_me:18 548: checking for builtin bool type" >&527973 +echo "$as_me:18693: checking for builtin bool type" >&5 24702 27974 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 24703 27975 24704 27976 if test "${cf_cv_builtin_bool+set}" = set; then 24705 @@ -17494,7 +18 553,7 @@27977 @@ -17494,7 +18698,7 @@ 24706 27978 else 24707 27979 24708 27980 cat >conftest.$ac_ext <<_ACEOF 24709 27981 -#line 17497 "configure" 24710 +#line 18 556"configure"27982 +#line 18701 "configure" 24711 27983 #include "confdefs.h" 24712 27984 24713 27985 #include <stdio.h> 24714 @@ -17509,16 +18 568,16 @@27986 @@ -17509,16 +18713,16 @@ 24715 27987 } 24716 27988 _ACEOF 24717 27989 rm -f conftest.$ac_objext 24718 27990 -if { (eval echo "$as_me:17512: \"$ac_compile\"") >&5 24719 +if { (eval echo "$as_me:18 571: \"$ac_compile\"") >&527991 +if { (eval echo "$as_me:18716: \"$ac_compile\"") >&5 24720 27992 (eval $ac_compile) 2>&5 24721 27993 ac_status=$? 24722 27994 - echo "$as_me:17515: \$? = $ac_status" >&5 24723 + echo "$as_me:18 574: \$? = $ac_status" >&527995 + echo "$as_me:18719: \$? = $ac_status" >&5 24724 27996 (exit $ac_status); } && 24725 27997 { ac_try='test -s conftest.$ac_objext' 24726 27998 - { (eval echo "$as_me:17518: \"$ac_try\"") >&5 24727 + { (eval echo "$as_me:18 577: \"$ac_try\"") >&527999 + { (eval echo "$as_me:18722: \"$ac_try\"") >&5 24728 28000 (eval $ac_try) 2>&5 24729 28001 ac_status=$? 24730 28002 - echo "$as_me:17521: \$? = $ac_status" >&5 24731 + echo "$as_me:18 580: \$? = $ac_status" >&528003 + echo "$as_me:18725: \$? = $ac_status" >&5 24732 28004 (exit $ac_status); }; }; then 24733 28005 cf_cv_builtin_bool=1 24734 28006 else 24735 @@ -17531,13 +18 590,13 @@28007 @@ -17531,13 +18735,13 @@ 24736 28008 fi 24737 28009 24738 28010 if test "$cf_cv_builtin_bool" = 1 24739 28011 -then echo "$as_me:17534: result: yes" >&5 24740 +then echo "$as_me:18 593: result: yes" >&528012 +then echo "$as_me:18738: result: yes" >&5 24741 28013 echo "${ECHO_T}yes" >&6 24742 28014 -else echo "$as_me:17536: result: no" >&5 24743 +else echo "$as_me:18 595: result: no" >&528015 +else echo "$as_me:18740: result: no" >&5 24744 28016 echo "${ECHO_T}no" >&6 24745 28017 fi 24746 28018 24747 28019 -echo "$as_me:17540: checking for size of bool" >&5 24748 +echo "$as_me:18 599: checking for size of bool" >&528020 +echo "$as_me:18744: checking for size of bool" >&5 24749 28021 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6 24750 28022 if test "${cf_cv_type_of_bool+set}" = set; then 24751 28023 echo $ECHO_N "(cached) $ECHO_C" >&6 24752 @@ -17548,7 +18 607,7 @@28024 @@ -17548,7 +18752,7 @@ 24753 28025 cf_cv_type_of_bool=unknown 24754 28026 else 24755 28027 cat >conftest.$ac_ext <<_ACEOF 24756 28028 -#line 17551 "configure" 24757 +#line 18 610"configure"28029 +#line 18755 "configure" 24758 28030 #include "confdefs.h" 24759 28031 24760 28032 #include <stdlib.h> 24761 @@ -17590,15 +18 649,15 @@28033 @@ -17590,15 +18794,15 @@ 24762 28034 24763 28035 _ACEOF 24764 28036 rm -f conftest$ac_exeext 24765 28037 -if { (eval echo "$as_me:17593: \"$ac_link\"") >&5 24766 +if { (eval echo "$as_me:18 652: \"$ac_link\"") >&528038 +if { (eval echo "$as_me:18797: \"$ac_link\"") >&5 24767 28039 (eval $ac_link) 2>&5 24768 28040 ac_status=$? 24769 28041 - echo "$as_me:17596: \$? = $ac_status" >&5 24770 + echo "$as_me:18 655: \$? = $ac_status" >&528042 + echo "$as_me:18800: \$? = $ac_status" >&5 24771 28043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24772 28044 - { (eval echo "$as_me:17598: \"$ac_try\"") >&5 24773 + { (eval echo "$as_me:18 657: \"$ac_try\"") >&528045 + { (eval echo "$as_me:18802: \"$ac_try\"") >&5 24774 28046 (eval $ac_try) 2>&5 24775 28047 ac_status=$? 24776 28048 - echo "$as_me:17601: \$? = $ac_status" >&5 24777 + echo "$as_me:18 660: \$? = $ac_status" >&528049 + echo "$as_me:18805: \$? = $ac_status" >&5 24778 28050 (exit $ac_status); }; }; then 24779 28051 cf_cv_type_of_bool=`cat cf_test.out` 24780 28052 if test -z "$cf_cv_type_of_bool"; then 24781 @@ -17616,30 +18 675,36 @@28053 @@ -17616,30 +18820,36 @@ 24782 28054 fi 24783 28055 24784 28056 rm -f cf_test.out 24785 28057 -echo "$as_me:17619: result: $cf_cv_type_of_bool" >&5 24786 +echo "$as_me:18 678: result: $cf_cv_type_of_bool" >&528058 +echo "$as_me:18823: result: $cf_cv_type_of_bool" >&5 24787 28059 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 24788 28060 if test "$cf_cv_type_of_bool" = unknown ; then … … 24791 28063 esac 24792 28064 - { echo "$as_me:17625: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 24793 + { echo "$as_me:18 684: WARNING: Assuming $NCURSES_BOOL for type of bool" >&528065 + { echo "$as_me:18829: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 24794 28066 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} 24795 28067 cf_cv_type_of_bool=$NCURSES_BOOL … … 24797 28069 24798 28070 -echo "$as_me:17630: checking for special defines needed for etip.h" >&5 24799 +echo "$as_me:18 689: checking for special defines needed for etip.h" >&528071 +echo "$as_me:18834: checking for special defines needed for etip.h" >&5 24800 28072 echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 24801 28073 cf_save_CXXFLAGS="$CXXFLAGS" … … 24817 28089 cat >conftest.$ac_ext <<_ACEOF 24818 28090 -#line 17642 "configure" 24819 +#line 18 707"configure"28091 +#line 18852 "configure" 24820 28092 #include "confdefs.h" 24821 28093 24822 28094 #include <etip.h.in> 24823 @@ -17653,16 +18 718,16 @@28095 @@ -17653,16 +18863,16 @@ 24824 28096 } 24825 28097 _ACEOF 24826 28098 rm -f conftest.$ac_objext 24827 28099 -if { (eval echo "$as_me:17656: \"$ac_compile\"") >&5 24828 +if { (eval echo "$as_me:18 721: \"$ac_compile\"") >&528100 +if { (eval echo "$as_me:18866: \"$ac_compile\"") >&5 24829 28101 (eval $ac_compile) 2>&5 24830 28102 ac_status=$? 24831 28103 - echo "$as_me:17659: \$? = $ac_status" >&5 24832 + echo "$as_me:18 724: \$? = $ac_status" >&528104 + echo "$as_me:18869: \$? = $ac_status" >&5 24833 28105 (exit $ac_status); } && 24834 28106 { ac_try='test -s conftest.$ac_objext' 24835 28107 - { (eval echo "$as_me:17662: \"$ac_try\"") >&5 24836 + { (eval echo "$as_me:18 727: \"$ac_try\"") >&528108 + { (eval echo "$as_me:18872: \"$ac_try\"") >&5 24837 28109 (eval $ac_try) 2>&5 24838 28110 ac_status=$? 24839 28111 - echo "$as_me:17665: \$? = $ac_status" >&5 24840 + echo "$as_me:18 730: \$? = $ac_status" >&528112 + echo "$as_me:18875: \$? = $ac_status" >&5 24841 28113 (exit $ac_status); }; }; then 24842 28114 24843 28115 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 @@ 24845 28126 rm -f conftest.$ac_objext conftest.$ac_ext 24846 28127 done 24847 28128 done 24848 28129 -echo "$as_me:17686: result: $cf_result" >&5 24849 +echo "$as_me:18 751: result: $cf_result" >&528130 +echo "$as_me:18896: result: $cf_result" >&5 24850 28131 echo "${ECHO_T}$cf_result" >&6 24851 28132 CXXFLAGS="$cf_save_CXXFLAGS" … … 24853 28134 if test -n "$CXX"; then 24854 28135 -echo "$as_me:17691: checking if $CXX accepts parameter initialization" >&5 24855 +echo "$as_me:18 756: checking if $CXX accepts parameter initialization" >&528136 +echo "$as_me:18901: checking if $CXX accepts parameter initialization" >&5 24856 28137 echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 24857 28138 if test "${cf_cv_cpp_param_init+set}" = set; then 24858 28139 echo $ECHO_N "(cached) $ECHO_C" >&6 24859 @@ -17705,7 +18 770,7 @@28140 @@ -17705,7 +18915,7 @@ 24860 28141 cf_cv_cpp_param_init=unknown 24861 28142 else 24862 28143 cat >conftest.$ac_ext <<_ACEOF 24863 28144 -#line 17708 "configure" 24864 +#line 18 773"configure"28145 +#line 18918 "configure" 24865 28146 #include "confdefs.h" 24866 28147 24867 28148 class TEST { 24868 @@ -17720,19 +18 785,19 @@28149 @@ -17720,19 +18930,19 @@ 24869 28150 { 24870 28151 value = x; … … 24876 28157 rm -f conftest$ac_exeext 24877 28158 -if { (eval echo "$as_me:17727: \"$ac_link\"") >&5 24878 +if { (eval echo "$as_me:18 792: \"$ac_link\"") >&528159 +if { (eval echo "$as_me:18937: \"$ac_link\"") >&5 24879 28160 (eval $ac_link) 2>&5 24880 28161 ac_status=$? 24881 28162 - echo "$as_me:17730: \$? = $ac_status" >&5 24882 + echo "$as_me:18 795: \$? = $ac_status" >&528163 + echo "$as_me:18940: \$? = $ac_status" >&5 24883 28164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24884 28165 - { (eval echo "$as_me:17732: \"$ac_try\"") >&5 24885 + { (eval echo "$as_me:18 797: \"$ac_try\"") >&528166 + { (eval echo "$as_me:18942: \"$ac_try\"") >&5 24886 28167 (eval $ac_try) 2>&5 24887 28168 ac_status=$? 24888 28169 - echo "$as_me:17735: \$? = $ac_status" >&5 24889 + echo "$as_me:18 800: \$? = $ac_status" >&528170 + echo "$as_me:18945: \$? = $ac_status" >&5 24890 28171 (exit $ac_status); }; }; then 24891 28172 cf_cv_cpp_param_init=yes 24892 28173 else 24893 @@ -17751,7 +18 816,7 @@28174 @@ -17751,7 +18961,7 @@ 24894 28175 ac_main_return=return 24895 28176 24896 28177 fi 24897 28178 -echo "$as_me:17754: result: $cf_cv_cpp_param_init" >&5 24898 +echo "$as_me:18 819: result: $cf_cv_cpp_param_init" >&528179 +echo "$as_me:18964: result: $cf_cv_cpp_param_init" >&5 24899 28180 echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 24900 28181 fi 24901 28182 test "$cf_cv_cpp_param_init" = yes && cat >>confdefs.h <<\EOF 24902 @@ -17760,7 +18 825,7 @@28183 @@ -17760,7 +18970,7 @@ 24903 28184 24904 28185 if test -n "$CXX"; then 24905 28186 24906 28187 -echo "$as_me:17763: checking if $CXX accepts static_cast" >&5 24907 +echo "$as_me:18 828: checking if $CXX accepts static_cast" >&528188 +echo "$as_me:18973: checking if $CXX accepts static_cast" >&5 24908 28189 echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 24909 28190 if test "${cf_cv_cpp_static_cast+set}" = set; then 24910 28191 echo $ECHO_N "(cached) $ECHO_C" >&6 24911 @@ -17774,7 +18 839,7 @@28192 @@ -17774,7 +18984,7 @@ 24912 28193 ac_main_return=return 24913 28194 24914 28195 cat >conftest.$ac_ext <<_ACEOF 24915 28196 -#line 17777 "configure" 24916 +#line 18 842"configure"28197 +#line 18987 "configure" 24917 28198 #include "confdefs.h" 24918 28199 24919 28200 class NCursesPanel 24920 @@ -17818,16 +1 8883,16 @@28201 @@ -17818,16 +19028,16 @@ 24921 28202 } 24922 28203 _ACEOF 24923 28204 rm -f conftest.$ac_objext 24924 28205 -if { (eval echo "$as_me:17821: \"$ac_compile\"") >&5 24925 +if { (eval echo "$as_me:1 8886: \"$ac_compile\"") >&528206 +if { (eval echo "$as_me:19031: \"$ac_compile\"") >&5 24926 28207 (eval $ac_compile) 2>&5 24927 28208 ac_status=$? 24928 28209 - echo "$as_me:17824: \$? = $ac_status" >&5 24929 + echo "$as_me:1 8889: \$? = $ac_status" >&528210 + echo "$as_me:19034: \$? = $ac_status" >&5 24930 28211 (exit $ac_status); } && 24931 28212 { ac_try='test -s conftest.$ac_objext' 24932 28213 - { (eval echo "$as_me:17827: \"$ac_try\"") >&5 24933 + { (eval echo "$as_me:1 8892: \"$ac_try\"") >&528214 + { (eval echo "$as_me:19037: \"$ac_try\"") >&5 24934 28215 (eval $ac_try) 2>&5 24935 28216 ac_status=$? 24936 28217 - echo "$as_me:17830: \$? = $ac_status" >&5 24937 + echo "$as_me:1 8895: \$? = $ac_status" >&528218 + echo "$as_me:19040: \$? = $ac_status" >&5 24938 28219 (exit $ac_status); }; }; then 24939 28220 cf_cv_cpp_static_cast=yes 24940 28221 else 24941 @@ -17845,7 +1 8910,7 @@28222 @@ -17845,7 +19055,7 @@ 24942 28223 ac_main_return=return 24943 28224 24944 28225 fi 24945 28226 -echo "$as_me:17848: result: $cf_cv_cpp_static_cast" >&5 24946 +echo "$as_me:1 8913: result: $cf_cv_cpp_static_cast" >&528227 +echo "$as_me:19058: result: $cf_cv_cpp_static_cast" >&5 24947 28228 echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 24948 28229 24949 28230 fi 24950 @@ -17893,7 +1 8958,7 @@28231 @@ -17893,7 +19103,7 @@ 24951 28232 else 24952 28233 if test "$cf_cv_header_stdbool_h" = 1 ; then 24953 28234 24954 28235 -echo "$as_me:17896: checking for size of bool" >&5 24955 +echo "$as_me:1 8961: checking for size of bool" >&528236 +echo "$as_me:19106: checking for size of bool" >&5 24956 28237 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6 24957 28238 if test "${cf_cv_type_of_bool+set}" = set; then 24958 28239 echo $ECHO_N "(cached) $ECHO_C" >&6 24959 @@ -17904,7 +1 8969,7 @@28240 @@ -17904,7 +19114,7 @@ 24960 28241 cf_cv_type_of_bool=unknown 24961 28242 else 24962 28243 cat >conftest.$ac_ext <<_ACEOF 24963 28244 -#line 17907 "configure" 24964 +#line 1 8972"configure"28245 +#line 19117 "configure" 24965 28246 #include "confdefs.h" 24966 28247 24967 28248 #include <stdlib.h> 24968 @@ -17946,15 +19 011,15 @@28249 @@ -17946,15 +19156,15 @@ 24969 28250 24970 28251 _ACEOF 24971 28252 rm -f conftest$ac_exeext 24972 28253 -if { (eval echo "$as_me:17949: \"$ac_link\"") >&5 24973 +if { (eval echo "$as_me:19 014: \"$ac_link\"") >&528254 +if { (eval echo "$as_me:19159: \"$ac_link\"") >&5 24974 28255 (eval $ac_link) 2>&5 24975 28256 ac_status=$? 24976 28257 - echo "$as_me:17952: \$? = $ac_status" >&5 24977 + echo "$as_me:19 017: \$? = $ac_status" >&528258 + echo "$as_me:19162: \$? = $ac_status" >&5 24978 28259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24979 28260 - { (eval echo "$as_me:17954: \"$ac_try\"") >&5 24980 + { (eval echo "$as_me:19 019: \"$ac_try\"") >&528261 + { (eval echo "$as_me:19164: \"$ac_try\"") >&5 24981 28262 (eval $ac_try) 2>&5 24982 28263 ac_status=$? 24983 28264 - echo "$as_me:17957: \$? = $ac_status" >&5 24984 + echo "$as_me:19 022: \$? = $ac_status" >&528265 + echo "$as_me:19167: \$? = $ac_status" >&5 24985 28266 (exit $ac_status); }; }; then 24986 28267 cf_cv_type_of_bool=`cat cf_test.out` 24987 28268 if test -z "$cf_cv_type_of_bool"; then 24988 @@ -17972,25 +19 037,25 @@28269 @@ -17972,25 +19182,25 @@ 24989 28270 fi 24990 28271 24991 28272 rm -f cf_test.out 24992 28273 -echo "$as_me:17975: result: $cf_cv_type_of_bool" >&5 24993 +echo "$as_me:19 040: result: $cf_cv_type_of_bool" >&528274 +echo "$as_me:19185: result: $cf_cv_type_of_bool" >&5 24994 28275 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 24995 28276 if test "$cf_cv_type_of_bool" = unknown ; then … … 24998 28279 esac 24999 28280 - { echo "$as_me:17981: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 25000 + { echo "$as_me:19 046: WARNING: Assuming $NCURSES_BOOL for type of bool" >&528281 + { echo "$as_me:19191: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 25001 28282 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} 25002 28283 cf_cv_type_of_bool=$NCURSES_BOOL … … 25005 28286 else 25006 28287 - echo "$as_me:17987: checking for fallback type of bool" >&5 25007 + echo "$as_me:19 052: checking for fallback type of bool" >&528288 + echo "$as_me:19197: checking for fallback type of bool" >&5 25008 28289 echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 25009 28290 case "$host_cpu" in #(vi … … 25012 28293 esac 25013 28294 - echo "$as_me:17993: result: $cf_cv_type_of_bool" >&5 25014 + echo "$as_me:19 058: result: $cf_cv_type_of_bool" >&528295 + echo "$as_me:19203: result: $cf_cv_type_of_bool" >&5 25015 28296 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 25016 28297 fi 25017 28298 fi 25018 @@ -18019,7 +19 084,7 @@28299 @@ -18019,7 +19229,7 @@ 25019 28300 25020 28301 if test "$cf_with_ada" != "no" ; then 25021 28302 if test "$with_libtool" != "no"; then 25022 28303 - { echo "$as_me:18022: WARNING: libtool does not support Ada - disabling feature" >&5 25023 + { echo "$as_me:19 087: WARNING: libtool does not support Ada - disabling feature" >&528304 + { echo "$as_me:19232: WARNING: libtool does not support Ada - disabling feature" >&5 25024 28305 echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} 25025 28306 cf_with_ada=no 25026 28307 fi 25027 @@ -18030,7 +19 095,7 @@28308 @@ -18030,7 +19240,7 @@ 25028 28309 cf_ada_make=gnatmake 25029 28310 # Extract the first word of "$cf_ada_make", so it can be a program name with args. 25030 28311 set dummy $cf_ada_make; ac_word=$2 25031 28312 -echo "$as_me:18033: checking for $ac_word" >&5 25032 +echo "$as_me:19 098: checking for $ac_word" >&528313 +echo "$as_me:19243: checking for $ac_word" >&5 25033 28314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 25034 28315 if test "${ac_cv_prog_gnat_exists+set}" = set; then 25035 28316 echo $ECHO_N "(cached) $ECHO_C" >&6 25036 @@ -18045,7 +19 110,7 @@28317 @@ -18045,7 +19255,7 @@ 25037 28318 test -z "$ac_dir" && ac_dir=. 25038 28319 $as_executable_p "$ac_dir/$ac_word" || continue 25039 28320 ac_cv_prog_gnat_exists="yes" 25040 28321 -echo "$as_me:18048: found $ac_dir/$ac_word" >&5 25041 +echo "$as_me:19 113: found $ac_dir/$ac_word" >&528322 +echo "$as_me:19258: found $ac_dir/$ac_word" >&5 25042 28323 break 25043 28324 done 25044 28325 25045 @@ -18054,31 +19 119,32 @@28326 @@ -18054,31 +19264,32 @@ 25046 28327 fi 25047 28328 gnat_exists=$ac_cv_prog_gnat_exists 25048 28329 if test -n "$gnat_exists"; then 25049 28330 - echo "$as_me:18057: result: $gnat_exists" >&5 25050 + echo "$as_me:19 122: result: $gnat_exists" >&528331 + echo "$as_me:19267: result: $gnat_exists" >&5 25051 28332 echo "${ECHO_T}$gnat_exists" >&6 25052 28333 else 25053 28334 - echo "$as_me:18060: result: no" >&5 25054 + echo "$as_me:19 125: result: no" >&528335 + echo "$as_me:19270: result: no" >&5 25055 28336 echo "${ECHO_T}no" >&6 25056 28337 fi … … 25062 28343 25063 28344 -echo "$as_me:18068: checking for gnat version" >&5 25064 +echo "$as_me:19 134: checking for gnat version" >&528345 +echo "$as_me:19279: checking for gnat version" >&5 25065 28346 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 25066 28347 cf_gnat_version=`${cf_ada_make:-gnatmake} -v 2>&1 | \ … … 25068 28349 sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` 25069 28350 -echo "$as_me:18073: result: $cf_gnat_version" >&5 25070 +echo "$as_me:19 139: result: $cf_gnat_version" >&528351 +echo "$as_me:19284: result: $cf_gnat_version" >&5 25071 28352 echo "${ECHO_T}$cf_gnat_version" >&6 25072 28353 … … 25078 28359 *) 25079 28360 - { 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:19 147: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&528361 + { echo "$as_me:19292: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 25081 28362 echo "$as_me: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} 25082 28363 cf_cv_prog_gnat_correct=no 25083 28364 ;; 25084 @@ -18086,7 +19 152,7 @@28365 @@ -18086,7 +19297,7 @@ 25085 28366 25086 28367 # Extract the first word of "m4", so it can be a program name with args. 25087 28368 set dummy m4; ac_word=$2 25088 28369 -echo "$as_me:18089: checking for $ac_word" >&5 25089 +echo "$as_me:19 155: checking for $ac_word" >&528370 +echo "$as_me:19300: checking for $ac_word" >&5 25090 28371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 25091 28372 if test "${ac_cv_prog_M4_exists+set}" = set; then 25092 28373 echo $ECHO_N "(cached) $ECHO_C" >&6 25093 @@ -18101,7 +19 167,7 @@28374 @@ -18101,7 +19312,7 @@ 25094 28375 test -z "$ac_dir" && ac_dir=. 25095 28376 $as_executable_p "$ac_dir/$ac_word" || continue 25096 28377 ac_cv_prog_M4_exists="yes" 25097 28378 -echo "$as_me:18104: found $ac_dir/$ac_word" >&5 25098 +echo "$as_me:19 170: found $ac_dir/$ac_word" >&528379 +echo "$as_me:19315: found $ac_dir/$ac_word" >&5 25099 28380 break 25100 28381 done 25101 28382 25102 @@ -18110,10 +19 176,10 @@28383 @@ -18110,10 +19321,10 @@ 25103 28384 fi 25104 28385 M4_exists=$ac_cv_prog_M4_exists 25105 28386 if test -n "$M4_exists"; then 25106 28387 - echo "$as_me:18113: result: $M4_exists" >&5 25107 + echo "$as_me:19 179: result: $M4_exists" >&528388 + echo "$as_me:19324: result: $M4_exists" >&5 25108 28389 echo "${ECHO_T}$M4_exists" >&6 25109 28390 else 25110 28391 - echo "$as_me:18116: result: no" >&5 25111 + echo "$as_me:19 182: result: no" >&528392 + echo "$as_me:19327: result: no" >&5 25112 28393 echo "${ECHO_T}no" >&6 25113 28394 fi 25114 28395 25115 @@ -18122,7 +19 188,7 @@28396 @@ -18122,7 +19333,7 @@ 25116 28397 echo Ada95 binding required program m4 not found. Ada95 binding disabled. 25117 28398 fi 25118 28399 if test "$cf_cv_prog_gnat_correct" = yes; then 25119 28400 - echo "$as_me:18125: checking if GNAT works" >&5 25120 + echo "$as_me:19 191: checking if GNAT works" >&528401 + echo "$as_me:19336: checking if GNAT works" >&5 25121 28402 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 25122 28403 25123 28404 rm -rf conftest* *~conftest* 25124 @@ -18150,7 +19 216,7 @@28405 @@ -18150,7 +19361,7 @@ 25125 28406 fi 25126 28407 rm -rf conftest* *~conftest* 25127 28408 25128 28409 - echo "$as_me:18153: result: $cf_cv_prog_gnat_correct" >&5 25129 + echo "$as_me:19 219: result: $cf_cv_prog_gnat_correct" >&528410 + echo "$as_me:19364: result: $cf_cv_prog_gnat_correct" >&5 25130 28411 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 25131 28412 fi 25132 28413 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 25136 28447 25137 28448 -echo "$as_me:18178: checking if GNAT supports generics" >&5 25138 +echo "$as_me:19 244: checking if GNAT supports generics" >&528449 +echo "$as_me:19393: checking if GNAT supports generics" >&5 25139 28450 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 25140 28451 case $cf_gnat_version in #(vi 25141 28452 3.[1-9]*|[4-9].*) #(vi 25142 @@ -18185,7 +19 251,7 @@28453 @@ -18185,7 +19400,7 @@ 25143 28454 cf_gnat_generics=no 25144 28455 ;; 25145 28456 esac 25146 28457 -echo "$as_me:18188: result: $cf_gnat_generics" >&5 25147 +echo "$as_me:19 254: result: $cf_gnat_generics" >&528458 +echo "$as_me:19403: result: $cf_gnat_generics" >&5 25148 28459 echo "${ECHO_T}$cf_gnat_generics" >&6 25149 28460 25150 28461 if test "$cf_gnat_generics" = yes 25151 @@ -18197,7 +19 263,7 @@28462 @@ -18197,7 +19412,7 @@ 25152 28463 cf_generic_objects= 25153 28464 fi 25154 28465 25155 28466 -echo "$as_me:18200: checking if GNAT supports SIGINT" >&5 25156 +echo "$as_me:19 266: checking if GNAT supports SIGINT" >&528467 +echo "$as_me:19415: checking if GNAT supports SIGINT" >&5 25157 28468 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 25158 28469 if test "${cf_cv_gnat_sigint+set}" = set; then 25159 28470 echo $ECHO_N "(cached) $ECHO_C" >&6 25160 @@ -18245,7 +19 311,7 @@28471 @@ -18245,7 +19460,7 @@ 25161 28472 rm -rf conftest* *~conftest* 25162 28473 25163 28474 fi 25164 28475 -echo "$as_me:18248: result: $cf_cv_gnat_sigint" >&5 25165 +echo "$as_me:19 314: result: $cf_cv_gnat_sigint" >&528476 +echo "$as_me:19463: result: $cf_cv_gnat_sigint" >&5 25166 28477 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 25167 28478 25168 28479 if test $cf_cv_gnat_sigint = yes ; then 25169 @@ -18254,7 +19 320,7 @@28480 @@ -18254,7 +19469,7 @@ 25170 28481 USE_GNAT_SIGINT="#" 25171 28482 fi 25172 28483 25173 28484 -echo "$as_me:18257: checking if GNAT pragma Unreferenced works" >&5 25174 +echo "$as_me:19 323: checking if GNAT pragma Unreferenced works" >&528485 +echo "$as_me:19472: checking if GNAT pragma Unreferenced works" >&5 25175 28486 echo $ECHO_N "checking if GNAT pragma Unreferenced works... $ECHO_C" >&6 25176 28487 if test "${cf_cv_pragma_unreferenced+set}" = set; then 25177 28488 echo $ECHO_N "(cached) $ECHO_C" >&6 25178 @@ -18285,7 +19 351,7 @@28489 @@ -18285,7 +19500,7 @@ 25179 28490 rm -rf conftest* *~conftest* 25180 28491 25181 28492 fi 25182 28493 -echo "$as_me:18288: result: $cf_cv_pragma_unreferenced" >&5 25183 +echo "$as_me:19 354: result: $cf_cv_pragma_unreferenced" >&528494 +echo "$as_me:19503: result: $cf_cv_pragma_unreferenced" >&5 25184 28495 echo "${ECHO_T}$cf_cv_pragma_unreferenced" >&6 25185 28496 25186 28497 # if the pragma is supported, use it (needed in the Trace code). 25187 @@ -18298,7 +19 364,7 @@28498 @@ -18298,7 +19513,7 @@ 25188 28499 cf_gnat_libraries=no 25189 28500 cf_gnat_projects=no 25190 28501 25191 28502 -echo "$as_me:18301: checking if GNAT supports project files" >&5 25192 +echo "$as_me:19 367: checking if GNAT supports project files" >&528503 +echo "$as_me:19516: checking if GNAT supports project files" >&5 25193 28504 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 25194 28505 case $cf_gnat_version in #(vi 25195 28506 3.[0-9]*) #(vi 25196 @@ -18366,14 +19 432,14 @@28507 @@ -18366,14 +19581,14 @@ 25197 28508 esac 25198 28509 ;; 25199 28510 esac 25200 28511 -echo "$as_me:18369: result: $cf_gnat_projects" >&5 25201 +echo "$as_me:19 435: result: $cf_gnat_projects" >&528512 +echo "$as_me:19584: result: $cf_gnat_projects" >&5 25202 28513 echo "${ECHO_T}$cf_gnat_projects" >&6 25203 28514 … … 25205 28516 then 25206 28517 - echo "$as_me:18374: checking if GNAT supports libraries" >&5 25207 + echo "$as_me:19 440: checking if GNAT supports libraries" >&528518 + echo "$as_me:19589: checking if GNAT supports libraries" >&5 25208 28519 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 25209 28520 - echo "$as_me:18376: result: $cf_gnat_libraries" >&5 25210 + echo "$as_me:19 442: result: $cf_gnat_libraries" >&528521 + echo "$as_me:19591: result: $cf_gnat_libraries" >&5 25211 28522 echo "${ECHO_T}$cf_gnat_libraries" >&6 25212 28523 fi 25213 28524 25214 @@ -18393,7 +19 459,7 @@28525 @@ -18393,7 +19608,7 @@ 25215 28526 USE_GNAT_LIBRARIES="#" 25216 28527 fi 25217 28528 25218 28529 -echo "$as_me:18396: checking for ada-compiler" >&5 25219 +echo "$as_me:19 462: checking for ada-compiler" >&528530 +echo "$as_me:19611: checking for ada-compiler" >&5 25220 28531 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 25221 28532 25222 28533 # Check whether --with-ada-compiler or --without-ada-compiler was given. 25223 @@ -18404,12 +19 470,12 @@28534 @@ -18404,12 +19619,12 @@ 25224 28535 cf_ada_compiler=gnatmake 25225 28536 fi; 25226 28537 25227 28538 -echo "$as_me:18407: result: $cf_ada_compiler" >&5 25228 +echo "$as_me:19 473: result: $cf_ada_compiler" >&528539 +echo "$as_me:19622: result: $cf_ada_compiler" >&5 25229 28540 echo "${ECHO_T}$cf_ada_compiler" >&6 25230 28541 … … 25232 28543 25233 28544 -echo "$as_me:18412: checking for ada-include" >&5 25234 +echo "$as_me:19 478: checking for ada-include" >&528545 +echo "$as_me:19627: checking for ada-include" >&5 25235 28546 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 25236 28547 25237 28548 # 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 @@ 25239 28559 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 25240 28560 ;; 25241 28561 *) 25242 28562 - { { echo "$as_me:18448: error: expected a pathname, not \"$withval\"" >&5 25243 + { { echo "$as_me:19 514: error: expected a pathname, not \"$withval\"" >&528563 + { { echo "$as_me:19663: error: expected a pathname, not \"$withval\"" >&5 25244 28564 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 25245 28565 { (exit 1); exit 1; }; } 25246 28566 ;; 25247 @@ -18454,10 +19 520,10 @@28567 @@ -18454,10 +19669,10 @@ 25248 28568 fi 25249 28569 ADA_INCLUDE="$withval" 25250 28570 25251 28571 -echo "$as_me:18457: result: $ADA_INCLUDE" >&5 25252 +echo "$as_me:19 523: result: $ADA_INCLUDE" >&528572 +echo "$as_me:19672: result: $ADA_INCLUDE" >&5 25253 28573 echo "${ECHO_T}$ADA_INCLUDE" >&6 25254 28574 25255 28575 -echo "$as_me:18460: checking for ada-objects" >&5 25256 +echo "$as_me:19 526: checking for ada-objects" >&528576 +echo "$as_me:19675: checking for ada-objects" >&5 25257 28577 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 25258 28578 25259 28579 # 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 @@ 25261 28590 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 25262 28591 ;; 25263 28592 *) 25264 28593 - { { echo "$as_me:18496: error: expected a pathname, not \"$withval\"" >&5 25265 + { { echo "$as_me:19 562: error: expected a pathname, not \"$withval\"" >&528594 + { { echo "$as_me:19711: error: expected a pathname, not \"$withval\"" >&5 25266 28595 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 25267 28596 { (exit 1); exit 1; }; } 25268 28597 ;; 25269 @@ -18502,10 +19 568,10 @@28598 @@ -18502,10 +19717,10 @@ 25270 28599 fi 25271 28600 ADA_OBJECTS="$withval" 25272 28601 25273 28602 -echo "$as_me:18505: result: $ADA_OBJECTS" >&5 25274 +echo "$as_me:19 571: result: $ADA_OBJECTS" >&528603 +echo "$as_me:19720: result: $ADA_OBJECTS" >&5 25275 28604 echo "${ECHO_T}$ADA_OBJECTS" >&6 25276 28605 25277 28606 -echo "$as_me:18508: checking if an Ada95 shared-library should be built" >&5 25278 +echo "$as_me:19 574: checking if an Ada95 shared-library should be built" >&528607 +echo "$as_me:19723: checking if an Ada95 shared-library should be built" >&5 25279 28608 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 25280 28609 25281 28610 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. 25282 @@ -18515,7 +19 581,7 @@28611 @@ -18515,7 +19730,7 @@ 25283 28612 else 25284 28613 with_ada_sharedlib=no 25285 28614 fi; 25286 28615 -echo "$as_me:18518: result: $with_ada_sharedlib" >&5 25287 +echo "$as_me:19 584: result: $with_ada_sharedlib" >&528616 +echo "$as_me:19733: result: $with_ada_sharedlib" >&5 25288 28617 echo "${ECHO_T}$with_ada_sharedlib" >&6 25289 28618 25290 28619 ADA_SHAREDLIB='lib$(LIB_NAME).so.1' 25291 @@ -18546,7 +19 612,7 @@28620 @@ -18546,7 +19761,7 @@ 25292 28621 ### chooses to split module lists into libraries. 25293 28622 ### 25294 28623 ### (see CF_LIB_RULES). 25295 28624 -echo "$as_me:18549: checking for library subsets" >&5 25296 +echo "$as_me:19 615: checking for library subsets" >&528625 +echo "$as_me:19764: checking for library subsets" >&5 25297 28626 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 25298 28627 LIB_SUBSETS= 25299 28628 25300 @@ -18587,7 +19 653,7 @@28629 @@ -18587,7 +19802,7 @@ 25301 28630 test "$with_widec" = yes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" 25302 28631 test "$with_ext_funcs" = yes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" 25303 28632 25304 28633 -echo "$as_me:18590: result: $LIB_SUBSETS" >&5 25305 +echo "$as_me:19 656: result: $LIB_SUBSETS" >&528634 +echo "$as_me:19805: result: $LIB_SUBSETS" >&5 25306 28635 echo "${ECHO_T}$LIB_SUBSETS" >&6 25307 28636 25308 28637 ### Construct the list of include-directories to be generated 25309 @@ -18625,7 +19 691,7 @@28638 @@ -18625,7 +19840,7 @@ 25310 28639 fi 25311 28640 25312 28641 ### Build up pieces for makefile rules 25313 28642 -echo "$as_me:18628: checking default library suffix" >&5 25314 +echo "$as_me:19 694: checking default library suffix" >&528643 +echo "$as_me:19843: checking default library suffix" >&5 25315 28644 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 25316 28645 25317 28646 case $DFT_LWR_MODEL in 25318 @@ -18636,10 +19 702,10 @@28647 @@ -18636,10 +19851,10 @@ 25319 28648 shared) DFT_ARG_SUFFIX='' ;; 25320 28649 esac 25321 28650 test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" 25322 28651 -echo "$as_me:18639: result: $DFT_ARG_SUFFIX" >&5 25323 +echo "$as_me:19 705: result: $DFT_ARG_SUFFIX" >&528652 +echo "$as_me:19854: result: $DFT_ARG_SUFFIX" >&5 25324 28653 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 25325 28654 25326 28655 -echo "$as_me:18642: checking default library-dependency suffix" >&5 25327 +echo "$as_me:19 708: checking default library-dependency suffix" >&528656 +echo "$as_me:19857: checking default library-dependency suffix" >&5 25328 28657 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 25329 28658 25330 28659 case $DFT_LWR_MODEL in #(vi 25331 @@ -18661, 7 +19727,7@@28660 @@ -18661,11 +19876,11 @@ 25332 28661 ;; 25333 28662 shared) #(vi … … 25338 28667 DFT_DEP_SUFFIX=$DFT_LIB_SUFFIX 25339 28668 ;; 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 @@ 25341 28675 esac 25342 28676 test -n "$LIB_SUFFIX" && DFT_LIB_SUFFIX="${LIB_SUFFIX}${DFT_LIB_SUFFIX}" 25343 28677 test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}" 25344 28678 -echo "$as_me:18695: result: $DFT_DEP_SUFFIX" >&5 25345 +echo "$as_me:19 761: result: $DFT_DEP_SUFFIX" >&528679 +echo "$as_me:19910: result: $DFT_DEP_SUFFIX" >&5 25346 28680 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 25347 28681 25348 28682 -echo "$as_me:18698: checking default object directory" >&5 25349 +echo "$as_me:19 764: checking default object directory" >&528683 +echo "$as_me:19913: checking default object directory" >&5 25350 28684 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 25351 28685 25352 28686 case $DFT_LWR_MODEL in 25353 @@ -18711,12 +19 777,12 @@28687 @@ -18711,12 +19926,12 @@ 25354 28688 DFT_OBJ_SUBDIR='obj_s' ;; 25355 28689 esac 25356 28690 esac 25357 28691 -echo "$as_me:18714: result: $DFT_OBJ_SUBDIR" >&5 25358 +echo "$as_me:19 780: result: $DFT_OBJ_SUBDIR" >&528692 +echo "$as_me:19929: result: $DFT_OBJ_SUBDIR" >&5 25359 28693 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 25360 28694 … … 25362 28696 if test "$cf_with_cxx" = yes ; then 25363 28697 -echo "$as_me:18719: checking c++ library-dependency suffix" >&5 25364 +echo "$as_me:19 785: checking c++ library-dependency suffix" >&528698 +echo "$as_me:19934: checking c++ library-dependency suffix" >&5 25365 28699 echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 25366 28700 if test "$with_libtool" != "no"; then 25367 28701 CXX_LIB_SUFFIX=$DFT_DEP_SUFFIX 25368 @@ -18741, 7 +19807,7@@28702 @@ -18741,11 +19956,11 @@ 25369 28703 ;; 25370 28704 shared) #(vi … … 25375 28709 CXX_DEP_SUFFIX=$CXX_LIB_SUFFIX 25376 28710 ;; 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 @@ 25378 28717 test -n "$LIB_SUFFIX" && CXX_LIB_SUFFIX="${LIB_SUFFIX}${CXX_LIB_SUFFIX}" 25379 28718 test -n "$LIB_SUFFIX" && CXX_DEP_SUFFIX="${LIB_SUFFIX}${CXX_DEP_SUFFIX}" 25380 28719 fi 25381 28720 -echo "$as_me:18776: result: $CXX_LIB_SUFFIX" >&5 25382 +echo "$as_me:19 842: result: $CXX_LIB_SUFFIX" >&528721 +echo "$as_me:19991: result: $CXX_LIB_SUFFIX" >&5 25383 28722 echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 25384 28723 25385 28724 fi 25386 @@ -18812,9 + 19878,11 @@28725 @@ -18812,9 +20027,11 @@ 25387 28726 TICS_DEP_SUFFIX="${TICS_NAME}${DFT_DEP_SUFFIX}" 25388 28727 TICS_LIB_SUFFIX="${TICS_NAME}${LIB_SUFFIX}" … … 25398 28737 25399 28738 if test "$with_termlib" != no ; then 25400 @@ -18837,14 + 19905,22 @@28739 @@ -18837,14 +20054,22 @@ 25401 28740 if test "$DFT_LWR_MODEL" = "libtool"; then 25402 28741 TEST_ARGS="${TEST_DEPS}" … … 25424 28763 fi 25425 28764 else 25426 @@ -18858,7 + 19934,8 @@28765 @@ -18858,7 +20083,8 @@ 25427 28766 TICS_LIST="$SHLIB_LIST" 25428 28767 fi … … 25434 28773 25435 28774 if test "$DFT_LWR_MODEL" = shared ; then 25436 @@ -18882,7 + 19959,7 @@28775 @@ -18882,7 +20108,7 @@ 25437 28776 fi 25438 28777 … … 25443 28782 case $DFT_LWR_MODEL in 25444 28783 normal|debug|profile) 25445 @@ -18900,7 + 19977,7 @@28784 @@ -18900,7 +20126,7 @@ 25446 28785 esac 25447 28786 else … … 25452 28791 LDFLAGS_SHARED=-bdynamic 25453 28792 ;; 25454 @@ -18927,19 +20 004,19 @@28793 @@ -18927,19 +20153,19 @@ 25455 28794 25456 28795 if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" 25457 28796 then 25458 28797 - echo "$as_me:18930: checking if linker supports switching between static/dynamic" >&5 25459 + echo "$as_me:20 007: checking if linker supports switching between static/dynamic" >&528798 + echo "$as_me:20156: checking if linker supports switching between static/dynamic" >&5 25460 28799 echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 25461 28800 … … 25463 28802 cat >conftest.$ac_ext <<EOF 25464 28803 -#line 18935 "configure" 25465 +#line 20 012"configure"28804 +#line 20161 "configure" 25466 28805 #include <stdio.h> 25467 28806 int cf_ldflags_static(FILE *fp) { return fflush(fp); } 25468 28807 EOF 25469 28808 - if { (eval echo "$as_me:18939: \"$ac_compile\"") >&5 25470 + if { (eval echo "$as_me:20 016: \"$ac_compile\"") >&528809 + if { (eval echo "$as_me:20165: \"$ac_compile\"") >&5 25471 28810 (eval $ac_compile) 2>&5 25472 28811 ac_status=$? 25473 28812 - echo "$as_me:18942: \$? = $ac_status" >&5 25474 + echo "$as_me:20 019: \$? = $ac_status" >&528813 + echo "$as_me:20168: \$? = $ac_status" >&5 25475 28814 (exit $ac_status); } ; then 25476 28815 ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null 25477 28816 ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null 25478 @@ -18950,10 +20 027,10 @@28817 @@ -18950,10 +20176,10 @@ 25479 28818 25480 28819 LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" 25481 28820 cat >conftest.$ac_ext <<_ACEOF 25482 28821 -#line 18953 "configure" 25483 +#line 20 030"configure"28822 +#line 20179 "configure" 25484 28823 #include "confdefs.h" 25485 28824 25486 28825 -#line 18956 "configure" 25487 +#line 20 033"configure"28826 +#line 20182 "configure" 25488 28827 #include <stdio.h> 25489 28828 int cf_ldflags_static(FILE *fp); 25490 28829 25491 @@ -18968,18 +20 045,28 @@28830 @@ -18968,18 +20194,28 @@ 25492 28831 } 25493 28832 _ACEOF 25494 28833 rm -f conftest.$ac_objext conftest$ac_exeext 25495 28834 -if { (eval echo "$as_me:18971: \"$ac_link\"") >&5 25496 +if { (eval echo "$as_me:20 048: \"$ac_link\"") >&528835 +if { (eval echo "$as_me:20197: \"$ac_link\"") >&5 25497 28836 (eval $ac_link) 2>&5 25498 28837 ac_status=$? 25499 28838 - echo "$as_me:18974: \$? = $ac_status" >&5 25500 + echo "$as_me:20 051: \$? = $ac_status" >&528839 + echo "$as_me:20200: \$? = $ac_status" >&5 25501 28840 (exit $ac_status); } && 25502 28841 { ac_try='test -s conftest$ac_exeext' 25503 28842 - { (eval echo "$as_me:18977: \"$ac_try\"") >&5 25504 + { (eval echo "$as_me:20 054: \"$ac_try\"") >&528843 + { (eval echo "$as_me:20203: \"$ac_try\"") >&5 25505 28844 (eval $ac_try) 2>&5 25506 28845 ac_status=$? 25507 28846 - echo "$as_me:18980: \$? = $ac_status" >&5 25508 + echo "$as_me:20 057: \$? = $ac_status" >&528847 + echo "$as_me:20206: \$? = $ac_status" >&5 25509 28848 (exit $ac_status); }; }; then 25510 28849 - cf_ldflags_static=yes … … 25523 28862 echo "$as_me: failed program was:" >&5 25524 28863 cat conftest.$ac_ext >&5 25525 @@ -18990,7 +20 077,7 @@28864 @@ -18990,7 +20226,7 @@ 25526 28865 rm -f libconftest.* 25527 28866 LIBS="$cf_save_LIBS" 25528 28867 25529 28868 - echo "$as_me:18993: result: $cf_ldflags_static" >&5 25530 + echo "$as_me:20 080: result: $cf_ldflags_static" >&528869 + echo "$as_me:20229: result: $cf_ldflags_static" >&5 25531 28870 echo "${ECHO_T}$cf_ldflags_static" >&6 25532 28871 25533 28872 if test $cf_ldflags_static != yes 25534 @@ -19006,12 +20 093,12 @@28873 @@ -19006,12 +20242,12 @@ 25535 28874 ;; 25536 28875 esac 25537 28876 25538 28877 -echo "$as_me:19009: checking where we will install curses.h" >&5 25539 +echo "$as_me:20 096: checking where we will install curses.h" >&528878 +echo "$as_me:20245: checking where we will install curses.h" >&5 25540 28879 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 25541 28880 test "$with_overwrite" = no && \ … … 25543 28882 includedir='${prefix}/include/ncurses'${LIB_SUFFIX} 25544 28883 -echo "$as_me:19014: result: $includedir" >&5 25545 +echo "$as_me:20 101: result: $includedir" >&528884 +echo "$as_me:20250: result: $includedir" >&5 25546 28885 echo "${ECHO_T}$includedir" >&6 25547 28886 25548 28887 ### Resolve a conflict between normal and wide-curses by forcing applications 25549 @@ -19019,7 +20 106,7 @@28888 @@ -19019,7 +20255,7 @@ 25550 28889 if test "$with_overwrite" != no ; then 25551 28890 if test "$NCURSES_LIBUTF8" = 1 ; then 25552 28891 NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' 25553 28892 - { echo "$as_me:19022: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 25554 + { echo "$as_me:20 109: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&528893 + { echo "$as_me:20258: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 25555 28894 echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} 25556 28895 fi 25557 28896 fi 25558 @@ -19036,7 +20 123,7 @@28897 @@ -19036,7 +20272,7 @@ 25559 28898 ### Construct the list of subdirectories for which we'll customize makefiles 25560 28899 ### with the appropriate compile-rules. 25561 28900 25562 28901 -echo "$as_me:19039: checking for src modules" >&5 25563 +echo "$as_me:20 126: checking for src modules" >&528902 +echo "$as_me:20275: checking for src modules" >&5 25564 28903 echo $ECHO_N "checking for src modules... $ECHO_C" >&6 25565 28904 25566 28905 # dependencies and linker-arguments for test-programs 25567 @@ -19050,6 +20 137,7 @@28906 @@ -19050,6 +20286,7 @@ 25568 28907 TEST_ARG2="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARG2" 25569 28908 fi … … 25573 28912 for cf_dir in $modules_to_build 25574 28913 do 25575 @@ -19096,10 +20 184,11 @@28914 @@ -19096,10 +20333,11 @@ 25576 28915 TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS" 25577 28916 TEST_ARG2="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARG2" … … 25582 28921 done 25583 28922 -echo "$as_me:19102: result: $cf_cv_src_modules" >&5 25584 +echo "$as_me:20 191: result: $cf_cv_src_modules" >&528923 +echo "$as_me:20340: result: $cf_cv_src_modules" >&5 25585 28924 echo "${ECHO_T}$cf_cv_src_modules" >&6 25586 28925 25587 28926 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" 25588 @@ -19118,10 +20 207,16 @@28927 @@ -19118,10 +20356,16 @@ 25589 28928 SRC_SUBDIRS="$SRC_SUBDIRS test" 25590 28929 fi … … 25605 28944 ADA_SUBDIRS="gen src" 25606 28945 if test "x$cf_with_tests" != "xno" ; then 25607 @@ -19143,7 +20 238,7 @@28946 @@ -19143,7 +20387,7 @@ 25608 28947 25609 28948 fi … … 25614 28953 SUB_MAKEFILES="$SUB_MAKEFILES man/adacurses${DFT_ARG_SUFFIX}-config.1:man/MKada_config.in" 25615 28954 fi 25616 @@ -19305,7 +20 400,7 @@28955 @@ -19305,7 +20549,7 @@ 25617 28956 25618 28957 # Extract the first word of "tic", so it can be a program name with args. 25619 28958 set dummy tic; ac_word=$2 25620 28959 -echo "$as_me:19308: checking for $ac_word" >&5 25621 +echo "$as_me:20 403: checking for $ac_word" >&528960 +echo "$as_me:20552: checking for $ac_word" >&5 25622 28961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 25623 28962 if test "${ac_cv_path_TIC_PATH+set}" = set; then 25624 28963 echo $ECHO_N "(cached) $ECHO_C" >&6 25625 @@ -19322,7 +20 417,7 @@28964 @@ -19322,7 +20566,7 @@ 25626 28965 test -z "$ac_dir" && ac_dir=. 25627 28966 if $as_executable_p "$ac_dir/$ac_word"; then 25628 28967 ac_cv_path_TIC_PATH="$ac_dir/$ac_word" 25629 28968 - echo "$as_me:19325: found $ac_dir/$ac_word" >&5 25630 + echo "$as_me:20 420: found $ac_dir/$ac_word" >&528969 + echo "$as_me:20569: found $ac_dir/$ac_word" >&5 25631 28970 break 25632 28971 fi 25633 28972 done 25634 @@ -19334,10 +20 429,10 @@28973 @@ -19334,10 +20578,10 @@ 25635 28974 TIC_PATH=$ac_cv_path_TIC_PATH 25636 28975 25637 28976 if test -n "$TIC_PATH"; then 25638 28977 - echo "$as_me:19337: result: $TIC_PATH" >&5 25639 + echo "$as_me:20 432: result: $TIC_PATH" >&528978 + echo "$as_me:20581: result: $TIC_PATH" >&5 25640 28979 echo "${ECHO_T}$TIC_PATH" >&6 25641 28980 else 25642 28981 - echo "$as_me:19340: result: no" >&5 25643 + echo "$as_me:20 435: result: no" >&528982 + echo "$as_me:20584: result: no" >&5 25644 28983 echo "${ECHO_T}no" >&6 25645 28984 fi 25646 28985 25647 @@ -19345,7 +20 440,7 @@28986 @@ -19345,7 +20589,7 @@ 25648 28987 then 25649 28988 if test "$TIC_PATH" = unknown 25650 28989 then 25651 28990 - { echo "$as_me:19348: WARNING: no tic program found for fallbacks" >&5 25652 + { echo "$as_me:20 443: WARNING: no tic program found for fallbacks" >&528991 + { echo "$as_me:20592: WARNING: no tic program found for fallbacks" >&5 25653 28992 echo "$as_me: WARNING: no tic program found for fallbacks" >&2;} 25654 28993 fi 25655 28994 fi 25656 @@ -19359,11 +20 454,6 @@28995 @@ -19359,11 +20603,6 @@ 25657 28996 ADAHTML_DIR=../../doc/html/ada 25658 28997 … … 25666 29005 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" 25667 29006 ac_config_commands="$ac_config_commands default" 25668 @@ -19446,7 +20 536,7 @@29007 @@ -19446,7 +20685,7 @@ 25669 29008 : ${CONFIG_STATUS=./config.status} 25670 29009 ac_clean_files_save=$ac_clean_files 25671 29010 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 25672 29011 -{ echo "$as_me:19449: creating $CONFIG_STATUS" >&5 25673 +{ echo "$as_me:20 539: creating $CONFIG_STATUS" >&529012 +{ echo "$as_me:20688: creating $CONFIG_STATUS" >&5 25674 29013 echo "$as_me: creating $CONFIG_STATUS" >&6;} 25675 29014 cat >$CONFIG_STATUS <<_ACEOF 25676 29015 #! $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 @@ 25678 29026 echo "$ac_cs_version"; exit 0 ;; 25679 29027 --he | --h) 25680 29028 # Conflict between --help and --header 25681 29029 - { { echo "$as_me:19625: error: ambiguous option: $1 25682 + { { echo "$as_me:20 715: error: ambiguous option: $129030 + { { echo "$as_me:20864: error: ambiguous option: $1 25683 29031 Try \`$0 --help' for more information." >&5 25684 29032 echo "$as_me: error: ambiguous option: $1 25685 29033 Try \`$0 --help' for more information." >&2;} 25686 @@ -19641,7 +20 731,7 @@29034 @@ -19641,7 +20880,7 @@ 25687 29035 ac_need_defaults=false;; 25688 29036 25689 29037 # This is an error. 25690 29038 - -*) { { echo "$as_me:19644: error: unrecognized option: $1 25691 + -*) { { echo "$as_me:20 734: error: unrecognized option: $129039 + -*) { { echo "$as_me:20883: error: unrecognized option: $1 25692 29040 Try \`$0 --help' for more information." >&5 25693 29041 echo "$as_me: error: unrecognized option: $1 25694 29042 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" 25696 29058 LDCONFIG="$LDCONFIG" 25697 29059 LIBTOOL_VERSION="$LIBTOOL_VERSION" … … 25701 29063 LIB_SUFFIX="$LIB_SUFFIX" 25702 29064 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 @@ 25704 29075 cf_cv_enable_opaque="$cf_cv_enable_opaque" 25705 29076 cf_cv_prog_CC_c_o=$cf_cv_prog_CC_c_o … … 25716 29087 cf_with_cxx_binding="$cf_with_cxx_binding" 25717 29088 cf_with_manpages="$cf_with_manpages" 25718 @@ -19747,7 +20 840,7 @@29089 @@ -19747,7 +20989,7 @@ 25719 29090 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 25720 29091 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 25721 29092 "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; 25722 29093 - *) { { echo "$as_me:19750: error: invalid argument: $ac_config_target" >&5 25723 + *) { { echo "$as_me:20 843: error: invalid argument: $ac_config_target" >&529094 + *) { { echo "$as_me:20992: error: invalid argument: $ac_config_target" >&5 25724 29095 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 25725 29096 { (exit 1); exit 1; }; };; 25726 29097 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 @@ 25728 29107 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t 25729 29108 s,@LOCAL_LDFLAGS2@,$LOCAL_LDFLAGS2,;t t … … 25738 29117 s,@TERMINFO@,$TERMINFO,;t t 25739 29118 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 @@ 25741 29140 s,@TICS_ARG_SUFFIX@,$TICS_ARG_SUFFIX,;t t 25742 29141 s,@TICS_DEP_SUFFIX@,$TICS_DEP_SUFFIX,;t t … … 25756 29155 s,@LDFLAGS_SHARED@,$LDFLAGS_SHARED,;t t 25757 29156 s,@WITH_OVERWRITE@,$WITH_OVERWRITE,;t t 25758 @@ -20032,6 +21 129,7 @@29157 @@ -20032,6 +21285,7 @@ 25759 29158 s,@TEST_DEPS@,$TEST_DEPS,;t t 25760 29159 s,@TEST_ARG2@,$TEST_ARG2,;t t … … 25764 29163 s,@DIRS_TO_MAKE@,$DIRS_TO_MAKE,;t t 25765 29164 s,@NCURSES_SHLIB2@,$NCURSES_SHLIB2,;t t 25766 @@ -20157,7 +21 255,7 @@29165 @@ -20157,7 +21411,7 @@ 25767 29166 esac 25768 29167 25769 29168 if test x"$ac_file" != x-; then 25770 29169 - { echo "$as_me:20160: creating $ac_file" >&5 25771 + { echo "$as_me:21 258: creating $ac_file" >&529170 + { echo "$as_me:21414: creating $ac_file" >&5 25772 29171 echo "$as_me: creating $ac_file" >&6;} 25773 29172 rm -f "$ac_file" 25774 29173 fi 25775 @@ -20175,7 +21 273,7 @@29174 @@ -20175,7 +21429,7 @@ 25776 29175 -) echo $tmp/stdin ;; 25777 29176 [\\/$]*) 25778 29177 # Absolute (can't be DOS-style, as IFS=:) 25779 29178 - test -f "$f" || { { echo "$as_me:20178: error: cannot find input file: $f" >&5 25780 + test -f "$f" || { { echo "$as_me:21 276: error: cannot find input file: $f" >&529179 + test -f "$f" || { { echo "$as_me:21432: error: cannot find input file: $f" >&5 25781 29180 echo "$as_me: error: cannot find input file: $f" >&2;} 25782 29181 { (exit 1); exit 1; }; } 25783 29182 echo $f;; 25784 @@ -20188,7 +21 286,7 @@29183 @@ -20188,7 +21442,7 @@ 25785 29184 echo $srcdir/$f 25786 29185 else 25787 29186 # /dev/null tree 25788 29187 - { { echo "$as_me:20191: error: cannot find input file: $f" >&5 25789 + { { echo "$as_me:21 289: error: cannot find input file: $f" >&529188 + { { echo "$as_me:21445: error: cannot find input file: $f" >&5 25790 29189 echo "$as_me: error: cannot find input file: $f" >&2;} 25791 29190 { (exit 1); exit 1; }; } 25792 29191 fi;; 25793 @@ -20254,7 +21 352,7 @@29192 @@ -20254,7 +21508,7 @@ 25794 29193 * ) ac_file_in=$ac_file.in ;; 25795 29194 esac 25796 29195 25797 29196 - test x"$ac_file" != x- && { echo "$as_me:20257: creating $ac_file" >&5 25798 + test x"$ac_file" != x- && { echo "$as_me:21 355: creating $ac_file" >&529197 + test x"$ac_file" != x- && { echo "$as_me:21511: creating $ac_file" >&5 25799 29198 echo "$as_me: creating $ac_file" >&6;} 25800 29199 25801 29200 # First look for the input files in the build tree, otherwise in the 25802 @@ -20265,7 +21 363,7 @@29201 @@ -20265,7 +21519,7 @@ 25803 29202 -) echo $tmp/stdin ;; 25804 29203 [\\/$]*) 25805 29204 # Absolute (can't be DOS-style, as IFS=:) 25806 29205 - test -f "$f" || { { echo "$as_me:20268: error: cannot find input file: $f" >&5 25807 + test -f "$f" || { { echo "$as_me:21 366: error: cannot find input file: $f" >&529206 + test -f "$f" || { { echo "$as_me:21522: error: cannot find input file: $f" >&5 25808 29207 echo "$as_me: error: cannot find input file: $f" >&2;} 25809 29208 { (exit 1); exit 1; }; } 25810 29209 echo $f;; 25811 @@ -20278,7 +21 376,7 @@29210 @@ -20278,7 +21532,7 @@ 25812 29211 echo $srcdir/$f 25813 29212 else 25814 29213 # /dev/null tree 25815 29214 - { { echo "$as_me:20281: error: cannot find input file: $f" >&5 25816 + { { echo "$as_me:21 379: error: cannot find input file: $f" >&529215 + { { echo "$as_me:21535: error: cannot find input file: $f" >&5 25817 29216 echo "$as_me: error: cannot find input file: $f" >&2;} 25818 29217 { (exit 1); exit 1; }; } 25819 29218 fi;; 25820 @@ -20336,7 +21 434,7 @@29219 @@ -20336,7 +21590,7 @@ 25821 29220 rm -f $tmp/in 25822 29221 if test x"$ac_file" != x-; then 25823 29222 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 25824 29223 - { echo "$as_me:20339: $ac_file is unchanged" >&5 25825 + { echo "$as_me:21 437: $ac_file is unchanged" >&529224 + { echo "$as_me:21593: $ac_file is unchanged" >&5 25826 29225 echo "$as_me: $ac_file is unchanged" >&6;} 25827 29226 else 25828 29227 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 25830 29236 25831 29237 fi … … 25840 29246 cf_prefix=$LIB_PREFIX 25841 29247 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 @@ 25844 29260 ;; 25845 29261 shared) #(vi … … 25850 29266 cf_depsuf=$cf_suffix 25851 29267 ;; 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 @@ 25853 29304 ;; 25854 29305 shared) #(vi … … 25859 29310 cf_depsuf=$cf_suffix 25860 29311 ;; 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 @@ 25862 29318 prefix=$cf_prefix \ 25863 29319 suffix=$cf_suffix \ … … 25867 29323 TermlibRoot=$TINFO_NAME \ 25868 29324 TermlibSuffix=$TINFO_SUFFIX \ 25869 @@ -20979,7 +22 071,7 @@29325 @@ -20979,7 +22236,7 @@ 25870 29326 fi 25871 29327 done … … 25877 29333 fi 25878 29334 diff -Naur ncurses-5.9.orig/configure.in ncurses-5.9/configure.in 25879 --- ncurses-5.9.orig/configure.in 2012-0 2-16 18:25:12.639809512+000025880 +++ ncurses-5.9/configure.in 2012-0 2-16 18:25:13.287826611+000029335 --- 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 25881 29337 @@ -1,5 +1,5 @@ 25882 29338 dnl*************************************************************************** … … 25891 29347 dnl 25892 29348 -dnl $Id: configure.in,v 1.520 2011/03/28 00:22:26 tom Exp $ 25893 +dnl $Id: configure.in,v 1.5 41 2012/02/11 20:24:11tom Exp $29349 +dnl $Id: configure.in,v 1.552 2012/08/04 14:52:27 tom Exp $ 25894 29350 dnl Process this file with autoconf to produce a configure script. 25895 29351 dnl … … 25899 29355 AC_PREREQ(2.13.20020210) 25900 29356 -AC_REVISION($Revision: 1.520 $) 25901 +AC_REVISION($Revision: 1.5 41$)29357 +AC_REVISION($Revision: 1.552 $) 25902 29358 AC_INIT(ncurses/base/lib_initscr.c) 25903 29359 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) 25904 29360 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 @@ 25906 29414 25907 29415 # if we find pkg-config, check if we should install the ".pc" files. … … 25934 29442 AC_MSG_CHECKING(if we should assume mixed-case filenames) 25935 29443 AC_ARG_ENABLE(mixed-case, 25936 @@ -321,9 +3 01,7 @@29444 @@ -321,9 +310,7 @@ 25937 29445 LIB_DIR=../lib 25938 29446 LIB_2ND=../../lib … … 25945 29453 LIB_SUFFIX= 25946 29454 AC_SUBST(LIB_SUFFIX) 25947 @@ -453,7 +4 31,6 @@29455 @@ -453,7 +440,6 @@ 25948 29456 esac 25949 29457 AC_SUBST(TERMINFO_SRC) … … 25953 29461 AC_DEFINE(USE_DATABASE) 25954 29462 25955 @@ -494,6 +4 71,26 @@29463 @@ -494,6 +480,26 @@ 25956 29464 WHICH_XTERM=$with_xterm_new 25957 29465 AC_SUBST(WHICH_XTERM) … … 25980 29488 if test "$use_database" = no ; then 25981 29489 TERMINFO="${datadir}/terminfo" 25982 @@ -721,14 +7 18,9 @@29490 @@ -721,14 +727,9 @@ 25983 29491 if test "$with_widec" = yes ; then 25984 29492 LIB_SUFFIX="w${LIB_SUFFIX}" … … 25997 29505 # with_overwrite=no 25998 29506 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 @@ 26000 29524 AC_MSG_RESULT($with_ext_funcs) 26001 29525 if test "$with_ext_funcs" = yes ; then … … 26013 29537 AC_DEFINE(NCURSES_EXT_FUNCS) 26014 29538 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 @@ 26016 29578 wctype.h \ 26017 29579 ) … … 26022 29584 # Note: even non-Posix ISC needs <sys/bsdtypes.h> to declare fd_set 26023 29585 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 @@ 26025 29600 AC_FUNC_SETVBUF_REVERSED 26026 29601 fi … … 26030 29605 CF_SIZECHANGE 26031 29606 CF_FUNC_MEMMOVE 26032 @@ -1478,50 +14 76,14 @@29607 @@ -1478,50 +1491,14 @@ 26033 29608 ;; 26034 29609 esac … … 26084 29659 cf_cxx_library=no 26085 29660 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 @@ 26087 29682 TICS_DEP_SUFFIX="${TICS_NAME}${DFT_DEP_SUFFIX}" 26088 29683 TICS_LIB_SUFFIX="${TICS_NAME}${LIB_SUFFIX}" … … 26105 29700 if test "$with_termlib" != no ; then 26106 29701 26107 @@ -1768,14 +173 3,22 @@29702 @@ -1768,14 +1737,22 @@ 26108 29703 if test "$DFT_LWR_MODEL" = "libtool"; then 26109 29704 TEST_ARGS="${TEST_DEPS}" … … 26131 29726 fi 26132 29727 else 26133 @@ -1789,7 +176 2,8 @@29728 @@ -1789,7 +1766,8 @@ 26134 29729 TICS_LIST="$SHLIB_LIST" 26135 29730 fi … … 26141 29736 26142 29737 if test "$DFT_LWR_MODEL" = shared ; then 26143 @@ -1804,7 +17 78,8 @@29738 @@ -1804,7 +1782,8 @@ 26144 29739 AC_SUBST(TINFO_ARG_SUFFIX) 26145 29740 AC_SUBST(TINFO_DEP_SUFFIX) … … 26151 29746 if test "$with_dlsym" = yes ; then 26152 29747 CF_REMOVE_LIB(TICS_LIST,$TICS_LIST,dl) 26153 @@ -1815,8 +179 0,8 @@29748 @@ -1815,8 +1794,8 @@ 26154 29749 fi 26155 29750 … … 26162 29757 case $DFT_LWR_MODEL in 26163 29758 normal|debug|profile) 26164 @@ -1857,7 +183 2,7 @@29759 @@ -1857,7 +1836,7 @@ 26165 29760 26166 29761 CF_SRC_MODULES($modules_to_build) … … 26171 29766 SUB_MAKEFILES="$SUB_MAKEFILES man/adacurses${DFT_ARG_SUFFIX}-config.1:man/MKada_config.in" 26172 29767 fi 26173 @@ -1918,11 +189 3,6 @@29768 @@ -1918,11 +1897,6 @@ 26174 29769 AC_SUBST(ADAHTML_DIR) 26175 29770 … … 26183 29778 AC_OUTPUT( \ 26184 29779 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) 26186 29786 fi 26187 29787 CF_LIB_RULES($SRC_SUBDIRS) … … 26192 29792 $AWK -f $srcdir/Ada95/mk-1st.awk <$srcdir/Ada95/src/modules >>Ada95/src/Makefile 26193 29793 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" 26195 29800 LDCONFIG="$LDCONFIG" 26196 29801 LIBTOOL_VERSION="$LIBTOOL_VERSION" … … 26200 29805 LIB_SUFFIX="$LIB_SUFFIX" 26201 29806 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 @@ 26203 29817 cf_cv_enable_opaque="$cf_cv_enable_opaque" 26204 29818 cf_cv_prog_CC_c_o=$cf_cv_prog_CC_c_o … … 26216 29830 cf_with_manpages="$cf_with_manpages" 26217 29831 diff -Naur ncurses-5.9.orig/dist.mk ncurses-5.9/dist.mk 26218 --- ncurses-5.9.orig/dist.mk 2012-0 2-16 18:25:12.639809512+000026219 +++ ncurses-5.9/dist.mk 2012-0 2-16 18:25:13.287826611 +000029832 --- 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 26220 29834 @@ -1,5 +1,5 @@ 26221 29835 ############################################################################## … … 26230 29844 ############################################################################## 26231 29845 -# $Id: dist.mk,v 1.810 2011/04/04 22:42:20 tom Exp $ 26232 +# $Id: dist.mk,v 1.8 57 2012/02/11 14:48:13 tom Exp $29846 +# $Id: dist.mk,v 1.886 2012/08/11 15:55:23 tom Exp $ 26233 29847 # Makefile for creating ncurses distributions. 26234 29848 # … … 26239 29853 NCURSES_MINOR = 9 26240 29854 -NCURSES_PATCH = 20110404 26241 +NCURSES_PATCH = 20120 21129855 +NCURSES_PATCH = 20120811 26242 29856 26243 29857 # We don't append the patch to the version, since this only applies to releases 26244 29858 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) 26245 29859 diff -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-0 2-16 18:25:12.663810147+000026247 +++ ncurses-5.9/doc/html/man/adacurses-config.1.html 2012-0 2-16 18:25:13.127822391 +000029860 --- 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 26248 29862 @@ -83,7 +83,7 @@ 26249 29863 <H2>SEE ALSO</H2><PRE> … … 26256 29870 26257 29871 diff -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-0 2-16 18:25:12.663810147+000026259 +++ ncurses-5.9/doc/html/man/captoinfo.1m.html 2012-0 2-16 18:25:13.127822391 +000029872 --- 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 26260 29874 @@ -208,7 +208,7 @@ 26261 29875 <H2>SEE ALSO</H2><PRE> … … 26268 29882 </PRE> 26269 29883 diff -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-0 2-16 18:25:12.659810041+000026271 +++ ncurses-5.9/doc/html/man/clear.1.html 2012-0 2-16 18:25:13.127822391 +000029884 --- 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 26272 29886 @@ -69,7 +69,7 @@ 26273 29887 <H2>SEE ALSO</H2><PRE> … … 26280 29894 26281 29895 diff -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-0 2-16 18:25:12.663810147+000026283 +++ ncurses-5.9/doc/html/man/curs_termcap.3x.html 2012-0 2-16 18:25:13.127822391+000029896 --- 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 26284 29898 @@ -1,7 +1,7 @@ 26285 29899 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 26456 30070 26457 30071 diff -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-0 2-16 18:25:12.663810147 +000026459 +++ ncurses-5.9/doc/html/man/curs_terminfo.3x.html 2012-0 2-16 18:25:13.127822391+000030072 --- 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 26460 30074 @@ -1,7 +1,7 @@ 26461 30075 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 26605 30219 26606 30220 diff -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-0 2-16 18:25:12.663810147 +000026608 +++ ncurses-5.9/doc/html/man/curs_util.3x.html 2012-0 2-16 18:25:13.127822391+000030221 --- 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 26609 30223 @@ -1,7 +1,7 @@ 26610 30224 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 26626 30240 <HEAD> 26627 30241 diff -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-0 2-16 18:25:12.663810147+000026629 +++ ncurses-5.9/doc/html/man/form.3x.html 2012-0 2-16 18:25:13.127822391+000030242 --- 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 26630 30244 @@ -243,7 +243,7 @@ 26631 30245 … … 26638 30252 26639 30253 diff -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-0 2-16 18:25:12.659810041+000026641 +++ ncurses-5.9/doc/html/man/infocmp.1m.html 2012-0 2-16 18:25:13.127822391+000030254 --- 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 26642 30256 @@ -2,7 +2,7 @@ 26643 30257 <!-- … … 26785 30399 </PRE> 26786 30400 diff -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-0 2-16 18:25:12.663810147+000026788 +++ ncurses-5.9/doc/html/man/infotocap.1m.html 2012-0 2-16 18:25:13.127822391+000030401 --- 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 26789 30403 @@ -94,7 +94,7 @@ 26790 30404 <H2>SEE ALSO</H2><PRE> … … 26797 30411 </PRE> 26798 30412 diff -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-0 2-16 18:25:12.659810041+000026800 +++ ncurses-5.9/doc/html/man/menu.3x.html 2012-0 2-16 18:25:13.131822496+000030413 --- 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 26801 30415 @@ -226,7 +226,7 @@ 26802 30416 … … 26809 30423 26810 30424 diff -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-0 2-16 18:25:12.659810041+000026812 +++ ncurses-5.9/doc/html/man/ncurses.3x.html 2012-0 2-16 18:25:13.131822496+000030425 --- 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 26813 30427 @@ -28,7 +28,7 @@ 26814 30428 * sale, use or other dealings in this Software without prior written * … … 27456 31070 <STRONG>o</STRONG> The routine <STRONG>has_key</STRONG> is not part of XPG4, nor is it 27457 31071 diff -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-0 2-16 18:25:12.659810041+000027459 +++ ncurses-5.9/doc/html/man/ncurses5-config.1.html 2012-0 2-16 18:25:13.131822496+000031072 --- 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 27460 31074 @@ -105,7 +105,8 @@ 27461 31075 … … 27478 31092 27479 31093 diff -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-0 2-16 18:25:12.659810041+000027481 +++ ncurses-5.9/doc/html/man/panel.3x.html 2012-0 2-16 18:25:13.131822496+000031094 --- 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 27482 31096 @@ -218,7 +218,7 @@ 27483 31097 <H2>SEE ALSO</H2><PRE> … … 27490 31104 </PRE> 27491 31105 diff -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-0 2-16 18:25:12.659810041+000027493 +++ ncurses-5.9/doc/html/man/tabs.1.html 2012-0 2-16 18:25:13.131822496+000031106 --- 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 27494 31108 @@ -1,7 +1,7 @@ 27495 31109 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 27520 31134 27521 31135 diff -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-0 2-16 18:25:12.655809935+000027523 +++ ncurses-5.9/doc/html/man/term.7.html 2012-0 2-16 18:25:13.131822496+000031136 --- 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 27524 31138 @@ -1,7 +1,7 @@ 27525 31139 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 27541 31155 <HEAD> 27542 31156 diff -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-0 2-16 18:25:12.659810041+000027544 +++ ncurses-5.9/doc/html/man/term_variables.3x.html 2012-0 2-16 18:25:13.131822496+000031157 --- 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 27545 31159 @@ -1,7 +1,7 @@ 27546 31160 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 27562 31176 <HEAD> 27563 31177 diff -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-0 2-16 18:25:12.655809935 +000027565 +++ ncurses-5.9/doc/html/man/terminfo.5.html 2012-0 2-16 18:25:13.135822601 +000031178 --- 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 27566 31180 @@ -34,7 +34,7 @@ 27567 31181 **************************************************************************** … … 28626 32240 upper left corner ACS_ULCORNER + l 28627 32241 diff -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-0 2-16 18:25:12.663810147+000028629 +++ ncurses-5.9/doc/html/man/tic.1m.html 2012-0 2-16 18:25:13.135822601+000032242 --- 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 28630 32244 @@ -1,7 +1,7 @@ 28631 32245 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 29058 32672 </PRE> 29059 32673 diff -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-0 2-16 18:25:12.663810147+000029061 +++ ncurses-5.9/doc/html/man/toe.1m.html 2012-0 2-16 18:25:13.135822601+000032674 --- 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 29062 32676 @@ -1,7 +1,7 @@ 29063 32677 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 29112 32726 29113 32727 diff -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-0 2-16 18:25:12.655809935 +000029115 +++ ncurses-5.9/doc/html/man/tput.1.html 2012-0 2-16 18:25:13.135822601+000032728 --- 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 29116 32730 @@ -2,7 +2,7 @@ 29117 32731 <!-- … … 29167 32781 29168 32782 diff -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-0 2-16 18:25:12.663810147+000029170 +++ ncurses-5.9/doc/html/man/tset.1.html 2012-0 2-16 18:25:13.139822706+000032783 --- 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 29171 32785 @@ -1,7 +1,7 @@ 29172 32786 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> … … 29457 33071 29458 33072 33073 diff -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 <stdlib.h> 33092 #include <curses.h> 33093 #include <signal.h> 33094 33095 diff -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); 29459 33106 diff -Naur ncurses-5.9.orig/form/Makefile.in ncurses-5.9/form/Makefile.in 29460 --- ncurses-5.9.orig/form/Makefile.in 2012-0 2-16 18:25:12.623809091+000029461 +++ ncurses-5.9/form/Makefile.in 2012-0 2-16 18:25:12.947817639+000033107 --- 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 29462 33109 @@ -1,6 +1,6 @@ 29463 33110 -# $Id: Makefile.in,v 1.53 2010/11/27 21:45:27 tom Exp $ … … 29477 33124 29478 33125 NCURSES_MAJOR = @NCURSES_MAJOR@ 29479 diff -Naur ncurses-5.9.orig/form/fld_ def.c ncurses-5.9/form/fld_def.c29480 --- ncurses-5.9.orig/form/fld_ def.c 2012-02-16 18:25:12.623809091+000029481 +++ ncurses-5.9/form/fld_ def.c 2012-02-16 18:25:12.947817639 +000033126 diff -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 29482 33129 @@ -1,5 +1,5 @@ 29483 33130 /**************************************************************************** 29484 - * Copyright (c) 1998-200 7,2010 Free Software Foundation, Inc. *29485 + * Copyright (c) 1998-2010,201 1Free Software Foundation, Inc. *33131 - * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc. * 33132 + * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc. * 29486 33133 * * 29487 33134 * Permission is hereby granted, free of charge, to any person obtaining a * … … 29491 33138 #include "form.priv.h" 29492 33139 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; 33154 diff -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 29493 33168 -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:11tom Exp $")33169 +MODULE_ID("$Id: fld_def.c,v 1.40 2012/03/11 00:37:16 tom Exp $") 29495 33170 29496 33171 /* this can't be readonly */ … … 29523 33198 else 29524 33199 { 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 33220 diff -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 29528 33223 @@ -1,5 +1,5 @@ 29529 33224 /**************************************************************************** 29530 - * Copyright (c) 1998-200 9,2010 Free Software Foundation, Inc. *29531 + * Copyright (c) 1998-2010,201 1Free Software Foundation, Inc. *33225 - * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc. * 33226 + * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc. * 29532 33227 * * 29533 33228 * Permission is hereby granted, free of charge, to any person obtaining a * … … 29537 33232 #include "form.priv.h" 29538 33233 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; 33250 diff -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; 33278 diff -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++; 33312 diff -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 33340 diff -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; 33370 diff -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); 33405 diff -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 33435 diff -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 } 33466 diff -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 } 33497 diff -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 */ 33537 diff -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) 33605 diff -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 29539 33619 -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:10tom Exp $")33620 +MODULE_ID("$Id: frm_driver.c,v 1.102 2012/07/21 23:23:08 tom Exp $") 29541 33621 29542 33622 /*---------------------------------------------------------------------------- 29543 33623 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 @@ 29545 33810 field->opts = oldopts; 29546 33811 returnCode(E_CURRENT); … … 29549 33814 + if (form->curpage == field->page) 29550 33815 { 29551 if (changed_opts & O_VISIBLE) 33816 - if (changed_opts & O_VISIBLE) 33817 + if ((unsigned)changed_opts & O_VISIBLE) 29552 33818 { 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 } 34192 diff -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 } 34218 diff -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 34264 diff -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 34292 diff -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 34329 diff -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 } 34382 diff -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; 34410 diff -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 } 34439 diff -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 } 29553 34468 diff -Naur ncurses-5.9.orig/include/Caps ncurses-5.9/include/Caps 29554 --- ncurses-5.9.orig/include/Caps 2012-0 2-16 18:25:12.643809617+000029555 +++ ncurses-5.9/include/Caps 2012-0 2-16 18:25:12.951817745+000034469 --- 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 29556 34471 @@ -1,5 +1,5 @@ 29557 34472 ############################################################################## … … 29599 34514 # 29600 34515 diff -Naur ncurses-5.9.orig/include/Caps.aix4 ncurses-5.9/include/Caps.aix4 29601 --- ncurses-5.9.orig/include/Caps.aix4 2012-0 2-16 18:25:12.643809617+000029602 +++ ncurses-5.9/include/Caps.aix4 2012-0 2-16 18:25:12.951817745+000034516 --- 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 29603 34518 @@ -1,5 +1,5 @@ 29604 34519 ############################################################################## … … 29646 34561 # 29647 34562 diff -Naur ncurses-5.9.orig/include/Caps.hpux11 ncurses-5.9/include/Caps.hpux11 29648 --- ncurses-5.9.orig/include/Caps.hpux11 2012-0 2-16 18:25:12.643809617+000029649 +++ ncurses-5.9/include/Caps.hpux11 2012-0 2-16 18:25:12.951817745+000034563 --- 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 29650 34565 @@ -1,5 +1,5 @@ 29651 34566 ############################################################################## … … 29693 34608 enter_low_hl_mode elohlm str Xo - - ----- Enter low highlight mode 29694 34609 diff -Naur ncurses-5.9.orig/include/Caps.keys ncurses-5.9/include/Caps.keys 29695 --- ncurses-5.9.orig/include/Caps.keys 2012-0 2-16 18:25:12.643809617+000029696 +++ ncurses-5.9/include/Caps.keys 2012-0 2-16 18:25:12.951817745 +000034610 --- 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 29697 34612 @@ -1,5 +1,5 @@ 29698 34613 ############################################################################## … … 29740 34655 # 29741 34656 diff -Naur ncurses-5.9.orig/include/Caps.osf1r5 ncurses-5.9/include/Caps.osf1r5 29742 --- ncurses-5.9.orig/include/Caps.osf1r5 2012-0 2-16 18:25:12.643809617+000029743 +++ ncurses-5.9/include/Caps.osf1r5 2012-0 2-16 18:25:12.955817851+000034657 --- 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 29744 34659 @@ -1,5 +1,5 @@ 29745 34660 ############################################################################## … … 29768 34683 enter_low_hl_mode elohlm str Xo - - ----- Enter low highlight mode 29769 34684 diff -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-0 2-16 18:25:12.643809617+000029771 +++ ncurses-5.9/include/MKterm.h.awk.in 2012-0 2-16 18:25:12.955817851+000034685 --- 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 29772 34687 @@ -1,7 +1,7 @@ 29773 34688 # vile:awkmode … … 29831 34746 print "#if __MINGW32__" 29832 34747 diff -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 * 29835 34757 @@ -32,7 +32,7 @@ 29836 34758 * and: Thomas E. Dickey 1996-on * … … 29838 34760 29839 34761 -/* $Id: curses.h.in,v 1.220 2011/01/22 19:47:20 tom Exp $ */ 29840 +/* $Id: curses.h.in,v 1.2 27 2011/10/29 20:01:35tom Exp $ */34762 +/* $Id: curses.h.in,v 1.232 2012/07/28 18:17:43 tom Exp $ */ 29841 34763 29842 34764 #ifndef __NCURSES_H 29843 34765 #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 @@ 29845 34781 29846 34782 /* … … 29869 34805 #endif 29870 34806 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 @@ 29872 34817 29873 34818 typedef chtype attr_t; /* ...must be at least as wide as chtype */ … … 29878 34823 #if @NCURSES_LIBUTF8@ 29879 34824 #ifdef mblen /* libutf8.h defines it w/o undefining first */ 29880 @@ -366,7 +37 2,7 @@34825 @@ -366,7 +379,7 @@ 29881 34826 /* 29882 34827 * cchar_t stores an array of CCHARW_MAX wide characters. The first is … … 29887 34832 */ 29888 34833 #define CCHARW_MAX @NCURSES_CCHARW_MAX@ 29889 @@ -434,7 +44 0,7 @@34834 @@ -434,7 +447,7 @@ 29890 34835 29891 34836 NCURSES_SIZE_T _yoffset; /* real begy is _begy + _yoffset */ … … 29896 34841 #if @NCURSES_EXT_COLORS@ 29897 34842 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 @@ 29899 34861 /* 29900 34862 * vid_attr() was implemented originally based on a draft of X/Open curses. … … 29905 34867 #endif 29906 34868 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 @@ 29908 34887 #define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL) 29909 34888 … … 29914 34893 ? ((win)->_color = PAIR_NUMBER(at), \ 29915 34894 (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) 29917 34906 #define winsstr(w, s) winsnstr(w, s, -1) 29918 34907 … … 29923 34912 29924 34913 #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 /* 29926 35090 * Some wide-character functions can be implemented without the extensions. 29927 35091 */ … … 29962 35126 #endif 29963 35127 #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 29964 35137 diff -Naur ncurses-5.9.orig/include/curses.tail ncurses-5.9/include/curses.tail 29965 --- ncurses-5.9.orig/include/curses.tail 2012-0 2-16 18:25:12.643809617+000029966 +++ ncurses-5.9/include/curses.tail 2012-0 2-16 18:25:12.955817851+000035138 --- 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 29967 35140 @@ -1,4 +1,4 @@ 29968 35141 -/* $Id: curses.tail,v 1.20 2010/03/28 19:10:55 tom Exp $ */ … … 29981 35154 #define _tracech_t2 _tracecchar_t2 29982 35155 diff -Naur ncurses-5.9.orig/include/curses.wide ncurses-5.9/include/curses.wide 29983 --- ncurses-5.9.orig/include/curses.wide 2012-0 2-16 18:25:12.643809617+000029984 +++ ncurses-5.9/include/curses.wide 2012-0 2-16 18:25:12.955817851+000035156 --- 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 29985 35158 @@ -1,4 +1,4 @@ 29986 35159 -/* $Id: curses.wide,v 1.42 2010/03/30 00:39:41 tom Exp $ */ 29987 +/* $Id: curses.wide,v 1.4 4 2011/10/29 20:08:19tom Exp $ */35160 +/* $Id: curses.wide,v 1.45 2012/07/28 18:10:02 tom Exp $ */ 29988 35161 /* 29989 35162 * vile:cmode: 29990 35163 * This file is part of ncurses, designed to be appended after curses.h.in 29991 @@ -6, 7 +6,7@@35164 @@ -6,11 +6,11 @@ 29992 35165 */ 29993 35166 #define _XOPEN_CURSES 1 … … 29998 35171 extern NCURSES_EXPORT_VAR(cchar_t *) _nc_wacs; 29999 35172 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) 30002 35240 30003 35241 #if !NCURSES_OPAQUE … … 30006 35244 #endif 30007 35245 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 35323 diff -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 30009 35361 diff -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-0 2-16 18:25:12.643809617+000030011 +++ ncurses-5.9/include/nc_alloc.h 2012-0 2-16 18:25:12.955817851+000035362 --- 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 30012 35364 @@ -1,5 +1,5 @@ 30013 35365 /**************************************************************************** … … 30048 35400 + 30049 35401 #endif /* NC_ALLOC_included */ 35402 diff -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 */ 30050 35483 diff -Naur ncurses-5.9.orig/include/nc_termios.h ncurses-5.9/include/nc_termios.h 30051 35484 --- 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-0 2-16 18:25:12.955817851+000035485 +++ ncurses-5.9/include/nc_termios.h 2012-08-25 19:57:59.989898157 +0000 30053 35486 @@ -0,0 +1,171 @@ 30054 35487 +/**************************************************************************** … … 30223 35656 + 30224 35657 +#endif /* NC_TERMIOS_included */ 35658 diff -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 30225 35690 diff -Naur ncurses-5.9.orig/include/ncurses_defs ncurses-5.9/include/ncurses_defs 30226 --- ncurses-5.9.orig/include/ncurses_defs 2012-0 2-16 18:25:12.643809617+000030227 +++ ncurses-5.9/include/ncurses_defs 2012-0 2-16 18:25:12.955817851 +000030228 @@ -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 @@ 30229 35694 -# $Id: ncurses_defs,v 1.46 2011/03/22 09:17:59 tom Exp $ 30230 +# $Id: ncurses_defs,v 1.5 2 2011/12/17 18:14:30tom Exp $35695 +# $Id: ncurses_defs,v 1.54 2012/07/14 21:03:29 tom Exp $ 30231 35696 ############################################################################## 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. # 30233 35699 # # 35700 # Permission is hereby granted, free of charge, to any person obtaining a # 35701 # copy of this software and associated documentation files (the "Software"), # 30234 35702 @@ -34,6 +34,7 @@ 30235 35703 BROKEN_LINKER … … 30248 35716 HAVE_BSD_CGETENT 30249 35717 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 @@ 30251 35735 HAVE_SIZECHANGE 30252 35736 HAVE_SLK_COLOR 30253 35737 HAVE_SLK_INIT 1 35738 +HAVE_SNPRINTF 30254 35739 +HAVE_STDINT_H 30255 35740 HAVE_STRDUP 35741 +HAVE_STRLCAT 35742 +HAVE_STRLCPY 30256 35743 HAVE_STRSTR 30257 35744 HAVE_SYMLINK 30258 @@ -153,9 +156,12 @@ 35745 HAVE_SYS_BSDTYPES_H 35746 @@ -153,9 +161,12 @@ 30259 35747 HAVE_TYPEINFO 30260 35748 HAVE_TYPE_ATTR_T … … 30269 35757 HAVE_VSNPRINTF 30270 35758 HAVE_VSSCANF 30271 @@ -176,6 +18 2,7 @@35759 @@ -176,6 +187,7 @@ 30272 35760 NCURSES_EXT_FUNCS 30273 35761 NCURSES_NO_PADDING … … 30277 35765 NO_LEAKS 30278 35766 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 30279 35775 diff -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-0 2-16 18:25:12.643809617+000030281 +++ ncurses-5.9/include/ncurses_mingw.h 2012-0 2-16 18:25:12.955817851+000035776 --- 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 30282 35778 @@ -1,5 +1,5 @@ 30283 35779 /**************************************************************************** … … 30402 35898 +#endif /* __MINGW32__ */ 30403 35899 diff -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-0 2-16 18:25:12.643809617+000030405 +++ ncurses-5.9/include/term_entry.h 2012-0 2-16 18:25:12.959817957+000035900 --- 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 30406 35902 @@ -1,5 +1,5 @@ 30407 35903 /**************************************************************************** 30408 35904 - * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * 30409 + * Copyright (c) 1998-20 09,2011Free Software Foundation, Inc. *35905 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 30410 35906 * * 30411 35907 * Permission is hereby granted, free of charge, to any person obtaining a * … … 30416 35912 30417 35913 -/* $Id: term_entry.h,v 1.37 2009/07/11 16:52:29 tom Exp $ */ 30418 +/* $Id: term_entry.h,v 1.4 0 2011/10/08 21:00:41tom Exp $ */35914 +/* $Id: term_entry.h,v 1.41 2012/02/29 11:57:03 tom Exp $ */ 30419 35915 30420 35916 /* … … 30445 35941 #define MAX_CROSSLINKS 16 30446 35942 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 *); 30447 35952 diff -Naur ncurses-5.9.orig/include/tic.h ncurses-5.9/include/tic.h 30448 --- ncurses-5.9.orig/include/tic.h 2012-0 2-16 18:25:12.643809617+000030449 +++ ncurses-5.9/include/tic.h 2012-0 2-16 18:25:12.959817957+000035953 --- 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 30450 35955 @@ -1,5 +1,5 @@ 30451 35956 /**************************************************************************** 30452 35957 - * Copyright (c) 1998-2007,2009 Free Software Foundation, Inc. * 30453 + * Copyright (c) 1998-20 09,2011Free Software Foundation, Inc. *35958 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 30454 35959 * * 30455 35960 * Permission is hereby granted, free of charge, to any person obtaining a * 30456 35961 * copy of this software and associated documentation files (the * 30457 @@ -33, 7 +33,7@@35962 @@ -33,14 +33,14 @@ 30458 35963 ****************************************************************************/ 30459 35964 30460 35965 /* 30461 35966 - * $Id: tic.h,v 1.65 2009/08/08 17:52:46 tom Exp $ 30462 + * $Id: tic.h,v 1.6 7 2011/10/08 21:00:50 tom Exp $35967 + * $Id: tic.h,v 1.69 2012/03/17 18:22:10 tom Exp $ 30463 35968 * tic.h - Global variables and structures for the terminfo 30464 35969 * compiler. 30465 35970 */ 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 @@ 30467 36002 extern NCURSES_EXPORT_VAR(int) _nc_curr_col; 30468 36003 extern NCURSES_EXPORT_VAR(int) _nc_curr_line; … … 30472 36007 extern NCURSES_EXPORT_VAR(long) _nc_comment_start; 30473 36008 extern NCURSES_EXPORT_VAR(long) _nc_curr_file_pos; 30474 @@ -314,23 +3 15,6 @@36009 @@ -314,23 +323,6 @@ 30475 36010 extern const char * _nc_progname; 30476 36011 … … 30496 36031 extern NCURSES_EXPORT(const char *) _nc_tic_dir (const char *); 30497 36032 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 */ 36045 diff -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 36062 diff -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 36101 diff -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) 30498 36174 diff -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-0 2-16 18:25:12.687810779+000030500 +++ ncurses-5.9/man/curs_termcap.3x 2012-0 2-16 18:25:12.959817957+000036175 --- 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 30501 36177 @@ -1,5 +1,5 @@ 30502 36178 .\"*************************************************************************** … … 30556 36232 or zero if it is not available. 30557 36233 diff -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-0 2-16 18:25:12.683810673+000030559 +++ ncurses-5.9/man/curs_terminfo.3x 2012-0 2-16 18:25:12.959817957+000036234 --- 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 30560 36236 @@ -1,5 +1,5 @@ 30561 36237 .\"*************************************************************************** … … 30583 36259 .SH SEE ALSO 30584 36260 \fBcurses\fR(3X), 30585 diff -Naur ncurses-5.9.orig/man/curs_ util.3x ncurses-5.9/man/curs_util.3x30586 --- ncurses-5.9.orig/man/curs_ util.3x 2012-02-16 18:25:12.679810567+000030587 +++ ncurses-5.9/man/curs_ util.3x 2012-02-16 18:25:12.959817957+000036261 diff -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 30588 36264 @@ -1,5 +1,5 @@ 30589 36265 .\"*************************************************************************** 30590 -.\" Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.*30591 +.\" Copyright (c) 1998-2010,2011Free Software Foundation, Inc. *36266 -.\" Copyright (c) 2008,2010 Free Software Foundation, Inc. * 36267 +.\" Copyright (c) 2008-2010,2012 Free Software Foundation, Inc. * 30592 36268 .\" * 30593 36269 .\" Permission is hereby granted, free of charge, to any person obtaining a * … … 30597 36273 .\"*************************************************************************** 30598 36274 .\" 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 36292 diff -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 .\" 30599 36307 -.\" $Id: curs_util.3x,v 1.32 2010/12/04 18:38:55 tom Exp $ 30600 +.\" $Id: curs_util.3x,v 1.3 3 2011/12/17 23:31:30 tom Exp $36308 +.\" $Id: curs_util.3x,v 1.36 2012/07/21 18:51:10 tom Exp $ 30601 36309 .TH curs_util 3X "" 30602 36310 .de bP 30603 36311 .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 @@ 30605 36411 .PP 30606 36412 The \fBkeyname\fP function may return the names of user-defined … … 30611 36417 user-defined strings which begin with "k". 30612 36418 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 30613 36430 diff -Naur ncurses-5.9.orig/man/infocmp.1m ncurses-5.9/man/infocmp.1m 30614 --- ncurses-5.9.orig/man/infocmp.1m 2012-0 2-16 18:25:12.679810567+000030615 +++ ncurses-5.9/man/infocmp.1m 2012-0 2-16 18:25:12.959817957+000036431 --- 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 30616 36433 @@ -1,6 +1,6 @@ 30617 36434 '\" t 30618 36435 .\"*************************************************************************** 30619 36436 -.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. * 30620 +.\" Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *36437 +.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 30621 36438 .\" * 30622 36439 .\" Permission is hereby granted, free of charge, to any person obtaining a * … … 30627 36444 .\" 30628 36445 -.\" $Id: infocmp.1m,v 1.46 2010/12/04 18:40:45 tom Exp $ 30629 +.\" $Id: infocmp.1m,v 1.5 0 2011/12/17 23:15:19tom Exp $36446 +.\" $Id: infocmp.1m,v 1.51 2012/05/26 21:32:01 tom Exp $ 30630 36447 .TH @INFOCMP@ 1M "" 30631 36448 .ds n 5 … … 30644 36461 T\ 30645 36462 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 @@ 30647 36513 \fB\-L\fR/use the long C variable name listed in <\fBterm.h\fR> 30648 36514 \fB\-C\fR/use the \fBtermcap\fR names … … 30652 36518 .PP 30653 36519 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 30656 36546 will take off this restriction, allowing all capabilities to be output in 30657 36547 \fItermcap\fR form. … … 30663 36553 .PP 30664 36554 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 30667 36593 different value for the capability than that in the first \fItermname\fR. 30668 36594 .PP 30669 36595 -The order of the other \fItermname\fR entries is significant. Since the 30670 36596 -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 30671 36599 +terminfo compiler \fB@TIC@\fR does a left-to-right scan of the capabilities, 30672 36600 specifying two \fBuse=\fR entries that contain differing entries for the same 30673 36601 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 30676 36636 created by different people. 30677 36637 .SS Other Options … … 30681 36641 +.TP 5 30682 36642 \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, 30684 36646 the fields will be printed several to a line to a maximum width 30685 @@ -210,6 +221,9 @@ 36647 of 60 characters. 36648 .TP 30686 36649 \fB\-a\fR 30687 36650 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. 30689 36654 +.TP 30690 36655 +\fB\-D\fR … … 30693 36658 \fB\-E\fR 30694 36659 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 @@ 30696 36731 descriptions are limited (e.g., 1023 for termcap, 4096 for terminfo). 30697 36732 .TP … … 30702 36737 untranslatable capabilities are commented-out. 30703 36738 .TP 5 30704 @@ -385,13 + 399,15 @@36739 @@ -385,13 +438,15 @@ 30705 36740 \fB\-x\fR 30706 36741 print information for user-defined capabilities. … … 30719 36754 \fB\-F\fR, 30720 36755 \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. 30721 36766 diff -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 * 30724 36777 @@ -27,7 +27,7 @@ 30725 36778 .\" authorization. * … … 30727 36780 .\" 30728 36781 -.\" $Id: ncurses.3x,v 1.103 2011/02/05 23:21:29 tom Exp $ 30729 +.\" $Id: ncurses.3x,v 1.10 6 2011/12/17 23:19:59tom Exp $36782 +.\" $Id: ncurses.3x,v 1.107 2012/07/14 21:13:06 tom Exp $ 30730 36783 .hy 0 30731 36784 .TH ncurses 3X "" … … 30743 36796 .PP 30744 36797 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 @@ 30746 36807 integer value other than \fBERR\fR upon successful completion, unless 30747 36808 otherwise noted in the routine descriptions. … … 30753 36814 \fBwsetscrreg\fR, \fBgetyx\fR, \fBgetbegyx\fR, and \fBgetmaxyx\fR. 30754 36815 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 @@ 30756 36828 .IP 30757 36829 As an alternative to the environment variable, … … 30762 36834 .RS 5 30763 36835 .sp 30764 @@ -1004,6 +10 07,13 @@36836 @@ -1004,6 +1010,13 @@ 30765 36837 The list is separated by colons (i.e., ":") on Unix, semicolons on OS/2 EMX. 30766 36838 All of the terminal descriptions are in terminfo form, which makes … … 30776 36848 TERMPATH 30777 36849 If TERMCAP does not hold a file name then \fBncurses\fR checks 30778 @@ -1144,6 +115 4,15 @@36850 @@ -1144,6 +1157,15 @@ 30779 36851 the XSI Curses and \fBncurses\fR calls) are described in \fBPORTABILITY\fR 30780 36852 sections of the library man pages. … … 30792 36864 .bP 30793 36865 The routine \fBhas_key\fR is not part of XPG4, nor is it present in SVr4. 36866 diff -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). 30794 36894 diff -Naur ncurses-5.9.orig/man/tabs.1 ncurses-5.9/man/tabs.1 30795 --- ncurses-5.9.orig/man/tabs.1 2012-0 2-16 18:25:12.679810567+000030796 +++ ncurses-5.9/man/tabs.1 2012-0 2-16 18:25:12.959817957+000036895 --- 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 30797 36897 @@ -1,5 +1,5 @@ 30798 36898 .\"*************************************************************************** … … 30852 36952 .SS Implicit Lists 30853 36953 diff -Naur ncurses-5.9.orig/man/term.7 ncurses-5.9/man/term.7 30854 --- ncurses-5.9.orig/man/term.7 2012-0 2-16 18:25:12.683810673+000030855 +++ ncurses-5.9/man/term.7 2012-0 2-16 18:25:12.959817957+000036954 --- 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 30856 36956 @@ -1,5 +1,5 @@ 30857 36957 .\"*************************************************************************** … … 30880 36980 .PP 30881 36981 diff -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-0 2-16 18:25:12.679810567+000030883 +++ ncurses-5.9/man/term_variables.3x 2012-0 2-16 18:25:12.959817957+000036982 --- 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 30884 36984 @@ -1,5 +1,5 @@ 30885 36985 .\"*************************************************************************** … … 30907 37007 as well as the corresponding names for termcap capabilities. 30908 37008 These are available to other applications, 37009 diff -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 30909 37034 diff -Naur ncurses-5.9.orig/man/terminfo.tail ncurses-5.9/man/terminfo.tail 30910 --- ncurses-5.9.orig/man/terminfo.tail 2012-0 2-16 18:25:12.679810567+000030911 +++ ncurses-5.9/man/terminfo.tail 2012-0 2-16 18:25:12.963818063 +000037035 --- 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 30912 37037 @@ -1,4 +1,4 @@ 30913 37038 -.\" $Id: terminfo.tail,v 1.53 2010/12/04 18:38:55 tom Exp $ 30914 +.\" $Id: terminfo.tail,v 1.5 5 2011/12/17 23:19:59tom Exp $37039 +.\" $Id: terminfo.tail,v 1.57 2012/03/01 12:02:54 tom Exp $ 30915 37040 .\" Beginning of terminfo.tail file 30916 37041 .\" This file is part of ncurses. 30917 37042 .\" 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 @@ 30919 37077 for a compiled description. 30920 37078 If it fails to find one there, and the environment variable TERMINFO_DIRS is … … 30927 37085 TERMINFO_DIRS directories, the fetch fails. 30928 37086 .PP 30929 @@ -397,7 + 397,7 @@37087 @@ -397,7 +412,7 @@ 30930 37088 .IP 30931 37089 where c\di\u are conditions, b\di\u are bodies. … … 30936 37094 Some strings, e.g., \fBsgr\fP can be very complicated when written 30937 37095 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 @@ 30939 37113 .B it 30940 37114 is given, showing the number of spaces the tabs are set to. … … 30945 37119 and whether to set the tab stops. 30946 37120 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 30947 37145 diff -Naur ncurses-5.9.orig/man/tic.1m ncurses-5.9/man/tic.1m 30948 --- ncurses-5.9.orig/man/tic.1m 2012-0 2-16 18:25:12.683810673+000030949 +++ ncurses-5.9/man/tic.1m 2012-0 2-16 18:25:13.239825345+000037146 --- 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 30950 37148 @@ -1,5 +1,5 @@ 30951 37149 .\"*************************************************************************** … … 30960 37158 .\" 30961 37159 -.\" $Id: tic.1m,v 1.47 2010/12/04 18:38:55 tom Exp $ 30962 +.\" $Id: tic.1m,v 1.5 4 2012/02/04 23:09:43tom Exp $37160 +.\" $Id: tic.1m,v 1.55 2012/03/24 21:21:05 tom Exp $ 30963 37161 .TH @TIC@ 1M "" 30964 37162 .ds n 5 … … 31150 37348 or in termcaps. 31151 37349 .TP 31152 @@ -200, 7 +259,7@@37350 @@ -200,31 +259,13 @@ 31153 37351 .TP 31154 37352 \fB\-v\fR\fIn\fR … … 31159 37357 indicating the desired level of detail of information. 31160 37358 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: 31162 37383 .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 @@ 31176 37385 All values computed in construction of the hash table 31177 37386 .LP 31178 37387 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. 31179 37412 +.SS PROCESSING 31180 37413 .PP … … 31198 37431 those capabilities that explicitly are defined in the current entry. 31199 37432 .PP 31200 @@ -272,9 +33 3,6 @@37433 @@ -272,9 +338,6 @@ 31201 37434 \fBentry_name_1\fR before \fBuse=\fR for these capabilities to be 31202 37435 canceled in \fBentry_name_1\fR. … … 31208 37441 The name field cannot 31209 37442 exceed 512 bytes. 31210 @@ -282,14 +34 0,14 @@37443 @@ -282,14 +345,14 @@ 31211 37444 (32 characters on systems with long filenames, 14 characters otherwise) 31212 37445 will be truncated to the maximum alias length and a warning message will be printed. … … 31226 37459 In fact, entries in terminfo and termcap syntax can 31227 37460 be mixed in a single source file. 31228 @@ -298,16 +3 56,20 @@37461 @@ -298,16 +361,20 @@ 31229 37462 .PP 31230 37463 The SVr4 manual pages are not clear on the resolution rules for \fBuse\fR … … 31251 37484 \fB\-G\fR, 31252 37485 \fB\-I\fR, 31253 @@ -329,7 +39 1,7 @@37486 @@ -329,7 +396,7 @@ 31254 37487 The SVr4 \fB\-c\fR mode does not report bad use links. 31255 37488 .PP … … 31260 37493 .TP 5 31261 37494 \fB\*d/?/*\fR 31262 @@ -340,6 +40 2,7 @@37495 @@ -340,6 +407,7 @@ 31263 37496 \fB@INFOTOCAP@\fR(1M), 31264 37497 \fB@TOE@\fR(1M), … … 31269 37502 This describes \fBncurses\fR 31270 37503 diff -Naur ncurses-5.9.orig/man/toe.1m ncurses-5.9/man/toe.1m 31271 --- ncurses-5.9.orig/man/toe.1m 2012-0 2-16 18:25:12.679810567+000031272 +++ ncurses-5.9/man/toe.1m 2012-0 2-16 18:25:13.059820594+000037504 --- 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 31273 37506 @@ -1,5 +1,5 @@ 31274 37507 .\"*************************************************************************** … … 31328 37561 .TP 31329 37562 diff -Naur ncurses-5.9.orig/man/tput.1 ncurses-5.9/man/tput.1 31330 --- ncurses-5.9.orig/man/tput.1 2012-0 2-16 18:25:12.683810673+000031331 +++ ncurses-5.9/man/tput.1 2012-0 2-16 18:25:12.963818063+000037563 --- 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 31332 37565 @@ -1,6 +1,6 @@ 31333 37566 '\" t 31334 37567 .\"*************************************************************************** 31335 37568 -.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. * 31336 +.\" Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *37569 +.\" Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 31337 37570 .\" * 31338 37571 .\" Permission is hereby granted, free of charge, to any person obtaining a * … … 31343 37576 .\" 31344 37577 -.\" $Id: tput.1,v 1.29 2010/12/04 18:41:07 tom Exp $ 31345 +.\" $Id: tput.1,v 1.3 1 2011/12/25 01:37:53tom Exp $37578 +.\" $Id: tput.1,v 1.32 2012/07/14 21:06:45 tom Exp $ 31346 37579 .TH @TPUT@ 1 "" 31347 37580 .ds d @TERMINFO@ 31348 37581 .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 @@ 31350 37600 .PP 31351 37601 If \fB@TPUT@\fR is invoked by a link named \fBreset\fR, this has the … … 31356 37606 .TP 5 31357 37607 \fB@TPUT@ init\fR 31358 @@ -275,7 +27 5,7 @@37608 @@ -275,7 +276,7 @@ 31359 37609 .PP 31360 37610 Any other exit code indicates an error; see the DIAGNOSTICS section. … … 31365 37615 .PP 31366 37616 .ne 15 31367 @@ -303,17 +30 3,29 @@37617 @@ -303,17 +304,29 @@ 31368 37618 .PP 31369 37619 X/Open documents only the operands for \fBclear\fP, \fBinit\fP and \fBreset\fP. … … 31399 37649 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@). 31400 37650 diff -Naur ncurses-5.9.orig/man/tset.1 ncurses-5.9/man/tset.1 31401 --- ncurses-5.9.orig/man/tset.1 2012-0 2-16 18:25:12.683810673+000031402 +++ ncurses-5.9/man/tset.1 2012-0 2-16 18:25:12.963818063+000037651 --- 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 31403 37653 @@ -1,5 +1,5 @@ 31404 37654 .\"*************************************************************************** … … 31536 37786 .TP 5 31537 37787 diff -Naur ncurses-5.9.orig/menu/Makefile.in ncurses-5.9/menu/Makefile.in 31538 --- ncurses-5.9.orig/menu/Makefile.in 2012-0 2-16 18:25:12.627809197+000031539 +++ ncurses-5.9/menu/Makefile.in 2012-0 2-16 18:25:12.963818063+000037788 --- 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 31540 37790 @@ -1,6 +1,6 @@ 31541 37791 -# $Id: Makefile.in,v 1.54 2010/11/27 21:45:27 tom Exp $ … … 31555 37805 31556 37806 NCURSES_MAJOR = @NCURSES_MAJOR@ 31557 diff -Naur ncurses-5.9.orig/menu/m_ driver.c ncurses-5.9/menu/m_driver.c31558 --- ncurses-5.9.orig/menu/m_ driver.c 2012-02-16 18:25:12.627809197+000031559 +++ ncurses-5.9/menu/m_ driver.c 2012-02-16 18:25:12.963818063+000037807 diff -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 31560 37810 @@ -1,5 +1,5 @@ 31561 37811 /**************************************************************************** 31562 - * Copyright (c) 1998-200 9,2010 Free Software Foundation, Inc. *31563 + * Copyright (c) 1998-2010,201 1Free Software Foundation, Inc. *37812 - * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc. * 37813 + * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc. * 31564 37814 * * 31565 37815 * Permission is hereby granted, free of charge, to any person obtaining a * … … 31569 37819 #include "menu.priv.h" 31570 37820 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))\ 37835 diff -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 31571 37849 -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.3 0 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 $") 31573 37851 31574 37852 /* Macros */ 31575 37853 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 /*--------------------------------------------------------------------------- 31576 37863 @@ -537,7 +537,11 @@ 31577 37864 result = E_UNKNOWN_COMMAND; … … 31587 37874 /* Adjust the top row if it turns out that the current item unfortunately 31588 37875 doesn't appear in the menu window */ 37876 diff -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); 37934 diff -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 } 38073 diff -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 } 38099 diff -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 } 38184 diff -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); 38212 diff -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 } 38360 diff -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 } 38412 diff -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); 38444 diff -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 */ 38494 diff -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 */ 31589 38549 diff -Naur ncurses-5.9.orig/misc/Makefile.in ncurses-5.9/misc/Makefile.in 31590 --- ncurses-5.9.orig/misc/Makefile.in 2012-0 2-16 18:25:12.611808773+000031591 +++ ncurses-5.9/misc/Makefile.in 2012-0 2-16 18:25:13.287826611 +000038550 --- 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 31592 38552 @@ -1,6 +1,6 @@ 31593 38553 -# $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:49tom Exp $38554 +# $Id: Makefile.in,v 1.60 2012/08/11 21:31:56 tom Exp $ 31595 38555 ############################################################################## 31596 38556 -# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. # … … 31599 38559 # Permission is hereby granted, free of charge, to any person obtaining a # 31600 38560 # 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 @@ 31602 38570 31603 38571 run_tic.sed : … … 31609 38577 31610 38578 $(DESTDIR)$(bindir) \ 31611 @@ -139,7 +14 0,7 @@38579 @@ -139,7 +141,7 @@ 31612 38580 31613 38581 uninstall.libs : … … 31619 38587 31620 38588 diff -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-0 2-16 18:25:12.607808668+000031622 +++ ncurses-5.9/misc/gen-pkgconfig.in 2012-0 2-16 18:25:13.059820594+000038589 --- 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 31623 38591 @@ -1,7 +1,7 @@ 31624 38592 #!@SHELL@ … … 31746 38714 # vile:shmode 31747 38715 diff -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-0 2-16 18:25:12.607808668+000031749 +++ ncurses-5.9/misc/gen_edit.sh 2012-0 2-16 18:25:13.287826611+000038716 --- 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 31750 38718 @@ -1,6 +1,6 @@ 31751 38719 #!/bin/sh … … 31761 38729 # 31762 38730 -# $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:03tom Exp $38731 +# $Id: gen_edit.sh,v 1.5 2012/04/01 15:04:37 tom Exp $ 31764 38732 # Generate a sed-script for converting the terminfo.src to the form which will 31765 38733 # be installed. 31766 38734 # 31767 @@ -37, 12 +37,13@@38735 @@ -37,22 +37,82 @@ 31768 38736 # The leaf directory names (lib, tabset, terminfo) 31769 38737 # 31770 38738 31771 38739 -: ${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} 31775 38747 31776 38748 # If we're not installing into /usr/share/, we'll have to adjust the location … … 31781 38753 cat <<EOF 31782 38754 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,/ 31784 38764 } 31785 38765 EOF 31786 38766 fi 31787 38767 + 31788 +if test "$xterm_kbs" != "BS" ; then 38768 +if test "$XTERM_KBS" != "BS" ; then 38769 +echo "** using DEL for XTerm backspace-key" >&2 31789 38770 +cat <<EOF 31790 38771 +/^xterm+kbs|fragment for backspace key/,/^#/{ … … 31796 38777 +# Work around incompatibities built into Linux console. The 2.6 series added 31797 38778 +# 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 31801 38814 +then 31802 + case x`uname -r` in 31803 + x1.*) 38815 +echo "** using $WHICH_LINUX terminal description for Linux console" >&2 31804 38816 +cat <<EOF 31805 38817 +/^# This is Linux console for ncurses/,/^$/{ 31806 + s/use= linux3.0,/use=linux-c,/38818 + s/use=$linux_dft,/use=$WHICH_LINUX,/ 31807 38819 +} 31808 38820 +EOF 31809 + ;;31810 + x2.[0-4]*)31811 +cat <<EOF31812 +/^# This is Linux console for ncurses/,/^$/{31813 + s/use=linux3.0,/use=linux2.2,/31814 +}31815 +EOF31816 + ;;31817 + esac31818 38821 +fi 31819 38822 diff -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-0 2-16 18:25:12.607808668+000031821 +++ ncurses-5.9/misc/ncurses-config.in 2012-0 2-16 18:25:12.967818168 +000038823 --- 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 31822 38825 @@ -1,5 +1,5 @@ 31823 38826 #!@SHELL@ 31824 38827 -# $Id: ncurses-config.in,v 1.25 2011/03/19 22:43:38 tom Exp $ 31825 +# $Id: ncurses-config.in,v 1.2 7 2011/08/13 22:11:20 tom Exp $38828 +# $Id: ncurses-config.in,v 1.28 2012/08/11 21:45:20 tom Exp $ 31826 38829 ############################################################################## 31827 38830 # Copyright (c) 2006-2010,2011 Free Software Foundation, Inc. # 31828 38831 # # 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@" 31830 38839 31831 38840 THIS="@LIB_NAME@@DFT_ARG_SUFFIX@" … … 31835 38844 LANG=C; export LANG 31836 38845 LANGUAGE=C; export LANGUAGE 31837 @@ -83,13 +8 4,19 @@38846 @@ -83,13 +85,19 @@ 31838 38847 ENDECHO 31839 38848 ;; … … 31857 38866 fi 31858 38867 ;; 31859 @@ -163,4 +17 0,5 @@38868 @@ -163,4 +171,5 @@ 31860 38869 esac 31861 38870 shift … … 31863 38872 +# vi:ts=4 sw=4 31864 38873 # vile:shmode 38874 diff -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@} 31865 38892 diff -Naur ncurses-5.9.orig/misc/terminfo.src ncurses-5.9/misc/terminfo.src 31866 --- ncurses-5.9.orig/misc/terminfo.src 2012-0 2-16 18:25:12.607808668 +000031867 +++ ncurses-5.9/misc/terminfo.src 2012-0 2-16 18:25:13.299826928 +000038893 --- 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 31868 38895 @@ -6,8 +6,8 @@ 31869 38896 # Report bugs and new terminal descriptions to … … 31872 38899 -# $Revision: 1.383 $ 31873 38900 -# $Date: 2011/02/20 20:46:53 $ 31874 +# $Revision: 1.4 26 $31875 +# $Date: 2012/0 2/11 23:38:27$38901 +# $Revision: 1.466 $ 38902 +# $Date: 2012/08/11 15:27:54 $ 31876 38903 # 31877 38904 # The original header is preserved below for reference. It is noted that there 31878 38905 # 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 @@ 31880 38961 use=ansi.sysk, 31881 38962 … … 31887 38968 # Atari ST terminals. 31888 38969 # From Guido Flohr <gufl0000@stud.uni-sb.de>. 31889 @@ -909,7 +9 07,7 @@38970 @@ -909,7 +916,7 @@ 31890 38971 khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 31891 38972 kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, … … 31896 38977 vpa=\E[%i%p1%dd, use=vt102+enq, use=klone+sgr, 31897 38978 use=ecma+color, 31898 @@ -936,10 +9 34,27@@38979 @@ -936,10 +943,30 @@ 31899 38980 # The 2.2.x kernels add a private mode that sets the cursor type; use that to 31900 38981 # get a block cursor for cvvis. … … 31909 38990 +# Using SI/SO has the drawback that it confuses screen. SCS would work. 31910 38991 +# 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 31911 38994 +linux2.6|linux 2.6.x console, 31912 38995 + rmacs=^O, … … 31915 38998 + 31916 38999 +# The 3.0 kernel adds support for clearing scrollback buffer (capability E3). 39000 +# It is the same as xterm's erase-saved-lines feature. 31917 39001 +linux3.0|linux 3.0 kernels, 31918 39002 + E3=\E[3;J, use=linux2.6, … … 31920 39004 +# This is Linux console for ncurses. 31921 39005 +linux|linux console, 31922 + use=linux 3.0,39006 + use=linux2.2, 31923 39007 + 31924 39008 # Subject: linux 2.6.26 vt back_color_erase 31925 39009 # Changes to the Linux console driver broke bce model as reported in 31926 39010 # https://bugzilla.novell.com/show_bug.cgi?id=418613 31927 @@ -947,7 +9 62,7 @@39011 @@ -947,7 +974,7 @@ 31928 39012 # http://lkml.org/lkml/2008/4/26/305 31929 39013 # http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e … … 31934 39018 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file 31935 39019 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 @@ 31937 39030 dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m, 31938 39031 setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach, … … 31959 39052 # http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/ 31960 39053 # 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 @@ 31962 39064 qansi-w|QNX ansi for windows, 31963 39065 xvpa, use=qansi-m, … … 32016 39118 # 32017 39119 # pcvt termcap database entries (corresponding to release 3.31) 32018 @@ -1786,7 +18 69,7 @@39120 @@ -1786,7 +1881,7 @@ 32019 39121 ofcons|DNARD OpenFirmware console, 32020 39122 bw, … … 32025 39127 cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 32026 39128 cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 32027 @@ -1798,8 +18 81,8 @@39129 @@ -1798,8 +1893,8 @@ 32028 39130 kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 32029 39131 kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, … … 32036 39138 # NetBSD "wscons" emulator in vt220 mode. 32037 39139 # 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 @@ 32039 39444 kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 32040 39445 kf9=\EOX, use=putty, … … 32065 39470 # T. Teranishi dated Mar 10, 1998. It is a free software terminal emulator 32066 39471 # (communication program) which supports: 32067 @@ -3091,7 +31 96,8 @@39472 @@ -3091,7 +3175,8 @@ 32068 39473 kf9=\EOX, rmkx=\E[?1l\E>, rmso=\E[m, smkx=\E[?1h\E, 32069 39474 smso=\E[7m, … … 32075 39480 # You can add the following line to your .Xdefaults to change the terminal type 32076 39481 # 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 @@ 32078 39524 # This version reflects the current xterm features. 32079 39525 xterm-new|modern xterm terminal emulator, … … 32095 39541 # This fragment describes as much of XFree86 xterm's "pc-style" function 32096 39542 # 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 @@ 32098 39553 dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 32099 39554 flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 32100 39555 ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 32101 39556 - 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, 32102 39563 + 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, 32107 39572 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, 32108 39573 sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h, 32109 39574 smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, 32110 39575 - 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, 32113 39578 32114 39579 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997 32115 39580 # In retrospect, something like xterm-r6 was intended here -TD 32116 @@ -3527,6 +36 36,28 @@39581 @@ -3527,6 +3617,28 @@ 32117 39582 xterm-1003|testing xterm-mouse, 32118 39583 XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new, … … 32130 39595 +# p1 = the storage unit (clipboard, selection or cut buffer) 32131 39596 +# p2 = the base64-encoded clipboard content. 32132 +# 39597 +# 32133 39598 +# Ss is used to set the cursor style as described by the DECSCUSR 32134 39599 +# function to a block or underline. 32135 39600 +# Se resets the cursor style to the terminal power-on default. 32136 +# 32137 +# Cs and C eset and reset the cursor colour.39601 +# 39602 +# Cs and Cr set and reset the cursor colour. 32138 39603 +xterm+tmux|advanced xterm features used in tmux, 32139 39604 + Cr=\E]112\007, Cs=\E]12;%p1%s\007, … … 32143 39608 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color. 32144 39609 # To use it, your decTerminalID resource must be set to 200 or above. 32145 @@ -3552,8 +36 83,8 @@39610 @@ -3552,8 +3664,8 @@ 32146 39611 hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@, 32147 39612 il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m, … … 32154 39619 kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 32155 39620 kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 32156 @@ -3575,6 +3 706,7 @@39621 @@ -3575,6 +3687,7 @@ 32157 39622 smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=, 32158 39623 smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR, … … 32162 39627 xterm-hp|xterm with hpterm function keys, 32163 39628 kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 32164 @@ -3621,8 +37 53,9 @@39629 @@ -3621,8 +3734,9 @@ 32165 39630 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 32166 39631 bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, … … 32174 39639 xterm-noapp|xterm with cursor keys in normal mode, 32175 39640 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 # 32177 39702 # xterm with bold instead of underline 32178 39703 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, 32179 39705 smso=\E[7m, smul=\E[1m, use=xterm-old, 32180 39706 + … … 32190 39716 # (kterm should not invoke DEC Graphics as the alternate character set 32191 39717 # -- Kenji Rikitake) 32192 @@ -3676,12 +38 18,50@@39718 @@ -3676,12 +3833,51 @@ 32193 39719 tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color, 32194 39720 kterm-color|kterm-co|kterm with ANSI colors, … … 32241 39767 +# title bar. [I have translated it to terminfo -- ESR] 32242 39768 +xterm-pcolor|xterm with color used for highlights and status line, 39769 + wsl#40, 32243 39770 + bold=\E[1;43m, rev=\E[7;34m, 32244 39771 + 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, … … 32247 39774 # This describes the capabilities of color_xterm, an xterm variant from 32248 39775 # before ECMA-64 color support was folded into the main-line xterm release. 32249 @@ -3729,6 +39 09,32 @@39776 @@ -3729,6 +3925,32 @@ 32250 39777 ncv@, 32251 39778 op=\E[m, use=xterm-r6, use=klone+color, … … 32280 39807 gnome-rh62|Gnome terminal, 32281 39808 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 @@ 32283 39819 xfce|Xfce Terminal, 32284 39820 use=vte, … … 32288 39824 # 32289 39825 # This does not use VTE, and does have different behavior (compare xfce and 32290 @@ -3874,6 +40 81,7 @@39826 @@ -3874,6 +4097,7 @@ 32291 39827 mgt|Multi GNOME Terminal, 32292 39828 indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333, … … 32296 39832 # or not is debatable). 32297 39833 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 @@ 32299 39860 konsole-256color|KDE console window with xterm 256-colors, 32300 39861 initc@, use=xterm+256color, use=konsole, … … 32304 39865 # 32305 39866 # It is nominally a vt102 emulator, with features borrowed from rxvt and 32306 @@ -4037,6 +42 46,7 @@39867 @@ -4037,6 +4261,7 @@ 32307 39868 mlterm-256color|mlterm 3.0 with xterm 256-colors, 32308 39869 use=xterm+256color, use=rxvt, … … 32312 39873 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997 32313 39874 # Notes: 32314 @@ -4208,6 +44 18,7 @@39875 @@ -4208,6 +4433,7 @@ 32315 39876 rxvt-16color|xterm with 16 colors like aixterm, 32316 39877 ncv#32, use=ibm+16color, use=rxvt, … … 32320 39881 # 32321 39882 # mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which 32322 @@ -4225,6 +44 36,7 @@39883 @@ -4225,6 +4451,7 @@ 32323 39884 mrxvt-256color|multitabbed rxvt with 256 colors, 32324 39885 use=xterm+256color, use=mrxvt, … … 32328 39889 # 32329 39890 # Eterm 0.9.3 32330 @@ -4270,11 +44 82,13 @@39891 @@ -4270,11 +4497,13 @@ 32331 39892 Eterm-88color|Eterm with 88 colors, 32332 39893 use=xterm+88color, use=Eterm, … … 32342 39903 # This is not based on xterm's source... 32343 39904 # vttest shows several problems with keyboard, cursor-movements. 32344 @@ -4283,48 +4 497,8 @@39905 @@ -4283,48 +4512,8 @@ 32345 39906 km@, 32346 39907 kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6, … … 32392 39953 # from BSD termcap. (hpterm: added empty <acsc>, we have no idea what ACS 32393 39954 # chars look like --esr) 32394 @@ -4357,31 +45 31,7 @@39955 @@ -4357,31 +4546,7 @@ 32395 39956 initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI, 32396 39957 op=\E&v0S, scp=\E&v%p1%dS, use=hpterm, … … 32425 39986 # It corresponds to emu's internal emulation: 32426 39987 # emu -term emu 32427 @@ -4443,6 +4 593,8 @@39988 @@ -4443,6 +4608,8 @@ 32428 39989 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%;, 32429 39990 sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=, … … 32434 39995 # print interface, ANSI X3.64 colour escape sequences, etc. Newsgroup postings 32435 39996 # indicate that it emulates more than one terminal, but incompletely. 32436 @@ -4477,7 +46 29,7 @@39997 @@ -4477,7 +4644,7 @@ 32437 39998 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 32438 39999 tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys, … … 32443 40004 # This application is available by email from <mouse@Rodents.Montreal.QC.CA>. 32444 40005 # 32445 @@ -4598,6 +47 50,123 @@40006 @@ -4598,6 +4765,123 @@ 32446 40007 kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 32447 40008 khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr, … … 32475 40036 + cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 32476 40037 + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 32477 + dch1=\E[P, dl 1=\E[M, ed=\E[J, el=\E[K, home=\E[H,32478 + h pa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,32479 + il 1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=\177, kcub1=\E[D,32480 + kcu d1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,32481 + k end=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,32482 + kf1 2=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~,32483 + kf 6=\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~, 32484 40045 + khome=\E[1~, knp=\E[6~, kpp=\E[5~, op=\E[37;40m, rc=\E8, 32485 40046 + rev=\E[7m, rmacs=\E(B, rmso=\E[m, rmul=\E[m, sc=\E7, … … 32493 40054 +st-256color|simpleterm with 256 colors, 32494 40055 + ccc@, 32495 + initc@, use= simpleterm, use=xterm+256color,40056 + initc@, use=xterm+256color, use=simpleterm, 32496 40057 + 32497 40058 +### TERMINATOR … … 32567 40128 # 32568 40129 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 @@ 32570 40176 kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 32571 40177 kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, … … 32582 40188 # flake out on the last line. Unfortunately, without them the terminal has no 32583 40189 # 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 @@ 32585 40202 sun-color|Sun Microsystems Workstation console with color support (IA systems), 32586 40203 colors#8, ncv#3, pairs#64, … … 32596 40213 32597 40214 #### Iris consoles 32598 @@ -5405,7 +56 75,7 @@40215 @@ -5405,7 +5694,7 @@ 32599 40216 #### Non-Unix Consoles 32600 40217 # … … 32605 40222 # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the 32606 40223 # no_color_video to inform the application that standout(1), underline(2) 32607 @@ -5544,7 +58 14,7 @@40224 @@ -5544,7 +5833,7 @@ 32608 40225 rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 32609 40226 rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, … … 32614 40231 smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];, 32615 40232 vpa=\E[%i%p1%dd, use=vt102+enq, 32616 @@ -5579,7 +58 49,7 @@40233 @@ -5579,7 +5868,7 @@ 32617 40234 rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l, 32618 40235 rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7, … … 32623 40240 smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt102+enq, 32624 40241 32625 @@ -5825,7 +6 095,7 @@40242 @@ -5825,7 +6114,7 @@ 32626 40243 ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, 32627 40244 kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, … … 32632 40249 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 32633 40250 sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 32634 @@ -5968,7 +62 38,7 @@40251 @@ -5968,7 +6257,7 @@ 32635 40252 # :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r: 32636 40253 # :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\ … … 32641 40258 blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2, 32642 40259 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 @@ 32644 40306 rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 32645 40307 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, … … 32652 40314 tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 32653 40315 32654 @@ -9980,7 +102 50,7 @@40316 @@ -9980,7 +10272,7 @@ 32655 40317 pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 32656 40318 rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, … … 32661 40323 tsl=\E7\E[25;%p1%{1}%+%dH, 32662 40324 32663 @@ -10078,7 +103 48,7 @@40325 @@ -10078,7 +10370,7 @@ 32664 40326 pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 32665 40327 rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, … … 32670 40332 smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 32671 40333 tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 32672 @@ -10284,7 +105 54,7 @@40334 @@ -10284,7 +10576,7 @@ 32673 40335 rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 32674 40336 rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, … … 32679 40341 smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 32680 40342 smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 32681 @@ -10681,7 +109 51,7 @@40343 @@ -10681,7 +10973,7 @@ 32682 40344 ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 32683 40345 rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, … … 32688 40350 smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 32689 40351 tsl=\E7\E[25;%i%p1%dx, 32690 @@ -10741,7 +110 11,7 @@40352 @@ -10741,7 +11033,7 @@ 32691 40353 mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 32692 40354 rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, … … 32697 40359 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 32698 40360 lines#24, use=att630, 32699 @@ -11391,7 +116 61,7 @@40361 @@ -11391,7 +11683,7 @@ 32700 40362 rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 32701 40363 rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, … … 32706 40368 smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 32707 40369 smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 32708 @@ -11401,13 +116 71,13 @@40370 @@ -11401,13 +11693,13 @@ 32709 40371 blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 32710 40372 is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, … … 32722 40384 aaa-18|ann arbor ambassador/18 lines, 32723 40385 lines#18, 32724 @@ -11574,7 +118 44,7 @@40386 @@ -11574,7 +11866,7 @@ 32725 40387 blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 32726 40388 is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, … … 32731 40393 32732 40394 #### 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 @@ 32734 40422 ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, 32735 40423 rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, … … 32747 40435 flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 32748 40436 use=avt-ns, 32749 @@ -12763,7 +130 34,6 @@40437 @@ -12763,7 +13055,6 @@ 32750 40438 # backspace on all terminals. This is not so in DG mode. 32751 40439 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the … … 32755 40443 OTbs, am, msgr, ul, 32756 40444 cols#80, it#8, lines#24, 32757 @@ -12774,10 +130 44,12 @@40445 @@ -12774,10 +13065,12 @@ 32758 40446 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 32759 40447 kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, … … 32772 40460 # Data General 605x 32773 40461 # 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 @@ 32775 40496 sb2|sb3|fixed superbee, 32776 40497 xsb@, use=superbee, … … 32781 40502 # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999): 32782 40503 # 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 @@ 32784 40514 is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ, 32785 40515 rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ, … … 32790 40520 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 32791 40521 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, 32794 40541 rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 32795 40542 sc=\E[%y, … … 32798 40545 sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m, 32799 40546 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 @@ 32802 40552 rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 32803 40553 rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, … … 32808 40558 smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 32809 40559 tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad, 32810 @@ -15339,7 +156 11,7 @@40560 @@ -15339,7 +15635,7 @@ 32811 40561 rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 32812 40562 rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, … … 32817 40567 smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 32818 40568 tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 32819 @@ -15395,7 +156 67,7 @@40569 @@ -15395,7 +15691,7 @@ 32820 40570 rmul=\E[24m, 32821 40571 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>, … … 32826 40576 smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 32827 40577 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 @@ 32829 40713 # See 32830 40714 # http://www.minix3.org/manpages/man4/console.4.html … … 32850 40734 32851 40735 # See 32852 @@ -17792,7 +18 081,7 @@40736 @@ -17792,7 +18141,7 @@ 32853 40737 am, use=minix-old, 32854 40738 … … 32859 40743 # According to the Coherent 2.3 manual, the PC console is similar 32860 40744 # 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 +# 32862 40961 ######## CHANGE HISTORY 32863 40962 # … … 32870 40969 # This file contains all the capability information present in John Kunze's 32871 40970 # last version of the termcap master file, except as noted in the change 32872 @@ -21115,7 +21 404,7 @@40971 @@ -21115,7 +21563,7 @@ 32873 40972 # * Replaced HP entries up to hpsub with purpose-built ones. 32874 40973 # * Blank rmir/smir/rmdc/smdc capabilities removed. … … 32879 40978 # more efficient (but the entries otherwise identical). 32880 40979 # * Added dg211 from Shuford archive. 32881 @@ -22224,7 +22 513,7 @@40980 @@ -22224,7 +22672,7 @@ 32882 40981 # * add screen.rxvt -TD 32883 40982 # … … 32888 40987 # 2008-06-28 32889 40988 # * add screen.mlterm -TD 32890 @@ -22354,6 +22 643,68@@40989 @@ -22354,6 +22802,139 @@ 32891 40990 # * add xterm-utf8 as a demo of the U8 feature -TD 32892 40991 # … … 32956 41055 +# * make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD 32957 41056 +# * 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 32958 41128 # 32959 41129 ######## SHANTIH! SHANTIH! SHANTIH! 41130 diff -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 32960 41270 diff -Naur ncurses-5.9.orig/mk-1st.awk ncurses-5.9/mk-1st.awk 32961 --- ncurses-5.9.orig/mk-1st.awk 2012-0 2-16 18:25:12.639809512+000032962 +++ ncurses-5.9/mk-1st.awk 2012-0 2-16 18:25:12.975818378+000041271 --- 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 32963 41273 @@ -1,6 +1,6 @@ 32964 41274 -# $Id: mk-1st.awk,v 1.85 2010/08/07 20:42:30 Gabriele.Balducci Exp $ 32965 +# $Id: mk-1st.awk,v 1.8 7 2011/12/17 20:27:27tom Exp $41275 +# $Id: mk-1st.awk,v 1.88 2012/02/25 20:22:09 tom Exp $ 32966 41276 ############################################################################## 32967 41277 -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # 32968 +# Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. #41278 +# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. # 32969 41279 # # 32970 41280 # Permission is hereby granted, free of charge, to any person obtaining a # … … 32978 41288 # ShlibVerInfix ("yes" or "no", determines location of version #) 32979 41289 # 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 @@ 32981 41336 dst_libs = sprintf("%s/%s", directory, end_name); 32982 41337 printf "%s : \\\n", dst_libs … … 32990 41345 save_suffix = suffix 32991 41346 sub(/^[^.]\./,".",suffix) 32992 @@ -242,6 +2 48,7 @@41347 @@ -242,6 +252,7 @@ 32993 41348 printf "# prefix: %s\n", prefix 32994 41349 printf "# suffix: %s\n", suffix … … 32998 41353 printf "# ShlibVerInfix: %s\n", ShlibVerInfix 32999 41354 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 } 33000 41395 @@ -396,12 +403,13 @@ 33001 41396 end_name = lib_name; … … 33016 41411 print "install.libs \\" 33017 41412 diff -Naur ncurses-5.9.orig/ncurses/Makefile.in ncurses-5.9/ncurses/Makefile.in 33018 --- ncurses-5.9.orig/ncurses/Makefile.in 2012-0 2-16 18:25:12.679810567+000033019 +++ ncurses-5.9/ncurses/Makefile.in 2012-0 2-16 18:25:12.975818378 +000041413 --- 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 33020 41415 @@ -1,6 +1,6 @@ 33021 41416 -# $Id: Makefile.in,v 1.130 2010/11/27 21:45:27 tom Exp $ 33022 +# $Id: Makefile.in,v 1.13 1 2011/08/07 15:46:50tom Exp $41417 +# $Id: Makefile.in,v 1.133 2012/08/11 21:31:56 tom Exp $ 33023 41418 ############################################################################## 33024 41419 -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # 33025 +# Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. #41420 +# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. # 33026 41421 # # 33027 41422 # Permission is hereby granted, free of charge, to any person obtaining a # 33028 41423 # 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 @@ 33030 41433 TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@ 33031 41434 TICS_LIST = $(SHLIB_DIRS) @TICS_LIST@ … … 33035 41438 33036 41439 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 41467 diff -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];" 33037 41502 diff -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-0 2-16 18:25:12.671810357+000033039 +++ ncurses-5.9/ncurses/base/MKlib_gen.sh 2012-0 2-16 18:25:12.975818378+000041503 --- 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 33040 41505 @@ -2,7 +2,7 @@ 33041 41506 # … … 33104 41569 DECLARATIONS 33105 41570 41571 diff -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)) {" 33106 41592 diff -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-0 2-16 18:25:12.667810252+000033108 +++ ncurses-5.9/ncurses/base/keybound.c 2012-0 2-16 18:25:12.975818378+000041593 --- 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 33109 41595 @@ -1,5 +1,5 @@ 33110 41596 /**************************************************************************** … … 33136 41622 } 33137 41623 diff -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-0 2-16 18:25:12.667810252+000033139 +++ ncurses-5.9/ncurses/base/keyok.c 2012-0 2-16 18:25:12.975818378+000041624 --- 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 33140 41626 @@ -1,5 +1,5 @@ 33141 41627 /**************************************************************************** … … 33223 41709 33224 41710 diff -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-0 2-16 18:25:12.667810252+000033226 +++ ncurses-5.9/ncurses/base/lib_addch.c 2012-0 2-16 18:25:12.975818378+000041711 --- 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 33227 41713 @@ -1,5 +1,5 @@ 33228 41714 /**************************************************************************** … … 33252 41738 SetChar(CHDEREF(ch), result, attrs); 33253 41739 diff -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-0 2-16 18:25:12.667810252+000033255 +++ ncurses-5.9/ncurses/base/lib_addstr.c 2012-0 2-16 18:25:12.979818483+000041740 --- 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 33256 41742 @@ -1,5 +1,5 @@ 33257 41743 /**************************************************************************** … … 33284 41770 } 33285 41771 diff -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 * 33288 41781 @@ -36,7 +36,7 @@ 33289 41782 … … 33291 41784 33292 41785 -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.4 4 2011/05/28 20:44:22tom Exp $")41786 +MODULE_ID("$Id: lib_bkgd.c,v 1.45 2012/03/10 21:20:18 tom Exp $") 33294 41787 33295 41788 /* 33296 41789 * Set the window's background information. 33297 @@ -118,1 1 +118,11@@41790 @@ -118,16 +118,16 @@ 33298 41791 { 33299 41792 int code = ERR; … … 33308 41801 wgetbkgrnd(win, &old_bkgrnd); 33309 41802 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++) { 33310 41809 diff -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-0 2-16 18:25:12.671810357+000033312 +++ ncurses-5.9/ncurses/base/lib_color.c 2012-0 2-16 18:25:12.979818483+000041810 --- 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 33313 41812 @@ -1,5 +1,5 @@ 33314 41813 /**************************************************************************** 33315 41814 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 33316 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *41815 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 33317 41816 * * 33318 41817 * Permission is hereby granted, free of charge, to any person obtaining a * … … 33323 41822 33324 41823 -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.10 4 2011/10/22 15:53:42tom Exp $")41824 +MODULE_ID("$Id: lib_color.c,v 1.105 2012/06/09 20:34:11 tom Exp $") 33326 41825 33327 41826 #ifdef USE_TERM_DRIVER … … 33431 41930 } 33432 41931 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) 33433 41943 @@ -765,9 +782,9 @@ 33434 41944 … … 33444 41954 { 33445 41955 #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 33446 41965 @@ -847,7 +864,7 @@ 33447 41966 … … 33454 41973 NCURSES_SP_NAME(_nc_do_color) (CURRENT_SCREEN, 33455 41974 diff -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-0 2-16 18:25:12.671810357+000033457 +++ ncurses-5.9/ncurses/base/lib_dft_fgbg.c 2012-0 2-16 18:25:12.979818483+000041975 --- 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 33458 41977 @@ -1,5 +1,5 @@ 33459 41978 /**************************************************************************** … … 33481 42000 SP_PARM->_default_color = save; 33482 42001 diff -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-0 2-16 18:25:12.667810252+000033484 +++ ncurses-5.9/ncurses/base/lib_flash.c 2012-0 2-16 18:25:12.979818483+000042002 --- 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 33485 42004 @@ -1,5 +1,5 @@ 33486 42005 /**************************************************************************** … … 33527 42046 returnCode(res); 33528 42047 diff -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-0 2-16 18:25:12.667810252+000033530 +++ ncurses-5.9/ncurses/base/lib_freeall.c 2012-0 2-16 18:25:12.979818483+000042048 --- 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 33531 42050 @@ -1,5 +1,5 @@ 33532 42051 /**************************************************************************** … … 33555 42074 FreeIfNeeded(_nc_wacs); 33556 42075 diff -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-0 2-16 18:25:12.671810357+000033558 +++ ncurses-5.9/ncurses/base/lib_getch.c 2012-0 2-16 18:25:13.211824607+000042076 --- 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 33559 42078 @@ -1,5 +1,5 @@ 33560 42079 /**************************************************************************** … … 33569 42088 33570 42089 -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.12 4 2012/01/21 19:21:29 KO.Myung-HunExp $")42090 +MODULE_ID("$Id: lib_getch.c,v 1.125 2012/08/04 17:11:37 tom Exp $") 33572 42091 33573 42092 #include <fifo_defs.h> … … 33582 42101 #if USE_SYSMOUSE 33583 42102 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 @@ 33585 42142 n = 1; 33586 42143 } else … … 33596 42153 #ifdef USE_TERM_DRIVER 33597 42154 int buf; 33598 @@ -270,7 +27 7,7 @@42155 @@ -270,7 +278,7 @@ 33599 42156 # endif 33600 42157 _nc_globals.read_thread = pthread_self(); … … 33605 42162 _nc_globals.read_thread = 0; 33606 42163 #endif 33607 @@ -569,7 +57 6,7 @@42164 @@ -569,7 +577,7 @@ 33608 42165 * 33609 42166 * If carriage return is defined as a function key in the … … 33614 42171 * since the visual result simply moves the cursor to column 0. 33615 42172 * 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 33616 42187 diff -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-0 2-16 18:25:12.667810252+000033618 +++ ncurses-5.9/ncurses/base/lib_getstr.c 2012-0 2-16 18:25:12.979818483+000042188 --- 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 33619 42190 @@ -1,5 +1,5 @@ 33620 42191 /**************************************************************************** … … 33642 42213 *--last = '\0'; 33643 42214 diff -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-0 2-16 18:25:12.671810357+000033645 +++ ncurses-5.9/ncurses/base/lib_instr.c 2012-0 2-16 18:25:12.979818483+000042215 --- 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 33646 42217 @@ -1,5 +1,5 @@ 33647 42218 /**************************************************************************** … … 33670 42241 done = TRUE; 33671 42242 diff -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-0 2-16 18:25:12.667810252+000033673 +++ ncurses-5.9/ncurses/base/lib_mouse.c 2012-0 2-16 18:25:13.211824607+000042243 --- 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 33674 42245 @@ -1,5 +1,5 @@ 33675 42246 /**************************************************************************** … … 33684 42255 33685 42256 -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.13 4 2012/01/21 19:21:29 KO.Myung-HunExp $")42257 +MODULE_ID("$Id: lib_mouse.c,v 1.139 2012/07/21 23:30:50 tom Exp $") 33687 42258 33688 42259 #include <tic.h> … … 33716 42287 33717 42288 #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; 33718 42298 @@ -219,7 +233,11 @@ 33719 42299 } … … 33728 42308 SCREEN *sp = (SCREEN *) param; 33729 42309 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 @@ 33731 42367 33732 42368 sp->_mouse_eventp = FirstEV(sp); … … 33737 42373 initialize_mousetype(sp); 33738 42374 33739 @@ -750,6 +7 68,7 @@42375 @@ -750,6 +779,7 @@ 33740 42376 eventp->bstate |= BUTTON3_RELEASED; 33741 42377 break; … … 33745 42381 } 33746 42382 33747 @@ -830,7 +8 49,6 @@42383 @@ -830,7 +860,6 @@ 33748 42384 33749 42385 if (sp->_mouse_type == M_XTERM) { … … 33753 42389 int res; 33754 42390 33755 @@ -896,35 +9 14,51 @@42391 @@ -896,35 +925,51 @@ 33756 42392 33757 42393 /* processing code goes here */ … … 33816 42452 33817 42453 case 0x2: 33818 @@ -939,12 +9 73,13 @@42454 @@ -939,12 +984,13 @@ 33819 42455 * release, we can infer the button actually released by looking at 33820 42456 * the previous event. … … 33832 42468 /* 33833 42469 * XFree86 xterm will return a stream of release-events to 33834 @@ -985,7 +10 20,7 @@42470 @@ -985,7 +1031,7 @@ 33835 42471 } 33836 42472 … … 33841 42477 if (!on && !sp->_mouse_initialized) 33842 42478 return; 33843 @@ -994,7 +10 29,7 @@42479 @@ -994,7 +1040,7 @@ 33844 42480 return; 33845 42481 … … 33850 42486 case M_XTERM: 33851 42487 #if NCURSES_EXT_FUNCS 33852 @@ -1074,10 +11 09,13 @@42488 @@ -1074,10 +1120,13 @@ 33853 42489 /* parse a run of atomic mouse events into a gesture */ 33854 42490 { … … 33865 42501 TR(MY_TRACE, ("_nc_mouse_parse(%d) called", runcount)); 33866 42502 33867 @@ -1094,7 +11 32,8 @@42503 @@ -1094,7 +1143,8 @@ 33868 42504 * 33869 42505 * It's possible that the run may not resolve to a single event (for … … 33875 42511 * Note that this routine is independent of the format of the specific 33876 42512 * format of the pointing-device's reports. We can use it to parse 33877 @@ -1102,79 +11 41,110 @@42513 @@ -1102,79 +1152,110 @@ 33878 42514 * button basis, as long as the device-dependent mouse code puts stuff 33879 42515 * on the queue in MEVENT format. … … 33956 42592 + changed = FALSE; 33957 42593 + break; 33958 } 33959 } 33960 - if (merge) 33961 - next->id = INVALID_EVENT; 42594 + } 42595 + } 33962 42596 + 33963 42597 + if (changed) { … … 33973 42607 + if (merge) { 33974 42608 + Invalidate(ep); 33975 + } 33976 + } 33977 + } 33978 + } 33979 + 42609 } 42610 } 42611 - if (merge) 42612 - next->id = INVALID_EVENT; 42613 } 42614 } 42615 - } while 42616 - (merge); 42617 33980 42618 + /* Compact valid events */ 33981 42619 + if (!ValidEvent(ep)) { … … 33990 42628 + Invalidate(ep); 33991 42629 + first_invalid = NEXT(first_invalid); 33992 } 33993 } 33994 - } while 33995 - (merge); 33996 42630 + } 42631 + } 42632 + 33997 42633 + ep = next; 33998 42634 + } … … 34028 42664 * NOTE: There is a problem with this design! If the application 34029 42665 * allows enough click events to pile up in the circular queue so 34030 @@ -1187,87 +12 57,102 @@42666 @@ -1187,87 +1268,102 @@ 34031 42667 * but the timer element would have to have sub-second resolution, 34032 42668 * which would get us into portability trouble. … … 34198 42834 34199 42835 static void 34200 @@ -1359,7 +14 44,16 @@42836 @@ -1359,7 +1455,16 @@ 34201 42837 /* compute the current-event pointer */ 34202 42838 MEVENT *prev = PREV(eventp); … … 34216 42852 *aevent = *prev; 34217 42853 34218 @@ -1367,9 +14 61,16 @@42854 @@ -1367,9 +1472,16 @@ 34219 42855 _nc_tracemouse(SP_PARM, prev), 34220 42856 (long) IndexEV(SP_PARM, prev))); … … 34235 42871 } 34236 42872 returnCode(result); 34237 @@ -1420,6 +15 21,7 @@42873 @@ -1420,6 +1532,7 @@ 34238 42874 /* set the mouse event mask */ 34239 42875 { … … 34243 42879 T((T_CALLED("mousemask(%p,%#lx,%p)"), 34244 42880 (void *) SP_PARM, 34245 @@ -1447,6 +15 49,22 @@42881 @@ -1447,6 +1560,22 @@ 34246 42882 mouse_activate(SP_PARM, (bool) (result != 0)); 34247 42883 … … 34267 42903 } 34268 42904 diff -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-0 2-16 18:25:12.671810357+000034270 +++ ncurses-5.9/ncurses/base/lib_newterm.c 2012-0 2-16 18:25:13.211824607+000042905 --- 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 34271 42907 @@ -1,5 +1,5 @@ 34272 42908 /**************************************************************************** … … 34306 42942 #endif 34307 42943 diff -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-0 2-16 18:25:12.667810252+000034309 +++ ncurses-5.9/ncurses/base/lib_newwin.c 2012-0 2-16 18:25:12.983818589+000042944 --- 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 34310 42946 @@ -43,7 +43,7 @@ 34311 42947 #include <curses.priv.h> … … 34348 42984 34349 42985 static bool 42986 diff -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) { 34350 43069 diff -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-0 2-16 18:25:12.667810252+000034352 +++ ncurses-5.9/ncurses/base/lib_refresh.c 2012-0 2-16 18:25:12.983818589+000043070 --- 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 34353 43072 @@ -1,5 +1,5 @@ 34354 43073 /**************************************************************************** … … 34395 43114 begy = win->_begy; 34396 43115 diff -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-0 2-16 18:25:12.671810357+000034398 +++ ncurses-5.9/ncurses/base/lib_restart.c 2012-0 2-16 18:25:12.983818589+000043116 --- 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 34399 43118 @@ -1,5 +1,5 @@ 34400 43119 /**************************************************************************** … … 34418 43137 NCURSES_SP_NAME(restartterm) (NCURSES_SP_DCLx 34419 43138 diff -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-0 2-16 18:25:12.667810252+000034421 +++ ncurses-5.9/ncurses/base/lib_scanw.c 2012-0 2-16 18:25:12.983818589+000043139 --- 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 34422 43141 @@ -1,5 +1,5 @@ 34423 43142 /**************************************************************************** … … 34445 43164 return (vsscanf(buf, fmt, argp)); 34446 43165 diff -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-0 2-16 18:25:12.667810252+000034448 +++ ncurses-5.9/ncurses/base/lib_screen.c 2012-0 2-16 18:25:12.983818589+000043166 --- 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 34449 43168 @@ -1,5 +1,5 @@ 34450 43169 /**************************************************************************** … … 34518 43237 NCURSES_EXPORT(int) 34519 43238 diff -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-0 2-16 18:25:12.667810252+000034521 +++ ncurses-5.9/ncurses/base/lib_scroll.c 2012-0 2-16 18:25:12.983818589+000043239 --- 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 34522 43241 @@ -1,5 +1,5 @@ 34523 43242 /**************************************************************************** … … 34545 43264 int limit; 34546 43265 diff -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-0 2-16 18:25:12.667810252+000034548 +++ ncurses-5.9/ncurses/base/lib_set_term.c 2012-0 2-16 18:25:12.983818589+000043266 --- 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 34549 43268 @@ -1,5 +1,5 @@ 34550 43269 /**************************************************************************** 34551 43270 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 34552 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *43271 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 34553 43272 * * 34554 43273 * Permission is hereby granted, free of charge, to any person obtaining a * … … 34559 43278 34560 43279 -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.14 0 2011/10/22 16:10:43tom Exp $")43280 +MODULE_ID("$Id: lib_set_term.c,v 1.141 2012/07/07 20:37:40 tom Exp $") 34562 43281 34563 43282 #ifdef USE_TERM_DRIVER … … 34572 43291 { 34573 43292 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 @@ 34575 43302 _nc_setupscreen(int slines GCC_UNUSED, 34576 43303 int scolumns GCC_UNUSED, … … 34581 43308 { 34582 43309 SCREEN *sp = 0; 34583 @@ -759,6 +7 59,7 @@43310 @@ -759,6 +760,7 @@ 34584 43311 int line, 34585 43312 int (*init) (WINDOW *, int)) … … 34589 43316 (line < 0) ? -1 : 1, 34590 43317 init); 43318 diff -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; 34591 43353 diff -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-0 2-16 18:25:12.667810252+000034593 +++ ncurses-5.9/ncurses/base/lib_slkset.c 2012-0 2-16 18:25:12.983818589+000043354 --- 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 34594 43356 @@ -1,5 +1,5 @@ 34595 43357 /**************************************************************************** … … 34639 43401 34640 43402 slk->ent[i].form_text[numchrs - numcols + limit] = 0; 43403 diff -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); 34641 43431 diff -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-0 2-16 18:25:12.667810252+000034643 +++ ncurses-5.9/ncurses/base/lib_ungetch.c 2012-0 2-16 18:25:12.983818589+000043432 --- 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 34644 43434 @@ -1,5 +1,5 @@ 34645 43435 /**************************************************************************** 34646 43436 - * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * 34647 + * Copyright (c) 1998-20 09,2011Free Software Foundation, Inc. *43437 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 34648 43438 * * 34649 43439 * Permission is hereby granted, free of charge, to any person obtaining a * … … 34654 43444 34655 43445 -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.1 5 2011/05/28 22:52:06tom Exp $")43446 +MODULE_ID("$Id: lib_ungetch.c,v 1.16 2012/08/04 17:38:53 tom Exp $") 34657 43447 34658 43448 #include <fifo_defs.h> 34659 43449 34660 @@ -64, 7 +64,7@@43450 @@ -64,13 +64,14 @@ 34661 43451 34662 43452 T((T_CALLED("ungetch(%p,%s)"), (void *) sp, _nc_tracechar(sp, ch))); 34663 43453 34664 43454 - 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) { 34667 43458 head = 0; 34668 43459 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))); 34669 43468 diff -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-0 2-16 18:25:12.671810357+000034671 +++ ncurses-5.9/ncurses/base/resizeterm.c 2012-0 2-16 18:25:12.983818589+000043469 --- 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 34672 43471 @@ -45,7 +45,7 @@ 34673 43472 #define CUR SP_TERMTYPE … … 34675 43474 34676 43475 -MODULE_ID("$Id: resizeterm.c,v 1.43 2011/01/10 01:34:49 tom Exp $") 34677 +MODULE_ID("$Id: resizeterm.c,v 1.4 4 2011/09/03 18:29:11tom Exp $")43476 +MODULE_ID("$Id: resizeterm.c,v 1.45 2012/07/07 17:07:23 tom Exp $") 34678 43477 34679 43478 /* … … 34783 43582 _nc_nonsp_unlock_global(curses); 34784 43583 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); 43602 diff -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); 43656 diff -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: 34785 43690 diff -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-0 2-16 18:25:12.667810252+000034787 +++ ncurses-5.9/ncurses/base/wresize.c 2012-0 2-16 18:25:12.983818589+000043691 --- 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 34788 43693 @@ -1,5 +1,5 @@ 34789 43694 /**************************************************************************** … … 34815 43720 34816 43721 if_USE_SCROLL_HINTS(new_lines[row].oldindex = row); 43722 diff -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 34817 43751 diff -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-0 2-16 18:25:12.675810462+000034819 +++ ncurses-5.9/ncurses/curses.priv.h 2012-0 2-16 18:25:13.211824607+000043752 --- 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 34820 43754 @@ -1,5 +1,5 @@ 34821 43755 /**************************************************************************** … … 34830 43764 /* 34831 43765 - * $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-HunExp $43766 + * $Id: curses.priv.h,v 1.502 2012/07/14 21:14:30 tom Exp $ 34833 43767 * 34834 43768 * curses.priv.h … … 34842 43776 #if HAVE_UNISTD_H 34843 43777 #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 @@ 34845 43794 #define USE_EMX_MOUSE 0 34846 43795 #endif … … 34858 43807 #define EV_MAX 8 /* size of mouse circular event queue */ 34859 43808 34860 @@ -192,6 +2 02,18 @@43809 @@ -192,6 +210,18 @@ 34861 43810 #endif 34862 43811 … … 34877 43826 */ 34878 43827 #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 @@ 34880 43838 #endif 34881 43839 … … 34885 43843 /* 34886 43844 * 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 @@ 34888 43887 #define INIT_TERM_DRIVER() /* nothing */ 34889 43888 #endif … … 34897 43896 * Global data which is not specific to a screen. 34898 43897 */ 34899 @@ -776,7 +8 04,7 @@43898 @@ -776,7 +820,7 @@ 34900 43899 bool init_signals; 34901 43900 bool init_screen; … … 34906 43905 34907 43906 bool have_tic_directory; 34908 @@ -798,6 +8 26,12 @@43907 @@ -798,6 +842,12 @@ 34909 43908 int tgetent_index; 34910 43909 long tgetent_sequence; … … 34919 43918 WINDOWLIST *_nc_windowlist; 34920 43919 #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 @@ 34922 43929 int _pair_count; /* count of color pairs */ 34923 43930 int _pair_limit; /* actual limit of color-pairs */ … … 34927 43934 bool _has_sgr_39_49; /* has ECMA default color support */ 34928 43935 int _default_fg; /* assumed default foreground */ 34929 @@ -1032,6 +10 67,10 @@43936 @@ -1032,6 +1084,10 @@ 34930 43937 bool _use_rmso; /* true if we may use 'rmso' */ 34931 43938 bool _use_rmul; /* true if we may use 'rmul' */ … … 34938 43945 * These data correspond to the state of the idcok() and idlok() 34939 43946 * functions. A caveat is in order here: the XSI and SVr4 34940 @@ -1055,7 +1 094,9 @@43947 @@ -1055,7 +1111,9 @@ 34941 43948 void (*_mouse_wrap) (SCREEN *); 34942 43949 int _mouse_fd; /* file-descriptor, if any */ … … 34949 43956 MEVENT _mouse_events[EV_MAX]; /* hold the last mouse event seen */ 34950 43957 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 @@ 34952 43976 WINDOWLIST *next; 34953 43977 SCREEN *screen; /* screen containing the window */ … … 34958 43982 unsigned addch_used; /* number of bytes in addch_work[] */ 34959 43983 int addch_x; /* x-position for addch_work[] */ 34960 @@ -1339,7 +1 380,7 @@43984 @@ -1339,7 +1400,7 @@ 34961 43985 putc(PUTC_ch,b); \ 34962 43986 break; \ … … 34967 43991 COUNT_OUTCHARS(PUTC_i); \ 34968 43992 } } } while (0) 34969 @@ -1412,25 +14 53,25 @@43993 @@ -1412,25 +1473,25 @@ 34970 43994 34971 43995 #define CHANGED_CELL(line,col) \ … … 35000 44024 #define SIZEOF(v) (sizeof(v)/sizeof(v[0])) 35001 44025 35002 @@ -1528,7 +15 69,7 @@44026 @@ -1528,7 +1589,7 @@ 35003 44027 #define returnVoidPtr(code) TRACE_RETURN(code,void_ptr) 35004 44028 #define returnWin(code) TRACE_RETURN(code,win) … … 35009 44033 extern NCURSES_EXPORT(SCREEN *) _nc_retrace_sp (SCREEN *); 35010 44034 extern NCURSES_EXPORT(WINDOW *) _nc_retrace_win (WINDOW *); 35011 @@ -1539,7 +1 580,7 @@44035 @@ -1539,7 +1600,7 @@ 35012 44036 extern NCURSES_EXPORT(chtype) _nc_retrace_chtype (chtype); 35013 44037 extern NCURSES_EXPORT(const char *) _nc_altcharset_name(attr_t, chtype); … … 35018 44042 extern NCURSES_EXPORT(int) _nc_retrace_int_attr_t (attr_t); 35019 44043 extern NCURSES_EXPORT(mmask_t) _nc_retrace_mmask_t (SCREEN *, mmask_t); 35020 @@ -1816,12 +18 57,31 @@44044 @@ -1816,12 +1877,31 @@ 35021 44045 extern NCURSES_EXPORT(char *) _nc_get_locale(void); 35022 44046 extern NCURSES_EXPORT(int) _nc_unicode_locale(void); … … 35052 44076 #if USE_SIGWINCH 35053 44077 extern NCURSES_EXPORT(int) _nc_handle_sigwinch(SCREEN *); 35054 @@ -1875,16 +19 35,16 @@44078 @@ -1875,16 +1955,16 @@ 35055 44079 extern NCURSES_EXPORT(int) _nc_baudrate (int); 35056 44080 extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *); … … 35064 44088 extern NCURSES_EXPORT(int) _nc_read_termcap_entry (const char *const, TERMTYPE *const); 35065 44089 -extern NCURSES_EXPORT(int) _nc_setupscreen (int, int, FILE *, bool, int); 44090 extern NCURSES_EXPORT(int) _nc_setup_tinfo(const char *, TERMTYPE *); 35066 44091 +extern NCURSES_EXPORT(int) _nc_setupscreen (int, int, FILE *, int, int); 35067 extern NCURSES_EXPORT(int) _nc_setup_tinfo(const char *, TERMTYPE *);35068 44092 extern NCURSES_EXPORT(int) _nc_timed_wait (SCREEN *, int, int, int * EVENTLIST_2nd(_nc_eventlist *)); 35069 44093 -extern NCURSES_EXPORT(void) _nc_do_color (short, short, bool, NCURSES_OUTC); … … 35072 44096 extern NCURSES_EXPORT(void) _nc_free_and_exit (int) GCC_NORETURN; 35073 44097 extern NCURSES_EXPORT(void) _nc_free_entry (ENTRY *, TERMTYPE *); 35074 @@ -1895,8 +19 55,8@@44098 @@ -1895,8 +1975,9 @@ 35075 44099 extern NCURSES_EXPORT(void) _nc_make_oldhash (int i); 35076 44100 extern NCURSES_EXPORT(void) _nc_scroll_oldhash (int n, int top, int bot); … … 35079 44103 -extern NCURSES_EXPORT(void) _nc_signal_handler (bool); 35080 44104 +extern NCURSES_EXPORT(void) _nc_set_buffer (FILE *, int); 44105 +extern NCURSES_EXPORT(void) _nc_setenv_num (const char *, int); 35081 44106 +extern NCURSES_EXPORT(void) _nc_signal_handler (int); 35082 44107 extern NCURSES_EXPORT(void) _nc_synchook (WINDOW *); 35083 44108 extern NCURSES_EXPORT(void) _nc_trace_tries (TRIES *); 35084 44109 35085 @@ -1906,6 +1966,7 @@ 44110 @@ -1905,7 +1986,9 @@ 44111 extern NCURSES_EXPORT(void) _nc_captoinfo_leaks(void); 35086 44112 extern NCURSES_EXPORT(void) _nc_codes_leaks(void); 35087 44113 extern NCURSES_EXPORT(void) _nc_comp_captab_leaks(void); 44114 +extern NCURSES_EXPORT(void) _nc_comp_error_leaks(void); 35088 44115 extern NCURSES_EXPORT(void) _nc_comp_scan_leaks(void); 35089 44116 +extern NCURSES_EXPORT(void) _nc_db_iterator_leaks(void); … … 35091 44118 extern NCURSES_EXPORT(void) _nc_names_leaks(void); 35092 44119 extern NCURSES_EXPORT(void) _nc_tgetent_leaks(void); 35093 @@ -1914,7 +19 75,7 @@44120 @@ -1914,7 +1997,7 @@ 35094 44121 #if !(defined(USE_TERMLIB) || defined(USE_BUILD_CC)) 35095 44122 extern NCURSES_EXPORT(NCURSES_CH_T) _nc_render (WINDOW *, NCURSES_CH_T); … … 35100 44127 35101 44128 #if USE_WIDEC_SUPPORT 35102 @@ -1947,7 +20 08,7 @@44129 @@ -1947,7 +2030,7 @@ 35103 44130 */ 35104 44131 #if USE_WIDEC_SUPPORT … … 35109 44136 #define check_mbytes(wch,buffer,length,state) \ 35110 44137 (int) mbtowc(&wch, buffer, length) 35111 @@ -2084,39 +21 45,39 @@44138 @@ -2084,39 +2167,39 @@ 35112 44139 35113 44140 typedef struct term_driver { … … 35170 44197 } TERM_DRIVER; 35171 44198 35172 @@ -2174,7 +22 35,7 @@44199 @@ -2174,7 +2257,7 @@ 35173 44200 */ 35174 44201 #ifdef USE_TERM_DRIVER … … 35179 44206 _nc_get_screensize(sp, tp, lp, cp) 35180 44207 #define TINFO_SET_CURTERM(sp, tp) \ 35181 @@ -2250,12 +23 11,12 @@44208 @@ -2250,12 +2333,12 @@ 35182 44209 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(_nc_scr_restore)(SCREEN*, const char*); 35183 44210 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(_nc_scrolln)(SCREEN*, int, int, int, int); … … 35194 44221 extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_flush)(SCREEN*); 35195 44222 extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_free_and_exit)(SCREEN*, int) GCC_NORETURN; 35196 @@ -2271,7 +23 32,7 @@44223 @@ -2271,7 +2354,7 @@ 35197 44224 extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_screen_wrap)(SCREEN*); 35198 44225 extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_scroll_oldhash)(SCREEN*, int n, int top, int bot); … … 35203 44230 extern NCURSES_EXPORT(void) _nc_cookie_init(SCREEN *sp); 35204 44231 44232 diff -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 44301 diff -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, 44322 diff -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, 44343 diff -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, 44364 diff -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, 44385 diff -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); } 44601 diff -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); } 44817 diff -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); } 45033 diff -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); } 46541 diff -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); } 48191 diff -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); } 35205 49732 diff -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-0 2-16 18:25:12.675810462+000035207 +++ ncurses-5.9/ncurses/tinfo/MKcaptab.sh 2012-0 2-16 18:25:12.987818695 +000049733 --- 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 35208 49735 @@ -1,6 +1,6 @@ 35209 49736 #!/bin/sh … … 35248 49775 static int 35249 49776 diff -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-0 2-16 18:25:12.675810462+000035251 +++ ncurses-5.9/ncurses/tinfo/access.c 2012-0 2-16 18:25:12.987818695+000049777 --- 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 35252 49779 @@ -1,5 +1,5 @@ 35253 49780 /**************************************************************************** 35254 49781 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 35255 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *49782 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35256 49783 * * 35257 49784 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35266 49793 35267 49794 -MODULE_ID("$Id: access.c,v 1.16 2010/01/23 17:57:43 tom Exp $") 35268 +MODULE_ID("$Id: access.c,v 1.2 0 2011/06/05 00:48:00tom Exp $")49795 +MODULE_ID("$Id: access.c,v 1.22 2012/02/22 22:34:31 tom Exp $") 35269 49796 + 35270 49797 +#ifdef __TANDEM … … 35278 49805 #define LOWERCASE(c) ((isalpha(UChar(c)) && isupper(UChar(c))) ? tolower(UChar(c)) : (c)) 35279 49806 35280 @@ -108, 7 +115,11@@49807 @@ -108,24 +115,33 @@ 35281 49808 NCURSES_EXPORT(int) 35282 49809 _nc_access(const char *path, int mode) … … 35291 49818 && errno == ENOENT 35292 49819 && 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'; 35294 49829 if (head == leaf) 35295 (void) strcpy(head, "."); 49830 - (void) strcpy(head, "."); 49831 + _nc_STRCPY(head, ".", sizeof(head)); 35296 49832 35297 49833 - return access(head, R_OK | W_OK | X_OK); … … 35309 49845 35310 49846 NCURSES_EXPORT(bool) 35311 @@ -135,7 +1 49,7 @@49847 @@ -135,7 +151,7 @@ 35312 49848 struct stat sb; 35313 49849 … … 35318 49854 } 35319 49855 return result; 35320 @@ -148,7 +16 2,7 @@49856 @@ -148,7 +164,7 @@ 35321 49857 struct stat sb; 35322 49858 … … 35327 49863 } 35328 49864 return result; 35329 @@ -170,6 +18 4,7 @@49865 @@ -170,6 +186,7 @@ 35330 49866 || getgid() != getegid()) 35331 49867 return FALSE; … … 35337 49873 #endif 35338 49874 diff -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-0 2-16 18:25:12.675810462+000035340 +++ ncurses-5.9/ncurses/tinfo/alloc_entry.c 2012-0 2-16 18:25:12.987818695+000049875 --- 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 35341 49877 @@ -1,5 +1,5 @@ 35342 49878 /**************************************************************************** 35343 49879 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 35344 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *49880 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35345 49881 * * 35346 49882 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35351 49887 35352 49888 -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.5 2 2011/10/22 16:34:50tom Exp $")49889 +MODULE_ID("$Id: alloc_entry.c,v 1.56 2012/02/22 22:34:31 tom Exp $") 35354 49890 35355 49891 #define ABSENT_OFFSET -1 … … 35364 49900 #if NCURSES_XNAMES 35365 49901 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 } 49935 diff -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). 35366 49986 diff -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-0 2-16 18:25:12.675810462+000035368 +++ ncurses-5.9/ncurses/tinfo/captoinfo.c 2012-0 2-16 18:25:12.987818695+000049987 --- 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 35369 49989 @@ -1,5 +1,5 @@ 35370 49990 /**************************************************************************** 35371 49991 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 35372 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *49992 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35373 49993 * * 35374 49994 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35379 49999 35380 50000 -MODULE_ID("$Id: captoinfo.c,v 1.58 2010/12/04 20:08:19 tom Exp $") 35381 +MODULE_ID("$Id: captoinfo.c,v 1.7 0 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 $") 35382 50002 35383 50003 #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 } 35384 50013 35385 50014 @@ -240,6 +240,12 @@ … … 35482 50111 } 35483 50112 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; 35484 50134 @@ -646,13 +583,15 @@ 35485 50135 int in0, in1, in2; … … 35509 50159 char *cp = 0; 35510 50160 35511 @@ -685,8 +624,7 1@@50161 @@ -685,8 +624,72 @@ 35512 50162 } else if (str[1] == ',') { 35513 50163 bufptr = save_char(bufptr, *++str); … … 35570 50220 + default: 35571 50221 + /* 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)); 35573 50224 + bufptr = save_char(bufptr, octal[0]); 35574 50225 + bufptr = save_char(bufptr, octal[1]); … … 35582 50233 } else if (str[0] == '$' && str[1] == '<') { /* discard padding */ 35583 50234 str += 2; 35584 @@ -720,13 +72 2,13 @@50235 @@ -720,13 +723,13 @@ 35585 50236 bufptr = save_tc_inequality(bufptr, c1, c2); 35586 50237 } else if (sscanf(str, "%%?%%{%d}%%>%%t%%'%c'%%+%%;", &c1, &ch2) == 2) { … … 35599 50250 str += len; 35600 50251 bufptr = save_string(bufptr, "%B"); 35601 @@ -741,15 +74 3,15 @@50252 @@ -741,15 +744,15 @@ 35602 50253 bufptr = save_tc_char(bufptr, c1); 35603 50254 } … … 35618 50269 if (saw_n++ == 0) { 35619 50270 bufptr = save_string(bufptr, "%m"); 35620 @@ -772,8 +77 4,25 @@50271 @@ -772,8 +775,25 @@ 35621 50272 case '8': 35622 50273 case '9': … … 35646 50297 if (*str != 'd') /* termcap doesn't have octal, hex */ 35647 50298 return 0; 35648 @@ -794,6 +81 3,8 @@50299 @@ -794,6 +814,8 @@ 35649 50300 * termcap notation. 35650 50301 */ … … 35656 50307 35657 50308 diff -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-0 2-16 18:25:12.675810462+000035659 +++ ncurses-5.9/ncurses/tinfo/comp_error.c 2012-0 2-16 18:25:12.987818695+000050309 --- 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 35660 50311 @@ -1,5 +1,5 @@ 35661 50312 /**************************************************************************** 35662 50313 - * Copyright (c) 1998-2005,2007 Free Software Foundation, Inc. * 35663 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *50314 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35664 50315 * * 35665 50316 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35670 50321 35671 50322 -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.3 3 2011/10/22 16:34:50tom Exp $")50323 +MODULE_ID("$Id: comp_error.c,v 1.36 2012/02/22 22:34:31 tom Exp $") 35673 50324 35674 50325 NCURSES_EXPORT_VAR(bool) _nc_suppress_warnings = FALSE; … … 35693 50344 } 35694 50345 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 35695 50368 diff -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-0 2-16 18:25:12.675810462+000035697 +++ ncurses-5.9/ncurses/tinfo/comp_expand.c 2012-0 2-16 18:25:12.987818695+000050369 --- 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 35698 50371 @@ -1,5 +1,5 @@ 35699 50372 /**************************************************************************** 35700 50373 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 35701 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *50374 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35702 50375 * * 35703 50376 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35708 50381 35709 50382 -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.2 2 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 $") 35711 50384 35712 50385 static int 35713 50386 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 @@ 35715 50397 size_t need = (2 + strlen(str)) * 4; 35716 50398 int ch; … … 35730 50412 if ((buffer = typeRealloc(char, length = need, buffer)) == 0) 35731 50413 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 35732 50439 diff -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-0 2-16 18:25:12.675810462+000035734 +++ ncurses-5.9/ncurses/tinfo/comp_parse.c 2012-0 2-16 18:25:13.231825133+000050440 --- 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 35735 50442 @@ -1,5 +1,5 @@ 35736 50443 /**************************************************************************** … … 35761 50468 35762 50469 -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:23tom Exp $")50470 +MODULE_ID("$Id: comp_parse.c,v 1.85 2012/04/14 23:30:10 tom Exp $") 35764 50471 35765 50472 static void sanity_check2(TERMTYPE *, bool); … … 35774 50481 enqueue(ENTRY * ep) 35775 50482 /* 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; 35777 50492 } 35778 50493 #define ForceBar(dst, src) ((strchr(src, '|') == 0) ? force_bar(dst, src) : src) … … 35931 50646 if (multiples > 0) 35932 50647 return (FALSE); 35933 @@ -378,7 +470, 15@@50648 @@ -378,7 +470,34 @@ 35934 50649 for_entry_list(qp) { 35935 50650 _nc_curr_line = (int) qp->startline; … … 35941 50656 + */ 35942 50657 + 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 + 35943 50674 + _nc_check_termtype2(&qp->tterm, literal); 50675 + 50676 + SP = save_SP; 50677 + set_curterm(save_tm); 35944 50678 + } else { 35945 50679 + fixup_acsc(&qp->tterm, literal); … … 35948 50682 DEBUG(2, ("SANITY CHECK FINISHED")); 35949 50683 } 35950 @@ -403,6 +5 03,17 @@50684 @@ -403,6 +522,17 @@ 35951 50685 #define CUR tp-> 35952 50686 … … 35966 50700 { 35967 50701 if (!PRESENT(exit_attribute_mode)) { 35968 @@ -428,10 +5 39,7 @@50702 @@ -428,10 +558,7 @@ 35969 50703 * prefer to bypass it... 35970 50704 */ … … 35979 50713 } 35980 50714 diff -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-0 2-16 18:25:12.675810462+000035982 +++ ncurses-5.9/ncurses/tinfo/comp_scan.c 2012-0 2-16 18:25:12.991818801+000050715 --- 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 35983 50717 @@ -1,5 +1,5 @@ 35984 50718 /**************************************************************************** 35985 50719 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 35986 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *50720 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 35987 50721 * * 35988 50722 * Permission is hereby granted, free of charge, to any person obtaining a * … … 35993 50727 35994 50728 -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:43tom Exp $")50729 +MODULE_ID("$Id: comp_scan.c,v 1.100 2012/04/29 00:20:51 tom Exp $") 35996 50730 35997 50731 /* … … 36005 50739 NCURSES_EXPORT_VAR (long) _nc_comment_start = 0; /* start of comment range before name */ 36006 50740 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 @@ 36008 50785 } 36009 50786 … … 36020 50797 } 36021 50798 36022 @@ -299,6 +30 0,8 @@50799 @@ -299,6 +306,8 @@ 36023 50800 *tok_ptr++ = (char) ch; \ 36024 50801 *tok_ptr = '\0' … … 36029 50806 * int 36030 50807 * get_token() 36031 @@ -336, 7 +339,6@@50808 @@ -336,15 +345,14 @@ 36032 50809 _nc_get_token(bool silent) 36033 50810 { … … 36035 50812 - static char *tok_buf; 36036 50813 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 @@ 36040 50828 if (tok_buf != 0) { 36041 50829 if (_nc_curr_token.tk_name == tok_buf) … … 36045 50833 return (EOF); 36046 50834 } 36047 @@ -390,6 +39 1,7 @@50835 @@ -390,6 +397,7 @@ 36048 50836 } 36049 50837 … … 36053 50841 #ifdef TRACE 36054 50842 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 @@ 36056 50923 if (!(is7bits(c) && isprint(c))) { 36057 50924 _nc_warning("Illegal ^ character - '%s'", unctrl(UChar(c))); … … 36062 50929 if (_nc_tracing) 36063 50930 _nc_warning("Allow ^? as synonym for \\177"); 36064 @@ -758,23 + 760,29 @@50931 @@ -758,23 +818,29 @@ 36065 50932 *(ptr++) = (char) (c); 36066 50933 } … … 36097 50964 } 36098 50965 } 36099 @@ -782,21 + 790,16 @@50966 @@ -782,21 +848,16 @@ 36100 50967 number = number * 8 + c - '0'; 36101 50968 } … … 36121 50988 *(ptr++) = '\n'; 36122 50989 break; 36123 @@ -809,10 +8 12,6 @@50990 @@ -809,10 +870,6 @@ 36124 50991 *(ptr++) = '\010'; 36125 50992 break; … … 36132 50999 *(ptr++) = '\014'; 36133 51000 break; 36134 @@ -833,16 +8 32,33 @@51001 @@ -833,16 +890,33 @@ 36135 51002 *(ptr++) = ','; 36136 51003 break; … … 36172 51039 case '|': 36173 51040 *(ptr++) = (char) c; 36174 @@ -862,7 + 878,7 @@51041 @@ -862,7 +936,7 @@ 36175 51042 36176 51043 if (!ignored) { … … 36181 51048 break; 36182 51049 } 36183 @@ -934,5 + 950,8 @@51050 @@ -934,5 +1008,8 @@ 36184 51051 if (pushname != 0) { 36185 51052 FreeAndNull(pushname); … … 36191 51058 #endif 36192 51059 diff -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-0 2-16 18:25:12.675810462+000036194 +++ ncurses-5.9/ncurses/tinfo/db_iterator.c 2012-0 2-16 18:25:13.211824607+000051060 --- 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 36195 51062 @@ -1,5 +1,5 @@ 36196 51063 /**************************************************************************** … … 36200 51067 * Permission is hereby granted, free of charge, to any person obtaining a * 36201 51068 * copy of this software and associated documentation files (the * 36202 @@ -36,13 +36,1 35@@51069 @@ -36,13 +36,142 @@ 36203 51070 36204 51071 #include <curses.priv.h> … … 36212 51079 +#endif 36213 51080 + 36214 +MODULE_ID("$Id: db_iterator.c,v 1. 28 2012/01/21 23:56:17tom Exp $")51081 +MODULE_ID("$Id: db_iterator.c,v 1.34 2012/06/30 16:30:10 tom Exp $") 36215 51082 36216 51083 #define HaveTicDirectory _nc_globals.have_tic_directory … … 36224 51091 + 36225 51092 +static void 36226 +add_to_blob(const char *text )51093 +add_to_blob(const char *text, size_t limit) 36227 51094 +{ 51095 + (void) limit; 51096 + 36228 51097 + if (*text != '\0') { 36229 51098 + char *last = my_blob + strlen(my_blob); 36230 51099 + if (last != my_blob) 36231 51100 + *last++ = NCURSES_PATHSEP; 36232 + strcpy(last, text);51101 + _nc_STRCPY(last, text, limit); 36233 51102 + } 36234 51103 +} … … 36246 51115 + else if (strlen(name) < PATH_MAX - sizeof(DBM_SUFFIX)) { 36247 51116 + 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); 36249 51118 + if (stat(temp, sb) == 0 && S_ISREG(sb->st_mode)) { 36250 51119 + result = TRUE; … … 36263 51132 +{ 36264 51133 + bool result = FALSE; 36265 + char *value = getenv(name);36266 51134 + 36267 51135 + 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)) { 36269 51141 + FreeIfNeeded(my_vars[which].value); 36270 51142 + my_vars[which].name = name; … … 36279 51151 + my_vars[which].value = value; 36280 51152 + result = TRUE; 51153 + } else { 51154 + free(value); 36281 51155 + } 36282 51156 + } … … 36337 51211 /* 36338 51212 * Record the "official" location of the terminfo directory, according to 36339 @@ -51,6 +1 73,7 @@51213 @@ -51,6 +180,7 @@ 36340 51214 NCURSES_EXPORT(const char *) 36341 51215 _nc_tic_dir(const char *path) … … 36345 51219 if (path != 0) { 36346 51220 TicDirectory = path; 36347 @@ -61,7 +1 84,7 @@51221 @@ -61,7 +191,7 @@ 36348 51222 return _nc_tic_dir(envp); 36349 51223 } … … 36354 51228 36355 51229 /* 36356 @@ -77,61 +20 0,16 @@51230 @@ -77,61 +207,16 @@ 36357 51231 } 36358 51232 … … 36372 51246 - if (ThisDbList != 0) { 36373 51247 - FreeAndNull(ThisDbList); 36374 + if (my_blob != 0 && cache_expired()) { 36375 + free_cache(); 36376 } 51248 - } 36377 51249 - ThisDbSize = 0; 36378 36379 51250 -} 51251 - 36380 51252 -/* The TERMINFO_DIRS value, if defined by the configure script, begins with a 36381 51253 - * ":", which will be interpreted as TERMINFO. … … 36409 51281 - result = system_db; 36410 51282 - return result; 36411 - } 51283 + if (my_blob != 0 && cache_expired()) { 51284 + free_cache(); 51285 } 36412 51286 - return 0; 36413 -}36414 - 51287 } 51288 36415 51289 -#define NEXT_DBD(var, offset) next_list_item((*offset == 0) ? var : 0, offset) 36416 51290 - … … 36418 51292 * This is a simple iterator which allows the caller to step through the 36419 51293 * possible locations for a terminfo directory. ncurses uses this to find 36420 @@ -141,84 +2 19,175@@51294 @@ -141,84 +226,186 @@ 36421 51295 _nc_next_db(DBDIRS * state, int *offset) 36422 51296 { … … 36445 51319 +_nc_first_db(DBDIRS * state, int *offset) 36446 51320 +{ 51321 + bool cache_has_expired = FALSE; 36447 51322 + *state = dbdTIC; 36448 51323 + *offset = 0; … … 36453 51328 + * table. 36454 51329 + */ 36455 + if (my_blob == 0 ) {51330 + if (my_blob == 0 || (cache_has_expired = cache_expired())) { 36456 51331 + size_t blobsize = 0; 36457 51332 + const char *values[dbdLAST]; 36458 51333 + struct stat *my_stat; 36459 51334 + int j, k; 51335 + 51336 + if (cache_has_expired) 51337 + free_cache(); 36460 51338 + 36461 51339 + for (j = 0; j < dbdLAST; ++j) … … 36564 51442 + *my_blob = '\0'; 36565 51443 + for (j = 0; j < dbdLAST; ++j) { 36566 + add_to_blob(values[j] );51444 + add_to_blob(values[j], blobsize); 36567 51445 + } 36568 51446 + … … 36651 51529 - *state = dbdTIC; 36652 51530 - *offset = 0; 51531 + DBDIRS which; 51532 + 36653 51533 + if (my_blob != 0) 36654 51534 + FreeAndNull(my_blob); 36655 51535 + if (my_list != 0) 36656 51536 + 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 + } 36657 51542 } 36658 51543 +#endif 51544 diff -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; 36659 51576 diff -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-0 2-16 18:25:12.675810462+000036661 +++ ncurses-5.9/ncurses/tinfo/entries.c 2012-0 2-16 18:25:12.991818801+000051577 --- 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 36662 51579 @@ -1,5 +1,5 @@ 36663 51580 /**************************************************************************** 36664 51581 - * Copyright (c) 2006-2009,2010 Free Software Foundation, Inc. * 36665 + * Copyright (c) 2006-201 0,2011Free Software Foundation, Inc. *51582 + * Copyright (c) 2006-2011,2012 Free Software Foundation, Inc. * 36666 51583 * * 36667 51584 * Permission is hereby granted, free of charge, to any person obtaining a * … … 36672 51589 36673 51590 -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:50tom Exp $")51591 +MODULE_ID("$Id: entries.c,v 1.21 2012/05/05 20:33:44 tom Exp $") 36675 51592 36676 51593 /**************************************************************************** 36677 51594 * 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 @@ 36679 51606 _nc_free_entries(_nc_head); 36680 51607 _nc_get_type(0); … … 36684 51611 #if BROKEN_LINKER || USE_REENTRANT 36685 51612 _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); 36687 51620 36688 51621 #ifdef TRACE … … 36693 51626 36694 51627 #endif /* NO_LEAKS */ 51628 diff -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 +} 36695 51668 diff -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-0 2-16 18:25:12.675810462+000036697 +++ ncurses-5.9/ncurses/tinfo/hashed_db.c 2012-0 2-16 18:25:12.991818801+000051669 --- 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 36698 51671 @@ -1,5 +1,5 @@ 36699 51672 /**************************************************************************** … … 36889 51862 result = db->close(db, 0); 36890 51863 #else 51864 diff -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; 36891 51892 diff -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-0 2-16 18:25:12.675810462+000036893 +++ ncurses-5.9/ncurses/tinfo/lib_data.c 2012-0 2-16 18:25:12.991818801+000051893 --- 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 36894 51895 @@ -1,5 +1,5 @@ 36895 51896 /**************************************************************************** 36896 51897 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 36897 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *51898 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 36898 51899 * * 36899 51900 * Permission is hereby granted, free of charge, to any person obtaining a * … … 36904 51905 36905 51906 -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.6 3 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 $") 36907 51908 36908 51909 /* … … 36930 51931 0, /* _nc_windowlist */ 36931 51932 #endif 51933 @@ -249,6 +255,7 @@ 51934 NULL, /* _tputs_trace */ 51935 #endif 51936 #endif 51937 + FALSE, /* use_tioctl */ 51938 }; 51939 /* *INDENT-ON* */ 51940 36932 51941 diff -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-0 2-16 18:25:12.675810462+000036934 +++ ncurses-5.9/ncurses/tinfo/lib_napms.c 2012-0 2-16 18:25:12.991818801+000051942 --- 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 36935 51944 @@ -1,5 +1,5 @@ 36936 51945 /**************************************************************************** 36937 51946 - * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * 36938 + * Copyright (c) 1998-20 09,2011Free Software Foundation, Inc. *51947 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 36939 51948 * * 36940 51949 * Permission is hereby granted, free of charge, to any person obtaining a * 36941 51950 * copy of this software and associated documentation files (the * 36942 @@ -51, 32 +51,33@@51951 @@ -51,17 +51,21 @@ 36943 51952 #endif 36944 51953 #endif 36945 51954 36946 51955 -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.2 1 2011/06/04 19:24:16tom Exp $")51956 +MODULE_ID("$Id: lib_napms.c,v 1.23 2012/06/30 22:08:24 tom Exp $") 36948 51957 36949 51958 NCURSES_EXPORT(int) … … 36953 51962 T((T_CALLED("napms(%d)"), ms)); 36954 51963 36955 + if (HasTerminal(SP_PARM)) {36956 51964 #ifdef USE_TERM_DRIVER 36957 51965 - CallDriver_1(SP_PARM, nap, ms); 51966 + if (HasTerminal(SP_PARM)) { 36958 51967 + CallDriver_1(SP_PARM, nap, ms); 51968 + } 36959 51969 #else /* !USE_TERM_DRIVER */ 51970 +#if NCURSES_SP_FUNCS 51971 + (void) sp; 51972 +#endif 36960 51973 #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; 36988 51976 diff -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-0 2-16 18:25:12.675810462+000036990 +++ ncurses-5.9/ncurses/tinfo/lib_options.c 2012-0 2-16 18:25:12.991818801 +000051977 --- 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 36991 51979 @@ -1,5 +1,5 @@ 36992 51980 /**************************************************************************** … … 37015 52003 37016 52004 diff -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-0 2-16 18:25:12.675810462+000037018 +++ ncurses-5.9/ncurses/tinfo/lib_print.c 2012-0 2-16 18:25:12.991818801 +000052005 --- 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 37019 52007 @@ -1,5 +1,5 @@ 37020 52008 /**************************************************************************** 37021 52009 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37022 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *52010 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37023 52011 * * 37024 52012 * Permission is hereby granted, free of charge, to any person obtaining a * … … 37029 52017 37030 52018 -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.2 1 2011/10/22 16:34:50tom Exp $")52019 +MODULE_ID("$Id: lib_print.c,v 1.23 2012/02/22 22:34:31 tom Exp $") 37032 52020 37033 52021 NCURSES_EXPORT(int) 37034 52022 NCURSES_SP_NAME(mcprint) (NCURSES_SP_DCLx char *data, int len) 37035 @@ -77,7 +77,7 @@ 52023 @@ -76,10 +76,10 @@ 52024 return (ERR); 37036 52025 } 37037 52026 37038 52027 - (void) strcpy(mybuf, switchon); 37039 52028 - memcpy(mybuf + onsize, data, (unsigned) len); 52029 + _nc_STRCPY(mybuf, switchon, need); 37040 52030 + memcpy(mybuf + onsize, data, (size_t) len); 37041 52031 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 37044 52037 diff -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-0 2-16 18:25:12.675810462+000037046 +++ ncurses-5.9/ncurses/tinfo/lib_raw.c 2012-0 2-16 18:25:13.211824607+000052038 --- 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 37047 52040 @@ -1,5 +1,5 @@ 37048 52041 /**************************************************************************** … … 37114 52107 termp->Nttyb = buf; 37115 52108 diff -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 37119 52126 #include <curses.priv.h> 37120 52127 #include <tic.h> /* for MAX_NAME_SIZE */ … … 37129 52136 37130 52137 -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.14 2 2011/10/22 16:13:06tom Exp $")52138 +MODULE_ID("$Id: lib_setup.c,v 1.148 2012/07/21 18:05:41 tom Exp $") 37132 52139 37133 52140 /**************************************************************************** 37134 52141 * 37135 @@ -225,6 +22 1,7 @@52142 @@ -225,6 +222,7 @@ 37136 52143 { 37137 52144 T((T_CALLED("use_env(%p,%d)"), (void *) SP_PARM, (int) f)); … … 37141 52148 SP_PARM->_use_env = f; 37142 52149 } 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) 37144 52171 use_env(bool f) 37145 52172 { … … 37149 52176 returnVoid; 37150 52177 } 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 @@ 37152 52271 * 37153 52272 ****************************************************************************/ … … 37172 52291 /* 37173 52292 * Return 1 if entry found, 0 if not found, -1 if database not accessible, 37174 @@ -467,7 +4 49,7 @@52293 @@ -467,7 +493,7 @@ 37175 52294 ** and substitute it in for the prototype given in 'command_character'. 37176 52295 */ … … 37181 52300 unsigned i; 37182 52301 char CC; 37183 @@ -481,8 + 463,8 @@52302 @@ -481,8 +507,8 @@ 37184 52303 if ((tmp = getenv("CC")) != 0 && strlen(tmp) == 1) { 37185 52304 CC = *tmp; … … 37192 52311 } 37193 52312 } 37194 @@ -551,7 +5 33,7 @@52313 @@ -551,7 +577,7 @@ 37195 52314 int value; 37196 52315 int result = 0; … … 37201 52320 } else if ((value = tigetnum("U8")) >= 0) { 37202 52321 result = value; /* use extension feature */ 37203 @@ -578,7 + 560,7 @@52322 @@ -578,7 +604,7 @@ 37204 52323 NCURSES_CONST char *tname, 37205 52324 int Filedes, … … 37210 52329 #ifdef USE_TERM_DRIVER 37211 52330 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 @@ 37213 52341 if (status == TGETENT_ERR) { 37214 52342 ret_error0(status, "terminals database is inaccessible\n"); … … 37224 52352 #endif 37225 52353 37226 @@ -708,7 + 690,7 @@52354 @@ -708,7 +734,7 @@ 37227 52355 set_curterm(termp); 37228 52356 … … 37233 52361 /* 37234 52362 * If an application calls setupterm() rather than initscr() or 37235 @@ -742,10 +7 24,19 @@52363 @@ -742,10 +768,19 @@ 37236 52364 37237 52365 #ifndef USE_TERM_DRIVER … … 37257 52385 #endif 37258 52386 returnCode(code); 37259 @@ -798,7 + 789,7 @@52387 @@ -798,7 +833,7 @@ 37260 52388 _nc_setupterm(NCURSES_CONST char *tname, 37261 52389 int Filedes, … … 37267 52395 TERMINAL *termp; 37268 52396 diff -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-0 2-16 18:25:12.675810462+000037270 +++ ncurses-5.9/ncurses/tinfo/lib_termcap.c 2012-0 2-16 18:25:12.995818907+000052397 --- 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 37271 52399 @@ -1,5 +1,5 @@ 37272 52400 /**************************************************************************** 37273 52401 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37274 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *52402 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37275 52403 * * 37276 52404 * Permission is hereby granted, free of charge, to any person obtaining a * … … 37281 52409 37282 52410 -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.7 6 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 $") 37284 52412 37285 52413 NCURSES_EXPORT_VAR(char *) UP = 0; … … 37317 52445 if (VALID_STRING(result)) { 37318 52446 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 } 52456 diff -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'; 37319 52494 diff -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 * 37322 52504 @@ -42,7 +42,7 @@ 37323 52505 #include <ctype.h> … … 37325 52507 37326 52508 -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.8 4 2011/10/22 15:48:47tom Exp $")52509 +MODULE_ID("$Id: lib_tparm.c,v 1.86 2012/02/22 22:40:24 tom Exp $") 37328 52510 37329 52511 /* 37330 52512 * 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 @@ 37332 52525 if (len < 30) 37333 52526 len = 30; /* actually log10(MAX_INT)+1 */ … … 37336 52529 + get_space((size_t) len + 1); 37337 52530 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); 37339 52535 TPS(out_used) += strlen(TPS(out_buff) + TPS(out_used)); 37340 @@ -164,7 +164,7 @@ 52536 } 52537 52538 @@ -164,7 +168,7 @@ 37341 52539 { 37342 52540 if (c == 0) … … 37347 52545 } 37348 52546 37349 @@ -450,7 +45 0,7 @@52547 @@ -450,7 +454,7 @@ 37350 52548 } 37351 52549 … … 37356 52554 char *p_is_s[NUM_PARM]; 37357 52555 TPARM_ARG param[NUM_PARM]; 37358 @@ -522,7 +52 2,7 @@52556 @@ -522,7 +526,7 @@ 37359 52557 } 37360 52558 #ifdef TRACE … … 37365 52563 save_text(", %s", _nc_visbuf(p_is_s[i]), 0); 37366 52564 else 37367 @@ -757,7 +7 57,7 @@52565 @@ -757,7 +761,7 @@ 37368 52566 cp++; 37369 52567 } /* endwhile (*cp) */ … … 37375 52573 T((T_RETURN("%s"), _nc_visbuf(TPS(out_buff)))); 37376 52574 diff -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-0 2-16 18:25:12.675810462+000037378 +++ ncurses-5.9/ncurses/tinfo/lib_tputs.c 2012-0 2-16 18:25:12.995818907+000052575 --- 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 37379 52577 @@ -1,5 +1,5 @@ 37380 52578 /**************************************************************************** 37381 52579 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37382 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *52580 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37383 52581 * * 37384 52582 * Permission is hereby granted, free of charge, to any person obtaining a * … … 37389 52587 37390 52588 -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.8 2 2011/10/22 16:34:50tom Exp $")52589 +MODULE_ID("$Id: lib_tputs.c,v 1.84 2012/02/22 22:40:24 tom Exp $") 37392 52590 37393 52591 NCURSES_EXPORT_VAR(char) PC = 0; /* used by termcap library */ … … 37402 52600 } else { 37403 52601 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); 37404 52614 diff -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-0 2-16 18:25:12.675810462+000037406 +++ ncurses-5.9/ncurses/tinfo/lib_ttyflags.c 2012-0 2-16 18:25:13.211824607+000052615 --- 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 37407 52617 @@ -1,5 +1,5 @@ 37408 52618 /**************************************************************************** … … 37435 52645 if ((errno == ENOTTY) && (SP_PARM != 0)) 37436 52646 diff -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-0 2-16 18:25:12.675810462+000037438 +++ ncurses-5.9/ncurses/tinfo/make_hash.c 2012-0 2-16 18:25:12.995818907+000052647 --- 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 37439 52649 @@ -1,5 +1,5 @@ 37440 52650 /**************************************************************************** 37441 52651 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37442 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *52652 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37443 52653 * * 37444 52654 * Permission is hereby granted, free of charge, to any person obtaining a * 37445 52655 * 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 @@ 37453 52657 37454 52658 #include <ctype.h> 37455 52659 37456 52660 -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 $") 37458 52662 37459 52663 /* 37460 52664 * _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], 37461 52676 diff -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-0 2-16 18:25:12.675810462+000037463 +++ ncurses-5.9/ncurses/tinfo/make_keys.c 2012-0 2-16 18:25:12.995818907+000052677 --- 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 37464 52679 @@ -1,5 +1,5 @@ 37465 52680 /**************************************************************************** … … 37488 52703 37489 52704 diff -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-0 2-16 18:25:12.675810462+000037491 +++ ncurses-5.9/ncurses/tinfo/name_match.c 2012-0 2-16 18:25:12.995818907+000052705 --- 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 37492 52707 @@ -1,5 +1,5 @@ 37493 52708 /**************************************************************************** … … 37563 52778 { 37564 52779 diff -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-0 2-16 18:25:12.675810462+000037566 +++ ncurses-5.9/ncurses/tinfo/parse_entry.c 2012-0 2-16 18:25:12.995818907+000052780 --- 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 37567 52782 @@ -1,5 +1,5 @@ 37568 52783 /**************************************************************************** 37569 52784 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37570 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *52785 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37571 52786 * * 37572 52787 * Permission is hereby granted, free of charge, to any person obtaining a * … … 37577 52792 37578 52793 -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.7 6 2011/07/27 01:14:47tom Exp $")52794 +MODULE_ID("$Id: parse_entry.c,v 1.78 2012/02/22 22:40:24 tom Exp $") 37580 52795 37581 52796 #ifdef LINT … … 37605 52820 37606 52821 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); 37607 52881 diff -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 * 37610 52891 @@ -41,7 +41,7 @@ 37611 52892 … … 37613 52894 37614 52895 -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.11 7 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 $") 37616 52897 37617 52898 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts)) … … 37699 52980 _nc_free_termtype(ptr); 37700 52981 } 37701 @@ -390,6 +393,5 7@@52982 @@ -390,6 +393,58 @@ 37702 52983 return (code); 37703 52984 } … … 37720 53001 + if (size >= lens 37721 53002 + && !strcmp(path + size - lens, suffix)) 37722 + (void) strcpy(filename, path);53003 + _nc_STRCPY(filename, path, limit); 37723 53004 + else 37724 + (void) sprintf(filename,"%s%s", path, suffix);53005 + _nc_SPRINTF(filename, _nc_SLIMIT(limit) "%s%s", path, suffix); 37725 53006 + result = TRUE; 37726 53007 + } … … 37747 53028 + 37748 53029 + 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); 37750 53032 + result = TRUE; 37751 53033 + } … … 37757 53039 * Build a terminfo pathname and try to read the data. Returns TGETENT_YES on 37758 53040 * success, TGETENT_NO on failure. 37759 @@ -401,101 +45 5,79@@53041 @@ -401,101 +456,80 @@ 37760 53042 const char *name, 37761 53043 TERMTYPE *const tp) … … 37915 53197 + else if (code != TGETENT_YES) { 37916 53198 + 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()); 37918 53201 } 37919 53202 #endif … … 37923 53206 #endif /* USE_DATABASE */ 37924 53207 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 37926 53218 || strcmp(name, "..") == 0 37927 53219 || _nc_pathlast(name) != 0 … … 37951 53243 if (code != TGETENT_YES) { 37952 53244 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 } 37954 53251 diff -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-0 2-16 18:25:12.675810462+000037956 +++ ncurses-5.9/ncurses/tinfo/read_termcap.c 2012-0 2-16 18:25:12.999819013+000053252 --- 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 37957 53254 @@ -1,5 +1,5 @@ 37958 53255 /**************************************************************************** 37959 53256 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 37960 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *53257 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 37961 53258 * * 37962 53259 * Permission is hereby granted, free of charge, to any person obtaining a * … … 37970 53267 37971 53268 -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.8 4 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 $") 37973 53270 37974 53271 #if !PURE_TERMINFO … … 37983 53280 } 37984 53281 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; 37985 53300 @@ -384,7 +383,14 @@ 37986 53301 c = *bp++; … … 38099 53414 cp = use_terminfo_vars()? getenv("TERMCAP") : NULL; 38100 53415 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 @@ 38102 53431 } 38103 53432 } … … 38109 53438 if (_nc_cgetset(cp) < 0) { 38110 53439 return (TC_SYS_ERR); 38111 @@ -853,6 +86 6,7 @@53440 @@ -853,6 +867,7 @@ 38112 53441 * empty fields, and mistakenly use the last valid cap entry instead of 38113 53442 * the first (breaks tc= includes) … … 38117 53446 char *pd, *ps, *tok; 38118 53447 int endflag = FALSE; 38119 @@ -932,7 +94 6,7 @@53448 @@ -932,7 +947,7 @@ 38120 53449 if (count < MAXPATHS 38121 53450 && _nc_access(path, R_OK) == 0) { … … 38126 53455 termpaths[count] = 0; 38127 53456 if (save != 0) 38128 @@ -956,13 +97 0,13 @@53457 @@ -956,13 +971,13 @@ 38129 53458 static char *source; 38130 53459 static int lineno; … … 38142 53471 } 38143 53472 38144 @@ -980,7 +99 4,7 @@53473 @@ -980,7 +995,7 @@ 38145 53474 _nc_curr_line = lineno; 38146 53475 _nc_set_source(source); … … 38151 53480 /* 38152 53481 * 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 @@ 38154 53506 for (j = 0; j < filecount; j++) { 38155 53507 bool omit = FALSE; … … 38160 53512 } else { 38161 53513 for (k = 0; k < j; k++) { 38162 @@ -1075,7 +10 89,7 @@53514 @@ -1075,7 +1093,7 @@ 38163 53515 } 38164 53516 } … … 38169 53521 termpaths[k - 1] = termpaths[k]; 38170 53522 test_stat[k - 1] = test_stat[k]; 38171 @@ -1100,7 +111 4,7 @@53523 @@ -1100,7 +1118,7 @@ 38172 53524 38173 53525 for (i = 0; i < filecount; i++) { … … 38178 53530 && (fp = fopen(termpaths[i], "r")) != (FILE *) 0) { 38179 53531 _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. 38180 53542 diff -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-0 2-16 18:25:12.675810462+000038182 +++ ncurses-5.9/ncurses/tinfo/setbuf.c 2012-0 2-16 18:25:12.999819013+000053543 --- 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 38183 53545 @@ -1,5 +1,5 @@ 38184 53546 /**************************************************************************** … … 38224 53586 NCURSES_SP_NAME(_nc_set_buffer) (CURRENT_SCREEN, ofp, buffered); 38225 53587 } 53588 diff -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; 38226 53625 diff -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-0 2-16 18:25:12.675810462+000038228 +++ ncurses-5.9/ncurses/tinfo/tinfo_driver.c 2012-0 2-16 18:25:12.999819013+000053626 --- 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 38229 53628 @@ -1,5 +1,5 @@ 38230 53629 /**************************************************************************** 38231 53630 - * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc. * 38232 + * Copyright (c) 2008-201 0,2011Free Software Foundation, Inc. *53631 + * Copyright (c) 2008-2011,2012 Free Software Foundation, Inc. * 38233 53632 * * 38234 53633 * Permission is hereby granted, free of charge, to any person obtaining a * … … 38239 53638 38240 53639 -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:33tom Exp $")53640 +MODULE_ID("$Id: tinfo_driver.c,v 1.24 2012/07/28 20:12:11 tom Exp $") 38242 53641 38243 53642 /* 38244 53643 * 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 38245 53653 @@ -106,22 +106,6 @@ 38246 53654 return TINFO_DOUPDATE(TCB->csp); … … 38321 53729 NCURSES_SP_OUTC outc) 38322 53730 { 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 @@ 38324 53819 } 38325 53820 … … 38330 53825 SCREEN *sp = TCB->csp; 38331 53826 TERMINAL *_term = (TERMINAL *) TCB; 38332 @@ -497,7 + 491,7 @@53827 @@ -497,7 +511,7 @@ 38333 53828 } 38334 53829 … … 38339 53834 SCREEN *sp; 38340 53835 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 38342 53845 trm = (TERMINAL *) TCB; 38343 53846 - sp = TCB->csp; 38344 53847 38345 53848 - TCB->info.initcolor = initialize_color; … … 38348 53851 TCB->info.hascolor = ((VALID_NUMERIC(max_colors) && VALID_NUMERIC(max_pairs) 38349 53852 && (((set_foreground != NULL) 38350 @@ -665,7 +6 59,7 @@53853 @@ -665,7 +677,7 @@ 38351 53854 #define InPalette(n) ((n) >= 0 && (n) < MAX_PALETTE) 38352 53855 … … 38357 53860 SCREEN *sp; 38358 53861 38359 @@ -712,7 +7 06,7 @@53862 @@ -712,7 +724,7 @@ 38360 53863 38361 53864 static void … … 38366 53869 SCREEN *sp = TCB->csp; 38367 53870 38368 @@ -726,9 +7 20,9 @@53871 @@ -726,9 +738,9 @@ 38369 53872 38370 53873 static void … … 38379 53882 { 38380 53883 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 @@ 38382 53894 } 38383 53895 … … 38390 53902 int rc = 0; 38391 53903 SCREEN *sp; 38392 @@ -899,7 + 895,7 @@53904 @@ -899,7 +913,7 @@ 38393 53905 } 38394 53906 … … 38399 53911 SCREEN *sp = TCB->csp; 38400 53912 38401 @@ -1176,7 +11 72,7 @@53913 @@ -1176,7 +1190,7 @@ 38402 53914 if ((pthread_self) && (pthread_kill) && (pthread_equal)) 38403 53915 _nc_globals.read_thread = pthread_self(); … … 38408 53920 _nc_globals.read_thread = 0; 38409 53921 #endif 38410 @@ -1225,7 +12 21,7 @@53922 @@ -1225,7 +1239,7 @@ 38411 53923 } 38412 53924 … … 38417 53929 int ret = ERR; 38418 53930 SCREEN *sp; 38419 @@ -1251,7 +12 47,7 @@53931 @@ -1251,7 +1265,7 @@ 38420 53932 } 38421 53933 … … 38426 53938 SCREEN *sp; 38427 53939 int code = ERR; 38428 @@ -1264,7 +12 60,8 @@53940 @@ -1264,7 +1278,8 @@ 38429 53941 if (c >= 0) { 38430 53942 unsigned ch = (unsigned) c; … … 38436 53948 code = _nc_add_to_try(&(sp->_keytry), s, ch); 38437 53949 free(s); 38438 @@ -1273,7 +12 70,8 @@53950 @@ -1273,7 +1288,8 @@ 38439 53951 break; 38440 53952 } … … 38446 53958 code = _nc_add_to_try(&(sp->_key_ok), s, ch); 38447 53959 free(s); 53960 diff -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 } 38448 53988 diff -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-0 2-16 18:25:12.675810462+000038450 +++ ncurses-5.9/ncurses/tinfo/write_entry.c 2012-0 2-16 18:25:12.999819013+000053989 --- 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 38451 53991 @@ -1,5 +1,5 @@ 38452 53992 /**************************************************************************** 38453 53993 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 38454 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *53994 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 38455 53995 * * 38456 53996 * Permission is hereby granted, free of charge, to any person obtaining a * … … 38475 54015 38476 54016 -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.8 2 2011/10/30 14:33:13tom Exp $")54017 +MODULE_ID("$Id: write_entry.c,v 1.86 2012/06/16 16:59:05 tom Exp $") 38478 54018 38479 54019 static int total_written; … … 38488 54028 } 38489 54029 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 @@ 38491 54040 #endif /* !USE_HASHED_DB */ 38492 54041 … … 38497 54046 int rc = -1; 38498 54047 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 } 38500 54061 } 38501 54062 #if USE_HASHED_DB … … 38517 54078 + if (have > need && strcmp(dst + (int) (have - need), suffix)) { 38518 54079 + if (have + need <= limit) { 38519 + strcat(dst, suffix);54080 + _nc_STRCAT(dst, suffix, limit); 38520 54081 + } else { 38521 54082 + rc = -1; … … 38540 54101 struct stat statbuf; 38541 54102 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 @@ 38543 54124 38544 54125 _nc_db_put(capdb, &key, &data); … … 38548 54129 } 38549 54130 #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 @@ 38551 54184 return (want / size); 38552 54185 } … … 38557 54190 #undef LITTLE_ENDIAN /* BSD/OS defines this as a feature macro */ 38558 54191 #define HI(x) ((x) / 256) 38559 @@ -706,7 + 699,7 @@54192 @@ -706,7 +718,7 @@ 38560 54193 return (ERR); 38561 54194 … … 38566 54199 TRACE_OUT(("after extended string capabilities, nextfree=%d", nextfree)); 38567 54200 38568 @@ -714,7 +7 07,7 @@54201 @@ -714,7 +726,7 @@ 38569 54202 return (ERR); 38570 54203 … … 38575 54208 TRACE_OUT(("after extended capnames, nextfree=%d", nextfree)); 38576 54209 strmax = tp->ext_Strings + extcnt; 38577 @@ -742,7 +7 35,7 @@54210 @@ -742,7 +754,7 @@ 38578 54211 38579 54212 TRACE_OUT(("WRITE %d numbers @%d", tp->ext_Numbers, *offset)); … … 38585 54218 } 38586 54219 diff -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-0 2-16 18:25:12.679810567+000038588 +++ ncurses-5.9/ncurses/trace/lib_trace.c 2012-0 2-16 18:25:12.999819013+000054220 --- 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 38589 54222 @@ -1,5 +1,5 @@ 38590 54223 /**************************************************************************** 38591 54224 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 38592 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *54225 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 38593 54226 * * 38594 54227 * Permission is hereby granted, free of charge, to any person obtaining a * … … 38599 54232 38600 54233 -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:48tom Exp $")54234 +MODULE_ID("$Id: lib_trace.c,v 1.81 2012/04/29 00:20:43 tom Exp $") 38602 54235 38603 54236 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 } 38604 54249 38605 54250 @@ -121,7 +121,7 @@ … … 38633 54278 T((T_RETURN("%s"), code ? "TRUE" : "FALSE")); 38634 54279 return code; 38635 @@ -226, 7 +226,7@@54280 @@ -226,10 +226,10 @@ 38636 54281 38637 54282 /* Trace 'char' return-values */ … … 38641 54286 { 38642 54287 T((T_RETURN("%c"), code)); 38643 return code; 54288 - return code; 54289 + return (char) code; 54290 } 54291 54292 /* Trace 'int' return-values */ 38644 54293 diff -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 @@ 38648 54304 #define CUR SP_TERMTYPE 38649 54305 #endif 38650 54306 38651 54307 -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.7 6 2011/10/22 15:39:21tom Exp $")54308 +MODULE_ID("$Id: lib_traceatr.c,v 1.79 2012/02/22 22:40:24 tom Exp $") 38653 54309 38654 54310 #define COLOR_OF(c) ((c < 0) ? "default" : (c > 7 ? color_of(c) : colors[c].name)) 38655 54311 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 @@ 38657 54334 ; 38658 54335 size_t n; … … 38663 54340 if (result != 0) { 38664 54341 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 @@ 38666 54379 #if NCURSES_SP_FUNCS 38667 54380 (void) sp; … … 38672 54385 char *found = 0; 38673 54386 const ALT_NAMES *strp; 38674 @@ -271, 7 +271,7@@54387 @@ -271,10 +279,10 @@ 38675 54388 _tracechtype2(int bufnum, chtype ch) 38676 54389 { … … 38680 54393 38681 54394 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 @@ 38684 54401 NCURSES_EXPORT(char *) 38685 54402 _tracecchar_t2(int bufnum, const cchar_t *ch) … … 38690 54407 const char *found; 38691 54408 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) { 38692 54415 diff -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 * 38695 54425 @@ -34,11 +34,7 @@ 38696 54426 … … 38702 54432 -#define _POSIX_SOURCE 38703 54433 -#endif 38704 +MODULE_ID("$Id: lib_tracebits.c,v 1.2 0 2011/04/16 15:32:45tom Exp $")54434 +MODULE_ID("$Id: lib_tracebits.c,v 1.23 2012/06/09 19:55:46 tom Exp $") 38705 54435 38706 54436 #if HAVE_SYS_TERMIO_H 38707 54437 #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 54486 diff -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 } 54536 diff -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 { 54564 diff -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 38708 54620 diff -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 * 38711 54630 @@ -35,7 +35,7 @@ 38712 54631 … … 38714 54633 38715 54634 -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:06tom Exp $")54635 +MODULE_ID("$Id: trace_buf.c,v 1.20 2012/02/22 22:34:31 tom Exp $") 38717 54636 38718 54637 #ifdef TRACE 38719 54638 38720 @@ -103, 7 +103,7@@54639 @@ -103,13 +103,14 @@ 38721 54640 NCURSES_EXPORT(char *) 38722 54641 _nc_trace_bufcat(int bufnum, const char *value) … … 38726 54645 if (buffer != 0) { 38727 54646 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; 54657 diff -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; 38729 54712 diff -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-0 2-16 18:25:12.679810567+000038731 +++ ncurses-5.9/ncurses/trace/visbuf.c 2012-0 2-16 18:25:12.999819013+000054713 --- 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 38732 54715 @@ -1,5 +1,5 @@ 38733 54716 /**************************************************************************** 38734 54717 - * Copyright (c) 2001-2009,2010 Free Software Foundation, Inc. * 38735 + * Copyright (c) 2001-201 0,2011Free Software Foundation, Inc. *54718 + * Copyright (c) 2001-2011,2012 Free Software Foundation, Inc. * 38736 54719 * * 38737 54720 * Permission is hereby granted, free of charge, to any person obtaining a * … … 38742 54725 38743 54726 -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:50tom Exp $")54727 +MODULE_ID("$Id: visbuf.c,v 1.40 2012/02/22 22:40:24 tom Exp $") 38745 54728 38746 54729 #define NUM_VISBUFS 4 38747 54730 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 @@ 38749 54823 NCURSES_EXPORT(const char *) 38750 54824 _nc_viscbuf2(int bufnum, const NCURSES_CH_T * buf, int len) … … 38755 54829 const char *found; 38756 54830 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 */ 54849 diff -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 } 38757 54891 diff -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-0 2-16 18:25:12.671810357+000038759 +++ ncurses-5.9/ncurses/tty/hashmap.c 2012-0 2-16 18:25:12.999819013 +000054892 --- 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 38760 54894 @@ -1,5 +1,5 @@ 38761 54895 /**************************************************************************** … … 38784 54918 38785 54919 diff -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-0 2-16 18:25:12.671810357+000038787 +++ ncurses-5.9/ncurses/tty/lib_mvcur.c 2012-0 2-16 18:25:13.003819118+000054920 --- 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 38788 54922 @@ -159,7 +159,7 @@ 38789 54923 #define CUR SP_TERMTYPE … … 38814 54948 string_desc result; 38815 54949 diff -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-0 2-16 18:25:12.671810357+000038817 +++ ncurses-5.9/ncurses/tty/lib_tstp.c 2012-0 2-16 18:25:13.003819118+000054950 --- 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 38818 54952 @@ -1,5 +1,5 @@ 38819 54953 /**************************************************************************** … … 38888 55022 #if USE_SIGTSTP /* Xenix 2.x doesn't have SIGTSTP, for example */ 38889 55023 diff -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-0 2-16 18:25:12.671810357+000038891 +++ ncurses-5.9/ncurses/tty/lib_twait.c 2012-0 2-16 18:25:13.215824712+000055024 --- 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 38892 55026 @@ -1,5 +1,5 @@ 38893 55027 /**************************************************************************** … … 38914 55048 38915 55049 -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.6 3 2012/01/21 19:21:29 KO.Myung-HunExp $")55050 +MODULE_ID("$Id: lib_twait.c,v 1.64 2012/02/18 20:32:55 tom Exp $") 38917 55051 38918 55052 static long … … 38935 55069 38936 55070 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 @@ 38938 55080 } 38939 55081 #endif … … 38944 55086 #ifdef NCURSES_WGETCH_EVENTS 38945 55087 if ((mode & TW_EVENT) && evl) { 38946 @@ -329,10 +34 0,12 @@55088 @@ -329,10 +341,12 @@ 38947 55089 */ 38948 55090 FD_ZERO(&set); … … 38957 55099 && (fd = sp->_mouse_fd) >= 0) { 38958 55100 FD_SET(fd, &set); 38959 @@ -352,6 +36 5,31 @@55101 @@ -352,6 +366,31 @@ 38960 55102 } 38961 55103 #endif … … 38989 55131 struct timeval ntimeout; 38990 55132 ntimeout.tv_sec = milliseconds / 1000; 38991 @@ -360,6 +39 8,7 @@55133 @@ -360,6 +399,7 @@ 38992 55134 } else { 38993 55135 result = select(count, &set, NULL, NULL, NULL); … … 38998 55140 if ((mode & TW_EVENT) && evl) { 38999 55141 diff -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-0 2-16 18:25:12.671810357+000039001 +++ ncurses-5.9/ncurses/tty/lib_vidattr.c 2012-0 2-16 18:25:13.003819118+000055142 --- 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 39002 55144 @@ -1,5 +1,5 @@ 39003 55145 /**************************************************************************** … … 39083 55225 39084 55226 diff -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-0 2-16 18:25:12.671810357+000039086 +++ ncurses-5.9/ncurses/tty/tty_update.c 2012-0 2-16 18:25:13.003819118+000055227 --- 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 39087 55229 @@ -1,5 +1,5 @@ 39088 55230 /**************************************************************************** 39089 55231 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 39090 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *55232 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 39091 55233 * * 39092 55234 * Permission is hereby granted, free of charge, to any person obtaining a * … … 39097 55239 39098 55240 -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.26 7 2011/10/22 17:30:14tom Exp $")55241 +MODULE_ID("$Id: tty_update.c,v 1.268 2012/05/12 21:02:00 tom Exp $") 39100 55242 39101 55243 /* 39102 55244 * 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 @@ 39104 55264 struct pollfd fds[1]; 39105 55265 fds[0].fd = SP_PARM->_checkfd; … … 39110 55270 } 39111 55271 #elif defined(__BEOS__) 39112 @@ -677,6 +67 7,9 @@55272 @@ -677,6 +676,9 @@ 39113 55273 39114 55274 T((T_CALLED("_nc_tinfo:doupdate(%p)"), (void *) SP_PARM)); … … 39120 55280 /* 39121 55281 * It is "legal" but unlikely that an application could assign a new 39122 @@ -1076,7 +107 9,7 @@55282 @@ -1076,7 +1078,7 @@ 39123 55283 */ 39124 55284 … … 39130 55290 39131 55291 diff -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-0 2-16 18:25:12.667810252 +000039133 +++ ncurses-5.9/ncurses/widechar/lib_box_set.c 2012-0 2-16 18:25:13.003819118+000055292 --- 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 39134 55294 @@ -1,5 +1,5 @@ 39135 55295 /**************************************************************************** … … 39158 55318 _tracech_t2(2, rs), 39159 55319 diff -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-0 2-16 18:25:12.667810252 +000039161 +++ ncurses-5.9/ncurses/widechar/lib_cchar.c 2012-0 2-16 18:25:13.003819118+000055320 --- 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 39162 55322 @@ -1,5 +1,5 @@ 39163 55323 /**************************************************************************** 39164 55324 - * Copyright (c) 2001-2009,2010 Free Software Foundation, Inc. * 39165 + * Copyright (c) 2001-201 0,2011Free Software Foundation, Inc. *55325 + * Copyright (c) 2001-2011,2012 Free Software Foundation, Inc. * 39166 55326 * * 39167 55327 * Permission is hereby granted, free of charge, to any person obtaining a * … … 39172 55332 39173 55333 -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.2 4 2011/10/22 15:52:36tom Exp $")55334 +MODULE_ID("$Id: lib_cchar.c,v 1.26 2012/03/24 18:37:17 tom Exp $") 39175 55335 39176 55336 /* … … 39184 55344 - || (len > 1 && wcwidth(wch[0]) < 0)) { 39185 55345 + || wch == NULL 39186 + || ((len = wcslen(wch)) > 1 && wcwidth(wch[0]) < 0)) {55346 + || ((len = (unsigned) wcslen(wch)) > 1 && wcwidth(wch[0]) < 0)) { 39187 55347 code = ERR; 39188 55348 } else { … … 39218 55378 } 39219 55379 diff -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-0 2-16 18:25:12.667810252 +000039221 +++ ncurses-5.9/ncurses/widechar/lib_get_wch.c 2012-0 2-16 18:25:13.003819118+000055380 --- 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 39222 55382 @@ -1,5 +1,5 @@ 39223 55383 /**************************************************************************** … … 39249 55409 returnCode(code); 39250 55410 diff -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-0 2-16 18:25:12.667810252 +000039252 +++ ncurses-5.9/ncurses/widechar/lib_get_wstr.c 2012-0 2-16 18:25:13.003819118+000055411 --- 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 39253 55413 @@ -1,5 +1,5 @@ 39254 55414 /**************************************************************************** … … 39286 55446 *--last = '\0'; 39287 55447 diff -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-0 2-16 18:25:12.667810252 +000039289 +++ ncurses-5.9/ncurses/widechar/lib_ins_wch.c 2012-0 2-16 18:25:13.003819118+000055448 --- 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 39290 55450 @@ -1,5 +1,5 @@ 39291 55451 /**************************************************************************** … … 39314 55474 } else { 39315 55475 diff -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-0 2-16 18:25:12.667810252 +000039317 +++ ncurses-5.9/ncurses/widechar/lib_inwstr.c 2012-0 2-16 18:25:13.007819223+000055476 --- 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 39318 55478 @@ -1,5 +1,5 @@ 39319 55479 /**************************************************************************** … … 39348 55508 } 39349 55509 diff -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-0 2-16 18:25:12.667810252 +000039351 +++ ncurses-5.9/ncurses/widechar/lib_slk_wset.c 2012-0 2-16 18:25:13.007819223+000055510 --- 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 39352 55512 @@ -1,5 +1,5 @@ 39353 55513 /**************************************************************************** … … 39401 55561 returnCode(result); 39402 55562 diff -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-0 2-16 18:25:12.667810252 +000039404 +++ ncurses-5.9/ncurses/widechar/lib_unget_wch.c 2012-0 2-16 18:25:13.007819223+000055563 --- 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 39405 55565 @@ -1,5 +1,5 @@ 39406 55566 /**************************************************************************** … … 39429 55589 } 39430 55590 diff -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-0 2-16 18:25:12.667810252 +000039432 +++ ncurses-5.9/ncurses/widechar/lib_vid_attr.c 2012-0 2-16 18:25:13.007819223+000055591 --- 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 39433 55593 @@ -1,5 +1,5 @@ 39434 55594 /**************************************************************************** 39435 55595 - * Copyright (c) 2002-2009,2010 Free Software Foundation, Inc. * 39436 + * Copyright (c) 2002-201 0,2011Free Software Foundation, Inc. *55596 + * Copyright (c) 2002-2011,2012 Free Software Foundation, Inc. * 39437 55597 * * 39438 55598 * Permission is hereby granted, free of charge, to any person obtaining a * … … 39443 55603 39444 55604 -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.1 5 2011/05/28 21:25:07tom Exp $")55605 +MODULE_ID("$Id: lib_vid_attr.c,v 1.16 2012/06/09 20:29:33 tom Exp $") 39446 55606 39447 55607 #define doPut(mode) TPUTS_TRACE(#mode); NCURSES_SP_NAME(tputs)(NCURSES_SP_ARGx mode, 1, outc) 39448 55608 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); 39449 55618 @@ -296,24 +296,26 @@ 39450 55619 NCURSES_EXPORT(attr_t) … … 39490 55659 } 39491 55660 diff -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-0 2-16 18:25:12.667810252 +000039493 +++ ncurses-5.9/ncurses/widechar/lib_wunctrl.c 2012-0 2-16 18:25:13.007819223+000055661 --- 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 39494 55663 @@ -1,5 +1,5 @@ 39495 55664 /**************************************************************************** … … 39534 55703 39535 55704 #if NCURSES_SP_FUNCS 55705 diff -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; 55858 diff -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 55873 diff -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 55878 diff -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. 55898 diff -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 56014 diff -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 56136 diff -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) 56141 diff -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 56149 diff -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. 39536 56235 diff -Naur ncurses-5.9.orig/panel/Makefile.in ncurses-5.9/panel/Makefile.in 39537 --- ncurses-5.9.orig/panel/Makefile.in 2012-0 2-16 18:25:12.639809512 +000039538 +++ ncurses-5.9/panel/Makefile.in 2012-0 2-16 18:25:13.007819223+000056236 --- 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 39539 56238 @@ -1,6 +1,6 @@ 39540 56239 -# $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:50tom Exp $56240 +# $Id: Makefile.in,v 1.60 2012/08/11 21:31:56 tom Exp $ 39542 56241 ############################################################################## 39543 56242 -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # … … 39546 56245 # Permission is hereby granted, free of charge, to any person obtaining a # 39547 56246 # 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 @@ 39549 56256 SHLIB_DIRS = -L../lib 39550 56257 SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ … … 39554 56261 39555 56262 NCURSES_MAJOR = @NCURSES_MAJOR@ 56263 diff -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); 56289 diff -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); 56315 diff -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 } 39556 56364 diff -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-0 2-16 18:25:12.639809512 +000039558 +++ ncurses-5.9/panel/panel.priv.h 2012-0 2-16 18:25:13.007819223+000056365 --- 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 39559 56367 @@ -1,5 +1,5 @@ 39560 56368 /**************************************************************************** … … 39583 56391 COMPUTE_INTERSECTION(pan, pan2, ix1, ix2, iy1, iy2);\ 39584 56392 diff -Naur ncurses-5.9.orig/progs/Makefile.in ncurses-5.9/progs/Makefile.in 39585 --- ncurses-5.9.orig/progs/Makefile.in 2012-0 2-16 18:25:12.639809512 +000039586 +++ ncurses-5.9/progs/Makefile.in 2012-0 2-16 18:25:13.007819223+000056393 --- 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 39587 56395 @@ -1,6 +1,6 @@ 39588 56396 -# $Id: Makefile.in,v 1.85 2010/11/27 21:45:27 tom Exp $ 39589 +# $Id: Makefile.in,v 1.8 7 2011/09/24 15:13:34 nixExp $56397 +# $Id: Makefile.in,v 1.89 2012/08/11 21:31:56 tom Exp $ 39590 56398 ############################################################################## 39591 56399 -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # 39592 +# Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. #56400 +# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. # 39593 56401 # # 39594 56402 # Permission is hereby granted, free of charge, to any person obtaining a # 39595 56403 # 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 @@ 39597 56413 LD = @LD@ 39598 56414 LINK = @LINK_PROGS@ $(LIBTOOL_LINK) … … 39621 56437 LINT = @LINT@ 39622 56438 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@ >$@ 39623 56493 diff -Naur ncurses-5.9.orig/progs/capconvert ncurses-5.9/progs/capconvert 39624 --- ncurses-5.9.orig/progs/capconvert 2012-0 2-16 18:25:12.639809512 +000039625 +++ ncurses-5.9/progs/capconvert 2012-0 2-16 18:25:13.007819223+000056494 --- 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 39626 56496 @@ -1,6 +1,6 @@ 39627 56497 #!/bin/sh … … 39702 56572 echo "Done." 39703 56573 diff -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-0 2-16 18:25:12.635809407+000039705 +++ ncurses-5.9/progs/dump_entry.c 2012-0 2-16 18:25:13.007819223+000056574 --- 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 39706 56576 @@ -1,5 +1,5 @@ 39707 56577 /**************************************************************************** 39708 56578 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 39709 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *56579 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 39710 56580 * * 39711 56581 * Permission is hereby granted, free of charge, to any person obtaining a * … … 39716 56586 39717 56587 -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:17tom Exp $")56588 +MODULE_ID("$Id: dump_entry.c,v 1.100 2012/06/09 21:44:40 tom Exp $") 39719 56589 39720 56590 #define INDENT 8 … … 39807 56677 39808 56678 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; 39810 56691 } 39811 56692 } … … 39822 56703 39823 56704 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 @@ 39825 56720 } 39826 56721 } … … 39831 56726 39832 56727 len += (int) (num_bools 39833 @@ -670,7 +69 1,7 @@56728 @@ -670,7 +693,7 @@ 39834 56729 39835 56730 for_each_string(j, tterm) { … … 39840 56735 39841 56736 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 @@ 39843 56824 */ 39844 56825 if (outcount) { … … 39849 56830 && outbuf.text[j - 1] == '\t' 39850 56831 && 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 @@ 39852 56851 */ 39853 56852 unsigned n; … … 39858 56857 if (VALID_STRING(tterm->Strings[n])) { 39859 56858 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 39861 56869 int 39862 56870 show_entry(void) … … 39868 56876 + if (outbuf.used != 0) { 39869 56877 + bool infodump = (outform != F_TERMCAP && outform != F_TCONVERR); 39870 + char delim = infodump ? ',' : ':';56878 + char delim = (char) (infodump ? ',' : ':'); 39871 56879 + int j; 39872 56880 + … … 39876 56884 + ; 39877 56885 + } else if (isspace(UChar(ch))) { 39878 + outbuf.used = j;56886 + outbuf.used = (size_t) j; 39879 56887 + } else if (!infodump && ch == '\\') { 39880 + outbuf.used = j;56888 + outbuf.used = (size_t) j; 39881 56889 + } else if (ch == delim && (j == 0 || outbuf.text[j - 1] != '\\')) { 39882 + outbuf.used = ( j + 1);56890 + outbuf.used = (size_t) (j + 1); 39883 56891 + } else { 39884 56892 + break; … … 39898 56906 bool quiet) 39899 56907 /* compare two entries */ 39900 @@ -1170,7 +12 14,7 @@56908 @@ -1170,7 +1224,7 @@ 39901 56909 fputs(" comparing booleans.\n", stdout); 39902 56910 for_each_boolean(j, tp) { … … 39907 56915 if (isObsolete(outform, name)) 39908 56916 continue; 39909 @@ -1182,7 +12 26,7 @@56917 @@ -1182,7 +1236,7 @@ 39910 56918 fputs(" comparing numbers.\n", stdout); 39911 56919 for_each_number(j, tp) { … … 39916 56924 if (isObsolete(outform, name)) 39917 56925 continue; 39918 @@ -1194,7 +12 38,7 @@56926 @@ -1194,7 +1248,7 @@ 39919 56927 fputs(" comparing strings.\n", stdout); 39920 56928 for_each_string(j, tp) { … … 39926 56934 continue; 39927 56935 diff -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-0 2-16 18:25:12.635809407+000039929 +++ ncurses-5.9/progs/dump_entry.h 2012-0 2-16 18:25:13.007819223+000056936 --- 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 39930 56938 @@ -1,5 +1,5 @@ 39931 56939 /**************************************************************************** … … 39969 56977 39970 56978 diff -Naur ncurses-5.9.orig/progs/infocmp.c ncurses-5.9/progs/infocmp.c 39971 --- ncurses-5.9.orig/progs/infocmp.c 2012-0 2-16 18:25:12.639809512 +000039972 +++ ncurses-5.9/progs/infocmp.c 2012-0 2-16 18:25:13.011819328+000056979 --- 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 39973 56981 @@ -1,5 +1,5 @@ 39974 56982 /**************************************************************************** 39975 56983 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 39976 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *56984 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 39977 56985 * * 39978 56986 * Permission is hereby granted, free of charge, to any person obtaining a * … … 39983 56991 39984 56992 -MODULE_ID("$Id: infocmp.c,v 1.105 2010/05/01 22:04:08 tom Exp $") 39985 +MODULE_ID("$Id: infocmp.c,v 1.1 10 2011/12/17 23:59:50tom Exp $")56993 +MODULE_ID("$Id: infocmp.c,v 1.120 2012/06/08 23:05:25 tom Exp $") 39986 56994 39987 56995 #define L_CURL "{" … … 39998 57006 static int outform = F_TERMINFO; /* output format */ 39999 57007 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 @@ 40001 57361 } 40002 57362 … … 40007 57367 bool result = FALSE; 40008 57368 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 @@ 40010 57459 int i, n; 40011 57460 … … 40016 57465 for (n = 0; n < argc && n < MAXCOMPARE; n++) { 40017 57466 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 @@ 40019 57522 "Usage: infocmp [options] [-A directory] [-B directory] [termname...]" 40020 57523 ,"" … … 40026 57529 ," -F compare terminfo-files" 40027 57530 ," -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 } 40029 57581 *tp++ = '"'; 40030 57582 *tp = '\0'; … … 40036 57588 } 40037 57589 printf("\n"); 40038 @@ -1116,7 +1 120,7 @@57590 @@ -1116,7 +1298,7 @@ 40039 57591 break; 40040 57592 } … … 40045 57597 (void) printf("%s;\n", R_CURL); 40046 57598 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; 40048 57606 break; 40049 57607 } … … 40054 57612 (void) printf("%s;\n", R_CURL); 40055 57613 40056 @@ -1150,10 +1 154,10 @@57614 @@ -1150,10 +1332,10 @@ 40057 57615 else if (term->Strings[n] == CANCELLED_STRING) 40058 57616 str = "CANCELLED_STRING"; … … 40067 57625 (void) printf("%s;\n", R_CURL); 40068 57626 40069 @@ -1165,15 +1 169,15 @@57627 @@ -1165,15 +1347,15 @@ 40070 57628 name_initializer("string_ext"), L_CURL); 40071 57629 for (n = BOOLCOUNT; n < NUM_BOOLEANS(term); ++n) { … … 40086 57644 (void) printf("%s;\n", R_CURL); 40087 57645 } 40088 @@ -1247,6 +1 251,23 @@57646 @@ -1247,6 +1429,23 @@ 40089 57647 return terminal; 40090 57648 } … … 40110 57668 * 40111 57669 * Main sequence 40112 @@ -1269,7 +1 290,7 @@57670 @@ -1269,7 +1468,7 @@ 40113 57671 /* Also avoid overflowing smaller stacks on systems like AmigaOS */ 40114 57672 path *tfile = 0; … … 40119 57677 char **myargv; 40120 57678 40121 @@ -1287,6 +1 308,7 @@57679 @@ -1287,6 +1486,7 @@ 40122 57680 #if NCURSES_XNAMES 40123 57681 use_extended_names(FALSE); … … 40127 57685 _nc_progname = _nc_rootname(argv[0]); 40128 57686 40129 @@ -1297,8 +1 319,13 @@57687 @@ -1297,8 +1497,13 @@ 40130 57688 40131 57689 while ((c = getopt(argc, … … 40142 57700 mwidth = 0; 40143 57701 break; 40144 @@ -1317,6 +1 344,9 @@57702 @@ -1317,6 +1522,9 @@ 40145 57703 restdir = optarg; 40146 57704 break; … … 40152 57710 outform = F_TERMCAP; 40153 57711 tversion = "BSD"; 40154 @@ -1324,6 +1 354,11 @@57712 @@ -1324,6 +1532,11 @@ 40155 57713 sortmode = S_TERMCAP; 40156 57714 break; … … 40164 57722 compare = C_COMMON; 40165 57723 break; 40166 @@ -1441,7 +1 476,7 @@57724 @@ -1441,7 +1654,7 @@ 40167 57725 ExitProgram(EXIT_SUCCESS); 40168 57726 … … 40173 57731 break; 40174 57732 40175 @@ -1460, 7 +1495,7@@57733 @@ -1460,10 +1673,13 @@ 40176 57734 } 40177 57735 } … … 40182 57740 tname = typeCalloc(char *, maxterms); 40183 57741 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) 40185 57750 sortmode = S_TERMINFO; 40186 57751 40187 57752 - /* set up for display */ 40188 57753 - dump_init(tversion, outform, sortmode, mwidth, itrace, formatted); 40189 + dump_init(tversion, outform, sortmode, mwidth, mheight, itrace, formatted); 40190 57754 - 40191 57755 /* make sure we have at least one terminal name to work with */ 40192 57756 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); 40193 57851 diff -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-0 2-16 18:25:12.639809512 +000040195 +++ ncurses-5.9/progs/progs.priv.h 2012-0 2-16 18:25:13.011819328+000057852 --- 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 40196 57854 @@ -1,5 +1,5 @@ 40197 57855 /**************************************************************************** 40198 57856 - * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * 40199 + * Copyright (c) 1998-20 08,2011Free Software Foundation, Inc. *57857 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 40200 57858 * * 40201 57859 * Permission is hereby granted, free of charge, to any person obtaining a * … … 40206 57864 /* 40207 57865 - * $Id: progs.priv.h,v 1.34 2008/08/03 17:43:05 tom Exp $ 40208 + * $Id: progs.priv.h,v 1.3 6 2011/06/26 09:31:22tom Exp $57866 + * $Id: progs.priv.h,v 1.39 2012/02/22 22:11:27 tom Exp $ 40209 57867 * 40210 57868 * progs.priv.h 40211 57869 * 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 @@ 40213 57895 40214 57896 #if HAVE_GETOPT_H … … 40219 57901 * variables doesn't hurt. 40220 57902 */ 40221 @@ -109, 6 +109,7@@57903 @@ -109,9 +117,11 @@ 40222 57904 40223 57905 #include <curses.h> … … 40227 57909 #include <nc_tparm.h> 40228 57910 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 40229 57933 diff -Naur ncurses-5.9.orig/progs/tabs.c ncurses-5.9/progs/tabs.c 40230 --- ncurses-5.9.orig/progs/tabs.c 2012-0 2-16 18:25:12.635809407+000040231 +++ ncurses-5.9/progs/tabs.c 2012-0 2-16 18:25:13.011819328+000057934 --- 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 40232 57936 @@ -1,5 +1,5 @@ 40233 57937 /**************************************************************************** 40234 57938 - * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc. * 40235 + * Copyright (c) 2008-201 0,2011Free Software Foundation, Inc. *57939 + * Copyright (c) 2008-2011,2012 Free Software Foundation, Inc. * 40236 57940 * * 40237 57941 * Permission is hereby granted, free of charge, to any person obtaining a * … … 40242 57946 40243 57947 -MODULE_ID("$Id: tabs.c,v 1.19 2010/10/23 22:26:01 tom Exp $") 40244 +MODULE_ID("$Id: tabs.c,v 1.2 1 2011/05/21 18:31:21tom Exp $")57948 +MODULE_ID("$Id: tabs.c,v 1.23 2012/02/22 23:57:44 tom Exp $") 40245 57949 40246 57950 static void usage(void) GCC_NORETURN; 40247 57951 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 @@ 40249 57969 bool result = FALSE; 40250 57970 … … 40255 57975 result = (source[len - 1] != ','); 40256 57976 } else { 40257 @@ -251,7 +25 1,7 @@57977 @@ -251,7 +252,7 @@ 40258 57978 40259 57979 if (copied != 0 && *copied != '\0') { … … 40264 57984 if (*copied == ',') 40265 57985 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 @@ 40267 58002 bool no_op = FALSE; 40268 58003 int n, ch; … … 40272 58007 const char *tab_list = 0; 40273 58008 40274 @@ -446,7 +44 5,11 @@58009 @@ -446,7 +446,11 @@ 40275 58010 while ((ch = *++option) != '\0') { 40276 58011 switch (ch) { … … 40286 58021 /* special case of relative stops separated by spaces? */ 40287 58022 diff -Naur ncurses-5.9.orig/progs/tic.c ncurses-5.9/progs/tic.c 40288 --- ncurses-5.9.orig/progs/tic.c 2012-0 2-16 18:25:12.639809512+000040289 +++ ncurses-5.9/progs/tic.c 2012-0 2-16 18:25:13.243825451+000058023 --- 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 40290 58025 @@ -1,5 +1,5 @@ 40291 58026 /**************************************************************************** … … 40303 58038 */ 40304 58039 40305 @@ -42,9 +43,1 0@@58040 @@ -42,9 +43,12 @@ 40306 58041 #include <sys/stat.h> 40307 58042 … … 40311 58046 40312 58047 -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>" 40314 58051 40315 58052 const char *_nc_progname = "tic"; 40316 58053 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 @@ 40318 58063 1\ 40319 58064 a\ … … 40329 58074 N\ 40330 58075 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 @@ 40332 58094 #if NCURSES_XNAMES 40333 58095 " -a retain commented-out capabilities (sets -x also)", … … 40339 58101 " -e<names> translate/compile only entries named by comma-separated list", 40340 58102 " -f format complex strings for readability", 40341 @@ -173,7 +1 79,7 @@58103 @@ -173,7 +181,7 @@ 40342 58104 40343 58105 #define L_BRACE '{' … … 40348 58110 static void 40349 58111 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 } 40351 58119 } 40352 58120 … … 40357 58125 } 40358 58126 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 @@ 40360 58137 static char * 40361 58138 stripped(char *src) … … 40373 58150 + if ((dst = strdup(src)) == NULL) { 40374 58151 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;40382 58152 + } else { 40383 58153 + len = strlen(dst); … … 40385 58155 + dst[len] = '\0'; 40386 58156 + } 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; 40387 58221 } 40388 58222 - return 0; 40389 + return dst;58223 + return result; 40390 58224 } 40391 58225 40392 58226 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; 40395 58267 } 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) 40397 58283 +static const char * 40398 58284 +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"); 40400 58291 + struct stat sb; 40401 58292 +#if USE_HASHED_DB … … 40404 58295 + char *result = malloc(need); 40405 58296 + 40406 + strcpy(result, nominal);58297 + _nc_STRCPY(result, nominal, need); 40407 58298 + if (strcmp(result + need - sizeof(suffix), suffix)) { 40408 + strcat(result, suffix);58299 + _nc_STRCAT(result, suffix, need); 40409 58300 + } 40410 +#else 58301 #else 58302 - if (tmpnam(name) != 0) 58303 - result = fopen(name, "w"); 40411 58304 + char *result = strdup(nominal); 40412 58305 +#endif … … 40428 58321 + result = 0; 40429 58322 + } 40430 +#endif58323 #endif 40431 58324 + } else { 40432 58325 + /* check if parent is directory and is writable */ … … 40452 58345 + } 40453 58346 + } 40454 +return result;40455 +}40456 + 58347 return result; 58348 } 58349 40457 58350 +/* 40458 58351 + * Show the databases to which tic could write. The location to which it … … 40501 58394 char my_tmpname[PATH_MAX]; 40502 58395 - int v_opt = -1, debug_level; 58396 + char my_altfile[PATH_MAX]; 40503 58397 + int v_opt = -1; 40504 58398 + unsigned debug_level; … … 40506 58400 char *termcap; 40507 58401 ENTRY *qp; 40508 @@ -486,6 + 594,7 @@58402 @@ -486,6 +659,7 @@ 40509 58403 int sortmode = S_TERMINFO; /* sort_mode */ 40510 58404 … … 40514 58408 bool literal = FALSE; /* suppress post-processing? */ 40515 58409 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 @@ 40517 58427 #if NCURSES_XNAMES 40518 58428 use_extended_names(FALSE); … … 40522 58432 /* 40523 58433 * Processing arguments is a little complicated, since someone made a 40524 @@ -520,7 +6 30,7 @@58434 @@ -520,7 +695,7 @@ 40525 58435 * be optional. 40526 58436 */ … … 40531 58441 switch (last_opt) { 40532 58442 case 'v': 40533 @@ -530,19 + 640,40 @@58443 @@ -530,19 +705,40 @@ 40534 58444 width = (width * 10) + (this_opt - '0'); 40535 58445 break; … … 40575 58485 infodump = TRUE; 40576 58486 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 @@ 40578 58496 last_opt = this_opt; 40579 58497 } … … 40584 58502 40585 58503 if (_nc_tracing) { 40586 @@ -638, 7 +769,8 @@58504 @@ -638,8 +833,8 @@ 40587 58505 */ 40588 58506 if (namelst && (!infodump && !capdump)) { 40589 58507 (void) fprintf(stderr, 40590 58508 - "Sorry, -e can't be used without -I or -C\n"); 58509 - cleanup(namelst); 40591 58510 + "%s: Sorry, -e can't be used without -I or -C\n", 40592 58511 + _nc_progname); 40593 cleanup(namelst);40594 58512 ExitProgram(EXIT_FAILURE); 40595 58513 } 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, 40597 58562 smart_defaults 40598 58563 ? outform 40599 58564 : F_LITERAL, 40600 58565 - sortmode, width, debug_level, formatted); 58566 - else if (capdump) 40601 58567 + sortmode, width, height, debug_level, formatted); 40602 else if (capdump) 58568 + } else if (capdump) { 40603 58569 dump_init(tversion, 40604 58570 outform, 40605 58571 - sortmode, width, debug_level, FALSE); 40606 58572 + sortmode, width, height, debug_level, FALSE); 58573 + } 40607 58574 40608 58575 /* parse entries out of the source file */ 40609 58576 _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 @@ 40611 58586 40612 58587 for_entry_list(qp) { … … 40617 58592 40618 58593 /* this is in case infotocap() generates warnings */ 40619 @@ -767,7 + 899,7 @@58594 @@ -767,7 +965,7 @@ 40620 58595 repair_acsc(&qp->tterm); 40621 58596 dump_entry(&qp->tterm, suppress_untranslatable, … … 40626 58601 len = show_entry(); 40627 58602 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 @@ 40629 58612 return result; 40630 58613 } … … 40648 58631 return result; 40649 58632 } 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 @@ 40651 58654 VALID_STRING(key_c1) && 40652 58655 VALID_STRING(key_c3)) { … … 40663 58666 final[0] = keypad_final(key_a1); 40664 58667 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) { 40667 58928 char *a = tp->Strings[j]; 40668 58929 if (VALID_STRING(a)) … … 40672 58933 40673 58934 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 40674 58943 diff -Naur ncurses-5.9.orig/progs/toe.c ncurses-5.9/progs/toe.c 40675 --- ncurses-5.9.orig/progs/toe.c 2012-0 2-16 18:25:12.635809407+000040676 +++ ncurses-5.9/progs/toe.c 2012-0 2-16 18:25:13.059820594+000058944 --- 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 40677 58946 @@ -1,5 +1,5 @@ 40678 58947 /**************************************************************************** 40679 58948 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 40680 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *58949 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 40681 58950 * * 40682 58951 * Permission is hereby granted, free of charge, to any person obtaining a * … … 40687 58956 40688 58957 -MODULE_ID("$Id: toe.c,v 1.52 2010/05/01 22:04:08 tom Exp $") 40689 +MODULE_ID("$Id: toe.c,v 1.6 4 2012/01/01 02:56:17tom Exp $")58958 +MODULE_ID("$Id: toe.c,v 1.68 2012/07/21 22:55:59 tom Exp $") 40690 58959 40691 58960 #define isDotname(name) (!strcmp(name, ".") || !strcmp(name, "..")) … … 40865 59134 static bool 40866 59135 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; 40868 59152 } 40869 59153 #endif … … 40927 59211 + 40928 59212 + for (i = 0; i < NUM_BOOLEANS(tp); i++) { 40929 + result += ( tp->Booleans[i]);59213 + result += (unsigned long) (tp->Booleans[i]); 40930 59214 } 40931 59215 -#endif … … 40941 59225 - } 40942 59226 + for (i = 0; i < NUM_NUMBERS(tp); i++) { 40943 + result += ( tp->Numbers[i]);59227 + result += (unsigned long) (tp->Numbers[i]); 40944 59228 + } 40945 59229 + for (i = 0; i < NUM_STRINGS(tp); i++) { … … 40957 59241 { 40958 59242 - const char *desc; 40959 + TERMDATA *data = new_termdata(); 40960 59243 - 40961 59244 - if ((desc = strrchr(tp->term_names, '|')) == 0 || *++desc == '\0') 40962 59245 - desc = "(No description)"; 40963 - 59246 + TERMDATA *data = new_termdata(); 59247 40964 59248 - (void) printf("%-10s\t%s\n", cn, desc); 40965 59249 + data->db_index = db_index; … … 40977 59261 TERMTYPE data; 40978 59262 char *next = strchr(buffer, ':'); 40979 @@ -149, 10 +333,11@@59263 @@ -149,20 +334,36 @@ 40980 59264 if (last) 40981 59265 ++last; … … 40991 59275 } 40992 59276 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 + 40994 59295 static int 40995 59296 typelist(int eargc, char *eargv[], … … 41000 59301 { 41001 59302 int i; 41002 @@ -179, 8 +364,10@@59303 @@ -179,28 +380,35 @@ 41003 59304 (void) fprintf(stderr, 41004 59305 "%s: can't open terminfo directory %s\n", … … 41013 59314 41014 59315 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, <erm); 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 @@ 41016 59378 cn = _nc_first_name(lterm.term_names); 41017 59379 if (!strcmp(cn, name_2)) { … … 41021 59383 } 41022 59384 _nc_free_termtype(<erm); 59385 + free(name_2); 41023 59386 } 41024 @@ -242,12 +429,16 @@ 59387 closedir(entrydir); 59388 } 41025 59389 closedir(termdir); 41026 59390 if (cwd_buf != 0) … … 41039 59403 if ((capdbp = _nc_db_open(filename, FALSE)) != 0) { 41040 59404 DBT key, data; 41041 @@ -265,7 +4 56,7 @@59405 @@ -265,7 +480,7 @@ 41042 59406 /* only visit things once, by primary name */ 41043 59407 cn = _nc_first_name(lterm.term_names); … … 41048 59412 } 41049 59413 } 41050 @@ -273,6 +4 64,7 @@59414 @@ -273,6 +488,7 @@ 41051 59415 } 41052 59416 … … 41056 59420 } 41057 59421 } 41058 @@ -280,37 +4 72,43 @@59422 @@ -280,37 +496,43 @@ 41059 59423 #endif 41060 59424 #if USE_TERMCAP … … 41113 59477 fclose(fp); 41114 59478 } 41115 @@ -319,13 +5 17,18 @@59479 @@ -319,13 +541,18 @@ 41116 59480 #endif 41117 59481 } … … 41133 59497 } 41134 59498 41135 @@ -340,23 +5 43,24 @@59499 @@ -340,23 +567,24 @@ 41136 59500 unsigned i; 41137 59501 int code; … … 41162 59526 } 41163 59527 continue; 41164 @@ -368,6 +5 72,9 @@59528 @@ -368,6 +596,9 @@ 41165 59529 case 'h': 41166 59530 header = TRUE; … … 41172 59536 direct_dependencies = TRUE; 41173 59537 report_file = optarg; 41174 @@ -450,7 +6 57,7 @@59538 @@ -450,7 +681,7 @@ 41175 59539 * If we get this far, user wants a simple terminal type listing. 41176 59540 */ … … 41181 59545 DBDIRS state; 41182 59546 int offset; 41183 @@ -460,64 +6 67,37 @@59547 @@ -460,64 +691,37 @@ 41184 59548 41185 59549 code = EXIT_FAILURE; … … 41259 59623 _nc_last_db(); 41260 59624 59625 diff -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), 41261 59663 diff -Naur ncurses-5.9.orig/progs/transform.c ncurses-5.9/progs/transform.c 41262 --- ncurses-5.9.orig/progs/transform.c 2012-0 2-16 18:25:12.639809512 +000041263 +++ ncurses-5.9/progs/transform.c 2012-0 2-16 18:25:13.011819328+000059664 --- 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 41264 59666 @@ -1,5 +1,5 @@ 41265 59667 /**************************************************************************** … … 41308 59710 trim_suffix(b, &len_b); 41309 59711 diff -Naur ncurses-5.9.orig/progs/tset.c ncurses-5.9/progs/tset.c 41310 --- ncurses-5.9.orig/progs/tset.c 2012-0 2-16 18:25:12.635809407+000041311 +++ ncurses-5.9/progs/tset.c 2012-0 2-16 18:25:13.215824712+000059712 --- 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 41312 59714 @@ -1,5 +1,5 @@ 41313 59715 /**************************************************************************** … … 41322 59724 41323 59725 -MODULE_ID("$Id: tset.c,v 1.82 2010/05/01 21:42:46 tom Exp $") 41324 +MODULE_ID("$Id: tset.c,v 1.8 7 2012/01/21 23:55:05tom Exp $")59726 +MODULE_ID("$Id: tset.c,v 1.89 2012/02/22 22:50:47 tom Exp $") 41325 59727 41326 59728 /* … … 41348 59750 #define LOWERCASE(c) ((isalpha(UChar(c)) && isupper(UChar(c))) ? tolower(UChar(c)) : (c)) 41349 59751 41350 @@ -203, 7 +210,7@@59752 @@ -203,13 +210,13 @@ 41351 59753 failed(const char *msg) 41352 59754 { … … 41356 59758 41357 59759 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(); 41359 59770 @@ -1043,11 +1050,18 @@ 41360 59771 { … … 41390 59801 /* Set window size if not set already */ 41391 59802 diff -Naur ncurses-5.9.orig/test/Makefile.in ncurses-5.9/test/Makefile.in 41392 --- ncurses-5.9.orig/test/Makefile.in 2012-0 2-16 18:25:12.635809407+000041393 +++ ncurses-5.9/test/Makefile.in 2012-0 2-16 18:25:13.011819328+000059803 --- 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 41394 59805 @@ -1,6 +1,6 @@ 41395 59806 -# $Id: Makefile.in,v 1.108 2010/11/28 16:39:40 tom Exp $ … … 41422 59833 LINT_OPTS = @LINT_OPTS@ 41423 59834 diff -Naur ncurses-5.9.orig/test/README ncurses-5.9/test/README 41424 --- ncurses-5.9.orig/test/README 2012-0 2-16 18:25:12.635809407+000041425 +++ ncurses-5.9/test/README 2012-0 2-16 18:25:13.215824712+000059835 --- 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 41426 59837 @@ -1,5 +1,5 @@ 41427 59838 ------------------------------------------------------------------------------- … … 41459 59870 use_env_sp - 41460 59871 diff -Naur ncurses-5.9.orig/test/aclocal.m4 ncurses-5.9/test/aclocal.m4 41461 --- ncurses-5.9.orig/test/aclocal.m4 2012-0 2-16 18:25:12.631809302+000041462 +++ ncurses-5.9/test/aclocal.m4 2012-0 2-16 18:25:13.139822706+000059872 --- 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 41463 59874 @@ -1,5 +1,5 @@ 41464 59875 dnl*************************************************************************** … … 41473 59884 dnl 41474 59885 -dnl $Id: aclocal.m4,v 1.50 2011/03/24 08:28:07 tom Exp $ 41475 +dnl $Id: aclocal.m4,v 1.7 4 2012/01/14 17:16:53tom Exp $59886 +dnl $Id: aclocal.m4,v 1.78 2012/08/04 18:14:48 tom Exp $ 41476 59887 dnl 41477 59888 dnl Author: Thomas E. Dickey … … 41546 59957 cf_cv_ansi_cc=no 41547 59958 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 @@ 41549 60000 CF_CURSES_LIBS 41550 60001 ])dnl … … 41555 60006 dnl Look for the curses headers. 41556 60007 AC_DEFUN([CF_CURSES_CPPFLAGS],[ 41557 @@ -542,13 + 588,19 @@60008 @@ -542,13 +621,19 @@ 41558 60009 cf_cv_curses_incdir=no 41559 60010 case $host_os in #(vi … … 41580 60031 esac 41581 60032 ]) 41582 @@ -558,7 +6 10,7 @@60033 @@ -558,7 +643,7 @@ 41583 60034 CF_TERM_HEADER 41584 60035 ])dnl … … 41589 60040 dnl Curses-functions are a little complicated, since a lot of them are macros. 41590 60041 AC_DEFUN([CF_CURSES_FUNCS], 41591 @@ -566,6 +6 18,7 @@60042 @@ -566,6 +651,7 @@ 41592 60043 AC_REQUIRE([CF_CURSES_CPPFLAGS])dnl 41593 60044 AC_REQUIRE([CF_XOPEN_CURSES]) … … 41597 60048 do 41598 60049 CF_UPPER(cf_tr_func,$cf_func) 41599 @@ -578,7 +6 31,8 @@60050 @@ -578,7 +664,8 @@ 41600 60051 [ 41601 60052 #ifndef ${cf_func} … … 41607 60058 ], 41608 60059 [cf_result=yes], 41609 @@ -595,7 +6 49,7 @@60060 @@ -595,7 +682,7 @@ 41610 60061 done 41611 60062 ])dnl … … 41616 60067 dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common 41617 60068 dnl variations of ncurses' installs. 41618 @@ -605,10 +6 59,10 @@60069 @@ -605,10 +692,10 @@ 41619 60070 AC_CACHE_CHECK(if we have identified curses headers,cf_cv_ncurses_header,[ 41620 60071 cf_cv_ncurses_header=none … … 41631 60082 AC_TRY_COMPILE([#include <${cf_header}>], 41632 60083 [initscr(); tgoto("?", 0,0)], 41633 @@ -624,7 + 678,7 @@60084 @@ -624,7 +711,7 @@ 41634 60085 AC_CHECK_HEADERS($cf_cv_ncurses_header) 41635 60086 ])dnl 41636 60087 dnl --------------------------------------------------------------------------- 41637 60088 -dnl CF_CURSES_LIBS version: 33 updated: 2011/03/06 12:37:18 41638 +dnl CF_CURSES_LIBS version: 3 5 updated: 2011/08/09 21:06:3760089 +dnl CF_CURSES_LIBS version: 36 updated: 2012/07/07 21:02:48 41639 60090 dnl -------------- 41640 60091 dnl Look for the curses libraries. Older curses implementations may require 41641 60092 dnl termcap/termlib to be linked as well. Call CF_CURSES_CPPFLAGS first. 41642 @@ -644,16 + 698,23 @@60093 @@ -644,16 +731,23 @@ 41643 60094 AC_CHECK_LIB(mytinfo,tgoto,[CF_ADD_LIBS(-lmytinfo)]) 41644 60095 ;; … … 41674 60125 linux*) 41675 60126 case `arch 2>/dev/null` in 41676 @@ -671,9 +7 32,12 @@60127 @@ -671,9 +765,12 @@ 41677 60128 esac 41678 60129 ;; … … 41690 60141 ac_cv_func_initscr=yes 41691 60142 ;; 41692 @@ -694,7 +7 58,7 @@60143 @@ -694,7 +791,7 @@ 41693 60144 # Check for library containing tgoto. Do this before curses library 41694 60145 # because it may be needed to link the test-case for initscr. 41695 60146 AC_CHECK_FUNC(tgoto,[cf_term_lib=predefined],[ 41696 60147 - for cf_term_lib in $cf_check_list termcap termlib unknown 41697 + for cf_term_lib in $cf_check_list otermcap termcap t ermlib unknown60148 + for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown 41698 60149 do 41699 60150 AC_CHECK_LIB($cf_term_lib,tgoto,[break]) 41700 60151 done 41701 @@ -738,7 +8 02,7 @@60152 @@ -738,7 +835,7 @@ 41702 60153 41703 60154 ])dnl … … 41708 60159 dnl SVr4 curses should have term.h as well (where it puts the definitions of 41709 60160 dnl the low-level interface). This may not be true in old/broken implementations, 41710 @@ -752,9 +8 16,17 @@60161 @@ -752,9 +849,17 @@ 41711 60162 41712 60163 # If we found <ncurses/curses.h>, look for <ncurses/term.h>, but always look … … 41729 60180 AC_TRY_COMPILE([ 41730 60181 #include <${cf_cv_ncurses_header:-curses.h}> 41731 @@ -800,6 + 872,61 @@60182 @@ -800,6 +905,61 @@ 41732 60183 esac 41733 60184 ])dnl … … 41791 60242 dnl ------------------ 41792 60243 dnl Check for likely values of wacs_map[]. 41793 @@ -922,6 +10 49,25 @@60244 @@ -922,6 +1082,25 @@ 41794 60245 fi 41795 60246 ])dnl … … 41817 60268 dnl ------------------ 41818 60269 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 @@ 41820 60302 AC_SUBST(EXTRA_CFLAGS) 41821 60303 ])dnl … … 41847 60329 dnl ------------- 41848 60330 dnl Check if we must define _GNU_SOURCE to get a reasonable value for 41849 @@ -1498,6 +1 667,60 @@60331 @@ -1498,6 +1708,60 @@ 41850 60332 fi 41851 60333 ])dnl … … 41908 60390 dnl --------------- 41909 60391 dnl Construct a search-list of directories for a nonstandard library-file 41910 @@ -1690,7 +19 13,7 @@60392 @@ -1690,7 +1954,7 @@ 41911 60393 ,[$1=no]) 41912 60394 ])dnl … … 41917 60399 dnl Tie together the configure-script macros for ncurses. 41918 60400 dnl Prefer the "-config" script from ncurses 6.x, to simplify analysis. 41919 @@ -1702,7 +19 25,10 @@60401 @@ -1702,7 +1966,10 @@ 41920 60402 cf_ncuconfig_root=ifelse($1,,ncurses,$1) 41921 60403 … … 41929 60411 if test "$NCURSES_CONFIG" != none ; then 41930 60412 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 @@ 41932 60432 esac 41933 60433 ])dnl … … 41947 60447 if test "$XCURSES_CONFIG" != none ; then 41948 60448 41949 @@ -2176,7 +24 04,7 @@60449 @@ -2176,7 +2445,7 @@ 41950 60450 fi 41951 60451 ])dnl … … 41956 60456 dnl Check for the package-config program, unless disabled by command-line. 41957 60457 AC_DEFUN([CF_PKG_CONFIG], 41958 @@ -2193,7 +24 21,9 @@60458 @@ -2193,7 +2462,9 @@ 41959 60459 PKG_CONFIG=none 41960 60460 ;; … … 41967 60467 *) 41968 60468 PKG_CONFIG=$withval 41969 @@ -2373,6 +26 03,121 @@60469 @@ -2373,6 +2644,121 @@ 41970 60470 -e 's/-[[UD]]'"$3"'\(=[[^ ]]*\)\?[$]//g'` 41971 60471 ])dnl … … 42089 60589 dnl --------------- 42090 60590 dnl signal handler, but there are some gcc depedencies in that recommendation. 42091 @@ -2495,6 +28 40,59 @@60591 @@ -2495,6 +2881,59 @@ 42092 60592 esac 42093 60593 ])dnl … … 42149 60649 dnl ----------------- 42150 60650 dnl This is a simple wrapper to use for pkg-config, for libraries which may be 42151 @@ -2520,6 +29 18,45 @@60651 @@ -2520,6 +2959,45 @@ 42152 60652 fi 42153 60653 ]) … … 42195 60695 dnl -------- 42196 60696 dnl Make an uppercase version of a variable 42197 @@ -2667,6 +31 04,60 @@60697 @@ -2667,6 +3145,60 @@ 42198 60698 fi 42199 60699 ])dnl … … 42256 60756 dnl ---------------- 42257 60757 AC_DEFUN([CF_WITH_VALGRIND],[ 42258 @@ -2714,7 +32 05,7 @@60758 @@ -2714,7 +3246,7 @@ 42259 60759 test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" 42260 60760 ])dnl … … 42265 60765 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, 42266 60766 dnl or adapt to the vendor's definitions to get equivalent functionality, 42267 @@ -2730,7 +32 21,7 @@60767 @@ -2730,7 +3262,7 @@ 42268 60768 cf_xopen_source= 42269 60769 … … 42274 60774 ;; 42275 60775 cygwin) #(vi 42276 @@ -2741,6 +32 32,7 @@60776 @@ -2741,6 +3273,7 @@ 42277 60777 ;; 42278 60778 darwin*) #(vi … … 42282 60782 freebsd*|dragonfly*) #(vi 42283 60783 # 5.x headers associate 42284 @@ -2758,15 +32 50,23 @@60784 @@ -2758,15 +3291,23 @@ 42285 60785 ;; 42286 60786 irix[[56]].*) #(vi … … 42308 60808 openbsd*) #(vi 42309 60809 # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw 42310 @@ -2780,36 +3 280,11 @@60810 @@ -2780,36 +3321,11 @@ 42311 60811 sco*) #(vi 42312 60812 # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer … … 42347 60847 ;; 42348 60848 esac 42349 @@ -2817,6 +3 292,35 @@60849 @@ -2817,6 +3333,35 @@ 42350 60850 if test -n "$cf_xopen_source" ; then 42351 60851 CF_ADD_CFLAGS($cf_xopen_source) … … 42383 60883 dnl --------------------------------------------------------------------------- 42384 60884 dnl CF_X_ATHENA version: 20 updated: 2010/11/09 05:18:02 42385 @@ -2957,7 +3 461,7 @@60885 @@ -2957,7 +3502,7 @@ 42386 60886 fi 42387 60887 ]) … … 42392 60892 dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of 42393 60893 dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw. 42394 @@ -2973,19 +3 477,24 @@60894 @@ -2973,19 +3518,24 @@ 42395 60895 /usr/local 42396 60896 do … … 42424 60924 AC_TRY_LINK([ 42425 60925 #include <X11/Intrinsic.h> 42426 @@ -2996,12 +35 05,14 @@60926 @@ -2996,12 +3546,14 @@ 42427 60927 [cf_result=no]) 42428 60928 AC_MSG_RESULT($cf_result) … … 42442 60942 if test -z "$cf_x_athena_lib" ; then 42443 60943 diff -Naur ncurses-5.9.orig/test/background.c ncurses-5.9/test/background.c 42444 --- ncurses-5.9.orig/test/background.c 2012-0 2-16 18:25:12.635809407+000042445 +++ ncurses-5.9/test/background.c 2012-0 2-16 18:25:13.015819433+000060944 --- 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 42446 60946 @@ -1,5 +1,5 @@ 42447 60947 /**************************************************************************** 42448 60948 - * Copyright (c) 2003,2006 Free Software Foundation, Inc. * 42449 + * Copyright (c) 2003-20 06,2011Free Software Foundation, Inc. *60949 + * Copyright (c) 2003-2011,2012 Free Software Foundation, Inc. * 42450 60950 * * 42451 60951 * Permission is hereby granted, free of charge, to any person obtaining a * 42452 60952 * copy of this software and associated documentation files (the * 42453 @@ -26,15 +26,1 28@@60953 @@ -26,15 +26,172 @@ 42454 60954 * authorization. * 42455 60955 ****************************************************************************/ 42456 60956 /* 42457 60957 - * $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:38tom Exp $60958 + * $Id: background.c,v 1.13 2012/06/09 20:30:33 tom Exp $ 42459 60959 */ 42460 60960 … … 42471 60971 +{ 42472 60972 + 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 + } 42476 60981 + getch(); 42477 60982 + 42478 60983 + printw("Initializing pair 1 to red/%s\n", color_name(default_bg)); 42479 60984 + init_pair(1, COLOR_RED, (short) default_bg); 42480 + bkgdset( ' ' | COLOR_PAIR(1));60985 + bkgdset((chtype) (' ' | COLOR_PAIR(1))); 42481 60986 + printw("RED/BLACK\n"); 42482 60987 + getch(); … … 42484 60989 + printw("Initializing pair 2 to %s/blue\n", color_name(default_fg)); 42485 60990 + init_pair(2, (short) default_fg, COLOR_BLUE); 42486 + bkgdset( ' ' | COLOR_PAIR(2));60991 + bkgdset((chtype) (' ' | COLOR_PAIR(2))); 42487 60992 + printw("This line should be %s/blue\n", color_name(default_fg)); 42488 60993 + getch(); 42489 60994 + 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))); 42492 61030 + printw("Default Colors\n"); 42493 61031 + getch(); 42494 61032 + 42495 61033 + printw("Resetting colors to pair 1\n"); 42496 + bkgdset( ' ' | COLOR_PAIR(1));61034 + bkgdset((chtype) (' ' | COLOR_PAIR(1))); 42497 61035 + printw("This line should be red/%s\n", color_name(default_bg)); 42498 61036 + getch(); 42499 61037 + 42500 61038 + printw("Setting screen to pair 0\n"); 42501 + bkgd( ' ' | COLOR_PAIR(0));61039 + bkgd((chtype) (' ' | COLOR_PAIR(0))); 42502 61040 + getch(); 42503 61041 + 42504 61042 + printw("Setting screen to pair 1\n"); 42505 + bkgd( ' ' | COLOR_PAIR(1));61043 + bkgd((chtype) (' ' | COLOR_PAIR(1))); 42506 61044 + getch(); 42507 61045 + 42508 61046 + printw("Setting screen to pair 2\n"); 42509 + bkgd( ' ' | COLOR_PAIR(2));61047 + bkgd((chtype) (' ' | COLOR_PAIR(2))); 42510 61048 + getch(); 42511 61049 + 61050 + printw("Setting screen to pair 3\n"); 61051 + bkgd((chtype) (' ' | COLOR_PAIR(3))); 61052 + getch(); 61053 + 42512 61054 + printw("Setting screen to pair 0\n"); 42513 + bkgd( ' ' | COLOR_PAIR(0));61055 + bkgd((chtype) (' ' | COLOR_PAIR(0))); 42514 61056 + getch(); 42515 61057 +} … … 42551 61093 +#endif 42552 61094 + int n; 61095 + 61096 + setlocale(LC_ALL, ""); 42553 61097 + 42554 61098 + while ((n = getopt(argc, argv, "ab:df:")) != -1) { … … 42583 61127 initscr(); 42584 61128 cbreak(); 42585 @@ -43,47 + 156,30 @@61129 @@ -43,47 +200,30 @@ 42586 61130 if (has_colors()) { 42587 61131 start_color(); … … 42589 61133 - pair_content(0, &f, &b); 42590 61134 - 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");42613 61135 - getch(); 42614 61136 +#if HAVE_USE_DEFAULT_COLORS … … 42635 61157 +#endif 42636 61158 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 - 42637 61181 - printw("Setting screen to pair 0\n"); 42638 61182 - bkgd(' ' | COLOR_PAIR(0)); … … 42654 61198 } else { 42655 61199 printw("This demo requires a color terminal"); 61200 diff -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)); 61279 diff -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 } 61316 diff -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); 42656 61344 diff -Naur ncurses-5.9.orig/test/color_name.h ncurses-5.9/test/color_name.h 42657 61345 --- 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-0 2-16 18:25:13.015819433+000061346 +++ ncurses-5.9/test/color_name.h 2012-08-25 19:58:00.066564462 +0000 42659 61347 @@ -0,0 +1,103 @@ 42660 61348 +/**************************************************************************** … … 42762 61450 +#endif /* __COLORNAME_H */ 42763 61451 diff -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. 42766 61462 @@ -105,42 +105,6 @@ 42767 61463 : ${ac_max_here_lines=38} … … 42807 61503 # Initialize some variables set by options. 42808 61504 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 @@ 42810 61569 --with-dbmalloc test: use Conor Cahill's dbmalloc library 42811 61570 --with-valgrind test: use valgrind … … 42831 61590 Some influential environment variables: 42832 61591 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 @@ 42834 61602 fi 42835 61603 for ac_site_file in $CONFIG_SITE; do 42836 61604 if test -r "$ac_site_file"; then 42837 61605 - { echo "$as_me:894: loading site script $ac_site_file" >&5 42838 + { echo "$as_me:8 61: loading site script $ac_site_file" >&561606 + { echo "$as_me:870: loading site script $ac_site_file" >&5 42839 61607 echo "$as_me: loading site script $ac_site_file" >&6;} 42840 61608 cat "$ac_site_file" >&5 42841 61609 . "$ac_site_file" 42842 @@ -902,7 +8 69,7 @@61610 @@ -902,7 +878,7 @@ 42843 61611 # Some versions of bash will fail to source /dev/null (special 42844 61612 # files actually), so we avoid doing that. 42845 61613 if test -f "$cache_file"; then 42846 61614 - { echo "$as_me:905: loading cache $cache_file" >&5 42847 + { echo "$as_me:8 72: loading cache $cache_file" >&561615 + { echo "$as_me:881: loading cache $cache_file" >&5 42848 61616 echo "$as_me: loading cache $cache_file" >&6;} 42849 61617 case $cache_file in 42850 61618 [\\/]* | ?:[\\/]* ) . $cache_file;; 42851 @@ -910,7 +8 77,7 @@61619 @@ -910,7 +886,7 @@ 42852 61620 esac 42853 61621 fi 42854 61622 else 42855 61623 - { echo "$as_me:913: creating cache $cache_file" >&5 42856 + { echo "$as_me:88 0: creating cache $cache_file" >&561624 + { echo "$as_me:889: creating cache $cache_file" >&5 42857 61625 echo "$as_me: creating cache $cache_file" >&6;} 42858 61626 >$cache_file 42859 61627 fi 42860 @@ -926,21 + 893,21 @@61628 @@ -926,21 +902,21 @@ 42861 61629 eval ac_new_val="\$ac_env_${ac_var}_value" 42862 61630 case $ac_old_set,$ac_new_set in 42863 61631 set,) 42864 61632 - { 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" >&561633 + { echo "$as_me:905: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 42866 61634 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 42867 61635 ac_cache_corrupted=: ;; 42868 61636 ,set) 42869 61637 - { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5 42870 + { echo "$as_me:90 0: error: \`$ac_var' was not set in the previous run" >&561638 + { echo "$as_me:909: error: \`$ac_var' was not set in the previous run" >&5 42871 61639 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 42872 61640 ac_cache_corrupted=: ;; … … 42875 61643 if test "x$ac_old_val" != "x$ac_new_val"; then 42876 61644 - { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5 42877 + { echo "$as_me:9 06: error: \`$ac_var' has changed since the previous run:" >&561645 + { echo "$as_me:915: error: \`$ac_var' has changed since the previous run:" >&5 42878 61646 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 42879 61647 - { echo "$as_me:941: former value: $ac_old_val" >&5 42880 + { echo "$as_me:9 08: former value: $ac_old_val" >&561648 + { echo "$as_me:917: former value: $ac_old_val" >&5 42881 61649 echo "$as_me: former value: $ac_old_val" >&2;} 42882 61650 - { echo "$as_me:943: current value: $ac_new_val" >&5 42883 + { echo "$as_me:91 0: current value: $ac_new_val" >&561651 + { echo "$as_me:919: current value: $ac_new_val" >&5 42884 61652 echo "$as_me: current value: $ac_new_val" >&2;} 42885 61653 ac_cache_corrupted=: 42886 61654 fi;; 42887 @@ -959,9 +9 26,9 @@61655 @@ -959,9 +935,9 @@ 42888 61656 fi 42889 61657 done 42890 61658 if $ac_cache_corrupted; then 42891 61659 - { echo "$as_me:962: error: changes in the environment can compromise the build" >&5 42892 + { echo "$as_me:9 29: error: changes in the environment can compromise the build" >&561660 + { echo "$as_me:938: error: changes in the environment can compromise the build" >&5 42893 61661 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 42894 61662 - { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 42895 + { { echo "$as_me:9 31: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&561663 + { { echo "$as_me:940: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 42896 61664 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 42897 61665 { (exit 1); exit 1; }; } 42898 61666 fi 42899 @@ -982,10 +9 49,10 @@61667 @@ -982,10 +958,10 @@ 42900 61668 echo "#! $SHELL" >conftest.sh 42901 61669 echo "exit 0" >>conftest.sh 42902 61670 chmod +x conftest.sh 42903 61671 -if { (echo "$as_me:985: PATH=\".;.\"; conftest.sh") >&5 42904 +if { (echo "$as_me:9 52: PATH=\".;.\"; conftest.sh") >&561672 +if { (echo "$as_me:961: PATH=\".;.\"; conftest.sh") >&5 42905 61673 (PATH=".;."; conftest.sh) 2>&5 42906 61674 ac_status=$? 42907 61675 - echo "$as_me:988: \$? = $ac_status" >&5 42908 + echo "$as_me:9 55: \$? = $ac_status" >&561676 + echo "$as_me:964: \$? = $ac_status" >&5 42909 61677 (exit $ac_status); }; then 42910 61678 ac_path_separator=';' 42911 61679 else 42912 @@ -1017,7 +9 84,7 @@61680 @@ -1017,7 +993,7 @@ 42913 61681 fi 42914 61682 done 42915 61683 if test -z "$ac_aux_dir"; then 42916 61684 - { { echo "$as_me:1020: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 42917 + { { echo "$as_me:9 87: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&561685 + { { echo "$as_me:996: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 42918 61686 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 42919 61687 { (exit 1); exit 1; }; } 42920 61688 fi 42921 @@ -1027,11 + 994,11 @@61689 @@ -1027,11 +1003,11 @@ 42922 61690 42923 61691 # Make sure we can run config.sub. 42924 61692 $ac_config_sub sun4 >/dev/null 2>&1 || 42925 61693 - { { echo "$as_me:1030: error: cannot run $ac_config_sub" >&5 42926 + { { echo "$as_me: 997: error: cannot run $ac_config_sub" >&561694 + { { echo "$as_me:1006: error: cannot run $ac_config_sub" >&5 42927 61695 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 42928 61696 { (exit 1); exit 1; }; } 42929 61697 42930 61698 -echo "$as_me:1034: checking build system type" >&5 42931 +echo "$as_me:10 01: checking build system type" >&561699 +echo "$as_me:1010: checking build system type" >&5 42932 61700 echo $ECHO_N "checking build system type... $ECHO_C" >&6 42933 61701 if test "${ac_cv_build+set}" = set; then 42934 61702 echo $ECHO_N "(cached) $ECHO_C" >&6 42935 @@ -1040,16 +10 07,16 @@61703 @@ -1040,16 +1016,16 @@ 42936 61704 test -z "$ac_cv_build_alias" && 42937 61705 ac_cv_build_alias=`$ac_config_guess` 42938 61706 test -z "$ac_cv_build_alias" && 42939 61707 - { { echo "$as_me:1043: error: cannot guess build type; you must specify one" >&5 42940 + { { echo "$as_me:101 0: error: cannot guess build type; you must specify one" >&561708 + { { echo "$as_me:1019: error: cannot guess build type; you must specify one" >&5 42941 61709 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 42942 61710 { (exit 1); exit 1; }; } 42943 61711 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 42944 61712 - { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_build_alias failed." >&5 42945 + { { echo "$as_me:10 14: error: $ac_config_sub $ac_cv_build_alias failed." >&561713 + { { echo "$as_me:1023: error: $ac_config_sub $ac_cv_build_alias failed." >&5 42946 61714 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 42947 61715 { (exit 1); exit 1; }; } … … 42949 61717 fi 42950 61718 -echo "$as_me:1052: result: $ac_cv_build" >&5 42951 +echo "$as_me:10 19: result: $ac_cv_build" >&561719 +echo "$as_me:1028: result: $ac_cv_build" >&5 42952 61720 echo "${ECHO_T}$ac_cv_build" >&6 42953 61721 build=$ac_cv_build 42954 61722 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 42955 @@ -1057,7 +10 24,7 @@61723 @@ -1057,7 +1033,7 @@ 42956 61724 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 42957 61725 42958 61726 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then 42959 61727 - echo "$as_me:1060: checking host system type" >&5 42960 + echo "$as_me:10 27: checking host system type" >&561728 + echo "$as_me:1036: checking host system type" >&5 42961 61729 echo $ECHO_N "checking host system type... $ECHO_C" >&6 42962 61730 if test "${ac_cv_host+set}" = set; then 42963 61731 echo $ECHO_N "(cached) $ECHO_C" >&6 42964 @@ -1066,12 +10 33,12 @@61732 @@ -1066,12 +1042,12 @@ 42965 61733 test -z "$ac_cv_host_alias" && 42966 61734 ac_cv_host_alias=$ac_cv_build_alias 42967 61735 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 42968 61736 - { { echo "$as_me:1069: error: $ac_config_sub $ac_cv_host_alias failed" >&5 42969 + { { echo "$as_me:10 36: error: $ac_config_sub $ac_cv_host_alias failed" >&561737 + { { echo "$as_me:1045: error: $ac_config_sub $ac_cv_host_alias failed" >&5 42970 61738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 42971 61739 { (exit 1); exit 1; }; } … … 42973 61741 fi 42974 61742 -echo "$as_me:1074: result: $ac_cv_host" >&5 42975 +echo "$as_me:10 41: result: $ac_cv_host" >&561743 +echo "$as_me:1050: result: $ac_cv_host" >&5 42976 61744 echo "${ECHO_T}$ac_cv_host" >&6 42977 61745 host=$ac_cv_host 42978 61746 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 42979 @@ -1096,13 +10 63,13 @@61747 @@ -1096,13 +1072,13 @@ 42980 61748 fi 42981 61749 42982 61750 test -z "$system_name" && system_name="$cf_cv_system_name" 42983 61751 -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:10 66: result: Configuring for $cf_cv_system_name" >&561752 +test -n "$cf_cv_system_name" && echo "$as_me:1075: result: Configuring for $cf_cv_system_name" >&5 42985 61753 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 42986 61754 42987 61755 if test ".$system_name" != ".$cf_cv_system_name" ; then 42988 61756 - echo "$as_me:1103: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 42989 + echo "$as_me:107 0: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&561757 + echo "$as_me:1079: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 42990 61758 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 42991 61759 - { { echo "$as_me:1105: error: \"Please remove config.cache and try again.\"" >&5 42992 + { { echo "$as_me:10 72: error: \"Please remove config.cache and try again.\"" >&561760 + { { echo "$as_me:1081: error: \"Please remove config.cache and try again.\"" >&5 42993 61761 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} 42994 61762 { (exit 1); exit 1; }; } 42995 61763 fi 42996 @@ -1120,7 +10 87,7 @@61764 @@ -1120,7 +1096,7 @@ 42997 61765 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 42998 61766 rm conftest.sed 42999 61767 43000 61768 -echo "$as_me:1123: checking whether ${MAKE-make} sets \${MAKE}" >&5 43001 +echo "$as_me:109 0: checking whether ${MAKE-make} sets \${MAKE}" >&561769 +echo "$as_me:1099: checking whether ${MAKE-make} sets \${MAKE}" >&5 43002 61770 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 43003 61771 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 43004 61772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 43005 @@ -1140,11 +11 07,11 @@61773 @@ -1140,11 +1116,11 @@ 43006 61774 rm -f conftest.make 43007 61775 fi 43008 61776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 43009 61777 - echo "$as_me:1143: result: yes" >&5 43010 + echo "$as_me:111 0: result: yes" >&561778 + echo "$as_me:1119: result: yes" >&5 43011 61779 echo "${ECHO_T}yes" >&6 43012 61780 SET_MAKE= 43013 61781 else 43014 61782 - echo "$as_me:1147: result: no" >&5 43015 + echo "$as_me:11 14: result: no" >&561783 + echo "$as_me:1123: result: no" >&5 43016 61784 echo "${ECHO_T}no" >&6 43017 61785 SET_MAKE="MAKE=${MAKE-make}" 43018 61786 fi 43019 @@ -1158,7 +11 25,7 @@61787 @@ -1158,7 +1134,7 @@ 43020 61788 if test -n "$ac_tool_prefix"; then 43021 61789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 43022 61790 set dummy ${ac_tool_prefix}gcc; ac_word=$2 43023 61791 -echo "$as_me:1161: checking for $ac_word" >&5 43024 +echo "$as_me:11 28: checking for $ac_word" >&561792 +echo "$as_me:1137: checking for $ac_word" >&5 43025 61793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43026 61794 if test "${ac_cv_prog_CC+set}" = set; then 43027 61795 echo $ECHO_N "(cached) $ECHO_C" >&6 43028 @@ -1173,7 +114 0,7 @@61796 @@ -1173,7 +1149,7 @@ 43029 61797 test -z "$ac_dir" && ac_dir=. 43030 61798 $as_executable_p "$ac_dir/$ac_word" || continue 43031 61799 ac_cv_prog_CC="${ac_tool_prefix}gcc" 43032 61800 -echo "$as_me:1176: found $ac_dir/$ac_word" >&5 43033 +echo "$as_me:11 43: found $ac_dir/$ac_word" >&561801 +echo "$as_me:1152: found $ac_dir/$ac_word" >&5 43034 61802 break 43035 61803 done 43036 61804 43037 @@ -1181,10 +11 48,10 @@61805 @@ -1181,10 +1157,10 @@ 43038 61806 fi 43039 61807 CC=$ac_cv_prog_CC 43040 61808 if test -n "$CC"; then 43041 61809 - echo "$as_me:1184: result: $CC" >&5 43042 + echo "$as_me:11 51: result: $CC" >&561810 + echo "$as_me:1160: result: $CC" >&5 43043 61811 echo "${ECHO_T}$CC" >&6 43044 61812 else 43045 61813 - echo "$as_me:1187: result: no" >&5 43046 + echo "$as_me:11 54: result: no" >&561814 + echo "$as_me:1163: result: no" >&5 43047 61815 echo "${ECHO_T}no" >&6 43048 61816 fi 43049 61817 43050 @@ -1193,7 +116 0,7 @@61818 @@ -1193,7 +1169,7 @@ 43051 61819 ac_ct_CC=$CC 43052 61820 # Extract the first word of "gcc", so it can be a program name with args. 43053 61821 set dummy gcc; ac_word=$2 43054 61822 -echo "$as_me:1196: checking for $ac_word" >&5 43055 +echo "$as_me:11 63: checking for $ac_word" >&561823 +echo "$as_me:1172: checking for $ac_word" >&5 43056 61824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43057 61825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 43058 61826 echo $ECHO_N "(cached) $ECHO_C" >&6 43059 @@ -1208,7 +11 75,7 @@61827 @@ -1208,7 +1184,7 @@ 43060 61828 test -z "$ac_dir" && ac_dir=. 43061 61829 $as_executable_p "$ac_dir/$ac_word" || continue 43062 61830 ac_cv_prog_ac_ct_CC="gcc" 43063 61831 -echo "$as_me:1211: found $ac_dir/$ac_word" >&5 43064 +echo "$as_me:11 78: found $ac_dir/$ac_word" >&561832 +echo "$as_me:1187: found $ac_dir/$ac_word" >&5 43065 61833 break 43066 61834 done 43067 61835 43068 @@ -1216,10 +11 83,10 @@61836 @@ -1216,10 +1192,10 @@ 43069 61837 fi 43070 61838 ac_ct_CC=$ac_cv_prog_ac_ct_CC 43071 61839 if test -n "$ac_ct_CC"; then 43072 61840 - echo "$as_me:1219: result: $ac_ct_CC" >&5 43073 + echo "$as_me:11 86: result: $ac_ct_CC" >&561841 + echo "$as_me:1195: result: $ac_ct_CC" >&5 43074 61842 echo "${ECHO_T}$ac_ct_CC" >&6 43075 61843 else 43076 61844 - echo "$as_me:1222: result: no" >&5 43077 + echo "$as_me:11 89: result: no" >&561845 + echo "$as_me:1198: result: no" >&5 43078 61846 echo "${ECHO_T}no" >&6 43079 61847 fi 43080 61848 43081 @@ -1232,7 +1 199,7 @@61849 @@ -1232,7 +1208,7 @@ 43082 61850 if test -n "$ac_tool_prefix"; then 43083 61851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 43084 61852 set dummy ${ac_tool_prefix}cc; ac_word=$2 43085 61853 -echo "$as_me:1235: checking for $ac_word" >&5 43086 +echo "$as_me:12 02: checking for $ac_word" >&561854 +echo "$as_me:1211: checking for $ac_word" >&5 43087 61855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43088 61856 if test "${ac_cv_prog_CC+set}" = set; then 43089 61857 echo $ECHO_N "(cached) $ECHO_C" >&6 43090 @@ -1247,7 +12 14,7 @@61858 @@ -1247,7 +1223,7 @@ 43091 61859 test -z "$ac_dir" && ac_dir=. 43092 61860 $as_executable_p "$ac_dir/$ac_word" || continue 43093 61861 ac_cv_prog_CC="${ac_tool_prefix}cc" 43094 61862 -echo "$as_me:1250: found $ac_dir/$ac_word" >&5 43095 +echo "$as_me:12 17: found $ac_dir/$ac_word" >&561863 +echo "$as_me:1226: found $ac_dir/$ac_word" >&5 43096 61864 break 43097 61865 done 43098 61866 43099 @@ -1255,10 +12 22,10 @@61867 @@ -1255,10 +1231,10 @@ 43100 61868 fi 43101 61869 CC=$ac_cv_prog_CC 43102 61870 if test -n "$CC"; then 43103 61871 - echo "$as_me:1258: result: $CC" >&5 43104 + echo "$as_me:12 25: result: $CC" >&561872 + echo "$as_me:1234: result: $CC" >&5 43105 61873 echo "${ECHO_T}$CC" >&6 43106 61874 else 43107 61875 - echo "$as_me:1261: result: no" >&5 43108 + echo "$as_me:12 28: result: no" >&561876 + echo "$as_me:1237: result: no" >&5 43109 61877 echo "${ECHO_T}no" >&6 43110 61878 fi 43111 61879 43112 @@ -1267,7 +12 34,7 @@61880 @@ -1267,7 +1243,7 @@ 43113 61881 ac_ct_CC=$CC 43114 61882 # Extract the first word of "cc", so it can be a program name with args. 43115 61883 set dummy cc; ac_word=$2 43116 61884 -echo "$as_me:1270: checking for $ac_word" >&5 43117 +echo "$as_me:12 37: checking for $ac_word" >&561885 +echo "$as_me:1246: checking for $ac_word" >&5 43118 61886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43119 61887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 43120 61888 echo $ECHO_N "(cached) $ECHO_C" >&6 43121 @@ -1282,7 +12 49,7 @@61889 @@ -1282,7 +1258,7 @@ 43122 61890 test -z "$ac_dir" && ac_dir=. 43123 61891 $as_executable_p "$ac_dir/$ac_word" || continue 43124 61892 ac_cv_prog_ac_ct_CC="cc" 43125 61893 -echo "$as_me:1285: found $ac_dir/$ac_word" >&5 43126 +echo "$as_me:12 52: found $ac_dir/$ac_word" >&561894 +echo "$as_me:1261: found $ac_dir/$ac_word" >&5 43127 61895 break 43128 61896 done 43129 61897 43130 @@ -1290,10 +12 57,10 @@61898 @@ -1290,10 +1266,10 @@ 43131 61899 fi 43132 61900 ac_ct_CC=$ac_cv_prog_ac_ct_CC 43133 61901 if test -n "$ac_ct_CC"; then 43134 61902 - echo "$as_me:1293: result: $ac_ct_CC" >&5 43135 + echo "$as_me:126 0: result: $ac_ct_CC" >&561903 + echo "$as_me:1269: result: $ac_ct_CC" >&5 43136 61904 echo "${ECHO_T}$ac_ct_CC" >&6 43137 61905 else 43138 61906 - echo "$as_me:1296: result: no" >&5 43139 + echo "$as_me:12 63: result: no" >&561907 + echo "$as_me:1272: result: no" >&5 43140 61908 echo "${ECHO_T}no" >&6 43141 61909 fi 43142 61910 43143 @@ -1306,7 +12 73,7 @@61911 @@ -1306,7 +1282,7 @@ 43144 61912 if test -z "$CC"; then 43145 61913 # Extract the first word of "cc", so it can be a program name with args. 43146 61914 set dummy cc; ac_word=$2 43147 61915 -echo "$as_me:1309: checking for $ac_word" >&5 43148 +echo "$as_me:12 76: checking for $ac_word" >&561916 +echo "$as_me:1285: checking for $ac_word" >&5 43149 61917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43150 61918 if test "${ac_cv_prog_CC+set}" = set; then 43151 61919 echo $ECHO_N "(cached) $ECHO_C" >&6 43152 @@ -1326,7 +1 293,7 @@61920 @@ -1326,7 +1302,7 @@ 43153 61921 continue 43154 61922 fi 43155 61923 ac_cv_prog_CC="cc" 43156 61924 -echo "$as_me:1329: found $ac_dir/$ac_word" >&5 43157 +echo "$as_me:1 296: found $ac_dir/$ac_word" >&561925 +echo "$as_me:1305: found $ac_dir/$ac_word" >&5 43158 61926 break 43159 61927 done 43160 61928 43161 @@ -1348,10 +13 15,10 @@61929 @@ -1348,10 +1324,10 @@ 43162 61930 fi 43163 61931 CC=$ac_cv_prog_CC 43164 61932 if test -n "$CC"; then 43165 61933 - echo "$as_me:1351: result: $CC" >&5 43166 + echo "$as_me:13 18: result: $CC" >&561934 + echo "$as_me:1327: result: $CC" >&5 43167 61935 echo "${ECHO_T}$CC" >&6 43168 61936 else 43169 61937 - echo "$as_me:1354: result: no" >&5 43170 + echo "$as_me:13 21: result: no" >&561938 + echo "$as_me:1330: result: no" >&5 43171 61939 echo "${ECHO_T}no" >&6 43172 61940 fi 43173 61941 43174 @@ -1362,7 +13 29,7 @@61942 @@ -1362,7 +1338,7 @@ 43175 61943 do 43176 61944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 43177 61945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 43178 61946 -echo "$as_me:1365: checking for $ac_word" >&5 43179 +echo "$as_me:13 32: checking for $ac_word" >&561947 +echo "$as_me:1341: checking for $ac_word" >&5 43180 61948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43181 61949 if test "${ac_cv_prog_CC+set}" = set; then 43182 61950 echo $ECHO_N "(cached) $ECHO_C" >&6 43183 @@ -1377,7 +13 44,7 @@61951 @@ -1377,7 +1353,7 @@ 43184 61952 test -z "$ac_dir" && ac_dir=. 43185 61953 $as_executable_p "$ac_dir/$ac_word" || continue 43186 61954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 43187 61955 -echo "$as_me:1380: found $ac_dir/$ac_word" >&5 43188 +echo "$as_me:13 47: found $ac_dir/$ac_word" >&561956 +echo "$as_me:1356: found $ac_dir/$ac_word" >&5 43189 61957 break 43190 61958 done 43191 61959 43192 @@ -1385,10 +13 52,10 @@61960 @@ -1385,10 +1361,10 @@ 43193 61961 fi 43194 61962 CC=$ac_cv_prog_CC 43195 61963 if test -n "$CC"; then 43196 61964 - echo "$as_me:1388: result: $CC" >&5 43197 + echo "$as_me:13 55: result: $CC" >&561965 + echo "$as_me:1364: result: $CC" >&5 43198 61966 echo "${ECHO_T}$CC" >&6 43199 61967 else 43200 61968 - echo "$as_me:1391: result: no" >&5 43201 + echo "$as_me:13 58: result: no" >&561969 + echo "$as_me:1367: result: no" >&5 43202 61970 echo "${ECHO_T}no" >&6 43203 61971 fi 43204 61972 43205 @@ -1401,7 +13 68,7 @@61973 @@ -1401,7 +1377,7 @@ 43206 61974 do 43207 61975 # Extract the first word of "$ac_prog", so it can be a program name with args. 43208 61976 set dummy $ac_prog; ac_word=$2 43209 61977 -echo "$as_me:1404: checking for $ac_word" >&5 43210 +echo "$as_me:13 71: checking for $ac_word" >&561978 +echo "$as_me:1380: checking for $ac_word" >&5 43211 61979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43212 61980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 43213 61981 echo $ECHO_N "(cached) $ECHO_C" >&6 43214 @@ -1416,7 +13 83,7 @@61982 @@ -1416,7 +1392,7 @@ 43215 61983 test -z "$ac_dir" && ac_dir=. 43216 61984 $as_executable_p "$ac_dir/$ac_word" || continue 43217 61985 ac_cv_prog_ac_ct_CC="$ac_prog" 43218 61986 -echo "$as_me:1419: found $ac_dir/$ac_word" >&5 43219 +echo "$as_me:13 86: found $ac_dir/$ac_word" >&561987 +echo "$as_me:1395: found $ac_dir/$ac_word" >&5 43220 61988 break 43221 61989 done 43222 61990 43223 @@ -1424,10 +1 391,10 @@61991 @@ -1424,10 +1400,10 @@ 43224 61992 fi 43225 61993 ac_ct_CC=$ac_cv_prog_ac_ct_CC 43226 61994 if test -n "$ac_ct_CC"; then 43227 61995 - echo "$as_me:1427: result: $ac_ct_CC" >&5 43228 + echo "$as_me:1 394: result: $ac_ct_CC" >&561996 + echo "$as_me:1403: result: $ac_ct_CC" >&5 43229 61997 echo "${ECHO_T}$ac_ct_CC" >&6 43230 61998 else 43231 61999 - echo "$as_me:1430: result: no" >&5 43232 + echo "$as_me:1 397: result: no" >&562000 + echo "$as_me:1406: result: no" >&5 43233 62001 echo "${ECHO_T}no" >&6 43234 62002 fi 43235 62003 43236 @@ -1439,32 +14 06,32 @@62004 @@ -1439,32 +1415,32 @@ 43237 62005 43238 62006 fi 43239 62007 43240 62008 -test -z "$CC" && { { echo "$as_me:1442: error: no acceptable cc found in \$PATH" >&5 43241 +test -z "$CC" && { { echo "$as_me:14 09: error: no acceptable cc found in \$PATH" >&562009 +test -z "$CC" && { { echo "$as_me:1418: error: no acceptable cc found in \$PATH" >&5 43242 62010 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 43243 62011 { (exit 1); exit 1; }; } … … 43245 62013 # Provide some information about the compiler. 43246 62014 -echo "$as_me:1447:" \ 43247 +echo "$as_me:14 14:" \62015 +echo "$as_me:1423:" \ 43248 62016 "checking for C compiler version" >&5 43249 62017 ac_compiler=`set X $ac_compile; echo $2` 43250 62018 -{ (eval echo "$as_me:1450: \"$ac_compiler --version </dev/null >&5\"") >&5 43251 +{ (eval echo "$as_me:14 17: \"$ac_compiler --version </dev/null >&5\"") >&562019 +{ (eval echo "$as_me:1426: \"$ac_compiler --version </dev/null >&5\"") >&5 43252 62020 (eval $ac_compiler --version </dev/null >&5) 2>&5 43253 62021 ac_status=$? 43254 62022 - echo "$as_me:1453: \$? = $ac_status" >&5 43255 + echo "$as_me:142 0: \$? = $ac_status" >&562023 + echo "$as_me:1429: \$? = $ac_status" >&5 43256 62024 (exit $ac_status); } 43257 62025 -{ (eval echo "$as_me:1455: \"$ac_compiler -v </dev/null >&5\"") >&5 43258 +{ (eval echo "$as_me:14 22: \"$ac_compiler -v </dev/null >&5\"") >&562026 +{ (eval echo "$as_me:1431: \"$ac_compiler -v </dev/null >&5\"") >&5 43259 62027 (eval $ac_compiler -v </dev/null >&5) 2>&5 43260 62028 ac_status=$? 43261 62029 - echo "$as_me:1458: \$? = $ac_status" >&5 43262 + echo "$as_me:14 25: \$? = $ac_status" >&562030 + echo "$as_me:1434: \$? = $ac_status" >&5 43263 62031 (exit $ac_status); } 43264 62032 -{ (eval echo "$as_me:1460: \"$ac_compiler -V </dev/null >&5\"") >&5 43265 +{ (eval echo "$as_me:14 27: \"$ac_compiler -V </dev/null >&5\"") >&562033 +{ (eval echo "$as_me:1436: \"$ac_compiler -V </dev/null >&5\"") >&5 43266 62034 (eval $ac_compiler -V </dev/null >&5) 2>&5 43267 62035 ac_status=$? 43268 62036 - echo "$as_me:1463: \$? = $ac_status" >&5 43269 + echo "$as_me:143 0: \$? = $ac_status" >&562037 + echo "$as_me:1439: \$? = $ac_status" >&5 43270 62038 (exit $ac_status); } 43271 62039 43272 62040 cat >conftest.$ac_ext <<_ACEOF 43273 62041 -#line 1467 "configure" 43274 +#line 14 34"configure"62042 +#line 1443 "configure" 43275 62043 #include "confdefs.h" 43276 62044 43277 62045 int 43278 @@ -1480,13 +14 47,13 @@62046 @@ -1480,13 +1456,13 @@ 43279 62047 # Try to create an executable without -o first, disregard a.out. 43280 62048 # It will help us diagnose broken compilers, and finding out an intuition 43281 62049 # of exeext. 43282 62050 -echo "$as_me:1483: checking for C compiler default output" >&5 43283 +echo "$as_me:145 0: checking for C compiler default output" >&562051 +echo "$as_me:1459: checking for C compiler default output" >&5 43284 62052 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 43285 62053 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 43286 62054 -if { (eval echo "$as_me:1486: \"$ac_link_default\"") >&5 43287 +if { (eval echo "$as_me:14 53: \"$ac_link_default\"") >&562055 +if { (eval echo "$as_me:1462: \"$ac_link_default\"") >&5 43288 62056 (eval $ac_link_default) 2>&5 43289 62057 ac_status=$? 43290 62058 - echo "$as_me:1489: \$? = $ac_status" >&5 43291 + echo "$as_me:14 56: \$? = $ac_status" >&562059 + echo "$as_me:1465: \$? = $ac_status" >&5 43292 62060 (exit $ac_status); }; then 43293 62061 # Find the output, starting from the most likely. This scheme is 43294 62062 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 43295 @@ -1509,34 +14 76,34 @@62063 @@ -1509,34 +1485,34 @@ 43296 62064 else 43297 62065 echo "$as_me: failed program was:" >&5 43298 62066 cat conftest.$ac_ext >&5 43299 62067 -{ { echo "$as_me:1512: error: C compiler cannot create executables" >&5 43300 +{ { echo "$as_me:14 79: error: C compiler cannot create executables" >&562068 +{ { echo "$as_me:1488: error: C compiler cannot create executables" >&5 43301 62069 echo "$as_me: error: C compiler cannot create executables" >&2;} 43302 62070 { (exit 77); exit 77; }; } … … 43305 62073 ac_exeext=$ac_cv_exeext 43306 62074 -echo "$as_me:1518: result: $ac_file" >&5 43307 +echo "$as_me:14 85: result: $ac_file" >&562075 +echo "$as_me:1494: result: $ac_file" >&5 43308 62076 echo "${ECHO_T}$ac_file" >&6 43309 62077 … … 43311 62079 # the compiler is broken, or we cross compile. 43312 62080 -echo "$as_me:1523: checking whether the C compiler works" >&5 43313 +echo "$as_me:149 0: checking whether the C compiler works" >&562081 +echo "$as_me:1499: checking whether the C compiler works" >&5 43314 62082 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 43315 62083 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 43318 62086 if { ac_try='./$ac_file' 43319 62087 - { (eval echo "$as_me:1529: \"$ac_try\"") >&5 43320 + { (eval echo "$as_me:1 496: \"$ac_try\"") >&562088 + { (eval echo "$as_me:1505: \"$ac_try\"") >&5 43321 62089 (eval $ac_try) 2>&5 43322 62090 ac_status=$? 43323 62091 - echo "$as_me:1532: \$? = $ac_status" >&5 43324 + echo "$as_me:1 499: \$? = $ac_status" >&562092 + echo "$as_me:1508: \$? = $ac_status" >&5 43325 62093 (exit $ac_status); }; }; then 43326 62094 cross_compiling=no … … 43330 62098 else 43331 62099 - { { echo "$as_me:1539: error: cannot run C compiled programs. 43332 + { { echo "$as_me:15 06: error: cannot run C compiled programs.62100 + { { echo "$as_me:1515: error: cannot run C compiled programs. 43333 62101 If you meant to cross compile, use \`--host'." >&5 43334 62102 echo "$as_me: error: cannot run C compiled programs. 43335 62103 If you meant to cross compile, use \`--host'." >&2;} 43336 @@ -1544,24 +15 11,24 @@62104 @@ -1544,24 +1520,24 @@ 43337 62105 fi 43338 62106 fi 43339 62107 fi 43340 62108 -echo "$as_me:1547: result: yes" >&5 43341 +echo "$as_me:15 14: result: yes" >&562109 +echo "$as_me:1523: result: yes" >&5 43342 62110 echo "${ECHO_T}yes" >&6 43343 62111 … … 43347 62115 # the compiler is broken, or we cross compile. 43348 62116 -echo "$as_me:1554: checking whether we are cross compiling" >&5 43349 +echo "$as_me:15 21: checking whether we are cross compiling" >&562117 +echo "$as_me:1530: checking whether we are cross compiling" >&5 43350 62118 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 43351 62119 -echo "$as_me:1556: result: $cross_compiling" >&5 43352 +echo "$as_me:15 23: result: $cross_compiling" >&562120 +echo "$as_me:1532: result: $cross_compiling" >&5 43353 62121 echo "${ECHO_T}$cross_compiling" >&6 43354 62122 43355 62123 -echo "$as_me:1559: checking for executable suffix" >&5 43356 +echo "$as_me:15 26: checking for executable suffix" >&562124 +echo "$as_me:1535: checking for executable suffix" >&5 43357 62125 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 43358 62126 -if { (eval echo "$as_me:1561: \"$ac_link\"") >&5 43359 +if { (eval echo "$as_me:15 28: \"$ac_link\"") >&562127 +if { (eval echo "$as_me:1537: \"$ac_link\"") >&5 43360 62128 (eval $ac_link) 2>&5 43361 62129 ac_status=$? 43362 62130 - echo "$as_me:1564: \$? = $ac_status" >&5 43363 + echo "$as_me:15 31: \$? = $ac_status" >&562131 + echo "$as_me:1540: \$? = $ac_status" >&5 43364 62132 (exit $ac_status); }; then 43365 62133 # If both `conftest.exe' and `conftest' are `present' (well, observable) 43366 62134 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 43367 @@ -1577,25 +15 44,25 @@62135 @@ -1577,25 +1553,25 @@ 43368 62136 esac 43369 62137 done 43370 62138 else 43371 62139 - { { echo "$as_me:1580: error: cannot compute EXEEXT: cannot compile and link" >&5 43372 + { { echo "$as_me:15 47: error: cannot compute EXEEXT: cannot compile and link" >&562140 + { { echo "$as_me:1556: error: cannot compute EXEEXT: cannot compile and link" >&5 43373 62141 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 43374 62142 { (exit 1); exit 1; }; } … … 43377 62145 rm -f conftest$ac_cv_exeext 43378 62146 -echo "$as_me:1586: result: $ac_cv_exeext" >&5 43379 +echo "$as_me:15 53: result: $ac_cv_exeext" >&562147 +echo "$as_me:1562: result: $ac_cv_exeext" >&5 43380 62148 echo "${ECHO_T}$ac_cv_exeext" >&6 43381 62149 … … 43384 62152 ac_exeext=$EXEEXT 43385 62153 -echo "$as_me:1592: checking for object suffix" >&5 43386 +echo "$as_me:15 59: checking for object suffix" >&562154 +echo "$as_me:1568: checking for object suffix" >&5 43387 62155 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 43388 62156 if test "${ac_cv_objext+set}" = set; then … … 43391 62159 cat >conftest.$ac_ext <<_ACEOF 43392 62160 -#line 1598 "configure" 43393 +#line 15 65"configure"62161 +#line 1574 "configure" 43394 62162 #include "confdefs.h" 43395 62163 43396 62164 int 43397 @@ -1607,10 +15 74,10 @@62165 @@ -1607,10 +1583,10 @@ 43398 62166 } 43399 62167 _ACEOF 43400 62168 rm -f conftest.o conftest.obj 43401 62169 -if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 43402 +if { (eval echo "$as_me:15 77: \"$ac_compile\"") >&562170 +if { (eval echo "$as_me:1586: \"$ac_compile\"") >&5 43403 62171 (eval $ac_compile) 2>&5 43404 62172 ac_status=$? 43405 62173 - echo "$as_me:1613: \$? = $ac_status" >&5 43406 + echo "$as_me:158 0: \$? = $ac_status" >&562174 + echo "$as_me:1589: \$? = $ac_status" >&5 43407 62175 (exit $ac_status); }; then 43408 62176 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 43409 62177 case $ac_file in 43410 @@ -1622,24 +15 89,24 @@62178 @@ -1622,24 +1598,24 @@ 43411 62179 else 43412 62180 echo "$as_me: failed program was:" >&5 43413 62181 cat conftest.$ac_ext >&5 43414 62182 -{ { echo "$as_me:1625: error: cannot compute OBJEXT: cannot compile" >&5 43415 +{ { echo "$as_me:1 592: error: cannot compute OBJEXT: cannot compile" >&562183 +{ { echo "$as_me:1601: error: cannot compute OBJEXT: cannot compile" >&5 43416 62184 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 43417 62185 { (exit 1); exit 1; }; } … … 43421 62189 fi 43422 62190 -echo "$as_me:1632: result: $ac_cv_objext" >&5 43423 +echo "$as_me:1 599: result: $ac_cv_objext" >&562191 +echo "$as_me:1608: result: $ac_cv_objext" >&5 43424 62192 echo "${ECHO_T}$ac_cv_objext" >&6 43425 62193 OBJEXT=$ac_cv_objext 43426 62194 ac_objext=$OBJEXT 43427 62195 -echo "$as_me:1636: checking whether we are using the GNU C compiler" >&5 43428 +echo "$as_me:16 03: checking whether we are using the GNU C compiler" >&562196 +echo "$as_me:1612: checking whether we are using the GNU C compiler" >&5 43429 62197 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 43430 62198 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 43433 62201 cat >conftest.$ac_ext <<_ACEOF 43434 62202 -#line 1642 "configure" 43435 +#line 16 09"configure"62203 +#line 1618 "configure" 43436 62204 #include "confdefs.h" 43437 62205 43438 62206 int 43439 @@ -1654,16 +16 21,16 @@62207 @@ -1654,16 +1630,16 @@ 43440 62208 } 43441 62209 _ACEOF 43442 62210 rm -f conftest.$ac_objext 43443 62211 -if { (eval echo "$as_me:1657: \"$ac_compile\"") >&5 43444 +if { (eval echo "$as_me:16 24: \"$ac_compile\"") >&562212 +if { (eval echo "$as_me:1633: \"$ac_compile\"") >&5 43445 62213 (eval $ac_compile) 2>&5 43446 62214 ac_status=$? 43447 62215 - echo "$as_me:1660: \$? = $ac_status" >&5 43448 + echo "$as_me:16 27: \$? = $ac_status" >&562216 + echo "$as_me:1636: \$? = $ac_status" >&5 43449 62217 (exit $ac_status); } && 43450 62218 { ac_try='test -s conftest.$ac_objext' 43451 62219 - { (eval echo "$as_me:1663: \"$ac_try\"") >&5 43452 + { (eval echo "$as_me:163 0: \"$ac_try\"") >&562220 + { (eval echo "$as_me:1639: \"$ac_try\"") >&5 43453 62221 (eval $ac_try) 2>&5 43454 62222 ac_status=$? 43455 62223 - echo "$as_me:1666: \$? = $ac_status" >&5 43456 + echo "$as_me:16 33: \$? = $ac_status" >&562224 + echo "$as_me:1642: \$? = $ac_status" >&5 43457 62225 (exit $ac_status); }; }; then 43458 62226 ac_compiler_gnu=yes 43459 62227 else 43460 @@ -1675,19 +16 42,19 @@62228 @@ -1675,19 +1651,19 @@ 43461 62229 ac_cv_c_compiler_gnu=$ac_compiler_gnu 43462 62230 43463 62231 fi 43464 62232 -echo "$as_me:1678: result: $ac_cv_c_compiler_gnu" >&5 43465 +echo "$as_me:16 45: result: $ac_cv_c_compiler_gnu" >&562233 +echo "$as_me:1654: result: $ac_cv_c_compiler_gnu" >&5 43466 62234 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 43467 62235 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 43470 62238 CFLAGS="-g" 43471 62239 -echo "$as_me:1684: checking whether $CC accepts -g" >&5 43472 +echo "$as_me:16 51: checking whether $CC accepts -g" >&562240 +echo "$as_me:1660: checking whether $CC accepts -g" >&5 43473 62241 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 43474 62242 if test "${ac_cv_prog_cc_g+set}" = set; then … … 43477 62245 cat >conftest.$ac_ext <<_ACEOF 43478 62246 -#line 1690 "configure" 43479 +#line 16 57"configure"62247 +#line 1666 "configure" 43480 62248 #include "confdefs.h" 43481 62249 43482 62250 int 43483 @@ -1699,16 +16 66,16 @@62251 @@ -1699,16 +1675,16 @@ 43484 62252 } 43485 62253 _ACEOF 43486 62254 rm -f conftest.$ac_objext 43487 62255 -if { (eval echo "$as_me:1702: \"$ac_compile\"") >&5 43488 +if { (eval echo "$as_me:16 69: \"$ac_compile\"") >&562256 +if { (eval echo "$as_me:1678: \"$ac_compile\"") >&5 43489 62257 (eval $ac_compile) 2>&5 43490 62258 ac_status=$? 43491 62259 - echo "$as_me:1705: \$? = $ac_status" >&5 43492 + echo "$as_me:16 72: \$? = $ac_status" >&562260 + echo "$as_me:1681: \$? = $ac_status" >&5 43493 62261 (exit $ac_status); } && 43494 62262 { ac_try='test -s conftest.$ac_objext' 43495 62263 - { (eval echo "$as_me:1708: \"$ac_try\"") >&5 43496 + { (eval echo "$as_me:16 75: \"$ac_try\"") >&562264 + { (eval echo "$as_me:1684: \"$ac_try\"") >&5 43497 62265 (eval $ac_try) 2>&5 43498 62266 ac_status=$? 43499 62267 - echo "$as_me:1711: \$? = $ac_status" >&5 43500 + echo "$as_me:16 78: \$? = $ac_status" >&562268 + echo "$as_me:1687: \$? = $ac_status" >&5 43501 62269 (exit $ac_status); }; }; then 43502 62270 ac_cv_prog_cc_g=yes 43503 62271 else 43504 @@ -1718,7 +16 85,7 @@62272 @@ -1718,7 +1694,7 @@ 43505 62273 fi 43506 62274 rm -f conftest.$ac_objext conftest.$ac_ext 43507 62275 fi 43508 62276 -echo "$as_me:1721: result: $ac_cv_prog_cc_g" >&5 43509 +echo "$as_me:16 88: result: $ac_cv_prog_cc_g" >&562277 +echo "$as_me:1697: result: $ac_cv_prog_cc_g" >&5 43510 62278 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 43511 62279 if test "$ac_test_CFLAGS" = set; then 43512 62280 CFLAGS=$ac_save_CFLAGS 43513 @@ -1745,16 +17 12,16 @@62281 @@ -1745,16 +1721,16 @@ 43514 62282 #endif 43515 62283 _ACEOF 43516 62284 rm -f conftest.$ac_objext 43517 62285 -if { (eval echo "$as_me:1748: \"$ac_compile\"") >&5 43518 +if { (eval echo "$as_me:17 15: \"$ac_compile\"") >&562286 +if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5 43519 62287 (eval $ac_compile) 2>&5 43520 62288 ac_status=$? 43521 62289 - echo "$as_me:1751: \$? = $ac_status" >&5 43522 + echo "$as_me:17 18: \$? = $ac_status" >&562290 + echo "$as_me:1727: \$? = $ac_status" >&5 43523 62291 (exit $ac_status); } && 43524 62292 { ac_try='test -s conftest.$ac_objext' 43525 62293 - { (eval echo "$as_me:1754: \"$ac_try\"") >&5 43526 + { (eval echo "$as_me:17 21: \"$ac_try\"") >&562294 + { (eval echo "$as_me:1730: \"$ac_try\"") >&5 43527 62295 (eval $ac_try) 2>&5 43528 62296 ac_status=$? 43529 62297 - echo "$as_me:1757: \$? = $ac_status" >&5 43530 + echo "$as_me:17 24: \$? = $ac_status" >&562298 + echo "$as_me:1733: \$? = $ac_status" >&5 43531 62299 (exit $ac_status); }; }; then 43532 62300 for ac_declaration in \ 43533 62301 ''\ 43534 @@ -1766,7 +17 33,7 @@62302 @@ -1766,7 +1742,7 @@ 43535 62303 'void exit (int);' 43536 62304 do 43537 62305 cat >conftest.$ac_ext <<_ACEOF 43538 62306 -#line 1769 "configure" 43539 +#line 17 36"configure"62307 +#line 1745 "configure" 43540 62308 #include "confdefs.h" 43541 62309 #include <stdlib.h> 43542 62310 $ac_declaration 43543 @@ -1779,16 +17 46,16 @@62311 @@ -1779,16 +1755,16 @@ 43544 62312 } 43545 62313 _ACEOF 43546 62314 rm -f conftest.$ac_objext 43547 62315 -if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5 43548 +if { (eval echo "$as_me:17 49: \"$ac_compile\"") >&562316 +if { (eval echo "$as_me:1758: \"$ac_compile\"") >&5 43549 62317 (eval $ac_compile) 2>&5 43550 62318 ac_status=$? 43551 62319 - echo "$as_me:1785: \$? = $ac_status" >&5 43552 + echo "$as_me:17 52: \$? = $ac_status" >&562320 + echo "$as_me:1761: \$? = $ac_status" >&5 43553 62321 (exit $ac_status); } && 43554 62322 { ac_try='test -s conftest.$ac_objext' 43555 62323 - { (eval echo "$as_me:1788: \"$ac_try\"") >&5 43556 + { (eval echo "$as_me:17 55: \"$ac_try\"") >&562324 + { (eval echo "$as_me:1764: \"$ac_try\"") >&5 43557 62325 (eval $ac_try) 2>&5 43558 62326 ac_status=$? 43559 62327 - echo "$as_me:1791: \$? = $ac_status" >&5 43560 + echo "$as_me:17 58: \$? = $ac_status" >&562328 + echo "$as_me:1767: \$? = $ac_status" >&5 43561 62329 (exit $ac_status); }; }; then 43562 62330 : 43563 62331 else 43564 @@ -1798,7 +17 65,7 @@62332 @@ -1798,7 +1774,7 @@ 43565 62333 fi 43566 62334 rm -f conftest.$ac_objext conftest.$ac_ext 43567 62335 cat >conftest.$ac_ext <<_ACEOF 43568 62336 -#line 1801 "configure" 43569 +#line 17 68"configure"62337 +#line 1777 "configure" 43570 62338 #include "confdefs.h" 43571 62339 $ac_declaration 43572 62340 int 43573 @@ -1810,16 +17 77,16 @@62341 @@ -1810,16 +1786,16 @@ 43574 62342 } 43575 62343 _ACEOF 43576 62344 rm -f conftest.$ac_objext 43577 62345 -if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5 43578 +if { (eval echo "$as_me:178 0: \"$ac_compile\"") >&562346 +if { (eval echo "$as_me:1789: \"$ac_compile\"") >&5 43579 62347 (eval $ac_compile) 2>&5 43580 62348 ac_status=$? 43581 62349 - echo "$as_me:1816: \$? = $ac_status" >&5 43582 + echo "$as_me:17 83: \$? = $ac_status" >&562350 + echo "$as_me:1792: \$? = $ac_status" >&5 43583 62351 (exit $ac_status); } && 43584 62352 { ac_try='test -s conftest.$ac_objext' 43585 62353 - { (eval echo "$as_me:1819: \"$ac_try\"") >&5 43586 + { (eval echo "$as_me:17 86: \"$ac_try\"") >&562354 + { (eval echo "$as_me:1795: \"$ac_try\"") >&5 43587 62355 (eval $ac_try) 2>&5 43588 62356 ac_status=$? 43589 62357 - echo "$as_me:1822: \$? = $ac_status" >&5 43590 + echo "$as_me:17 89: \$? = $ac_status" >&562358 + echo "$as_me:1798: \$? = $ac_status" >&5 43591 62359 (exit $ac_status); }; }; then 43592 62360 break 43593 62361 else 43594 @@ -1853,7 +182 0,7 @@62362 @@ -1853,7 +1829,7 @@ 43595 62363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 43596 62364 ac_compiler_gnu=$ac_cv_c_compiler_gnu 43597 62365 ac_main_return=return 43598 62366 -echo "$as_me:1856: checking how to run the C preprocessor" >&5 43599 +echo "$as_me:18 23: checking how to run the C preprocessor" >&562367 +echo "$as_me:1832: checking how to run the C preprocessor" >&5 43600 62368 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 43601 62369 # On Suns, sometimes $CPP names a directory. 43602 62370 if test -n "$CPP" && test -d "$CPP"; then 43603 @@ -1874,18 +18 41,18 @@62371 @@ -1874,18 +1850,18 @@ 43604 62372 # On the NeXT, cc -E runs the code through the compiler's parser, 43605 62373 # not just through cpp. "Syntax error" is here to catch this case. 43606 62374 cat >conftest.$ac_ext <<_ACEOF 43607 62375 -#line 1877 "configure" 43608 +#line 18 44"configure"62376 +#line 1853 "configure" 43609 62377 #include "confdefs.h" 43610 62378 #include <assert.h> … … 43612 62380 _ACEOF 43613 62381 -if { (eval echo "$as_me:1882: \"$ac_cpp conftest.$ac_ext\"") >&5 43614 +if { (eval echo "$as_me:18 49: \"$ac_cpp conftest.$ac_ext\"") >&562382 +if { (eval echo "$as_me:1858: \"$ac_cpp conftest.$ac_ext\"") >&5 43615 62383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 43616 62384 ac_status=$? … … 43619 62387 cat conftest.err >&5 43620 62388 - echo "$as_me:1888: \$? = $ac_status" >&5 43621 + echo "$as_me:18 55: \$? = $ac_status" >&562389 + echo "$as_me:1864: \$? = $ac_status" >&5 43622 62390 (exit $ac_status); } >/dev/null; then 43623 62391 if test -s conftest.err; then 43624 62392 ac_cpp_err=$ac_c_preproc_warn_flag 43625 @@ -1908,17 +18 75,17 @@62393 @@ -1908,17 +1884,17 @@ 43626 62394 # OK, works on sane cases. Now check whether non-existent headers 43627 62395 # can be detected and how. 43628 62396 cat >conftest.$ac_ext <<_ACEOF 43629 62397 -#line 1911 "configure" 43630 +#line 18 78"configure"62398 +#line 1887 "configure" 43631 62399 #include "confdefs.h" 43632 62400 #include <ac_nonexistent.h> 43633 62401 _ACEOF 43634 62402 -if { (eval echo "$as_me:1915: \"$ac_cpp conftest.$ac_ext\"") >&5 43635 +if { (eval echo "$as_me:18 82: \"$ac_cpp conftest.$ac_ext\"") >&562403 +if { (eval echo "$as_me:1891: \"$ac_cpp conftest.$ac_ext\"") >&5 43636 62404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 43637 62405 ac_status=$? … … 43640 62408 cat conftest.err >&5 43641 62409 - echo "$as_me:1921: \$? = $ac_status" >&5 43642 + echo "$as_me:18 88: \$? = $ac_status" >&562410 + echo "$as_me:1897: \$? = $ac_status" >&5 43643 62411 (exit $ac_status); } >/dev/null; then 43644 62412 if test -s conftest.err; then 43645 62413 ac_cpp_err=$ac_c_preproc_warn_flag 43646 @@ -1955,7 +19 22,7 @@62414 @@ -1955,7 +1931,7 @@ 43647 62415 else 43648 62416 ac_cv_prog_CPP=$CPP 43649 62417 fi 43650 62418 -echo "$as_me:1958: result: $CPP" >&5 43651 +echo "$as_me:19 25: result: $CPP" >&562419 +echo "$as_me:1934: result: $CPP" >&5 43652 62420 echo "${ECHO_T}$CPP" >&6 43653 62421 ac_preproc_ok=false 43654 62422 for ac_c_preproc_warn_flag in '' yes 43655 @@ -1965,18 +19 32,18 @@62423 @@ -1965,18 +1941,18 @@ 43656 62424 # On the NeXT, cc -E runs the code through the compiler's parser, 43657 62425 # not just through cpp. "Syntax error" is here to catch this case. 43658 62426 cat >conftest.$ac_ext <<_ACEOF 43659 62427 -#line 1968 "configure" 43660 +#line 19 35"configure"62428 +#line 1944 "configure" 43661 62429 #include "confdefs.h" 43662 62430 #include <assert.h> … … 43664 62432 _ACEOF 43665 62433 -if { (eval echo "$as_me:1973: \"$ac_cpp conftest.$ac_ext\"") >&5 43666 +if { (eval echo "$as_me:194 0: \"$ac_cpp conftest.$ac_ext\"") >&562434 +if { (eval echo "$as_me:1949: \"$ac_cpp conftest.$ac_ext\"") >&5 43667 62435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 43668 62436 ac_status=$? … … 43671 62439 cat conftest.err >&5 43672 62440 - echo "$as_me:1979: \$? = $ac_status" >&5 43673 + echo "$as_me:19 46: \$? = $ac_status" >&562441 + echo "$as_me:1955: \$? = $ac_status" >&5 43674 62442 (exit $ac_status); } >/dev/null; then 43675 62443 if test -s conftest.err; then 43676 62444 ac_cpp_err=$ac_c_preproc_warn_flag 43677 @@ -1999,17 +19 66,17 @@62445 @@ -1999,17 +1975,17 @@ 43678 62446 # OK, works on sane cases. Now check whether non-existent headers 43679 62447 # can be detected and how. 43680 62448 cat >conftest.$ac_ext <<_ACEOF 43681 62449 -#line 2002 "configure" 43682 +#line 19 69"configure"62450 +#line 1978 "configure" 43683 62451 #include "confdefs.h" 43684 62452 #include <ac_nonexistent.h> 43685 62453 _ACEOF 43686 62454 -if { (eval echo "$as_me:2006: \"$ac_cpp conftest.$ac_ext\"") >&5 43687 +if { (eval echo "$as_me:19 73: \"$ac_cpp conftest.$ac_ext\"") >&562455 +if { (eval echo "$as_me:1982: \"$ac_cpp conftest.$ac_ext\"") >&5 43688 62456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 43689 62457 ac_status=$? … … 43692 62460 cat conftest.err >&5 43693 62461 - echo "$as_me:2012: \$? = $ac_status" >&5 43694 + echo "$as_me:19 79: \$? = $ac_status" >&562462 + echo "$as_me:1988: \$? = $ac_status" >&5 43695 62463 (exit $ac_status); } >/dev/null; then 43696 62464 if test -s conftest.err; then 43697 62465 ac_cpp_err=$ac_c_preproc_warn_flag 43698 @@ -2037,7 +20 04,7 @@62466 @@ -2037,7 +2013,7 @@ 43699 62467 if $ac_preproc_ok; then 43700 62468 : 43701 62469 else 43702 62470 - { { echo "$as_me:2040: error: C preprocessor \"$CPP\" fails sanity check" >&5 43703 + { { echo "$as_me:20 07: error: C preprocessor \"$CPP\" fails sanity check" >&562471 + { { echo "$as_me:2016: error: C preprocessor \"$CPP\" fails sanity check" >&5 43704 62472 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 43705 62473 { (exit 1); exit 1; }; } 43706 62474 fi 43707 @@ -2053,7 +202 0,7 @@62475 @@ -2053,7 +2029,7 @@ 43708 62476 do 43709 62477 # Extract the first word of "$ac_prog", so it can be a program name with args. 43710 62478 set dummy $ac_prog; ac_word=$2 43711 62479 -echo "$as_me:2056: checking for $ac_word" >&5 43712 +echo "$as_me:20 23: checking for $ac_word" >&562480 +echo "$as_me:2032: checking for $ac_word" >&5 43713 62481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43714 62482 if test "${ac_cv_prog_AWK+set}" = set; then 43715 62483 echo $ECHO_N "(cached) $ECHO_C" >&6 43716 @@ -2068,7 +20 35,7 @@62484 @@ -2068,7 +2044,7 @@ 43717 62485 test -z "$ac_dir" && ac_dir=. 43718 62486 $as_executable_p "$ac_dir/$ac_word" || continue 43719 62487 ac_cv_prog_AWK="$ac_prog" 43720 62488 -echo "$as_me:2071: found $ac_dir/$ac_word" >&5 43721 +echo "$as_me:20 38: found $ac_dir/$ac_word" >&562489 +echo "$as_me:2047: found $ac_dir/$ac_word" >&5 43722 62490 break 43723 62491 done 43724 62492 43725 @@ -2076,10 +20 43,10 @@62493 @@ -2076,10 +2052,10 @@ 43726 62494 fi 43727 62495 AWK=$ac_cv_prog_AWK 43728 62496 if test -n "$AWK"; then 43729 62497 - echo "$as_me:2079: result: $AWK" >&5 43730 + echo "$as_me:20 46: result: $AWK" >&562498 + echo "$as_me:2055: result: $AWK" >&5 43731 62499 echo "${ECHO_T}$AWK" >&6 43732 62500 else 43733 62501 - echo "$as_me:2082: result: no" >&5 43734 + echo "$as_me:20 49: result: no" >&562502 + echo "$as_me:2058: result: no" >&5 43735 62503 echo "${ECHO_T}no" >&6 43736 62504 fi 43737 62505 43738 @@ -2098,7 +20 65,7 @@62506 @@ -2098,7 +2074,7 @@ 43739 62507 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 43740 62508 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 43741 62509 # ./install, which can be erroneously created by make from ./install.sh. 43742 62510 -echo "$as_me:2101: checking for a BSD compatible install" >&5 43743 +echo "$as_me:20 68: checking for a BSD compatible install" >&562511 +echo "$as_me:2077: checking for a BSD compatible install" >&5 43744 62512 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 43745 62513 if test -z "$INSTALL"; then 43746 62514 if test "${ac_cv_path_install+set}" = set; then 43747 @@ -2147,7 +21 14,7 @@62515 @@ -2147,7 +2123,7 @@ 43748 62516 INSTALL=$ac_install_sh 43749 62517 fi 43750 62518 fi 43751 62519 -echo "$as_me:2150: result: $INSTALL" >&5 43752 +echo "$as_me:21 17: result: $INSTALL" >&562520 +echo "$as_me:2126: result: $INSTALL" >&5 43753 62521 echo "${ECHO_T}$INSTALL" >&6 43754 62522 43755 62523 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 43756 @@ -2172,7 +21 39,7 @@62524 @@ -2172,7 +2148,7 @@ 43757 62525 do 43758 62526 # Extract the first word of "$ac_prog", so it can be a program name with args. 43759 62527 set dummy $ac_prog; ac_word=$2 43760 62528 -echo "$as_me:2175: checking for $ac_word" >&5 43761 +echo "$as_me:21 42: checking for $ac_word" >&562529 +echo "$as_me:2151: checking for $ac_word" >&5 43762 62530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43763 62531 if test "${ac_cv_prog_LINT+set}" = set; then 43764 62532 echo $ECHO_N "(cached) $ECHO_C" >&6 43765 @@ -2187,7 +21 54,7 @@62533 @@ -2187,7 +2163,7 @@ 43766 62534 test -z "$ac_dir" && ac_dir=. 43767 62535 $as_executable_p "$ac_dir/$ac_word" || continue 43768 62536 ac_cv_prog_LINT="$ac_prog" 43769 62537 -echo "$as_me:2190: found $ac_dir/$ac_word" >&5 43770 +echo "$as_me:21 57: found $ac_dir/$ac_word" >&562538 +echo "$as_me:2166: found $ac_dir/$ac_word" >&5 43771 62539 break 43772 62540 done 43773 62541 43774 @@ -2195,17 +21 62,17 @@62542 @@ -2195,17 +2171,17 @@ 43775 62543 fi 43776 62544 LINT=$ac_cv_prog_LINT 43777 62545 if test -n "$LINT"; then 43778 62546 - echo "$as_me:2198: result: $LINT" >&5 43779 + echo "$as_me:21 65: result: $LINT" >&562547 + echo "$as_me:2174: result: $LINT" >&5 43780 62548 echo "${ECHO_T}$LINT" >&6 43781 62549 else 43782 62550 - echo "$as_me:2201: result: no" >&5 43783 + echo "$as_me:21 68: result: no" >&562551 + echo "$as_me:2177: result: no" >&5 43784 62552 echo "${ECHO_T}no" >&6 43785 62553 fi … … 43789 62557 43790 62558 -echo "$as_me:2208: checking if filesystem supports mixed-case filenames" >&5 43791 +echo "$as_me:21 75: checking if filesystem supports mixed-case filenames" >&562559 +echo "$as_me:2184: checking if filesystem supports mixed-case filenames" >&5 43792 62560 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6 43793 62561 if test "${cf_cv_mixedcase+set}" = set; then 43794 62562 echo $ECHO_N "(cached) $ECHO_C" >&6 43795 @@ -2232,7 +2 199,7 @@62563 @@ -2232,7 +2208,7 @@ 43796 62564 fi 43797 62565 43798 62566 fi 43799 62567 -echo "$as_me:2235: result: $cf_cv_mixedcase" >&5 43800 +echo "$as_me:22 02: result: $cf_cv_mixedcase" >&562568 +echo "$as_me:2211: result: $cf_cv_mixedcase" >&5 43801 62569 echo "${ECHO_T}$cf_cv_mixedcase" >&6 43802 62570 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF 43803 62571 #define MIXEDCASE_FILENAMES 1 43804 @@ -2242,7 +22 09,7 @@62572 @@ -2242,7 +2218,7 @@ 43805 62573 do 43806 62574 # Extract the first word of "$ac_prog", so it can be a program name with args. 43807 62575 set dummy $ac_prog; ac_word=$2 43808 62576 -echo "$as_me:2245: checking for $ac_word" >&5 43809 +echo "$as_me:22 12: checking for $ac_word" >&562577 +echo "$as_me:2221: checking for $ac_word" >&5 43810 62578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43811 62579 if test "${ac_cv_prog_CTAGS+set}" = set; then 43812 62580 echo $ECHO_N "(cached) $ECHO_C" >&6 43813 @@ -2257,7 +22 24,7 @@62581 @@ -2257,7 +2233,7 @@ 43814 62582 test -z "$ac_dir" && ac_dir=. 43815 62583 $as_executable_p "$ac_dir/$ac_word" || continue 43816 62584 ac_cv_prog_CTAGS="$ac_prog" 43817 62585 -echo "$as_me:2260: found $ac_dir/$ac_word" >&5 43818 +echo "$as_me:22 27: found $ac_dir/$ac_word" >&562586 +echo "$as_me:2236: found $ac_dir/$ac_word" >&5 43819 62587 break 43820 62588 done 43821 62589 43822 @@ -2265,10 +22 32,10 @@62590 @@ -2265,10 +2241,10 @@ 43823 62591 fi 43824 62592 CTAGS=$ac_cv_prog_CTAGS 43825 62593 if test -n "$CTAGS"; then 43826 62594 - echo "$as_me:2268: result: $CTAGS" >&5 43827 + echo "$as_me:22 35: result: $CTAGS" >&562595 + echo "$as_me:2244: result: $CTAGS" >&5 43828 62596 echo "${ECHO_T}$CTAGS" >&6 43829 62597 else 43830 62598 - echo "$as_me:2271: result: no" >&5 43831 + echo "$as_me:22 38: result: no" >&562599 + echo "$as_me:2247: result: no" >&5 43832 62600 echo "${ECHO_T}no" >&6 43833 62601 fi 43834 62602 43835 @@ -2279,7 +22 46,7 @@62603 @@ -2279,7 +2255,7 @@ 43836 62604 do 43837 62605 # Extract the first word of "$ac_prog", so it can be a program name with args. 43838 62606 set dummy $ac_prog; ac_word=$2 43839 62607 -echo "$as_me:2282: checking for $ac_word" >&5 43840 +echo "$as_me:22 49: checking for $ac_word" >&562608 +echo "$as_me:2258: checking for $ac_word" >&5 43841 62609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43842 62610 if test "${ac_cv_prog_ETAGS+set}" = set; then 43843 62611 echo $ECHO_N "(cached) $ECHO_C" >&6 43844 @@ -2294,7 +22 61,7 @@62612 @@ -2294,7 +2270,7 @@ 43845 62613 test -z "$ac_dir" && ac_dir=. 43846 62614 $as_executable_p "$ac_dir/$ac_word" || continue 43847 62615 ac_cv_prog_ETAGS="$ac_prog" 43848 62616 -echo "$as_me:2297: found $ac_dir/$ac_word" >&5 43849 +echo "$as_me:22 64: found $ac_dir/$ac_word" >&562617 +echo "$as_me:2273: found $ac_dir/$ac_word" >&5 43850 62618 break 43851 62619 done 43852 62620 43853 @@ -2302,10 +22 69,10 @@62621 @@ -2302,10 +2278,10 @@ 43854 62622 fi 43855 62623 ETAGS=$ac_cv_prog_ETAGS 43856 62624 if test -n "$ETAGS"; then 43857 62625 - echo "$as_me:2305: result: $ETAGS" >&5 43858 + echo "$as_me:22 72: result: $ETAGS" >&562626 + echo "$as_me:2281: result: $ETAGS" >&5 43859 62627 echo "${ECHO_T}$ETAGS" >&6 43860 62628 else 43861 62629 - echo "$as_me:2308: result: no" >&5 43862 + echo "$as_me:22 75: result: no" >&562630 + echo "$as_me:2284: result: no" >&5 43863 62631 echo "${ECHO_T}no" >&6 43864 62632 fi 43865 62633 43866 @@ -2314,7 +22 81,7 @@62634 @@ -2314,7 +2290,7 @@ 43867 62635 43868 62636 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. 43869 62637 set dummy ${CTAGS:-ctags}; ac_word=$2 43870 62638 -echo "$as_me:2317: checking for $ac_word" >&5 43871 +echo "$as_me:22 84: checking for $ac_word" >&562639 +echo "$as_me:2293: checking for $ac_word" >&5 43872 62640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43873 62641 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then 43874 62642 echo $ECHO_N "(cached) $ECHO_C" >&6 43875 @@ -2329,7 +2 296,7 @@62643 @@ -2329,7 +2305,7 @@ 43876 62644 test -z "$ac_dir" && ac_dir=. 43877 62645 $as_executable_p "$ac_dir/$ac_word" || continue 43878 62646 ac_cv_prog_MAKE_LOWER_TAGS="yes" 43879 62647 -echo "$as_me:2332: found $ac_dir/$ac_word" >&5 43880 +echo "$as_me:2 299: found $ac_dir/$ac_word" >&562648 +echo "$as_me:2308: found $ac_dir/$ac_word" >&5 43881 62649 break 43882 62650 done 43883 62651 43884 @@ -2338,17 +23 05,17 @@62652 @@ -2338,17 +2314,17 @@ 43885 62653 fi 43886 62654 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS 43887 62655 if test -n "$MAKE_LOWER_TAGS"; then 43888 62656 - echo "$as_me:2341: result: $MAKE_LOWER_TAGS" >&5 43889 + echo "$as_me:23 08: result: $MAKE_LOWER_TAGS" >&562657 + echo "$as_me:2317: result: $MAKE_LOWER_TAGS" >&5 43890 62658 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 43891 62659 else 43892 62660 - echo "$as_me:2344: result: no" >&5 43893 + echo "$as_me:23 11: result: no" >&562661 + echo "$as_me:2320: result: no" >&5 43894 62662 echo "${ECHO_T}no" >&6 43895 62663 fi … … 43899 62667 set dummy ${ETAGS:-etags}; ac_word=$2 43900 62668 -echo "$as_me:2351: checking for $ac_word" >&5 43901 +echo "$as_me:23 18: checking for $ac_word" >&562669 +echo "$as_me:2327: checking for $ac_word" >&5 43902 62670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 43903 62671 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then 43904 62672 echo $ECHO_N "(cached) $ECHO_C" >&6 43905 @@ -2363,7 +233 0,7 @@62673 @@ -2363,7 +2339,7 @@ 43906 62674 test -z "$ac_dir" && ac_dir=. 43907 62675 $as_executable_p "$ac_dir/$ac_word" || continue 43908 62676 ac_cv_prog_MAKE_UPPER_TAGS="yes" 43909 62677 -echo "$as_me:2366: found $ac_dir/$ac_word" >&5 43910 +echo "$as_me:23 33: found $ac_dir/$ac_word" >&562678 +echo "$as_me:2342: found $ac_dir/$ac_word" >&5 43911 62679 break 43912 62680 done 43913 62681 43914 @@ -2372,10 +23 39,10 @@62682 @@ -2372,10 +2348,10 @@ 43915 62683 fi 43916 62684 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS 43917 62685 if test -n "$MAKE_UPPER_TAGS"; then 43918 62686 - echo "$as_me:2375: result: $MAKE_UPPER_TAGS" >&5 43919 + echo "$as_me:23 42: result: $MAKE_UPPER_TAGS" >&562687 + echo "$as_me:2351: result: $MAKE_UPPER_TAGS" >&5 43920 62688 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 43921 62689 else 43922 62690 - echo "$as_me:2378: result: no" >&5 43923 + echo "$as_me:23 45: result: no" >&562691 + echo "$as_me:2354: result: no" >&5 43924 62692 echo "${ECHO_T}no" >&6 43925 62693 fi 43926 62694 43927 @@ -2395,14 +23 62,14 @@62695 @@ -2395,14 +2371,14 @@ 43928 62696 MAKE_LOWER_TAGS="#" 43929 62697 fi 43930 62698 43931 62699 -echo "$as_me:2398: checking if -lm needed for math functions" >&5 43932 +echo "$as_me:23 65: checking if -lm needed for math functions" >&562700 +echo "$as_me:2374: checking if -lm needed for math functions" >&5 43933 62701 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6 43934 62702 if test "${cf_cv_need_libm+set}" = set; then … … 43938 62706 cat >conftest.$ac_ext <<_ACEOF 43939 62707 -#line 2405 "configure" 43940 +#line 23 72"configure"62708 +#line 2381 "configure" 43941 62709 #include "confdefs.h" 43942 62710 43943 62711 #include <stdio.h> 43944 @@ -2417,16 +23 84,16 @@62712 @@ -2417,16 +2393,16 @@ 43945 62713 } 43946 62714 _ACEOF 43947 62715 rm -f conftest.$ac_objext conftest$ac_exeext 43948 62716 -if { (eval echo "$as_me:2420: \"$ac_link\"") >&5 43949 +if { (eval echo "$as_me:23 87: \"$ac_link\"") >&562717 +if { (eval echo "$as_me:2396: \"$ac_link\"") >&5 43950 62718 (eval $ac_link) 2>&5 43951 62719 ac_status=$? 43952 62720 - echo "$as_me:2423: \$? = $ac_status" >&5 43953 + echo "$as_me:239 0: \$? = $ac_status" >&562721 + echo "$as_me:2399: \$? = $ac_status" >&5 43954 62722 (exit $ac_status); } && 43955 62723 { ac_try='test -s conftest$ac_exeext' 43956 62724 - { (eval echo "$as_me:2426: \"$ac_try\"") >&5 43957 + { (eval echo "$as_me:2 393: \"$ac_try\"") >&562725 + { (eval echo "$as_me:2402: \"$ac_try\"") >&5 43958 62726 (eval $ac_try) 2>&5 43959 62727 ac_status=$? 43960 62728 - echo "$as_me:2429: \$? = $ac_status" >&5 43961 + echo "$as_me:2 396: \$? = $ac_status" >&562729 + echo "$as_me:2405: \$? = $ac_status" >&5 43962 62730 (exit $ac_status); }; }; then 43963 62731 cf_cv_need_libm=no 43964 62732 else 43965 @@ -2436,13 +24 03,15 @@62733 @@ -2436,13 +2412,15 @@ 43966 62734 fi 43967 62735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 43968 62736 fi 43969 62737 -echo "$as_me:2439: result: $cf_cv_need_libm" >&5 43970 +echo "$as_me:24 06: result: $cf_cv_need_libm" >&562738 +echo "$as_me:2415: result: $cf_cv_need_libm" >&5 43971 62739 echo "${ECHO_T}$cf_cv_need_libm" >&6 43972 62740 if test "$cf_cv_need_libm" = yes … … 43980 62748 CC_SHARED_OPTS=unknown 43981 62749 CPPFLAGS="$CPPFLAGS" 43982 @@ -2464,14 +24 33,118 @@62750 @@ -2464,14 +2442,118 @@ 43983 62751 TEST_ARGS="" 43984 62752 TEST_DEPS="" … … 44000 62768 +# into CC. This will not help with broken scripts that wrap the compiler with 44001 62769 +# options, but eliminates a more common category of user confusion. 44002 +echo "$as_me:245 0: checking \$CC variable" >&562770 +echo "$as_me:2459: checking \$CC variable" >&5 44003 62771 +echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 44004 62772 +case "$CC" in #(vi 44005 62773 +*[\ \ ]-[IUD]*) 44006 + echo "$as_me:24 54: result: broken" >&562774 + echo "$as_me:2463: result: broken" >&5 44007 62775 +echo "${ECHO_T}broken" >&6 44008 + { echo "$as_me:24 56: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&562776 + { echo "$as_me:2465: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 44009 62777 +echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} 44010 62778 + # humor him... … … 44092 62860 + ;; 44093 62861 +*) 44094 + echo "$as_me:25 42: result: ok" >&562862 + echo "$as_me:2551: result: ok" >&5 44095 62863 +echo "${ECHO_T}ok" >&6 44096 62864 + ;; 44097 62865 +esac 44098 62866 + 44099 +echo "$as_me:25 47: checking for ${CC:-cc} option to accept ANSI C" >&562867 +echo "$as_me:2556: checking for ${CC:-cc} option to accept ANSI C" >&5 44100 62868 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6 44101 62869 if test "${cf_cv_ansi_cc+set}" = set; then 44102 62870 echo $ECHO_N "(cached) $ECHO_C" >&6 44103 @@ -2575,7 +26 48,7 @@62871 @@ -2575,7 +2657,7 @@ 44104 62872 fi 44105 62873 44106 62874 cat >conftest.$ac_ext <<_ACEOF 44107 62875 -#line 2578 "configure" 44108 +#line 26 51"configure"62876 +#line 2660 "configure" 44109 62877 #include "confdefs.h" 44110 62878 44111 62879 #ifndef CC_HAS_PROTOS 44112 @@ -2596,16 +26 69,16 @@62880 @@ -2596,16 +2678,16 @@ 44113 62881 } 44114 62882 _ACEOF 44115 62883 rm -f conftest.$ac_objext 44116 62884 -if { (eval echo "$as_me:2599: \"$ac_compile\"") >&5 44117 +if { (eval echo "$as_me:26 72: \"$ac_compile\"") >&562885 +if { (eval echo "$as_me:2681: \"$ac_compile\"") >&5 44118 62886 (eval $ac_compile) 2>&5 44119 62887 ac_status=$? 44120 62888 - echo "$as_me:2602: \$? = $ac_status" >&5 44121 + echo "$as_me:26 75: \$? = $ac_status" >&562889 + echo "$as_me:2684: \$? = $ac_status" >&5 44122 62890 (exit $ac_status); } && 44123 62891 { ac_try='test -s conftest.$ac_objext' 44124 62892 - { (eval echo "$as_me:2605: \"$ac_try\"") >&5 44125 + { (eval echo "$as_me:26 78: \"$ac_try\"") >&562893 + { (eval echo "$as_me:2687: \"$ac_try\"") >&5 44126 62894 (eval $ac_try) 2>&5 44127 62895 ac_status=$? 44128 62896 - echo "$as_me:2608: \$? = $ac_status" >&5 44129 + echo "$as_me:26 81: \$? = $ac_status" >&562897 + echo "$as_me:2690: \$? = $ac_status" >&5 44130 62898 (exit $ac_status); }; }; then 44131 62899 cf_cv_ansi_cc="$cf_arg"; break 44132 62900 else 44133 @@ -2618,7 +2 691,7 @@62901 @@ -2618,7 +2700,7 @@ 44134 62902 CPPFLAGS="$cf_save_CPPFLAGS" 44135 62903 44136 62904 fi 44137 62905 -echo "$as_me:2621: result: $cf_cv_ansi_cc" >&5 44138 +echo "$as_me:2 694: result: $cf_cv_ansi_cc" >&562906 +echo "$as_me:2703: result: $cf_cv_ansi_cc" >&5 44139 62907 echo "${ECHO_T}$cf_cv_ansi_cc" >&6 44140 62908 44141 62909 if test "$cf_cv_ansi_cc" != "no"; then 44142 @@ -2711,7 +27 84,7 @@62910 @@ -2711,7 +2793,7 @@ 44143 62911 fi 44144 62912 44145 62913 if test "$cf_cv_ansi_cc" = "no"; then 44146 62914 - { { echo "$as_me:2714: error: Your compiler does not appear to recognize prototypes. 44147 + { { echo "$as_me:27 87: error: Your compiler does not appear to recognize prototypes.62915 + { { echo "$as_me:2796: error: Your compiler does not appear to recognize prototypes. 44148 62916 You have the following choices: 44149 62917 a. adjust your compiler options 44150 62918 b. get an up-to-date compiler 44151 @@ -2742,10 +28 15,10 @@62919 @@ -2742,10 +2824,10 @@ 44152 62920 EOF 44153 62921 if test "$GCC" = yes 44154 62922 then 44155 62923 - { echo "$as_me:2745: checking for $CC __attribute__ directives..." >&5 44156 + { echo "$as_me:28 18: checking for $CC __attribute__ directives..." >&562924 + { echo "$as_me:2827: checking for $CC __attribute__ directives..." >&5 44157 62925 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} 44158 62926 cat > conftest.$ac_ext <<EOF 44159 62927 -#line 2748 "${as_me:-configure}" 44160 +#line 28 21"${as_me:-configure}"62928 +#line 2830 "${as_me:-configure}" 44161 62929 #include "confdefs.h" 44162 62930 #include "conftest.h" 44163 62931 #include "conftest.i" 44164 @@ -2794,12 +28 67,12 @@62932 @@ -2794,12 +2876,12 @@ 44165 62933 ;; 44166 62934 esac 44167 62935 44168 62936 - if { (eval echo "$as_me:2797: \"$ac_compile\"") >&5 44169 + if { (eval echo "$as_me:287 0: \"$ac_compile\"") >&562937 + if { (eval echo "$as_me:2879: \"$ac_compile\"") >&5 44170 62938 (eval $ac_compile) 2>&5 44171 62939 ac_status=$? 44172 62940 - echo "$as_me:2800: \$? = $ac_status" >&5 44173 + echo "$as_me:28 73: \$? = $ac_status" >&562941 + echo "$as_me:2882: \$? = $ac_status" >&5 44174 62942 (exit $ac_status); }; then 44175 62943 - test -n "$verbose" && echo "$as_me:2802: result: ... $cf_attribute" >&5 44176 + test -n "$verbose" && echo "$as_me:28 75: result: ... $cf_attribute" >&562944 + test -n "$verbose" && echo "$as_me:2884: result: ... $cf_attribute" >&5 44177 62945 echo "${ECHO_T}... $cf_attribute" >&6 44178 62946 cat conftest.h >>confdefs.h 44179 62947 case $cf_attribute in #(vi 44180 @@ -2839,7 +29 12,7 @@62948 @@ -2839,7 +2921,7 @@ 44181 62949 cf_xopen_source= 44182 62950 … … 44187 62955 ;; 44188 62956 cygwin) #(vi 44189 @@ -2850,6 +29 23,7 @@62957 @@ -2850,6 +2932,7 @@ 44190 62958 ;; 44191 62959 darwin*) #(vi … … 44195 62963 freebsd*|dragonfly*) #(vi 44196 62964 # 5.x headers associate 44197 @@ -2867,17 +29 41,18 @@62965 @@ -2867,17 +2950,18 @@ 44198 62966 ;; 44199 62967 irix[56].*) #(vi … … 44204 62972 44205 62973 -echo "$as_me:2873: checking if we must define _GNU_SOURCE" >&5 44206 +echo "$as_me:29 48: checking if we must define _GNU_SOURCE" >&562974 +echo "$as_me:2957: checking if we must define _GNU_SOURCE" >&5 44207 62975 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 44208 62976 if test "${cf_cv_gnu_source+set}" = set; then … … 44212 62980 cat >conftest.$ac_ext <<_ACEOF 44213 62981 -#line 2880 "configure" 44214 +#line 29 55"configure"62982 +#line 2964 "configure" 44215 62983 #include "confdefs.h" 44216 62984 #include <sys/types.h> 44217 62985 int 44218 @@ -2892,16 +29 67,16 @@62986 @@ -2892,16 +2976,16 @@ 44219 62987 } 44220 62988 _ACEOF 44221 62989 rm -f conftest.$ac_objext 44222 62990 -if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5 44223 +if { (eval echo "$as_me:297 0: \"$ac_compile\"") >&562991 +if { (eval echo "$as_me:2979: \"$ac_compile\"") >&5 44224 62992 (eval $ac_compile) 2>&5 44225 62993 ac_status=$? 44226 62994 - echo "$as_me:2898: \$? = $ac_status" >&5 44227 + echo "$as_me:29 73: \$? = $ac_status" >&562995 + echo "$as_me:2982: \$? = $ac_status" >&5 44228 62996 (exit $ac_status); } && 44229 62997 { ac_try='test -s conftest.$ac_objext' 44230 62998 - { (eval echo "$as_me:2901: \"$ac_try\"") >&5 44231 + { (eval echo "$as_me:29 76: \"$ac_try\"") >&562999 + { (eval echo "$as_me:2985: \"$ac_try\"") >&5 44232 63000 (eval $ac_try) 2>&5 44233 63001 ac_status=$? 44234 63002 - echo "$as_me:2904: \$? = $ac_status" >&5 44235 + echo "$as_me:29 79: \$? = $ac_status" >&563003 + echo "$as_me:2988: \$? = $ac_status" >&5 44236 63004 (exit $ac_status); }; }; then 44237 63005 cf_cv_gnu_source=no 44238 63006 else 44239 @@ -2910,7 +29 85,7 @@63007 @@ -2910,7 +2994,7 @@ 44240 63008 cf_save="$CPPFLAGS" 44241 63009 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" 44242 63010 cat >conftest.$ac_ext <<_ACEOF 44243 63011 -#line 2913 "configure" 44244 +#line 29 88"configure"63012 +#line 2997 "configure" 44245 63013 #include "confdefs.h" 44246 63014 #include <sys/types.h> 44247 63015 int 44248 @@ -2925,16 +300 0,16 @@63016 @@ -2925,16 +3009,16 @@ 44249 63017 } 44250 63018 _ACEOF 44251 63019 rm -f conftest.$ac_objext 44252 63020 -if { (eval echo "$as_me:2928: \"$ac_compile\"") >&5 44253 +if { (eval echo "$as_me:30 03: \"$ac_compile\"") >&563021 +if { (eval echo "$as_me:3012: \"$ac_compile\"") >&5 44254 63022 (eval $ac_compile) 2>&5 44255 63023 ac_status=$? 44256 63024 - echo "$as_me:2931: \$? = $ac_status" >&5 44257 + echo "$as_me:30 06: \$? = $ac_status" >&563025 + echo "$as_me:3015: \$? = $ac_status" >&5 44258 63026 (exit $ac_status); } && 44259 63027 { ac_try='test -s conftest.$ac_objext' 44260 63028 - { (eval echo "$as_me:2934: \"$ac_try\"") >&5 44261 + { (eval echo "$as_me:30 09: \"$ac_try\"") >&563029 + { (eval echo "$as_me:3018: \"$ac_try\"") >&5 44262 63030 (eval $ac_try) 2>&5 44263 63031 ac_status=$? 44264 63032 - echo "$as_me:2937: \$? = $ac_status" >&5 44265 + echo "$as_me:30 12: \$? = $ac_status" >&563033 + echo "$as_me:3021: \$? = $ac_status" >&5 44266 63034 (exit $ac_status); }; }; then 44267 63035 cf_cv_gnu_source=no 44268 63036 else 44269 @@ -2949,51 +30 24,45 @@63037 @@ -2949,51 +3033,45 @@ 44270 63038 rm -f conftest.$ac_objext conftest.$ac_ext 44271 63039 44272 63040 fi 44273 63041 -echo "$as_me:2952: result: $cf_cv_gnu_source" >&5 44274 +echo "$as_me:30 27: result: $cf_cv_gnu_source" >&563042 +echo "$as_me:3036: result: $cf_cv_gnu_source" >&5 44275 63043 echo "${ECHO_T}$cf_cv_gnu_source" >&6 44276 63044 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" … … 44321 63089 + -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` 44322 63090 + 44323 +echo "$as_me:30 49: checking if we should define _POSIX_C_SOURCE" >&563091 +echo "$as_me:3058: checking if we should define _POSIX_C_SOURCE" >&5 44324 63092 +echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 44325 63093 +if test "${cf_cv_posix_c_source+set}" = set; then … … 44327 63095 else 44328 63096 44329 +echo "${as_me:-configure}:30 55: testing if the symbol is already defined go no further ..." 1>&563097 +echo "${as_me:-configure}:3064: testing if the symbol is already defined go no further ..." 1>&5 44330 63098 + 44331 63099 cat >conftest.$ac_ext <<_ACEOF 44332 63100 -#line 2989 "configure" 44333 +#line 30 58"configure"63101 +#line 3067 "configure" 44334 63102 #include "confdefs.h" 44335 63103 #include <sys/types.h> … … 44343 63111 #endif 44344 63112 ; 44345 @@ -3001,32 +307 0,44 @@63113 @@ -3001,32 +3079,44 @@ 44346 63114 } 44347 63115 _ACEOF 44348 63116 rm -f conftest.$ac_objext 44349 63117 -if { (eval echo "$as_me:3004: \"$ac_compile\"") >&5 44350 +if { (eval echo "$as_me:30 73: \"$ac_compile\"") >&563118 +if { (eval echo "$as_me:3082: \"$ac_compile\"") >&5 44351 63119 (eval $ac_compile) 2>&5 44352 63120 ac_status=$? 44353 63121 - echo "$as_me:3007: \$? = $ac_status" >&5 44354 + echo "$as_me:30 76: \$? = $ac_status" >&563122 + echo "$as_me:3085: \$? = $ac_status" >&5 44355 63123 (exit $ac_status); } && 44356 63124 { ac_try='test -s conftest.$ac_objext' 44357 63125 - { (eval echo "$as_me:3010: \"$ac_try\"") >&5 44358 + { (eval echo "$as_me:30 79: \"$ac_try\"") >&563126 + { (eval echo "$as_me:3088: \"$ac_try\"") >&5 44359 63127 (eval $ac_try) 2>&5 44360 63128 ac_status=$? 44361 63129 - echo "$as_me:3013: \$? = $ac_status" >&5 44362 + echo "$as_me:30 82: \$? = $ac_status" >&563130 + echo "$as_me:3091: \$? = $ac_status" >&5 44363 63131 (exit $ac_status); }; }; then 44364 63132 - cf_cv_xopen_source=no … … 44386 63154 + if test "$cf_want_posix_source" = yes ; then 44387 63155 + cat >conftest.$ac_ext <<_ACEOF 44388 +#line 31 03"configure"63156 +#line 3112 "configure" 44389 63157 #include "confdefs.h" 44390 63158 #include <sys/types.h> … … 44398 63166 #endif 44399 63167 ; 44400 @@ -3034,50 +31 15,87 @@63168 @@ -3034,50 +3124,87 @@ 44401 63169 } 44402 63170 _ACEOF 44403 63171 rm -f conftest.$ac_objext 44404 63172 -if { (eval echo "$as_me:3037: \"$ac_compile\"") >&5 44405 +if { (eval echo "$as_me:31 18: \"$ac_compile\"") >&563173 +if { (eval echo "$as_me:3127: \"$ac_compile\"") >&5 44406 63174 (eval $ac_compile) 2>&5 44407 63175 ac_status=$? 44408 63176 - echo "$as_me:3040: \$? = $ac_status" >&5 44409 + echo "$as_me:31 21: \$? = $ac_status" >&563177 + echo "$as_me:3130: \$? = $ac_status" >&5 44410 63178 (exit $ac_status); } && 44411 63179 { ac_try='test -s conftest.$ac_objext' 44412 63180 - { (eval echo "$as_me:3043: \"$ac_try\"") >&5 44413 + { (eval echo "$as_me:31 24: \"$ac_try\"") >&563181 + { (eval echo "$as_me:3133: \"$ac_try\"") >&5 44414 63182 (eval $ac_try) 2>&5 44415 63183 ac_status=$? 44416 63184 - echo "$as_me:3046: \$? = $ac_status" >&5 44417 + echo "$as_me:31 27: \$? = $ac_status" >&563185 + echo "$as_me:3136: \$? = $ac_status" >&5 44418 63186 (exit $ac_status); }; }; then 44419 63187 - cf_cv_xopen_source=no … … 44429 63197 + fi 44430 63198 + 44431 +echo "${as_me:-configure}:31 38: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&563199 +echo "${as_me:-configure}:3147: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 44432 63200 + 44433 63201 + CFLAGS="$cf_trim_CFLAGS" 44434 63202 + CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source" 44435 63203 + 44436 +echo "${as_me:-configure}:31 43: testing if the second compile does not leave our definition intact error ..." 1>&563204 +echo "${as_me:-configure}:3152: testing if the second compile does not leave our definition intact error ..." 1>&5 44437 63205 + 44438 63206 + cat >conftest.$ac_ext <<_ACEOF 44439 +#line 31 46"configure"63207 +#line 3155 "configure" 44440 63208 +#include "confdefs.h" 44441 63209 +#include <sys/types.h> … … 44452 63220 +_ACEOF 44453 63221 +rm -f conftest.$ac_objext 44454 +if { (eval echo "$as_me:31 61: \"$ac_compile\"") >&563222 +if { (eval echo "$as_me:3170: \"$ac_compile\"") >&5 44455 63223 + (eval $ac_compile) 2>&5 44456 63224 + ac_status=$? 44457 + echo "$as_me:31 64: \$? = $ac_status" >&563225 + echo "$as_me:3173: \$? = $ac_status" >&5 44458 63226 + (exit $ac_status); } && 44459 63227 + { ac_try='test -s conftest.$ac_objext' 44460 + { (eval echo "$as_me:31 67: \"$ac_try\"") >&563228 + { (eval echo "$as_me:3176: \"$ac_try\"") >&5 44461 63229 + (eval $ac_try) 2>&5 44462 63230 + ac_status=$? 44463 + echo "$as_me:317 0: \$? = $ac_status" >&563231 + echo "$as_me:3179: \$? = $ac_status" >&5 44464 63232 + (exit $ac_status); }; }; then 44465 63233 + : … … 44487 63255 - -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'` 44488 63256 +fi 44489 +echo "$as_me:31 86: result: $cf_cv_posix_c_source" >&563257 +echo "$as_me:3195: result: $cf_cv_posix_c_source" >&5 44490 63258 +echo "${ECHO_T}$cf_cv_posix_c_source" >&6 44491 63259 … … 44505 63273 case $cf_fix_cppflags in 44506 63274 no) 44507 @@ -3150,3 1 +3268,239@@63275 @@ -3150,33 +3277,241 @@ 44508 63276 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" 44509 63277 fi … … 44512 63280 - 44513 63281 -cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE 44514 +fi 44515 63282 - 44516 63283 -cf_save_CFLAGS="$CFLAGS" 44517 63284 -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'` 44518 63294 + ;; 44519 63295 +netbsd*) #(vi … … 44542 63318 +*) 44543 63319 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:3 299: checking if we should define _XOPEN_SOURCE" >&563320 -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 44548 63324 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 44549 63325 +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> 44556 63336 + 44557 63337 +#include <stdlib.h> … … 44571 63351 +_ACEOF 44572 63352 +rm -f conftest.$ac_objext 44573 +if { (eval echo "$as_me:33 25: \"$ac_compile\"") >&563353 +if { (eval echo "$as_me:3334: \"$ac_compile\"") >&5 44574 63354 + (eval $ac_compile) 2>&5 44575 63355 + ac_status=$? 44576 + echo "$as_me:33 28: \$? = $ac_status" >&563356 + echo "$as_me:3337: \$? = $ac_status" >&5 44577 63357 + (exit $ac_status); } && 44578 63358 + { ac_try='test -s conftest.$ac_objext' 44579 + { (eval echo "$as_me:33 31: \"$ac_try\"") >&563359 + { (eval echo "$as_me:3340: \"$ac_try\"") >&5 44580 63360 + (eval $ac_try) 2>&5 44581 63361 + ac_status=$? 44582 + echo "$as_me:33 34: \$? = $ac_status" >&563362 + echo "$as_me:3343: \$? = $ac_status" >&5 44583 63363 + (exit $ac_status); }; }; then 44584 63364 + cf_cv_xopen_source=no … … 44589 63369 + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" 44590 63370 + cat >conftest.$ac_ext <<_ACEOF 44591 +#line 33 43"configure"63371 +#line 3352 "configure" 44592 63372 +#include "confdefs.h" 44593 63373 + … … 44608 63388 +_ACEOF 44609 63389 +rm -f conftest.$ac_objext 44610 +if { (eval echo "$as_me:33 62: \"$ac_compile\"") >&563390 +if { (eval echo "$as_me:3371: \"$ac_compile\"") >&5 44611 63391 + (eval $ac_compile) 2>&5 44612 63392 + ac_status=$? 44613 + echo "$as_me:33 65: \$? = $ac_status" >&563393 + echo "$as_me:3374: \$? = $ac_status" >&5 44614 63394 + (exit $ac_status); } && 44615 63395 + { ac_try='test -s conftest.$ac_objext' 44616 + { (eval echo "$as_me:33 68: \"$ac_try\"") >&563396 + { (eval echo "$as_me:3377: \"$ac_try\"") >&5 44617 63397 + (eval $ac_try) 2>&5 44618 63398 + ac_status=$? 44619 + echo "$as_me:33 71: \$? = $ac_status" >&563399 + echo "$as_me:3380: \$? = $ac_status" >&5 44620 63400 + (exit $ac_status); }; }; then 44621 63401 + cf_cv_xopen_source=no … … 44632 63412 + 44633 63413 +fi 44634 +echo "$as_me:33 86: result: $cf_cv_xopen_source" >&563414 +echo "$as_me:3395: result: $cf_cv_xopen_source" >&5 44635 63415 +echo "${ECHO_T}$cf_cv_xopen_source" >&6 44636 63416 + … … 44735 63515 + sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ 44736 63516 + -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> 44757 63534 int 44758 @@ -3189,16 +3515,16 @@ 63535 main () 63536 { 63537 @@ -3189,16 +3524,16 @@ 44759 63538 } 44760 63539 _ACEOF 44761 63540 rm -f conftest.$ac_objext 44762 63541 -if { (eval echo "$as_me:3192: \"$ac_compile\"") >&5 44763 +if { (eval echo "$as_me:35 18: \"$ac_compile\"") >&563542 +if { (eval echo "$as_me:3527: \"$ac_compile\"") >&5 44764 63543 (eval $ac_compile) 2>&5 44765 63544 ac_status=$? 44766 63545 - echo "$as_me:3195: \$? = $ac_status" >&5 44767 + echo "$as_me:35 21: \$? = $ac_status" >&563546 + echo "$as_me:3530: \$? = $ac_status" >&5 44768 63547 (exit $ac_status); } && 44769 63548 { ac_try='test -s conftest.$ac_objext' 44770 63549 - { (eval echo "$as_me:3198: \"$ac_try\"") >&5 44771 + { (eval echo "$as_me:35 24: \"$ac_try\"") >&563550 + { (eval echo "$as_me:3533: \"$ac_try\"") >&5 44772 63551 (eval $ac_try) 2>&5 44773 63552 ac_status=$? 44774 63553 - echo "$as_me:3201: \$? = $ac_status" >&5 44775 + echo "$as_me:35 27: \$? = $ac_status" >&563554 + echo "$as_me:3536: \$? = $ac_status" >&5 44776 63555 (exit $ac_status); }; }; then 44777 63556 cf_cv_posix_c_source=no 44778 63557 else 44779 @@ -3219,7 +35 45,7 @@63558 @@ -3219,7 +3554,7 @@ 44780 63559 esac 44781 63560 if test "$cf_want_posix_source" = yes ; then 44782 63561 cat >conftest.$ac_ext <<_ACEOF 44783 63562 -#line 3222 "configure" 44784 +#line 35 48"configure"63563 +#line 3557 "configure" 44785 63564 #include "confdefs.h" 44786 63565 #include <sys/types.h> 44787 63566 int 44788 @@ -3234,16 +356 0,16 @@63567 @@ -3234,16 +3569,16 @@ 44789 63568 } 44790 63569 _ACEOF 44791 63570 rm -f conftest.$ac_objext 44792 63571 -if { (eval echo "$as_me:3237: \"$ac_compile\"") >&5 44793 +if { (eval echo "$as_me:35 63: \"$ac_compile\"") >&563572 +if { (eval echo "$as_me:3572: \"$ac_compile\"") >&5 44794 63573 (eval $ac_compile) 2>&5 44795 63574 ac_status=$? 44796 63575 - echo "$as_me:3240: \$? = $ac_status" >&5 44797 + echo "$as_me:35 66: \$? = $ac_status" >&563576 + echo "$as_me:3575: \$? = $ac_status" >&5 44798 63577 (exit $ac_status); } && 44799 63578 { ac_try='test -s conftest.$ac_objext' 44800 63579 - { (eval echo "$as_me:3243: \"$ac_try\"") >&5 44801 + { (eval echo "$as_me:35 69: \"$ac_try\"") >&563580 + { (eval echo "$as_me:3578: \"$ac_try\"") >&5 44802 63581 (eval $ac_try) 2>&5 44803 63582 ac_status=$? 44804 63583 - echo "$as_me:3246: \$? = $ac_status" >&5 44805 + echo "$as_me:35 72: \$? = $ac_status" >&563584 + echo "$as_me:3581: \$? = $ac_status" >&5 44806 63585 (exit $ac_status); }; }; then 44807 63586 : 44808 63587 else 44809 @@ -3254,15 +358 0,15 @@63588 @@ -3254,15 +3589,15 @@ 44810 63589 rm -f conftest.$ac_objext conftest.$ac_ext 44811 63590 fi 44812 63591 44813 63592 -echo "${as_me:-configure}:3257: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 44814 +echo "${as_me:-configure}:35 83: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&563593 +echo "${as_me:-configure}:3592: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 44815 63594 44816 63595 CFLAGS="$cf_trim_CFLAGS" … … 44818 63597 44819 63598 -echo "${as_me:-configure}:3262: testing if the second compile does not leave our definition intact error ..." 1>&5 44820 +echo "${as_me:-configure}:35 88: testing if the second compile does not leave our definition intact error ..." 1>&563599 +echo "${as_me:-configure}:3597: testing if the second compile does not leave our definition intact error ..." 1>&5 44821 63600 44822 63601 cat >conftest.$ac_ext <<_ACEOF 44823 63602 -#line 3265 "configure" 44824 +#line 3 591"configure"63603 +#line 3600 "configure" 44825 63604 #include "confdefs.h" 44826 63605 #include <sys/types.h> 44827 63606 int 44828 @@ -3277,16 +36 03,16 @@63607 @@ -3277,16 +3612,16 @@ 44829 63608 } 44830 63609 _ACEOF 44831 63610 rm -f conftest.$ac_objext 44832 63611 -if { (eval echo "$as_me:3280: \"$ac_compile\"") >&5 44833 +if { (eval echo "$as_me:36 06: \"$ac_compile\"") >&563612 +if { (eval echo "$as_me:3615: \"$ac_compile\"") >&5 44834 63613 (eval $ac_compile) 2>&5 44835 63614 ac_status=$? 44836 63615 - echo "$as_me:3283: \$? = $ac_status" >&5 44837 + echo "$as_me:36 09: \$? = $ac_status" >&563616 + echo "$as_me:3618: \$? = $ac_status" >&5 44838 63617 (exit $ac_status); } && 44839 63618 { ac_try='test -s conftest.$ac_objext' 44840 63619 - { (eval echo "$as_me:3286: \"$ac_try\"") >&5 44841 + { (eval echo "$as_me:36 12: \"$ac_try\"") >&563620 + { (eval echo "$as_me:3621: \"$ac_try\"") >&5 44842 63621 (eval $ac_try) 2>&5 44843 63622 ac_status=$? 44844 63623 - echo "$as_me:3289: \$? = $ac_status" >&5 44845 + echo "$as_me:36 15: \$? = $ac_status" >&563624 + echo "$as_me:3624: \$? = $ac_status" >&5 44846 63625 (exit $ac_status); }; }; then 44847 63626 : 44848 63627 else 44849 @@ -3302,7 +36 28,7 @@63628 @@ -3302,7 +3637,7 @@ 44850 63629 rm -f conftest.$ac_objext conftest.$ac_ext 44851 63630 44852 63631 fi 44853 63632 -echo "$as_me:3305: result: $cf_cv_posix_c_source" >&5 44854 +echo "$as_me:36 31: result: $cf_cv_posix_c_source" >&563633 +echo "$as_me:3640: result: $cf_cv_posix_c_source" >&5 44855 63634 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 44856 63635 44857 63636 if test "$cf_cv_posix_c_source" != no ; then 44858 @@ -3474,1 12 +3800,379@@63637 @@ -3474,104 +3809,371 @@ 44859 63638 44860 63639 fi … … 44870 63649 -#line 3485 "configure" 44871 63650 +if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then 44872 + echo "$as_me:38 04: checking if _XOPEN_SOURCE really is set" >&563651 + echo "$as_me:3813: checking if _XOPEN_SOURCE really is set" >&5 44873 63652 +echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 44874 63653 + cat >conftest.$ac_ext <<_ACEOF 44875 +#line 38 07"configure"63654 +#line 3816 "configure" 44876 63655 #include "confdefs.h" 44877 63656 -#include <stdarg.h> … … 44929 63708 -if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5 44930 63709 +rm -f conftest.$ac_objext 44931 +if { (eval echo "$as_me:38 22: \"$ac_compile\"") >&563710 +if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5 44932 63711 (eval $ac_compile) 2>&5 44933 63712 ac_status=$? 44934 63713 - echo "$as_me:3537: \$? = $ac_status" >&5 44935 + echo "$as_me:38 25: \$? = $ac_status" >&563714 + echo "$as_me:3834: \$? = $ac_status" >&5 44936 63715 (exit $ac_status); } && 44937 63716 { ac_try='test -s conftest.$ac_objext' 44938 63717 - { (eval echo "$as_me:3540: \"$ac_try\"") >&5 44939 + { (eval echo "$as_me:38 28: \"$ac_try\"") >&563718 + { (eval echo "$as_me:3837: \"$ac_try\"") >&5 44940 63719 (eval $ac_try) 2>&5 44941 63720 ac_status=$? 44942 63721 - echo "$as_me:3543: \$? = $ac_status" >&5 44943 + echo "$as_me:38 31: \$? = $ac_status" >&563722 + echo "$as_me:3840: \$? = $ac_status" >&5 44944 63723 (exit $ac_status); }; }; then 44945 63724 - ac_cv_prog_cc_stdc=$ac_arg … … 44957 63736 - 44958 63737 -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 44960 63751 -case "x$ac_cv_prog_cc_stdc" in 44961 63752 - x|xno) 44962 63753 - echo "$as_me:3560: result: none needed" >&5 44963 63754 -echo "${ECHO_T}none needed" >&6 ;; 44964 - *)44965 - echo "$as_me:3563: result: $ac_cv_prog_cc_stdc" >&544966 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&644967 - CC="$CC $ac_cv_prog_cc_stdc" ;;44968 -esac44969 -44970 -echo "$as_me:3568: checking for an ANSI C-conforming const" >&544971 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&644972 -if test "${ac_cv_c_const+set}" = set; then44973 - echo $ECHO_N "(cached) $ECHO_C" >&644974 -else44975 - cat >conftest.$ac_ext <<_ACEOF44976 -#line 3574 "configure"44977 +rm -f conftest.$ac_objext conftest.$ac_ext44978 + echo "$as_me:3840: result: $cf_XOPEN_SOURCE_set" >&544979 +echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&644980 + if test $cf_XOPEN_SOURCE_set = yes44981 + then44982 + cat >conftest.$ac_ext <<_ACEOF44983 +#line 3845 "configure"44984 #include "confdefs.h"44985 -44986 +#include <stdlib.h>44987 int44988 main ()44989 {44990 -/* FIXME: Include the comments suggested by Paul. */44991 -#ifndef __cplusplus44992 - /* Ultrix mips cc rejects this. */44993 +44994 63755 +#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE 44995 63756 +make an error … … 45000 63761 +_ACEOF 45001 63762 +rm -f conftest.$ac_objext 45002 +if { (eval echo "$as_me:386 0: \"$ac_compile\"") >&563763 +if { (eval echo "$as_me:3869: \"$ac_compile\"") >&5 45003 63764 + (eval $ac_compile) 2>&5 45004 63765 + ac_status=$? 45005 + echo "$as_me:38 63: \$? = $ac_status" >&563766 + echo "$as_me:3872: \$? = $ac_status" >&5 45006 63767 + (exit $ac_status); } && 45007 63768 + { ac_try='test -s conftest.$ac_objext' 45008 + { (eval echo "$as_me:38 66: \"$ac_try\"") >&563769 + { (eval echo "$as_me:3875: \"$ac_try\"") >&5 45009 63770 + (eval $ac_try) 2>&5 45010 63771 + ac_status=$? 45011 + echo "$as_me:38 69: \$? = $ac_status" >&563772 + echo "$as_me:3878: \$? = $ac_status" >&5 45012 63773 + (exit $ac_status); }; }; then 45013 63774 + cf_XOPEN_SOURCE_set_ok=yes … … 45020 63781 + if test $cf_XOPEN_SOURCE_set_ok = no 45021 63782 + then 45022 + { echo "$as_me:388 0: WARNING: _XOPEN_SOURCE is lower than requested" >&563783 + { echo "$as_me:3889: WARNING: _XOPEN_SOURCE is lower than requested" >&5 45023 63784 +echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} 45024 63785 + fi 45025 63786 + else 45026 63787 + 45027 +echo "$as_me:38 85: checking if we should define _XOPEN_SOURCE" >&563788 +echo "$as_me:3894: checking if we should define _XOPEN_SOURCE" >&5 45028 63789 +echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 45029 63790 +if test "${cf_cv_xopen_source+set}" = set; then … … 45032 63793 + 45033 63794 + cat >conftest.$ac_ext <<_ACEOF 45034 +#line 3 892"configure"63795 +#line 3901 "configure" 45035 63796 +#include "confdefs.h" 45036 63797 + … … 45051 63812 +_ACEOF 45052 63813 +rm -f conftest.$ac_objext 45053 +if { (eval echo "$as_me:39 11: \"$ac_compile\"") >&563814 +if { (eval echo "$as_me:3920: \"$ac_compile\"") >&5 45054 63815 + (eval $ac_compile) 2>&5 45055 63816 + ac_status=$? 45056 + echo "$as_me:39 14: \$? = $ac_status" >&563817 + echo "$as_me:3923: \$? = $ac_status" >&5 45057 63818 + (exit $ac_status); } && 45058 63819 + { ac_try='test -s conftest.$ac_objext' 45059 + { (eval echo "$as_me:39 17: \"$ac_try\"") >&563820 + { (eval echo "$as_me:3926: \"$ac_try\"") >&5 45060 63821 + (eval $ac_try) 2>&5 45061 63822 + ac_status=$? 45062 + echo "$as_me:392 0: \$? = $ac_status" >&563823 + echo "$as_me:3929: \$? = $ac_status" >&5 45063 63824 + (exit $ac_status); }; }; then 45064 63825 + cf_cv_xopen_source=no … … 45069 63830 + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" 45070 63831 + cat >conftest.$ac_ext <<_ACEOF 45071 +#line 39 29"configure"63832 +#line 3938 "configure" 45072 63833 +#include "confdefs.h" 45073 63834 + … … 45088 63849 +_ACEOF 45089 63850 +rm -f conftest.$ac_objext 45090 +if { (eval echo "$as_me:39 48: \"$ac_compile\"") >&563851 +if { (eval echo "$as_me:3957: \"$ac_compile\"") >&5 45091 63852 + (eval $ac_compile) 2>&5 45092 63853 + ac_status=$? 45093 + echo "$as_me:39 51: \$? = $ac_status" >&563854 + echo "$as_me:3960: \$? = $ac_status" >&5 45094 63855 + (exit $ac_status); } && 45095 63856 + { ac_try='test -s conftest.$ac_objext' 45096 + { (eval echo "$as_me:39 54: \"$ac_try\"") >&563857 + { (eval echo "$as_me:3963: \"$ac_try\"") >&5 45097 63858 + (eval $ac_try) 2>&5 45098 63859 + ac_status=$? 45099 + echo "$as_me:39 57: \$? = $ac_status" >&563860 + echo "$as_me:3966: \$? = $ac_status" >&5 45100 63861 + (exit $ac_status); }; }; then 45101 63862 + cf_cv_xopen_source=no … … 45112 63873 + 45113 63874 +fi 45114 +echo "$as_me:39 72: result: $cf_cv_xopen_source" >&563875 +echo "$as_me:3981: result: $cf_cv_xopen_source" >&5 45115 63876 +echo "${ECHO_T}$cf_cv_xopen_source" >&6 45116 63877 + … … 45210 63971 +fi 45211 63972 + 45212 +echo "$as_me:407 0: checking for $CC option to accept ANSI C" >&563973 +echo "$as_me:4079: checking for $CC option to accept ANSI C" >&5 45213 63974 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 45214 63975 +if test "${ac_cv_prog_cc_stdc+set}" = set; then … … 45218 63979 +ac_save_CC=$CC 45219 63980 +cat >conftest.$ac_ext <<_ACEOF 45220 +#line 40 78"configure"63981 +#line 4087 "configure" 45221 63982 +#include "confdefs.h" 45222 63983 +#include <stdarg.h> … … 45267 64028 + CC="$ac_save_CC $ac_arg" 45268 64029 + rm -f conftest.$ac_objext 45269 +if { (eval echo "$as_me:41 27: \"$ac_compile\"") >&564030 +if { (eval echo "$as_me:4136: \"$ac_compile\"") >&5 45270 64031 + (eval $ac_compile) 2>&5 45271 64032 + ac_status=$? 45272 + echo "$as_me:413 0: \$? = $ac_status" >&564033 + echo "$as_me:4139: \$? = $ac_status" >&5 45273 64034 + (exit $ac_status); } && 45274 64035 + { ac_try='test -s conftest.$ac_objext' 45275 + { (eval echo "$as_me:41 33: \"$ac_try\"") >&564036 + { (eval echo "$as_me:4142: \"$ac_try\"") >&5 45276 64037 + (eval $ac_try) 2>&5 45277 64038 + ac_status=$? 45278 + echo "$as_me:41 36: \$? = $ac_status" >&564039 + echo "$as_me:4145: \$? = $ac_status" >&5 45279 64040 + (exit $ac_status); }; }; then 45280 64041 + ac_cv_prog_cc_stdc=$ac_arg … … 45293 64054 +case "x$ac_cv_prog_cc_stdc" in 45294 64055 + x|xno) 45295 + echo "$as_me:41 53: result: none needed" >&564056 + echo "$as_me:4162: result: none needed" >&5 45296 64057 +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 @@ 45322 64078 } 45323 64079 _ACEOF 45324 64080 rm -f conftest.$ac_objext 45325 64081 -if { (eval echo "$as_me:3632: \"$ac_compile\"") >&5 45326 +if { (eval echo "$as_me:42 25: \"$ac_compile\"") >&564082 +if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5 45327 64083 (eval $ac_compile) 2>&5 45328 64084 ac_status=$? 45329 64085 - echo "$as_me:3635: \$? = $ac_status" >&5 45330 + echo "$as_me:42 28: \$? = $ac_status" >&564086 + echo "$as_me:4237: \$? = $ac_status" >&5 45331 64087 (exit $ac_status); } && 45332 64088 { ac_try='test -s conftest.$ac_objext' 45333 64089 - { (eval echo "$as_me:3638: \"$ac_try\"") >&5 45334 + { (eval echo "$as_me:42 31: \"$ac_try\"") >&564090 + { (eval echo "$as_me:4240: \"$ac_try\"") >&5 45335 64091 (eval $ac_try) 2>&5 45336 64092 ac_status=$? 45337 64093 - echo "$as_me:3641: \$? = $ac_status" >&5 45338 + echo "$as_me:42 34: \$? = $ac_status" >&564094 + echo "$as_me:4243: \$? = $ac_status" >&5 45339 64095 (exit $ac_status); }; }; then 45340 64096 ac_cv_c_const=yes 45341 64097 else 45342 @@ -3648,7 +42 41,7 @@64098 @@ -3648,7 +4250,7 @@ 45343 64099 fi 45344 64100 rm -f conftest.$ac_objext conftest.$ac_ext 45345 64101 fi 45346 64102 -echo "$as_me:3651: result: $ac_cv_c_const" >&5 45347 +echo "$as_me:42 44: result: $ac_cv_c_const" >&564103 +echo "$as_me:4253: result: $ac_cv_c_const" >&5 45348 64104 echo "${ECHO_T}$ac_cv_c_const" >&6 45349 64105 if test $ac_cv_c_const = no; then 45350 64106 45351 @@ -3658,7 +42 51,7 @@64107 @@ -3658,7 +4260,7 @@ 45352 64108 45353 64109 fi 45354 64110 45355 64111 -echo "$as_me:3661: checking for signal global datatype" >&5 45356 +echo "$as_me:42 54: checking for signal global datatype" >&564112 +echo "$as_me:4263: checking for signal global datatype" >&5 45357 64113 echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 45358 64114 if test "${cf_cv_sig_atomic_t+set}" = set; then 45359 64115 echo $ECHO_N "(cached) $ECHO_C" >&6 45360 @@ -3670,7 +42 63,7 @@64116 @@ -3670,7 +4272,7 @@ 45361 64117 "int" 45362 64118 do 45363 64119 cat >conftest.$ac_ext <<_ACEOF 45364 64120 -#line 3673 "configure" 45365 +#line 42 66"configure"64121 +#line 4275 "configure" 45366 64122 #include "confdefs.h" 45367 64123 45368 64124 #include <sys/types.h> 45369 @@ -3693,16 +42 86,16 @@64125 @@ -3693,16 +4295,16 @@ 45370 64126 } 45371 64127 _ACEOF 45372 64128 rm -f conftest.$ac_objext 45373 64129 -if { (eval echo "$as_me:3696: \"$ac_compile\"") >&5 45374 +if { (eval echo "$as_me:42 89: \"$ac_compile\"") >&564130 +if { (eval echo "$as_me:4298: \"$ac_compile\"") >&5 45375 64131 (eval $ac_compile) 2>&5 45376 64132 ac_status=$? 45377 64133 - echo "$as_me:3699: \$? = $ac_status" >&5 45378 + echo "$as_me:4 292: \$? = $ac_status" >&564134 + echo "$as_me:4301: \$? = $ac_status" >&5 45379 64135 (exit $ac_status); } && 45380 64136 { ac_try='test -s conftest.$ac_objext' 45381 64137 - { (eval echo "$as_me:3702: \"$ac_try\"") >&5 45382 + { (eval echo "$as_me:4 295: \"$ac_try\"") >&564138 + { (eval echo "$as_me:4304: \"$ac_try\"") >&5 45383 64139 (eval $ac_try) 2>&5 45384 64140 ac_status=$? 45385 64141 - echo "$as_me:3705: \$? = $ac_status" >&5 45386 + echo "$as_me:4 298: \$? = $ac_status" >&564142 + echo "$as_me:4307: \$? = $ac_status" >&5 45387 64143 (exit $ac_status); }; }; then 45388 64144 cf_cv_sig_atomic_t=$cf_type 45389 64145 else 45390 @@ -3716,13 +43 09,13 @@64146 @@ -3716,13 +4318,13 @@ 45391 64147 45392 64148 fi 45393 64149 45394 64150 -echo "$as_me:3719: result: $cf_cv_sig_atomic_t" >&5 45395 +echo "$as_me:43 12: result: $cf_cv_sig_atomic_t" >&564151 +echo "$as_me:4321: result: $cf_cv_sig_atomic_t" >&5 45396 64152 echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 45397 64153 test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <<EOF … … 45400 64156 45401 64157 -echo "$as_me:3725: checking if you want to see long compiling messages" >&5 45402 +echo "$as_me:43 18: checking if you want to see long compiling messages" >&564158 +echo "$as_me:4327: checking if you want to see long compiling messages" >&5 45403 64159 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6 45404 64160 45405 64161 # Check whether --enable-echo or --disable-echo was given. 45406 @@ -3756,22 +43 49,22 @@64162 @@ -3756,22 +4358,22 @@ 45407 64163 ECHO_CC='' 45408 64164 45409 64165 fi; 45410 64166 -echo "$as_me:3759: result: $enableval" >&5 45411 +echo "$as_me:43 52: result: $enableval" >&564167 +echo "$as_me:4361: result: $enableval" >&5 45412 64168 echo "${ECHO_T}$enableval" >&6 45413 64169 … … 45415 64171 if test "$GCC" = yes ; then 45416 64172 - echo "$as_me:3764: checking version of $CC" >&5 45417 + echo "$as_me:43 57: checking version of $CC" >&564173 + echo "$as_me:4366: checking version of $CC" >&5 45418 64174 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 45419 64175 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" 45420 64176 test -z "$GCC_VERSION" && GCC_VERSION=unknown 45421 64177 - echo "$as_me:3768: result: $GCC_VERSION" >&5 45422 + echo "$as_me:43 61: result: $GCC_VERSION" >&564178 + echo "$as_me:4370: result: $GCC_VERSION" >&5 45423 64179 echo "${ECHO_T}$GCC_VERSION" >&6 45424 64180 fi … … 45427 64183 then 45428 64184 -echo "$as_me:3774: checking if you want to turn on gcc warnings" >&5 45429 +echo "$as_me:43 67: checking if you want to turn on gcc warnings" >&564185 +echo "$as_me:4376: checking if you want to turn on gcc warnings" >&5 45430 64186 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 45431 64187 45432 64188 # Check whether --enable-warnings or --disable-warnings was given. 45433 @@ -3788,7 +43 81,7 @@64189 @@ -3788,7 +4390,7 @@ 45434 64190 with_warnings=no 45435 64191 45436 64192 fi; 45437 64193 -echo "$as_me:3791: result: $with_warnings" >&5 45438 +echo "$as_me:43 84: result: $with_warnings" >&564194 +echo "$as_me:4393: result: $with_warnings" >&5 45439 64195 echo "${ECHO_T}$with_warnings" >&6 45440 64196 if test "$with_warnings" = "yes" 45441 64197 then 45442 @@ -3811,10 +44 04,10 @@64198 @@ -3811,10 +4413,10 @@ 45443 64199 EOF 45444 64200 if test "$GCC" = yes 45445 64201 then 45446 64202 - { echo "$as_me:3814: checking for $CC __attribute__ directives..." >&5 45447 + { echo "$as_me:44 07: checking for $CC __attribute__ directives..." >&564203 + { echo "$as_me:4416: checking for $CC __attribute__ directives..." >&5 45448 64204 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} 45449 64205 cat > conftest.$ac_ext <<EOF 45450 64206 -#line 3817 "${as_me:-configure}" 45451 +#line 441 0"${as_me:-configure}"64207 +#line 4419 "${as_me:-configure}" 45452 64208 #include "confdefs.h" 45453 64209 #include "conftest.h" 45454 64210 #include "conftest.i" 45455 @@ -3863,12 +44 56,12 @@64211 @@ -3863,12 +4465,12 @@ 45456 64212 ;; 45457 64213 esac 45458 64214 45459 64215 - if { (eval echo "$as_me:3866: \"$ac_compile\"") >&5 45460 + if { (eval echo "$as_me:44 59: \"$ac_compile\"") >&564216 + if { (eval echo "$as_me:4468: \"$ac_compile\"") >&5 45461 64217 (eval $ac_compile) 2>&5 45462 64218 ac_status=$? 45463 64219 - echo "$as_me:3869: \$? = $ac_status" >&5 45464 + echo "$as_me:44 62: \$? = $ac_status" >&564220 + echo "$as_me:4471: \$? = $ac_status" >&5 45465 64221 (exit $ac_status); }; then 45466 64222 - test -n "$verbose" && echo "$as_me:3871: result: ... $cf_attribute" >&5 45467 + test -n "$verbose" && echo "$as_me:44 64: result: ... $cf_attribute" >&564223 + test -n "$verbose" && echo "$as_me:4473: result: ... $cf_attribute" >&5 45468 64224 echo "${ECHO_T}... $cf_attribute" >&6 45469 64225 cat conftest.h >>confdefs.h 45470 64226 case $cf_attribute in #(vi 45471 @@ -3908,1 2 +4501,12@@64227 @@ -3908,19 +4510,70 @@ 45472 64228 if test "$GCC" = yes ; then 45473 64229 case $host_os in 45474 64230 linux*|gnu*) 45475 64231 - echo "$as_me:3911: checking if this is really Intel C compiler" >&5 45476 + echo "$as_me:45 04: checking if this is really Intel C compiler" >&564232 + echo "$as_me:4513: checking if this is really Intel C compiler" >&5 45477 64233 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 45478 64234 cf_save_CFLAGS="$CFLAGS" … … 45480 64236 cat >conftest.$ac_ext <<_ACEOF 45481 64237 -#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" 45483 64290 #include "confdefs.h" 45484 64291 45485 64292 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 @@ 45487 64302 } 45488 64303 _ACEOF 45489 64304 rm -f conftest.$ac_objext 45490 64305 -if { (eval echo "$as_me:3933: \"$ac_compile\"") >&5 45491 +if { (eval echo "$as_me:45 26: \"$ac_compile\"") >&564306 +if { (eval echo "$as_me:4586: \"$ac_compile\"") >&5 45492 64307 (eval $ac_compile) 2>&5 45493 64308 ac_status=$? 45494 64309 - echo "$as_me:3936: \$? = $ac_status" >&5 45495 + echo "$as_me:45 29: \$? = $ac_status" >&564310 + echo "$as_me:4589: \$? = $ac_status" >&5 45496 64311 (exit $ac_status); } && 45497 64312 { ac_try='test -s conftest.$ac_objext' 45498 64313 - { (eval echo "$as_me:3939: \"$ac_try\"") >&5 45499 + { (eval echo "$as_me:45 32: \"$ac_try\"") >&564314 + { (eval echo "$as_me:4592: \"$ac_try\"") >&5 45500 64315 (eval $ac_try) 2>&5 45501 64316 ac_status=$? 45502 64317 - echo "$as_me:3942: \$? = $ac_status" >&5 45503 + echo "$as_me:45 35: \$? = $ac_status" >&564318 + echo "$as_me:4595: \$? = $ac_status" >&5 45504 64319 (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 45508 64328 fi 45509 64329 rm -f conftest.$ac_objext conftest.$ac_ext 45510 64330 - CFLAGS="$cf_save_CFLAGS" 45511 64331 - 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 45516 64338 fi 45517 64339 45518 64340 cat > conftest.$ac_ext <<EOF 45519 64341 -#line 3960 "${as_me:-configure}" 45520 +#line 4 553"${as_me:-configure}"64342 +#line 4611 "${as_me:-configure}" 45521 64343 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } 45522 64344 EOF 45523 64345 45524 @@ -3974,7 +4 567,7 @@64346 @@ -3974,7 +4625,7 @@ 45525 64347 # remark #981: operands are evaluated in unspecified order 45526 64348 # warning #279: controlling expression is constant 45527 64349 45528 64350 - { echo "$as_me:3977: checking for $CC warning options..." >&5 45529 + { echo "$as_me:4 570: checking for $CC warning options..." >&564351 + { echo "$as_me:4628: checking for $CC warning options..." >&5 45530 64352 echo "$as_me: checking for $CC warning options..." >&6;} 45531 64353 cf_save_CFLAGS="$CFLAGS" 45532 64354 EXTRA_CFLAGS="-Wall" 45533 @@ -3990,12 +4 583,12 @@64355 @@ -3990,12 +4641,12 @@ 45534 64356 wd981 45535 64357 do 45536 64358 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 45537 64359 - if { (eval echo "$as_me:3993: \"$ac_compile\"") >&5 45538 + if { (eval echo "$as_me:4 586: \"$ac_compile\"") >&564360 + if { (eval echo "$as_me:4644: \"$ac_compile\"") >&5 45539 64361 (eval $ac_compile) 2>&5 45540 64362 ac_status=$? 45541 64363 - echo "$as_me:3996: \$? = $ac_status" >&5 45542 + echo "$as_me:4 589: \$? = $ac_status" >&564364 + echo "$as_me:4647: \$? = $ac_status" >&5 45543 64365 (exit $ac_status); }; then 45544 64366 - test -n "$verbose" && echo "$as_me:3998: result: ... -$cf_opt" >&5 45545 + test -n "$verbose" && echo "$as_me:4 591: result: ... -$cf_opt" >&564367 + test -n "$verbose" && echo "$as_me:4649: result: ... -$cf_opt" >&5 45546 64368 echo "${ECHO_T}... -$cf_opt" >&6 45547 64369 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" 45548 64370 fi 45549 @@ -4004,7 +4 597,7 @@64371 @@ -4004,7 +4655,7 @@ 45550 64372 45551 64373 elif test "$GCC" = yes 45552 64374 then 45553 64375 - { echo "$as_me:4007: checking for $CC warning options..." >&5 45554 + { echo "$as_me:46 00: checking for $CC warning options..." >&564376 + { echo "$as_me:4658: checking for $CC warning options..." >&5 45555 64377 echo "$as_me: checking for $CC warning options..." >&6;} 45556 64378 cf_save_CFLAGS="$CFLAGS" 45557 64379 EXTRA_CFLAGS= 45558 @@ -4024,12 +46 17,12 @@64380 @@ -4024,12 +4675,12 @@ 45559 64381 Wundef $cf_warn_CONST 45560 64382 do 45561 64383 CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" 45562 64384 - if { (eval echo "$as_me:4027: \"$ac_compile\"") >&5 45563 + if { (eval echo "$as_me:46 20: \"$ac_compile\"") >&564385 + if { (eval echo "$as_me:4678: \"$ac_compile\"") >&5 45564 64386 (eval $ac_compile) 2>&5 45565 64387 ac_status=$? 45566 64388 - echo "$as_me:4030: \$? = $ac_status" >&5 45567 + echo "$as_me:46 23: \$? = $ac_status" >&564389 + echo "$as_me:4681: \$? = $ac_status" >&5 45568 64390 (exit $ac_status); }; then 45569 64391 - test -n "$verbose" && echo "$as_me:4032: result: ... -$cf_opt" >&5 45570 + test -n "$verbose" && echo "$as_me:46 25: result: ... -$cf_opt" >&564392 + test -n "$verbose" && echo "$as_me:4683: result: ... -$cf_opt" >&5 45571 64393 echo "${ECHO_T}... -$cf_opt" >&6 45572 64394 case $cf_opt in #(vi 45573 64395 Wcast-qual) #(vi 45574 @@ -4040,7 +46 33,7 @@64396 @@ -4040,7 +4691,17 @@ 45575 64397 [34].*) 45576 64398 test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 45577 64399 45578 64400 -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 45580 64412 45581 64413 continue;; 45582 64414 esac 45583 @@ -4056,7 +4 649,7 @@64415 @@ -4056,7 +4717,7 @@ 45584 64416 fi 45585 64417 fi 45586 64418 45587 64419 -echo "$as_me:4059: checking if you want to use dmalloc for testing" >&5 45588 +echo "$as_me:4 652: checking if you want to use dmalloc for testing" >&564420 +echo "$as_me:4720: checking if you want to use dmalloc for testing" >&5 45589 64421 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 45590 64422 45591 64423 # Check whether --with-dmalloc or --without-dmalloc was given. 45592 @@ -4072,7 +4 665,7 @@64424 @@ -4072,7 +4733,7 @@ 45593 64425 else 45594 64426 with_dmalloc= 45595 64427 fi; 45596 64428 -echo "$as_me:4075: result: ${with_dmalloc:-no}" >&5 45597 +echo "$as_me:4 668: result: ${with_dmalloc:-no}" >&564429 +echo "$as_me:4736: result: ${with_dmalloc:-no}" >&5 45598 64430 echo "${ECHO_T}${with_dmalloc:-no}" >&6 45599 64431 45600 64432 case .$with_cflags in #(vi 45601 @@ -4166,23 +4 759,23 @@64433 @@ -4166,23 +4827,23 @@ 45602 64434 esac 45603 64435 45604 64436 if test "$with_dmalloc" = yes ; then 45605 64437 - echo "$as_me:4169: checking for dmalloc.h" >&5 45606 + echo "$as_me:4 762: checking for dmalloc.h" >&564438 + echo "$as_me:4830: checking for dmalloc.h" >&5 45607 64439 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 45608 64440 if test "${ac_cv_header_dmalloc_h+set}" = set; then … … 45611 64443 cat >conftest.$ac_ext <<_ACEOF 45612 64444 -#line 4175 "configure" 45613 +#line 4 768"configure"64445 +#line 4836 "configure" 45614 64446 #include "confdefs.h" 45615 64447 #include <dmalloc.h> 45616 64448 _ACEOF 45617 64449 -if { (eval echo "$as_me:4179: \"$ac_cpp conftest.$ac_ext\"") >&5 45618 +if { (eval echo "$as_me:4 772: \"$ac_cpp conftest.$ac_ext\"") >&564450 +if { (eval echo "$as_me:4840: \"$ac_cpp conftest.$ac_ext\"") >&5 45619 64451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 45620 64452 ac_status=$? … … 45623 64455 cat conftest.err >&5 45624 64456 - echo "$as_me:4185: \$? = $ac_status" >&5 45625 + echo "$as_me:4 778: \$? = $ac_status" >&564457 + echo "$as_me:4846: \$? = $ac_status" >&5 45626 64458 (exit $ac_status); } >/dev/null; then 45627 64459 if test -s conftest.err; then 45628 64460 ac_cpp_err=$ac_c_preproc_warn_flag 45629 @@ -4201,11 +4 794,11 @@64461 @@ -4201,11 +4862,11 @@ 45630 64462 fi 45631 64463 rm -f conftest.err conftest.$ac_ext 45632 64464 fi 45633 64465 -echo "$as_me:4204: result: $ac_cv_header_dmalloc_h" >&5 45634 +echo "$as_me:4 797: result: $ac_cv_header_dmalloc_h" >&564466 +echo "$as_me:4865: result: $ac_cv_header_dmalloc_h" >&5 45635 64467 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 45636 64468 if test $ac_cv_header_dmalloc_h = yes; then 45637 64469 45638 64470 -echo "$as_me:4208: checking for dmalloc_debug in -ldmalloc" >&5 45639 +echo "$as_me:48 01: checking for dmalloc_debug in -ldmalloc" >&564471 +echo "$as_me:4869: checking for dmalloc_debug in -ldmalloc" >&5 45640 64472 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 45641 64473 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then 45642 64474 echo $ECHO_N "(cached) $ECHO_C" >&6 45643 @@ -4213,7 +48 06,7 @@64475 @@ -4213,7 +4874,7 @@ 45644 64476 ac_check_lib_save_LIBS=$LIBS 45645 64477 LIBS="-ldmalloc $LIBS" 45646 64478 cat >conftest.$ac_ext <<_ACEOF 45647 64479 -#line 4216 "configure" 45648 +#line 48 09"configure"64480 +#line 4877 "configure" 45649 64481 #include "confdefs.h" 45650 64482 45651 64483 /* Override any gcc2 internal prototype to avoid an error. */ 45652 @@ -4232,16 +48 25,16 @@64484 @@ -4232,16 +4893,16 @@ 45653 64485 } 45654 64486 _ACEOF 45655 64487 rm -f conftest.$ac_objext conftest$ac_exeext 45656 64488 -if { (eval echo "$as_me:4235: \"$ac_link\"") >&5 45657 +if { (eval echo "$as_me:48 28: \"$ac_link\"") >&564489 +if { (eval echo "$as_me:4896: \"$ac_link\"") >&5 45658 64490 (eval $ac_link) 2>&5 45659 64491 ac_status=$? 45660 64492 - echo "$as_me:4238: \$? = $ac_status" >&5 45661 + echo "$as_me:48 31: \$? = $ac_status" >&564493 + echo "$as_me:4899: \$? = $ac_status" >&5 45662 64494 (exit $ac_status); } && 45663 64495 { ac_try='test -s conftest$ac_exeext' 45664 64496 - { (eval echo "$as_me:4241: \"$ac_try\"") >&5 45665 + { (eval echo "$as_me:4 834: \"$ac_try\"") >&564497 + { (eval echo "$as_me:4902: \"$ac_try\"") >&5 45666 64498 (eval $ac_try) 2>&5 45667 64499 ac_status=$? 45668 64500 - echo "$as_me:4244: \$? = $ac_status" >&5 45669 + echo "$as_me:4 837: \$? = $ac_status" >&564501 + echo "$as_me:4905: \$? = $ac_status" >&5 45670 64502 (exit $ac_status); }; }; then 45671 64503 ac_cv_lib_dmalloc_dmalloc_debug=yes 45672 64504 else 45673 @@ -4252,7 +4 845,7 @@64505 @@ -4252,7 +4913,7 @@ 45674 64506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 45675 64507 LIBS=$ac_check_lib_save_LIBS 45676 64508 fi 45677 64509 -echo "$as_me:4255: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 45678 +echo "$as_me:4 848: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&564510 +echo "$as_me:4916: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 45679 64511 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 45680 64512 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then 45681 64513 cat >>confdefs.h <<EOF 45682 @@ -4267,7 +4 860,7 @@64514 @@ -4267,7 +4928,7 @@ 45683 64515 45684 64516 fi 45685 64517 45686 64518 -echo "$as_me:4270: checking if you want to use dbmalloc for testing" >&5 45687 +echo "$as_me:4 863: checking if you want to use dbmalloc for testing" >&564519 +echo "$as_me:4931: checking if you want to use dbmalloc for testing" >&5 45688 64520 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 45689 64521 45690 64522 # Check whether --with-dbmalloc or --without-dbmalloc was given. 45691 @@ -4283,7 +4 876,7 @@64523 @@ -4283,7 +4944,7 @@ 45692 64524 else 45693 64525 with_dbmalloc= 45694 64526 fi; 45695 64527 -echo "$as_me:4286: result: ${with_dbmalloc:-no}" >&5 45696 +echo "$as_me:4 879: result: ${with_dbmalloc:-no}" >&564528 +echo "$as_me:4947: result: ${with_dbmalloc:-no}" >&5 45697 64529 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 45698 64530 45699 64531 case .$with_cflags in #(vi 45700 @@ -4377,23 + 4970,23 @@64532 @@ -4377,23 +5038,23 @@ 45701 64533 esac 45702 64534 45703 64535 if test "$with_dbmalloc" = yes ; then 45704 64536 - echo "$as_me:4380: checking for dbmalloc.h" >&5 45705 + echo "$as_me: 4973: checking for dbmalloc.h" >&564537 + echo "$as_me:5041: checking for dbmalloc.h" >&5 45706 64538 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 45707 64539 if test "${ac_cv_header_dbmalloc_h+set}" = set; then … … 45710 64542 cat >conftest.$ac_ext <<_ACEOF 45711 64543 -#line 4386 "configure" 45712 +#line 4979"configure"64544 +#line 5047 "configure" 45713 64545 #include "confdefs.h" 45714 64546 #include <dbmalloc.h> 45715 64547 _ACEOF 45716 64548 -if { (eval echo "$as_me:4390: \"$ac_cpp conftest.$ac_ext\"") >&5 45717 +if { (eval echo "$as_me: 4983: \"$ac_cpp conftest.$ac_ext\"") >&564549 +if { (eval echo "$as_me:5051: \"$ac_cpp conftest.$ac_ext\"") >&5 45718 64550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 45719 64551 ac_status=$? … … 45722 64554 cat conftest.err >&5 45723 64555 - echo "$as_me:4396: \$? = $ac_status" >&5 45724 + echo "$as_me: 4989: \$? = $ac_status" >&564556 + echo "$as_me:5057: \$? = $ac_status" >&5 45725 64557 (exit $ac_status); } >/dev/null; then 45726 64558 if test -s conftest.err; then 45727 64559 ac_cpp_err=$ac_c_preproc_warn_flag 45728 @@ -4412,11 +50 05,11 @@64560 @@ -4412,11 +5073,11 @@ 45729 64561 fi 45730 64562 rm -f conftest.err conftest.$ac_ext 45731 64563 fi 45732 64564 -echo "$as_me:4415: result: $ac_cv_header_dbmalloc_h" >&5 45733 +echo "$as_me:50 08: result: $ac_cv_header_dbmalloc_h" >&564565 +echo "$as_me:5076: result: $ac_cv_header_dbmalloc_h" >&5 45734 64566 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 45735 64567 if test $ac_cv_header_dbmalloc_h = yes; then 45736 64568 45737 64569 -echo "$as_me:4419: checking for debug_malloc in -ldbmalloc" >&5 45738 +echo "$as_me:50 12: checking for debug_malloc in -ldbmalloc" >&564570 +echo "$as_me:5080: checking for debug_malloc in -ldbmalloc" >&5 45739 64571 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 45740 64572 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then 45741 64573 echo $ECHO_N "(cached) $ECHO_C" >&6 45742 @@ -4424,7 +50 17,7 @@64574 @@ -4424,7 +5085,7 @@ 45743 64575 ac_check_lib_save_LIBS=$LIBS 45744 64576 LIBS="-ldbmalloc $LIBS" 45745 64577 cat >conftest.$ac_ext <<_ACEOF 45746 64578 -#line 4427 "configure" 45747 +#line 50 20"configure"64579 +#line 5088 "configure" 45748 64580 #include "confdefs.h" 45749 64581 45750 64582 /* Override any gcc2 internal prototype to avoid an error. */ 45751 @@ -4443,16 +5 036,16 @@64583 @@ -4443,16 +5104,16 @@ 45752 64584 } 45753 64585 _ACEOF 45754 64586 rm -f conftest.$ac_objext conftest$ac_exeext 45755 64587 -if { (eval echo "$as_me:4446: \"$ac_link\"") >&5 45756 +if { (eval echo "$as_me:5 039: \"$ac_link\"") >&564588 +if { (eval echo "$as_me:5107: \"$ac_link\"") >&5 45757 64589 (eval $ac_link) 2>&5 45758 64590 ac_status=$? 45759 64591 - echo "$as_me:4449: \$? = $ac_status" >&5 45760 + echo "$as_me:5 042: \$? = $ac_status" >&564592 + echo "$as_me:5110: \$? = $ac_status" >&5 45761 64593 (exit $ac_status); } && 45762 64594 { ac_try='test -s conftest$ac_exeext' 45763 64595 - { (eval echo "$as_me:4452: \"$ac_try\"") >&5 45764 + { (eval echo "$as_me:5 045: \"$ac_try\"") >&564596 + { (eval echo "$as_me:5113: \"$ac_try\"") >&5 45765 64597 (eval $ac_try) 2>&5 45766 64598 ac_status=$? 45767 64599 - echo "$as_me:4455: \$? = $ac_status" >&5 45768 + echo "$as_me:5 048: \$? = $ac_status" >&564600 + echo "$as_me:5116: \$? = $ac_status" >&5 45769 64601 (exit $ac_status); }; }; then 45770 64602 ac_cv_lib_dbmalloc_debug_malloc=yes 45771 64603 else 45772 @@ -4463,7 +5 056,7 @@64604 @@ -4463,7 +5124,7 @@ 45773 64605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 45774 64606 LIBS=$ac_check_lib_save_LIBS 45775 64607 fi 45776 64608 -echo "$as_me:4466: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 45777 +echo "$as_me:5 059: result: $ac_cv_lib_dbmalloc_debug_malloc" >&564609 +echo "$as_me:5127: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 45778 64610 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 45779 64611 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then 45780 64612 cat >>confdefs.h <<EOF 45781 @@ -4478,7 +5 071,7 @@64613 @@ -4478,7 +5139,7 @@ 45782 64614 45783 64615 fi 45784 64616 45785 64617 -echo "$as_me:4481: checking if you want to use valgrind for testing" >&5 45786 +echo "$as_me:5 074: checking if you want to use valgrind for testing" >&564618 +echo "$as_me:5142: checking if you want to use valgrind for testing" >&5 45787 64619 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6 45788 64620 45789 64621 # Check whether --with-valgrind or --without-valgrind was given. 45790 @@ -4494,7 +5 087,7 @@64622 @@ -4494,7 +5155,7 @@ 45791 64623 else 45792 64624 with_valgrind= 45793 64625 fi; 45794 64626 -echo "$as_me:4497: result: ${with_valgrind:-no}" >&5 45795 +echo "$as_me:5 090: result: ${with_valgrind:-no}" >&564627 +echo "$as_me:5158: result: ${with_valgrind:-no}" >&5 45796 64628 echo "${ECHO_T}${with_valgrind:-no}" >&6 45797 64629 45798 64630 case .$with_cflags in #(vi 45799 @@ -4587,7 +5 180,7 @@64631 @@ -4587,7 +5248,7 @@ 45800 64632 ;; 45801 64633 esac 45802 64634 45803 64635 -echo "$as_me:4590: checking if you want to perform memory-leak testing" >&5 45804 +echo "$as_me:5 183: checking if you want to perform memory-leak testing" >&564636 +echo "$as_me:5251: checking if you want to perform memory-leak testing" >&5 45805 64637 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6 45806 64638 45807 64639 # Check whether --enable-leaks or --disable-leaks was given. 45808 @@ -4597,7 +5 190,7 @@64640 @@ -4597,7 +5258,7 @@ 45809 64641 else 45810 64642 : ${with_no_leaks:=no} 45811 64643 fi; 45812 64644 -echo "$as_me:4600: result: $with_no_leaks" >&5 45813 +echo "$as_me:5 193: result: $with_no_leaks" >&564645 +echo "$as_me:5261: result: $with_no_leaks" >&5 45814 64646 echo "${ECHO_T}$with_no_leaks" >&6 45815 64647 45816 64648 if test "$with_no_leaks" = yes ; then 45817 @@ -4611,7 +52 04,27 @@64649 @@ -4611,7 +5272,27 @@ 45818 64650 45819 64651 fi 45820 64652 45821 64653 -echo "$as_me:4614: checking for specific curses-directory" >&5 45822 +echo "$as_me:52 07: checking if you want to check for wide-character functions" >&564654 +echo "$as_me:5275: checking if you want to check for wide-character functions" >&5 45823 64655 +echo $ECHO_N "checking if you want to check for wide-character functions... $ECHO_C" >&6 45824 64656 + … … 45837 64669 + 45838 64670 +fi; 45839 +echo "$as_me:52 24: result: $cf_enable_widec" >&564671 +echo "$as_me:5292: result: $cf_enable_widec" >&5 45840 64672 +echo "${ECHO_T}$cf_enable_widec" >&6 45841 64673 + 45842 +echo "$as_me:52 27: checking for specific curses-directory" >&564674 +echo "$as_me:5295: checking for specific curses-directory" >&5 45843 64675 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6 45844 64676 45845 64677 # Check whether --with-curses-dir or --without-curses-dir was given. 45846 @@ -4621,7 +5 234,7 @@64678 @@ -4621,7 +5302,7 @@ 45847 64679 else 45848 64680 cf_cv_curses_dir=no 45849 64681 fi; 45850 64682 -echo "$as_me:4624: result: $cf_cv_curses_dir" >&5 45851 +echo "$as_me:5 237: result: $cf_cv_curses_dir" >&564683 +echo "$as_me:5305: result: $cf_cv_curses_dir" >&5 45852 64684 echo "${ECHO_T}$cf_cv_curses_dir" >&6 45853 64685 45854 64686 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 @@ 45856 64697 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` 45857 64698 ;; 45858 64699 *) 45859 64700 - { { echo "$as_me:4655: error: expected a pathname, not \"$withval\"" >&5 45860 + { { echo "$as_me:5 268: error: expected a pathname, not \"$withval\"" >&564701 + { { echo "$as_me:5336: error: expected a pathname, not \"$withval\"" >&5 45861 64702 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} 45862 64703 { (exit 1); exit 1; }; } 45863 64704 ;; 45864 @@ -4685,7 +5 298,7 @@64705 @@ -4685,7 +5366,7 @@ 45865 64706 cf_save_CPPFLAGS=$CPPFLAGS 45866 64707 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 45867 64708 cat >conftest.$ac_ext <<_ACEOF 45868 64709 -#line 4688 "configure" 45869 +#line 53 01"configure"64710 +#line 5369 "configure" 45870 64711 #include "confdefs.h" 45871 64712 #include <stdio.h> 45872 64713 int 45873 @@ -4697,16 +53 10,16 @@64714 @@ -4697,16 +5378,16 @@ 45874 64715 } 45875 64716 _ACEOF 45876 64717 rm -f conftest.$ac_objext 45877 64718 -if { (eval echo "$as_me:4700: \"$ac_compile\"") >&5 45878 +if { (eval echo "$as_me:53 13: \"$ac_compile\"") >&564719 +if { (eval echo "$as_me:5381: \"$ac_compile\"") >&5 45879 64720 (eval $ac_compile) 2>&5 45880 64721 ac_status=$? 45881 64722 - echo "$as_me:4703: \$? = $ac_status" >&5 45882 + echo "$as_me:53 16: \$? = $ac_status" >&564723 + echo "$as_me:5384: \$? = $ac_status" >&5 45883 64724 (exit $ac_status); } && 45884 64725 { ac_try='test -s conftest.$ac_objext' 45885 64726 - { (eval echo "$as_me:4706: \"$ac_try\"") >&5 45886 + { (eval echo "$as_me:53 19: \"$ac_try\"") >&564727 + { (eval echo "$as_me:5387: \"$ac_try\"") >&5 45887 64728 (eval $ac_try) 2>&5 45888 64729 ac_status=$? 45889 64730 - echo "$as_me:4709: \$? = $ac_status" >&5 45890 + echo "$as_me:53 22: \$? = $ac_status" >&564731 + echo "$as_me:5390: \$? = $ac_status" >&5 45891 64732 (exit $ac_status); }; }; then 45892 64733 : 45893 64734 else 45894 @@ -4723,7 +5 336,7 @@64735 @@ -4723,7 +5404,7 @@ 45895 64736 if test "$cf_have_incdir" = no ; then 45896 64737 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 45897 64738 45898 64739 -echo "${as_me:-configure}:4726: testing adding $cf_add_incdir to include-path ..." 1>&5 45899 +echo "${as_me:-configure}:5 339: testing adding $cf_add_incdir to include-path ..." 1>&564740 +echo "${as_me:-configure}:5407: testing adding $cf_add_incdir to include-path ..." 1>&5 45900 64741 45901 64742 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 45902 64743 45903 @@ -4757,7 +5 370,7 @@64744 @@ -4757,7 +5438,7 @@ 45904 64745 if test "$cf_have_libdir" = no ; then 45905 64746 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 45906 64747 45907 64748 -echo "${as_me:-configure}:4760: testing adding $cf_add_libdir to library-path ..." 1>&5 45908 +echo "${as_me:-configure}:5 373: testing adding $cf_add_libdir to library-path ..." 1>&564749 +echo "${as_me:-configure}:5441: testing adding $cf_add_libdir to library-path ..." 1>&5 45909 64750 45910 64751 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 45911 64752 fi 45912 @@ -4768,12 +5 381,10 @@64753 @@ -4768,12 +5449,10 @@ 45913 64754 fi 45914 64755 fi … … 45922 64763 +cf_cv_screen=curses 45923 64764 + 45924 +echo "$as_me:5 386: checking for specified curses library type" >&564765 +echo "$as_me:5454: checking for specified curses library type" >&5 45925 64766 +echo $ECHO_N "checking for specified curses library type... $ECHO_C" >&6 45926 64767 45927 64768 # Check whether --with-ncursesw or --without-ncursesw was given. 45928 64769 if test "${with_ncursesw+set}" = set; then 45929 @@ -4791,14 +54 02,31 @@64770 @@ -4791,14 +5470,31 @@ 45930 64771 if test "${with_pdcurses+set}" = set; then 45931 64772 withval="$with_pdcurses" … … 45951 64792 -case $cf_cv_screen in 45952 64793 -curses) 45953 +echo "$as_me:54 23: result: $cf_cv_screen" >&564794 +echo "$as_me:5491: result: $cf_cv_screen" >&5 45954 64795 +echo "${ECHO_T}$cf_cv_screen" >&6 45955 64796 + … … 45958 64799 45959 64800 -echo "$as_me:4801: checking for extra include directories" >&5 45960 +echo "$as_me:54 29: checking for extra include directories" >&564801 +echo "$as_me:5497: checking for extra include directories" >&5 45961 64802 echo $ECHO_N "checking for extra include directories... $ECHO_C" >&6 45962 64803 if test "${cf_cv_curses_incdir+set}" = set; then 45963 64804 echo $ECHO_N "(cached) $ECHO_C" >&6 45964 @@ -4807,22 +5 435,28 @@64805 @@ -4807,22 +5503,28 @@ 45965 64806 cf_cv_curses_incdir=no 45966 64807 case $host_os in #(vi … … 45989 64830 fi 45990 64831 -echo "$as_me:4821: result: $cf_cv_curses_incdir" >&5 45991 +echo "$as_me:5 455: result: $cf_cv_curses_incdir" >&564832 +echo "$as_me:5523: result: $cf_cv_curses_incdir" >&5 45992 64833 echo "${ECHO_T}$cf_cv_curses_incdir" >&6 45993 64834 test "$cf_cv_curses_incdir" != no && CPPFLAGS="$CPPFLAGS $cf_cv_curses_incdir" 45994 64835 45995 64836 -echo "$as_me:4825: checking if we have identified curses headers" >&5 45996 +echo "$as_me:5 459: checking if we have identified curses headers" >&564837 +echo "$as_me:5527: checking if we have identified curses headers" >&5 45997 64838 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 45998 64839 if test "${cf_cv_ncurses_header+set}" = set; then 45999 64840 echo $ECHO_N "(cached) $ECHO_C" >&6 46000 @@ -4830,11 +5 464,11 @@64841 @@ -4830,11 +5532,11 @@ 46001 64842 46002 64843 cf_cv_ncurses_header=none … … 46009 64850 cat >conftest.$ac_ext <<_ACEOF 46010 64851 -#line 4837 "configure" 46011 +#line 5 471"configure"64852 +#line 5539 "configure" 46012 64853 #include "confdefs.h" 46013 64854 #include <${cf_header}> 46014 64855 int 46015 @@ -4846,16 +5 480,16 @@64856 @@ -4846,16 +5548,16 @@ 46016 64857 } 46017 64858 _ACEOF 46018 64859 rm -f conftest.$ac_objext 46019 64860 -if { (eval echo "$as_me:4849: \"$ac_compile\"") >&5 46020 +if { (eval echo "$as_me:5 483: \"$ac_compile\"") >&564861 +if { (eval echo "$as_me:5551: \"$ac_compile\"") >&5 46021 64862 (eval $ac_compile) 2>&5 46022 64863 ac_status=$? 46023 64864 - echo "$as_me:4852: \$? = $ac_status" >&5 46024 + echo "$as_me:5 486: \$? = $ac_status" >&564865 + echo "$as_me:5554: \$? = $ac_status" >&5 46025 64866 (exit $ac_status); } && 46026 64867 { ac_try='test -s conftest.$ac_objext' 46027 64868 - { (eval echo "$as_me:4855: \"$ac_try\"") >&5 46028 + { (eval echo "$as_me:5 489: \"$ac_try\"") >&564869 + { (eval echo "$as_me:5557: \"$ac_try\"") >&5 46029 64870 (eval $ac_try) 2>&5 46030 64871 ac_status=$? 46031 64872 - echo "$as_me:4858: \$? = $ac_status" >&5 46032 + echo "$as_me:5 492: \$? = $ac_status" >&564873 + echo "$as_me:5560: \$? = $ac_status" >&5 46033 64874 (exit $ac_status); }; }; then 46034 64875 cf_cv_ncurses_header=$cf_header; break 46035 64876 else 46036 @@ -4866,11 +55 00,11 @@64877 @@ -4866,11 +5568,11 @@ 46037 64878 done 46038 64879 46039 64880 fi 46040 64881 -echo "$as_me:4869: result: $cf_cv_ncurses_header" >&5 46041 +echo "$as_me:55 03: result: $cf_cv_ncurses_header" >&564882 +echo "$as_me:5571: result: $cf_cv_ncurses_header" >&5 46042 64883 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 46043 64884 46044 64885 if test "$cf_cv_ncurses_header" = none ; then 46045 64886 - { { echo "$as_me:4873: error: No curses header-files found" >&5 46046 + { { echo "$as_me:55 07: error: No curses header-files found" >&564887 + { { echo "$as_me:5575: error: No curses header-files found" >&5 46047 64888 echo "$as_me: error: No curses header-files found" >&2;} 46048 64889 { (exit 1); exit 1; }; } 46049 64890 fi 46050 @@ -4880,23 +55 14,23 @@64891 @@ -4880,23 +5582,23 @@ 46051 64892 for ac_header in $cf_cv_ncurses_header 46052 64893 do 46053 64894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 46054 64895 -echo "$as_me:4883: checking for $ac_header" >&5 46055 +echo "$as_me:55 17: checking for $ac_header" >&564896 +echo "$as_me:5585: checking for $ac_header" >&5 46056 64897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 46057 64898 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 46060 64901 cat >conftest.$ac_ext <<_ACEOF 46061 64902 -#line 4889 "configure" 46062 +#line 55 23"configure"64903 +#line 5591 "configure" 46063 64904 #include "confdefs.h" 46064 64905 #include <$ac_header> 46065 64906 _ACEOF 46066 64907 -if { (eval echo "$as_me:4893: \"$ac_cpp conftest.$ac_ext\"") >&5 46067 +if { (eval echo "$as_me:55 27: \"$ac_cpp conftest.$ac_ext\"") >&564908 +if { (eval echo "$as_me:5595: \"$ac_cpp conftest.$ac_ext\"") >&5 46068 64909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 46069 64910 ac_status=$? … … 46072 64913 cat conftest.err >&5 46073 64914 - echo "$as_me:4899: \$? = $ac_status" >&5 46074 + echo "$as_me:5 533: \$? = $ac_status" >&564915 + echo "$as_me:5601: \$? = $ac_status" >&5 46075 64916 (exit $ac_status); } >/dev/null; then 46076 64917 if test -s conftest.err; then 46077 64918 ac_cpp_err=$ac_c_preproc_warn_flag 46078 @@ -4915,7 +5 549,7 @@64919 @@ -4915,7 +5617,7 @@ 46079 64920 fi 46080 64921 rm -f conftest.err conftest.$ac_ext 46081 64922 fi 46082 64923 -echo "$as_me:4918: result: `eval echo '${'$as_ac_Header'}'`" >&5 46083 +echo "$as_me:5 552: result: `eval echo '${'$as_ac_Header'}'`" >&564924 +echo "$as_me:5620: result: `eval echo '${'$as_ac_Header'}'`" >&5 46084 64925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 46085 64926 if test `eval echo '${'$as_ac_Header'}'` = yes; then 46086 64927 cat >>confdefs.h <<EOF 46087 @@ -4925,7 +5 559,7 @@64928 @@ -4925,7 +5627,7 @@ 46088 64929 fi 46089 64930 done 46090 64931 46091 64932 -echo "$as_me:4928: checking for terminfo header" >&5 46092 +echo "$as_me:5 562: checking for terminfo header" >&564933 +echo "$as_me:5630: checking for terminfo header" >&5 46093 64934 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 46094 64935 if test "${cf_cv_term_header+set}" = set; then 46095 64936 echo $ECHO_N "(cached) $ECHO_C" >&6 46096 @@ -4943,7 +5 577,7 @@64937 @@ -4943,7 +5645,7 @@ 46097 64938 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" 46098 64939 do 46099 64940 cat >conftest.$ac_ext <<_ACEOF 46100 64941 -#line 4946 "configure" 46101 +#line 5 580"configure"64942 +#line 5648 "configure" 46102 64943 #include "confdefs.h" 46103 64944 #include <stdio.h> 46104 64945 #include <${cf_cv_ncurses_header:-curses.h}> 46105 @@ -4958,16 +5 592,16 @@64946 @@ -4958,16 +5660,16 @@ 46106 64947 } 46107 64948 _ACEOF 46108 64949 rm -f conftest.$ac_objext 46109 64950 -if { (eval echo "$as_me:4961: \"$ac_compile\"") >&5 46110 +if { (eval echo "$as_me:5 595: \"$ac_compile\"") >&564951 +if { (eval echo "$as_me:5663: \"$ac_compile\"") >&5 46111 64952 (eval $ac_compile) 2>&5 46112 64953 ac_status=$? 46113 64954 - echo "$as_me:4964: \$? = $ac_status" >&5 46114 + echo "$as_me:5 598: \$? = $ac_status" >&564955 + echo "$as_me:5666: \$? = $ac_status" >&5 46115 64956 (exit $ac_status); } && 46116 64957 { ac_try='test -s conftest.$ac_objext' 46117 64958 - { (eval echo "$as_me:4967: \"$ac_try\"") >&5 46118 + { (eval echo "$as_me:56 01: \"$ac_try\"") >&564959 + { (eval echo "$as_me:5669: \"$ac_try\"") >&5 46119 64960 (eval $ac_try) 2>&5 46120 64961 ac_status=$? 46121 64962 - echo "$as_me:4970: \$? = $ac_status" >&5 46122 + echo "$as_me:56 04: \$? = $ac_status" >&564963 + echo "$as_me:5672: \$? = $ac_status" >&5 46123 64964 (exit $ac_status); }; }; then 46124 64965 46125 64966 cf_cv_term_header="$cf_test" 46126 @@ -4983,7 +56 17,7 @@64967 @@ -4983,7 +5685,7 @@ 46127 64968 done 46128 64969 46129 64970 fi 46130 64971 -echo "$as_me:4986: result: $cf_cv_term_header" >&5 46131 +echo "$as_me:56 20: result: $cf_cv_term_header" >&564972 +echo "$as_me:5688: result: $cf_cv_term_header" >&5 46132 64973 echo "${ECHO_T}$cf_cv_term_header" >&6 46133 64974 46134 64975 # Set definitions to allow ifdef'ing to accommodate subdirectories 46135 @@ -5012,7 +5 646,7 @@64976 @@ -5012,7 +5714,7 @@ 46136 64977 ;; 46137 64978 esac 46138 64979 46139 64980 -echo "$as_me:5015: checking for ncurses version" >&5 46140 +echo "$as_me:5 649: checking for ncurses version" >&564981 +echo "$as_me:5717: checking for ncurses version" >&5 46141 64982 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 46142 64983 if test "${cf_cv_ncurses_version+set}" = set; then 46143 64984 echo $ECHO_N "(cached) $ECHO_C" >&6 46144 @@ -5038,10 +5 672,10 @@64985 @@ -5038,10 +5740,10 @@ 46145 64986 #endif 46146 64987 EOF 46147 64988 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" 46148 64989 - { (eval echo "$as_me:5041: \"$cf_try\"") >&5 46149 + { (eval echo "$as_me:5 675: \"$cf_try\"") >&564990 + { (eval echo "$as_me:5743: \"$cf_try\"") >&5 46150 64991 (eval $cf_try) 2>&5 46151 64992 ac_status=$? 46152 64993 - echo "$as_me:5044: \$? = $ac_status" >&5 46153 + echo "$as_me:5 678: \$? = $ac_status" >&564994 + echo "$as_me:5746: \$? = $ac_status" >&5 46154 64995 (exit $ac_status); } 46155 64996 if test -f conftest.out ; then 46156 64997 cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` 46157 @@ -5051,7 +5 685,7 @@64998 @@ -5051,7 +5753,7 @@ 46158 64999 46159 65000 else 46160 65001 cat >conftest.$ac_ext <<_ACEOF 46161 65002 -#line 5054 "configure" 46162 +#line 5 688"configure"65003 +#line 5756 "configure" 46163 65004 #include "confdefs.h" 46164 65005 46165 65006 #include <${cf_cv_ncurses_header:-curses.h}> 46166 @@ -5076,15 +57 10,15 @@65007 @@ -5076,15 +5778,15 @@ 46167 65008 } 46168 65009 _ACEOF 46169 65010 rm -f conftest$ac_exeext 46170 65011 -if { (eval echo "$as_me:5079: \"$ac_link\"") >&5 46171 +if { (eval echo "$as_me:57 13: \"$ac_link\"") >&565012 +if { (eval echo "$as_me:5781: \"$ac_link\"") >&5 46172 65013 (eval $ac_link) 2>&5 46173 65014 ac_status=$? 46174 65015 - echo "$as_me:5082: \$? = $ac_status" >&5 46175 + echo "$as_me:57 16: \$? = $ac_status" >&565016 + echo "$as_me:5784: \$? = $ac_status" >&5 46176 65017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 46177 65018 - { (eval echo "$as_me:5084: \"$ac_try\"") >&5 46178 + { (eval echo "$as_me:57 18: \"$ac_try\"") >&565019 + { (eval echo "$as_me:5786: \"$ac_try\"") >&5 46179 65020 (eval $ac_try) 2>&5 46180 65021 ac_status=$? 46181 65022 - echo "$as_me:5087: \$? = $ac_status" >&5 46182 + echo "$as_me:57 21: \$? = $ac_status" >&565023 + echo "$as_me:5789: \$? = $ac_status" >&5 46183 65024 (exit $ac_status); }; }; then 46184 65025 46185 65026 cf_cv_ncurses_version=`cat $cf_tempfile` 46186 @@ -5098,16 +5 732,16 @@65027 @@ -5098,16 +5800,16 @@ 46187 65028 rm -f $cf_tempfile 46188 65029 46189 65030 fi 46190 65031 -echo "$as_me:5101: result: $cf_cv_ncurses_version" >&5 46191 +echo "$as_me:5 735: result: $cf_cv_ncurses_version" >&565032 +echo "$as_me:5803: result: $cf_cv_ncurses_version" >&5 46192 65033 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 46193 65034 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF … … 46196 65037 46197 65038 -echo "$as_me:5107: checking if we have identified curses libraries" >&5 46198 +echo "$as_me:5 741: checking if we have identified curses libraries" >&565039 +echo "$as_me:5809: checking if we have identified curses libraries" >&5 46199 65040 echo $ECHO_N "checking if we have identified curses libraries... $ECHO_C" >&6 46200 65041 cat >conftest.$ac_ext <<_ACEOF 46201 65042 -#line 5110 "configure" 46202 +#line 5 744"configure"65043 +#line 5812 "configure" 46203 65044 #include "confdefs.h" 46204 65045 #include <${cf_cv_ncurses_header:-curses.h}> 46205 65046 int 46206 @@ -5119,16 +5 753,16 @@65047 @@ -5119,16 +5821,16 @@ 46207 65048 } 46208 65049 _ACEOF 46209 65050 rm -f conftest.$ac_objext conftest$ac_exeext 46210 65051 -if { (eval echo "$as_me:5122: \"$ac_link\"") >&5 46211 +if { (eval echo "$as_me:5 756: \"$ac_link\"") >&565052 +if { (eval echo "$as_me:5824: \"$ac_link\"") >&5 46212 65053 (eval $ac_link) 2>&5 46213 65054 ac_status=$? 46214 65055 - echo "$as_me:5125: \$? = $ac_status" >&5 46215 + echo "$as_me:5 759: \$? = $ac_status" >&565056 + echo "$as_me:5827: \$? = $ac_status" >&5 46216 65057 (exit $ac_status); } && 46217 65058 { ac_try='test -s conftest$ac_exeext' 46218 65059 - { (eval echo "$as_me:5128: \"$ac_try\"") >&5 46219 + { (eval echo "$as_me:5 762: \"$ac_try\"") >&565060 + { (eval echo "$as_me:5830: \"$ac_try\"") >&5 46220 65061 (eval $ac_try) 2>&5 46221 65062 ac_status=$? 46222 65063 - echo "$as_me:5131: \$? = $ac_status" >&5 46223 + echo "$as_me:5 765: \$? = $ac_status" >&565064 + echo "$as_me:5833: \$? = $ac_status" >&5 46224 65065 (exit $ac_status); }; }; then 46225 65066 cf_result=yes 46226 65067 else 46227 @@ -5137,13 +5 771,13 @@65068 @@ -5137,13 +5839,13 @@ 46228 65069 cf_result=no 46229 65070 fi 46230 65071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46231 65072 -echo "$as_me:5140: result: $cf_result" >&5 46232 +echo "$as_me:5 774: result: $cf_result" >&565073 +echo "$as_me:5842: result: $cf_result" >&5 46233 65074 echo "${ECHO_T}$cf_result" >&6 46234 65075 … … 46237 65078 freebsd*) #(vi 46238 65079 - echo "$as_me:5146: checking for tgoto in -lmytinfo" >&5 46239 + echo "$as_me:5 780: checking for tgoto in -lmytinfo" >&565080 + echo "$as_me:5848: checking for tgoto in -lmytinfo" >&5 46240 65081 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 46241 65082 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then 46242 65083 echo $ECHO_N "(cached) $ECHO_C" >&6 46243 @@ -5151,7 +5 785,7 @@65084 @@ -5151,7 +5853,7 @@ 46244 65085 ac_check_lib_save_LIBS=$LIBS 46245 65086 LIBS="-lmytinfo $LIBS" 46246 65087 cat >conftest.$ac_ext <<_ACEOF 46247 65088 -#line 5154 "configure" 46248 +#line 5 788"configure"65089 +#line 5856 "configure" 46249 65090 #include "confdefs.h" 46250 65091 46251 65092 /* Override any gcc2 internal prototype to avoid an error. */ 46252 @@ -5170,16 +58 04,16 @@65093 @@ -5170,16 +5872,16 @@ 46253 65094 } 46254 65095 _ACEOF 46255 65096 rm -f conftest.$ac_objext conftest$ac_exeext 46256 65097 -if { (eval echo "$as_me:5173: \"$ac_link\"") >&5 46257 +if { (eval echo "$as_me:58 07: \"$ac_link\"") >&565098 +if { (eval echo "$as_me:5875: \"$ac_link\"") >&5 46258 65099 (eval $ac_link) 2>&5 46259 65100 ac_status=$? 46260 65101 - echo "$as_me:5176: \$? = $ac_status" >&5 46261 + echo "$as_me:58 10: \$? = $ac_status" >&565102 + echo "$as_me:5878: \$? = $ac_status" >&5 46262 65103 (exit $ac_status); } && 46263 65104 { ac_try='test -s conftest$ac_exeext' 46264 65105 - { (eval echo "$as_me:5179: \"$ac_try\"") >&5 46265 + { (eval echo "$as_me:58 13: \"$ac_try\"") >&565106 + { (eval echo "$as_me:5881: \"$ac_try\"") >&5 46266 65107 (eval $ac_try) 2>&5 46267 65108 ac_status=$? 46268 65109 - echo "$as_me:5182: \$? = $ac_status" >&5 46269 + echo "$as_me:58 16: \$? = $ac_status" >&565110 + echo "$as_me:5884: \$? = $ac_status" >&5 46270 65111 (exit $ac_status); }; }; then 46271 65112 ac_cv_lib_mytinfo_tgoto=yes 46272 65113 else 46273 @@ -5190,7 +58 24,7 @@65114 @@ -5190,7 +5892,7 @@ 46274 65115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46275 65116 LIBS=$ac_check_lib_save_LIBS 46276 65117 fi 46277 65118 -echo "$as_me:5193: result: $ac_cv_lib_mytinfo_tgoto" >&5 46278 +echo "$as_me:58 27: result: $ac_cv_lib_mytinfo_tgoto" >&565119 +echo "$as_me:5895: result: $ac_cv_lib_mytinfo_tgoto" >&5 46279 65120 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 46280 65121 if test $ac_cv_lib_mytinfo_tgoto = yes; then 46281 65122 LIBS="-lmytinfo $LIBS" 46282 @@ -5198,7 +5 832,13 @@65123 @@ -5198,7 +5900,13 @@ 46283 65124 46284 65125 ;; … … 46291 65132 + if test "x$cf_cv_screen" = "xcurses_colr" 46292 65133 + then 46293 + echo "$as_me:5 841: checking for initscr in -lcur_colr" >&565134 + echo "$as_me:5909: checking for initscr in -lcur_colr" >&5 46294 65135 echo $ECHO_N "checking for initscr in -lcur_colr... $ECHO_C" >&6 46295 65136 if test "${ac_cv_lib_cur_colr_initscr+set}" = set; then 46296 65137 echo $ECHO_N "(cached) $ECHO_C" >&6 46297 @@ -5206,7 +5 846,7 @@65138 @@ -5206,7 +5914,7 @@ 46298 65139 ac_check_lib_save_LIBS=$LIBS 46299 65140 LIBS="-lcur_colr $LIBS" 46300 65141 cat >conftest.$ac_ext <<_ACEOF 46301 65142 -#line 5209 "configure" 46302 +#line 5 849"configure"65143 +#line 5917 "configure" 46303 65144 #include "confdefs.h" 46304 65145 46305 65146 /* Override any gcc2 internal prototype to avoid an error. */ 46306 @@ -5225,16 +5 865,16 @@65147 @@ -5225,16 +5933,16 @@ 46307 65148 } 46308 65149 _ACEOF 46309 65150 rm -f conftest.$ac_objext conftest$ac_exeext 46310 65151 -if { (eval echo "$as_me:5228: \"$ac_link\"") >&5 46311 +if { (eval echo "$as_me:5 868: \"$ac_link\"") >&565152 +if { (eval echo "$as_me:5936: \"$ac_link\"") >&5 46312 65153 (eval $ac_link) 2>&5 46313 65154 ac_status=$? 46314 65155 - echo "$as_me:5231: \$? = $ac_status" >&5 46315 + echo "$as_me:5 871: \$? = $ac_status" >&565156 + echo "$as_me:5939: \$? = $ac_status" >&5 46316 65157 (exit $ac_status); } && 46317 65158 { ac_try='test -s conftest$ac_exeext' 46318 65159 - { (eval echo "$as_me:5234: \"$ac_try\"") >&5 46319 + { (eval echo "$as_me:5 874: \"$ac_try\"") >&565160 + { (eval echo "$as_me:5942: \"$ac_try\"") >&5 46320 65161 (eval $ac_try) 2>&5 46321 65162 ac_status=$? 46322 65163 - echo "$as_me:5237: \$? = $ac_status" >&5 46323 + echo "$as_me:5 877: \$? = $ac_status" >&565164 + echo "$as_me:5945: \$? = $ac_status" >&5 46324 65165 (exit $ac_status); }; }; then 46325 65166 ac_cv_lib_cur_colr_initscr=yes 46326 65167 else 46327 @@ -5245,16 +5 885,16 @@65168 @@ -5245,16 +5953,16 @@ 46328 65169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46329 65170 LIBS=$ac_check_lib_save_LIBS 46330 65171 fi 46331 65172 -echo "$as_me:5248: result: $ac_cv_lib_cur_colr_initscr" >&5 46332 +echo "$as_me:5 888: result: $ac_cv_lib_cur_colr_initscr" >&565173 +echo "$as_me:5956: result: $ac_cv_lib_cur_colr_initscr" >&5 46333 65174 echo "${ECHO_T}$ac_cv_lib_cur_colr_initscr" >&6 46334 65175 if test $ac_cv_lib_cur_colr_initscr = yes; then … … 46342 65183 46343 65184 - echo "$as_me:5257: checking for initscr in -lHcurses" >&5 46344 + echo "$as_me:5 897: checking for initscr in -lHcurses" >&565185 + echo "$as_me:5965: checking for initscr in -lHcurses" >&5 46345 65186 echo $ECHO_N "checking for initscr in -lHcurses... $ECHO_C" >&6 46346 65187 if test "${ac_cv_lib_Hcurses_initscr+set}" = set; then 46347 65188 echo $ECHO_N "(cached) $ECHO_C" >&6 46348 @@ -5262,7 +59 02,7 @@65189 @@ -5262,7 +5970,7 @@ 46349 65190 ac_check_lib_save_LIBS=$LIBS 46350 65191 LIBS="-lHcurses $LIBS" 46351 65192 cat >conftest.$ac_ext <<_ACEOF 46352 65193 -#line 5265 "configure" 46353 +#line 59 05"configure"65194 +#line 5973 "configure" 46354 65195 #include "confdefs.h" 46355 65196 46356 65197 /* Override any gcc2 internal prototype to avoid an error. */ 46357 @@ -5281,16 +59 21,16 @@65198 @@ -5281,16 +5989,16 @@ 46358 65199 } 46359 65200 _ACEOF 46360 65201 rm -f conftest.$ac_objext conftest$ac_exeext 46361 65202 -if { (eval echo "$as_me:5284: \"$ac_link\"") >&5 46362 +if { (eval echo "$as_me:59 24: \"$ac_link\"") >&565203 +if { (eval echo "$as_me:5992: \"$ac_link\"") >&5 46363 65204 (eval $ac_link) 2>&5 46364 65205 ac_status=$? 46365 65206 - echo "$as_me:5287: \$? = $ac_status" >&5 46366 + echo "$as_me:59 27: \$? = $ac_status" >&565207 + echo "$as_me:5995: \$? = $ac_status" >&5 46367 65208 (exit $ac_status); } && 46368 65209 { ac_try='test -s conftest$ac_exeext' 46369 65210 - { (eval echo "$as_me:5290: \"$ac_try\"") >&5 46370 + { (eval echo "$as_me:59 30: \"$ac_try\"") >&565211 + { (eval echo "$as_me:5998: \"$ac_try\"") >&5 46371 65212 (eval $ac_try) 2>&5 46372 65213 ac_status=$? 46373 65214 - echo "$as_me:5293: \$? = $ac_status" >&5 46374 + echo "$as_me: 5933: \$? = $ac_status" >&565215 + echo "$as_me:6001: \$? = $ac_status" >&5 46375 65216 (exit $ac_status); }; }; then 46376 65217 ac_cv_lib_Hcurses_initscr=yes 46377 65218 else 46378 @@ -5301,19 + 5941,20 @@65219 @@ -5301,19 +6009,20 @@ 46379 65220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46380 65221 LIBS=$ac_check_lib_save_LIBS 46381 65222 fi 46382 65223 -echo "$as_me:5304: result: $ac_cv_lib_Hcurses_initscr" >&5 46383 +echo "$as_me: 5944: result: $ac_cv_lib_Hcurses_initscr" >&565224 +echo "$as_me:6012: result: $ac_cv_lib_Hcurses_initscr" >&5 46384 65225 echo "${ECHO_T}$ac_cv_lib_Hcurses_initscr" >&6 46385 65226 if test $ac_cv_lib_Hcurses_initscr = yes; then … … 46402 65243 linux*) 46403 65244 case `arch 2>/dev/null` in 46404 @@ -5340,7 + 5981,7 @@65245 @@ -5340,7 +6049,7 @@ 46405 65246 if test "$cf_have_libdir" = no ; then 46406 65247 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 46407 65248 46408 65249 -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>&565250 +echo "${as_me:-configure}:6052: testing adding $cf_add_libdir to library-path ..." 1>&5 46410 65251 46411 65252 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 46412 65253 fi 46413 @@ -5369,7 +60 10,7 @@65254 @@ -5369,7 +6078,7 @@ 46414 65255 if test "$cf_have_libdir" = no ; then 46415 65256 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 46416 65257 46417 65258 -echo "${as_me:-configure}:5372: testing adding $cf_add_libdir to library-path ..." 1>&5 46418 +echo "${as_me:-configure}:60 13: testing adding $cf_add_libdir to library-path ..." 1>&565259 +echo "${as_me:-configure}:6081: testing adding $cf_add_libdir to library-path ..." 1>&5 46419 65260 46420 65261 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 46421 65262 fi 46422 @@ -5400,7 +6 041,7 @@65263 @@ -5400,7 +6109,7 @@ 46423 65264 if test "$cf_have_libdir" = no ; then 46424 65265 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 46425 65266 46426 65267 -echo "${as_me:-configure}:5403: testing adding $cf_add_libdir to library-path ..." 1>&5 46427 +echo "${as_me:-configure}:6 044: testing adding $cf_add_libdir to library-path ..." 1>&565268 +echo "${as_me:-configure}:6112: testing adding $cf_add_libdir to library-path ..." 1>&5 46428 65269 46429 65270 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 46430 65271 fi 46431 @@ -5412,7 +6 053,9 @@65272 @@ -5412,7 +6121,9 @@ 46432 65273 esac 46433 65274 ;; … … 46440 65281 if test -n "/usr/5lib" ; then 46441 65282 for cf_add_libdir in /usr/5lib 46442 @@ -5433,7 +6 076,7 @@65283 @@ -5433,7 +6144,7 @@ 46443 65284 if test "$cf_have_libdir" = no ; then 46444 65285 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 46445 65286 46446 65287 -echo "${as_me:-configure}:5436: testing adding $cf_add_libdir to library-path ..." 1>&5 46447 +echo "${as_me:-configure}:6 079: testing adding $cf_add_libdir to library-path ..." 1>&565288 +echo "${as_me:-configure}:6147: testing adding $cf_add_libdir to library-path ..." 1>&5 46448 65289 46449 65290 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 46450 65291 fi 46451 @@ -5441,7 +6 084,8 @@65292 @@ -5441,7 +6152,8 @@ 46452 65293 done 46453 65294 fi … … 46459 65300 ac_cv_func_initscr=yes 46460 65301 ;; 46461 @@ -5461,13 +61 05,13 @@65302 @@ -5461,13 +6173,13 @@ 46462 65303 46463 65304 # Check for library containing tgoto. Do this before curses library 46464 65305 # because it may be needed to link the test-case for initscr. 46465 65306 - echo "$as_me:5464: checking for tgoto" >&5 46466 + echo "$as_me:61 08: checking for tgoto" >&565307 + echo "$as_me:6176: checking for tgoto" >&5 46467 65308 echo $ECHO_N "checking for tgoto... $ECHO_C" >&6 46468 65309 if test "${ac_cv_func_tgoto+set}" = set; then … … 46471 65312 cat >conftest.$ac_ext <<_ACEOF 46472 65313 -#line 5470 "configure" 46473 +#line 61 14"configure"65314 +#line 6182 "configure" 46474 65315 #include "confdefs.h" 46475 65316 /* System header to define __stub macros and hopefully few prototypes, 46476 65317 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 @@ 46478 65328 } 46479 65329 _ACEOF 46480 65330 rm -f conftest.$ac_objext conftest$ac_exeext 46481 65331 -if { (eval echo "$as_me:5501: \"$ac_link\"") >&5 46482 +if { (eval echo "$as_me:6 145: \"$ac_link\"") >&565332 +if { (eval echo "$as_me:6213: \"$ac_link\"") >&5 46483 65333 (eval $ac_link) 2>&5 46484 65334 ac_status=$? 46485 65335 - echo "$as_me:5504: \$? = $ac_status" >&5 46486 + echo "$as_me:6 148: \$? = $ac_status" >&565336 + echo "$as_me:6216: \$? = $ac_status" >&5 46487 65337 (exit $ac_status); } && 46488 65338 { ac_try='test -s conftest$ac_exeext' 46489 65339 - { (eval echo "$as_me:5507: \"$ac_try\"") >&5 46490 + { (eval echo "$as_me:6 151: \"$ac_try\"") >&565340 + { (eval echo "$as_me:6219: \"$ac_try\"") >&5 46491 65341 (eval $ac_try) 2>&5 46492 65342 ac_status=$? 46493 65343 - echo "$as_me:5510: \$? = $ac_status" >&5 46494 + echo "$as_me:6 154: \$? = $ac_status" >&565344 + echo "$as_me:6222: \$? = $ac_status" >&5 46495 65345 (exit $ac_status); }; }; then 46496 65346 ac_cv_func_tgoto=yes 46497 65347 else 46498 @@ -5517,16 +6 161,16 @@65348 @@ -5517,16 +6229,16 @@ 46499 65349 fi 46500 65350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46501 65351 fi 46502 65352 -echo "$as_me:5520: result: $ac_cv_func_tgoto" >&5 46503 +echo "$as_me:6 164: result: $ac_cv_func_tgoto" >&565353 +echo "$as_me:6232: result: $ac_cv_func_tgoto" >&5 46504 65354 echo "${ECHO_T}$ac_cv_func_tgoto" >&6 46505 65355 if test $ac_cv_func_tgoto = yes; then … … 46508 65358 46509 65359 - for cf_term_lib in $cf_check_list termcap termlib unknown 46510 + for cf_term_lib in $cf_check_list otermcap termcap t ermlib unknown65360 + for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown 46511 65361 do 46512 65362 as_ac_Lib=`echo "ac_cv_lib_$cf_term_lib''_tgoto" | $as_tr_sh` 46513 65363 -echo "$as_me:5529: checking for tgoto in -l$cf_term_lib" >&5 46514 +echo "$as_me:6 173: checking for tgoto in -l$cf_term_lib" >&565364 +echo "$as_me:6241: checking for tgoto in -l$cf_term_lib" >&5 46515 65365 echo $ECHO_N "checking for tgoto in -l$cf_term_lib... $ECHO_C" >&6 46516 65366 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 46517 65367 echo $ECHO_N "(cached) $ECHO_C" >&6 46518 @@ -5534,7 +6 178,7 @@65368 @@ -5534,7 +6246,7 @@ 46519 65369 ac_check_lib_save_LIBS=$LIBS 46520 65370 LIBS="-l$cf_term_lib $LIBS" 46521 65371 cat >conftest.$ac_ext <<_ACEOF 46522 65372 -#line 5537 "configure" 46523 +#line 6 181"configure"65373 +#line 6249 "configure" 46524 65374 #include "confdefs.h" 46525 65375 46526 65376 /* Override any gcc2 internal prototype to avoid an error. */ 46527 @@ -5553,16 +6 197,16 @@65377 @@ -5553,16 +6265,16 @@ 46528 65378 } 46529 65379 _ACEOF 46530 65380 rm -f conftest.$ac_objext conftest$ac_exeext 46531 65381 -if { (eval echo "$as_me:5556: \"$ac_link\"") >&5 46532 +if { (eval echo "$as_me:62 00: \"$ac_link\"") >&565382 +if { (eval echo "$as_me:6268: \"$ac_link\"") >&5 46533 65383 (eval $ac_link) 2>&5 46534 65384 ac_status=$? 46535 65385 - echo "$as_me:5559: \$? = $ac_status" >&5 46536 + echo "$as_me:62 03: \$? = $ac_status" >&565386 + echo "$as_me:6271: \$? = $ac_status" >&5 46537 65387 (exit $ac_status); } && 46538 65388 { ac_try='test -s conftest$ac_exeext' 46539 65389 - { (eval echo "$as_me:5562: \"$ac_try\"") >&5 46540 + { (eval echo "$as_me:62 06: \"$ac_try\"") >&565390 + { (eval echo "$as_me:6274: \"$ac_try\"") >&5 46541 65391 (eval $ac_try) 2>&5 46542 65392 ac_status=$? 46543 65393 - echo "$as_me:5565: \$? = $ac_status" >&5 46544 + echo "$as_me:62 09: \$? = $ac_status" >&565394 + echo "$as_me:6277: \$? = $ac_status" >&5 46545 65395 (exit $ac_status); }; }; then 46546 65396 eval "$as_ac_Lib=yes" 46547 65397 else 46548 @@ -5573,7 +62 17,7 @@65398 @@ -5573,7 +6285,7 @@ 46549 65399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46550 65400 LIBS=$ac_check_lib_save_LIBS 46551 65401 fi 46552 65402 -echo "$as_me:5576: result: `eval echo '${'$as_ac_Lib'}'`" >&5 46553 +echo "$as_me:62 20: result: `eval echo '${'$as_ac_Lib'}'`" >&565403 +echo "$as_me:6288: result: `eval echo '${'$as_ac_Lib'}'`" >&5 46554 65404 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 46555 65405 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 46556 65406 break 46557 @@ -5588,7 +6 232,7 @@65407 @@ -5588,7 +6300,7 @@ 46558 65408 for cf_curs_lib in $cf_check_list xcurses jcurses pdcurses unknown 46559 65409 do 46560 65410 as_ac_Lib=`echo "ac_cv_lib_$cf_curs_lib''_initscr" | $as_tr_sh` 46561 65411 -echo "$as_me:5591: checking for initscr in -l$cf_curs_lib" >&5 46562 +echo "$as_me:6 235: checking for initscr in -l$cf_curs_lib" >&565412 +echo "$as_me:6303: checking for initscr in -l$cf_curs_lib" >&5 46563 65413 echo $ECHO_N "checking for initscr in -l$cf_curs_lib... $ECHO_C" >&6 46564 65414 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 46565 65415 echo $ECHO_N "(cached) $ECHO_C" >&6 46566 @@ -5596,7 +6 240,7 @@65416 @@ -5596,7 +6308,7 @@ 46567 65417 ac_check_lib_save_LIBS=$LIBS 46568 65418 LIBS="-l$cf_curs_lib $LIBS" 46569 65419 cat >conftest.$ac_ext <<_ACEOF 46570 65420 -#line 5599 "configure" 46571 +#line 6 243"configure"65421 +#line 6311 "configure" 46572 65422 #include "confdefs.h" 46573 65423 46574 65424 /* Override any gcc2 internal prototype to avoid an error. */ 46575 @@ -5615,16 +6 259,16 @@65425 @@ -5615,16 +6327,16 @@ 46576 65426 } 46577 65427 _ACEOF 46578 65428 rm -f conftest.$ac_objext conftest$ac_exeext 46579 65429 -if { (eval echo "$as_me:5618: \"$ac_link\"") >&5 46580 +if { (eval echo "$as_me:6 262: \"$ac_link\"") >&565430 +if { (eval echo "$as_me:6330: \"$ac_link\"") >&5 46581 65431 (eval $ac_link) 2>&5 46582 65432 ac_status=$? 46583 65433 - echo "$as_me:5621: \$? = $ac_status" >&5 46584 + echo "$as_me:6 265: \$? = $ac_status" >&565434 + echo "$as_me:6333: \$? = $ac_status" >&5 46585 65435 (exit $ac_status); } && 46586 65436 { ac_try='test -s conftest$ac_exeext' 46587 65437 - { (eval echo "$as_me:5624: \"$ac_try\"") >&5 46588 + { (eval echo "$as_me:6 268: \"$ac_try\"") >&565438 + { (eval echo "$as_me:6336: \"$ac_try\"") >&5 46589 65439 (eval $ac_try) 2>&5 46590 65440 ac_status=$? 46591 65441 - echo "$as_me:5627: \$? = $ac_status" >&5 46592 + echo "$as_me:6 271: \$? = $ac_status" >&565442 + echo "$as_me:6339: \$? = $ac_status" >&5 46593 65443 (exit $ac_status); }; }; then 46594 65444 eval "$as_ac_Lib=yes" 46595 65445 else 46596 @@ -5635,23 +6 279,23 @@65446 @@ -5635,23 +6347,23 @@ 46597 65447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46598 65448 LIBS=$ac_check_lib_save_LIBS 46599 65449 fi 46600 65450 -echo "$as_me:5638: result: `eval echo '${'$as_ac_Lib'}'`" >&5 46601 +echo "$as_me:6 282: result: `eval echo '${'$as_ac_Lib'}'`" >&565451 +echo "$as_me:6350: result: `eval echo '${'$as_ac_Lib'}'`" >&5 46602 65452 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 46603 65453 if test `eval echo '${'$as_ac_Lib'}'` = yes; then … … 46607 65457 done 46608 65458 - test $cf_curs_lib = unknown && { { echo "$as_me:5645: error: no curses library found" >&5 46609 + test $cf_curs_lib = unknown && { { echo "$as_me:6 289: error: no curses library found" >&565459 + test $cf_curs_lib = unknown && { { echo "$as_me:6357: error: no curses library found" >&5 46610 65460 echo "$as_me: error: no curses library found" >&2;} 46611 65461 { (exit 1); exit 1; }; } … … 46614 65464 if test "$cf_term_lib" = unknown ; then 46615 65465 - echo "$as_me:5651: checking if we can link with $cf_curs_lib library" >&5 46616 + echo "$as_me:6 295: checking if we can link with $cf_curs_lib library" >&565466 + echo "$as_me:6363: checking if we can link with $cf_curs_lib library" >&5 46617 65467 echo $ECHO_N "checking if we can link with $cf_curs_lib library... $ECHO_C" >&6 46618 65468 cat >conftest.$ac_ext <<_ACEOF 46619 65469 -#line 5654 "configure" 46620 +#line 6 298"configure"65470 +#line 6366 "configure" 46621 65471 #include "confdefs.h" 46622 65472 #include <${cf_cv_ncurses_header:-curses.h}> 46623 65473 int 46624 @@ -5663,16 +63 07,16 @@65474 @@ -5663,16 +6375,16 @@ 46625 65475 } 46626 65476 _ACEOF 46627 65477 rm -f conftest.$ac_objext conftest$ac_exeext 46628 65478 -if { (eval echo "$as_me:5666: \"$ac_link\"") >&5 46629 +if { (eval echo "$as_me:63 10: \"$ac_link\"") >&565479 +if { (eval echo "$as_me:6378: \"$ac_link\"") >&5 46630 65480 (eval $ac_link) 2>&5 46631 65481 ac_status=$? 46632 65482 - echo "$as_me:5669: \$? = $ac_status" >&5 46633 + echo "$as_me:63 13: \$? = $ac_status" >&565483 + echo "$as_me:6381: \$? = $ac_status" >&5 46634 65484 (exit $ac_status); } && 46635 65485 { ac_try='test -s conftest$ac_exeext' 46636 65486 - { (eval echo "$as_me:5672: \"$ac_try\"") >&5 46637 + { (eval echo "$as_me:63 16: \"$ac_try\"") >&565487 + { (eval echo "$as_me:6384: \"$ac_try\"") >&5 46638 65488 (eval $ac_try) 2>&5 46639 65489 ac_status=$? 46640 65490 - echo "$as_me:5675: \$? = $ac_status" >&5 46641 + echo "$as_me:63 19: \$? = $ac_status" >&565491 + echo "$as_me:6387: \$? = $ac_status" >&5 46642 65492 (exit $ac_status); }; }; then 46643 65493 cf_result=yes 46644 65494 else 46645 @@ -5681,18 +63 25,18 @@65495 @@ -5681,18 +6393,18 @@ 46646 65496 cf_result=no 46647 65497 fi 46648 65498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46649 65499 - echo "$as_me:5684: result: $cf_result" >&5 46650 + echo "$as_me:63 28: result: $cf_result" >&565500 + echo "$as_me:6396: result: $cf_result" >&5 46651 65501 echo "${ECHO_T}$cf_result" >&6 46652 65502 - test $cf_result = no && { { echo "$as_me:5686: error: Cannot link curses library" >&5 46653 + test $cf_result = no && { { echo "$as_me:63 30: error: Cannot link curses library" >&565503 + test $cf_result = no && { { echo "$as_me:6398: error: Cannot link curses library" >&5 46654 65504 echo "$as_me: error: Cannot link curses library" >&2;} 46655 65505 { (exit 1); exit 1; }; } … … 46658 65508 elif test "$cf_term_lib" != predefined ; then 46659 65509 - echo "$as_me:5692: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5 46660 + echo "$as_me:6 336: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&565510 + echo "$as_me:6404: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5 46661 65511 echo $ECHO_N "checking if we need both $cf_curs_lib and $cf_term_lib libraries... $ECHO_C" >&6 46662 65512 cat >conftest.$ac_ext <<_ACEOF 46663 65513 -#line 5695 "configure" 46664 +#line 6 339"configure"65514 +#line 6407 "configure" 46665 65515 #include "confdefs.h" 46666 65516 #include <${cf_cv_ncurses_header:-curses.h}> 46667 65517 int 46668 @@ -5704,16 +6 348,16 @@65518 @@ -5704,16 +6416,16 @@ 46669 65519 } 46670 65520 _ACEOF 46671 65521 rm -f conftest.$ac_objext conftest$ac_exeext 46672 65522 -if { (eval echo "$as_me:5707: \"$ac_link\"") >&5 46673 +if { (eval echo "$as_me:6 351: \"$ac_link\"") >&565523 +if { (eval echo "$as_me:6419: \"$ac_link\"") >&5 46674 65524 (eval $ac_link) 2>&5 46675 65525 ac_status=$? 46676 65526 - echo "$as_me:5710: \$? = $ac_status" >&5 46677 + echo "$as_me:6 354: \$? = $ac_status" >&565527 + echo "$as_me:6422: \$? = $ac_status" >&5 46678 65528 (exit $ac_status); } && 46679 65529 { ac_try='test -s conftest$ac_exeext' 46680 65530 - { (eval echo "$as_me:5713: \"$ac_try\"") >&5 46681 + { (eval echo "$as_me:6 357: \"$ac_try\"") >&565531 + { (eval echo "$as_me:6425: \"$ac_try\"") >&5 46682 65532 (eval $ac_try) 2>&5 46683 65533 ac_status=$? 46684 65534 - echo "$as_me:5716: \$? = $ac_status" >&5 46685 + echo "$as_me:6 360: \$? = $ac_status" >&565535 + echo "$as_me:6428: \$? = $ac_status" >&5 46686 65536 (exit $ac_status); }; }; then 46687 65537 cf_result=no 46688 65538 else 46689 @@ -5722,7 +6 366,7 @@65539 @@ -5722,7 +6434,7 @@ 46690 65540 46691 65541 LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS" 46692 65542 cat >conftest.$ac_ext <<_ACEOF 46693 65543 -#line 5725 "configure" 46694 +#line 6 369"configure"65544 +#line 6437 "configure" 46695 65545 #include "confdefs.h" 46696 65546 #include <${cf_cv_ncurses_header:-curses.h}> 46697 65547 int 46698 @@ -5734,16 +6 378,16 @@65548 @@ -5734,16 +6446,16 @@ 46699 65549 } 46700 65550 _ACEOF 46701 65551 rm -f conftest.$ac_objext conftest$ac_exeext 46702 65552 -if { (eval echo "$as_me:5737: \"$ac_link\"") >&5 46703 +if { (eval echo "$as_me:6 381: \"$ac_link\"") >&565553 +if { (eval echo "$as_me:6449: \"$ac_link\"") >&5 46704 65554 (eval $ac_link) 2>&5 46705 65555 ac_status=$? 46706 65556 - echo "$as_me:5740: \$? = $ac_status" >&5 46707 + echo "$as_me:6 384: \$? = $ac_status" >&565557 + echo "$as_me:6452: \$? = $ac_status" >&5 46708 65558 (exit $ac_status); } && 46709 65559 { ac_try='test -s conftest$ac_exeext' 46710 65560 - { (eval echo "$as_me:5743: \"$ac_try\"") >&5 46711 + { (eval echo "$as_me:6 387: \"$ac_try\"") >&565561 + { (eval echo "$as_me:6455: \"$ac_try\"") >&5 46712 65562 (eval $ac_try) 2>&5 46713 65563 ac_status=$? 46714 65564 - echo "$as_me:5746: \$? = $ac_status" >&5 46715 + echo "$as_me:6 390: \$? = $ac_status" >&565565 + echo "$as_me:6458: \$? = $ac_status" >&5 46716 65566 (exit $ac_status); }; }; then 46717 65567 cf_result=yes 46718 65568 else 46719 @@ -5755,167 +6 399,99 @@65569 @@ -5755,167 +6467,99 @@ 46720 65570 46721 65571 fi 46722 65572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46723 65573 - echo "$as_me:5758: result: $cf_result" >&5 46724 + echo "$as_me:64 02: result: $cf_result" >&565574 + echo "$as_me:6470: result: $cf_result" >&5 46725 65575 echo "${ECHO_T}$cf_result" >&6 46726 65576 fi … … 46794 65644 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 46795 65645 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 46796 +echo "$as_me:64 20: checking for $ac_word" >&565646 +echo "$as_me:6488: checking for $ac_word" >&5 46797 65647 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 46798 65648 +if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then … … 46809 65659 + $as_executable_p "$ac_dir/$ac_word" || continue 46810 65660 +ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" 46811 +echo "$as_me:6 435: found $ac_dir/$ac_word" >&565661 +echo "$as_me:6503: found $ac_dir/$ac_word" >&5 46812 65662 +break 46813 65663 +done … … 46849 65699 +NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG 46850 65700 +if test -n "$NCURSES_CONFIG"; then 46851 + echo "$as_me:6 443: result: $NCURSES_CONFIG" >&565701 + echo "$as_me:6511: result: $NCURSES_CONFIG" >&5 46852 65702 +echo "${ECHO_T}$NCURSES_CONFIG" >&6 46853 65703 else … … 46855 65705 -cat conftest.$ac_ext >&5 46856 65706 -cf_cv_netbsd_menu_h=no 46857 + echo "$as_me:6 446: result: no" >&565707 + echo "$as_me:6514: result: no" >&5 46858 65708 +echo "${ECHO_T}no" >&6 46859 65709 fi … … 46884 65734 set dummy $ac_prog; ac_word=$2 46885 65735 -echo "$as_me:5881: checking for $ac_word" >&5 46886 +echo "$as_me:6 459: checking for $ac_word" >&565736 +echo "$as_me:6527: checking for $ac_word" >&5 46887 65737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 46888 65738 -if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then … … 46910 65760 + $as_executable_p "$ac_dir/$ac_word" || continue 46911 65761 +ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" 46912 +echo "$as_me:6 474: found $ac_dir/$ac_word" >&565762 +echo "$as_me:6542: found $ac_dir/$ac_word" >&5 46913 65763 +break 46914 65764 done … … 46925 65775 +ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG 46926 65776 +if test -n "$ac_ct_NCURSES_CONFIG"; then 46927 + echo "$as_me:6 482: result: $ac_ct_NCURSES_CONFIG" >&565777 + echo "$as_me:6550: result: $ac_ct_NCURSES_CONFIG" >&5 46928 65778 +echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 46929 65779 else 46930 65780 - echo "$as_me:5912: result: no" >&5 46931 + echo "$as_me:6 485: result: no" >&565781 + echo "$as_me:6553: result: no" >&5 46932 65782 echo "${ECHO_T}no" >&6 46933 65783 fi … … 46944 65794 if test "$NCURSES_CONFIG" != none ; then 46945 65795 46946 @@ -5924,7 +65 00,7 @@65796 @@ -5924,7 +6568,7 @@ 46947 65797 46948 65798 # even with config script, some packages use no-override for curses.h 46949 65799 46950 65800 -echo "$as_me:5927: checking if we have identified curses headers" >&5 46951 +echo "$as_me:65 03: checking if we have identified curses headers" >&565801 +echo "$as_me:6571: checking if we have identified curses headers" >&5 46952 65802 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 46953 65803 if test "${cf_cv_ncurses_header+set}" = set; then 46954 65804 echo $ECHO_N "(cached) $ECHO_C" >&6 46955 @@ -5932,13 +65 08,13 @@65805 @@ -5932,13 +6576,13 @@ 46956 65806 46957 65807 cf_cv_ncurses_header=none … … 46968 65818 cat >conftest.$ac_ext <<_ACEOF 46969 65819 -#line 5941 "configure" 46970 +#line 65 17"configure"65820 +#line 6585 "configure" 46971 65821 #include "confdefs.h" 46972 65822 #include <${cf_header}> 46973 65823 int 46974 @@ -5950,16 +65 26,16 @@65824 @@ -5950,16 +6594,16 @@ 46975 65825 } 46976 65826 _ACEOF 46977 65827 rm -f conftest.$ac_objext 46978 65828 -if { (eval echo "$as_me:5953: \"$ac_compile\"") >&5 46979 +if { (eval echo "$as_me:65 29: \"$ac_compile\"") >&565829 +if { (eval echo "$as_me:6597: \"$ac_compile\"") >&5 46980 65830 (eval $ac_compile) 2>&5 46981 65831 ac_status=$? 46982 65832 - echo "$as_me:5956: \$? = $ac_status" >&5 46983 + echo "$as_me:6 532: \$? = $ac_status" >&565833 + echo "$as_me:6600: \$? = $ac_status" >&5 46984 65834 (exit $ac_status); } && 46985 65835 { ac_try='test -s conftest.$ac_objext' 46986 65836 - { (eval echo "$as_me:5959: \"$ac_try\"") >&5 46987 + { (eval echo "$as_me:6 535: \"$ac_try\"") >&565837 + { (eval echo "$as_me:6603: \"$ac_try\"") >&5 46988 65838 (eval $ac_try) 2>&5 46989 65839 ac_status=$? 46990 65840 - echo "$as_me:5962: \$? = $ac_status" >&5 46991 + echo "$as_me:6 538: \$? = $ac_status" >&565841 + echo "$as_me:6606: \$? = $ac_status" >&5 46992 65842 (exit $ac_status); }; }; then 46993 65843 cf_cv_ncurses_header=$cf_header; break 46994 65844 else 46995 @@ -5970,11 +6 546,11 @@65845 @@ -5970,11 +6614,11 @@ 46996 65846 done 46997 65847 46998 65848 fi 46999 65849 -echo "$as_me:5973: result: $cf_cv_ncurses_header" >&5 47000 +echo "$as_me:6 549: result: $cf_cv_ncurses_header" >&565850 +echo "$as_me:6617: result: $cf_cv_ncurses_header" >&5 47001 65851 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 47002 65852 47003 65853 if test "$cf_cv_ncurses_header" = none ; then 47004 65854 - { { echo "$as_me:5977: error: No curses header-files found" >&5 47005 + { { echo "$as_me:6 553: error: No curses header-files found" >&565855 + { { echo "$as_me:6621: error: No curses header-files found" >&5 47006 65856 echo "$as_me: error: No curses header-files found" >&2;} 47007 65857 { (exit 1); exit 1; }; } 47008 65858 fi 47009 @@ -5984,23 +6 560,23 @@65859 @@ -5984,23 +6628,23 @@ 47010 65860 for ac_header in $cf_cv_ncurses_header 47011 65861 do 47012 65862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 47013 65863 -echo "$as_me:5987: checking for $ac_header" >&5 47014 +echo "$as_me:6 563: checking for $ac_header" >&565864 +echo "$as_me:6631: checking for $ac_header" >&5 47015 65865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 47016 65866 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 47019 65869 cat >conftest.$ac_ext <<_ACEOF 47020 65870 -#line 5993 "configure" 47021 +#line 6 569"configure"65871 +#line 6637 "configure" 47022 65872 #include "confdefs.h" 47023 65873 #include <$ac_header> 47024 65874 _ACEOF 47025 65875 -if { (eval echo "$as_me:5997: \"$ac_cpp conftest.$ac_ext\"") >&5 47026 +if { (eval echo "$as_me:6 573: \"$ac_cpp conftest.$ac_ext\"") >&565876 +if { (eval echo "$as_me:6641: \"$ac_cpp conftest.$ac_ext\"") >&5 47027 65877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 47028 65878 ac_status=$? … … 47031 65881 cat conftest.err >&5 47032 65882 - echo "$as_me:6003: \$? = $ac_status" >&5 47033 + echo "$as_me:6 579: \$? = $ac_status" >&565883 + echo "$as_me:6647: \$? = $ac_status" >&5 47034 65884 (exit $ac_status); } >/dev/null; then 47035 65885 if test -s conftest.err; then 47036 65886 ac_cpp_err=$ac_c_preproc_warn_flag 47037 @@ -6019,7 +6 595,7 @@65887 @@ -6019,7 +6663,7 @@ 47038 65888 fi 47039 65889 rm -f conftest.err conftest.$ac_ext 47040 65890 fi 47041 65891 -echo "$as_me:6022: result: `eval echo '${'$as_ac_Header'}'`" >&5 47042 +echo "$as_me:6 598: result: `eval echo '${'$as_ac_Header'}'`" >&565892 +echo "$as_me:6666: result: `eval echo '${'$as_ac_Header'}'`" >&5 47043 65893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 47044 65894 if test `eval echo '${'$as_ac_Header'}'` = yes; then 47045 65895 cat >>confdefs.h <<EOF 47046 @@ -6072,7 +6 648,7 @@65896 @@ -6072,7 +6716,7 @@ 47047 65897 cf_save_CPPFLAGS=$CPPFLAGS 47048 65898 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47049 65899 cat >conftest.$ac_ext <<_ACEOF 47050 65900 -#line 6075 "configure" 47051 +#line 6 651"configure"65901 +#line 6719 "configure" 47052 65902 #include "confdefs.h" 47053 65903 #include <stdio.h> 47054 65904 int 47055 @@ -6084,16 +6 660,16 @@65905 @@ -6084,16 +6728,16 @@ 47056 65906 } 47057 65907 _ACEOF 47058 65908 rm -f conftest.$ac_objext 47059 65909 -if { (eval echo "$as_me:6087: \"$ac_compile\"") >&5 47060 +if { (eval echo "$as_me:6 663: \"$ac_compile\"") >&565910 +if { (eval echo "$as_me:6731: \"$ac_compile\"") >&5 47061 65911 (eval $ac_compile) 2>&5 47062 65912 ac_status=$? 47063 65913 - echo "$as_me:6090: \$? = $ac_status" >&5 47064 + echo "$as_me:6 666: \$? = $ac_status" >&565914 + echo "$as_me:6734: \$? = $ac_status" >&5 47065 65915 (exit $ac_status); } && 47066 65916 { ac_try='test -s conftest.$ac_objext' 47067 65917 - { (eval echo "$as_me:6093: \"$ac_try\"") >&5 47068 + { (eval echo "$as_me:6 669: \"$ac_try\"") >&565918 + { (eval echo "$as_me:6737: \"$ac_try\"") >&5 47069 65919 (eval $ac_try) 2>&5 47070 65920 ac_status=$? 47071 65921 - echo "$as_me:6096: \$? = $ac_status" >&5 47072 + echo "$as_me:6 672: \$? = $ac_status" >&565922 + echo "$as_me:6740: \$? = $ac_status" >&5 47073 65923 (exit $ac_status); }; }; then 47074 65924 : 47075 65925 else 47076 @@ -6110,7 +6 686,7 @@65926 @@ -6110,7 +6754,7 @@ 47077 65927 if test "$cf_have_incdir" = no ; then 47078 65928 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 47079 65929 47080 65930 -echo "${as_me:-configure}:6113: testing adding $cf_add_incdir to include-path ..." 1>&5 47081 +echo "${as_me:-configure}:6 689: testing adding $cf_add_incdir to include-path ..." 1>&565931 +echo "${as_me:-configure}:6757: testing adding $cf_add_incdir to include-path ..." 1>&5 47082 65932 47083 65933 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47084 65934 47085 @@ -6127,7 +67 03,7 @@65935 @@ -6127,7 +6771,7 @@ 47086 65936 47087 65937 } 47088 65938 47089 65939 -echo "$as_me:6130: checking for $cf_ncuhdr_root header in include-path" >&5 47090 +echo "$as_me:67 06: checking for $cf_ncuhdr_root header in include-path" >&565940 +echo "$as_me:6774: checking for $cf_ncuhdr_root header in include-path" >&5 47091 65941 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 47092 65942 if test "${cf_cv_ncurses_h+set}" = set; then 47093 65943 echo $ECHO_N "(cached) $ECHO_C" >&6 47094 @@ -6139,7 +67 15,7 @@65944 @@ -6139,7 +6783,7 @@ 47095 65945 do 47096 65946 47097 65947 cat >conftest.$ac_ext <<_ACEOF 47098 65948 -#line 6142 "configure" 47099 +#line 67 18"configure"65949 +#line 6786 "configure" 47100 65950 #include "confdefs.h" 47101 65951 47102 65952 #include <$cf_header> 47103 @@ -6163,16 +6 739,16 @@65953 @@ -6163,16 +6807,16 @@ 47104 65954 } 47105 65955 _ACEOF 47106 65956 rm -f conftest.$ac_objext 47107 65957 -if { (eval echo "$as_me:6166: \"$ac_compile\"") >&5 47108 +if { (eval echo "$as_me:6 742: \"$ac_compile\"") >&565958 +if { (eval echo "$as_me:6810: \"$ac_compile\"") >&5 47109 65959 (eval $ac_compile) 2>&5 47110 65960 ac_status=$? 47111 65961 - echo "$as_me:6169: \$? = $ac_status" >&5 47112 + echo "$as_me:6 745: \$? = $ac_status" >&565962 + echo "$as_me:6813: \$? = $ac_status" >&5 47113 65963 (exit $ac_status); } && 47114 65964 { ac_try='test -s conftest.$ac_objext' 47115 65965 - { (eval echo "$as_me:6172: \"$ac_try\"") >&5 47116 + { (eval echo "$as_me:6 748: \"$ac_try\"") >&565966 + { (eval echo "$as_me:6816: \"$ac_try\"") >&5 47117 65967 (eval $ac_try) 2>&5 47118 65968 ac_status=$? 47119 65969 - echo "$as_me:6175: \$? = $ac_status" >&5 47120 + echo "$as_me:6 751: \$? = $ac_status" >&565970 + echo "$as_me:6819: \$? = $ac_status" >&5 47121 65971 (exit $ac_status); }; }; then 47122 65972 cf_cv_ncurses_h=$cf_header 47123 65973 47124 @@ -6187,14 +6 763,14 @@65974 @@ -6187,14 +6831,14 @@ 47125 65975 done 47126 65976 47127 65977 fi 47128 65978 -echo "$as_me:6190: result: $cf_cv_ncurses_h" >&5 47129 +echo "$as_me:6 766: result: $cf_cv_ncurses_h" >&565979 +echo "$as_me:6834: result: $cf_cv_ncurses_h" >&5 47130 65980 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 47131 65981 … … 47135 65985 47136 65986 -echo "$as_me:6197: checking for $cf_ncuhdr_root include-path" >&5 47137 +echo "$as_me:6 773: checking for $cf_ncuhdr_root include-path" >&565987 +echo "$as_me:6841: checking for $cf_ncuhdr_root include-path" >&5 47138 65988 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 47139 65989 if test "${cf_cv_ncurses_h2+set}" = set; then 47140 65990 echo $ECHO_N "(cached) $ECHO_C" >&6 47141 @@ -6334,7 +69 10,7 @@65991 @@ -6334,7 +6978,7 @@ 47142 65992 cf_save_CPPFLAGS=$CPPFLAGS 47143 65993 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47144 65994 cat >conftest.$ac_ext <<_ACEOF 47145 65995 -#line 6337 "configure" 47146 +#line 69 13"configure"65996 +#line 6981 "configure" 47147 65997 #include "confdefs.h" 47148 65998 #include <stdio.h> 47149 65999 int 47150 @@ -6346,16 +69 22,16 @@66000 @@ -6346,16 +6990,16 @@ 47151 66001 } 47152 66002 _ACEOF 47153 66003 rm -f conftest.$ac_objext 47154 66004 -if { (eval echo "$as_me:6349: \"$ac_compile\"") >&5 47155 +if { (eval echo "$as_me:69 25: \"$ac_compile\"") >&566005 +if { (eval echo "$as_me:6993: \"$ac_compile\"") >&5 47156 66006 (eval $ac_compile) 2>&5 47157 66007 ac_status=$? 47158 66008 - echo "$as_me:6352: \$? = $ac_status" >&5 47159 + echo "$as_me:69 28: \$? = $ac_status" >&566009 + echo "$as_me:6996: \$? = $ac_status" >&5 47160 66010 (exit $ac_status); } && 47161 66011 { ac_try='test -s conftest.$ac_objext' 47162 66012 - { (eval echo "$as_me:6355: \"$ac_try\"") >&5 47163 + { (eval echo "$as_me:69 31: \"$ac_try\"") >&566013 + { (eval echo "$as_me:6999: \"$ac_try\"") >&5 47164 66014 (eval $ac_try) 2>&5 47165 66015 ac_status=$? 47166 66016 - echo "$as_me:6358: \$? = $ac_status" >&5 47167 + echo "$as_me: 6934: \$? = $ac_status" >&566017 + echo "$as_me:7002: \$? = $ac_status" >&5 47168 66018 (exit $ac_status); }; }; then 47169 66019 : 47170 66020 else 47171 @@ -6372,7 + 6948,7 @@66021 @@ -6372,7 +7016,7 @@ 47172 66022 if test "$cf_have_incdir" = no ; then 47173 66023 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 47174 66024 47175 66025 -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>&566026 +echo "${as_me:-configure}:7019: testing adding $cf_add_incdir to include-path ..." 1>&5 47177 66027 47178 66028 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47179 66029 47180 @@ -6393,7 + 6969,7 @@66030 @@ -6393,7 +7037,7 @@ 47181 66031 do 47182 66032 47183 66033 cat >conftest.$ac_ext <<_ACEOF 47184 66034 -#line 6396 "configure" 47185 +#line 6972"configure"66035 +#line 7040 "configure" 47186 66036 #include "confdefs.h" 47187 66037 47188 66038 #include <$cf_header> 47189 @@ -6417,16 + 6993,16 @@66039 @@ -6417,16 +7061,16 @@ 47190 66040 } 47191 66041 _ACEOF 47192 66042 rm -f conftest.$ac_objext 47193 66043 -if { (eval echo "$as_me:6420: \"$ac_compile\"") >&5 47194 +if { (eval echo "$as_me: 6996: \"$ac_compile\"") >&566044 +if { (eval echo "$as_me:7064: \"$ac_compile\"") >&5 47195 66045 (eval $ac_compile) 2>&5 47196 66046 ac_status=$? 47197 66047 - echo "$as_me:6423: \$? = $ac_status" >&5 47198 + echo "$as_me: 6999: \$? = $ac_status" >&566048 + echo "$as_me:7067: \$? = $ac_status" >&5 47199 66049 (exit $ac_status); } && 47200 66050 { ac_try='test -s conftest.$ac_objext' 47201 66051 - { (eval echo "$as_me:6426: \"$ac_try\"") >&5 47202 + { (eval echo "$as_me:70 02: \"$ac_try\"") >&566052 + { (eval echo "$as_me:7070: \"$ac_try\"") >&5 47203 66053 (eval $ac_try) 2>&5 47204 66054 ac_status=$? 47205 66055 - echo "$as_me:6429: \$? = $ac_status" >&5 47206 + echo "$as_me:70 05: \$? = $ac_status" >&566056 + echo "$as_me:7073: \$? = $ac_status" >&5 47207 66057 (exit $ac_status); }; }; then 47208 66058 cf_cv_ncurses_h2=$cf_header 47209 66059 47210 @@ -6447,12 +70 23,12 @@66060 @@ -6447,12 +7091,12 @@ 47211 66061 CPPFLAGS="$cf_save2_CPPFLAGS" 47212 66062 test "$cf_cv_ncurses_h2" != no && break 47213 66063 done 47214 66064 - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:6450: error: not found" >&5 47215 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:70 26: error: not found" >&566065 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:7094: error: not found" >&5 47216 66066 echo "$as_me: error: not found" >&2;} 47217 66067 { (exit 1); exit 1; }; } … … 47219 66069 fi 47220 66070 -echo "$as_me:6455: result: $cf_cv_ncurses_h2" >&5 47221 +echo "$as_me:70 31: result: $cf_cv_ncurses_h2" >&566071 +echo "$as_me:7099: result: $cf_cv_ncurses_h2" >&5 47222 66072 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 47223 66073 47224 66074 cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` 47225 @@ -6485,7 +7 061,7 @@66075 @@ -6485,7 +7129,7 @@ 47226 66076 cf_save_CPPFLAGS=$CPPFLAGS 47227 66077 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47228 66078 cat >conftest.$ac_ext <<_ACEOF 47229 66079 -#line 6488 "configure" 47230 +#line 7 064"configure"66080 +#line 7132 "configure" 47231 66081 #include "confdefs.h" 47232 66082 #include <stdio.h> 47233 66083 int 47234 @@ -6497,16 +7 073,16 @@66084 @@ -6497,16 +7141,16 @@ 47235 66085 } 47236 66086 _ACEOF 47237 66087 rm -f conftest.$ac_objext 47238 66088 -if { (eval echo "$as_me:6500: \"$ac_compile\"") >&5 47239 +if { (eval echo "$as_me:7 076: \"$ac_compile\"") >&566089 +if { (eval echo "$as_me:7144: \"$ac_compile\"") >&5 47240 66090 (eval $ac_compile) 2>&5 47241 66091 ac_status=$? 47242 66092 - echo "$as_me:6503: \$? = $ac_status" >&5 47243 + echo "$as_me:7 079: \$? = $ac_status" >&566093 + echo "$as_me:7147: \$? = $ac_status" >&5 47244 66094 (exit $ac_status); } && 47245 66095 { ac_try='test -s conftest.$ac_objext' 47246 66096 - { (eval echo "$as_me:6506: \"$ac_try\"") >&5 47247 + { (eval echo "$as_me:7 082: \"$ac_try\"") >&566097 + { (eval echo "$as_me:7150: \"$ac_try\"") >&5 47248 66098 (eval $ac_try) 2>&5 47249 66099 ac_status=$? 47250 66100 - echo "$as_me:6509: \$? = $ac_status" >&5 47251 + echo "$as_me:7 085: \$? = $ac_status" >&566101 + echo "$as_me:7153: \$? = $ac_status" >&5 47252 66102 (exit $ac_status); }; }; then 47253 66103 : 47254 66104 else 47255 @@ -6523,7 +7 099,7 @@66105 @@ -6523,7 +7167,7 @@ 47256 66106 if test "$cf_have_incdir" = no ; then 47257 66107 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 47258 66108 47259 66109 -echo "${as_me:-configure}:6526: testing adding $cf_add_incdir to include-path ..." 1>&5 47260 +echo "${as_me:-configure}:71 02: testing adding $cf_add_incdir to include-path ..." 1>&566110 +echo "${as_me:-configure}:7170: testing adding $cf_add_incdir to include-path ..." 1>&5 47261 66111 47262 66112 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47263 66113 47264 @@ -6566,7 +7 142,7 @@66114 @@ -6566,7 +7210,7 @@ 47265 66115 ;; 47266 66116 esac 47267 66117 47268 66118 -echo "$as_me:6569: checking for terminfo header" >&5 47269 +echo "$as_me:7 145: checking for terminfo header" >&566119 +echo "$as_me:7213: checking for terminfo header" >&5 47270 66120 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 47271 66121 if test "${cf_cv_term_header+set}" = set; then 47272 66122 echo $ECHO_N "(cached) $ECHO_C" >&6 47273 @@ -6584,7 +7 160,7 @@66123 @@ -6584,7 +7228,7 @@ 47274 66124 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" 47275 66125 do 47276 66126 cat >conftest.$ac_ext <<_ACEOF 47277 66127 -#line 6587 "configure" 47278 +#line 7 163"configure"66128 +#line 7231 "configure" 47279 66129 #include "confdefs.h" 47280 66130 #include <stdio.h> 47281 66131 #include <${cf_cv_ncurses_header:-curses.h}> 47282 @@ -6599,16 +7 175,16 @@66132 @@ -6599,16 +7243,16 @@ 47283 66133 } 47284 66134 _ACEOF 47285 66135 rm -f conftest.$ac_objext 47286 66136 -if { (eval echo "$as_me:6602: \"$ac_compile\"") >&5 47287 +if { (eval echo "$as_me:7 178: \"$ac_compile\"") >&566137 +if { (eval echo "$as_me:7246: \"$ac_compile\"") >&5 47288 66138 (eval $ac_compile) 2>&5 47289 66139 ac_status=$? 47290 66140 - echo "$as_me:6605: \$? = $ac_status" >&5 47291 + echo "$as_me:7 181: \$? = $ac_status" >&566141 + echo "$as_me:7249: \$? = $ac_status" >&5 47292 66142 (exit $ac_status); } && 47293 66143 { ac_try='test -s conftest.$ac_objext' 47294 66144 - { (eval echo "$as_me:6608: \"$ac_try\"") >&5 47295 + { (eval echo "$as_me:7 184: \"$ac_try\"") >&566145 + { (eval echo "$as_me:7252: \"$ac_try\"") >&5 47296 66146 (eval $ac_try) 2>&5 47297 66147 ac_status=$? 47298 66148 - echo "$as_me:6611: \$? = $ac_status" >&5 47299 + echo "$as_me:7 187: \$? = $ac_status" >&566149 + echo "$as_me:7255: \$? = $ac_status" >&5 47300 66150 (exit $ac_status); }; }; then 47301 66151 47302 66152 cf_cv_term_header="$cf_test" 47303 @@ -6624,7 +72 00,7 @@66153 @@ -6624,7 +7268,7 @@ 47304 66154 done 47305 66155 47306 66156 fi 47307 66157 -echo "$as_me:6627: result: $cf_cv_term_header" >&5 47308 +echo "$as_me:72 03: result: $cf_cv_term_header" >&566158 +echo "$as_me:7271: result: $cf_cv_term_header" >&5 47309 66159 echo "${ECHO_T}$cf_cv_term_header" >&6 47310 66160 47311 66161 # Set definitions to allow ifdef'ing to accommodate subdirectories 47312 @@ -6658,7 +7 234,7 @@66162 @@ -6658,7 +7302,7 @@ 47313 66163 #define NCURSES 1 47314 66164 EOF 47315 66165 47316 66166 -echo "$as_me:6661: checking for ncurses version" >&5 47317 +echo "$as_me:7 237: checking for ncurses version" >&566167 +echo "$as_me:7305: checking for ncurses version" >&5 47318 66168 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 47319 66169 if test "${cf_cv_ncurses_version+set}" = set; then 47320 66170 echo $ECHO_N "(cached) $ECHO_C" >&6 47321 @@ -6684,10 +7 260,10 @@66171 @@ -6684,10 +7328,10 @@ 47322 66172 #endif 47323 66173 EOF 47324 66174 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" 47325 66175 - { (eval echo "$as_me:6687: \"$cf_try\"") >&5 47326 + { (eval echo "$as_me:7 263: \"$cf_try\"") >&566176 + { (eval echo "$as_me:7331: \"$cf_try\"") >&5 47327 66177 (eval $cf_try) 2>&5 47328 66178 ac_status=$? 47329 66179 - echo "$as_me:6690: \$? = $ac_status" >&5 47330 + echo "$as_me:7 266: \$? = $ac_status" >&566180 + echo "$as_me:7334: \$? = $ac_status" >&5 47331 66181 (exit $ac_status); } 47332 66182 if test -f conftest.out ; then 47333 66183 cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` 47334 @@ -6697,7 +7 273,7 @@66184 @@ -6697,7 +7341,7 @@ 47335 66185 47336 66186 else 47337 66187 cat >conftest.$ac_ext <<_ACEOF 47338 66188 -#line 6700 "configure" 47339 +#line 7 276"configure"66189 +#line 7344 "configure" 47340 66190 #include "confdefs.h" 47341 66191 47342 66192 #include <${cf_cv_ncurses_header:-curses.h}> 47343 @@ -6722,15 +7 298,15 @@66193 @@ -6722,15 +7366,15 @@ 47344 66194 } 47345 66195 _ACEOF 47346 66196 rm -f conftest$ac_exeext 47347 66197 -if { (eval echo "$as_me:6725: \"$ac_link\"") >&5 47348 +if { (eval echo "$as_me:73 01: \"$ac_link\"") >&566198 +if { (eval echo "$as_me:7369: \"$ac_link\"") >&5 47349 66199 (eval $ac_link) 2>&5 47350 66200 ac_status=$? 47351 66201 - echo "$as_me:6728: \$? = $ac_status" >&5 47352 + echo "$as_me:73 04: \$? = $ac_status" >&566202 + echo "$as_me:7372: \$? = $ac_status" >&5 47353 66203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 47354 66204 - { (eval echo "$as_me:6730: \"$ac_try\"") >&5 47355 + { (eval echo "$as_me:73 06: \"$ac_try\"") >&566205 + { (eval echo "$as_me:7374: \"$ac_try\"") >&5 47356 66206 (eval $ac_try) 2>&5 47357 66207 ac_status=$? 47358 66208 - echo "$as_me:6733: \$? = $ac_status" >&5 47359 + echo "$as_me:73 09: \$? = $ac_status" >&566209 + echo "$as_me:7377: \$? = $ac_status" >&5 47360 66210 (exit $ac_status); }; }; then 47361 66211 47362 66212 cf_cv_ncurses_version=`cat $cf_tempfile` 47363 @@ -6744,7 +73 20,7 @@66213 @@ -6744,7 +7388,7 @@ 47364 66214 rm -f $cf_tempfile 47365 66215 47366 66216 fi 47367 66217 -echo "$as_me:6747: result: $cf_cv_ncurses_version" >&5 47368 +echo "$as_me:73 23: result: $cf_cv_ncurses_version" >&566218 +echo "$as_me:7391: result: $cf_cv_ncurses_version" >&5 47369 66219 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 47370 66220 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF 47371 66221 #define NCURSES 1 47372 @@ -6756,7 +7 332,7 @@66222 @@ -6756,7 +7400,7 @@ 47373 66223 # to link gpm. 47374 66224 cf_ncurses_LIBS="" 47375 66225 cf_ncurses_SAVE="$LIBS" 47376 66226 -echo "$as_me:6759: checking for Gpm_Open in -lgpm" >&5 47377 +echo "$as_me:7 335: checking for Gpm_Open in -lgpm" >&566227 +echo "$as_me:7403: checking for Gpm_Open in -lgpm" >&5 47378 66228 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 47379 66229 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 47380 66230 echo $ECHO_N "(cached) $ECHO_C" >&6 47381 @@ -6764,7 +7 340,7 @@66231 @@ -6764,7 +7408,7 @@ 47382 66232 ac_check_lib_save_LIBS=$LIBS 47383 66233 LIBS="-lgpm $LIBS" 47384 66234 cat >conftest.$ac_ext <<_ACEOF 47385 66235 -#line 6767 "configure" 47386 +#line 7 343"configure"66236 +#line 7411 "configure" 47387 66237 #include "confdefs.h" 47388 66238 47389 66239 /* Override any gcc2 internal prototype to avoid an error. */ 47390 @@ -6783,16 +7 359,16 @@66240 @@ -6783,16 +7427,16 @@ 47391 66241 } 47392 66242 _ACEOF 47393 66243 rm -f conftest.$ac_objext conftest$ac_exeext 47394 66244 -if { (eval echo "$as_me:6786: \"$ac_link\"") >&5 47395 +if { (eval echo "$as_me:7 362: \"$ac_link\"") >&566245 +if { (eval echo "$as_me:7430: \"$ac_link\"") >&5 47396 66246 (eval $ac_link) 2>&5 47397 66247 ac_status=$? 47398 66248 - echo "$as_me:6789: \$? = $ac_status" >&5 47399 + echo "$as_me:7 365: \$? = $ac_status" >&566249 + echo "$as_me:7433: \$? = $ac_status" >&5 47400 66250 (exit $ac_status); } && 47401 66251 { ac_try='test -s conftest$ac_exeext' 47402 66252 - { (eval echo "$as_me:6792: \"$ac_try\"") >&5 47403 + { (eval echo "$as_me:7 368: \"$ac_try\"") >&566253 + { (eval echo "$as_me:7436: \"$ac_try\"") >&5 47404 66254 (eval $ac_try) 2>&5 47405 66255 ac_status=$? 47406 66256 - echo "$as_me:6795: \$? = $ac_status" >&5 47407 + echo "$as_me:7 371: \$? = $ac_status" >&566257 + echo "$as_me:7439: \$? = $ac_status" >&5 47408 66258 (exit $ac_status); }; }; then 47409 66259 ac_cv_lib_gpm_Gpm_Open=yes 47410 66260 else 47411 @@ -6803,10 +7 379,10 @@66261 @@ -6803,10 +7447,10 @@ 47412 66262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47413 66263 LIBS=$ac_check_lib_save_LIBS 47414 66264 fi 47415 66265 -echo "$as_me:6806: result: $ac_cv_lib_gpm_Gpm_Open" >&5 47416 +echo "$as_me:7 382: result: $ac_cv_lib_gpm_Gpm_Open" >&566266 +echo "$as_me:7450: result: $ac_cv_lib_gpm_Gpm_Open" >&5 47417 66267 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 47418 66268 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 47419 66269 - echo "$as_me:6809: checking for initscr in -lgpm" >&5 47420 + echo "$as_me:7 385: checking for initscr in -lgpm" >&566270 + echo "$as_me:7453: checking for initscr in -lgpm" >&5 47421 66271 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 47422 66272 if test "${ac_cv_lib_gpm_initscr+set}" = set; then 47423 66273 echo $ECHO_N "(cached) $ECHO_C" >&6 47424 @@ -6814,7 +7 390,7 @@66274 @@ -6814,7 +7458,7 @@ 47425 66275 ac_check_lib_save_LIBS=$LIBS 47426 66276 LIBS="-lgpm $LIBS" 47427 66277 cat >conftest.$ac_ext <<_ACEOF 47428 66278 -#line 6817 "configure" 47429 +#line 7 393"configure"66279 +#line 7461 "configure" 47430 66280 #include "confdefs.h" 47431 66281 47432 66282 /* Override any gcc2 internal prototype to avoid an error. */ 47433 @@ -6833,16 +74 09,16 @@66283 @@ -6833,16 +7477,16 @@ 47434 66284 } 47435 66285 _ACEOF 47436 66286 rm -f conftest.$ac_objext conftest$ac_exeext 47437 66287 -if { (eval echo "$as_me:6836: \"$ac_link\"") >&5 47438 +if { (eval echo "$as_me:74 12: \"$ac_link\"") >&566288 +if { (eval echo "$as_me:7480: \"$ac_link\"") >&5 47439 66289 (eval $ac_link) 2>&5 47440 66290 ac_status=$? 47441 66291 - echo "$as_me:6839: \$? = $ac_status" >&5 47442 + echo "$as_me:74 15: \$? = $ac_status" >&566292 + echo "$as_me:7483: \$? = $ac_status" >&5 47443 66293 (exit $ac_status); } && 47444 66294 { ac_try='test -s conftest$ac_exeext' 47445 66295 - { (eval echo "$as_me:6842: \"$ac_try\"") >&5 47446 + { (eval echo "$as_me:74 18: \"$ac_try\"") >&566296 + { (eval echo "$as_me:7486: \"$ac_try\"") >&5 47447 66297 (eval $ac_try) 2>&5 47448 66298 ac_status=$? 47449 66299 - echo "$as_me:6845: \$? = $ac_status" >&5 47450 + echo "$as_me:74 21: \$? = $ac_status" >&566300 + echo "$as_me:7489: \$? = $ac_status" >&5 47451 66301 (exit $ac_status); }; }; then 47452 66302 ac_cv_lib_gpm_initscr=yes 47453 66303 else 47454 @@ -6853,7 +74 29,7 @@66304 @@ -6853,7 +7497,7 @@ 47455 66305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47456 66306 LIBS=$ac_check_lib_save_LIBS 47457 66307 fi 47458 66308 -echo "$as_me:6856: result: $ac_cv_lib_gpm_initscr" >&5 47459 +echo "$as_me:7 432: result: $ac_cv_lib_gpm_initscr" >&566309 +echo "$as_me:7500: result: $ac_cv_lib_gpm_initscr" >&5 47460 66310 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 47461 66311 if test $ac_cv_lib_gpm_initscr = yes; then 47462 66312 LIBS="$cf_ncurses_SAVE" 47463 @@ -6868,7 +7 444,7 @@66313 @@ -6868,7 +7512,7 @@ 47464 66314 # This is only necessary if you are linking against an obsolete 47465 66315 # version of ncurses (but it should do no harm, since it's static). 47466 66316 if test "$cf_nculib_root" = ncurses ; then 47467 66317 - echo "$as_me:6871: checking for tgoto in -lmytinfo" >&5 47468 + echo "$as_me:7 447: checking for tgoto in -lmytinfo" >&566318 + echo "$as_me:7515: checking for tgoto in -lmytinfo" >&5 47469 66319 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 47470 66320 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then 47471 66321 echo $ECHO_N "(cached) $ECHO_C" >&6 47472 @@ -6876,7 +7 452,7 @@66322 @@ -6876,7 +7520,7 @@ 47473 66323 ac_check_lib_save_LIBS=$LIBS 47474 66324 LIBS="-lmytinfo $LIBS" 47475 66325 cat >conftest.$ac_ext <<_ACEOF 47476 66326 -#line 6879 "configure" 47477 +#line 7 455"configure"66327 +#line 7523 "configure" 47478 66328 #include "confdefs.h" 47479 66329 47480 66330 /* Override any gcc2 internal prototype to avoid an error. */ 47481 @@ -6895,16 +7 471,16 @@66331 @@ -6895,16 +7539,16 @@ 47482 66332 } 47483 66333 _ACEOF 47484 66334 rm -f conftest.$ac_objext conftest$ac_exeext 47485 66335 -if { (eval echo "$as_me:6898: \"$ac_link\"") >&5 47486 +if { (eval echo "$as_me:7 474: \"$ac_link\"") >&566336 +if { (eval echo "$as_me:7542: \"$ac_link\"") >&5 47487 66337 (eval $ac_link) 2>&5 47488 66338 ac_status=$? 47489 66339 - echo "$as_me:6901: \$? = $ac_status" >&5 47490 + echo "$as_me:7 477: \$? = $ac_status" >&566340 + echo "$as_me:7545: \$? = $ac_status" >&5 47491 66341 (exit $ac_status); } && 47492 66342 { ac_try='test -s conftest$ac_exeext' 47493 66343 - { (eval echo "$as_me:6904: \"$ac_try\"") >&5 47494 + { (eval echo "$as_me:7 480: \"$ac_try\"") >&566344 + { (eval echo "$as_me:7548: \"$ac_try\"") >&5 47495 66345 (eval $ac_try) 2>&5 47496 66346 ac_status=$? 47497 66347 - echo "$as_me:6907: \$? = $ac_status" >&5 47498 + echo "$as_me:7 483: \$? = $ac_status" >&566348 + echo "$as_me:7551: \$? = $ac_status" >&5 47499 66349 (exit $ac_status); }; }; then 47500 66350 ac_cv_lib_mytinfo_tgoto=yes 47501 66351 else 47502 @@ -6915,7 +7 491,7 @@66352 @@ -6915,7 +7559,7 @@ 47503 66353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47504 66354 LIBS=$ac_check_lib_save_LIBS 47505 66355 fi 47506 66356 -echo "$as_me:6918: result: $ac_cv_lib_mytinfo_tgoto" >&5 47507 +echo "$as_me:7 494: result: $ac_cv_lib_mytinfo_tgoto" >&566357 +echo "$as_me:7562: result: $ac_cv_lib_mytinfo_tgoto" >&5 47508 66358 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 47509 66359 if test $ac_cv_lib_mytinfo_tgoto = yes; then 47510 66360 cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" 47511 @@ -6934,13 +75 10,13 @@66361 @@ -6934,13 +7578,13 @@ 47512 66362 47513 66363 eval 'cf_cv_have_lib_'$cf_nculib_root'=no' 47514 66364 cf_libdir="" 47515 66365 - echo "$as_me:6937: checking for initscr" >&5 47516 + echo "$as_me:75 13: checking for initscr" >&566366 + echo "$as_me:7581: checking for initscr" >&5 47517 66367 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 47518 66368 if test "${ac_cv_func_initscr+set}" = set; then … … 47521 66371 cat >conftest.$ac_ext <<_ACEOF 47522 66372 -#line 6943 "configure" 47523 +#line 75 19"configure"66373 +#line 7587 "configure" 47524 66374 #include "confdefs.h" 47525 66375 /* System header to define __stub macros and hopefully few prototypes, 47526 66376 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 @@ 47528 66387 } 47529 66388 _ACEOF 47530 66389 rm -f conftest.$ac_objext conftest$ac_exeext 47531 66390 -if { (eval echo "$as_me:6974: \"$ac_link\"") >&5 47532 +if { (eval echo "$as_me:7 550: \"$ac_link\"") >&566391 +if { (eval echo "$as_me:7618: \"$ac_link\"") >&5 47533 66392 (eval $ac_link) 2>&5 47534 66393 ac_status=$? 47535 66394 - echo "$as_me:6977: \$? = $ac_status" >&5 47536 + echo "$as_me:7 553: \$? = $ac_status" >&566395 + echo "$as_me:7621: \$? = $ac_status" >&5 47537 66396 (exit $ac_status); } && 47538 66397 { ac_try='test -s conftest$ac_exeext' 47539 66398 - { (eval echo "$as_me:6980: \"$ac_try\"") >&5 47540 + { (eval echo "$as_me:7 556: \"$ac_try\"") >&566399 + { (eval echo "$as_me:7624: \"$ac_try\"") >&5 47541 66400 (eval $ac_try) 2>&5 47542 66401 ac_status=$? 47543 66402 - echo "$as_me:6983: \$? = $ac_status" >&5 47544 + echo "$as_me:7 559: \$? = $ac_status" >&566403 + echo "$as_me:7627: \$? = $ac_status" >&5 47545 66404 (exit $ac_status); }; }; then 47546 66405 ac_cv_func_initscr=yes 47547 66406 else 47548 @@ -6990,18 +7 566,18 @@66407 @@ -6990,18 +7634,18 @@ 47549 66408 fi 47550 66409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47551 66410 fi 47552 66411 -echo "$as_me:6993: result: $ac_cv_func_initscr" >&5 47553 +echo "$as_me:7 569: result: $ac_cv_func_initscr" >&566412 +echo "$as_me:7637: result: $ac_cv_func_initscr" >&5 47554 66413 echo "${ECHO_T}$ac_cv_func_initscr" >&6 47555 66414 if test $ac_cv_func_initscr = yes; then … … 47559 66418 cf_save_LIBS="$LIBS" 47560 66419 - echo "$as_me:7000: checking for initscr in -l$cf_nculib_root" >&5 47561 + echo "$as_me:7 576: checking for initscr in -l$cf_nculib_root" >&566420 + echo "$as_me:7644: checking for initscr in -l$cf_nculib_root" >&5 47562 66421 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 47563 66422 LIBS="-l$cf_nculib_root $LIBS" 47564 66423 cat >conftest.$ac_ext <<_ACEOF 47565 66424 -#line 7004 "configure" 47566 +#line 7 580"configure"66425 +#line 7648 "configure" 47567 66426 #include "confdefs.h" 47568 66427 #include <${cf_cv_ncurses_header:-curses.h}> 47569 66428 int 47570 @@ -7013,25 +7 589,25 @@66429 @@ -7013,25 +7657,25 @@ 47571 66430 } 47572 66431 _ACEOF 47573 66432 rm -f conftest.$ac_objext conftest$ac_exeext 47574 66433 -if { (eval echo "$as_me:7016: \"$ac_link\"") >&5 47575 +if { (eval echo "$as_me:7 592: \"$ac_link\"") >&566434 +if { (eval echo "$as_me:7660: \"$ac_link\"") >&5 47576 66435 (eval $ac_link) 2>&5 47577 66436 ac_status=$? 47578 66437 - echo "$as_me:7019: \$? = $ac_status" >&5 47579 + echo "$as_me:7 595: \$? = $ac_status" >&566438 + echo "$as_me:7663: \$? = $ac_status" >&5 47580 66439 (exit $ac_status); } && 47581 66440 { ac_try='test -s conftest$ac_exeext' 47582 66441 - { (eval echo "$as_me:7022: \"$ac_try\"") >&5 47583 + { (eval echo "$as_me:7 598: \"$ac_try\"") >&566442 + { (eval echo "$as_me:7666: \"$ac_try\"") >&5 47584 66443 (eval $ac_try) 2>&5 47585 66444 ac_status=$? 47586 66445 - echo "$as_me:7025: \$? = $ac_status" >&5 47587 + echo "$as_me:76 01: \$? = $ac_status" >&566446 + echo "$as_me:7669: \$? = $ac_status" >&5 47588 66447 (exit $ac_status); }; }; then 47589 66448 - echo "$as_me:7027: result: yes" >&5 47590 + echo "$as_me:76 03: result: yes" >&566449 + echo "$as_me:7671: result: yes" >&5 47591 66450 echo "${ECHO_T}yes" >&6 47592 66451 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 47596 66455 cat conftest.$ac_ext >&5 47597 66456 -echo "$as_me:7034: result: no" >&5 47598 +echo "$as_me:76 10: result: no" >&566457 +echo "$as_me:7678: result: no" >&5 47599 66458 echo "${ECHO_T}no" >&6 47600 66459 47601 66460 cf_search= 47602 @@ -7121,11 +7 697,11 @@66461 @@ -7121,11 +7765,11 @@ 47603 66462 47604 66463 for cf_libdir in $cf_search 47605 66464 do 47606 66465 - echo "$as_me:7124: checking for -l$cf_nculib_root in $cf_libdir" >&5 47607 + echo "$as_me:77 00: checking for -l$cf_nculib_root in $cf_libdir" >&566466 + echo "$as_me:7768: checking for -l$cf_nculib_root in $cf_libdir" >&5 47608 66467 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 47609 66468 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" 47610 66469 cat >conftest.$ac_ext <<_ACEOF 47611 66470 -#line 7128 "configure" 47612 +#line 77 04"configure"66471 +#line 7772 "configure" 47613 66472 #include "confdefs.h" 47614 66473 #include <${cf_cv_ncurses_header:-curses.h}> 47615 66474 int 47616 @@ -7137,25 +77 13,25 @@66475 @@ -7137,25 +7781,25 @@ 47617 66476 } 47618 66477 _ACEOF 47619 66478 rm -f conftest.$ac_objext conftest$ac_exeext 47620 66479 -if { (eval echo "$as_me:7140: \"$ac_link\"") >&5 47621 +if { (eval echo "$as_me:77 16: \"$ac_link\"") >&566480 +if { (eval echo "$as_me:7784: \"$ac_link\"") >&5 47622 66481 (eval $ac_link) 2>&5 47623 66482 ac_status=$? 47624 66483 - echo "$as_me:7143: \$? = $ac_status" >&5 47625 + echo "$as_me:77 19: \$? = $ac_status" >&566484 + echo "$as_me:7787: \$? = $ac_status" >&5 47626 66485 (exit $ac_status); } && 47627 66486 { ac_try='test -s conftest$ac_exeext' 47628 66487 - { (eval echo "$as_me:7146: \"$ac_try\"") >&5 47629 + { (eval echo "$as_me:77 22: \"$ac_try\"") >&566488 + { (eval echo "$as_me:7790: \"$ac_try\"") >&5 47630 66489 (eval $ac_try) 2>&5 47631 66490 ac_status=$? 47632 66491 - echo "$as_me:7149: \$? = $ac_status" >&5 47633 + echo "$as_me:77 25: \$? = $ac_status" >&566492 + echo "$as_me:7793: \$? = $ac_status" >&5 47634 66493 (exit $ac_status); }; }; then 47635 66494 - echo "$as_me:7151: result: yes" >&5 47636 + echo "$as_me:77 27: result: yes" >&566495 + echo "$as_me:7795: result: yes" >&5 47637 66496 echo "${ECHO_T}yes" >&6 47638 66497 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 47642 66501 cat conftest.$ac_ext >&5 47643 66502 -echo "$as_me:7158: result: no" >&5 47644 +echo "$as_me:7 734: result: no" >&566503 +echo "$as_me:7802: result: no" >&5 47645 66504 echo "${ECHO_T}no" >&6 47646 66505 LIBS="$cf_save_LIBS" 47647 66506 fi 47648 @@ -7170,7 +7 746,7 @@66507 @@ -7170,7 +7814,7 @@ 47649 66508 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root 47650 66509 47651 66510 if test $cf_found_library = no ; then 47652 66511 - { { echo "$as_me:7173: error: Cannot link $cf_nculib_root library" >&5 47653 + { { echo "$as_me:7 749: error: Cannot link $cf_nculib_root library" >&566512 + { { echo "$as_me:7817: error: Cannot link $cf_nculib_root library" >&5 47654 66513 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} 47655 66514 { (exit 1); exit 1; }; } 47656 66515 fi 47657 @@ -7178,7 +7 754,7 @@66516 @@ -7178,7 +7822,7 @@ 47658 66517 fi 47659 66518 47660 66519 if test -n "$cf_ncurses_LIBS" ; then 47661 66520 - echo "$as_me:7181: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 47662 + echo "$as_me:7 757: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&566521 + echo "$as_me:7825: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 47663 66522 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 47664 66523 cf_ncurses_SAVE="$LIBS" 47665 66524 for p in $cf_ncurses_LIBS ; do 47666 @@ -7188,7 +7 764,7 @@66525 @@ -7188,7 +7832,7 @@ 47667 66526 fi 47668 66527 done 47669 66528 cat >conftest.$ac_ext <<_ACEOF 47670 66529 -#line 7191 "configure" 47671 +#line 7 767"configure"66530 +#line 7835 "configure" 47672 66531 #include "confdefs.h" 47673 66532 #include <${cf_cv_ncurses_header:-curses.h}> 47674 66533 int 47675 @@ -7200,23 +7 776,23 @@66534 @@ -7200,23 +7844,23 @@ 47676 66535 } 47677 66536 _ACEOF 47678 66537 rm -f conftest.$ac_objext conftest$ac_exeext 47679 66538 -if { (eval echo "$as_me:7203: \"$ac_link\"") >&5 47680 +if { (eval echo "$as_me:7 779: \"$ac_link\"") >&566539 +if { (eval echo "$as_me:7847: \"$ac_link\"") >&5 47681 66540 (eval $ac_link) 2>&5 47682 66541 ac_status=$? 47683 66542 - echo "$as_me:7206: \$? = $ac_status" >&5 47684 + echo "$as_me:7 782: \$? = $ac_status" >&566543 + echo "$as_me:7850: \$? = $ac_status" >&5 47685 66544 (exit $ac_status); } && 47686 66545 { ac_try='test -s conftest$ac_exeext' 47687 66546 - { (eval echo "$as_me:7209: \"$ac_try\"") >&5 47688 + { (eval echo "$as_me:7 785: \"$ac_try\"") >&566547 + { (eval echo "$as_me:7853: \"$ac_try\"") >&5 47689 66548 (eval $ac_try) 2>&5 47690 66549 ac_status=$? 47691 66550 - echo "$as_me:7212: \$? = $ac_status" >&5 47692 + echo "$as_me:7 788: \$? = $ac_status" >&566551 + echo "$as_me:7856: \$? = $ac_status" >&5 47693 66552 (exit $ac_status); }; }; then 47694 66553 - echo "$as_me:7214: result: yes" >&5 47695 + echo "$as_me:7 790: result: yes" >&566554 + echo "$as_me:7858: result: yes" >&5 47696 66555 echo "${ECHO_T}yes" >&6 47697 66556 else … … 47699 66558 cat conftest.$ac_ext >&5 47700 66559 -echo "$as_me:7219: result: no" >&5 47701 +echo "$as_me:7 795: result: no" >&566560 +echo "$as_me:7863: result: no" >&5 47702 66561 echo "${ECHO_T}no" >&6 47703 66562 LIBS="$cf_ncurses_SAVE" 47704 66563 fi 47705 @@ -7232,10 +78 08,9 @@66564 @@ -7232,10 +7876,9 @@ 47706 66565 fi 47707 66566 … … 47712 66571 47713 66572 -echo "$as_me:7238: checking for multibyte character support" >&5 47714 +echo "$as_me:78 13: checking for multibyte character support" >&566573 +echo "$as_me:7881: checking for multibyte character support" >&5 47715 66574 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6 47716 66575 if test "${cf_cv_utf8_lib+set}" = set; then 47717 66576 echo $ECHO_N "(cached) $ECHO_C" >&6 47718 @@ -7243,7 +78 18,7 @@66577 @@ -7243,7 +7886,7 @@ 47719 66578 47720 66579 cf_save_LIBS="$LIBS" 47721 66580 cat >conftest.$ac_ext <<_ACEOF 47722 66581 -#line 7246 "configure" 47723 +#line 78 21"configure"66582 +#line 7889 "configure" 47724 66583 #include "confdefs.h" 47725 66584 47726 66585 #include <stdlib.h> 47727 @@ -7256,16 +78 31,16 @@66586 @@ -7256,16 +7899,16 @@ 47728 66587 } 47729 66588 _ACEOF 47730 66589 rm -f conftest.$ac_objext conftest$ac_exeext 47731 66590 -if { (eval echo "$as_me:7259: \"$ac_link\"") >&5 47732 +if { (eval echo "$as_me:7 834: \"$ac_link\"") >&566591 +if { (eval echo "$as_me:7902: \"$ac_link\"") >&5 47733 66592 (eval $ac_link) 2>&5 47734 66593 ac_status=$? 47735 66594 - echo "$as_me:7262: \$? = $ac_status" >&5 47736 + echo "$as_me:7 837: \$? = $ac_status" >&566595 + echo "$as_me:7905: \$? = $ac_status" >&5 47737 66596 (exit $ac_status); } && 47738 66597 { ac_try='test -s conftest$ac_exeext' 47739 66598 - { (eval echo "$as_me:7265: \"$ac_try\"") >&5 47740 + { (eval echo "$as_me:7 840: \"$ac_try\"") >&566599 + { (eval echo "$as_me:7908: \"$ac_try\"") >&5 47741 66600 (eval $ac_try) 2>&5 47742 66601 ac_status=$? 47743 66602 - echo "$as_me:7268: \$? = $ac_status" >&5 47744 + echo "$as_me:7 843: \$? = $ac_status" >&566603 + echo "$as_me:7911: \$? = $ac_status" >&5 47745 66604 (exit $ac_status); }; }; then 47746 66605 cf_cv_utf8_lib=yes 47747 66606 else 47748 @@ -7277,12 +7 852,12 @@66607 @@ -7277,12 +7920,12 @@ 47749 66608 cf_cv_header_path_utf8= 47750 66609 cf_cv_library_path_utf8= 47751 66610 47752 66611 -echo "${as_me:-configure}:7280: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 47753 +echo "${as_me:-configure}:7 855: testing Starting FIND_LINKAGE(utf8,) ..." 1>&566612 +echo "${as_me:-configure}:7923: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 47754 66613 47755 66614 cf_save_LIBS="$LIBS" … … 47757 66616 cat >conftest.$ac_ext <<_ACEOF 47758 66617 -#line 7285 "configure" 47759 +#line 7 860"configure"66618 +#line 7928 "configure" 47760 66619 #include "confdefs.h" 47761 66620 47762 66621 #include <libutf8.h> 47763 @@ -7295,16 +7 870,16 @@66622 @@ -7295,16 +7938,16 @@ 47764 66623 } 47765 66624 _ACEOF 47766 66625 rm -f conftest.$ac_objext conftest$ac_exeext 47767 66626 -if { (eval echo "$as_me:7298: \"$ac_link\"") >&5 47768 +if { (eval echo "$as_me:7 873: \"$ac_link\"") >&566627 +if { (eval echo "$as_me:7941: \"$ac_link\"") >&5 47769 66628 (eval $ac_link) 2>&5 47770 66629 ac_status=$? 47771 66630 - echo "$as_me:7301: \$? = $ac_status" >&5 47772 + echo "$as_me:7 876: \$? = $ac_status" >&566631 + echo "$as_me:7944: \$? = $ac_status" >&5 47773 66632 (exit $ac_status); } && 47774 66633 { ac_try='test -s conftest$ac_exeext' 47775 66634 - { (eval echo "$as_me:7304: \"$ac_try\"") >&5 47776 + { (eval echo "$as_me:7 879: \"$ac_try\"") >&566635 + { (eval echo "$as_me:7947: \"$ac_try\"") >&5 47777 66636 (eval $ac_try) 2>&5 47778 66637 ac_status=$? 47779 66638 - echo "$as_me:7307: \$? = $ac_status" >&5 47780 + echo "$as_me:7 882: \$? = $ac_status" >&566639 + echo "$as_me:7950: \$? = $ac_status" >&5 47781 66640 (exit $ac_status); }; }; then 47782 66641 47783 66642 cf_cv_find_linkage_utf8=yes 47784 @@ -7318,7 +7 893,7 @@66643 @@ -7318,7 +7961,7 @@ 47785 66644 LIBS="-lutf8 $cf_save_LIBS" 47786 66645 47787 66646 cat >conftest.$ac_ext <<_ACEOF 47788 66647 -#line 7321 "configure" 47789 +#line 7 896"configure"66648 +#line 7964 "configure" 47790 66649 #include "confdefs.h" 47791 66650 47792 66651 #include <libutf8.h> 47793 @@ -7331,16 +79 06,16 @@66652 @@ -7331,16 +7974,16 @@ 47794 66653 } 47795 66654 _ACEOF 47796 66655 rm -f conftest.$ac_objext conftest$ac_exeext 47797 66656 -if { (eval echo "$as_me:7334: \"$ac_link\"") >&5 47798 +if { (eval echo "$as_me:79 09: \"$ac_link\"") >&566657 +if { (eval echo "$as_me:7977: \"$ac_link\"") >&5 47799 66658 (eval $ac_link) 2>&5 47800 66659 ac_status=$? 47801 66660 - echo "$as_me:7337: \$? = $ac_status" >&5 47802 + echo "$as_me:79 12: \$? = $ac_status" >&566661 + echo "$as_me:7980: \$? = $ac_status" >&5 47803 66662 (exit $ac_status); } && 47804 66663 { ac_try='test -s conftest$ac_exeext' 47805 66664 - { (eval echo "$as_me:7340: \"$ac_try\"") >&5 47806 + { (eval echo "$as_me:79 15: \"$ac_try\"") >&566665 + { (eval echo "$as_me:7983: \"$ac_try\"") >&5 47807 66666 (eval $ac_try) 2>&5 47808 66667 ac_status=$? 47809 66668 - echo "$as_me:7343: \$? = $ac_status" >&5 47810 + echo "$as_me:79 18: \$? = $ac_status" >&566669 + echo "$as_me:7986: \$? = $ac_status" >&5 47811 66670 (exit $ac_status); }; }; then 47812 66671 47813 66672 cf_cv_find_linkage_utf8=yes 47814 @@ -7357,9 + 7932,9 @@66673 @@ -7357,9 +8000,9 @@ 47815 66674 47816 66675 test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 47817 66676 47818 66677 -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>&566678 +echo "${as_me:-configure}:8003: testing find linkage for utf8 library ..." 1>&5 47820 66679 47821 66680 -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>&566681 +echo "${as_me:-configure}:8005: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 47823 66682 47824 66683 cf_save_CPPFLAGS="$CPPFLAGS" 47825 66684 cf_test_CPPFLAGS="$CPPFLAGS" 47826 @@ -7472,11 +8 047,11 @@66685 @@ -7472,11 +8115,11 @@ 47827 66686 if test -d $cf_cv_header_path_utf8 ; then 47828 66687 test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6 47829 66688 47830 66689 -echo "${as_me:-configure}:7475: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 47831 +echo "${as_me:-configure}:8 050: testing ... testing $cf_cv_header_path_utf8 ..." 1>&566690 +echo "${as_me:-configure}:8118: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 47832 66691 47833 66692 CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8" 47834 66693 cat >conftest.$ac_ext <<_ACEOF 47835 66694 -#line 7479 "configure" 47836 +#line 8 054"configure"66695 +#line 8122 "configure" 47837 66696 #include "confdefs.h" 47838 66697 47839 66698 #include <libutf8.h> 47840 @@ -7489,21 +8 064,21 @@66699 @@ -7489,21 +8132,21 @@ 47841 66700 } 47842 66701 _ACEOF 47843 66702 rm -f conftest.$ac_objext 47844 66703 -if { (eval echo "$as_me:7492: \"$ac_compile\"") >&5 47845 +if { (eval echo "$as_me:8 067: \"$ac_compile\"") >&566704 +if { (eval echo "$as_me:8135: \"$ac_compile\"") >&5 47846 66705 (eval $ac_compile) 2>&5 47847 66706 ac_status=$? 47848 66707 - echo "$as_me:7495: \$? = $ac_status" >&5 47849 + echo "$as_me:8 070: \$? = $ac_status" >&566708 + echo "$as_me:8138: \$? = $ac_status" >&5 47850 66709 (exit $ac_status); } && 47851 66710 { ac_try='test -s conftest.$ac_objext' 47852 66711 - { (eval echo "$as_me:7498: \"$ac_try\"") >&5 47853 + { (eval echo "$as_me:8 073: \"$ac_try\"") >&566712 + { (eval echo "$as_me:8141: \"$ac_try\"") >&5 47854 66713 (eval $ac_try) 2>&5 47855 66714 ac_status=$? 47856 66715 - echo "$as_me:7501: \$? = $ac_status" >&5 47857 + echo "$as_me:8 076: \$? = $ac_status" >&566716 + echo "$as_me:8144: \$? = $ac_status" >&5 47858 66717 (exit $ac_status); }; }; then 47859 66718 … … 47861 66720 47862 66721 -echo "${as_me:-configure}:7506: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 47863 +echo "${as_me:-configure}:8 081: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&566722 +echo "${as_me:-configure}:8149: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 47864 66723 47865 66724 cf_cv_find_linkage_utf8=maybe 47866 66725 cf_test_CPPFLAGS="$CPPFLAGS" 47867 @@ -7521,7 +8 096,7 @@66726 @@ -7521,7 +8164,7 @@ 47868 66727 47869 66728 if test "$cf_cv_find_linkage_utf8" = maybe ; then 47870 66729 47871 66730 -echo "${as_me:-configure}:7524: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 47872 +echo "${as_me:-configure}:8 099: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&566731 +echo "${as_me:-configure}:8167: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 47873 66732 47874 66733 cf_save_LIBS="$LIBS" 47875 66734 cf_save_LDFLAGS="$LDFLAGS" 47876 @@ -7618,13 +8 193,13 @@66735 @@ -7618,13 +8261,13 @@ 47877 66736 if test -d $cf_cv_library_path_utf8 ; then 47878 66737 test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6 47879 66738 47880 66739 -echo "${as_me:-configure}:7621: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 47881 +echo "${as_me:-configure}:8 196: testing ... testing $cf_cv_library_path_utf8 ..." 1>&566740 +echo "${as_me:-configure}:8264: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 47882 66741 47883 66742 CPPFLAGS="$cf_test_CPPFLAGS" … … 47886 66745 cat >conftest.$ac_ext <<_ACEOF 47887 66746 -#line 7627 "configure" 47888 +#line 82 02"configure"66747 +#line 8270 "configure" 47889 66748 #include "confdefs.h" 47890 66749 47891 66750 #include <libutf8.h> 47892 @@ -7637,21 +82 12,21 @@66751 @@ -7637,21 +8280,21 @@ 47893 66752 } 47894 66753 _ACEOF 47895 66754 rm -f conftest.$ac_objext conftest$ac_exeext 47896 66755 -if { (eval echo "$as_me:7640: \"$ac_link\"") >&5 47897 +if { (eval echo "$as_me:82 15: \"$ac_link\"") >&566756 +if { (eval echo "$as_me:8283: \"$ac_link\"") >&5 47898 66757 (eval $ac_link) 2>&5 47899 66758 ac_status=$? 47900 66759 - echo "$as_me:7643: \$? = $ac_status" >&5 47901 + echo "$as_me:82 18: \$? = $ac_status" >&566760 + echo "$as_me:8286: \$? = $ac_status" >&5 47902 66761 (exit $ac_status); } && 47903 66762 { ac_try='test -s conftest$ac_exeext' 47904 66763 - { (eval echo "$as_me:7646: \"$ac_try\"") >&5 47905 + { (eval echo "$as_me:82 21: \"$ac_try\"") >&566764 + { (eval echo "$as_me:8289: \"$ac_try\"") >&5 47906 66765 (eval $ac_try) 2>&5 47907 66766 ac_status=$? 47908 66767 - echo "$as_me:7649: \$? = $ac_status" >&5 47909 + echo "$as_me:82 24: \$? = $ac_status" >&566768 + echo "$as_me:8292: \$? = $ac_status" >&5 47910 66769 (exit $ac_status); }; }; then 47911 66770 … … 47913 66772 47914 66773 -echo "${as_me:-configure}:7654: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 47915 +echo "${as_me:-configure}:82 29: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&566774 +echo "${as_me:-configure}:8297: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 47916 66775 47917 66776 cf_cv_find_linkage_utf8=yes 47918 66777 cf_cv_library_file_utf8="-lutf8" 47919 @@ -7693,7 +8 268,7 @@66778 @@ -7693,7 +8336,7 @@ 47920 66779 fi 47921 66780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47922 66781 fi 47923 66782 -echo "$as_me:7696: result: $cf_cv_utf8_lib" >&5 47924 +echo "$as_me:8 271: result: $cf_cv_utf8_lib" >&566783 +echo "$as_me:8339: result: $cf_cv_utf8_lib" >&5 47925 66784 echo "${ECHO_T}$cf_cv_utf8_lib" >&6 47926 66785 47927 66786 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between 47928 @@ -7727,7 +83 02,7 @@66787 @@ -7727,7 +8370,7 @@ 47929 66788 cf_save_CPPFLAGS=$CPPFLAGS 47930 66789 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47931 66790 cat >conftest.$ac_ext <<_ACEOF 47932 66791 -#line 7730 "configure" 47933 +#line 83 05"configure"66792 +#line 8373 "configure" 47934 66793 #include "confdefs.h" 47935 66794 #include <stdio.h> 47936 66795 int 47937 @@ -7739,16 +83 14,16 @@66796 @@ -7739,16 +8382,16 @@ 47938 66797 } 47939 66798 _ACEOF 47940 66799 rm -f conftest.$ac_objext 47941 66800 -if { (eval echo "$as_me:7742: \"$ac_compile\"") >&5 47942 +if { (eval echo "$as_me:83 17: \"$ac_compile\"") >&566801 +if { (eval echo "$as_me:8385: \"$ac_compile\"") >&5 47943 66802 (eval $ac_compile) 2>&5 47944 66803 ac_status=$? 47945 66804 - echo "$as_me:7745: \$? = $ac_status" >&5 47946 + echo "$as_me:83 20: \$? = $ac_status" >&566805 + echo "$as_me:8388: \$? = $ac_status" >&5 47947 66806 (exit $ac_status); } && 47948 66807 { ac_try='test -s conftest.$ac_objext' 47949 66808 - { (eval echo "$as_me:7748: \"$ac_try\"") >&5 47950 + { (eval echo "$as_me:83 23: \"$ac_try\"") >&566809 + { (eval echo "$as_me:8391: \"$ac_try\"") >&5 47951 66810 (eval $ac_try) 2>&5 47952 66811 ac_status=$? 47953 66812 - echo "$as_me:7751: \$? = $ac_status" >&5 47954 + echo "$as_me:83 26: \$? = $ac_status" >&566813 + echo "$as_me:8394: \$? = $ac_status" >&5 47955 66814 (exit $ac_status); }; }; then 47956 66815 : 47957 66816 else 47958 @@ -7765,7 +8 340,7 @@66817 @@ -7765,7 +8408,7 @@ 47959 66818 if test "$cf_have_incdir" = no ; then 47960 66819 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 47961 66820 47962 66821 -echo "${as_me:-configure}:7768: testing adding $cf_add_incdir to include-path ..." 1>&5 47963 +echo "${as_me:-configure}:8 343: testing adding $cf_add_incdir to include-path ..." 1>&566822 +echo "${as_me:-configure}:8411: testing adding $cf_add_incdir to include-path ..." 1>&5 47964 66823 47965 66824 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 47966 66825 47967 @@ -7799,7 +8 374,7 @@66826 @@ -7799,7 +8442,7 @@ 47968 66827 if test "$cf_have_libdir" = no ; then 47969 66828 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 47970 66829 47971 66830 -echo "${as_me:-configure}:7802: testing adding $cf_add_libdir to library-path ..." 1>&5 47972 +echo "${as_me:-configure}:8 377: testing adding $cf_add_libdir to library-path ..." 1>&566831 +echo "${as_me:-configure}:8445: testing adding $cf_add_libdir to library-path ..." 1>&5 47973 66832 47974 66833 LDFLAGS="-L$cf_add_libdir $LDFLAGS" 47975 66834 fi 47976 @@ -7813,48 +8 388,87 @@66835 @@ -7813,48 +8456,87 @@ 47977 66836 cf_ncuconfig_root=ncursesw 47978 66837 … … 47985 66844 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 47986 66845 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 47987 +echo "$as_me:8 397: checking for $ac_word" >&566846 +echo "$as_me:8465: checking for $ac_word" >&5 47988 66847 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 47989 66848 +if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then … … 48000 66859 + $as_executable_p "$ac_dir/$ac_word" || continue 48001 66860 +ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" 48002 +echo "$as_me:84 12: found $ac_dir/$ac_word" >&566861 +echo "$as_me:8480: found $ac_dir/$ac_word" >&5 48003 66862 +break 48004 66863 +done … … 48008 66867 +NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG 48009 66868 +if test -n "$NCURSES_CONFIG"; then 48010 + echo "$as_me:84 20: result: $NCURSES_CONFIG" >&566869 + echo "$as_me:8488: result: $NCURSES_CONFIG" >&5 48011 66870 +echo "${ECHO_T}$NCURSES_CONFIG" >&6 48012 66871 +else 48013 + echo "$as_me:84 23: result: no" >&566872 + echo "$as_me:8491: result: no" >&5 48014 66873 +echo "${ECHO_T}no" >&6 48015 66874 +fi … … 48025 66884 set dummy $ac_prog; ac_word=$2 48026 66885 -echo "$as_me:7820: checking for $ac_word" >&5 48027 +echo "$as_me:8 436: checking for $ac_word" >&566886 +echo "$as_me:8504: checking for $ac_word" >&5 48028 66887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 48029 66888 -if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then … … 48051 66910 + $as_executable_p "$ac_dir/$ac_word" || continue 48052 66911 +ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" 48053 +echo "$as_me:8 451: found $ac_dir/$ac_word" >&566912 +echo "$as_me:8519: found $ac_dir/$ac_word" >&5 48054 66913 +break 48055 66914 done … … 48066 66925 +ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG 48067 66926 +if test -n "$ac_ct_NCURSES_CONFIG"; then 48068 + echo "$as_me:8 459: result: $ac_ct_NCURSES_CONFIG" >&566927 + echo "$as_me:8527: result: $ac_ct_NCURSES_CONFIG" >&5 48069 66928 +echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 48070 66929 else 48071 66930 - echo "$as_me:7851: result: no" >&5 48072 + echo "$as_me:8 462: result: no" >&566931 + echo "$as_me:8530: result: no" >&5 48073 66932 echo "${ECHO_T}no" >&6 48074 66933 fi … … 48085 66944 if test "$NCURSES_CONFIG" != none ; then 48086 66945 48087 @@ -7863,7 +8 477,7 @@66946 @@ -7863,7 +8545,7 @@ 48088 66947 48089 66948 # even with config script, some packages use no-override for curses.h 48090 66949 48091 66950 -echo "$as_me:7866: checking if we have identified curses headers" >&5 48092 +echo "$as_me:8 480: checking if we have identified curses headers" >&566951 +echo "$as_me:8548: checking if we have identified curses headers" >&5 48093 66952 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 48094 66953 if test "${cf_cv_ncurses_header+set}" = set; then 48095 66954 echo $ECHO_N "(cached) $ECHO_C" >&6 48096 @@ -7871,13 +8 485,13 @@66955 @@ -7871,13 +8553,13 @@ 48097 66956 48098 66957 cf_cv_ncurses_header=none … … 48109 66968 cat >conftest.$ac_ext <<_ACEOF 48110 66969 -#line 7880 "configure" 48111 +#line 8 494"configure"66970 +#line 8562 "configure" 48112 66971 #include "confdefs.h" 48113 66972 #include <${cf_header}> 48114 66973 int 48115 @@ -7889,16 +85 03,16 @@66974 @@ -7889,16 +8571,16 @@ 48116 66975 } 48117 66976 _ACEOF 48118 66977 rm -f conftest.$ac_objext 48119 66978 -if { (eval echo "$as_me:7892: \"$ac_compile\"") >&5 48120 +if { (eval echo "$as_me:85 06: \"$ac_compile\"") >&566979 +if { (eval echo "$as_me:8574: \"$ac_compile\"") >&5 48121 66980 (eval $ac_compile) 2>&5 48122 66981 ac_status=$? 48123 66982 - echo "$as_me:7895: \$? = $ac_status" >&5 48124 + echo "$as_me:85 09: \$? = $ac_status" >&566983 + echo "$as_me:8577: \$? = $ac_status" >&5 48125 66984 (exit $ac_status); } && 48126 66985 { ac_try='test -s conftest.$ac_objext' 48127 66986 - { (eval echo "$as_me:7898: \"$ac_try\"") >&5 48128 + { (eval echo "$as_me:85 12: \"$ac_try\"") >&566987 + { (eval echo "$as_me:8580: \"$ac_try\"") >&5 48129 66988 (eval $ac_try) 2>&5 48130 66989 ac_status=$? 48131 66990 - echo "$as_me:7901: \$? = $ac_status" >&5 48132 + echo "$as_me:85 15: \$? = $ac_status" >&566991 + echo "$as_me:8583: \$? = $ac_status" >&5 48133 66992 (exit $ac_status); }; }; then 48134 66993 cf_cv_ncurses_header=$cf_header; break 48135 66994 else 48136 @@ -7909,11 +85 23,11 @@66995 @@ -7909,11 +8591,11 @@ 48137 66996 done 48138 66997 48139 66998 fi 48140 66999 -echo "$as_me:7912: result: $cf_cv_ncurses_header" >&5 48141 +echo "$as_me:85 26: result: $cf_cv_ncurses_header" >&567000 +echo "$as_me:8594: result: $cf_cv_ncurses_header" >&5 48142 67001 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 48143 67002 48144 67003 if test "$cf_cv_ncurses_header" = none ; then 48145 67004 - { { echo "$as_me:7916: error: No curses header-files found" >&5 48146 + { { echo "$as_me:85 30: error: No curses header-files found" >&567005 + { { echo "$as_me:8598: error: No curses header-files found" >&5 48147 67006 echo "$as_me: error: No curses header-files found" >&2;} 48148 67007 { (exit 1); exit 1; }; } 48149 67008 fi 48150 @@ -7923,23 +8 537,23 @@67009 @@ -7923,23 +8605,23 @@ 48151 67010 for ac_header in $cf_cv_ncurses_header 48152 67011 do 48153 67012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 48154 67013 -echo "$as_me:7926: checking for $ac_header" >&5 48155 +echo "$as_me:8 540: checking for $ac_header" >&567014 +echo "$as_me:8608: checking for $ac_header" >&5 48156 67015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 48157 67016 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 48160 67019 cat >conftest.$ac_ext <<_ACEOF 48161 67020 -#line 7932 "configure" 48162 +#line 8 546"configure"67021 +#line 8614 "configure" 48163 67022 #include "confdefs.h" 48164 67023 #include <$ac_header> 48165 67024 _ACEOF 48166 67025 -if { (eval echo "$as_me:7936: \"$ac_cpp conftest.$ac_ext\"") >&5 48167 +if { (eval echo "$as_me:8 550: \"$ac_cpp conftest.$ac_ext\"") >&567026 +if { (eval echo "$as_me:8618: \"$ac_cpp conftest.$ac_ext\"") >&5 48168 67027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 48169 67028 ac_status=$? … … 48172 67031 cat conftest.err >&5 48173 67032 - echo "$as_me:7942: \$? = $ac_status" >&5 48174 + echo "$as_me:8 556: \$? = $ac_status" >&567033 + echo "$as_me:8624: \$? = $ac_status" >&5 48175 67034 (exit $ac_status); } >/dev/null; then 48176 67035 if test -s conftest.err; then 48177 67036 ac_cpp_err=$ac_c_preproc_warn_flag 48178 @@ -7958,7 +8 572,7 @@67037 @@ -7958,7 +8640,7 @@ 48179 67038 fi 48180 67039 rm -f conftest.err conftest.$ac_ext 48181 67040 fi 48182 67041 -echo "$as_me:7961: result: `eval echo '${'$as_ac_Header'}'`" >&5 48183 +echo "$as_me:8 575: result: `eval echo '${'$as_ac_Header'}'`" >&567042 +echo "$as_me:8643: result: `eval echo '${'$as_ac_Header'}'`" >&5 48184 67043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 48185 67044 if test `eval echo '${'$as_ac_Header'}'` = yes; then 48186 67045 cat >>confdefs.h <<EOF 48187 @@ -8011,7 +86 25,7 @@67046 @@ -8011,7 +8693,7 @@ 48188 67047 cf_save_CPPFLAGS=$CPPFLAGS 48189 67048 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48190 67049 cat >conftest.$ac_ext <<_ACEOF 48191 67050 -#line 8014 "configure" 48192 +#line 86 28"configure"67051 +#line 8696 "configure" 48193 67052 #include "confdefs.h" 48194 67053 #include <stdio.h> 48195 67054 int 48196 @@ -8023,16 +8 637,16 @@67055 @@ -8023,16 +8705,16 @@ 48197 67056 } 48198 67057 _ACEOF 48199 67058 rm -f conftest.$ac_objext 48200 67059 -if { (eval echo "$as_me:8026: \"$ac_compile\"") >&5 48201 +if { (eval echo "$as_me:8 640: \"$ac_compile\"") >&567060 +if { (eval echo "$as_me:8708: \"$ac_compile\"") >&5 48202 67061 (eval $ac_compile) 2>&5 48203 67062 ac_status=$? 48204 67063 - echo "$as_me:8029: \$? = $ac_status" >&5 48205 + echo "$as_me:8 643: \$? = $ac_status" >&567064 + echo "$as_me:8711: \$? = $ac_status" >&5 48206 67065 (exit $ac_status); } && 48207 67066 { ac_try='test -s conftest.$ac_objext' 48208 67067 - { (eval echo "$as_me:8032: \"$ac_try\"") >&5 48209 + { (eval echo "$as_me:8 646: \"$ac_try\"") >&567068 + { (eval echo "$as_me:8714: \"$ac_try\"") >&5 48210 67069 (eval $ac_try) 2>&5 48211 67070 ac_status=$? 48212 67071 - echo "$as_me:8035: \$? = $ac_status" >&5 48213 + echo "$as_me:8 649: \$? = $ac_status" >&567072 + echo "$as_me:8717: \$? = $ac_status" >&5 48214 67073 (exit $ac_status); }; }; then 48215 67074 : 48216 67075 else 48217 @@ -8049,7 +8 663,7 @@67076 @@ -8049,7 +8731,7 @@ 48218 67077 if test "$cf_have_incdir" = no ; then 48219 67078 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 48220 67079 48221 67080 -echo "${as_me:-configure}:8052: testing adding $cf_add_incdir to include-path ..." 1>&5 48222 +echo "${as_me:-configure}:8 666: testing adding $cf_add_incdir to include-path ..." 1>&567081 +echo "${as_me:-configure}:8734: testing adding $cf_add_incdir to include-path ..." 1>&5 48223 67082 48224 67083 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48225 67084 48226 @@ -8066,7 +8 680,7 @@67085 @@ -8066,7 +8748,7 @@ 48227 67086 48228 67087 } 48229 67088 48230 67089 -echo "$as_me:8069: checking for $cf_ncuhdr_root header in include-path" >&5 48231 +echo "$as_me:8 683: checking for $cf_ncuhdr_root header in include-path" >&567090 +echo "$as_me:8751: checking for $cf_ncuhdr_root header in include-path" >&5 48232 67091 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 48233 67092 if test "${cf_cv_ncurses_h+set}" = set; then 48234 67093 echo $ECHO_N "(cached) $ECHO_C" >&6 48235 @@ -8078,7 +8 692,7 @@67094 @@ -8078,7 +8760,7 @@ 48236 67095 do 48237 67096 48238 67097 cat >conftest.$ac_ext <<_ACEOF 48239 67098 -#line 8081 "configure" 48240 +#line 8 695"configure"67099 +#line 8763 "configure" 48241 67100 #include "confdefs.h" 48242 67101 48243 67102 #define _XOPEN_SOURCE_EXTENDED 48244 @@ -8110,16 +87 24,16 @@67103 @@ -8110,16 +8792,16 @@ 48245 67104 } 48246 67105 _ACEOF 48247 67106 rm -f conftest.$ac_objext 48248 67107 -if { (eval echo "$as_me:8113: \"$ac_compile\"") >&5 48249 +if { (eval echo "$as_me:87 27: \"$ac_compile\"") >&567108 +if { (eval echo "$as_me:8795: \"$ac_compile\"") >&5 48250 67109 (eval $ac_compile) 2>&5 48251 67110 ac_status=$? 48252 67111 - echo "$as_me:8116: \$? = $ac_status" >&5 48253 + echo "$as_me:87 30: \$? = $ac_status" >&567112 + echo "$as_me:8798: \$? = $ac_status" >&5 48254 67113 (exit $ac_status); } && 48255 67114 { ac_try='test -s conftest.$ac_objext' 48256 67115 - { (eval echo "$as_me:8119: \"$ac_try\"") >&5 48257 + { (eval echo "$as_me:8 733: \"$ac_try\"") >&567116 + { (eval echo "$as_me:8801: \"$ac_try\"") >&5 48258 67117 (eval $ac_try) 2>&5 48259 67118 ac_status=$? 48260 67119 - echo "$as_me:8122: \$? = $ac_status" >&5 48261 + echo "$as_me:8 736: \$? = $ac_status" >&567120 + echo "$as_me:8804: \$? = $ac_status" >&5 48262 67121 (exit $ac_status); }; }; then 48263 67122 cf_cv_ncurses_h=$cf_header 48264 67123 48265 @@ -8134,14 +8 748,14 @@67124 @@ -8134,14 +8816,14 @@ 48266 67125 done 48267 67126 48268 67127 fi 48269 67128 -echo "$as_me:8137: result: $cf_cv_ncurses_h" >&5 48270 +echo "$as_me:8 751: result: $cf_cv_ncurses_h" >&567129 +echo "$as_me:8819: result: $cf_cv_ncurses_h" >&5 48271 67130 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 48272 67131 … … 48276 67135 48277 67136 -echo "$as_me:8144: checking for $cf_ncuhdr_root include-path" >&5 48278 +echo "$as_me:8 758: checking for $cf_ncuhdr_root include-path" >&567137 +echo "$as_me:8826: checking for $cf_ncuhdr_root include-path" >&5 48279 67138 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 48280 67139 if test "${cf_cv_ncurses_h2+set}" = set; then 48281 67140 echo $ECHO_N "(cached) $ECHO_C" >&6 48282 @@ -8281,7 +8 895,7 @@67141 @@ -8281,7 +8963,7 @@ 48283 67142 cf_save_CPPFLAGS=$CPPFLAGS 48284 67143 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48285 67144 cat >conftest.$ac_ext <<_ACEOF 48286 67145 -#line 8284 "configure" 48287 +#line 8 898"configure"67146 +#line 8966 "configure" 48288 67147 #include "confdefs.h" 48289 67148 #include <stdio.h> 48290 67149 int 48291 @@ -8293,16 +89 07,16 @@67150 @@ -8293,16 +8975,16 @@ 48292 67151 } 48293 67152 _ACEOF 48294 67153 rm -f conftest.$ac_objext 48295 67154 -if { (eval echo "$as_me:8296: \"$ac_compile\"") >&5 48296 +if { (eval echo "$as_me:89 10: \"$ac_compile\"") >&567155 +if { (eval echo "$as_me:8978: \"$ac_compile\"") >&5 48297 67156 (eval $ac_compile) 2>&5 48298 67157 ac_status=$? 48299 67158 - echo "$as_me:8299: \$? = $ac_status" >&5 48300 + echo "$as_me:89 13: \$? = $ac_status" >&567159 + echo "$as_me:8981: \$? = $ac_status" >&5 48301 67160 (exit $ac_status); } && 48302 67161 { ac_try='test -s conftest.$ac_objext' 48303 67162 - { (eval echo "$as_me:8302: \"$ac_try\"") >&5 48304 + { (eval echo "$as_me:89 16: \"$ac_try\"") >&567163 + { (eval echo "$as_me:8984: \"$ac_try\"") >&5 48305 67164 (eval $ac_try) 2>&5 48306 67165 ac_status=$? 48307 67166 - echo "$as_me:8305: \$? = $ac_status" >&5 48308 + echo "$as_me:89 19: \$? = $ac_status" >&567167 + echo "$as_me:8987: \$? = $ac_status" >&5 48309 67168 (exit $ac_status); }; }; then 48310 67169 : 48311 67170 else 48312 @@ -8319,7 + 8933,7 @@67171 @@ -8319,7 +9001,7 @@ 48313 67172 if test "$cf_have_incdir" = no ; then 48314 67173 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 48315 67174 48316 67175 -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>&567176 +echo "${as_me:-configure}:9004: testing adding $cf_add_incdir to include-path ..." 1>&5 48318 67177 48319 67178 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48320 67179 48321 @@ -8340,7 + 8954,7 @@67180 @@ -8340,7 +9022,7 @@ 48322 67181 do 48323 67182 48324 67183 cat >conftest.$ac_ext <<_ACEOF 48325 67184 -#line 8343 "configure" 48326 +#line 8957"configure"67185 +#line 9025 "configure" 48327 67186 #include "confdefs.h" 48328 67187 48329 67188 #include <$cf_header> 48330 @@ -8364,16 + 8978,16 @@67189 @@ -8364,16 +9046,16 @@ 48331 67190 } 48332 67191 _ACEOF 48333 67192 rm -f conftest.$ac_objext 48334 67193 -if { (eval echo "$as_me:8367: \"$ac_compile\"") >&5 48335 +if { (eval echo "$as_me: 8981: \"$ac_compile\"") >&567194 +if { (eval echo "$as_me:9049: \"$ac_compile\"") >&5 48336 67195 (eval $ac_compile) 2>&5 48337 67196 ac_status=$? 48338 67197 - echo "$as_me:8370: \$? = $ac_status" >&5 48339 + echo "$as_me: 8984: \$? = $ac_status" >&567198 + echo "$as_me:9052: \$? = $ac_status" >&5 48340 67199 (exit $ac_status); } && 48341 67200 { ac_try='test -s conftest.$ac_objext' 48342 67201 - { (eval echo "$as_me:8373: \"$ac_try\"") >&5 48343 + { (eval echo "$as_me: 8987: \"$ac_try\"") >&567202 + { (eval echo "$as_me:9055: \"$ac_try\"") >&5 48344 67203 (eval $ac_try) 2>&5 48345 67204 ac_status=$? 48346 67205 - echo "$as_me:8376: \$? = $ac_status" >&5 48347 + echo "$as_me: 8990: \$? = $ac_status" >&567206 + echo "$as_me:9058: \$? = $ac_status" >&5 48348 67207 (exit $ac_status); }; }; then 48349 67208 cf_cv_ncurses_h2=$cf_header 48350 67209 48351 @@ -8394,12 +90 08,12 @@67210 @@ -8394,12 +9076,12 @@ 48352 67211 CPPFLAGS="$cf_save2_CPPFLAGS" 48353 67212 test "$cf_cv_ncurses_h2" != no && break 48354 67213 done 48355 67214 - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8397: error: not found" >&5 48356 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:90 11: error: not found" >&567215 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9079: error: not found" >&5 48357 67216 echo "$as_me: error: not found" >&2;} 48358 67217 { (exit 1); exit 1; }; } … … 48360 67219 fi 48361 67220 -echo "$as_me:8402: result: $cf_cv_ncurses_h2" >&5 48362 +echo "$as_me:90 16: result: $cf_cv_ncurses_h2" >&567221 +echo "$as_me:9084: result: $cf_cv_ncurses_h2" >&5 48363 67222 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 48364 67223 48365 67224 cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` 48366 @@ -8432,7 +9 046,7 @@67225 @@ -8432,7 +9114,7 @@ 48367 67226 cf_save_CPPFLAGS=$CPPFLAGS 48368 67227 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48369 67228 cat >conftest.$ac_ext <<_ACEOF 48370 67229 -#line 8435 "configure" 48371 +#line 9 049"configure"67230 +#line 9117 "configure" 48372 67231 #include "confdefs.h" 48373 67232 #include <stdio.h> 48374 67233 int 48375 @@ -8444,16 +9 058,16 @@67234 @@ -8444,16 +9126,16 @@ 48376 67235 } 48377 67236 _ACEOF 48378 67237 rm -f conftest.$ac_objext 48379 67238 -if { (eval echo "$as_me:8447: \"$ac_compile\"") >&5 48380 +if { (eval echo "$as_me:9 061: \"$ac_compile\"") >&567239 +if { (eval echo "$as_me:9129: \"$ac_compile\"") >&5 48381 67240 (eval $ac_compile) 2>&5 48382 67241 ac_status=$? 48383 67242 - echo "$as_me:8450: \$? = $ac_status" >&5 48384 + echo "$as_me:9 064: \$? = $ac_status" >&567243 + echo "$as_me:9132: \$? = $ac_status" >&5 48385 67244 (exit $ac_status); } && 48386 67245 { ac_try='test -s conftest.$ac_objext' 48387 67246 - { (eval echo "$as_me:8453: \"$ac_try\"") >&5 48388 + { (eval echo "$as_me:9 067: \"$ac_try\"") >&567247 + { (eval echo "$as_me:9135: \"$ac_try\"") >&5 48389 67248 (eval $ac_try) 2>&5 48390 67249 ac_status=$? 48391 67250 - echo "$as_me:8456: \$? = $ac_status" >&5 48392 + echo "$as_me:9 070: \$? = $ac_status" >&567251 + echo "$as_me:9138: \$? = $ac_status" >&5 48393 67252 (exit $ac_status); }; }; then 48394 67253 : 48395 67254 else 48396 @@ -8470,7 +9 084,7 @@67255 @@ -8470,7 +9152,7 @@ 48397 67256 if test "$cf_have_incdir" = no ; then 48398 67257 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 48399 67258 48400 67259 -echo "${as_me:-configure}:8473: testing adding $cf_add_incdir to include-path ..." 1>&5 48401 +echo "${as_me:-configure}:9 087: testing adding $cf_add_incdir to include-path ..." 1>&567260 +echo "${as_me:-configure}:9155: testing adding $cf_add_incdir to include-path ..." 1>&5 48402 67261 48403 67262 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" 48404 67263 48405 @@ -8513,7 +91 27,7 @@67264 @@ -8513,7 +9195,7 @@ 48406 67265 ;; 48407 67266 esac 48408 67267 48409 67268 -echo "$as_me:8516: checking for terminfo header" >&5 48410 +echo "$as_me:91 30: checking for terminfo header" >&567269 +echo "$as_me:9198: checking for terminfo header" >&5 48411 67270 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 48412 67271 if test "${cf_cv_term_header+set}" = set; then 48413 67272 echo $ECHO_N "(cached) $ECHO_C" >&6 48414 @@ -8531,7 +9 145,7 @@67273 @@ -8531,7 +9213,7 @@ 48415 67274 for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" 48416 67275 do 48417 67276 cat >conftest.$ac_ext <<_ACEOF 48418 67277 -#line 8534 "configure" 48419 +#line 9 148"configure"67278 +#line 9216 "configure" 48420 67279 #include "confdefs.h" 48421 67280 #include <stdio.h> 48422 67281 #include <${cf_cv_ncurses_header:-curses.h}> 48423 @@ -8546,16 +9 160,16 @@67282 @@ -8546,16 +9228,16 @@ 48424 67283 } 48425 67284 _ACEOF 48426 67285 rm -f conftest.$ac_objext 48427 67286 -if { (eval echo "$as_me:8549: \"$ac_compile\"") >&5 48428 +if { (eval echo "$as_me:9 163: \"$ac_compile\"") >&567287 +if { (eval echo "$as_me:9231: \"$ac_compile\"") >&5 48429 67288 (eval $ac_compile) 2>&5 48430 67289 ac_status=$? 48431 67290 - echo "$as_me:8552: \$? = $ac_status" >&5 48432 + echo "$as_me:9 166: \$? = $ac_status" >&567291 + echo "$as_me:9234: \$? = $ac_status" >&5 48433 67292 (exit $ac_status); } && 48434 67293 { ac_try='test -s conftest.$ac_objext' 48435 67294 - { (eval echo "$as_me:8555: \"$ac_try\"") >&5 48436 + { (eval echo "$as_me:9 169: \"$ac_try\"") >&567295 + { (eval echo "$as_me:9237: \"$ac_try\"") >&5 48437 67296 (eval $ac_try) 2>&5 48438 67297 ac_status=$? 48439 67298 - echo "$as_me:8558: \$? = $ac_status" >&5 48440 + echo "$as_me:9 172: \$? = $ac_status" >&567299 + echo "$as_me:9240: \$? = $ac_status" >&5 48441 67300 (exit $ac_status); }; }; then 48442 67301 48443 67302 cf_cv_term_header="$cf_test" 48444 @@ -8571,7 +9 185,7 @@67303 @@ -8571,7 +9253,7 @@ 48445 67304 done 48446 67305 48447 67306 fi 48448 67307 -echo "$as_me:8574: result: $cf_cv_term_header" >&5 48449 +echo "$as_me:9 188: result: $cf_cv_term_header" >&567308 +echo "$as_me:9256: result: $cf_cv_term_header" >&5 48450 67309 echo "${ECHO_T}$cf_cv_term_header" >&6 48451 67310 48452 67311 # Set definitions to allow ifdef'ing to accommodate subdirectories 48453 @@ -8605,7 +92 19,7 @@67312 @@ -8605,7 +9287,7 @@ 48454 67313 #define NCURSES 1 48455 67314 EOF 48456 67315 48457 67316 -echo "$as_me:8608: checking for ncurses version" >&5 48458 +echo "$as_me:92 22: checking for ncurses version" >&567317 +echo "$as_me:9290: checking for ncurses version" >&5 48459 67318 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 48460 67319 if test "${cf_cv_ncurses_version+set}" = set; then 48461 67320 echo $ECHO_N "(cached) $ECHO_C" >&6 48462 @@ -8631,10 +9 245,10 @@67321 @@ -8631,10 +9313,10 @@ 48463 67322 #endif 48464 67323 EOF 48465 67324 cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" 48466 67325 - { (eval echo "$as_me:8634: \"$cf_try\"") >&5 48467 + { (eval echo "$as_me:9 248: \"$cf_try\"") >&567326 + { (eval echo "$as_me:9316: \"$cf_try\"") >&5 48468 67327 (eval $cf_try) 2>&5 48469 67328 ac_status=$? 48470 67329 - echo "$as_me:8637: \$? = $ac_status" >&5 48471 + echo "$as_me:9 251: \$? = $ac_status" >&567330 + echo "$as_me:9319: \$? = $ac_status" >&5 48472 67331 (exit $ac_status); } 48473 67332 if test -f conftest.out ; then 48474 67333 cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` 48475 @@ -8644,7 +9 258,7 @@67334 @@ -8644,7 +9326,7 @@ 48476 67335 48477 67336 else 48478 67337 cat >conftest.$ac_ext <<_ACEOF 48479 67338 -#line 8647 "configure" 48480 +#line 9 261"configure"67339 +#line 9329 "configure" 48481 67340 #include "confdefs.h" 48482 67341 48483 67342 #include <${cf_cv_ncurses_header:-curses.h}> 48484 @@ -8669,15 +9 283,15 @@67343 @@ -8669,15 +9351,15 @@ 48485 67344 } 48486 67345 _ACEOF 48487 67346 rm -f conftest$ac_exeext 48488 67347 -if { (eval echo "$as_me:8672: \"$ac_link\"") >&5 48489 +if { (eval echo "$as_me:9 286: \"$ac_link\"") >&567348 +if { (eval echo "$as_me:9354: \"$ac_link\"") >&5 48490 67349 (eval $ac_link) 2>&5 48491 67350 ac_status=$? 48492 67351 - echo "$as_me:8675: \$? = $ac_status" >&5 48493 + echo "$as_me:9 289: \$? = $ac_status" >&567352 + echo "$as_me:9357: \$? = $ac_status" >&5 48494 67353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 48495 67354 - { (eval echo "$as_me:8677: \"$ac_try\"") >&5 48496 + { (eval echo "$as_me:9 291: \"$ac_try\"") >&567355 + { (eval echo "$as_me:9359: \"$ac_try\"") >&5 48497 67356 (eval $ac_try) 2>&5 48498 67357 ac_status=$? 48499 67358 - echo "$as_me:8680: \$? = $ac_status" >&5 48500 + echo "$as_me:9 294: \$? = $ac_status" >&567359 + echo "$as_me:9362: \$? = $ac_status" >&5 48501 67360 (exit $ac_status); }; }; then 48502 67361 48503 67362 cf_cv_ncurses_version=`cat $cf_tempfile` 48504 @@ -8691,7 +93 05,7 @@67363 @@ -8691,7 +9373,7 @@ 48505 67364 rm -f $cf_tempfile 48506 67365 48507 67366 fi 48508 67367 -echo "$as_me:8694: result: $cf_cv_ncurses_version" >&5 48509 +echo "$as_me:93 08: result: $cf_cv_ncurses_version" >&567368 +echo "$as_me:9376: result: $cf_cv_ncurses_version" >&5 48510 67369 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 48511 67370 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF 48512 67371 #define NCURSES 1 48513 @@ -8703,7 +93 17,7 @@67372 @@ -8703,7 +9385,7 @@ 48514 67373 # to link gpm. 48515 67374 cf_ncurses_LIBS="" 48516 67375 cf_ncurses_SAVE="$LIBS" 48517 67376 -echo "$as_me:8706: checking for Gpm_Open in -lgpm" >&5 48518 +echo "$as_me:93 20: checking for Gpm_Open in -lgpm" >&567377 +echo "$as_me:9388: checking for Gpm_Open in -lgpm" >&5 48519 67378 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 48520 67379 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 48521 67380 echo $ECHO_N "(cached) $ECHO_C" >&6 48522 @@ -8711,7 +93 25,7 @@67381 @@ -8711,7 +9393,7 @@ 48523 67382 ac_check_lib_save_LIBS=$LIBS 48524 67383 LIBS="-lgpm $LIBS" 48525 67384 cat >conftest.$ac_ext <<_ACEOF 48526 67385 -#line 8714 "configure" 48527 +#line 93 28"configure"67386 +#line 9396 "configure" 48528 67387 #include "confdefs.h" 48529 67388 48530 67389 /* Override any gcc2 internal prototype to avoid an error. */ 48531 @@ -8730,16 +9 344,16 @@67390 @@ -8730,16 +9412,16 @@ 48532 67391 } 48533 67392 _ACEOF 48534 67393 rm -f conftest.$ac_objext conftest$ac_exeext 48535 67394 -if { (eval echo "$as_me:8733: \"$ac_link\"") >&5 48536 +if { (eval echo "$as_me:9 347: \"$ac_link\"") >&567395 +if { (eval echo "$as_me:9415: \"$ac_link\"") >&5 48537 67396 (eval $ac_link) 2>&5 48538 67397 ac_status=$? 48539 67398 - echo "$as_me:8736: \$? = $ac_status" >&5 48540 + echo "$as_me:9 350: \$? = $ac_status" >&567399 + echo "$as_me:9418: \$? = $ac_status" >&5 48541 67400 (exit $ac_status); } && 48542 67401 { ac_try='test -s conftest$ac_exeext' 48543 67402 - { (eval echo "$as_me:8739: \"$ac_try\"") >&5 48544 + { (eval echo "$as_me:9 353: \"$ac_try\"") >&567403 + { (eval echo "$as_me:9421: \"$ac_try\"") >&5 48545 67404 (eval $ac_try) 2>&5 48546 67405 ac_status=$? 48547 67406 - echo "$as_me:8742: \$? = $ac_status" >&5 48548 + echo "$as_me:9 356: \$? = $ac_status" >&567407 + echo "$as_me:9424: \$? = $ac_status" >&5 48549 67408 (exit $ac_status); }; }; then 48550 67409 ac_cv_lib_gpm_Gpm_Open=yes 48551 67410 else 48552 @@ -8750,10 +9 364,10 @@67411 @@ -8750,10 +9432,10 @@ 48553 67412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48554 67413 LIBS=$ac_check_lib_save_LIBS 48555 67414 fi 48556 67415 -echo "$as_me:8753: result: $ac_cv_lib_gpm_Gpm_Open" >&5 48557 +echo "$as_me:9 367: result: $ac_cv_lib_gpm_Gpm_Open" >&567416 +echo "$as_me:9435: result: $ac_cv_lib_gpm_Gpm_Open" >&5 48558 67417 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 48559 67418 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 48560 67419 - echo "$as_me:8756: checking for initscr in -lgpm" >&5 48561 + echo "$as_me:9 370: checking for initscr in -lgpm" >&567420 + echo "$as_me:9438: checking for initscr in -lgpm" >&5 48562 67421 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 48563 67422 if test "${ac_cv_lib_gpm_initscr+set}" = set; then 48564 67423 echo $ECHO_N "(cached) $ECHO_C" >&6 48565 @@ -8761,7 +9 375,7 @@67424 @@ -8761,7 +9443,7 @@ 48566 67425 ac_check_lib_save_LIBS=$LIBS 48567 67426 LIBS="-lgpm $LIBS" 48568 67427 cat >conftest.$ac_ext <<_ACEOF 48569 67428 -#line 8764 "configure" 48570 +#line 9 378"configure"67429 +#line 9446 "configure" 48571 67430 #include "confdefs.h" 48572 67431 48573 67432 /* Override any gcc2 internal prototype to avoid an error. */ 48574 @@ -8780,16 +9 394,16 @@67433 @@ -8780,16 +9462,16 @@ 48575 67434 } 48576 67435 _ACEOF 48577 67436 rm -f conftest.$ac_objext conftest$ac_exeext 48578 67437 -if { (eval echo "$as_me:8783: \"$ac_link\"") >&5 48579 +if { (eval echo "$as_me:9 397: \"$ac_link\"") >&567438 +if { (eval echo "$as_me:9465: \"$ac_link\"") >&5 48580 67439 (eval $ac_link) 2>&5 48581 67440 ac_status=$? 48582 67441 - echo "$as_me:8786: \$? = $ac_status" >&5 48583 + echo "$as_me:94 00: \$? = $ac_status" >&567442 + echo "$as_me:9468: \$? = $ac_status" >&5 48584 67443 (exit $ac_status); } && 48585 67444 { ac_try='test -s conftest$ac_exeext' 48586 67445 - { (eval echo "$as_me:8789: \"$ac_try\"") >&5 48587 + { (eval echo "$as_me:94 03: \"$ac_try\"") >&567446 + { (eval echo "$as_me:9471: \"$ac_try\"") >&5 48588 67447 (eval $ac_try) 2>&5 48589 67448 ac_status=$? 48590 67449 - echo "$as_me:8792: \$? = $ac_status" >&5 48591 + echo "$as_me:94 06: \$? = $ac_status" >&567450 + echo "$as_me:9474: \$? = $ac_status" >&5 48592 67451 (exit $ac_status); }; }; then 48593 67452 ac_cv_lib_gpm_initscr=yes 48594 67453 else 48595 @@ -8800,7 +94 14,7 @@67454 @@ -8800,7 +9482,7 @@ 48596 67455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48597 67456 LIBS=$ac_check_lib_save_LIBS 48598 67457 fi 48599 67458 -echo "$as_me:8803: result: $ac_cv_lib_gpm_initscr" >&5 48600 +echo "$as_me:94 17: result: $ac_cv_lib_gpm_initscr" >&567459 +echo "$as_me:9485: result: $ac_cv_lib_gpm_initscr" >&5 48601 67460 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 48602 67461 if test $ac_cv_lib_gpm_initscr = yes; then 48603 67462 LIBS="$cf_ncurses_SAVE" 48604 @@ -8815,7 +94 29,7 @@67463 @@ -8815,7 +9497,7 @@ 48605 67464 # This is only necessary if you are linking against an obsolete 48606 67465 # version of ncurses (but it should do no harm, since it's static). 48607 67466 if test "$cf_nculib_root" = ncurses ; then 48608 67467 - echo "$as_me:8818: checking for tgoto in -lmytinfo" >&5 48609 + echo "$as_me:9 432: checking for tgoto in -lmytinfo" >&567468 + echo "$as_me:9500: checking for tgoto in -lmytinfo" >&5 48610 67469 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 48611 67470 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then 48612 67471 echo $ECHO_N "(cached) $ECHO_C" >&6 48613 @@ -8823,7 +9 437,7 @@67472 @@ -8823,7 +9505,7 @@ 48614 67473 ac_check_lib_save_LIBS=$LIBS 48615 67474 LIBS="-lmytinfo $LIBS" 48616 67475 cat >conftest.$ac_ext <<_ACEOF 48617 67476 -#line 8826 "configure" 48618 +#line 9 440"configure"67477 +#line 9508 "configure" 48619 67478 #include "confdefs.h" 48620 67479 48621 67480 /* Override any gcc2 internal prototype to avoid an error. */ 48622 @@ -8842,16 +9 456,16 @@67481 @@ -8842,16 +9524,16 @@ 48623 67482 } 48624 67483 _ACEOF 48625 67484 rm -f conftest.$ac_objext conftest$ac_exeext 48626 67485 -if { (eval echo "$as_me:8845: \"$ac_link\"") >&5 48627 +if { (eval echo "$as_me:9 459: \"$ac_link\"") >&567486 +if { (eval echo "$as_me:9527: \"$ac_link\"") >&5 48628 67487 (eval $ac_link) 2>&5 48629 67488 ac_status=$? 48630 67489 - echo "$as_me:8848: \$? = $ac_status" >&5 48631 + echo "$as_me:9 462: \$? = $ac_status" >&567490 + echo "$as_me:9530: \$? = $ac_status" >&5 48632 67491 (exit $ac_status); } && 48633 67492 { ac_try='test -s conftest$ac_exeext' 48634 67493 - { (eval echo "$as_me:8851: \"$ac_try\"") >&5 48635 + { (eval echo "$as_me:9 465: \"$ac_try\"") >&567494 + { (eval echo "$as_me:9533: \"$ac_try\"") >&5 48636 67495 (eval $ac_try) 2>&5 48637 67496 ac_status=$? 48638 67497 - echo "$as_me:8854: \$? = $ac_status" >&5 48639 + echo "$as_me:9 468: \$? = $ac_status" >&567498 + echo "$as_me:9536: \$? = $ac_status" >&5 48640 67499 (exit $ac_status); }; }; then 48641 67500 ac_cv_lib_mytinfo_tgoto=yes 48642 67501 else 48643 @@ -8862,7 +9 476,7 @@67502 @@ -8862,7 +9544,7 @@ 48644 67503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48645 67504 LIBS=$ac_check_lib_save_LIBS 48646 67505 fi 48647 67506 -echo "$as_me:8865: result: $ac_cv_lib_mytinfo_tgoto" >&5 48648 +echo "$as_me:9 479: result: $ac_cv_lib_mytinfo_tgoto" >&567507 +echo "$as_me:9547: result: $ac_cv_lib_mytinfo_tgoto" >&5 48649 67508 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 48650 67509 if test $ac_cv_lib_mytinfo_tgoto = yes; then 48651 67510 cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" 48652 @@ -8881,13 +9 495,13 @@67511 @@ -8881,13 +9563,13 @@ 48653 67512 48654 67513 eval 'cf_cv_have_lib_'$cf_nculib_root'=no' 48655 67514 cf_libdir="" 48656 67515 - echo "$as_me:8884: checking for initscr" >&5 48657 + echo "$as_me:9 498: checking for initscr" >&567516 + echo "$as_me:9566: checking for initscr" >&5 48658 67517 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 48659 67518 if test "${ac_cv_func_initscr+set}" = set; then … … 48662 67521 cat >conftest.$ac_ext <<_ACEOF 48663 67522 -#line 8890 "configure" 48664 +#line 95 04"configure"67523 +#line 9572 "configure" 48665 67524 #include "confdefs.h" 48666 67525 /* System header to define __stub macros and hopefully few prototypes, 48667 67526 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 @@ 48669 67537 } 48670 67538 _ACEOF 48671 67539 rm -f conftest.$ac_objext conftest$ac_exeext 48672 67540 -if { (eval echo "$as_me:8921: \"$ac_link\"") >&5 48673 +if { (eval echo "$as_me:9 535: \"$ac_link\"") >&567541 +if { (eval echo "$as_me:9603: \"$ac_link\"") >&5 48674 67542 (eval $ac_link) 2>&5 48675 67543 ac_status=$? 48676 67544 - echo "$as_me:8924: \$? = $ac_status" >&5 48677 + echo "$as_me:9 538: \$? = $ac_status" >&567545 + echo "$as_me:9606: \$? = $ac_status" >&5 48678 67546 (exit $ac_status); } && 48679 67547 { ac_try='test -s conftest$ac_exeext' 48680 67548 - { (eval echo "$as_me:8927: \"$ac_try\"") >&5 48681 + { (eval echo "$as_me:9 541: \"$ac_try\"") >&567549 + { (eval echo "$as_me:9609: \"$ac_try\"") >&5 48682 67550 (eval $ac_try) 2>&5 48683 67551 ac_status=$? 48684 67552 - echo "$as_me:8930: \$? = $ac_status" >&5 48685 + echo "$as_me:9 544: \$? = $ac_status" >&567553 + echo "$as_me:9612: \$? = $ac_status" >&5 48686 67554 (exit $ac_status); }; }; then 48687 67555 ac_cv_func_initscr=yes 48688 67556 else 48689 @@ -8937,18 +9 551,18 @@67557 @@ -8937,18 +9619,18 @@ 48690 67558 fi 48691 67559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48692 67560 fi 48693 67561 -echo "$as_me:8940: result: $ac_cv_func_initscr" >&5 48694 +echo "$as_me:9 554: result: $ac_cv_func_initscr" >&567562 +echo "$as_me:9622: result: $ac_cv_func_initscr" >&5 48695 67563 echo "${ECHO_T}$ac_cv_func_initscr" >&6 48696 67564 if test $ac_cv_func_initscr = yes; then … … 48700 67568 cf_save_LIBS="$LIBS" 48701 67569 - echo "$as_me:8947: checking for initscr in -l$cf_nculib_root" >&5 48702 + echo "$as_me:9 561: checking for initscr in -l$cf_nculib_root" >&567570 + echo "$as_me:9629: checking for initscr in -l$cf_nculib_root" >&5 48703 67571 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 48704 67572 LIBS="-l$cf_nculib_root $LIBS" 48705 67573 cat >conftest.$ac_ext <<_ACEOF 48706 67574 -#line 8951 "configure" 48707 +#line 9 565"configure"67575 +#line 9633 "configure" 48708 67576 #include "confdefs.h" 48709 67577 #include <${cf_cv_ncurses_header:-curses.h}> 48710 67578 int 48711 @@ -8960,25 +9 574,25 @@67579 @@ -8960,25 +9642,25 @@ 48712 67580 } 48713 67581 _ACEOF 48714 67582 rm -f conftest.$ac_objext conftest$ac_exeext 48715 67583 -if { (eval echo "$as_me:8963: \"$ac_link\"") >&5 48716 +if { (eval echo "$as_me:9 577: \"$ac_link\"") >&567584 +if { (eval echo "$as_me:9645: \"$ac_link\"") >&5 48717 67585 (eval $ac_link) 2>&5 48718 67586 ac_status=$? 48719 67587 - echo "$as_me:8966: \$? = $ac_status" >&5 48720 + echo "$as_me:9 580: \$? = $ac_status" >&567588 + echo "$as_me:9648: \$? = $ac_status" >&5 48721 67589 (exit $ac_status); } && 48722 67590 { ac_try='test -s conftest$ac_exeext' 48723 67591 - { (eval echo "$as_me:8969: \"$ac_try\"") >&5 48724 + { (eval echo "$as_me:9 583: \"$ac_try\"") >&567592 + { (eval echo "$as_me:9651: \"$ac_try\"") >&5 48725 67593 (eval $ac_try) 2>&5 48726 67594 ac_status=$? 48727 67595 - echo "$as_me:8972: \$? = $ac_status" >&5 48728 + echo "$as_me:9 586: \$? = $ac_status" >&567596 + echo "$as_me:9654: \$? = $ac_status" >&5 48729 67597 (exit $ac_status); }; }; then 48730 67598 - echo "$as_me:8974: result: yes" >&5 48731 + echo "$as_me:9 588: result: yes" >&567599 + echo "$as_me:9656: result: yes" >&5 48732 67600 echo "${ECHO_T}yes" >&6 48733 67601 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 48737 67605 cat conftest.$ac_ext >&5 48738 67606 -echo "$as_me:8981: result: no" >&5 48739 +echo "$as_me:9 595: result: no" >&567607 +echo "$as_me:9663: result: no" >&5 48740 67608 echo "${ECHO_T}no" >&6 48741 67609 48742 67610 cf_search= 48743 @@ -9068,11 +9 682,11 @@67611 @@ -9068,11 +9750,11 @@ 48744 67612 48745 67613 for cf_libdir in $cf_search 48746 67614 do 48747 67615 - echo "$as_me:9071: checking for -l$cf_nculib_root in $cf_libdir" >&5 48748 + echo "$as_me:9 685: checking for -l$cf_nculib_root in $cf_libdir" >&567616 + echo "$as_me:9753: checking for -l$cf_nculib_root in $cf_libdir" >&5 48749 67617 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 48750 67618 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" 48751 67619 cat >conftest.$ac_ext <<_ACEOF 48752 67620 -#line 9075 "configure" 48753 +#line 9 689"configure"67621 +#line 9757 "configure" 48754 67622 #include "confdefs.h" 48755 67623 #include <${cf_cv_ncurses_header:-curses.h}> 48756 67624 int 48757 @@ -9084,25 +9 698,25 @@67625 @@ -9084,25 +9766,25 @@ 48758 67626 } 48759 67627 _ACEOF 48760 67628 rm -f conftest.$ac_objext conftest$ac_exeext 48761 67629 -if { (eval echo "$as_me:9087: \"$ac_link\"") >&5 48762 +if { (eval echo "$as_me:97 01: \"$ac_link\"") >&567630 +if { (eval echo "$as_me:9769: \"$ac_link\"") >&5 48763 67631 (eval $ac_link) 2>&5 48764 67632 ac_status=$? 48765 67633 - echo "$as_me:9090: \$? = $ac_status" >&5 48766 + echo "$as_me:97 04: \$? = $ac_status" >&567634 + echo "$as_me:9772: \$? = $ac_status" >&5 48767 67635 (exit $ac_status); } && 48768 67636 { ac_try='test -s conftest$ac_exeext' 48769 67637 - { (eval echo "$as_me:9093: \"$ac_try\"") >&5 48770 + { (eval echo "$as_me:97 07: \"$ac_try\"") >&567638 + { (eval echo "$as_me:9775: \"$ac_try\"") >&5 48771 67639 (eval $ac_try) 2>&5 48772 67640 ac_status=$? 48773 67641 - echo "$as_me:9096: \$? = $ac_status" >&5 48774 + echo "$as_me:97 10: \$? = $ac_status" >&567642 + echo "$as_me:9778: \$? = $ac_status" >&5 48775 67643 (exit $ac_status); }; }; then 48776 67644 - echo "$as_me:9098: result: yes" >&5 48777 + echo "$as_me:97 12: result: yes" >&567645 + echo "$as_me:9780: result: yes" >&5 48778 67646 echo "${ECHO_T}yes" >&6 48779 67647 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' … … 48783 67651 cat conftest.$ac_ext >&5 48784 67652 -echo "$as_me:9105: result: no" >&5 48785 +echo "$as_me:97 19: result: no" >&567653 +echo "$as_me:9787: result: no" >&5 48786 67654 echo "${ECHO_T}no" >&6 48787 67655 LIBS="$cf_save_LIBS" 48788 67656 fi 48789 @@ -9117,7 +97 31,7 @@67657 @@ -9117,7 +9799,7 @@ 48790 67658 eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root 48791 67659 48792 67660 if test $cf_found_library = no ; then 48793 67661 - { { echo "$as_me:9120: error: Cannot link $cf_nculib_root library" >&5 48794 + { { echo "$as_me:9 734: error: Cannot link $cf_nculib_root library" >&567662 + { { echo "$as_me:9802: error: Cannot link $cf_nculib_root library" >&5 48795 67663 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} 48796 67664 { (exit 1); exit 1; }; } 48797 67665 fi 48798 @@ -9125,7 +9 739,7 @@67666 @@ -9125,7 +9807,7 @@ 48799 67667 fi 48800 67668 48801 67669 if test -n "$cf_ncurses_LIBS" ; then 48802 67670 - echo "$as_me:9128: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 48803 + echo "$as_me:9 742: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&567671 + echo "$as_me:9810: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 48804 67672 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 48805 67673 cf_ncurses_SAVE="$LIBS" 48806 67674 for p in $cf_ncurses_LIBS ; do 48807 @@ -9135,7 +9 749,7 @@67675 @@ -9135,7 +9817,7 @@ 48808 67676 fi 48809 67677 done 48810 67678 cat >conftest.$ac_ext <<_ACEOF 48811 67679 -#line 9138 "configure" 48812 +#line 9 752"configure"67680 +#line 9820 "configure" 48813 67681 #include "confdefs.h" 48814 67682 #include <${cf_cv_ncurses_header:-curses.h}> 48815 67683 int 48816 @@ -9147,23 +9 761,23 @@67684 @@ -9147,23 +9829,23 @@ 48817 67685 } 48818 67686 _ACEOF 48819 67687 rm -f conftest.$ac_objext conftest$ac_exeext 48820 67688 -if { (eval echo "$as_me:9150: \"$ac_link\"") >&5 48821 +if { (eval echo "$as_me:9 764: \"$ac_link\"") >&567689 +if { (eval echo "$as_me:9832: \"$ac_link\"") >&5 48822 67690 (eval $ac_link) 2>&5 48823 67691 ac_status=$? 48824 67692 - echo "$as_me:9153: \$? = $ac_status" >&5 48825 + echo "$as_me:9 767: \$? = $ac_status" >&567693 + echo "$as_me:9835: \$? = $ac_status" >&5 48826 67694 (exit $ac_status); } && 48827 67695 { ac_try='test -s conftest$ac_exeext' 48828 67696 - { (eval echo "$as_me:9156: \"$ac_try\"") >&5 48829 + { (eval echo "$as_me:9 770: \"$ac_try\"") >&567697 + { (eval echo "$as_me:9838: \"$ac_try\"") >&5 48830 67698 (eval $ac_try) 2>&5 48831 67699 ac_status=$? 48832 67700 - echo "$as_me:9159: \$? = $ac_status" >&5 48833 + echo "$as_me:9 773: \$? = $ac_status" >&567701 + echo "$as_me:9841: \$? = $ac_status" >&5 48834 67702 (exit $ac_status); }; }; then 48835 67703 - echo "$as_me:9161: result: yes" >&5 48836 + echo "$as_me:9 775: result: yes" >&567704 + echo "$as_me:9843: result: yes" >&5 48837 67705 echo "${ECHO_T}yes" >&6 48838 67706 else … … 48840 67708 cat conftest.$ac_ext >&5 48841 67709 -echo "$as_me:9166: result: no" >&5 48842 +echo "$as_me:9 780: result: no" >&567710 +echo "$as_me:9848: result: no" >&5 48843 67711 echo "${ECHO_T}no" >&6 48844 67712 LIBS="$cf_ncurses_SAVE" 48845 67713 fi 48846 @@ -9179,9 +9 793,9 @@67714 @@ -9179,9 +9861,9 @@ 48847 67715 fi 48848 67716 … … 48852 67720 48853 67721 -echo "$as_me:9184: checking if you want to use pkg-config" >&5 48854 +echo "$as_me:9 798: checking if you want to use pkg-config" >&567722 +echo "$as_me:9866: checking if you want to use pkg-config" >&5 48855 67723 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6 48856 67724 48857 67725 # Check whether --with-pkg-config or --without-pkg-config was given. 48858 @@ -9191,7 +98 05,7 @@67726 @@ -9191,7 +9873,7 @@ 48859 67727 else 48860 67728 cf_pkg_config=yes 48861 67729 fi; 48862 67730 -echo "$as_me:9194: result: $cf_pkg_config" >&5 48863 +echo "$as_me:98 08: result: $cf_pkg_config" >&567731 +echo "$as_me:9876: result: $cf_pkg_config" >&5 48864 67732 echo "${ECHO_T}$cf_pkg_config" >&6 48865 67733 48866 67734 case $cf_pkg_config in #(vi 48867 @@ -9199,10 +98 13,11 @@67735 @@ -9199,10 +9881,11 @@ 48868 67736 PKG_CONFIG=none 48869 67737 ;; … … 48875 67743 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 48876 67744 -echo "$as_me:9205: checking for $ac_word" >&5 48877 +echo "$as_me:98 20: checking for $ac_word" >&567745 +echo "$as_me:9888: checking for $ac_word" >&5 48878 67746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 48879 67747 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 48880 67748 echo $ECHO_N "(cached) $ECHO_C" >&6 48881 @@ -9219,7 +9 834,7 @@67749 @@ -9219,7 +9902,7 @@ 48882 67750 test -z "$ac_dir" && ac_dir=. 48883 67751 if $as_executable_p "$ac_dir/$ac_word"; then 48884 67752 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" 48885 67753 - echo "$as_me:9222: found $ac_dir/$ac_word" >&5 48886 + echo "$as_me:9 837: found $ac_dir/$ac_word" >&567754 + echo "$as_me:9905: found $ac_dir/$ac_word" >&5 48887 67755 break 48888 67756 fi 48889 67757 done 48890 @@ -9230,10 +9 845,10 @@67758 @@ -9230,10 +9913,10 @@ 48891 67759 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 48892 67760 48893 67761 if test -n "$PKG_CONFIG"; then 48894 67762 - echo "$as_me:9233: result: $PKG_CONFIG" >&5 48895 + echo "$as_me:9 848: result: $PKG_CONFIG" >&567763 + echo "$as_me:9916: result: $PKG_CONFIG" >&5 48896 67764 echo "${ECHO_T}$PKG_CONFIG" >&6 48897 67765 else 48898 67766 - echo "$as_me:9236: result: no" >&5 48899 + echo "$as_me:9 851: result: no" >&567767 + echo "$as_me:9919: result: no" >&5 48900 67768 echo "${ECHO_T}no" >&6 48901 67769 fi 48902 67770 48903 @@ -9242,7 +9 857,7 @@67771 @@ -9242,7 +9925,7 @@ 48904 67772 ac_pt_PKG_CONFIG=$PKG_CONFIG 48905 67773 # Extract the first word of "pkg-config", so it can be a program name with args. 48906 67774 set dummy pkg-config; ac_word=$2 48907 67775 -echo "$as_me:9245: checking for $ac_word" >&5 48908 +echo "$as_me:9 860: checking for $ac_word" >&567776 +echo "$as_me:9928: checking for $ac_word" >&5 48909 67777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 48910 67778 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 48911 67779 echo $ECHO_N "(cached) $ECHO_C" >&6 48912 @@ -9259,7 +9 874,7 @@67780 @@ -9259,7 +9942,7 @@ 48913 67781 test -z "$ac_dir" && ac_dir=. 48914 67782 if $as_executable_p "$ac_dir/$ac_word"; then 48915 67783 ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word" 48916 67784 - echo "$as_me:9262: found $ac_dir/$ac_word" >&5 48917 + echo "$as_me:9 877: found $ac_dir/$ac_word" >&567785 + echo "$as_me:9945: found $ac_dir/$ac_word" >&5 48918 67786 break 48919 67787 fi 48920 67788 done 48921 @@ -9271,10 +9 886,10 @@67789 @@ -9271,10 +9954,10 @@ 48922 67790 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 48923 67791 48924 67792 if test -n "$ac_pt_PKG_CONFIG"; then 48925 67793 - echo "$as_me:9274: result: $ac_pt_PKG_CONFIG" >&5 48926 + echo "$as_me:9 889: result: $ac_pt_PKG_CONFIG" >&567794 + echo "$as_me:9957: result: $ac_pt_PKG_CONFIG" >&5 48927 67795 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 48928 67796 else 48929 67797 - echo "$as_me:9277: result: no" >&5 48930 + echo "$as_me:9 892: result: no" >&567798 + echo "$as_me:9960: result: no" >&5 48931 67799 echo "${ECHO_T}no" >&6 48932 67800 fi 48933 67801 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 @@ 48935 67812 PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%` 48936 67813 ;; 48937 67814 *) 48938 67815 - { { echo "$as_me:9320: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 48939 + { { echo "$as_me: 9935: error: expected a pathname, not \"$PKG_CONFIG\"" >&567816 + { { echo "$as_me:10003: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 48940 67817 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;} 48941 67818 { (exit 1); exit 1; }; } 48942 67819 ;; 48943 @@ -9325,7 + 9940,7 @@67820 @@ -9325,7 +10008,7 @@ 48944 67821 48945 67822 fi 48946 67823 48947 67824 -echo "$as_me:9328: checking for X" >&5 48948 +echo "$as_me: 9943: checking for X" >&567825 +echo "$as_me:10011: checking for X" >&5 48949 67826 echo $ECHO_N "checking for X... $ECHO_C" >&6 48950 67827 48951 67828 # Check whether --with-x or --without-x was given. 48952 @@ -9422,17 +10 037,17 @@67829 @@ -9422,17 +10105,17 @@ 48953 67830 # Guess where to find include files, by looking for Intrinsic.h. 48954 67831 # First, try using that file with no special directory specified. 48955 67832 cat >conftest.$ac_ext <<_ACEOF 48956 67833 -#line 9425 "configure" 48957 +#line 10 040"configure"67834 +#line 10108 "configure" 48958 67835 #include "confdefs.h" 48959 67836 #include <X11/Intrinsic.h> 48960 67837 _ACEOF 48961 67838 -if { (eval echo "$as_me:9429: \"$ac_cpp conftest.$ac_ext\"") >&5 48962 +if { (eval echo "$as_me:10 044: \"$ac_cpp conftest.$ac_ext\"") >&567839 +if { (eval echo "$as_me:10112: \"$ac_cpp conftest.$ac_ext\"") >&5 48963 67840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 48964 67841 ac_status=$? … … 48967 67844 cat conftest.err >&5 48968 67845 - echo "$as_me:9435: \$? = $ac_status" >&5 48969 + echo "$as_me:10 050: \$? = $ac_status" >&567846 + echo "$as_me:10118: \$? = $ac_status" >&5 48970 67847 (exit $ac_status); } >/dev/null; then 48971 67848 if test -s conftest.err; then 48972 67849 ac_cpp_err=$ac_c_preproc_warn_flag 48973 @@ -9465,7 +10 080,7 @@67850 @@ -9465,7 +10148,7 @@ 48974 67851 ac_save_LIBS=$LIBS 48975 67852 LIBS="-lXt $LIBS" 48976 67853 cat >conftest.$ac_ext <<_ACEOF 48977 67854 -#line 9468 "configure" 48978 +#line 10 083"configure"67855 +#line 10151 "configure" 48979 67856 #include "confdefs.h" 48980 67857 #include <X11/Intrinsic.h> 48981 67858 int 48982 @@ -9477,16 +10 092,16 @@67859 @@ -9477,16 +10160,16 @@ 48983 67860 } 48984 67861 _ACEOF 48985 67862 rm -f conftest.$ac_objext conftest$ac_exeext 48986 67863 -if { (eval echo "$as_me:9480: \"$ac_link\"") >&5 48987 +if { (eval echo "$as_me:10 095: \"$ac_link\"") >&567864 +if { (eval echo "$as_me:10163: \"$ac_link\"") >&5 48988 67865 (eval $ac_link) 2>&5 48989 67866 ac_status=$? 48990 67867 - echo "$as_me:9483: \$? = $ac_status" >&5 48991 + echo "$as_me:10 098: \$? = $ac_status" >&567868 + echo "$as_me:10166: \$? = $ac_status" >&5 48992 67869 (exit $ac_status); } && 48993 67870 { ac_try='test -s conftest$ac_exeext' 48994 67871 - { (eval echo "$as_me:9486: \"$ac_try\"") >&5 48995 + { (eval echo "$as_me:101 01: \"$ac_try\"") >&567872 + { (eval echo "$as_me:10169: \"$ac_try\"") >&5 48996 67873 (eval $ac_try) 2>&5 48997 67874 ac_status=$? 48998 67875 - echo "$as_me:9489: \$? = $ac_status" >&5 48999 + echo "$as_me:101 04: \$? = $ac_status" >&567876 + echo "$as_me:10172: \$? = $ac_status" >&5 49000 67877 (exit $ac_status); }; }; then 49001 67878 LIBS=$ac_save_LIBS 49002 67879 # We can link X programs with no special library path. 49003 @@ -9524,7 +10 139,7 @@67880 @@ -9524,7 +10207,7 @@ 49004 67881 fi # $with_x != no 49005 67882 49006 67883 if test "$have_x" != yes; then 49007 67884 - echo "$as_me:9527: result: $have_x" >&5 49008 + echo "$as_me:10 142: result: $have_x" >&567885 + echo "$as_me:10210: result: $have_x" >&5 49009 67886 echo "${ECHO_T}$have_x" >&6 49010 67887 no_x=yes 49011 67888 else 49012 @@ -9534,7 +10 149,7 @@67889 @@ -9534,7 +10217,7 @@ 49013 67890 # Update the cache value to reflect the command line values. 49014 67891 ac_cv_have_x="have_x=yes \ 49015 67892 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 49016 67893 - echo "$as_me:9537: result: libraries $x_libraries, headers $x_includes" >&5 49017 + echo "$as_me:10 152: result: libraries $x_libraries, headers $x_includes" >&567894 + echo "$as_me:10220: result: libraries $x_libraries, headers $x_includes" >&5 49018 67895 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 49019 67896 fi 49020 67897 49021 @@ -9558,11 +10 173,11 @@67898 @@ -9558,11 +10241,11 @@ 49022 67899 # others require no space. Words are not sufficient . . . . 49023 67900 case `(uname -sr) 2>/dev/null` in 49024 67901 "SunOS 5"*) 49025 67902 - echo "$as_me:9561: checking whether -R must be followed by a space" >&5 49026 + echo "$as_me:10 176: checking whether -R must be followed by a space" >&567903 + echo "$as_me:10244: checking whether -R must be followed by a space" >&5 49027 67904 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 49028 67905 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 49029 67906 cat >conftest.$ac_ext <<_ACEOF 49030 67907 -#line 9565 "configure" 49031 +#line 10 180"configure"67908 +#line 10248 "configure" 49032 67909 #include "confdefs.h" 49033 67910 49034 67911 int 49035 @@ -9574,16 +10 189,16 @@67912 @@ -9574,16 +10257,16 @@ 49036 67913 } 49037 67914 _ACEOF 49038 67915 rm -f conftest.$ac_objext conftest$ac_exeext 49039 67916 -if { (eval echo "$as_me:9577: \"$ac_link\"") >&5 49040 +if { (eval echo "$as_me:10 192: \"$ac_link\"") >&567917 +if { (eval echo "$as_me:10260: \"$ac_link\"") >&5 49041 67918 (eval $ac_link) 2>&5 49042 67919 ac_status=$? 49043 67920 - echo "$as_me:9580: \$? = $ac_status" >&5 49044 + echo "$as_me:10 195: \$? = $ac_status" >&567921 + echo "$as_me:10263: \$? = $ac_status" >&5 49045 67922 (exit $ac_status); } && 49046 67923 { ac_try='test -s conftest$ac_exeext' 49047 67924 - { (eval echo "$as_me:9583: \"$ac_try\"") >&5 49048 + { (eval echo "$as_me:10 198: \"$ac_try\"") >&567925 + { (eval echo "$as_me:10266: \"$ac_try\"") >&5 49049 67926 (eval $ac_try) 2>&5 49050 67927 ac_status=$? 49051 67928 - echo "$as_me:9586: \$? = $ac_status" >&5 49052 + echo "$as_me:102 01: \$? = $ac_status" >&567929 + echo "$as_me:10269: \$? = $ac_status" >&5 49053 67930 (exit $ac_status); }; }; then 49054 67931 ac_R_nospace=yes 49055 67932 else 49056 @@ -9593,13 +102 08,13 @@67933 @@ -9593,13 +10276,13 @@ 49057 67934 fi 49058 67935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49059 67936 if test $ac_R_nospace = yes; then 49060 67937 - echo "$as_me:9596: result: no" >&5 49061 + echo "$as_me:102 11: result: no" >&567938 + echo "$as_me:10279: result: no" >&5 49062 67939 echo "${ECHO_T}no" >&6 49063 67940 X_LIBS="$X_LIBS -R$x_libraries" … … 49066 67943 cat >conftest.$ac_ext <<_ACEOF 49067 67944 -#line 9602 "configure" 49068 +#line 102 17"configure"67945 +#line 10285 "configure" 49069 67946 #include "confdefs.h" 49070 67947 49071 67948 int 49072 @@ -9611,16 +102 26,16 @@67949 @@ -9611,16 +10294,16 @@ 49073 67950 } 49074 67951 _ACEOF 49075 67952 rm -f conftest.$ac_objext conftest$ac_exeext 49076 67953 -if { (eval echo "$as_me:9614: \"$ac_link\"") >&5 49077 +if { (eval echo "$as_me:102 29: \"$ac_link\"") >&567954 +if { (eval echo "$as_me:10297: \"$ac_link\"") >&5 49078 67955 (eval $ac_link) 2>&5 49079 67956 ac_status=$? 49080 67957 - echo "$as_me:9617: \$? = $ac_status" >&5 49081 + echo "$as_me:10 232: \$? = $ac_status" >&567958 + echo "$as_me:10300: \$? = $ac_status" >&5 49082 67959 (exit $ac_status); } && 49083 67960 { ac_try='test -s conftest$ac_exeext' 49084 67961 - { (eval echo "$as_me:9620: \"$ac_try\"") >&5 49085 + { (eval echo "$as_me:10 235: \"$ac_try\"") >&567962 + { (eval echo "$as_me:10303: \"$ac_try\"") >&5 49086 67963 (eval $ac_try) 2>&5 49087 67964 ac_status=$? 49088 67965 - echo "$as_me:9623: \$? = $ac_status" >&5 49089 + echo "$as_me:10 238: \$? = $ac_status" >&567966 + echo "$as_me:10306: \$? = $ac_status" >&5 49090 67967 (exit $ac_status); }; }; then 49091 67968 ac_R_space=yes 49092 67969 else 49093 @@ -9630,11 +10 245,11 @@67970 @@ -9630,11 +10313,11 @@ 49094 67971 fi 49095 67972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49096 67973 if test $ac_R_space = yes; then 49097 67974 - echo "$as_me:9633: result: yes" >&5 49098 + echo "$as_me:10 248: result: yes" >&567975 + echo "$as_me:10316: result: yes" >&5 49099 67976 echo "${ECHO_T}yes" >&6 49100 67977 X_LIBS="$X_LIBS -R $x_libraries" 49101 67978 else 49102 67979 - echo "$as_me:9637: result: neither works" >&5 49103 + echo "$as_me:10 252: result: neither works" >&567980 + echo "$as_me:10320: result: neither works" >&5 49104 67981 echo "${ECHO_T}neither works" >&6 49105 67982 fi 49106 67983 fi 49107 @@ -9654,7 +10 269,7 @@67984 @@ -9654,7 +10337,7 @@ 49108 67985 # the Alpha needs dnet_stub (dnet does not exist). 49109 67986 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 49110 67987 cat >conftest.$ac_ext <<_ACEOF 49111 67988 -#line 9657 "configure" 49112 +#line 10 272"configure"67989 +#line 10340 "configure" 49113 67990 #include "confdefs.h" 49114 67991 49115 67992 /* Override any gcc2 internal prototype to avoid an error. */ 49116 @@ -9673,22 +10 288,22 @@67993 @@ -9673,22 +10356,22 @@ 49117 67994 } 49118 67995 _ACEOF 49119 67996 rm -f conftest.$ac_objext conftest$ac_exeext 49120 67997 -if { (eval echo "$as_me:9676: \"$ac_link\"") >&5 49121 +if { (eval echo "$as_me:10 291: \"$ac_link\"") >&567998 +if { (eval echo "$as_me:10359: \"$ac_link\"") >&5 49122 67999 (eval $ac_link) 2>&5 49123 68000 ac_status=$? 49124 68001 - echo "$as_me:9679: \$? = $ac_status" >&5 49125 + echo "$as_me:10 294: \$? = $ac_status" >&568002 + echo "$as_me:10362: \$? = $ac_status" >&5 49126 68003 (exit $ac_status); } && 49127 68004 { ac_try='test -s conftest$ac_exeext' 49128 68005 - { (eval echo "$as_me:9682: \"$ac_try\"") >&5 49129 + { (eval echo "$as_me:10 297: \"$ac_try\"") >&568006 + { (eval echo "$as_me:10365: \"$ac_try\"") >&5 49130 68007 (eval $ac_try) 2>&5 49131 68008 ac_status=$? 49132 68009 - echo "$as_me:9685: \$? = $ac_status" >&5 49133 + echo "$as_me:103 00: \$? = $ac_status" >&568010 + echo "$as_me:10368: \$? = $ac_status" >&5 49134 68011 (exit $ac_status); }; }; then 49135 68012 : … … 49138 68015 cat conftest.$ac_ext >&5 49139 68016 -echo "$as_me:9691: checking for dnet_ntoa in -ldnet" >&5 49140 +echo "$as_me:103 06: checking for dnet_ntoa in -ldnet" >&568017 +echo "$as_me:10374: checking for dnet_ntoa in -ldnet" >&5 49141 68018 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 49142 68019 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 49143 68020 echo $ECHO_N "(cached) $ECHO_C" >&6 49144 @@ -9696,7 +103 11,7 @@68021 @@ -9696,7 +10379,7 @@ 49145 68022 ac_check_lib_save_LIBS=$LIBS 49146 68023 LIBS="-ldnet $LIBS" 49147 68024 cat >conftest.$ac_ext <<_ACEOF 49148 68025 -#line 9699 "configure" 49149 +#line 103 14"configure"68026 +#line 10382 "configure" 49150 68027 #include "confdefs.h" 49151 68028 49152 68029 /* Override any gcc2 internal prototype to avoid an error. */ 49153 @@ -9715,16 +103 30,16 @@68030 @@ -9715,16 +10398,16 @@ 49154 68031 } 49155 68032 _ACEOF 49156 68033 rm -f conftest.$ac_objext conftest$ac_exeext 49157 68034 -if { (eval echo "$as_me:9718: \"$ac_link\"") >&5 49158 +if { (eval echo "$as_me:10 333: \"$ac_link\"") >&568035 +if { (eval echo "$as_me:10401: \"$ac_link\"") >&5 49159 68036 (eval $ac_link) 2>&5 49160 68037 ac_status=$? 49161 68038 - echo "$as_me:9721: \$? = $ac_status" >&5 49162 + echo "$as_me:10 336: \$? = $ac_status" >&568039 + echo "$as_me:10404: \$? = $ac_status" >&5 49163 68040 (exit $ac_status); } && 49164 68041 { ac_try='test -s conftest$ac_exeext' 49165 68042 - { (eval echo "$as_me:9724: \"$ac_try\"") >&5 49166 + { (eval echo "$as_me:10 339: \"$ac_try\"") >&568043 + { (eval echo "$as_me:10407: \"$ac_try\"") >&5 49167 68044 (eval $ac_try) 2>&5 49168 68045 ac_status=$? 49169 68046 - echo "$as_me:9727: \$? = $ac_status" >&5 49170 + echo "$as_me:10 342: \$? = $ac_status" >&568047 + echo "$as_me:10410: \$? = $ac_status" >&5 49171 68048 (exit $ac_status); }; }; then 49172 68049 ac_cv_lib_dnet_dnet_ntoa=yes 49173 68050 else 49174 @@ -9735,14 +10 350,14 @@68051 @@ -9735,14 +10418,14 @@ 49175 68052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49176 68053 LIBS=$ac_check_lib_save_LIBS 49177 68054 fi 49178 68055 -echo "$as_me:9738: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 49179 +echo "$as_me:10 353: result: $ac_cv_lib_dnet_dnet_ntoa" >&568056 +echo "$as_me:10421: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 49180 68057 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 49181 68058 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then … … 49185 68062 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 49186 68063 - echo "$as_me:9745: checking for dnet_ntoa in -ldnet_stub" >&5 49187 + echo "$as_me:10 360: checking for dnet_ntoa in -ldnet_stub" >&568064 + echo "$as_me:10428: checking for dnet_ntoa in -ldnet_stub" >&5 49188 68065 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 49189 68066 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then 49190 68067 echo $ECHO_N "(cached) $ECHO_C" >&6 49191 @@ -9750,7 +10 365,7 @@68068 @@ -9750,7 +10433,7 @@ 49192 68069 ac_check_lib_save_LIBS=$LIBS 49193 68070 LIBS="-ldnet_stub $LIBS" 49194 68071 cat >conftest.$ac_ext <<_ACEOF 49195 68072 -#line 9753 "configure" 49196 +#line 10 368"configure"68073 +#line 10436 "configure" 49197 68074 #include "confdefs.h" 49198 68075 49199 68076 /* Override any gcc2 internal prototype to avoid an error. */ 49200 @@ -9769,16 +10 384,16 @@68077 @@ -9769,16 +10452,16 @@ 49201 68078 } 49202 68079 _ACEOF 49203 68080 rm -f conftest.$ac_objext conftest$ac_exeext 49204 68081 -if { (eval echo "$as_me:9772: \"$ac_link\"") >&5 49205 +if { (eval echo "$as_me:10 387: \"$ac_link\"") >&568082 +if { (eval echo "$as_me:10455: \"$ac_link\"") >&5 49206 68083 (eval $ac_link) 2>&5 49207 68084 ac_status=$? 49208 68085 - echo "$as_me:9775: \$? = $ac_status" >&5 49209 + echo "$as_me:10 390: \$? = $ac_status" >&568086 + echo "$as_me:10458: \$? = $ac_status" >&5 49210 68087 (exit $ac_status); } && 49211 68088 { ac_try='test -s conftest$ac_exeext' 49212 68089 - { (eval echo "$as_me:9778: \"$ac_try\"") >&5 49213 + { (eval echo "$as_me:10 393: \"$ac_try\"") >&568090 + { (eval echo "$as_me:10461: \"$ac_try\"") >&5 49214 68091 (eval $ac_try) 2>&5 49215 68092 ac_status=$? 49216 68093 - echo "$as_me:9781: \$? = $ac_status" >&5 49217 + echo "$as_me:10 396: \$? = $ac_status" >&568094 + echo "$as_me:10464: \$? = $ac_status" >&5 49218 68095 (exit $ac_status); }; }; then 49219 68096 ac_cv_lib_dnet_stub_dnet_ntoa=yes 49220 68097 else 49221 @@ -9789,7 +104 04,7 @@68098 @@ -9789,7 +10472,7 @@ 49222 68099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49223 68100 LIBS=$ac_check_lib_save_LIBS 49224 68101 fi 49225 68102 -echo "$as_me:9792: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 49226 +echo "$as_me:104 07: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&568103 +echo "$as_me:10475: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 49227 68104 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 49228 68105 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then 49229 68106 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 49230 @@ -9808,13 +104 23,13 @@68107 @@ -9808,13 +10491,13 @@ 49231 68108 # on Irix 5.2, according to T.E. Dickey. 49232 68109 # The functions gethostbyname, getservbyname, and inet_addr are 49233 68110 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 49234 68111 - echo "$as_me:9811: checking for gethostbyname" >&5 49235 + echo "$as_me:104 26: checking for gethostbyname" >&568112 + echo "$as_me:10494: checking for gethostbyname" >&5 49236 68113 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 49237 68114 if test "${ac_cv_func_gethostbyname+set}" = set; then … … 49240 68117 cat >conftest.$ac_ext <<_ACEOF 49241 68118 -#line 9817 "configure" 49242 +#line 10 432"configure"68119 +#line 10500 "configure" 49243 68120 #include "confdefs.h" 49244 68121 /* System header to define __stub macros and hopefully few prototypes, 49245 68122 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 @@ 49247 68133 } 49248 68134 _ACEOF 49249 68135 rm -f conftest.$ac_objext conftest$ac_exeext 49250 68136 -if { (eval echo "$as_me:9848: \"$ac_link\"") >&5 49251 +if { (eval echo "$as_me:10 463: \"$ac_link\"") >&568137 +if { (eval echo "$as_me:10531: \"$ac_link\"") >&5 49252 68138 (eval $ac_link) 2>&5 49253 68139 ac_status=$? 49254 68140 - echo "$as_me:9851: \$? = $ac_status" >&5 49255 + echo "$as_me:10 466: \$? = $ac_status" >&568141 + echo "$as_me:10534: \$? = $ac_status" >&5 49256 68142 (exit $ac_status); } && 49257 68143 { ac_try='test -s conftest$ac_exeext' 49258 68144 - { (eval echo "$as_me:9854: \"$ac_try\"") >&5 49259 + { (eval echo "$as_me:10 469: \"$ac_try\"") >&568145 + { (eval echo "$as_me:10537: \"$ac_try\"") >&5 49260 68146 (eval $ac_try) 2>&5 49261 68147 ac_status=$? 49262 68148 - echo "$as_me:9857: \$? = $ac_status" >&5 49263 + echo "$as_me:10 472: \$? = $ac_status" >&568149 + echo "$as_me:10540: \$? = $ac_status" >&5 49264 68150 (exit $ac_status); }; }; then 49265 68151 ac_cv_func_gethostbyname=yes 49266 68152 else 49267 @@ -9864,11 +10 479,11 @@68153 @@ -9864,11 +10547,11 @@ 49268 68154 fi 49269 68155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49270 68156 fi 49271 68157 -echo "$as_me:9867: result: $ac_cv_func_gethostbyname" >&5 49272 +echo "$as_me:10 482: result: $ac_cv_func_gethostbyname" >&568158 +echo "$as_me:10550: result: $ac_cv_func_gethostbyname" >&5 49273 68159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 49274 68160 49275 68161 if test $ac_cv_func_gethostbyname = no; then 49276 68162 - echo "$as_me:9871: checking for gethostbyname in -lnsl" >&5 49277 + echo "$as_me:10 486: checking for gethostbyname in -lnsl" >&568163 + echo "$as_me:10554: checking for gethostbyname in -lnsl" >&5 49278 68164 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 49279 68165 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 49280 68166 echo $ECHO_N "(cached) $ECHO_C" >&6 49281 @@ -9876,7 +10 491,7 @@68167 @@ -9876,7 +10559,7 @@ 49282 68168 ac_check_lib_save_LIBS=$LIBS 49283 68169 LIBS="-lnsl $LIBS" 49284 68170 cat >conftest.$ac_ext <<_ACEOF 49285 68171 -#line 9879 "configure" 49286 +#line 10 494"configure"68172 +#line 10562 "configure" 49287 68173 #include "confdefs.h" 49288 68174 49289 68175 /* Override any gcc2 internal prototype to avoid an error. */ 49290 @@ -9895,16 +105 10,16 @@68176 @@ -9895,16 +10578,16 @@ 49291 68177 } 49292 68178 _ACEOF 49293 68179 rm -f conftest.$ac_objext conftest$ac_exeext 49294 68180 -if { (eval echo "$as_me:9898: \"$ac_link\"") >&5 49295 +if { (eval echo "$as_me:105 13: \"$ac_link\"") >&568181 +if { (eval echo "$as_me:10581: \"$ac_link\"") >&5 49296 68182 (eval $ac_link) 2>&5 49297 68183 ac_status=$? 49298 68184 - echo "$as_me:9901: \$? = $ac_status" >&5 49299 + echo "$as_me:105 16: \$? = $ac_status" >&568185 + echo "$as_me:10584: \$? = $ac_status" >&5 49300 68186 (exit $ac_status); } && 49301 68187 { ac_try='test -s conftest$ac_exeext' 49302 68188 - { (eval echo "$as_me:9904: \"$ac_try\"") >&5 49303 + { (eval echo "$as_me:105 19: \"$ac_try\"") >&568189 + { (eval echo "$as_me:10587: \"$ac_try\"") >&5 49304 68190 (eval $ac_try) 2>&5 49305 68191 ac_status=$? 49306 68192 - echo "$as_me:9907: \$? = $ac_status" >&5 49307 + echo "$as_me:105 22: \$? = $ac_status" >&568193 + echo "$as_me:10590: \$? = $ac_status" >&5 49308 68194 (exit $ac_status); }; }; then 49309 68195 ac_cv_lib_nsl_gethostbyname=yes 49310 68196 else 49311 @@ -9915,14 +105 30,14 @@68197 @@ -9915,14 +10598,14 @@ 49312 68198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49313 68199 LIBS=$ac_check_lib_save_LIBS 49314 68200 fi 49315 68201 -echo "$as_me:9918: result: $ac_cv_lib_nsl_gethostbyname" >&5 49316 +echo "$as_me:10 533: result: $ac_cv_lib_nsl_gethostbyname" >&568202 +echo "$as_me:10601: result: $ac_cv_lib_nsl_gethostbyname" >&5 49317 68203 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 49318 68204 if test $ac_cv_lib_nsl_gethostbyname = yes; then … … 49322 68208 if test $ac_cv_lib_nsl_gethostbyname = no; then 49323 68209 - echo "$as_me:9925: checking for gethostbyname in -lbsd" >&5 49324 + echo "$as_me:10 540: checking for gethostbyname in -lbsd" >&568210 + echo "$as_me:10608: checking for gethostbyname in -lbsd" >&5 49325 68211 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 49326 68212 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then 49327 68213 echo $ECHO_N "(cached) $ECHO_C" >&6 49328 @@ -9930,7 +10 545,7 @@68214 @@ -9930,7 +10613,7 @@ 49329 68215 ac_check_lib_save_LIBS=$LIBS 49330 68216 LIBS="-lbsd $LIBS" 49331 68217 cat >conftest.$ac_ext <<_ACEOF 49332 68218 -#line 9933 "configure" 49333 +#line 10 548"configure"68219 +#line 10616 "configure" 49334 68220 #include "confdefs.h" 49335 68221 49336 68222 /* Override any gcc2 internal prototype to avoid an error. */ 49337 @@ -9949,16 +10 564,16 @@68223 @@ -9949,16 +10632,16 @@ 49338 68224 } 49339 68225 _ACEOF 49340 68226 rm -f conftest.$ac_objext conftest$ac_exeext 49341 68227 -if { (eval echo "$as_me:9952: \"$ac_link\"") >&5 49342 +if { (eval echo "$as_me:10 567: \"$ac_link\"") >&568228 +if { (eval echo "$as_me:10635: \"$ac_link\"") >&5 49343 68229 (eval $ac_link) 2>&5 49344 68230 ac_status=$? 49345 68231 - echo "$as_me:9955: \$? = $ac_status" >&5 49346 + echo "$as_me:10 570: \$? = $ac_status" >&568232 + echo "$as_me:10638: \$? = $ac_status" >&5 49347 68233 (exit $ac_status); } && 49348 68234 { ac_try='test -s conftest$ac_exeext' 49349 68235 - { (eval echo "$as_me:9958: \"$ac_try\"") >&5 49350 + { (eval echo "$as_me:10 573: \"$ac_try\"") >&568236 + { (eval echo "$as_me:10641: \"$ac_try\"") >&5 49351 68237 (eval $ac_try) 2>&5 49352 68238 ac_status=$? 49353 68239 - echo "$as_me:9961: \$? = $ac_status" >&5 49354 + echo "$as_me:10 576: \$? = $ac_status" >&568240 + echo "$as_me:10644: \$? = $ac_status" >&5 49355 68241 (exit $ac_status); }; }; then 49356 68242 ac_cv_lib_bsd_gethostbyname=yes 49357 68243 else 49358 @@ -9969,7 +10 584,7 @@68244 @@ -9969,7 +10652,7 @@ 49359 68245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49360 68246 LIBS=$ac_check_lib_save_LIBS 49361 68247 fi 49362 68248 -echo "$as_me:9972: result: $ac_cv_lib_bsd_gethostbyname" >&5 49363 +echo "$as_me:10 587: result: $ac_cv_lib_bsd_gethostbyname" >&568249 +echo "$as_me:10655: result: $ac_cv_lib_bsd_gethostbyname" >&5 49364 68250 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 49365 68251 if test $ac_cv_lib_bsd_gethostbyname = yes; then 49366 68252 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 49367 @@ -9985,13 +106 00,13 @@68253 @@ -9985,13 +10668,13 @@ 49368 68254 # variants that don't use the nameserver (or something). -lsocket 49369 68255 # must be given before -lnsl if both are needed. We assume that 49370 68256 # if connect needs -lnsl, so does gethostbyname. 49371 68257 - echo "$as_me:9988: checking for connect" >&5 49372 + echo "$as_me:106 03: checking for connect" >&568258 + echo "$as_me:10671: checking for connect" >&5 49373 68259 echo $ECHO_N "checking for connect... $ECHO_C" >&6 49374 68260 if test "${ac_cv_func_connect+set}" = set; then … … 49377 68263 cat >conftest.$ac_ext <<_ACEOF 49378 68264 -#line 9994 "configure" 49379 +#line 106 09"configure"68265 +#line 10677 "configure" 49380 68266 #include "confdefs.h" 49381 68267 /* System header to define __stub macros and hopefully few prototypes, 49382 68268 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 @@ 49384 68279 } 49385 68280 _ACEOF 49386 68281 rm -f conftest.$ac_objext conftest$ac_exeext 49387 68282 -if { (eval echo "$as_me:10025: \"$ac_link\"") >&5 49388 +if { (eval echo "$as_me:10 640: \"$ac_link\"") >&568283 +if { (eval echo "$as_me:10708: \"$ac_link\"") >&5 49389 68284 (eval $ac_link) 2>&5 49390 68285 ac_status=$? 49391 68286 - echo "$as_me:10028: \$? = $ac_status" >&5 49392 + echo "$as_me:10 643: \$? = $ac_status" >&568287 + echo "$as_me:10711: \$? = $ac_status" >&5 49393 68288 (exit $ac_status); } && 49394 68289 { ac_try='test -s conftest$ac_exeext' 49395 68290 - { (eval echo "$as_me:10031: \"$ac_try\"") >&5 49396 + { (eval echo "$as_me:10 646: \"$ac_try\"") >&568291 + { (eval echo "$as_me:10714: \"$ac_try\"") >&5 49397 68292 (eval $ac_try) 2>&5 49398 68293 ac_status=$? 49399 68294 - echo "$as_me:10034: \$? = $ac_status" >&5 49400 + echo "$as_me:10 649: \$? = $ac_status" >&568295 + echo "$as_me:10717: \$? = $ac_status" >&5 49401 68296 (exit $ac_status); }; }; then 49402 68297 ac_cv_func_connect=yes 49403 68298 else 49404 @@ -10041,11 +10 656,11 @@68299 @@ -10041,11 +10724,11 @@ 49405 68300 fi 49406 68301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49407 68302 fi 49408 68303 -echo "$as_me:10044: result: $ac_cv_func_connect" >&5 49409 +echo "$as_me:10 659: result: $ac_cv_func_connect" >&568304 +echo "$as_me:10727: result: $ac_cv_func_connect" >&5 49410 68305 echo "${ECHO_T}$ac_cv_func_connect" >&6 49411 68306 49412 68307 if test $ac_cv_func_connect = no; then 49413 68308 - echo "$as_me:10048: checking for connect in -lsocket" >&5 49414 + echo "$as_me:10 663: checking for connect in -lsocket" >&568309 + echo "$as_me:10731: checking for connect in -lsocket" >&5 49415 68310 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 49416 68311 if test "${ac_cv_lib_socket_connect+set}" = set; then 49417 68312 echo $ECHO_N "(cached) $ECHO_C" >&6 49418 @@ -10053,7 +10 668,7 @@68313 @@ -10053,7 +10736,7 @@ 49419 68314 ac_check_lib_save_LIBS=$LIBS 49420 68315 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 49421 68316 cat >conftest.$ac_ext <<_ACEOF 49422 68317 -#line 10056 "configure" 49423 +#line 10 671"configure"68318 +#line 10739 "configure" 49424 68319 #include "confdefs.h" 49425 68320 49426 68321 /* Override any gcc2 internal prototype to avoid an error. */ 49427 @@ -10072,16 +10 687,16 @@68322 @@ -10072,16 +10755,16 @@ 49428 68323 } 49429 68324 _ACEOF 49430 68325 rm -f conftest.$ac_objext conftest$ac_exeext 49431 68326 -if { (eval echo "$as_me:10075: \"$ac_link\"") >&5 49432 +if { (eval echo "$as_me:10 690: \"$ac_link\"") >&568327 +if { (eval echo "$as_me:10758: \"$ac_link\"") >&5 49433 68328 (eval $ac_link) 2>&5 49434 68329 ac_status=$? 49435 68330 - echo "$as_me:10078: \$? = $ac_status" >&5 49436 + echo "$as_me:10 693: \$? = $ac_status" >&568331 + echo "$as_me:10761: \$? = $ac_status" >&5 49437 68332 (exit $ac_status); } && 49438 68333 { ac_try='test -s conftest$ac_exeext' 49439 68334 - { (eval echo "$as_me:10081: \"$ac_try\"") >&5 49440 + { (eval echo "$as_me:10 696: \"$ac_try\"") >&568335 + { (eval echo "$as_me:10764: \"$ac_try\"") >&5 49441 68336 (eval $ac_try) 2>&5 49442 68337 ac_status=$? 49443 68338 - echo "$as_me:10084: \$? = $ac_status" >&5 49444 + echo "$as_me:10 699: \$? = $ac_status" >&568339 + echo "$as_me:10767: \$? = $ac_status" >&5 49445 68340 (exit $ac_status); }; }; then 49446 68341 ac_cv_lib_socket_connect=yes 49447 68342 else 49448 @@ -10092,7 +107 07,7 @@68343 @@ -10092,7 +10775,7 @@ 49449 68344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49450 68345 LIBS=$ac_check_lib_save_LIBS 49451 68346 fi 49452 68347 -echo "$as_me:10095: result: $ac_cv_lib_socket_connect" >&5 49453 +echo "$as_me:107 10: result: $ac_cv_lib_socket_connect" >&568348 +echo "$as_me:10778: result: $ac_cv_lib_socket_connect" >&5 49454 68349 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 49455 68350 if test $ac_cv_lib_socket_connect = yes; then 49456 68351 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 49457 @@ -10101,13 +107 16,13 @@68352 @@ -10101,13 +10784,13 @@ 49458 68353 fi 49459 68354 49460 68355 # Guillermo Gomez says -lposix is necessary on A/UX. 49461 68356 - echo "$as_me:10104: checking for remove" >&5 49462 + echo "$as_me:107 19: checking for remove" >&568357 + echo "$as_me:10787: checking for remove" >&5 49463 68358 echo $ECHO_N "checking for remove... $ECHO_C" >&6 49464 68359 if test "${ac_cv_func_remove+set}" = set; then … … 49467 68362 cat >conftest.$ac_ext <<_ACEOF 49468 68363 -#line 10110 "configure" 49469 +#line 107 25"configure"68364 +#line 10793 "configure" 49470 68365 #include "confdefs.h" 49471 68366 /* System header to define __stub macros and hopefully few prototypes, 49472 68367 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 @@ 49474 68378 } 49475 68379 _ACEOF 49476 68380 rm -f conftest.$ac_objext conftest$ac_exeext 49477 68381 -if { (eval echo "$as_me:10141: \"$ac_link\"") >&5 49478 +if { (eval echo "$as_me:10 756: \"$ac_link\"") >&568382 +if { (eval echo "$as_me:10824: \"$ac_link\"") >&5 49479 68383 (eval $ac_link) 2>&5 49480 68384 ac_status=$? 49481 68385 - echo "$as_me:10144: \$? = $ac_status" >&5 49482 + echo "$as_me:10 759: \$? = $ac_status" >&568386 + echo "$as_me:10827: \$? = $ac_status" >&5 49483 68387 (exit $ac_status); } && 49484 68388 { ac_try='test -s conftest$ac_exeext' 49485 68389 - { (eval echo "$as_me:10147: \"$ac_try\"") >&5 49486 + { (eval echo "$as_me:10 762: \"$ac_try\"") >&568390 + { (eval echo "$as_me:10830: \"$ac_try\"") >&5 49487 68391 (eval $ac_try) 2>&5 49488 68392 ac_status=$? 49489 68393 - echo "$as_me:10150: \$? = $ac_status" >&5 49490 + echo "$as_me:10 765: \$? = $ac_status" >&568394 + echo "$as_me:10833: \$? = $ac_status" >&5 49491 68395 (exit $ac_status); }; }; then 49492 68396 ac_cv_func_remove=yes 49493 68397 else 49494 @@ -10157,11 +10 772,11 @@68398 @@ -10157,11 +10840,11 @@ 49495 68399 fi 49496 68400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49497 68401 fi 49498 68402 -echo "$as_me:10160: result: $ac_cv_func_remove" >&5 49499 +echo "$as_me:10 775: result: $ac_cv_func_remove" >&568403 +echo "$as_me:10843: result: $ac_cv_func_remove" >&5 49500 68404 echo "${ECHO_T}$ac_cv_func_remove" >&6 49501 68405 49502 68406 if test $ac_cv_func_remove = no; then 49503 68407 - echo "$as_me:10164: checking for remove in -lposix" >&5 49504 + echo "$as_me:10 779: checking for remove in -lposix" >&568408 + echo "$as_me:10847: checking for remove in -lposix" >&5 49505 68409 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 49506 68410 if test "${ac_cv_lib_posix_remove+set}" = set; then 49507 68411 echo $ECHO_N "(cached) $ECHO_C" >&6 49508 @@ -10169,7 +10 784,7 @@68412 @@ -10169,7 +10852,7 @@ 49509 68413 ac_check_lib_save_LIBS=$LIBS 49510 68414 LIBS="-lposix $LIBS" 49511 68415 cat >conftest.$ac_ext <<_ACEOF 49512 68416 -#line 10172 "configure" 49513 +#line 10 787"configure"68417 +#line 10855 "configure" 49514 68418 #include "confdefs.h" 49515 68419 49516 68420 /* Override any gcc2 internal prototype to avoid an error. */ 49517 @@ -10188,16 +108 03,16 @@68421 @@ -10188,16 +10871,16 @@ 49518 68422 } 49519 68423 _ACEOF 49520 68424 rm -f conftest.$ac_objext conftest$ac_exeext 49521 68425 -if { (eval echo "$as_me:10191: \"$ac_link\"") >&5 49522 +if { (eval echo "$as_me:108 06: \"$ac_link\"") >&568426 +if { (eval echo "$as_me:10874: \"$ac_link\"") >&5 49523 68427 (eval $ac_link) 2>&5 49524 68428 ac_status=$? 49525 68429 - echo "$as_me:10194: \$? = $ac_status" >&5 49526 + echo "$as_me:108 09: \$? = $ac_status" >&568430 + echo "$as_me:10877: \$? = $ac_status" >&5 49527 68431 (exit $ac_status); } && 49528 68432 { ac_try='test -s conftest$ac_exeext' 49529 68433 - { (eval echo "$as_me:10197: \"$ac_try\"") >&5 49530 + { (eval echo "$as_me:108 12: \"$ac_try\"") >&568434 + { (eval echo "$as_me:10880: \"$ac_try\"") >&5 49531 68435 (eval $ac_try) 2>&5 49532 68436 ac_status=$? 49533 68437 - echo "$as_me:10200: \$? = $ac_status" >&5 49534 + echo "$as_me:108 15: \$? = $ac_status" >&568438 + echo "$as_me:10883: \$? = $ac_status" >&5 49535 68439 (exit $ac_status); }; }; then 49536 68440 ac_cv_lib_posix_remove=yes 49537 68441 else 49538 @@ -10208,7 +108 23,7 @@68442 @@ -10208,7 +10891,7 @@ 49539 68443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49540 68444 LIBS=$ac_check_lib_save_LIBS 49541 68445 fi 49542 68446 -echo "$as_me:10211: result: $ac_cv_lib_posix_remove" >&5 49543 +echo "$as_me:108 26: result: $ac_cv_lib_posix_remove" >&568447 +echo "$as_me:10894: result: $ac_cv_lib_posix_remove" >&5 49544 68448 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 49545 68449 if test $ac_cv_lib_posix_remove = yes; then 49546 68450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 49547 @@ -10217,13 +10 832,13 @@68451 @@ -10217,13 +10900,13 @@ 49548 68452 fi 49549 68453 49550 68454 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 49551 68455 - echo "$as_me:10220: checking for shmat" >&5 49552 + echo "$as_me:10 835: checking for shmat" >&568456 + echo "$as_me:10903: checking for shmat" >&5 49553 68457 echo $ECHO_N "checking for shmat... $ECHO_C" >&6 49554 68458 if test "${ac_cv_func_shmat+set}" = set; then … … 49557 68461 cat >conftest.$ac_ext <<_ACEOF 49558 68462 -#line 10226 "configure" 49559 +#line 10 841"configure"68463 +#line 10909 "configure" 49560 68464 #include "confdefs.h" 49561 68465 /* System header to define __stub macros and hopefully few prototypes, 49562 68466 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 @@ 49564 68477 } 49565 68478 _ACEOF 49566 68479 rm -f conftest.$ac_objext conftest$ac_exeext 49567 68480 -if { (eval echo "$as_me:10257: \"$ac_link\"") >&5 49568 +if { (eval echo "$as_me:10 872: \"$ac_link\"") >&568481 +if { (eval echo "$as_me:10940: \"$ac_link\"") >&5 49569 68482 (eval $ac_link) 2>&5 49570 68483 ac_status=$? 49571 68484 - echo "$as_me:10260: \$? = $ac_status" >&5 49572 + echo "$as_me:10 875: \$? = $ac_status" >&568485 + echo "$as_me:10943: \$? = $ac_status" >&5 49573 68486 (exit $ac_status); } && 49574 68487 { ac_try='test -s conftest$ac_exeext' 49575 68488 - { (eval echo "$as_me:10263: \"$ac_try\"") >&5 49576 + { (eval echo "$as_me:10 878: \"$ac_try\"") >&568489 + { (eval echo "$as_me:10946: \"$ac_try\"") >&5 49577 68490 (eval $ac_try) 2>&5 49578 68491 ac_status=$? 49579 68492 - echo "$as_me:10266: \$? = $ac_status" >&5 49580 + echo "$as_me:10 881: \$? = $ac_status" >&568493 + echo "$as_me:10949: \$? = $ac_status" >&5 49581 68494 (exit $ac_status); }; }; then 49582 68495 ac_cv_func_shmat=yes 49583 68496 else 49584 @@ -10273,11 +10 888,11 @@68497 @@ -10273,11 +10956,11 @@ 49585 68498 fi 49586 68499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49587 68500 fi 49588 68501 -echo "$as_me:10276: result: $ac_cv_func_shmat" >&5 49589 +echo "$as_me:10 891: result: $ac_cv_func_shmat" >&568502 +echo "$as_me:10959: result: $ac_cv_func_shmat" >&5 49590 68503 echo "${ECHO_T}$ac_cv_func_shmat" >&6 49591 68504 49592 68505 if test $ac_cv_func_shmat = no; then 49593 68506 - echo "$as_me:10280: checking for shmat in -lipc" >&5 49594 + echo "$as_me:10 895: checking for shmat in -lipc" >&568507 + echo "$as_me:10963: checking for shmat in -lipc" >&5 49595 68508 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 49596 68509 if test "${ac_cv_lib_ipc_shmat+set}" = set; then 49597 68510 echo $ECHO_N "(cached) $ECHO_C" >&6 49598 @@ -10285,7 +109 00,7 @@68511 @@ -10285,7 +10968,7 @@ 49599 68512 ac_check_lib_save_LIBS=$LIBS 49600 68513 LIBS="-lipc $LIBS" 49601 68514 cat >conftest.$ac_ext <<_ACEOF 49602 68515 -#line 10288 "configure" 49603 +#line 109 03"configure"68516 +#line 10971 "configure" 49604 68517 #include "confdefs.h" 49605 68518 49606 68519 /* Override any gcc2 internal prototype to avoid an error. */ 49607 @@ -10304,16 +109 19,16 @@68520 @@ -10304,16 +10987,16 @@ 49608 68521 } 49609 68522 _ACEOF 49610 68523 rm -f conftest.$ac_objext conftest$ac_exeext 49611 68524 -if { (eval echo "$as_me:10307: \"$ac_link\"") >&5 49612 +if { (eval echo "$as_me:109 22: \"$ac_link\"") >&568525 +if { (eval echo "$as_me:10990: \"$ac_link\"") >&5 49613 68526 (eval $ac_link) 2>&5 49614 68527 ac_status=$? 49615 68528 - echo "$as_me:10310: \$? = $ac_status" >&5 49616 + echo "$as_me:109 25: \$? = $ac_status" >&568529 + echo "$as_me:10993: \$? = $ac_status" >&5 49617 68530 (exit $ac_status); } && 49618 68531 { ac_try='test -s conftest$ac_exeext' 49619 68532 - { (eval echo "$as_me:10313: \"$ac_try\"") >&5 49620 + { (eval echo "$as_me:109 28: \"$ac_try\"") >&568533 + { (eval echo "$as_me:10996: \"$ac_try\"") >&5 49621 68534 (eval $ac_try) 2>&5 49622 68535 ac_status=$? 49623 68536 - echo "$as_me:10316: \$? = $ac_status" >&5 49624 + echo "$as_me:109 31: \$? = $ac_status" >&568537 + echo "$as_me:10999: \$? = $ac_status" >&5 49625 68538 (exit $ac_status); }; }; then 49626 68539 ac_cv_lib_ipc_shmat=yes 49627 68540 else 49628 @@ -10324,7 +1 0939,7 @@68541 @@ -10324,7 +11007,7 @@ 49629 68542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49630 68543 LIBS=$ac_check_lib_save_LIBS 49631 68544 fi 49632 68545 -echo "$as_me:10327: result: $ac_cv_lib_ipc_shmat" >&5 49633 +echo "$as_me:1 0942: result: $ac_cv_lib_ipc_shmat" >&568546 +echo "$as_me:11010: result: $ac_cv_lib_ipc_shmat" >&5 49634 68547 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 49635 68548 if test $ac_cv_lib_ipc_shmat = yes; then 49636 68549 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 49637 @@ -10342,7 +1 0957,7 @@68550 @@ -10342,7 +11025,7 @@ 49638 68551 # These have to be linked with before -lX11, unlike the other 49639 68552 # libraries we check for below, so use a different variable. 49640 68553 # John Interrante, Karl Berry 49641 68554 - echo "$as_me:10345: checking for IceConnectionNumber in -lICE" >&5 49642 + echo "$as_me:1 0960: checking for IceConnectionNumber in -lICE" >&568555 + echo "$as_me:11028: checking for IceConnectionNumber in -lICE" >&5 49643 68556 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 49644 68557 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then 49645 68558 echo $ECHO_N "(cached) $ECHO_C" >&6 49646 @@ -10350,7 +1 0965,7 @@68559 @@ -10350,7 +11033,7 @@ 49647 68560 ac_check_lib_save_LIBS=$LIBS 49648 68561 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 49649 68562 cat >conftest.$ac_ext <<_ACEOF 49650 68563 -#line 10353 "configure" 49651 +#line 1 0968"configure"68564 +#line 11036 "configure" 49652 68565 #include "confdefs.h" 49653 68566 49654 68567 /* Override any gcc2 internal prototype to avoid an error. */ 49655 @@ -10369,16 +1 0984,16 @@68568 @@ -10369,16 +11052,16 @@ 49656 68569 } 49657 68570 _ACEOF 49658 68571 rm -f conftest.$ac_objext conftest$ac_exeext 49659 68572 -if { (eval echo "$as_me:10372: \"$ac_link\"") >&5 49660 +if { (eval echo "$as_me:1 0987: \"$ac_link\"") >&568573 +if { (eval echo "$as_me:11055: \"$ac_link\"") >&5 49661 68574 (eval $ac_link) 2>&5 49662 68575 ac_status=$? 49663 68576 - echo "$as_me:10375: \$? = $ac_status" >&5 49664 + echo "$as_me:1 0990: \$? = $ac_status" >&568577 + echo "$as_me:11058: \$? = $ac_status" >&5 49665 68578 (exit $ac_status); } && 49666 68579 { ac_try='test -s conftest$ac_exeext' 49667 68580 - { (eval echo "$as_me:10378: \"$ac_try\"") >&5 49668 + { (eval echo "$as_me:1 0993: \"$ac_try\"") >&568581 + { (eval echo "$as_me:11061: \"$ac_try\"") >&5 49669 68582 (eval $ac_try) 2>&5 49670 68583 ac_status=$? 49671 68584 - echo "$as_me:10381: \$? = $ac_status" >&5 49672 + echo "$as_me:1 0996: \$? = $ac_status" >&568585 + echo "$as_me:11064: \$? = $ac_status" >&5 49673 68586 (exit $ac_status); }; }; then 49674 68587 ac_cv_lib_ICE_IceConnectionNumber=yes 49675 68588 else 49676 @@ -10389,7 +110 04,7 @@68589 @@ -10389,7 +11072,7 @@ 49677 68590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49678 68591 LIBS=$ac_check_lib_save_LIBS 49679 68592 fi 49680 68593 -echo "$as_me:10392: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 49681 +echo "$as_me:110 07: result: $ac_cv_lib_ICE_IceConnectionNumber" >&568594 +echo "$as_me:11075: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 49682 68595 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 49683 68596 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then 49684 68597 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 49685 @@ -10401,7 +110 16,7 @@68598 @@ -10401,7 +11084,7 @@ 49686 68599 49687 68600 cf_x_athena=${cf_x_athena:-Xaw} 49688 68601 49689 68602 -echo "$as_me:10404: checking if you want to link with Xaw 3d library" >&5 49690 +echo "$as_me:110 19: checking if you want to link with Xaw 3d library" >&568603 +echo "$as_me:11087: checking if you want to link with Xaw 3d library" >&5 49691 68604 echo $ECHO_N "checking if you want to link with Xaw 3d library... $ECHO_C" >&6 49692 68605 withval= 49693 68606 49694 @@ -10412,14 +110 27,14 @@68607 @@ -10412,14 +11095,14 @@ 49695 68608 fi; 49696 68609 if test "$withval" = yes ; then 49697 68610 cf_x_athena=Xaw3d 49698 68611 - echo "$as_me:10415: result: yes" >&5 49699 + echo "$as_me:110 30: result: yes" >&568612 + echo "$as_me:11098: result: yes" >&5 49700 68613 echo "${ECHO_T}yes" >&6 49701 68614 else 49702 68615 - echo "$as_me:10418: result: no" >&5 49703 + echo "$as_me:11 033: result: no" >&568616 + echo "$as_me:11101: result: no" >&5 49704 68617 echo "${ECHO_T}no" >&6 49705 68618 fi 49706 68619 49707 68620 -echo "$as_me:10422: checking if you want to link with neXT Athena library" >&5 49708 +echo "$as_me:11 037: checking if you want to link with neXT Athena library" >&568621 +echo "$as_me:11105: checking if you want to link with neXT Athena library" >&5 49709 68622 echo $ECHO_N "checking if you want to link with neXT Athena library... $ECHO_C" >&6 49710 68623 withval= 49711 68624 49712 @@ -10430,14 +11 045,14 @@68625 @@ -10430,14 +11113,14 @@ 49713 68626 fi; 49714 68627 if test "$withval" = yes ; then 49715 68628 cf_x_athena=neXtaw 49716 68629 - echo "$as_me:10433: result: yes" >&5 49717 + echo "$as_me:11 048: result: yes" >&568630 + echo "$as_me:11116: result: yes" >&5 49718 68631 echo "${ECHO_T}yes" >&6 49719 68632 else 49720 68633 - echo "$as_me:10436: result: no" >&5 49721 + echo "$as_me:11 051: result: no" >&568634 + echo "$as_me:11119: result: no" >&5 49722 68635 echo "${ECHO_T}no" >&6 49723 68636 fi 49724 68637 49725 68638 -echo "$as_me:10440: checking if you want to link with Athena-Plus library" >&5 49726 +echo "$as_me:11 055: checking if you want to link with Athena-Plus library" >&568639 +echo "$as_me:11123: checking if you want to link with Athena-Plus library" >&5 49727 68640 echo $ECHO_N "checking if you want to link with Athena-Plus library... $ECHO_C" >&6 49728 68641 withval= 49729 68642 49730 @@ -10448,10 +11 063,10 @@68643 @@ -10448,10 +11131,10 @@ 49731 68644 fi; 49732 68645 if test "$withval" = yes ; then 49733 68646 cf_x_athena=XawPlus 49734 68647 - echo "$as_me:10451: result: yes" >&5 49735 + echo "$as_me:11 066: result: yes" >&568648 + echo "$as_me:11134: result: yes" >&5 49736 68649 echo "${ECHO_T}yes" >&6 49737 68650 else 49738 68651 - echo "$as_me:10454: result: no" >&5 49739 + echo "$as_me:11 069: result: no" >&568652 + echo "$as_me:11137: result: no" >&5 49740 68653 echo "${ECHO_T}no" >&6 49741 68654 fi 49742 68655 49743 @@ -10471,17 +11 086,17 @@68656 @@ -10471,17 +11154,17 @@ 49744 68657 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists $cf_athena_pkg; then 49745 68658 test -n "$verbose" && echo " found package $cf_athena_pkg" 1>&6 49746 68659 49747 68660 -echo "${as_me:-configure}:10474: testing found package $cf_athena_pkg ..." 1>&5 49748 +echo "${as_me:-configure}:11 089: testing found package $cf_athena_pkg ..." 1>&568661 +echo "${as_me:-configure}:11157: testing found package $cf_athena_pkg ..." 1>&5 49749 68662 49750 68663 cf_pkgconfig_incs="`$PKG_CONFIG --cflags $cf_athena_pkg 2>/dev/null`" … … 49753 68666 49754 68667 -echo "${as_me:-configure}:10480: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49755 +echo "${as_me:-configure}:11 095: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&568668 +echo "${as_me:-configure}:11163: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49756 68669 49757 68670 test -n "$verbose" && echo " package $cf_athena_pkg LIBS: $cf_pkgconfig_libs" 1>&6 49758 68671 49759 68672 -echo "${as_me:-configure}:10484: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5 49760 +echo "${as_me:-configure}:11 099: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&568673 +echo "${as_me:-configure}:11167: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5 49761 68674 49762 68675 cf_fix_cppflags=no 49763 68676 cf_new_cflags= 49764 @@ -10571,14 +11 186,14 @@68677 @@ -10571,14 +11254,14 @@ 49765 68678 #define $cf_x_athena_LIBS 1 49766 68679 EOF 49767 68680 49768 68681 -echo "$as_me:10574: checking for usable $cf_x_athena/Xmu package" >&5 49769 +echo "$as_me:11 189: checking for usable $cf_x_athena/Xmu package" >&568682 +echo "$as_me:11257: checking for usable $cf_x_athena/Xmu package" >&5 49770 68683 echo $ECHO_N "checking for usable $cf_x_athena/Xmu package... $ECHO_C" >&6 49771 68684 if test "${cf_cv_xaw_compat+set}" = set; then … … 49775 68688 cat >conftest.$ac_ext <<_ACEOF 49776 68689 -#line 10581 "configure" 49777 +#line 11 196"configure"68690 +#line 11264 "configure" 49778 68691 #include "confdefs.h" 49779 68692 49780 68693 #include <X11/Xmu/CharSet.h> 49781 @@ -10594,16 +112 09,16 @@68694 @@ -10594,16 +11277,16 @@ 49782 68695 } 49783 68696 _ACEOF 49784 68697 rm -f conftest.$ac_objext conftest$ac_exeext 49785 68698 -if { (eval echo "$as_me:10597: \"$ac_link\"") >&5 49786 +if { (eval echo "$as_me:112 12: \"$ac_link\"") >&568699 +if { (eval echo "$as_me:11280: \"$ac_link\"") >&5 49787 68700 (eval $ac_link) 2>&5 49788 68701 ac_status=$? 49789 68702 - echo "$as_me:10600: \$? = $ac_status" >&5 49790 + echo "$as_me:112 15: \$? = $ac_status" >&568703 + echo "$as_me:11283: \$? = $ac_status" >&5 49791 68704 (exit $ac_status); } && 49792 68705 { ac_try='test -s conftest$ac_exeext' 49793 68706 - { (eval echo "$as_me:10603: \"$ac_try\"") >&5 49794 + { (eval echo "$as_me:112 18: \"$ac_try\"") >&568707 + { (eval echo "$as_me:11286: \"$ac_try\"") >&5 49795 68708 (eval $ac_try) 2>&5 49796 68709 ac_status=$? 49797 68710 - echo "$as_me:10606: \$? = $ac_status" >&5 49798 + echo "$as_me:112 21: \$? = $ac_status" >&568711 + echo "$as_me:11289: \$? = $ac_status" >&5 49799 68712 (exit $ac_status); }; }; then 49800 68713 cf_cv_xaw_compat=yes 49801 68714 else 49802 @@ -10613,7 +112 28,7 @@68715 @@ -10613,7 +11296,7 @@ 49803 68716 fi 49804 68717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49805 68718 fi 49806 68719 -echo "$as_me:10616: result: $cf_cv_xaw_compat" >&5 49807 +echo "$as_me:112 31: result: $cf_cv_xaw_compat" >&568720 +echo "$as_me:11299: result: $cf_cv_xaw_compat" >&5 49808 68721 echo "${ECHO_T}$cf_cv_xaw_compat" >&6 49809 68722 49810 68723 if test "$cf_cv_xaw_compat" = no 49811 @@ -10625,22 +11 240,22 @@68724 @@ -10625,22 +11308,22 @@ 49812 68725 *) 49813 68726 test -n "$verbose" && echo " work around broken package" 1>&6 49814 68727 49815 68728 -echo "${as_me:-configure}:10628: testing work around broken package ..." 1>&5 49816 +echo "${as_me:-configure}:11 243: testing work around broken package ..." 1>&568729 +echo "${as_me:-configure}:11311: testing work around broken package ..." 1>&5 49817 68730 49818 68731 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xmu; then … … 49820 68733 49821 68734 -echo "${as_me:-configure}:10633: testing found package xmu ..." 1>&5 49822 +echo "${as_me:-configure}:11 248: testing found package xmu ..." 1>&568735 +echo "${as_me:-configure}:11316: testing found package xmu ..." 1>&5 49823 68736 49824 68737 cf_pkgconfig_incs="`$PKG_CONFIG --cflags xmu 2>/dev/null`" … … 49827 68740 49828 68741 -echo "${as_me:-configure}:10639: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49829 +echo "${as_me:-configure}:11 254: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&568742 +echo "${as_me:-configure}:11322: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49830 68743 49831 68744 test -n "$verbose" && echo " package xmu LIBS: $cf_pkgconfig_libs" 1>&6 49832 68745 49833 68746 -echo "${as_me:-configure}:10643: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5 49834 +echo "${as_me:-configure}:11 258: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&568747 +echo "${as_me:-configure}:11326: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5 49835 68748 49836 68749 cf_fix_cppflags=no 49837 68750 cf_new_cflags= 49838 @@ -10726,12 +11 341,12 @@68751 @@ -10726,12 +11409,12 @@ 49839 68752 49840 68753 test -n "$verbose" && echo " ...before $LIBS" 1>&6 49841 68754 49842 68755 -echo "${as_me:-configure}:10729: testing ...before $LIBS ..." 1>&5 49843 +echo "${as_me:-configure}:11 344: testing ...before $LIBS ..." 1>&568756 +echo "${as_me:-configure}:11412: testing ...before $LIBS ..." 1>&5 49844 68757 49845 68758 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s,-lXt ,-lXt -lXmu ," -e 's/ / /g'` … … 49847 68760 49848 68761 -echo "${as_me:-configure}:10734: testing ...after $LIBS ..." 1>&5 49849 +echo "${as_me:-configure}:11 349: testing ...after $LIBS ..." 1>&549850 49851 fi 49852 49853 @@ -10752,17 +11 367,17 @@68762 +echo "${as_me:-configure}:11417: testing ...after $LIBS ..." 1>&5 68763 68764 fi 68765 68766 @@ -10752,17 +11435,17 @@ 49854 68767 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists Xext; then 49855 68768 test -n "$verbose" && echo " found package Xext" 1>&6 49856 68769 49857 68770 -echo "${as_me:-configure}:10755: testing found package Xext ..." 1>&5 49858 +echo "${as_me:-configure}:11 370: testing found package Xext ..." 1>&568771 +echo "${as_me:-configure}:11438: testing found package Xext ..." 1>&5 49859 68772 49860 68773 cf_pkgconfig_incs="`$PKG_CONFIG --cflags Xext 2>/dev/null`" … … 49863 68776 49864 68777 -echo "${as_me:-configure}:10761: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49865 +echo "${as_me:-configure}:11 376: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&568778 +echo "${as_me:-configure}:11444: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49866 68779 49867 68780 test -n "$verbose" && echo " package Xext LIBS: $cf_pkgconfig_libs" 1>&6 49868 68781 49869 68782 -echo "${as_me:-configure}:10765: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5 49870 +echo "${as_me:-configure}:11 380: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&568783 +echo "${as_me:-configure}:11448: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5 49871 68784 49872 68785 cf_fix_cppflags=no 49873 68786 cf_new_cflags= 49874 @@ -10846,7 +11 461,7 @@68787 @@ -10846,7 +11529,7 @@ 49875 68788 : 49876 68789 else 49877 68790 49878 68791 - echo "$as_me:10849: checking for XextCreateExtension in -lXext" >&5 49879 + echo "$as_me:11 464: checking for XextCreateExtension in -lXext" >&568792 + echo "$as_me:11532: checking for XextCreateExtension in -lXext" >&5 49880 68793 echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6 49881 68794 if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then 49882 68795 echo $ECHO_N "(cached) $ECHO_C" >&6 49883 @@ -10854,7 +11 469,7 @@68796 @@ -10854,7 +11537,7 @@ 49884 68797 ac_check_lib_save_LIBS=$LIBS 49885 68798 LIBS="-lXext $LIBS" 49886 68799 cat >conftest.$ac_ext <<_ACEOF 49887 68800 -#line 10857 "configure" 49888 +#line 11 472"configure"68801 +#line 11540 "configure" 49889 68802 #include "confdefs.h" 49890 68803 49891 68804 /* Override any gcc2 internal prototype to avoid an error. */ 49892 @@ -10873,16 +11 488,16 @@68805 @@ -10873,16 +11556,16 @@ 49893 68806 } 49894 68807 _ACEOF 49895 68808 rm -f conftest.$ac_objext conftest$ac_exeext 49896 68809 -if { (eval echo "$as_me:10876: \"$ac_link\"") >&5 49897 +if { (eval echo "$as_me:11 491: \"$ac_link\"") >&568810 +if { (eval echo "$as_me:11559: \"$ac_link\"") >&5 49898 68811 (eval $ac_link) 2>&5 49899 68812 ac_status=$? 49900 68813 - echo "$as_me:10879: \$? = $ac_status" >&5 49901 + echo "$as_me:11 494: \$? = $ac_status" >&568814 + echo "$as_me:11562: \$? = $ac_status" >&5 49902 68815 (exit $ac_status); } && 49903 68816 { ac_try='test -s conftest$ac_exeext' 49904 68817 - { (eval echo "$as_me:10882: \"$ac_try\"") >&5 49905 + { (eval echo "$as_me:11 497: \"$ac_try\"") >&568818 + { (eval echo "$as_me:11565: \"$ac_try\"") >&5 49906 68819 (eval $ac_try) 2>&5 49907 68820 ac_status=$? 49908 68821 - echo "$as_me:10885: \$? = $ac_status" >&5 49909 + echo "$as_me:115 00: \$? = $ac_status" >&568822 + echo "$as_me:11568: \$? = $ac_status" >&5 49910 68823 (exit $ac_status); }; }; then 49911 68824 ac_cv_lib_Xext_XextCreateExtension=yes 49912 68825 else 49913 @@ -10893,7 +115 08,7 @@68826 @@ -10893,7 +11576,7 @@ 49914 68827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49915 68828 LIBS=$ac_check_lib_save_LIBS 49916 68829 fi 49917 68830 -echo "$as_me:10896: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 49918 +echo "$as_me:115 11: result: $ac_cv_lib_Xext_XextCreateExtension" >&568831 +echo "$as_me:11579: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 49919 68832 echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6 49920 68833 if test $ac_cv_lib_Xext_XextCreateExtension = yes; then 49921 68834 LIBS="-lXext $LIBS" 49922 @@ -10906,17 +115 21,17 @@68835 @@ -10906,17 +11589,17 @@ 49923 68836 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xt; then 49924 68837 test -n "$verbose" && echo " found package xt" 1>&6 49925 68838 49926 68839 -echo "${as_me:-configure}:10909: testing found package xt ..." 1>&5 49927 +echo "${as_me:-configure}:115 24: testing found package xt ..." 1>&568840 +echo "${as_me:-configure}:11592: testing found package xt ..." 1>&5 49928 68841 49929 68842 cf_pkgconfig_incs="`$PKG_CONFIG --cflags xt 2>/dev/null`" … … 49932 68845 49933 68846 -echo "${as_me:-configure}:10915: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49934 +echo "${as_me:-configure}:115 30: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&568847 +echo "${as_me:-configure}:11598: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 49935 68848 49936 68849 test -n "$verbose" && echo " package xt LIBS: $cf_pkgconfig_libs" 1>&6 49937 68850 49938 68851 -echo "${as_me:-configure}:10919: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 49939 +echo "${as_me:-configure}:11 534: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&568852 +echo "${as_me:-configure}:11602: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 49940 68853 49941 68854 cf_fix_cppflags=no 49942 68855 cf_new_cflags= 49943 @@ -11003,14 +116 18,14 @@68856 @@ -11003,14 +11686,14 @@ 49944 68857 ;; 49945 68858 *) 49946 68859 # we have an "xt" package, but it may omit Xt's dependency on X11 49947 68860 -echo "$as_me:11006: checking for usable X dependency" >&5 49948 +echo "$as_me:116 21: checking for usable X dependency" >&568861 +echo "$as_me:11689: checking for usable X dependency" >&5 49949 68862 echo $ECHO_N "checking for usable X dependency... $ECHO_C" >&6 49950 68863 if test "${cf_cv_xt_x11_compat+set}" = set; then … … 49954 68867 cat >conftest.$ac_ext <<_ACEOF 49955 68868 -#line 11013 "configure" 49956 +#line 116 28"configure"68869 +#line 11696 "configure" 49957 68870 #include "confdefs.h" 49958 68871 49959 68872 #include <X11/Xlib.h> 49960 @@ -11029,16 +11 644,16 @@68873 @@ -11029,16 +11712,16 @@ 49961 68874 } 49962 68875 _ACEOF 49963 68876 rm -f conftest.$ac_objext conftest$ac_exeext 49964 68877 -if { (eval echo "$as_me:11032: \"$ac_link\"") >&5 49965 +if { (eval echo "$as_me:11 647: \"$ac_link\"") >&568878 +if { (eval echo "$as_me:11715: \"$ac_link\"") >&5 49966 68879 (eval $ac_link) 2>&5 49967 68880 ac_status=$? 49968 68881 - echo "$as_me:11035: \$? = $ac_status" >&5 49969 + echo "$as_me:11 650: \$? = $ac_status" >&568882 + echo "$as_me:11718: \$? = $ac_status" >&5 49970 68883 (exit $ac_status); } && 49971 68884 { ac_try='test -s conftest$ac_exeext' 49972 68885 - { (eval echo "$as_me:11038: \"$ac_try\"") >&5 49973 + { (eval echo "$as_me:11 653: \"$ac_try\"") >&568886 + { (eval echo "$as_me:11721: \"$ac_try\"") >&5 49974 68887 (eval $ac_try) 2>&5 49975 68888 ac_status=$? 49976 68889 - echo "$as_me:11041: \$? = $ac_status" >&5 49977 + echo "$as_me:11 656: \$? = $ac_status" >&568890 + echo "$as_me:11724: \$? = $ac_status" >&5 49978 68891 (exit $ac_status); }; }; then 49979 68892 cf_cv_xt_x11_compat=yes 49980 68893 else 49981 @@ -11048,30 +11 663,30 @@68894 @@ -11048,30 +11731,30 @@ 49982 68895 fi 49983 68896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 49984 68897 fi 49985 68898 -echo "$as_me:11051: result: $cf_cv_xt_x11_compat" >&5 49986 +echo "$as_me:11 666: result: $cf_cv_xt_x11_compat" >&568899 +echo "$as_me:11734: result: $cf_cv_xt_x11_compat" >&5 49987 68900 echo "${ECHO_T}$cf_cv_xt_x11_compat" >&6 49988 68901 if test "$cf_cv_xt_x11_compat" = no … … 49991 68904 49992 68905 -echo "${as_me:-configure}:11057: testing work around broken X11 dependency ..." 1>&5 49993 +echo "${as_me:-configure}:11 672: testing work around broken X11 dependency ..." 1>&568906 +echo "${as_me:-configure}:11740: testing work around broken X11 dependency ..." 1>&5 49994 68907 49995 68908 # 2010/11/19 - good enough until a working Xt on Xcb is delivered. … … 49999 68912 50000 68913 -echo "${as_me:-configure}:11064: testing found package x11 ..." 1>&5 50001 +echo "${as_me:-configure}:11 679: testing found package x11 ..." 1>&568914 +echo "${as_me:-configure}:11747: testing found package x11 ..." 1>&5 50002 68915 50003 68916 cf_pkgconfig_incs="`$PKG_CONFIG --cflags x11 2>/dev/null`" … … 50006 68919 50007 68920 -echo "${as_me:-configure}:11070: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50008 +echo "${as_me:-configure}:11 685: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&568921 +echo "${as_me:-configure}:11753: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50009 68922 50010 68923 test -n "$verbose" && echo " package x11 LIBS: $cf_pkgconfig_libs" 1>&6 50011 68924 50012 68925 -echo "${as_me:-configure}:11074: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 50013 +echo "${as_me:-configure}:11 689: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&568926 +echo "${as_me:-configure}:11757: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 50014 68927 50015 68928 cf_fix_cppflags=no 50016 68929 cf_new_cflags= 50017 @@ -11157,12 +11 772,12 @@68930 @@ -11157,12 +11840,12 @@ 50018 68931 50019 68932 test -n "$verbose" && echo " ...before $LIBS" 1>&6 50020 68933 50021 68934 -echo "${as_me:-configure}:11160: testing ...before $LIBS ..." 1>&5 50022 +echo "${as_me:-configure}:11 775: testing ...before $LIBS ..." 1>&568935 +echo "${as_me:-configure}:11843: testing ...before $LIBS ..." 1>&5 50023 68936 50024 68937 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s,-lXt ,-lXt -lX11 ," -e 's/ / /g'` … … 50026 68939 50027 68940 -echo "${as_me:-configure}:11165: testing ...after $LIBS ..." 1>&5 50028 +echo "${as_me:-configure}:11 780: testing ...after $LIBS ..." 1>&550029 50030 fi 50031 50032 @@ -11170,14 +11 785,14 @@68941 +echo "${as_me:-configure}:11848: testing ...after $LIBS ..." 1>&5 68942 68943 fi 68944 68945 @@ -11170,14 +11853,14 @@ 50033 68946 ;; 50034 68947 esac 50035 68948 50036 68949 -echo "$as_me:11173: checking for usable X Toolkit package" >&5 50037 +echo "$as_me:11 788: checking for usable X Toolkit package" >&568950 +echo "$as_me:11856: checking for usable X Toolkit package" >&5 50038 68951 echo $ECHO_N "checking for usable X Toolkit package... $ECHO_C" >&6 50039 68952 if test "${cf_cv_xt_ice_compat+set}" = set; then … … 50043 68956 cat >conftest.$ac_ext <<_ACEOF 50044 68957 -#line 11180 "configure" 50045 +#line 11 795"configure"68958 +#line 11863 "configure" 50046 68959 #include "confdefs.h" 50047 68960 50048 68961 #include <X11/Shell.h> 50049 @@ -11192,16 +118 07,16 @@68962 @@ -11192,16 +11875,16 @@ 50050 68963 } 50051 68964 _ACEOF 50052 68965 rm -f conftest.$ac_objext conftest$ac_exeext 50053 68966 -if { (eval echo "$as_me:11195: \"$ac_link\"") >&5 50054 +if { (eval echo "$as_me:118 10: \"$ac_link\"") >&568967 +if { (eval echo "$as_me:11878: \"$ac_link\"") >&5 50055 68968 (eval $ac_link) 2>&5 50056 68969 ac_status=$? 50057 68970 - echo "$as_me:11198: \$? = $ac_status" >&5 50058 + echo "$as_me:118 13: \$? = $ac_status" >&568971 + echo "$as_me:11881: \$? = $ac_status" >&5 50059 68972 (exit $ac_status); } && 50060 68973 { ac_try='test -s conftest$ac_exeext' 50061 68974 - { (eval echo "$as_me:11201: \"$ac_try\"") >&5 50062 + { (eval echo "$as_me:118 16: \"$ac_try\"") >&568975 + { (eval echo "$as_me:11884: \"$ac_try\"") >&5 50063 68976 (eval $ac_try) 2>&5 50064 68977 ac_status=$? 50065 68978 - echo "$as_me:11204: \$? = $ac_status" >&5 50066 + echo "$as_me:118 19: \$? = $ac_status" >&568979 + echo "$as_me:11887: \$? = $ac_status" >&5 50067 68980 (exit $ac_status); }; }; then 50068 68981 cf_cv_xt_ice_compat=yes 50069 68982 else 50070 @@ -11211,7 +118 26,7 @@68983 @@ -11211,7 +11894,7 @@ 50071 68984 fi 50072 68985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50073 68986 fi 50074 68987 -echo "$as_me:11214: result: $cf_cv_xt_ice_compat" >&5 50075 +echo "$as_me:118 29: result: $cf_cv_xt_ice_compat" >&568988 +echo "$as_me:11897: result: $cf_cv_xt_ice_compat" >&5 50076 68989 echo "${ECHO_T}$cf_cv_xt_ice_compat" >&6 50077 68990 50078 68991 if test "$cf_cv_xt_ice_compat" = no 50079 @@ -11225,22 +11 840,22 @@68992 @@ -11225,22 +11908,22 @@ 50080 68993 *) 50081 68994 test -n "$verbose" && echo " work around broken ICE dependency" 1>&6 50082 68995 50083 68996 -echo "${as_me:-configure}:11228: testing work around broken ICE dependency ..." 1>&5 50084 +echo "${as_me:-configure}:11 843: testing work around broken ICE dependency ..." 1>&568997 +echo "${as_me:-configure}:11911: testing work around broken ICE dependency ..." 1>&5 50085 68998 50086 68999 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists ice; then … … 50088 69001 50089 69002 -echo "${as_me:-configure}:11233: testing found package ice ..." 1>&5 50090 +echo "${as_me:-configure}:11 848: testing found package ice ..." 1>&569003 +echo "${as_me:-configure}:11916: testing found package ice ..." 1>&5 50091 69004 50092 69005 cf_pkgconfig_incs="`$PKG_CONFIG --cflags ice 2>/dev/null`" … … 50095 69008 50096 69009 -echo "${as_me:-configure}:11239: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50097 +echo "${as_me:-configure}:11 854: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&569010 +echo "${as_me:-configure}:11922: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50098 69011 50099 69012 test -n "$verbose" && echo " package ice LIBS: $cf_pkgconfig_libs" 1>&6 50100 69013 50101 69014 -echo "${as_me:-configure}:11243: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 50102 +echo "${as_me:-configure}:11 858: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&569015 +echo "${as_me:-configure}:11926: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 50103 69016 50104 69017 cf_fix_cppflags=no 50105 69018 cf_new_cflags= 50106 @@ -11325,17 +1 1940,17 @@69019 @@ -11325,17 +12008,17 @@ 50107 69020 if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists sm; then 50108 69021 test -n "$verbose" && echo " found package sm" 1>&6 50109 69022 50110 69023 -echo "${as_me:-configure}:11328: testing found package sm ..." 1>&5 50111 +echo "${as_me:-configure}:1 1943: testing found package sm ..." 1>&569024 +echo "${as_me:-configure}:12011: testing found package sm ..." 1>&5 50112 69025 50113 69026 cf_pkgconfig_incs="`$PKG_CONFIG --cflags sm 2>/dev/null`" … … 50116 69029 50117 69030 -echo "${as_me:-configure}:11334: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50118 +echo "${as_me:-configure}:1 1949: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&569031 +echo "${as_me:-configure}:12017: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 50119 69032 50120 69033 test -n "$verbose" && echo " package sm LIBS: $cf_pkgconfig_libs" 1>&6 50121 69034 50122 69035 -echo "${as_me:-configure}:11338: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 50123 +echo "${as_me:-configure}:1 1953: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&569036 +echo "${as_me:-configure}:12021: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 50124 69037 50125 69038 cf_fix_cppflags=no 50126 69039 cf_new_cflags= 50127 @@ -11425,12 +12 040,12 @@69040 @@ -11425,12 +12108,12 @@ 50128 69041 50129 69042 test -n "$verbose" && echo " ...before $LIBS" 1>&6 50130 69043 50131 69044 -echo "${as_me:-configure}:11428: testing ...before $LIBS ..." 1>&5 50132 +echo "${as_me:-configure}:12 043: testing ...before $LIBS ..." 1>&569045 +echo "${as_me:-configure}:12111: testing ...before $LIBS ..." 1>&5 50133 69046 50134 69047 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s,-lXt ,-lXt $X_PRE_LIBS ," -e 's/ / /g'` … … 50136 69049 50137 69050 -echo "${as_me:-configure}:11433: testing ...after $LIBS ..." 1>&5 50138 +echo "${as_me:-configure}:12 048: testing ...after $LIBS ..." 1>&550139 50140 fi 50141 50142 @@ -11448,7 +12 063,7 @@69051 +echo "${as_me:-configure}:12116: testing ...after $LIBS ..." 1>&5 69052 69053 fi 69054 69055 @@ -11448,7 +12131,7 @@ 50143 69056 50144 69057 test -n "$verbose" && echo " checking additions to CFLAGS" 1>&6 50145 69058 50146 69059 -echo "${as_me:-configure}:11451: testing checking additions to CFLAGS ..." 1>&5 50147 +echo "${as_me:-configure}:12 066: testing checking additions to CFLAGS ..." 1>&569060 +echo "${as_me:-configure}:12134: testing checking additions to CFLAGS ..." 1>&5 50148 69061 50149 69062 cf_check_cflags="$CFLAGS" 50150 69063 cf_check_cppflags="$CPPFLAGS" 50151 @@ -11519,7 +12 134,7 @@69064 @@ -11519,7 +12202,7 @@ 50152 69065 if test -n "$cf_new_cflags" ; then 50153 69066 test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 50154 69067 50155 69068 -echo "${as_me:-configure}:11522: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 50156 +echo "${as_me:-configure}:12 137: testing add to \$CFLAGS $cf_new_cflags ..." 1>&569069 +echo "${as_me:-configure}:12205: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 50157 69070 50158 69071 CFLAGS="$CFLAGS $cf_new_cflags" 50159 69072 fi 50160 @@ -11527,7 +12 142,7 @@69073 @@ -11527,7 +12210,7 @@ 50161 69074 if test -n "$cf_new_cppflags" ; then 50162 69075 test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 50163 69076 50164 69077 -echo "${as_me:-configure}:11530: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 50165 +echo "${as_me:-configure}:12 145: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&569078 +echo "${as_me:-configure}:12213: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 50166 69079 50167 69080 CPPFLAGS="$CPPFLAGS $cf_new_cppflags" 50168 69081 fi 50169 @@ -11535,14 +12 150,14 @@69082 @@ -11535,14 +12218,14 @@ 50170 69083 if test -n "$cf_new_extra_cppflags" ; then 50171 69084 test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 50172 69085 50173 69086 -echo "${as_me:-configure}:11538: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 50174 +echo "${as_me:-configure}:12 153: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&569087 +echo "${as_me:-configure}:12221: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 50175 69088 50176 69089 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" … … 50180 69093 cat >conftest.$ac_ext <<_ACEOF 50181 69094 -#line 11545 "configure" 50182 +#line 12 160"configure"69095 +#line 12228 "configure" 50183 69096 #include "confdefs.h" 50184 69097 #include <stdio.h> 50185 69098 int 50186 @@ -11554,16 +12 169,16 @@69099 @@ -11554,16 +12237,16 @@ 50187 69100 } 50188 69101 _ACEOF 50189 69102 rm -f conftest.$ac_objext conftest$ac_exeext 50190 69103 -if { (eval echo "$as_me:11557: \"$ac_link\"") >&5 50191 +if { (eval echo "$as_me:12 172: \"$ac_link\"") >&569104 +if { (eval echo "$as_me:12240: \"$ac_link\"") >&5 50192 69105 (eval $ac_link) 2>&5 50193 69106 ac_status=$? 50194 69107 - echo "$as_me:11560: \$? = $ac_status" >&5 50195 + echo "$as_me:12 175: \$? = $ac_status" >&569108 + echo "$as_me:12243: \$? = $ac_status" >&5 50196 69109 (exit $ac_status); } && 50197 69110 { ac_try='test -s conftest$ac_exeext' 50198 69111 - { (eval echo "$as_me:11563: \"$ac_try\"") >&5 50199 + { (eval echo "$as_me:12 178: \"$ac_try\"") >&569112 + { (eval echo "$as_me:12246: \"$ac_try\"") >&5 50200 69113 (eval $ac_try) 2>&5 50201 69114 ac_status=$? 50202 69115 - echo "$as_me:11566: \$? = $ac_status" >&5 50203 + echo "$as_me:12 181: \$? = $ac_status" >&569116 + echo "$as_me:12249: \$? = $ac_status" >&5 50204 69117 (exit $ac_status); }; }; then 50205 69118 : 50206 69119 else 50207 @@ -11571,12 +12 186,12 @@69120 @@ -11571,12 +12254,12 @@ 50208 69121 cat conftest.$ac_ext >&5 50209 69122 test -n "$verbose" && echo " test-compile failed. Undoing change to \$CFLAGS" 1>&6 50210 69123 50211 69124 -echo "${as_me:-configure}:11574: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 50212 +echo "${as_me:-configure}:12 189: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&569125 +echo "${as_me:-configure}:12257: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 50213 69126 50214 69127 if test "$cf_check_cppflags" != "$CPPFLAGS" ; then … … 50216 69129 50217 69130 -echo "${as_me:-configure}:11579: testing but keeping change to \$CPPFLAGS ..." 1>&5 50218 +echo "${as_me:-configure}:12 194: testing but keeping change to \$CPPFLAGS ..." 1>&569131 +echo "${as_me:-configure}:12262: testing but keeping change to \$CPPFLAGS ..." 1>&5 50219 69132 50220 69133 fi 50221 69134 CFLAGS="$cf_check_flags" 50222 @@ -11584,13 +12 199,13 @@69135 @@ -11584,13 +12267,13 @@ 50223 69136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50224 69137 fi 50225 69138 50226 69139 - echo "$as_me:11587: checking for XOpenDisplay" >&5 50227 + echo "$as_me:122 02: checking for XOpenDisplay" >&569140 + echo "$as_me:12270: checking for XOpenDisplay" >&5 50228 69141 echo $ECHO_N "checking for XOpenDisplay... $ECHO_C" >&6 50229 69142 if test "${ac_cv_func_XOpenDisplay+set}" = set; then … … 50232 69145 cat >conftest.$ac_ext <<_ACEOF 50233 69146 -#line 11593 "configure" 50234 +#line 122 08"configure"69147 +#line 12276 "configure" 50235 69148 #include "confdefs.h" 50236 69149 /* System header to define __stub macros and hopefully few prototypes, 50237 69150 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 @@ 50239 69161 } 50240 69162 _ACEOF 50241 69163 rm -f conftest.$ac_objext conftest$ac_exeext 50242 69164 -if { (eval echo "$as_me:11624: \"$ac_link\"") >&5 50243 +if { (eval echo "$as_me:12 239: \"$ac_link\"") >&569165 +if { (eval echo "$as_me:12307: \"$ac_link\"") >&5 50244 69166 (eval $ac_link) 2>&5 50245 69167 ac_status=$? 50246 69168 - echo "$as_me:11627: \$? = $ac_status" >&5 50247 + echo "$as_me:12 242: \$? = $ac_status" >&569169 + echo "$as_me:12310: \$? = $ac_status" >&5 50248 69170 (exit $ac_status); } && 50249 69171 { ac_try='test -s conftest$ac_exeext' 50250 69172 - { (eval echo "$as_me:11630: \"$ac_try\"") >&5 50251 + { (eval echo "$as_me:12 245: \"$ac_try\"") >&569173 + { (eval echo "$as_me:12313: \"$ac_try\"") >&5 50252 69174 (eval $ac_try) 2>&5 50253 69175 ac_status=$? 50254 69176 - echo "$as_me:11633: \$? = $ac_status" >&5 50255 + echo "$as_me:12 248: \$? = $ac_status" >&569177 + echo "$as_me:12316: \$? = $ac_status" >&5 50256 69178 (exit $ac_status); }; }; then 50257 69179 ac_cv_func_XOpenDisplay=yes 50258 69180 else 50259 @@ -11640,13 +12 255,13 @@69181 @@ -11640,13 +12323,13 @@ 50260 69182 fi 50261 69183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50262 69184 fi 50263 69185 -echo "$as_me:11643: result: $ac_cv_func_XOpenDisplay" >&5 50264 +echo "$as_me:12 258: result: $ac_cv_func_XOpenDisplay" >&569186 +echo "$as_me:12326: result: $ac_cv_func_XOpenDisplay" >&5 50265 69187 echo "${ECHO_T}$ac_cv_func_XOpenDisplay" >&6 50266 69188 if test $ac_cv_func_XOpenDisplay = yes; then … … 50269 69191 50270 69192 - echo "$as_me:11649: checking for XOpenDisplay in -lX11" >&5 50271 + echo "$as_me:12 264: checking for XOpenDisplay in -lX11" >&569193 + echo "$as_me:12332: checking for XOpenDisplay in -lX11" >&5 50272 69194 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 50273 69195 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then 50274 69196 echo $ECHO_N "(cached) $ECHO_C" >&6 50275 @@ -11654,7 +12 269,7 @@69197 @@ -11654,7 +12337,7 @@ 50276 69198 ac_check_lib_save_LIBS=$LIBS 50277 69199 LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS" 50278 69200 cat >conftest.$ac_ext <<_ACEOF 50279 69201 -#line 11657 "configure" 50280 +#line 12 272"configure"69202 +#line 12340 "configure" 50281 69203 #include "confdefs.h" 50282 69204 50283 69205 /* Override any gcc2 internal prototype to avoid an error. */ 50284 @@ -11673,16 +12 288,16 @@69206 @@ -11673,16 +12356,16 @@ 50285 69207 } 50286 69208 _ACEOF 50287 69209 rm -f conftest.$ac_objext conftest$ac_exeext 50288 69210 -if { (eval echo "$as_me:11676: \"$ac_link\"") >&5 50289 +if { (eval echo "$as_me:12 291: \"$ac_link\"") >&569211 +if { (eval echo "$as_me:12359: \"$ac_link\"") >&5 50290 69212 (eval $ac_link) 2>&5 50291 69213 ac_status=$? 50292 69214 - echo "$as_me:11679: \$? = $ac_status" >&5 50293 + echo "$as_me:12 294: \$? = $ac_status" >&569215 + echo "$as_me:12362: \$? = $ac_status" >&5 50294 69216 (exit $ac_status); } && 50295 69217 { ac_try='test -s conftest$ac_exeext' 50296 69218 - { (eval echo "$as_me:11682: \"$ac_try\"") >&5 50297 + { (eval echo "$as_me:12 297: \"$ac_try\"") >&569219 + { (eval echo "$as_me:12365: \"$ac_try\"") >&5 50298 69220 (eval $ac_try) 2>&5 50299 69221 ac_status=$? 50300 69222 - echo "$as_me:11685: \$? = $ac_status" >&5 50301 + echo "$as_me:123 00: \$? = $ac_status" >&569223 + echo "$as_me:12368: \$? = $ac_status" >&5 50302 69224 (exit $ac_status); }; }; then 50303 69225 ac_cv_lib_X11_XOpenDisplay=yes 50304 69226 else 50305 @@ -11693,7 +123 08,7 @@69227 @@ -11693,7 +12376,7 @@ 50306 69228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50307 69229 LIBS=$ac_check_lib_save_LIBS 50308 69230 fi 50309 69231 -echo "$as_me:11696: result: $ac_cv_lib_X11_XOpenDisplay" >&5 50310 +echo "$as_me:123 11: result: $ac_cv_lib_X11_XOpenDisplay" >&569232 +echo "$as_me:12379: result: $ac_cv_lib_X11_XOpenDisplay" >&5 50311 69233 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 50312 69234 if test $ac_cv_lib_X11_XOpenDisplay = yes; then 50313 69235 LIBS="-lX11 $LIBS" 50314 @@ -11701,13 +123 16,13 @@69236 @@ -11701,13 +12384,13 @@ 50315 69237 50316 69238 fi 50317 69239 50318 69240 - echo "$as_me:11704: checking for XtAppInitialize" >&5 50319 + echo "$as_me:123 19: checking for XtAppInitialize" >&569241 + echo "$as_me:12387: checking for XtAppInitialize" >&5 50320 69242 echo $ECHO_N "checking for XtAppInitialize... $ECHO_C" >&6 50321 69243 if test "${ac_cv_func_XtAppInitialize+set}" = set; then … … 50324 69246 cat >conftest.$ac_ext <<_ACEOF 50325 69247 -#line 11710 "configure" 50326 +#line 123 25"configure"69248 +#line 12393 "configure" 50327 69249 #include "confdefs.h" 50328 69250 /* System header to define __stub macros and hopefully few prototypes, 50329 69251 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 @@ 50331 69262 } 50332 69263 _ACEOF 50333 69264 rm -f conftest.$ac_objext conftest$ac_exeext 50334 69265 -if { (eval echo "$as_me:11741: \"$ac_link\"") >&5 50335 +if { (eval echo "$as_me:12 356: \"$ac_link\"") >&569266 +if { (eval echo "$as_me:12424: \"$ac_link\"") >&5 50336 69267 (eval $ac_link) 2>&5 50337 69268 ac_status=$? 50338 69269 - echo "$as_me:11744: \$? = $ac_status" >&5 50339 + echo "$as_me:12 359: \$? = $ac_status" >&569270 + echo "$as_me:12427: \$? = $ac_status" >&5 50340 69271 (exit $ac_status); } && 50341 69272 { ac_try='test -s conftest$ac_exeext' 50342 69273 - { (eval echo "$as_me:11747: \"$ac_try\"") >&5 50343 + { (eval echo "$as_me:12 362: \"$ac_try\"") >&569274 + { (eval echo "$as_me:12430: \"$ac_try\"") >&5 50344 69275 (eval $ac_try) 2>&5 50345 69276 ac_status=$? 50346 69277 - echo "$as_me:11750: \$? = $ac_status" >&5 50347 + echo "$as_me:12 365: \$? = $ac_status" >&569278 + echo "$as_me:12433: \$? = $ac_status" >&5 50348 69279 (exit $ac_status); }; }; then 50349 69280 ac_cv_func_XtAppInitialize=yes 50350 69281 else 50351 @@ -11757,13 +12 372,13 @@69282 @@ -11757,13 +12440,13 @@ 50352 69283 fi 50353 69284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50354 69285 fi 50355 69286 -echo "$as_me:11760: result: $ac_cv_func_XtAppInitialize" >&5 50356 +echo "$as_me:12 375: result: $ac_cv_func_XtAppInitialize" >&569287 +echo "$as_me:12443: result: $ac_cv_func_XtAppInitialize" >&5 50357 69288 echo "${ECHO_T}$ac_cv_func_XtAppInitialize" >&6 50358 69289 if test $ac_cv_func_XtAppInitialize = yes; then … … 50361 69292 50362 69293 - echo "$as_me:11766: checking for XtAppInitialize in -lXt" >&5 50363 + echo "$as_me:12 381: checking for XtAppInitialize in -lXt" >&569294 + echo "$as_me:12449: checking for XtAppInitialize in -lXt" >&5 50364 69295 echo $ECHO_N "checking for XtAppInitialize in -lXt... $ECHO_C" >&6 50365 69296 if test "${ac_cv_lib_Xt_XtAppInitialize+set}" = set; then 50366 69297 echo $ECHO_N "(cached) $ECHO_C" >&6 50367 @@ -11771,7 +12 386,7 @@69298 @@ -11771,7 +12454,7 @@ 50368 69299 ac_check_lib_save_LIBS=$LIBS 50369 69300 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS" 50370 69301 cat >conftest.$ac_ext <<_ACEOF 50371 69302 -#line 11774 "configure" 50372 +#line 12 389"configure"69303 +#line 12457 "configure" 50373 69304 #include "confdefs.h" 50374 69305 50375 69306 /* Override any gcc2 internal prototype to avoid an error. */ 50376 @@ -11790,16 +124 05,16 @@69307 @@ -11790,16 +12473,16 @@ 50377 69308 } 50378 69309 _ACEOF 50379 69310 rm -f conftest.$ac_objext conftest$ac_exeext 50380 69311 -if { (eval echo "$as_me:11793: \"$ac_link\"") >&5 50381 +if { (eval echo "$as_me:124 08: \"$ac_link\"") >&569312 +if { (eval echo "$as_me:12476: \"$ac_link\"") >&5 50382 69313 (eval $ac_link) 2>&5 50383 69314 ac_status=$? 50384 69315 - echo "$as_me:11796: \$? = $ac_status" >&5 50385 + echo "$as_me:124 11: \$? = $ac_status" >&569316 + echo "$as_me:12479: \$? = $ac_status" >&5 50386 69317 (exit $ac_status); } && 50387 69318 { ac_try='test -s conftest$ac_exeext' 50388 69319 - { (eval echo "$as_me:11799: \"$ac_try\"") >&5 50389 + { (eval echo "$as_me:124 14: \"$ac_try\"") >&569320 + { (eval echo "$as_me:12482: \"$ac_try\"") >&5 50390 69321 (eval $ac_try) 2>&5 50391 69322 ac_status=$? 50392 69323 - echo "$as_me:11802: \$? = $ac_status" >&5 50393 + echo "$as_me:124 17: \$? = $ac_status" >&569324 + echo "$as_me:12485: \$? = $ac_status" >&5 50394 69325 (exit $ac_status); }; }; then 50395 69326 ac_cv_lib_Xt_XtAppInitialize=yes 50396 69327 else 50397 @@ -11810,7 +124 25,7 @@69328 @@ -11810,7 +12493,7 @@ 50398 69329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50399 69330 LIBS=$ac_check_lib_save_LIBS 50400 69331 fi 50401 69332 -echo "$as_me:11813: result: $ac_cv_lib_Xt_XtAppInitialize" >&5 50402 +echo "$as_me:124 28: result: $ac_cv_lib_Xt_XtAppInitialize" >&569333 +echo "$as_me:12496: result: $ac_cv_lib_Xt_XtAppInitialize" >&5 50403 69334 echo "${ECHO_T}$ac_cv_lib_Xt_XtAppInitialize" >&6 50404 69335 if test $ac_cv_lib_Xt_XtAppInitialize = yes; then 50405 69336 cat >>confdefs.h <<\EOF 50406 @@ -11826,7 +12 441,7 @@69337 @@ -11826,7 +12509,7 @@ 50407 69338 fi 50408 69339 50409 69340 if test $cf_have_X_LIBS = no ; then 50410 69341 - { echo "$as_me:11829: WARNING: Unable to successfully link X Toolkit library (-lXt) with 50411 + { echo "$as_me:12 444: WARNING: Unable to successfully link X Toolkit library (-lXt) with69342 + { echo "$as_me:12512: WARNING: Unable to successfully link X Toolkit library (-lXt) with 50412 69343 test program. You will have to check and add the proper libraries by hand 50413 69344 to makefile." >&5 50414 69345 echo "$as_me: WARNING: Unable to successfully link X Toolkit library (-lXt) with 50415 @@ -11848,14 +12 463,14 @@69346 @@ -11848,14 +12531,14 @@ 50416 69347 cf_test=X11/$cf_x_athena_root/SimpleMenu.h 50417 69348 if test $cf_path != default ; then 50418 69349 CPPFLAGS="$cf_save -I$cf_path/include" 50419 69350 - echo "$as_me:11851: checking for $cf_test in $cf_path" >&5 50420 + echo "$as_me:12 466: checking for $cf_test in $cf_path" >&569351 + echo "$as_me:12534: checking for $cf_test in $cf_path" >&5 50421 69352 echo $ECHO_N "checking for $cf_test in $cf_path... $ECHO_C" >&6 50422 69353 else 50423 69354 - echo "$as_me:11854: checking for $cf_test" >&5 50424 + echo "$as_me:12 469: checking for $cf_test" >&569355 + echo "$as_me:12537: checking for $cf_test" >&5 50425 69356 echo $ECHO_N "checking for $cf_test... $ECHO_C" >&6 50426 69357 fi 50427 69358 cat >conftest.$ac_ext <<_ACEOF 50428 69359 -#line 11858 "configure" 50429 +#line 12 473"configure"69360 +#line 12541 "configure" 50430 69361 #include "confdefs.h" 50431 69362 50432 69363 #include <X11/Intrinsic.h> 50433 @@ -11869,16 +12 484,16 @@69364 @@ -11869,16 +12552,16 @@ 50434 69365 } 50435 69366 _ACEOF 50436 69367 rm -f conftest.$ac_objext 50437 69368 -if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5 50438 +if { (eval echo "$as_me:12 487: \"$ac_compile\"") >&569369 +if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5 50439 69370 (eval $ac_compile) 2>&5 50440 69371 ac_status=$? 50441 69372 - echo "$as_me:11875: \$? = $ac_status" >&5 50442 + echo "$as_me:12 490: \$? = $ac_status" >&569373 + echo "$as_me:12558: \$? = $ac_status" >&5 50443 69374 (exit $ac_status); } && 50444 69375 { ac_try='test -s conftest.$ac_objext' 50445 69376 - { (eval echo "$as_me:11878: \"$ac_try\"") >&5 50446 + { (eval echo "$as_me:12 493: \"$ac_try\"") >&569377 + { (eval echo "$as_me:12561: \"$ac_try\"") >&5 50447 69378 (eval $ac_try) 2>&5 50448 69379 ac_status=$? 50449 69380 - echo "$as_me:11881: \$? = $ac_status" >&5 50450 + echo "$as_me:12 496: \$? = $ac_status" >&569381 + echo "$as_me:12564: \$? = $ac_status" >&5 50451 69382 (exit $ac_status); }; }; then 50452 69383 cf_result=yes 50453 69384 else 50454 @@ -11887,7 +125 02,7 @@69385 @@ -11887,7 +12570,7 @@ 50455 69386 cf_result=no 50456 69387 fi 50457 69388 rm -f conftest.$ac_objext conftest.$ac_ext 50458 69389 - echo "$as_me:11890: result: $cf_result" >&5 50459 + echo "$as_me:125 05: result: $cf_result" >&569390 + echo "$as_me:12573: result: $cf_result" >&5 50460 69391 echo "${ECHO_T}$cf_result" >&6 50461 69392 if test "$cf_result" = yes ; then 50462 69393 cf_x_athena_inc=$cf_path 50463 @@ -11899,7 +125 14,7 @@69394 @@ -11899,7 +12582,7 @@ 50464 69395 done 50465 69396 50466 69397 if test -z "$cf_x_athena_inc" ; then 50467 69398 - { echo "$as_me:11902: WARNING: Unable to successfully find Athena header files with test program" >&5 50468 + { echo "$as_me:125 17: WARNING: Unable to successfully find Athena header files with test program" >&569399 + { echo "$as_me:12585: WARNING: Unable to successfully find Athena header files with test program" >&5 50469 69400 echo "$as_me: WARNING: Unable to successfully find Athena header files with test program" >&2;} 50470 69401 elif test "$cf_x_athena_inc" != default ; then 50471 69402 CPPFLAGS="$CPPFLAGS -I$cf_x_athena_inc" 50472 @@ -11915,24 +125 30,29 @@69403 @@ -11915,24 +12598,29 @@ 50473 69404 /usr/local 50474 69405 do … … 50494 69425 -echo $ECHO_N "checking for $cf_lib in $cf_path... $ECHO_C" >&6 50495 69426 + LIBS="-L$cf_path/lib $cf_libs $LIBS" 50496 + echo "$as_me:12 547: checking for $cf_libs in $cf_path" >&569427 + echo "$as_me:12615: checking for $cf_libs in $cf_path" >&5 50497 69428 +echo $ECHO_N "checking for $cf_libs in $cf_path... $ECHO_C" >&6 50498 69429 else … … 50501 69432 -echo $ECHO_N "checking for $cf_test in $cf_lib... $ECHO_C" >&6 50502 69433 + LIBS="$cf_libs $LIBS" 50503 + echo "$as_me:12 551: checking for $cf_test in $cf_libs" >&569434 + echo "$as_me:12619: checking for $cf_test in $cf_libs" >&5 50504 69435 +echo $ECHO_N "checking for $cf_test in $cf_libs... $ECHO_C" >&6 50505 69436 fi 50506 69437 cat >conftest.$ac_ext <<_ACEOF 50507 69438 -#line 11935 "configure" 50508 +#line 12 555"configure"69439 +#line 12623 "configure" 50509 69440 #include "confdefs.h" 50510 69441 50511 69442 #include <X11/Intrinsic.h> 50512 @@ -11948,16 +12 568,16 @@69443 @@ -11948,16 +12636,16 @@ 50513 69444 } 50514 69445 _ACEOF 50515 69446 rm -f conftest.$ac_objext conftest$ac_exeext 50516 69447 -if { (eval echo "$as_me:11951: \"$ac_link\"") >&5 50517 +if { (eval echo "$as_me:12 571: \"$ac_link\"") >&569448 +if { (eval echo "$as_me:12639: \"$ac_link\"") >&5 50518 69449 (eval $ac_link) 2>&5 50519 69450 ac_status=$? 50520 69451 - echo "$as_me:11954: \$? = $ac_status" >&5 50521 + echo "$as_me:12 574: \$? = $ac_status" >&569452 + echo "$as_me:12642: \$? = $ac_status" >&5 50522 69453 (exit $ac_status); } && 50523 69454 { ac_try='test -s conftest$ac_exeext' 50524 69455 - { (eval echo "$as_me:11957: \"$ac_try\"") >&5 50525 + { (eval echo "$as_me:12 577: \"$ac_try\"") >&569456 + { (eval echo "$as_me:12645: \"$ac_try\"") >&5 50526 69457 (eval $ac_try) 2>&5 50527 69458 ac_status=$? 50528 69459 - echo "$as_me:11960: \$? = $ac_status" >&5 50529 + echo "$as_me:12 580: \$? = $ac_status" >&569460 + echo "$as_me:12648: \$? = $ac_status" >&5 50530 69461 (exit $ac_status); }; }; then 50531 69462 cf_result=yes 50532 69463 else 50533 @@ -11966,19 +12 586,21 @@69464 @@ -11966,19 +12654,21 @@ 50534 69465 cf_result=no 50535 69466 fi 50536 69467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50537 69468 - echo "$as_me:11969: result: $cf_result" >&5 50538 + echo "$as_me:12 589: result: $cf_result" >&569469 + echo "$as_me:12657: result: $cf_result" >&5 50539 69470 echo "${ECHO_T}$cf_result" >&6 50540 69471 if test "$cf_result" = yes ; then … … 50553 69484 if test -z "$cf_x_athena_lib" ; then 50554 69485 - { { echo "$as_me:11981: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 50555 + { { echo "$as_me:126 03: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&569486 + { { echo "$as_me:12671: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 50556 69487 echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;} 50557 69488 { (exit 1); exit 1; }; } 50558 69489 fi 50559 @@ -11991,48 +126 13,86 @@69490 @@ -11991,48 +12681,86 @@ 50560 69491 50561 69492 fi … … 50567 69498 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 50568 69499 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 50569 +echo "$as_me:126 21: checking for $ac_word" >&569500 +echo "$as_me:12689: checking for $ac_word" >&5 50570 69501 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 50571 69502 +if test "${ac_cv_prog_XCURSES_CONFIG+set}" = set; then … … 50582 69513 + $as_executable_p "$ac_dir/$ac_word" || continue 50583 69514 +ac_cv_prog_XCURSES_CONFIG="$ac_tool_prefix$ac_prog" 50584 +echo "$as_me:12 636: found $ac_dir/$ac_word" >&569515 +echo "$as_me:12704: found $ac_dir/$ac_word" >&5 50585 69516 +break 50586 69517 +done … … 50590 69521 +XCURSES_CONFIG=$ac_cv_prog_XCURSES_CONFIG 50591 69522 +if test -n "$XCURSES_CONFIG"; then 50592 + echo "$as_me:12 644: result: $XCURSES_CONFIG" >&569523 + echo "$as_me:12712: result: $XCURSES_CONFIG" >&5 50593 69524 +echo "${ECHO_T}$XCURSES_CONFIG" >&6 50594 69525 +else 50595 + echo "$as_me:12 647: result: no" >&569526 + echo "$as_me:12715: result: no" >&5 50596 69527 +echo "${ECHO_T}no" >&6 50597 69528 +fi … … 50607 69538 set dummy $ac_prog; ac_word=$2 50608 69539 -echo "$as_me:11998: checking for $ac_word" >&5 50609 +echo "$as_me:12 660: checking for $ac_word" >&569540 +echo "$as_me:12728: checking for $ac_word" >&5 50610 69541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 50611 69542 -if test "${ac_cv_path_XCURSES_CONFIG+set}" = set; then … … 50633 69564 + $as_executable_p "$ac_dir/$ac_word" || continue 50634 69565 +ac_cv_prog_ac_ct_XCURSES_CONFIG="$ac_prog" 50635 +echo "$as_me:12 675: found $ac_dir/$ac_word" >&569566 +echo "$as_me:12743: found $ac_dir/$ac_word" >&5 50636 69567 +break 50637 69568 done … … 50648 69579 +ac_ct_XCURSES_CONFIG=$ac_cv_prog_ac_ct_XCURSES_CONFIG 50649 69580 +if test -n "$ac_ct_XCURSES_CONFIG"; then 50650 + echo "$as_me:12 683: result: $ac_ct_XCURSES_CONFIG" >&569581 + echo "$as_me:12751: result: $ac_ct_XCURSES_CONFIG" >&5 50651 69582 +echo "${ECHO_T}$ac_ct_XCURSES_CONFIG" >&6 50652 69583 else 50653 69584 - echo "$as_me:12029: result: no" >&5 50654 + echo "$as_me:12 686: result: no" >&569585 + echo "$as_me:12754: result: no" >&5 50655 69586 echo "${ECHO_T}no" >&6 50656 69587 fi … … 50667 69598 if test "$XCURSES_CONFIG" != none ; then 50668 69599 50669 @@ -12047,7 +127 07,7 @@69600 @@ -12047,7 +12775,7 @@ 50670 69601 50671 69602 test -n "$verbose" && echo " checking additions to CFLAGS" 1>&6 50672 69603 50673 69604 -echo "${as_me:-configure}:12050: testing checking additions to CFLAGS ..." 1>&5 50674 +echo "${as_me:-configure}:127 10: testing checking additions to CFLAGS ..." 1>&569605 +echo "${as_me:-configure}:12778: testing checking additions to CFLAGS ..." 1>&5 50675 69606 50676 69607 cf_check_cflags="$CFLAGS" 50677 69608 cf_check_cppflags="$CPPFLAGS" 50678 @@ -12118,7 +12 778,7 @@69609 @@ -12118,7 +12846,7 @@ 50679 69610 if test -n "$cf_new_cflags" ; then 50680 69611 test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 50681 69612 50682 69613 -echo "${as_me:-configure}:12121: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 50683 +echo "${as_me:-configure}:12 781: testing add to \$CFLAGS $cf_new_cflags ..." 1>&569614 +echo "${as_me:-configure}:12849: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 50684 69615 50685 69616 CFLAGS="$CFLAGS $cf_new_cflags" 50686 69617 fi 50687 @@ -12126,7 +12 786,7 @@69618 @@ -12126,7 +12854,7 @@ 50688 69619 if test -n "$cf_new_cppflags" ; then 50689 69620 test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 50690 69621 50691 69622 -echo "${as_me:-configure}:12129: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 50692 +echo "${as_me:-configure}:12 789: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&569623 +echo "${as_me:-configure}:12857: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 50693 69624 50694 69625 CPPFLAGS="$CPPFLAGS $cf_new_cppflags" 50695 69626 fi 50696 @@ -12134,14 +12 794,14 @@69627 @@ -12134,14 +12862,14 @@ 50697 69628 if test -n "$cf_new_extra_cppflags" ; then 50698 69629 test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 50699 69630 50700 69631 -echo "${as_me:-configure}:12137: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 50701 +echo "${as_me:-configure}:12 797: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&569632 +echo "${as_me:-configure}:12865: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 50702 69633 50703 69634 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" … … 50707 69638 cat >conftest.$ac_ext <<_ACEOF 50708 69639 -#line 12144 "configure" 50709 +#line 128 04"configure"69640 +#line 12872 "configure" 50710 69641 #include "confdefs.h" 50711 69642 #include <stdio.h> 50712 69643 int 50713 @@ -12153,16 +128 13,16 @@69644 @@ -12153,16 +12881,16 @@ 50714 69645 } 50715 69646 _ACEOF 50716 69647 rm -f conftest.$ac_objext conftest$ac_exeext 50717 69648 -if { (eval echo "$as_me:12156: \"$ac_link\"") >&5 50718 +if { (eval echo "$as_me:128 16: \"$ac_link\"") >&569649 +if { (eval echo "$as_me:12884: \"$ac_link\"") >&5 50719 69650 (eval $ac_link) 2>&5 50720 69651 ac_status=$? 50721 69652 - echo "$as_me:12159: \$? = $ac_status" >&5 50722 + echo "$as_me:128 19: \$? = $ac_status" >&569653 + echo "$as_me:12887: \$? = $ac_status" >&5 50723 69654 (exit $ac_status); } && 50724 69655 { ac_try='test -s conftest$ac_exeext' 50725 69656 - { (eval echo "$as_me:12162: \"$ac_try\"") >&5 50726 + { (eval echo "$as_me:128 22: \"$ac_try\"") >&569657 + { (eval echo "$as_me:12890: \"$ac_try\"") >&5 50727 69658 (eval $ac_try) 2>&5 50728 69659 ac_status=$? 50729 69660 - echo "$as_me:12165: \$? = $ac_status" >&5 50730 + echo "$as_me:128 25: \$? = $ac_status" >&569661 + echo "$as_me:12893: \$? = $ac_status" >&5 50731 69662 (exit $ac_status); }; }; then 50732 69663 : 50733 69664 else 50734 @@ -12170,12 +128 30,12 @@69665 @@ -12170,12 +12898,12 @@ 50735 69666 cat conftest.$ac_ext >&5 50736 69667 test -n "$verbose" && echo " test-compile failed. Undoing change to \$CFLAGS" 1>&6 50737 69668 50738 69669 -echo "${as_me:-configure}:12173: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 50739 +echo "${as_me:-configure}:12 833: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&569670 +echo "${as_me:-configure}:12901: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 50740 69671 50741 69672 if test "$cf_check_cppflags" != "$CPPFLAGS" ; then … … 50743 69674 50744 69675 -echo "${as_me:-configure}:12178: testing but keeping change to \$CPPFLAGS ..." 1>&5 50745 +echo "${as_me:-configure}:12 838: testing but keeping change to \$CPPFLAGS ..." 1>&569676 +echo "${as_me:-configure}:12906: testing but keeping change to \$CPPFLAGS ..." 1>&5 50746 69677 50747 69678 fi 50748 69679 CFLAGS="$cf_check_flags" 50749 @@ -12183,7 +12 843,7 @@69680 @@ -12183,7 +12911,7 @@ 50750 69681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50751 69682 fi 50752 69683 50753 69684 -echo "$as_me:12186: checking for XOpenDisplay in -lX11" >&5 50754 +echo "$as_me:12 846: checking for XOpenDisplay in -lX11" >&569685 +echo "$as_me:12914: checking for XOpenDisplay in -lX11" >&5 50755 69686 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 50756 69687 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then 50757 69688 echo $ECHO_N "(cached) $ECHO_C" >&6 50758 @@ -12191,7 +12 851,7 @@69689 @@ -12191,7 +12919,7 @@ 50759 69690 ac_check_lib_save_LIBS=$LIBS 50760 69691 LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS" 50761 69692 cat >conftest.$ac_ext <<_ACEOF 50762 69693 -#line 12194 "configure" 50763 +#line 12 854"configure"69694 +#line 12922 "configure" 50764 69695 #include "confdefs.h" 50765 69696 50766 69697 /* Override any gcc2 internal prototype to avoid an error. */ 50767 @@ -12210,16 +12 870,16 @@69698 @@ -12210,16 +12938,16 @@ 50768 69699 } 50769 69700 _ACEOF 50770 69701 rm -f conftest.$ac_objext conftest$ac_exeext 50771 69702 -if { (eval echo "$as_me:12213: \"$ac_link\"") >&5 50772 +if { (eval echo "$as_me:12 873: \"$ac_link\"") >&569703 +if { (eval echo "$as_me:12941: \"$ac_link\"") >&5 50773 69704 (eval $ac_link) 2>&5 50774 69705 ac_status=$? 50775 69706 - echo "$as_me:12216: \$? = $ac_status" >&5 50776 + echo "$as_me:12 876: \$? = $ac_status" >&569707 + echo "$as_me:12944: \$? = $ac_status" >&5 50777 69708 (exit $ac_status); } && 50778 69709 { ac_try='test -s conftest$ac_exeext' 50779 69710 - { (eval echo "$as_me:12219: \"$ac_try\"") >&5 50780 + { (eval echo "$as_me:12 879: \"$ac_try\"") >&569711 + { (eval echo "$as_me:12947: \"$ac_try\"") >&5 50781 69712 (eval $ac_try) 2>&5 50782 69713 ac_status=$? 50783 69714 - echo "$as_me:12222: \$? = $ac_status" >&5 50784 + echo "$as_me:12 882: \$? = $ac_status" >&569715 + echo "$as_me:12950: \$? = $ac_status" >&5 50785 69716 (exit $ac_status); }; }; then 50786 69717 ac_cv_lib_X11_XOpenDisplay=yes 50787 69718 else 50788 @@ -12230,13 +12 890,13 @@69719 @@ -12230,13 +12958,13 @@ 50789 69720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50790 69721 LIBS=$ac_check_lib_save_LIBS 50791 69722 fi 50792 69723 -echo "$as_me:12233: result: $ac_cv_lib_X11_XOpenDisplay" >&5 50793 +echo "$as_me:12 893: result: $ac_cv_lib_X11_XOpenDisplay" >&569724 +echo "$as_me:12961: result: $ac_cv_lib_X11_XOpenDisplay" >&5 50794 69725 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 50795 69726 if test $ac_cv_lib_X11_XOpenDisplay = yes; then … … 50798 69729 50799 69730 -echo "$as_me:12239: checking for XCurses library" >&5 50800 +echo "$as_me:12 899: checking for XCurses library" >&569731 +echo "$as_me:12967: checking for XCurses library" >&5 50801 69732 echo $ECHO_N "checking for XCurses library... $ECHO_C" >&6 50802 69733 if test "${cf_cv_lib_XCurses+set}" = set; then 50803 69734 echo $ECHO_N "(cached) $ECHO_C" >&6 50804 @@ -12244,7 +129 04,7 @@69735 @@ -12244,7 +12972,7 @@ 50805 69736 50806 69737 LIBS="-lXCurses $LIBS" 50807 69738 cat >conftest.$ac_ext <<_ACEOF 50808 69739 -#line 12247 "configure" 50809 +#line 129 07"configure"69740 +#line 12975 "configure" 50810 69741 #include "confdefs.h" 50811 69742 50812 69743 #include <xcurses.h> 50813 @@ -12259,16 +129 19,16 @@69744 @@ -12259,16 +12987,16 @@ 50814 69745 } 50815 69746 _ACEOF 50816 69747 rm -f conftest.$ac_objext conftest$ac_exeext 50817 69748 -if { (eval echo "$as_me:12262: \"$ac_link\"") >&5 50818 +if { (eval echo "$as_me:129 22: \"$ac_link\"") >&569749 +if { (eval echo "$as_me:12990: \"$ac_link\"") >&5 50819 69750 (eval $ac_link) 2>&5 50820 69751 ac_status=$? 50821 69752 - echo "$as_me:12265: \$? = $ac_status" >&5 50822 + echo "$as_me:129 25: \$? = $ac_status" >&569753 + echo "$as_me:12993: \$? = $ac_status" >&5 50823 69754 (exit $ac_status); } && 50824 69755 { ac_try='test -s conftest$ac_exeext' 50825 69756 - { (eval echo "$as_me:12268: \"$ac_try\"") >&5 50826 + { (eval echo "$as_me:129 28: \"$ac_try\"") >&569757 + { (eval echo "$as_me:12996: \"$ac_try\"") >&5 50827 69758 (eval $ac_try) 2>&5 50828 69759 ac_status=$? 50829 69760 - echo "$as_me:12271: \$? = $ac_status" >&5 50830 + echo "$as_me:129 31: \$? = $ac_status" >&569761 + echo "$as_me:12999: \$? = $ac_status" >&5 50831 69762 (exit $ac_status); }; }; then 50832 69763 cf_cv_lib_XCurses=yes 50833 69764 else 50834 @@ -12279,7 +1 2939,7 @@69765 @@ -12279,7 +13007,7 @@ 50835 69766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 50836 69767 50837 69768 fi 50838 69769 -echo "$as_me:12282: result: $cf_cv_lib_XCurses" >&5 50839 +echo "$as_me:1 2942: result: $cf_cv_lib_XCurses" >&569770 +echo "$as_me:13010: result: $cf_cv_lib_XCurses" >&5 50840 69771 echo "${ECHO_T}$cf_cv_lib_XCurses" >&6 50841 69772 50842 69773 fi 50843 @@ -12293,23 +1 2953,23 @@69774 @@ -12293,23 +13021,23 @@ 50844 69775 #define XCURSES 1 50845 69776 EOF 50846 69777 50847 69778 - echo "$as_me:12296: checking for xcurses.h" >&5 50848 + echo "$as_me:1 2956: checking for xcurses.h" >&569779 + echo "$as_me:13024: checking for xcurses.h" >&5 50849 69780 echo $ECHO_N "checking for xcurses.h... $ECHO_C" >&6 50850 69781 if test "${ac_cv_header_xcurses_h+set}" = set; then … … 50853 69784 cat >conftest.$ac_ext <<_ACEOF 50854 69785 -#line 12302 "configure" 50855 +#line 1 2962"configure"69786 +#line 13030 "configure" 50856 69787 #include "confdefs.h" 50857 69788 #include <xcurses.h> 50858 69789 _ACEOF 50859 69790 -if { (eval echo "$as_me:12306: \"$ac_cpp conftest.$ac_ext\"") >&5 50860 +if { (eval echo "$as_me:1 2966: \"$ac_cpp conftest.$ac_ext\"") >&569791 +if { (eval echo "$as_me:13034: \"$ac_cpp conftest.$ac_ext\"") >&5 50861 69792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 50862 69793 ac_status=$? … … 50865 69796 cat conftest.err >&5 50866 69797 - echo "$as_me:12312: \$? = $ac_status" >&5 50867 + echo "$as_me:1 2972: \$? = $ac_status" >&569798 + echo "$as_me:13040: \$? = $ac_status" >&5 50868 69799 (exit $ac_status); } >/dev/null; then 50869 69800 if test -s conftest.err; then 50870 69801 ac_cpp_err=$ac_c_preproc_warn_flag 50871 @@ -12328,7 +1 2988,7 @@69802 @@ -12328,7 +13056,7 @@ 50872 69803 fi 50873 69804 rm -f conftest.err conftest.$ac_ext 50874 69805 fi 50875 69806 -echo "$as_me:12331: result: $ac_cv_header_xcurses_h" >&5 50876 +echo "$as_me:1 2991: result: $ac_cv_header_xcurses_h" >&569807 +echo "$as_me:13059: result: $ac_cv_header_xcurses_h" >&5 50877 69808 echo "${ECHO_T}$ac_cv_header_xcurses_h" >&6 50878 69809 if test $ac_cv_header_xcurses_h = yes; then 50879 69810 cat >>confdefs.h <<\EOF 50880 @@ -12338,7 +1 2998,7 @@69811 @@ -12338,7 +13066,7 @@ 50881 69812 fi 50882 69813 50883 69814 else 50884 69815 - { { echo "$as_me:12341: error: Cannot link with XCurses" >&5 50885 + { { echo "$as_me:130 01: error: Cannot link with XCurses" >&569816 + { { echo "$as_me:13069: error: Cannot link with XCurses" >&5 50886 69817 echo "$as_me: error: Cannot link with XCurses" >&2;} 50887 69818 { (exit 1); exit 1; }; } 50888 69819 fi 50889 @@ -12346,6 +130 06,122 @@69820 @@ -12346,6 +13074,122 @@ 50890 69821 ;; 50891 69822 esac … … 50894 69825 +curses|curses_*) 50895 69826 + 50896 +echo "$as_me:130 12: checking for NetBSD form.h" >&569827 +echo "$as_me:13080: checking for NetBSD form.h" >&5 50897 69828 +echo $ECHO_N "checking for NetBSD form.h... $ECHO_C" >&6 50898 69829 +if test "${cf_cv_netbsd_form_h+set}" = set; then … … 50901 69832 + 50902 69833 +cat >conftest.$ac_ext <<_ACEOF 50903 +#line 130 19"configure"69834 +#line 13087 "configure" 50904 69835 +#include "confdefs.h" 50905 69836 + … … 50920 69851 +_ACEOF 50921 69852 +rm -f conftest.$ac_objext 50922 +if { (eval echo "$as_me:13 038: \"$ac_compile\"") >&569853 +if { (eval echo "$as_me:13106: \"$ac_compile\"") >&5 50923 69854 + (eval $ac_compile) 2>&5 50924 69855 + ac_status=$? 50925 + echo "$as_me:13 041: \$? = $ac_status" >&569856 + echo "$as_me:13109: \$? = $ac_status" >&5 50926 69857 + (exit $ac_status); } && 50927 69858 + { ac_try='test -s conftest.$ac_objext' 50928 + { (eval echo "$as_me:13 044: \"$ac_try\"") >&569859 + { (eval echo "$as_me:13112: \"$ac_try\"") >&5 50929 69860 + (eval $ac_try) 2>&5 50930 69861 + ac_status=$? 50931 + echo "$as_me:13 047: \$? = $ac_status" >&569862 + echo "$as_me:13115: \$? = $ac_status" >&5 50932 69863 + (exit $ac_status); }; }; then 50933 69864 + cf_cv_netbsd_form_h=yes … … 50941 69872 + 50942 69873 +fi 50943 +echo "$as_me:13 059: result: $cf_cv_netbsd_form_h" >&569874 +echo "$as_me:13127: result: $cf_cv_netbsd_form_h" >&5 50944 69875 +echo "${ECHO_T}$cf_cv_netbsd_form_h" >&6 50945 69876 + … … 50948 69879 +EOF 50949 69880 + 50950 +echo "$as_me:13 066: checking for NetBSD menu.h" >&569881 +echo "$as_me:13134: checking for NetBSD menu.h" >&5 50951 69882 +echo $ECHO_N "checking for NetBSD menu.h... $ECHO_C" >&6 50952 69883 +if test "${cf_cv_netbsd_menu_h+set}" = set; then … … 50955 69886 + 50956 69887 +cat >conftest.$ac_ext <<_ACEOF 50957 +#line 13 073"configure"69888 +#line 13141 "configure" 50958 69889 +#include "confdefs.h" 50959 69890 + … … 50973 69904 +_ACEOF 50974 69905 +rm -f conftest.$ac_objext 50975 +if { (eval echo "$as_me:13 091: \"$ac_compile\"") >&569906 +if { (eval echo "$as_me:13159: \"$ac_compile\"") >&5 50976 69907 + (eval $ac_compile) 2>&5 50977 69908 + ac_status=$? 50978 + echo "$as_me:13 094: \$? = $ac_status" >&569909 + echo "$as_me:13162: \$? = $ac_status" >&5 50979 69910 + (exit $ac_status); } && 50980 69911 + { ac_try='test -s conftest.$ac_objext' 50981 + { (eval echo "$as_me:13 097: \"$ac_try\"") >&569912 + { (eval echo "$as_me:13165: \"$ac_try\"") >&5 50982 69913 + (eval $ac_try) 2>&5 50983 69914 + ac_status=$? 50984 + echo "$as_me:131 00: \$? = $ac_status" >&569915 + echo "$as_me:13168: \$? = $ac_status" >&5 50985 69916 + (exit $ac_status); }; }; then 50986 69917 + cf_cv_netbsd_menu_h=yes … … 50994 69925 + 50995 69926 +fi 50996 +echo "$as_me:131 12: result: $cf_cv_netbsd_menu_h" >&569927 +echo "$as_me:13180: result: $cf_cv_netbsd_menu_h" >&5 50997 69928 +echo "${ECHO_T}$cf_cv_netbsd_menu_h" >&6 50998 69929 + … … 51010 69941 pdcurses) #(vi 51011 69942 ;; 51012 @@ -12353,7 +131 29,7 @@69943 @@ -12353,7 +13197,7 @@ 51013 69944 # look for curses-related libraries 51014 69945 51015 69946 as_ac_Lib=`echo "ac_cv_lib_panel$cf_cv_libtype''_new_panel" | $as_tr_sh` 51016 69947 -echo "$as_me:12356: checking for new_panel in -lpanel$cf_cv_libtype" >&5 51017 +echo "$as_me:13 132: checking for new_panel in -lpanel$cf_cv_libtype" >&569948 +echo "$as_me:13200: checking for new_panel in -lpanel$cf_cv_libtype" >&5 51018 69949 echo $ECHO_N "checking for new_panel in -lpanel$cf_cv_libtype... $ECHO_C" >&6 51019 69950 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 51020 69951 echo $ECHO_N "(cached) $ECHO_C" >&6 51021 @@ -12361,7 +13 137,7 @@69952 @@ -12361,7 +13205,7 @@ 51022 69953 ac_check_lib_save_LIBS=$LIBS 51023 69954 LIBS="-lpanel$cf_cv_libtype $LIBS" 51024 69955 cat >conftest.$ac_ext <<_ACEOF 51025 69956 -#line 12364 "configure" 51026 +#line 13 140"configure"69957 +#line 13208 "configure" 51027 69958 #include "confdefs.h" 51028 69959 51029 69960 /* Override any gcc2 internal prototype to avoid an error. */ 51030 @@ -12380,16 +13 156,16 @@69961 @@ -12380,16 +13224,16 @@ 51031 69962 } 51032 69963 _ACEOF 51033 69964 rm -f conftest.$ac_objext conftest$ac_exeext 51034 69965 -if { (eval echo "$as_me:12383: \"$ac_link\"") >&5 51035 +if { (eval echo "$as_me:13 159: \"$ac_link\"") >&569966 +if { (eval echo "$as_me:13227: \"$ac_link\"") >&5 51036 69967 (eval $ac_link) 2>&5 51037 69968 ac_status=$? 51038 69969 - echo "$as_me:12386: \$? = $ac_status" >&5 51039 + echo "$as_me:13 162: \$? = $ac_status" >&569970 + echo "$as_me:13230: \$? = $ac_status" >&5 51040 69971 (exit $ac_status); } && 51041 69972 { ac_try='test -s conftest$ac_exeext' 51042 69973 - { (eval echo "$as_me:12389: \"$ac_try\"") >&5 51043 + { (eval echo "$as_me:13 165: \"$ac_try\"") >&569974 + { (eval echo "$as_me:13233: \"$ac_try\"") >&5 51044 69975 (eval $ac_try) 2>&5 51045 69976 ac_status=$? 51046 69977 - echo "$as_me:12392: \$? = $ac_status" >&5 51047 + echo "$as_me:13 168: \$? = $ac_status" >&569978 + echo "$as_me:13236: \$? = $ac_status" >&5 51048 69979 (exit $ac_status); }; }; then 51049 69980 eval "$as_ac_Lib=yes" 51050 69981 else 51051 @@ -12400,7 +13 176,7 @@69982 @@ -12400,7 +13244,7 @@ 51052 69983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 51053 69984 LIBS=$ac_check_lib_save_LIBS 51054 69985 fi 51055 69986 -echo "$as_me:12403: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51056 +echo "$as_me:13 179: result: `eval echo '${'$as_ac_Lib'}'`" >&569987 +echo "$as_me:13247: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51057 69988 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 51058 69989 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 51059 69990 cat >>confdefs.h <<EOF 51060 @@ -12412,7 +13 188,7 @@69991 @@ -12412,7 +13256,7 @@ 51061 69992 fi 51062 69993 51063 69994 as_ac_Lib=`echo "ac_cv_lib_menu$cf_cv_libtype''_menu_driver" | $as_tr_sh` 51064 69995 -echo "$as_me:12415: checking for menu_driver in -lmenu$cf_cv_libtype" >&5 51065 +echo "$as_me:13 191: checking for menu_driver in -lmenu$cf_cv_libtype" >&569996 +echo "$as_me:13259: checking for menu_driver in -lmenu$cf_cv_libtype" >&5 51066 69997 echo $ECHO_N "checking for menu_driver in -lmenu$cf_cv_libtype... $ECHO_C" >&6 51067 69998 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 51068 69999 echo $ECHO_N "(cached) $ECHO_C" >&6 51069 @@ -12420,7 +13 196,7 @@70000 @@ -12420,7 +13264,7 @@ 51070 70001 ac_check_lib_save_LIBS=$LIBS 51071 70002 LIBS="-lmenu$cf_cv_libtype $LIBS" 51072 70003 cat >conftest.$ac_ext <<_ACEOF 51073 70004 -#line 12423 "configure" 51074 +#line 13 199"configure"70005 +#line 13267 "configure" 51075 70006 #include "confdefs.h" 51076 70007 51077 70008 /* Override any gcc2 internal prototype to avoid an error. */ 51078 @@ -12439,16 +132 15,16 @@70009 @@ -12439,16 +13283,16 @@ 51079 70010 } 51080 70011 _ACEOF 51081 70012 rm -f conftest.$ac_objext conftest$ac_exeext 51082 70013 -if { (eval echo "$as_me:12442: \"$ac_link\"") >&5 51083 +if { (eval echo "$as_me:132 18: \"$ac_link\"") >&570014 +if { (eval echo "$as_me:13286: \"$ac_link\"") >&5 51084 70015 (eval $ac_link) 2>&5 51085 70016 ac_status=$? 51086 70017 - echo "$as_me:12445: \$? = $ac_status" >&5 51087 + echo "$as_me:132 21: \$? = $ac_status" >&570018 + echo "$as_me:13289: \$? = $ac_status" >&5 51088 70019 (exit $ac_status); } && 51089 70020 { ac_try='test -s conftest$ac_exeext' 51090 70021 - { (eval echo "$as_me:12448: \"$ac_try\"") >&5 51091 + { (eval echo "$as_me:132 24: \"$ac_try\"") >&570022 + { (eval echo "$as_me:13292: \"$ac_try\"") >&5 51092 70023 (eval $ac_try) 2>&5 51093 70024 ac_status=$? 51094 70025 - echo "$as_me:12451: \$? = $ac_status" >&5 51095 + echo "$as_me:132 27: \$? = $ac_status" >&570026 + echo "$as_me:13295: \$? = $ac_status" >&5 51096 70027 (exit $ac_status); }; }; then 51097 70028 eval "$as_ac_Lib=yes" 51098 70029 else 51099 @@ -12459,7 +13 235,7 @@70030 @@ -12459,7 +13303,7 @@ 51100 70031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 51101 70032 LIBS=$ac_check_lib_save_LIBS 51102 70033 fi 51103 70034 -echo "$as_me:12462: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51104 +echo "$as_me:13 238: result: `eval echo '${'$as_ac_Lib'}'`" >&570035 +echo "$as_me:13306: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51105 70036 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 51106 70037 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 51107 70038 cat >>confdefs.h <<EOF 51108 @@ -12471,7 +13 247,7 @@70039 @@ -12471,7 +13315,7 @@ 51109 70040 fi 51110 70041 51111 70042 as_ac_Lib=`echo "ac_cv_lib_form$cf_cv_libtype''_form_driver" | $as_tr_sh` 51112 70043 -echo "$as_me:12474: checking for form_driver in -lform$cf_cv_libtype" >&5 51113 +echo "$as_me:13 250: checking for form_driver in -lform$cf_cv_libtype" >&570044 +echo "$as_me:13318: checking for form_driver in -lform$cf_cv_libtype" >&5 51114 70045 echo $ECHO_N "checking for form_driver in -lform$cf_cv_libtype... $ECHO_C" >&6 51115 70046 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 51116 70047 echo $ECHO_N "(cached) $ECHO_C" >&6 51117 @@ -12479,7 +13 255,7 @@70048 @@ -12479,7 +13323,7 @@ 51118 70049 ac_check_lib_save_LIBS=$LIBS 51119 70050 LIBS="-lform$cf_cv_libtype $LIBS" 51120 70051 cat >conftest.$ac_ext <<_ACEOF 51121 70052 -#line 12482 "configure" 51122 +#line 13 258"configure"70053 +#line 13326 "configure" 51123 70054 #include "confdefs.h" 51124 70055 51125 70056 /* Override any gcc2 internal prototype to avoid an error. */ 51126 @@ -12498,16 +13 274,16 @@70057 @@ -12498,16 +13342,16 @@ 51127 70058 } 51128 70059 _ACEOF 51129 70060 rm -f conftest.$ac_objext conftest$ac_exeext 51130 70061 -if { (eval echo "$as_me:12501: \"$ac_link\"") >&5 51131 +if { (eval echo "$as_me:13 277: \"$ac_link\"") >&570062 +if { (eval echo "$as_me:13345: \"$ac_link\"") >&5 51132 70063 (eval $ac_link) 2>&5 51133 70064 ac_status=$? 51134 70065 - echo "$as_me:12504: \$? = $ac_status" >&5 51135 + echo "$as_me:13 280: \$? = $ac_status" >&570066 + echo "$as_me:13348: \$? = $ac_status" >&5 51136 70067 (exit $ac_status); } && 51137 70068 { ac_try='test -s conftest$ac_exeext' 51138 70069 - { (eval echo "$as_me:12507: \"$ac_try\"") >&5 51139 + { (eval echo "$as_me:13 283: \"$ac_try\"") >&570070 + { (eval echo "$as_me:13351: \"$ac_try\"") >&5 51140 70071 (eval $ac_try) 2>&5 51141 70072 ac_status=$? 51142 70073 - echo "$as_me:12510: \$? = $ac_status" >&5 51143 + echo "$as_me:13 286: \$? = $ac_status" >&570074 + echo "$as_me:13354: \$? = $ac_status" >&5 51144 70075 (exit $ac_status); }; }; then 51145 70076 eval "$as_ac_Lib=yes" 51146 70077 else 51147 @@ -12518,7 +13 294,7 @@70078 @@ -12518,7 +13362,7 @@ 51148 70079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 51149 70080 LIBS=$ac_check_lib_save_LIBS 51150 70081 fi 51151 70082 -echo "$as_me:12521: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51152 +echo "$as_me:13 297: result: `eval echo '${'$as_ac_Lib'}'`" >&570083 +echo "$as_me:13365: result: `eval echo '${'$as_ac_Lib'}'`" >&5 51153 70084 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 51154 70085 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 51155 70086 cat >>confdefs.h <<EOF 51156 @@ -12541,23 +133 17,23 @@70087 @@ -12541,23 +13385,23 @@ 51157 70088 51158 70089 do 51159 70090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 51160 70091 -echo "$as_me:12544: checking for $ac_header" >&5 51161 +echo "$as_me:133 20: checking for $ac_header" >&570092 +echo "$as_me:13388: checking for $ac_header" >&5 51162 70093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 51163 70094 if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 51166 70097 cat >conftest.$ac_ext <<_ACEOF 51167 70098 -#line 12550 "configure" 51168 +#line 133 26"configure"70099 +#line 13394 "configure" 51169 70100 #include "confdefs.h" 51170 70101 #include <$ac_header> 51171 70102 _ACEOF 51172 70103 -if { (eval echo "$as_me:12554: \"$ac_cpp conftest.$ac_ext\"") >&5 51173 +if { (eval echo "$as_me:133 30: \"$ac_cpp conftest.$ac_ext\"") >&570104 +if { (eval echo "$as_me:13398: \"$ac_cpp conftest.$ac_ext\"") >&5 51174 70105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 51175 70106 ac_status=$? … … 51178 70109 cat conftest.err >&5 51179 70110 - echo "$as_me:12560: \$? = $ac_status" >&5 51180 + echo "$as_me:13 336: \$? = $ac_status" >&570111 + echo "$as_me:13404: \$? = $ac_status" >&5 51181 70112 (exit $ac_status); } >/dev/null; then 51182 70113 if test -s conftest.err; then 51183 70114 ac_cpp_err=$ac_c_preproc_warn_flag 51184 @@ -12576,7 +13 352,7 @@70115 @@ -12576,7 +13420,7 @@ 51185 70116 fi 51186 70117 rm -f conftest.err conftest.$ac_ext 51187 70118 fi 51188 70119 -echo "$as_me:12579: result: `eval echo '${'$as_ac_Header'}'`" >&5 51189 +echo "$as_me:13 355: result: `eval echo '${'$as_ac_Header'}'`" >&570120 +echo "$as_me:13423: result: `eval echo '${'$as_ac_Header'}'`" >&5 51190 70121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 51191 70122 if test `eval echo '${'$as_ac_Header'}'` = yes; then 51192 70123 cat >>confdefs.h <<EOF 51193 @@ -12589,13 +13 365,13 @@70124 @@ -12589,13 +13433,13 @@ 51194 70125 ;; 51195 70126 esac 51196 70127 51197 70128 -echo "$as_me:12592: checking return type of signal handlers" >&5 51198 +echo "$as_me:13 368: checking return type of signal handlers" >&570129 +echo "$as_me:13436: checking return type of signal handlers" >&5 51199 70130 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 51200 70131 if test "${ac_cv_type_signal+set}" = set; then … … 51203 70134 cat >conftest.$ac_ext <<_ACEOF 51204 70135 -#line 12598 "configure" 51205 +#line 13 374"configure"70136 +#line 13442 "configure" 51206 70137 #include "confdefs.h" 51207 70138 #include <sys/types.h> 51208 70139 #include <signal.h> 51209 @@ -12617,16 +13 393,16 @@70140 @@ -12617,16 +13461,16 @@ 51210 70141 } 51211 70142 _ACEOF 51212 70143 rm -f conftest.$ac_objext 51213 70144 -if { (eval echo "$as_me:12620: \"$ac_compile\"") >&5 51214 +if { (eval echo "$as_me:13 396: \"$ac_compile\"") >&570145 +if { (eval echo "$as_me:13464: \"$ac_compile\"") >&5 51215 70146 (eval $ac_compile) 2>&5 51216 70147 ac_status=$? 51217 70148 - echo "$as_me:12623: \$? = $ac_status" >&5 51218 + echo "$as_me:13 399: \$? = $ac_status" >&570149 + echo "$as_me:13467: \$? = $ac_status" >&5 51219 70150 (exit $ac_status); } && 51220 70151 { ac_try='test -s conftest.$ac_objext' 51221 70152 - { (eval echo "$as_me:12626: \"$ac_try\"") >&5 51222 + { (eval echo "$as_me:134 02: \"$ac_try\"") >&570153 + { (eval echo "$as_me:13470: \"$ac_try\"") >&5 51223 70154 (eval $ac_try) 2>&5 51224 70155 ac_status=$? 51225 70156 - echo "$as_me:12629: \$? = $ac_status" >&5 51226 + echo "$as_me:134 05: \$? = $ac_status" >&570157 + echo "$as_me:13473: \$? = $ac_status" >&5 51227 70158 (exit $ac_status); }; }; then 51228 70159 ac_cv_type_signal=void 51229 70160 else 51230 @@ -12636,20 +134 12,20 @@70161 @@ -12636,20 +13480,20 @@ 51231 70162 fi 51232 70163 rm -f conftest.$ac_objext conftest.$ac_ext 51233 70164 fi 51234 70165 -echo "$as_me:12639: result: $ac_cv_type_signal" >&5 51235 +echo "$as_me:134 15: result: $ac_cv_type_signal" >&570166 +echo "$as_me:13483: result: $ac_cv_type_signal" >&5 51236 70167 echo "${ECHO_T}$ac_cv_type_signal" >&6 51237 70168 … … 51241 70172 51242 70173 -echo "$as_me:12646: checking for ANSI C header files" >&5 51243 +echo "$as_me:134 22: checking for ANSI C header files" >&570174 +echo "$as_me:13490: checking for ANSI C header files" >&5 51244 70175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 51245 70176 if test "${ac_cv_header_stdc+set}" = set; then … … 51248 70179 cat >conftest.$ac_ext <<_ACEOF 51249 70180 -#line 12652 "configure" 51250 +#line 134 28"configure"70181 +#line 13496 "configure" 51251 70182 #include "confdefs.h" 51252 70183 #include <stdlib.h> 51253 70184 #include <stdarg.h> 51254 @@ -12657,13 +13 433,13 @@70185 @@ -12657,13 +13501,13 @@ 51255 70186 #include <float.h> 51256 70187 51257 70188 _ACEOF 51258 70189 -if { (eval echo "$as_me:12660: \"$ac_cpp conftest.$ac_ext\"") >&5 51259 +if { (eval echo "$as_me:13 436: \"$ac_cpp conftest.$ac_ext\"") >&570190 +if { (eval echo "$as_me:13504: \"$ac_cpp conftest.$ac_ext\"") >&5 51260 70191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 51261 70192 ac_status=$? … … 51264 70195 cat conftest.err >&5 51265 70196 - echo "$as_me:12666: \$? = $ac_status" >&5 51266 + echo "$as_me:13 442: \$? = $ac_status" >&570197 + echo "$as_me:13510: \$? = $ac_status" >&5 51267 70198 (exit $ac_status); } >/dev/null; then 51268 70199 if test -s conftest.err; then 51269 70200 ac_cpp_err=$ac_c_preproc_warn_flag 51270 @@ -12685,7 +13 461,7 @@70201 @@ -12685,7 +13529,7 @@ 51271 70202 if test $ac_cv_header_stdc = yes; then 51272 70203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 51273 70204 cat >conftest.$ac_ext <<_ACEOF 51274 70205 -#line 12688 "configure" 51275 +#line 13 464"configure"70206 +#line 13532 "configure" 51276 70207 #include "confdefs.h" 51277 70208 #include <string.h> 51278 70209 51279 @@ -12703,7 +13 479,7 @@70210 @@ -12703,7 +13547,7 @@ 51280 70211 if test $ac_cv_header_stdc = yes; then 51281 70212 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 51282 70213 cat >conftest.$ac_ext <<_ACEOF 51283 70214 -#line 12706 "configure" 51284 +#line 13 482"configure"70215 +#line 13550 "configure" 51285 70216 #include "confdefs.h" 51286 70217 #include <stdlib.h> 51287 70218 51288 @@ -12724,7 +135 00,7 @@70219 @@ -12724,7 +13568,7 @@ 51289 70220 : 51290 70221 else 51291 70222 cat >conftest.$ac_ext <<_ACEOF 51292 70223 -#line 12727 "configure" 51293 +#line 135 03"configure"70224 +#line 13571 "configure" 51294 70225 #include "confdefs.h" 51295 70226 #include <ctype.h> 51296 70227 #if ((' ' & 0x0FF) == 0x020) 51297 @@ -12750,15 +135 26,15 @@70228 @@ -12750,15 +13594,15 @@ 51298 70229 } 51299 70230 _ACEOF 51300 70231 rm -f conftest$ac_exeext 51301 70232 -if { (eval echo "$as_me:12753: \"$ac_link\"") >&5 51302 +if { (eval echo "$as_me:135 29: \"$ac_link\"") >&570233 +if { (eval echo "$as_me:13597: \"$ac_link\"") >&5 51303 70234 (eval $ac_link) 2>&5 51304 70235 ac_status=$? 51305 70236 - echo "$as_me:12756: \$? = $ac_status" >&5 51306 + echo "$as_me:13 532: \$? = $ac_status" >&570237 + echo "$as_me:13600: \$? = $ac_status" >&5 51307 70238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 51308 70239 - { (eval echo "$as_me:12758: \"$ac_try\"") >&5 51309 + { (eval echo "$as_me:13 534: \"$ac_try\"") >&570240 + { (eval echo "$as_me:13602: \"$ac_try\"") >&5 51310 70241 (eval $ac_try) 2>&5 51311 70242 ac_status=$? 51312 70243 - echo "$as_me:12761: \$? = $ac_status" >&5 51313 + echo "$as_me:13 537: \$? = $ac_status" >&570244 + echo "$as_me:13605: \$? = $ac_status" >&5 51314 70245 (exit $ac_status); }; }; then 51315 70246 : 51316 70247 else 51317 @@ -12771,146 +13 547,319 @@70248 @@ -12771,146 +13615,319 @@ 51318 70249 fi 51319 70250 fi … … 51325 70256 -cat >>confdefs.h <<\EOF 51326 70257 -#define STDC_HEADERS 1 51327 +echo "$as_me:13 550: result: $ac_cv_header_stdc" >&570258 +echo "$as_me:13618: result: $ac_cv_header_stdc" >&5 51328 70259 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 51329 70260 +if test $ac_cv_header_stdc = yes; then … … 51335 70266 +fi 51336 70267 + 51337 +echo "$as_me:13 560: checking whether time.h and sys/time.h may both be included" >&570268 +echo "$as_me:13628: checking whether time.h and sys/time.h may both be included" >&5 51338 70269 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 51339 70270 +if test "${ac_cv_header_time+set}" = set; then … … 51341 70272 +else 51342 70273 + cat >conftest.$ac_ext <<_ACEOF 51343 +#line 13 566"configure"70274 +#line 13634 "configure" 51344 70275 +#include "confdefs.h" 51345 70276 +#include <sys/types.h> … … 51357 70288 +_ACEOF 51358 70289 +rm -f conftest.$ac_objext 51359 +if { (eval echo "$as_me:13 582: \"$ac_compile\"") >&570290 +if { (eval echo "$as_me:13650: \"$ac_compile\"") >&5 51360 70291 + (eval $ac_compile) 2>&5 51361 70292 + ac_status=$? 51362 + echo "$as_me:13 585: \$? = $ac_status" >&570293 + echo "$as_me:13653: \$? = $ac_status" >&5 51363 70294 + (exit $ac_status); } && 51364 70295 + { ac_try='test -s conftest.$ac_objext' 51365 + { (eval echo "$as_me:13 588: \"$ac_try\"") >&570296 + { (eval echo "$as_me:13656: \"$ac_try\"") >&5 51366 70297 + (eval $ac_try) 2>&5 51367 70298 + ac_status=$? 51368 + echo "$as_me:13 591: \$? = $ac_status" >&570299 + echo "$as_me:13659: \$? = $ac_status" >&5 51369 70300 + (exit $ac_status); }; }; then 51370 70301 + ac_cv_header_time=yes … … 51376 70307 +rm -f conftest.$ac_objext conftest.$ac_ext 51377 70308 +fi 51378 +echo "$as_me:136 01: result: $ac_cv_header_time" >&570309 +echo "$as_me:13669: result: $ac_cv_header_time" >&5 51379 70310 +echo "${ECHO_T}$ac_cv_header_time" >&6 51380 70311 +if test $ac_cv_header_time = yes; then … … 51399 70330 +do 51400 70331 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 51401 +echo "$as_me:136 24: checking for $ac_header" >&570332 +echo "$as_me:13692: checking for $ac_header" >&5 51402 70333 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 51403 70334 +if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 51405 70336 +else 51406 70337 + cat >conftest.$ac_ext <<_ACEOF 51407 +#line 136 30"configure"70338 +#line 13698 "configure" 51408 70339 +#include "confdefs.h" 51409 70340 +#include <$ac_header> 51410 70341 +_ACEOF 51411 +if { (eval echo "$as_me:13 634: \"$ac_cpp conftest.$ac_ext\"") >&570342 +if { (eval echo "$as_me:13702: \"$ac_cpp conftest.$ac_ext\"") >&5 51412 70343 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 51413 70344 + ac_status=$? … … 51415 70346 + rm -f conftest.er1 51416 70347 + cat conftest.err >&5 51417 + echo "$as_me:13 640: \$? = $ac_status" >&570348 + echo "$as_me:13708: \$? = $ac_status" >&5 51418 70349 + (exit $ac_status); } >/dev/null; then 51419 70350 + if test -s conftest.err; then … … 51434 70365 +rm -f conftest.err conftest.$ac_ext 51435 70366 +fi 51436 +echo "$as_me:13 659: result: `eval echo '${'$as_ac_Header'}'`" >&570367 +echo "$as_me:13727: result: `eval echo '${'$as_ac_Header'}'`" >&5 51437 70368 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 51438 70369 +if test `eval echo '${'$as_ac_Header'}'` = yes; then … … 51447 70378 +do 51448 70379 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 51449 +echo "$as_me:13 672: checking for $ac_header" >&570380 +echo "$as_me:13740: checking for $ac_header" >&5 51450 70381 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 51451 70382 +if eval "test \"\${$as_ac_Header+set}\" = set"; then … … 51453 70384 +else 51454 70385 + cat >conftest.$ac_ext <<_ACEOF 51455 +#line 13 678"configure"70386 +#line 13746 "configure" 51456 70387 +#include "confdefs.h" 51457 70388 +#include <$ac_header> 51458 70389 +_ACEOF 51459 +if { (eval echo "$as_me:13 682: \"$ac_cpp conftest.$ac_ext\"") >&570390 +if { (eval echo "$as_me:13750: \"$ac_cpp conftest.$ac_ext\"") >&5 51460 70391 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 51461 70392 + ac_status=$? … … 51463 70394 + rm -f conftest.er1 51464 70395 + cat conftest.err >&5 51465 + echo "$as_me:13 688: \$? = $ac_status" >&570396 + echo "$as_me:13756: \$? = $ac_status" >&5 51466 70397 + (exit $ac_status); } >/dev/null; then 51467 70398 + if test -s conftest.err; then … … 51482 70413 +rm -f conftest.err conftest.$ac_ext 51483 70414 +fi 51484 +echo "$as_me:137 07: result: `eval echo '${'$as_ac_Header'}'`" >&570415 +echo "$as_me:13775: result: `eval echo '${'$as_ac_Header'}'`" >&5 51485 70416 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 51486 70417 +if test `eval echo '${'$as_ac_Header'}'` = yes; then … … 51495 70426 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 51496 70427 -if test "${ac_cv_header_time+set}" = set; then 51497 +echo "$as_me:137 17: checking for header declaring getopt variables" >&570428 +echo "$as_me:13785: checking for header declaring getopt variables" >&5 51498 70429 +echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 51499 70430 +if test "${cf_cv_getopt_header+set}" = set; then … … 51507 70438 +do 51508 70439 +cat >conftest.$ac_ext <<_ACEOF 51509 +#line 137 27"configure"70440 +#line 13795 "configure" 51510 70441 #include "confdefs.h" 51511 70442 -#include <sys/types.h> … … 51526 70457 rm -f conftest.$ac_objext 51527 70458 -if { (eval echo "$as_me:12806: \"$ac_compile\"") >&5 51528 +if { (eval echo "$as_me:13 740: \"$ac_compile\"") >&570459 +if { (eval echo "$as_me:13808: \"$ac_compile\"") >&5 51529 70460 (eval $ac_compile) 2>&5 51530 70461 ac_status=$? 51531 70462 - echo "$as_me:12809: \$? = $ac_status" >&5 51532 + echo "$as_me:13 743: \$? = $ac_status" >&570463 + echo "$as_me:13811: \$? = $ac_status" >&5 51533 70464 (exit $ac_status); } && 51534 70465 { ac_try='test -s conftest.$ac_objext' 51535 70466 - { (eval echo "$as_me:12812: \"$ac_try\"") >&5 51536 + { (eval echo "$as_me:13 746: \"$ac_try\"") >&570467 + { (eval echo "$as_me:13814: \"$ac_try\"") >&5 51537 70468 (eval $ac_try) 2>&5 51538 70469 ac_status=$? 51539 70470 - echo "$as_me:12815: \$? = $ac_status" >&5 51540 + echo "$as_me:13 749: \$? = $ac_status" >&570471 + echo "$as_me:13817: \$? = $ac_status" >&5 51541 70472 (exit $ac_status); }; }; then 51542 70473 - ac_cv_header_time=yes … … 51558 70489 -#define TIME_WITH_SYS_TIME 1 51559 70490 +fi 51560 +echo "$as_me:13 761: result: $cf_cv_getopt_header" >&570491 +echo "$as_me:13829: result: $cf_cv_getopt_header" >&5 51561 70492 +echo "${ECHO_T}$cf_cv_getopt_header" >&6 51562 70493 +if test $cf_cv_getopt_header != none ; then … … 51587 70518 -if eval "test \"\${$as_ac_Header+set}\" = set"; then 51588 70519 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 51589 +echo "$as_me:13 776: checking for $ac_func" >&570520 +echo "$as_me:13844: checking for $ac_func" >&5 51590 70521 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 51591 70522 +if eval "test \"\${$as_ac_var+set}\" = set"; then … … 51594 70525 cat >conftest.$ac_ext <<_ACEOF 51595 70526 -#line 12854 "configure" 51596 +#line 13 782"configure"70527 +#line 13850 "configure" 51597 70528 #include "confdefs.h" 51598 70529 -#include <$ac_header> … … 51618 70549 +choke me 51619 70550 +#else 51620 +f = $ac_func; 70551 +f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; 51621 70552 +#endif 51622 70553 + … … 51628 70559 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 51629 70560 +rm -f conftest.$ac_objext conftest$ac_exeext 51630 +if { (eval echo "$as_me:138 13: \"$ac_link\"") >&570561 +if { (eval echo "$as_me:13881: \"$ac_link\"") >&5 51631 70562 + (eval $ac_link) 2>&5 51632 70563 ac_status=$? … … 51646 70577 -if test -z "$ac_cpp_err"; then 51647 70578 - eval "$as_ac_Header=yes" 51648 + echo "$as_me:138 16: \$? = $ac_status" >&570579 + echo "$as_me:13884: \$? = $ac_status" >&5 51649 70580 + (exit $ac_status); } && 51650 70581 + { ac_try='test -s conftest$ac_exeext' 51651 + { (eval echo "$as_me:138 19: \"$ac_try\"") >&570582 + { (eval echo "$as_me:13887: \"$ac_try\"") >&5 51652 70583 + (eval $ac_try) 2>&5 51653 70584 + ac_status=$? 51654 + echo "$as_me:138 22: \$? = $ac_status" >&570585 + echo "$as_me:13890: \$? = $ac_status" >&5 51655 70586 + (exit $ac_status); }; }; then 51656 70587 + eval "$as_ac_var=yes" … … 51668 70599 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 51669 70600 -if test `eval echo '${'$as_ac_Header'}'` = yes; then 51670 +echo "$as_me:13 832: result: `eval echo '${'$as_ac_var'}'`" >&570601 +echo "$as_me:13900: result: `eval echo '${'$as_ac_var'}'`" >&5 51671 70602 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 51672 70603 +if test `eval echo '${'$as_ac_var'}'` = yes; then … … 51696 70627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 51697 70628 -echo "$as_me:12907: checking for $ac_func" >&5 51698 +echo "$as_me:13 856: checking for $ac_func" >&570629 +echo "$as_me:13924: checking for $ac_func" >&5 51699 70630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 51700 70631 if eval "test \"\${$as_ac_var+set}\" = set"; then … … 51703 70634 cat >conftest.$ac_ext <<_ACEOF 51704 70635 -#line 12913 "configure" 51705 +#line 13 862"configure"70636 +#line 13930 "configure" 51706 70637 #include "confdefs.h" 51707 70638 /* System header to define __stub macros and hopefully few prototypes, 51708 70639 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 @@ 51710 70650 } 51711 70651 _ACEOF 51712 70652 rm -f conftest.$ac_objext conftest$ac_exeext 51713 70653 -if { (eval echo "$as_me:12944: \"$ac_link\"") >&5 51714 +if { (eval echo "$as_me:13 893: \"$ac_link\"") >&570654 +if { (eval echo "$as_me:13961: \"$ac_link\"") >&5 51715 70655 (eval $ac_link) 2>&5 51716 70656 ac_status=$? 51717 70657 - echo "$as_me:12947: \$? = $ac_status" >&5 51718 + echo "$as_me:13 896: \$? = $ac_status" >&570658 + echo "$as_me:13964: \$? = $ac_status" >&5 51719 70659 (exit $ac_status); } && 51720 70660 { ac_try='test -s conftest$ac_exeext' 51721 70661 - { (eval echo "$as_me:12950: \"$ac_try\"") >&5 51722 + { (eval echo "$as_me:13 899: \"$ac_try\"") >&570662 + { (eval echo "$as_me:13967: \"$ac_try\"") >&5 51723 70663 (eval $ac_try) 2>&5 51724 70664 ac_status=$? 51725 70665 - echo "$as_me:12953: \$? = $ac_status" >&5 51726 + echo "$as_me:139 02: \$? = $ac_status" >&570666 + echo "$as_me:13970: \$? = $ac_status" >&5 51727 70667 (exit $ac_status); }; }; then 51728 70668 eval "$as_ac_var=yes" 51729 70669 else 51730 @@ -12960,7 +139 09,7 @@70670 @@ -12960,7 +13977,7 @@ 51731 70671 fi 51732 70672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 51733 70673 fi 51734 70674 -echo "$as_me:12963: result: `eval echo '${'$as_ac_var'}'`" >&5 51735 +echo "$as_me:139 12: result: `eval echo '${'$as_ac_var'}'`" >&570675 +echo "$as_me:13980: result: `eval echo '${'$as_ac_var'}'`" >&5 51736 70676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 51737 70677 if test `eval echo '${'$as_ac_var'}'` = yes; then 51738 70678 cat >>confdefs.h <<EOF 51739 @@ -12970,14 +139 19,16 @@70679 @@ -12970,14 +13987,16 @@ 51740 70680 fi 51741 70681 done … … 51744 70684 +fi 51745 70685 + 51746 +echo "$as_me:139 24: checking if we must define _XOPEN_SOURCE_EXTENDED" >&570686 +echo "$as_me:13992: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 51747 70687 echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 51748 70688 if test "${cf_cv_need_xopen_extension+set}" = set; then … … 51752 70692 cat >conftest.$ac_ext <<_ACEOF 51753 70693 -#line 12980 "configure" 51754 +#line 139 31"configure"70694 +#line 13999 "configure" 51755 70695 #include "confdefs.h" 51756 70696 51757 70697 #include <stdlib.h> 51758 @@ -12999,23 +1 3950,23 @@70698 @@ -12999,23 +14018,23 @@ 51759 70699 } 51760 70700 _ACEOF 51761 70701 rm -f conftest.$ac_objext conftest$ac_exeext 51762 70702 -if { (eval echo "$as_me:13002: \"$ac_link\"") >&5 51763 +if { (eval echo "$as_me:1 3953: \"$ac_link\"") >&570703 +if { (eval echo "$as_me:14021: \"$ac_link\"") >&5 51764 70704 (eval $ac_link) 2>&5 51765 70705 ac_status=$? 51766 70706 - echo "$as_me:13005: \$? = $ac_status" >&5 51767 + echo "$as_me:1 3956: \$? = $ac_status" >&570707 + echo "$as_me:14024: \$? = $ac_status" >&5 51768 70708 (exit $ac_status); } && 51769 70709 { ac_try='test -s conftest$ac_exeext' 51770 70710 - { (eval echo "$as_me:13008: \"$ac_try\"") >&5 51771 + { (eval echo "$as_me:1 3959: \"$ac_try\"") >&570711 + { (eval echo "$as_me:14027: \"$ac_try\"") >&5 51772 70712 (eval $ac_try) 2>&5 51773 70713 ac_status=$? 51774 70714 - echo "$as_me:13011: \$? = $ac_status" >&5 51775 + echo "$as_me:1 3962: \$? = $ac_status" >&570715 + echo "$as_me:14030: \$? = $ac_status" >&5 51776 70716 (exit $ac_status); }; }; then 51777 70717 cf_cv_need_xopen_extension=no … … 51781 70721 cat >conftest.$ac_ext <<_ACEOF 51782 70722 -#line 13018 "configure" 51783 +#line 1 3969"configure"70723 +#line 14037 "configure" 51784 70724 #include "confdefs.h" 51785 70725 51786 70726 #define _XOPEN_SOURCE_EXTENDED 51787 @@ -13037,16 +1 3988,16 @@70727 @@ -13037,16 +14056,16 @@ 51788 70728 } 51789 70729 _ACEOF 51790 70730 rm -f conftest.$ac_objext conftest$ac_exeext 51791 70731 -if { (eval echo "$as_me:13040: \"$ac_link\"") >&5 51792 +if { (eval echo "$as_me:1 3991: \"$ac_link\"") >&570732 +if { (eval echo "$as_me:14059: \"$ac_link\"") >&5 51793 70733 (eval $ac_link) 2>&5 51794 70734 ac_status=$? 51795 70735 - echo "$as_me:13043: \$? = $ac_status" >&5 51796 + echo "$as_me:1 3994: \$? = $ac_status" >&570736 + echo "$as_me:14062: \$? = $ac_status" >&5 51797 70737 (exit $ac_status); } && 51798 70738 { ac_try='test -s conftest$ac_exeext' 51799 70739 - { (eval echo "$as_me:13046: \"$ac_try\"") >&5 51800 + { (eval echo "$as_me:1 3997: \"$ac_try\"") >&570740 + { (eval echo "$as_me:14065: \"$ac_try\"") >&5 51801 70741 (eval $ac_try) 2>&5 51802 70742 ac_status=$? 51803 70743 - echo "$as_me:13049: \$? = $ac_status" >&5 51804 + echo "$as_me:140 00: \$? = $ac_status" >&570744 + echo "$as_me:14068: \$? = $ac_status" >&5 51805 70745 (exit $ac_status); }; }; then 51806 70746 cf_cv_need_xopen_extension=yes 51807 70747 else 51808 @@ -13058,11 +140 09,11 @@70748 @@ -13058,11 +14077,11 @@ 51809 70749 fi 51810 70750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 51811 70751 fi 51812 70752 -echo "$as_me:13061: result: $cf_cv_need_xopen_extension" >&5 51813 +echo "$as_me:140 12: result: $cf_cv_need_xopen_extension" >&570753 +echo "$as_me:14080: result: $cf_cv_need_xopen_extension" >&5 51814 70754 echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6 51815 70755 test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" 51816 70756 51817 70757 -echo "$as_me:13065: checking for term.h" >&5 51818 +echo "$as_me:140 16: checking for term.h" >&570758 +echo "$as_me:14084: checking for term.h" >&5 51819 70759 echo $ECHO_N "checking for term.h... $ECHO_C" >&6 51820 70760 if test "${cf_cv_term_header+set}" = set; then 51821 70761 echo $ECHO_N "(cached) $ECHO_C" >&6 51822 @@ -13070,12 +140 21,20 @@70762 @@ -13070,12 +14089,20 @@ 51823 70763 51824 70764 # If we found <ncurses/curses.h>, look for <ncurses/term.h>, but always look … … 51841 70781 cat >conftest.$ac_ext <<_ACEOF 51842 70782 -#line 13078 "configure" 51843 +#line 14 037"configure"70783 +#line 14105 "configure" 51844 70784 #include "confdefs.h" 51845 70785 51846 70786 #include <${cf_cv_ncurses_header:-curses.h}> 51847 @@ -13089,16 +14 048,16 @@70787 @@ -13089,16 +14116,16 @@ 51848 70788 } 51849 70789 _ACEOF 51850 70790 rm -f conftest.$ac_objext 51851 70791 -if { (eval echo "$as_me:13092: \"$ac_compile\"") >&5 51852 +if { (eval echo "$as_me:14 051: \"$ac_compile\"") >&570792 +if { (eval echo "$as_me:14119: \"$ac_compile\"") >&5 51853 70793 (eval $ac_compile) 2>&5 51854 70794 ac_status=$? 51855 70795 - echo "$as_me:13095: \$? = $ac_status" >&5 51856 + echo "$as_me:14 054: \$? = $ac_status" >&570796 + echo "$as_me:14122: \$? = $ac_status" >&5 51857 70797 (exit $ac_status); } && 51858 70798 { ac_try='test -s conftest.$ac_objext' 51859 70799 - { (eval echo "$as_me:13098: \"$ac_try\"") >&5 51860 + { (eval echo "$as_me:14 057: \"$ac_try\"") >&570800 + { (eval echo "$as_me:14125: \"$ac_try\"") >&5 51861 70801 (eval $ac_try) 2>&5 51862 70802 ac_status=$? 51863 70803 - echo "$as_me:13101: \$? = $ac_status" >&5 51864 + echo "$as_me:14 060: \$? = $ac_status" >&570804 + echo "$as_me:14128: \$? = $ac_status" >&5 51865 70805 (exit $ac_status); }; }; then 51866 70806 cf_cv_term_header=$cf_header 51867 70807 break 51868 @@ -13117,7 +14 076,7 @@70808 @@ -13117,7 +14144,7 @@ 51869 70809 for cf_header in ncurses/term.h ncursesw/term.h 51870 70810 do 51871 70811 cat >conftest.$ac_ext <<_ACEOF 51872 70812 -#line 13120 "configure" 51873 +#line 14 079"configure"70813 +#line 14147 "configure" 51874 70814 #include "confdefs.h" 51875 70815 51876 70816 #include <${cf_cv_ncurses_header:-curses.h}> 51877 @@ -13135,16 +14 094,16 @@70817 @@ -13135,16 +14162,16 @@ 51878 70818 } 51879 70819 _ACEOF 51880 70820 rm -f conftest.$ac_objext 51881 70821 -if { (eval echo "$as_me:13138: \"$ac_compile\"") >&5 51882 +if { (eval echo "$as_me:14 097: \"$ac_compile\"") >&570822 +if { (eval echo "$as_me:14165: \"$ac_compile\"") >&5 51883 70823 (eval $ac_compile) 2>&5 51884 70824 ac_status=$? 51885 70825 - echo "$as_me:13141: \$? = $ac_status" >&5 51886 + echo "$as_me:141 00: \$? = $ac_status" >&570826 + echo "$as_me:14168: \$? = $ac_status" >&5 51887 70827 (exit $ac_status); } && 51888 70828 { ac_try='test -s conftest.$ac_objext' 51889 70829 - { (eval echo "$as_me:13144: \"$ac_try\"") >&5 51890 + { (eval echo "$as_me:141 03: \"$ac_try\"") >&570830 + { (eval echo "$as_me:14171: \"$ac_try\"") >&5 51891 70831 (eval $ac_try) 2>&5 51892 70832 ac_status=$? 51893 70833 - echo "$as_me:13147: \$? = $ac_status" >&5 51894 + echo "$as_me:141 06: \$? = $ac_status" >&570834 + echo "$as_me:14174: \$? = $ac_status" >&5 51895 70835 (exit $ac_status); }; }; then 51896 70836 cf_cv_term_header=$cf_header 51897 70837 break 51898 @@ -13159,7 +141 18,7 @@70838 @@ -13159,7 +14186,7 @@ 51899 70839 esac 51900 70840 51901 70841 fi 51902 70842 -echo "$as_me:13162: result: $cf_cv_term_header" >&5 51903 +echo "$as_me:141 21: result: $cf_cv_term_header" >&570843 +echo "$as_me:14189: result: $cf_cv_term_header" >&5 51904 70844 echo "${ECHO_T}$cf_cv_term_header" >&6 51905 70845 51906 70846 case $cf_cv_term_header in #(vi 51907 @@ -13183,7 +14 142,96 @@70847 @@ -13183,7 +14210,96 @@ 51908 70848 ;; 51909 70849 esac 51910 70850 51911 +echo "$as_me:14 145: checking for unctrl.h" >&570851 +echo "$as_me:14213: checking for unctrl.h" >&5 51912 70852 +echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6 51913 70853 +if test "${cf_cv_unctrl_header+set}" = set; then … … 51930 70870 +do 51931 70871 + cat >conftest.$ac_ext <<_ACEOF 51932 +#line 14 166"configure"70872 +#line 14234 "configure" 51933 70873 +#include "confdefs.h" 51934 70874 + … … 51944 70884 +_ACEOF 51945 70885 +rm -f conftest.$ac_objext 51946 +if { (eval echo "$as_me:14 180: \"$ac_compile\"") >&570886 +if { (eval echo "$as_me:14248: \"$ac_compile\"") >&5 51947 70887 + (eval $ac_compile) 2>&5 51948 70888 + ac_status=$? 51949 + echo "$as_me:14 183: \$? = $ac_status" >&570889 + echo "$as_me:14251: \$? = $ac_status" >&5 51950 70890 + (exit $ac_status); } && 51951 70891 + { ac_try='test -s conftest.$ac_objext' 51952 + { (eval echo "$as_me:14 186: \"$ac_try\"") >&570892 + { (eval echo "$as_me:14254: \"$ac_try\"") >&5 51953 70893 + (eval $ac_try) 2>&5 51954 70894 + ac_status=$? 51955 + echo "$as_me:14 189: \$? = $ac_status" >&570895 + echo "$as_me:14257: \$? = $ac_status" >&5 51956 70896 + (exit $ac_status); }; }; then 51957 70897 + cf_cv_unctrl_header=$cf_header … … 51967 70907 +case $cf_cv_unctrl_header in #(vi 51968 70908 +no) 51969 + { echo "$as_me:142 03: WARNING: unctrl.h header not found" >&570909 + { echo "$as_me:14271: WARNING: unctrl.h header not found" >&5 51970 70910 +echo "$as_me: WARNING: unctrl.h header not found" >&2;} 51971 70911 + ;; … … 51973 70913 + 51974 70914 +fi 51975 +echo "$as_me:142 09: result: $cf_cv_unctrl_header" >&570915 +echo "$as_me:14277: result: $cf_cv_unctrl_header" >&5 51976 70916 +echo "${ECHO_T}$cf_cv_unctrl_header" >&6 51977 70917 + … … 52002 70942 color_set \ 52003 70943 filter \ 52004 @@ -13210,8 +14 258,10 @@70944 @@ -13210,8 +14326,10 @@ 52005 70945 tigetstr \ 52006 70946 typeahead \ … … 52014 70954 winsstr \ 52015 70955 wresize \ 52016 @@ -13221,10 +14 271,94 @@70956 @@ -13221,10 +14339,94 @@ 52017 70957 52018 70958 cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` 52019 70959 52020 70960 - echo "$as_me:13224: checking for ${cf_func}" >&5 52021 + echo "$as_me:14 274: checking for ${cf_func}" >&570961 + echo "$as_me:14342: checking for ${cf_func}" >&5 52022 70962 +echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 52023 70963 + 52024 +echo "${as_me:-configure}:14 277: testing ${cf_func} ..." 1>&570964 +echo "${as_me:-configure}:14345: testing ${cf_func} ..." 1>&5 52025 70965 + 52026 70966 + if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then … … 52031 70971 + if test ".$cf_result" != ".no"; then 52032 70972 + cat >conftest.$ac_ext <<_ACEOF 52033 +#line 14 286"configure"70973 +#line 14354 "configure" 52034 70974 +#include "confdefs.h" 52035 70975 + … … 52063 71003 +_ACEOF 52064 71004 +rm -f conftest.$ac_objext conftest$ac_exeext 52065 +if { (eval echo "$as_me:143 18: \"$ac_link\"") >&571005 +if { (eval echo "$as_me:14386: \"$ac_link\"") >&5 52066 71006 + (eval $ac_link) 2>&5 52067 71007 + ac_status=$? 52068 + echo "$as_me:143 21: \$? = $ac_status" >&571008 + echo "$as_me:14389: \$? = $ac_status" >&5 52069 71009 + (exit $ac_status); } && 52070 71010 + { ac_try='test -s conftest$ac_exeext' 52071 + { (eval echo "$as_me:143 24: \"$ac_try\"") >&571011 + { (eval echo "$as_me:14392: \"$ac_try\"") >&5 52072 71012 + (eval $ac_try) 2>&5 52073 71013 + ac_status=$? 52074 + echo "$as_me:143 27: \$? = $ac_status" >&571014 + echo "$as_me:14395: \$? = $ac_status" >&5 52075 71015 + (exit $ac_status); }; }; then 52076 71016 + cf_result=yes … … 52088 71028 + # use the computed/retrieved cache-value: 52089 71029 + eval 'cf_result=$cf_cv_func_'$cf_func 52090 + echo "$as_me:14 343: result: $cf_result" >&571030 + echo "$as_me:14411: result: $cf_result" >&5 52091 71031 +echo "${ECHO_T}$cf_result" >&6 52092 71032 + if test $cf_result != no; then … … 52103 71043 +cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` 52104 71044 + 52105 + echo "$as_me:14 358: checking for ${cf_func}" >&571045 + echo "$as_me:14426: checking for ${cf_func}" >&5 52106 71046 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 52107 71047 52108 71048 -echo "${as_me:-configure}:13227: testing ${cf_func} ..." 1>&5 52109 +echo "${as_me:-configure}:14 361: testing ${cf_func} ..." 1>&571049 +echo "${as_me:-configure}:14429: testing ${cf_func} ..." 1>&5 52110 71050 52111 71051 if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then 52112 71052 echo $ECHO_N "(cached) $ECHO_C" >&6 52113 @@ -13233,7 +14 367,7 @@71053 @@ -13233,7 +14435,7 @@ 52114 71054 eval cf_result='$ac_cv_func_'$cf_func 52115 71055 if test ".$cf_result" != ".no"; then 52116 71056 cat >conftest.$ac_ext <<_ACEOF 52117 71057 -#line 13236 "configure" 52118 +#line 14 370"configure"71058 +#line 14438 "configure" 52119 71059 #include "confdefs.h" 52120 71060 52121 71061 #ifdef HAVE_XCURSES 52122 @@ -13256,7 +14 390,8 @@71062 @@ -13256,7 +14458,8 @@ 52123 71063 52124 71064 #ifndef ${cf_func} … … 52130 71070 52131 71071 ; 52132 @@ -13264,16 +14 399,16 @@71072 @@ -13264,16 +14467,16 @@ 52133 71073 } 52134 71074 _ACEOF 52135 71075 rm -f conftest.$ac_objext conftest$ac_exeext 52136 71076 -if { (eval echo "$as_me:13267: \"$ac_link\"") >&5 52137 +if { (eval echo "$as_me:144 02: \"$ac_link\"") >&571077 +if { (eval echo "$as_me:14470: \"$ac_link\"") >&5 52138 71078 (eval $ac_link) 2>&5 52139 71079 ac_status=$? 52140 71080 - echo "$as_me:13270: \$? = $ac_status" >&5 52141 + echo "$as_me:144 05: \$? = $ac_status" >&571081 + echo "$as_me:14473: \$? = $ac_status" >&5 52142 71082 (exit $ac_status); } && 52143 71083 { ac_try='test -s conftest$ac_exeext' 52144 71084 - { (eval echo "$as_me:13273: \"$ac_try\"") >&5 52145 + { (eval echo "$as_me:144 08: \"$ac_try\"") >&571085 + { (eval echo "$as_me:14476: \"$ac_try\"") >&5 52146 71086 (eval $ac_try) 2>&5 52147 71087 ac_status=$? 52148 71088 - echo "$as_me:13276: \$? = $ac_status" >&5 52149 + echo "$as_me:144 11: \$? = $ac_status" >&571089 + echo "$as_me:14479: \$? = $ac_status" >&5 52150 71090 (exit $ac_status); }; }; then 52151 71091 cf_result=yes 52152 71092 else 52153 @@ -13289,7 +144 24,7 @@71093 @@ -13289,7 +14492,7 @@ 52154 71094 52155 71095 # use the computed/retrieved cache-value: 52156 71096 eval 'cf_result=$cf_cv_func_'$cf_func 52157 71097 - echo "$as_me:13292: result: $cf_result" >&5 52158 + echo "$as_me:144 27: result: $cf_result" >&571098 + echo "$as_me:14495: result: $cf_result" >&5 52159 71099 echo "${ECHO_T}$cf_result" >&6 52160 71100 if test $cf_result != no; then 52161 71101 cat >>confdefs.h <<EOF 52162 @@ -13299,14 +14 434,82 @@71102 @@ -13299,14 +14502,82 @@ 52163 71103 fi 52164 71104 done … … 52179 71119 + fi 52180 71120 + cat >conftest.$ac_ext <<_ACEOF 52181 +#line 14 451"configure"71121 +#line 14519 "configure" 52182 71122 +#include "confdefs.h" 52183 71123 + … … 52199 71139 +_ACEOF 52200 71140 +rm -f conftest.$ac_objext 52201 +if { (eval echo "$as_me:14 471: \"$ac_compile\"") >&571141 +if { (eval echo "$as_me:14539: \"$ac_compile\"") >&5 52202 71142 + (eval $ac_compile) 2>&5 52203 71143 + ac_status=$? 52204 + echo "$as_me:14 474: \$? = $ac_status" >&571144 + echo "$as_me:14542: \$? = $ac_status" >&5 52205 71145 + (exit $ac_status); } && 52206 71146 + { ac_try='test -s conftest.$ac_objext' 52207 + { (eval echo "$as_me:14 477: \"$ac_try\"") >&571147 + { (eval echo "$as_me:14545: \"$ac_try\"") >&5 52208 71148 + (eval $ac_try) 2>&5 52209 71149 + ac_status=$? 52210 + echo "$as_me:14 480: \$? = $ac_status" >&571150 + echo "$as_me:14548: \$? = $ac_status" >&5 52211 71151 + (exit $ac_status); }; }; then 52212 71152 + 52213 71153 + test -n "$verbose" && echo " prototype $cf_ret func($cf_arg value)" 1>&6 52214 71154 + 52215 +echo "${as_me:-configure}:14 485: testing prototype $cf_ret func($cf_arg value) ..." 1>&571155 +echo "${as_me:-configure}:14553: testing prototype $cf_ret func($cf_arg value) ..." 1>&5 52216 71156 + 52217 71157 + cat >>confdefs.h <<EOF … … 52233 71173 +fi 52234 71174 + 52235 +echo "$as_me:145 05: checking for ncurses extended functions" >&571175 +echo "$as_me:14573: checking for ncurses extended functions" >&5 52236 71176 echo $ECHO_N "checking for ncurses extended functions... $ECHO_C" >&6 52237 71177 if test "${cf_cv_ncurses_ext_funcs+set}" = set; then … … 52241 71181 cat >conftest.$ac_ext <<_ACEOF 52242 71182 -#line 13309 "configure" 52243 +#line 145 12"configure"71183 +#line 14580 "configure" 52244 71184 #include "confdefs.h" 52245 71185 52246 71186 #include <${cf_cv_ncurses_header:-curses.h}> 52247 @@ -13321,16 +145 24,16 @@71187 @@ -13321,16 +14592,16 @@ 52248 71188 } 52249 71189 _ACEOF 52250 71190 rm -f conftest.$ac_objext 52251 71191 -if { (eval echo "$as_me:13324: \"$ac_compile\"") >&5 52252 +if { (eval echo "$as_me:145 27: \"$ac_compile\"") >&571192 +if { (eval echo "$as_me:14595: \"$ac_compile\"") >&5 52253 71193 (eval $ac_compile) 2>&5 52254 71194 ac_status=$? 52255 71195 - echo "$as_me:13327: \$? = $ac_status" >&5 52256 + echo "$as_me:145 30: \$? = $ac_status" >&571196 + echo "$as_me:14598: \$? = $ac_status" >&5 52257 71197 (exit $ac_status); } && 52258 71198 { ac_try='test -s conftest.$ac_objext' 52259 71199 - { (eval echo "$as_me:13330: \"$ac_try\"") >&5 52260 + { (eval echo "$as_me:14 533: \"$ac_try\"") >&571200 + { (eval echo "$as_me:14601: \"$ac_try\"") >&5 52261 71201 (eval $ac_try) 2>&5 52262 71202 ac_status=$? 52263 71203 - echo "$as_me:13333: \$? = $ac_status" >&5 52264 + echo "$as_me:14 536: \$? = $ac_status" >&571204 + echo "$as_me:14604: \$? = $ac_status" >&5 52265 71205 (exit $ac_status); }; }; then 52266 71206 cf_cv_ncurses_ext_funcs=defined 52267 71207 else 52268 @@ -13338,7 +14 541,7 @@71208 @@ -13338,7 +14609,7 @@ 52269 71209 cat conftest.$ac_ext >&5 52270 71210 52271 71211 cat >conftest.$ac_ext <<_ACEOF 52272 71212 -#line 13341 "configure" 52273 +#line 14 544"configure"71213 +#line 14612 "configure" 52274 71214 #include "confdefs.h" 52275 71215 52276 71216 #include <${cf_cv_ncurses_header:-curses.h}> 52277 @@ -13363,16 +14 566,16 @@71217 @@ -13363,16 +14634,16 @@ 52278 71218 } 52279 71219 _ACEOF 52280 71220 rm -f conftest.$ac_objext conftest$ac_exeext 52281 71221 -if { (eval echo "$as_me:13366: \"$ac_link\"") >&5 52282 +if { (eval echo "$as_me:14 569: \"$ac_link\"") >&571222 +if { (eval echo "$as_me:14637: \"$ac_link\"") >&5 52283 71223 (eval $ac_link) 2>&5 52284 71224 ac_status=$? 52285 71225 - echo "$as_me:13369: \$? = $ac_status" >&5 52286 + echo "$as_me:14 572: \$? = $ac_status" >&571226 + echo "$as_me:14640: \$? = $ac_status" >&5 52287 71227 (exit $ac_status); } && 52288 71228 { ac_try='test -s conftest$ac_exeext' 52289 71229 - { (eval echo "$as_me:13372: \"$ac_try\"") >&5 52290 + { (eval echo "$as_me:14 575: \"$ac_try\"") >&571230 + { (eval echo "$as_me:14643: \"$ac_try\"") >&5 52291 71231 (eval $ac_try) 2>&5 52292 71232 ac_status=$? 52293 71233 - echo "$as_me:13375: \$? = $ac_status" >&5 52294 + echo "$as_me:14 578: \$? = $ac_status" >&571234 + echo "$as_me:14646: \$? = $ac_status" >&5 52295 71235 (exit $ac_status); }; }; then 52296 71236 cf_cv_ncurses_ext_funcs=yes 52297 71237 else 52298 @@ -13386,515 +14 589,168 @@71238 @@ -13386,515 +14657,168 @@ 52299 71239 rm -f conftest.$ac_objext conftest.$ac_ext 52300 71240 52301 71241 fi 52302 71242 -echo "$as_me:13389: result: $cf_cv_ncurses_ext_funcs" >&5 52303 +echo "$as_me:14 592: result: $cf_cv_ncurses_ext_funcs" >&571243 +echo "$as_me:14660: result: $cf_cv_ncurses_ext_funcs" >&5 52304 71244 echo "${ECHO_T}$cf_cv_ncurses_ext_funcs" >&6 52305 71245 test "$cf_cv_ncurses_ext_funcs" = yes && cat >>confdefs.h <<\EOF … … 52319 71259 + then 52320 71260 + cf_define_xpg5=no 52321 + echo "$as_me:146 05: checking if _XPG5 should be defined to enable wide-characters" >&571261 + echo "$as_me:14673: checking if _XPG5 should be defined to enable wide-characters" >&5 52322 71262 +echo $ECHO_N "checking if _XPG5 should be defined to enable wide-characters... $ECHO_C" >&6 52323 71263 … … 52325 71265 -#line 13402 "configure" 52326 71266 + cat >conftest.$ac_ext <<_ACEOF 52327 +#line 146 09"configure"71267 +#line 14677 "configure" 52328 71268 #include "confdefs.h" 52329 71269 … … 52337 71277 - setcchar(&dst_cchar, src_wchar, A_NORMAL, 0, (void *) 0); 52338 71278 - 52339 +int x = _XPG5 52340 ; 52341 return 0; 52342 } 52343 _ACEOF 71279 - ; 71280 - return 0; 71281 -} 71282 -_ACEOF 52344 71283 -rm -f conftest.$ac_objext conftest$ac_exeext 52345 71284 -if { (eval echo "$as_me:13419: \"$ac_link\"") >&5 … … 52394 71333 -#include <$ac_header> 52395 71334 -_ACEOF 52396 71335 -rm -f conftest.$ac_objext 52397 71336 -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=$? 52401 71339 - 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' 52405 71342 - { (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=$? 52409 71345 - 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 52412 71347 - 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 52417 71351 -eval "$as_ac_Header=no" 52418 71352 -fi … … 52436 71370 - cat >conftest.$ac_ext <<_ACEOF 52437 71371 -#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" 52443 71373 -$ac_includes_default 52444 + 52445 +#include <${cf_cv_ncurses_header:-curses.h}> 52446 int 52447 main () 52448 { 71374 -int 71375 -main () 71376 -{ 52449 71377 -if ((pid_t *) 0) 52450 71378 - return 0; … … 52458 71386 rm -f conftest.$ac_objext 52459 71387 -if { (eval echo "$as_me:13521: \"$ac_compile\"") >&5 52460 +if { (eval echo "$as_me:146 53: \"$ac_compile\"") >&571388 +if { (eval echo "$as_me:14690: \"$ac_compile\"") >&5 52461 71389 (eval $ac_compile) 2>&5 52462 71390 ac_status=$? 52463 71391 - echo "$as_me:13524: \$? = $ac_status" >&5 52464 + echo "$as_me:146 56: \$? = $ac_status" >&571392 + echo "$as_me:14693: \$? = $ac_status" >&5 52465 71393 (exit $ac_status); } && 52466 71394 { ac_try='test -s conftest.$ac_objext' 52467 71395 - { (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=$? 52470 71399 - 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 52472 71402 - ac_cv_type_pid_t=yes 52473 71403 -else … … 52481 71411 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6 52482 71412 -if test $ac_cv_type_pid_t = yes; then 52483 -:52484 -else71413 : 71414 else 52485 71415 - 52486 71416 -cat >>confdefs.h <<EOF … … 52522 71452 - eval "$as_ac_Header=yes" 52523 71453 -else 52524 -echo "$as_me: failed program was:" >&571454 echo "$as_me: failed program was:" >&5 52525 71455 - cat conftest.$ac_ext >&5 52526 71456 - eval "$as_ac_Header=no" … … 52548 71478 - cat >conftest.$ac_ext <<_ACEOF 52549 71479 -#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" 52551 71486 -/* System header to define __stub macros and hopefully few prototypes, 52552 71487 - which can conflict with char $ac_func (); below. */ … … 52560 71495 -char $ac_func (); 52561 71496 -char (*f) (); 52562 - 52563 -int 52564 -main () 52565 -{ 71497 71498 +#include <${cf_cv_ncurses_header:-curses.h}> 71499 int 71500 main () 71501 { 52566 71502 -/* The GNU C library defines this for functions which it implements 52567 71503 - to always fail with ENOSYS. Some functions are actually named … … 52573 71509 -#endif 52574 71510 - 52575 - ; 52576 - return 0; 52577 -} 52578 -_ACEOF 71511 +int x = _XPG5 71512 ; 71513 return 0; 71514 } 71515 _ACEOF 52579 71516 -rm -f conftest.$ac_objext conftest$ac_exeext 52580 71517 -if { (eval echo "$as_me:13640: \"$ac_link\"") >&5 … … 52585 71522 - { ac_try='test -s conftest$ac_exeext' 52586 71523 - { (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=$? 52590 71526 - 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 52593 71528 - eval "$as_ac_var=yes" 52594 71529 -else … … 52636 71571 -if { (eval echo "$as_me:13694: \"$ac_link\"") >&5 52637 71572 - (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=$? 52639 71577 - echo "$as_me:13697: \$? = $ac_status" >&5 52640 71578 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 52641 71579 - { (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=$? 52644 71586 - 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 52646 71589 - ac_cv_func_fork_works=yes 52647 71590 + cf_define_xpg5=yes … … 52661 71604 -echo "${ECHO_T}$ac_cv_func_fork_works" >&6 52662 71605 +rm -f conftest.$ac_objext conftest.$ac_ext 52663 + echo "$as_me:14 673: result: $cf_define_xpg5" >&571606 + echo "$as_me:14741: result: $cf_define_xpg5" >&5 52664 71607 +echo "${ECHO_T}$cf_define_xpg5" >&6 52665 71608 … … 52689 71632 + fi 52690 71633 + 52691 + echo "$as_me:14 682: checking for wide-character functions" >&571634 + echo "$as_me:14750: checking for wide-character functions" >&5 52692 71635 +echo $ECHO_N "checking for wide-character functions... $ECHO_C" >&6 52693 71636 +if test "${cf_cv_widechar_funcs+set}" = set; then … … 52701 71644 + 52702 71645 + cat >conftest.$ac_ext <<_ACEOF 52703 +#line 14 689"configure"71646 +#line 14757 "configure" 52704 71647 #include "confdefs.h" 52705 71648 -/* Thanks to Paul Eggert for this test. */ … … 52747 71690 - pid_t parent = getpid (); 52748 71691 - pid_t child; 52749 71692 - 52750 71693 - sparc_address_test (); 71694 71695 - child = vfork (); 52751 71696 + static wchar_t src_wchar[2]; 52752 71697 + static cchar_t dst_cchar; 52753 71698 + setcchar(&dst_cchar, src_wchar, A_NORMAL, 0, (void *) 0); 52754 71699 52755 - child = vfork ();52756 -52757 71700 - if (child == 0) { 52758 71701 - /* Here is another test for sparc vfork register problems. This … … 52806 71749 -if { (eval echo "$as_me:13839: \"$ac_link\"") >&5 52807 71750 +rm -f conftest.$ac_objext conftest$ac_exeext 52808 +if { (eval echo "$as_me:147 06: \"$ac_link\"") >&571751 +if { (eval echo "$as_me:14774: \"$ac_link\"") >&5 52809 71752 (eval $ac_link) 2>&5 52810 71753 ac_status=$? … … 52812 71755 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 52813 71756 - { (eval echo "$as_me:13844: \"$ac_try\"") >&5 52814 + echo "$as_me:147 09: \$? = $ac_status" >&571757 + echo "$as_me:14777: \$? = $ac_status" >&5 52815 71758 + (exit $ac_status); } && 52816 71759 + { ac_try='test -s conftest$ac_exeext' 52817 + { (eval echo "$as_me:147 12: \"$ac_try\"") >&571760 + { (eval echo "$as_me:14780: \"$ac_try\"") >&5 52818 71761 (eval $ac_try) 2>&5 52819 71762 ac_status=$? 52820 71763 - echo "$as_me:13847: \$? = $ac_status" >&5 52821 + echo "$as_me:147 15: \$? = $ac_status" >&571764 + echo "$as_me:14783: \$? = $ac_status" >&5 52822 71765 (exit $ac_status); }; }; then 52823 71766 - ac_cv_func_vfork_works=yes … … 52849 71792 -cat >>confdefs.h <<\EOF 52850 71793 -#define HAVE_WORKING_VFORK 1 52851 +echo "$as_me:147 26: result: $cf_cv_widechar_funcs" >&571794 +echo "$as_me:14794: result: $cf_cv_widechar_funcs" >&5 52852 71795 +echo "${ECHO_T}$cf_cv_widechar_funcs" >&6 52853 71796 + if test "$cf_cv_widechar_funcs" != no ; then … … 52879 71822 52880 71823 -echo "$as_me:13890: checking if sys/time.h works with sys/select.h" >&5 52881 +echo "$as_me:14 746: checking if sys/time.h works with sys/select.h" >&571824 +echo "$as_me:14814: checking if sys/time.h works with sys/select.h" >&5 52882 71825 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 52883 71826 if test "${cf_cv_sys_time_select+set}" = set; then … … 52887 71830 cat >conftest.$ac_ext <<_ACEOF 52888 71831 -#line 13897 "configure" 52889 +#line 14 753"configure"71832 +#line 14821 "configure" 52890 71833 #include "confdefs.h" 52891 71834 52892 71835 #include <sys/types.h> 52893 @@ -13914,16 +14 770,16 @@71836 @@ -13914,16 +14838,16 @@ 52894 71837 } 52895 71838 _ACEOF 52896 71839 rm -f conftest.$ac_objext 52897 71840 -if { (eval echo "$as_me:13917: \"$ac_compile\"") >&5 52898 +if { (eval echo "$as_me:14 773: \"$ac_compile\"") >&571841 +if { (eval echo "$as_me:14841: \"$ac_compile\"") >&5 52899 71842 (eval $ac_compile) 2>&5 52900 71843 ac_status=$? 52901 71844 - echo "$as_me:13920: \$? = $ac_status" >&5 52902 + echo "$as_me:14 776: \$? = $ac_status" >&571845 + echo "$as_me:14844: \$? = $ac_status" >&5 52903 71846 (exit $ac_status); } && 52904 71847 { ac_try='test -s conftest.$ac_objext' 52905 71848 - { (eval echo "$as_me:13923: \"$ac_try\"") >&5 52906 + { (eval echo "$as_me:14 779: \"$ac_try\"") >&571849 + { (eval echo "$as_me:14847: \"$ac_try\"") >&5 52907 71850 (eval $ac_try) 2>&5 52908 71851 ac_status=$? 52909 71852 - echo "$as_me:13926: \$? = $ac_status" >&5 52910 + echo "$as_me:14 782: \$? = $ac_status" >&571853 + echo "$as_me:14850: \$? = $ac_status" >&5 52911 71854 (exit $ac_status); }; }; then 52912 71855 cf_cv_sys_time_select=yes 52913 71856 else 52914 @@ -13935,13 +14 791,13 @@71857 @@ -13935,13 +14859,13 @@ 52915 71858 52916 71859 fi 52917 71860 52918 71861 -echo "$as_me:13938: result: $cf_cv_sys_time_select" >&5 52919 +echo "$as_me:14 794: result: $cf_cv_sys_time_select" >&571862 +echo "$as_me:14862: result: $cf_cv_sys_time_select" >&5 52920 71863 echo "${ECHO_T}$cf_cv_sys_time_select" >&6 52921 71864 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF … … 52924 71867 52925 71868 -echo "$as_me:13944: checking for function curses_version" >&5 52926 +echo "$as_me:148 00: checking for function curses_version" >&571869 +echo "$as_me:14868: checking for function curses_version" >&5 52927 71870 echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6 52928 71871 if test "${cf_cv_func_curses_version+set}" = set; then 52929 71872 echo $ECHO_N "(cached) $ECHO_C" >&6 52930 @@ -13951,7 +148 07,7 @@71873 @@ -13951,7 +14875,7 @@ 52931 71874 cf_cv_func_curses_version=unknown 52932 71875 else 52933 71876 cat >conftest.$ac_ext <<_ACEOF 52934 71877 -#line 13954 "configure" 52935 +#line 148 10"configure"71878 +#line 14878 "configure" 52936 71879 #include "confdefs.h" 52937 71880 52938 71881 #include <${cf_cv_ncurses_header:-curses.h}> 52939 @@ -13964,15 +148 20,15 @@71882 @@ -13964,15 +14888,15 @@ 52940 71883 52941 71884 _ACEOF 52942 71885 rm -f conftest$ac_exeext 52943 71886 -if { (eval echo "$as_me:13967: \"$ac_link\"") >&5 52944 +if { (eval echo "$as_me:148 23: \"$ac_link\"") >&571887 +if { (eval echo "$as_me:14891: \"$ac_link\"") >&5 52945 71888 (eval $ac_link) 2>&5 52946 71889 ac_status=$? 52947 71890 - echo "$as_me:13970: \$? = $ac_status" >&5 52948 + echo "$as_me:148 26: \$? = $ac_status" >&571891 + echo "$as_me:14894: \$? = $ac_status" >&5 52949 71892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 52950 71893 - { (eval echo "$as_me:13972: \"$ac_try\"") >&5 52951 + { (eval echo "$as_me:148 28: \"$ac_try\"") >&571894 + { (eval echo "$as_me:14896: \"$ac_try\"") >&5 52952 71895 (eval $ac_try) 2>&5 52953 71896 ac_status=$? 52954 71897 - echo "$as_me:13975: \$? = $ac_status" >&5 52955 + echo "$as_me:148 31: \$? = $ac_status" >&571898 + echo "$as_me:14899: \$? = $ac_status" >&5 52956 71899 (exit $ac_status); }; }; then 52957 71900 cf_cv_func_curses_version=yes 52958 71901 52959 @@ -13987,13 +14 843,13 @@71902 @@ -13987,13 +14911,13 @@ 52960 71903 fi 52961 71904 rm -f core 52962 71905 fi 52963 71906 -echo "$as_me:13990: result: $cf_cv_func_curses_version" >&5 52964 +echo "$as_me:14 846: result: $cf_cv_func_curses_version" >&571907 +echo "$as_me:14914: result: $cf_cv_func_curses_version" >&5 52965 71908 echo "${ECHO_T}$cf_cv_func_curses_version" >&6 52966 71909 test "$cf_cv_func_curses_version" = yes && cat >>confdefs.h <<\EOF … … 52969 71912 52970 71913 -echo "$as_me:13996: checking for ncurses wrap-prefix" >&5 52971 +echo "$as_me:14 852: checking for ncurses wrap-prefix" >&571914 +echo "$as_me:14920: checking for ncurses wrap-prefix" >&5 52972 71915 echo $ECHO_N "checking for ncurses wrap-prefix... $ECHO_C" >&6 52973 71916 52974 71917 # Check whether --with-ncurses-wrap-prefix or --without-ncurses-wrap-prefix was given. 52975 @@ -14003,10 +14 859,10 @@71918 @@ -14003,10 +14927,10 @@ 52976 71919 else 52977 71920 NCURSES_WRAP_PREFIX=_nc_ 52978 71921 fi; 52979 71922 -echo "$as_me:14006: result: $NCURSES_WRAP_PREFIX" >&5 52980 +echo "$as_me:14 862: result: $NCURSES_WRAP_PREFIX" >&571923 +echo "$as_me:14930: result: $NCURSES_WRAP_PREFIX" >&5 52981 71924 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 52982 71925 52983 71926 -echo "$as_me:14009: checking for alternate character set array" >&5 52984 +echo "$as_me:14 865: checking for alternate character set array" >&571927 +echo "$as_me:14933: checking for alternate character set array" >&5 52985 71928 echo $ECHO_N "checking for alternate character set array... $ECHO_C" >&6 52986 71929 if test "${cf_cv_curses_acs_map+set}" = set; then 52987 71930 echo $ECHO_N "(cached) $ECHO_C" >&6 52988 @@ -14016,7 +14 872,7 @@71931 @@ -14016,7 +14940,7 @@ 52989 71932 for name in acs_map _acs_map __acs_map ${NCURSES_WRAP_PREFIX}acs_map 52990 71933 do 52991 71934 cat >conftest.$ac_ext <<_ACEOF 52992 71935 -#line 14019 "configure" 52993 +#line 14 875"configure"71936 +#line 14943 "configure" 52994 71937 #include "confdefs.h" 52995 71938 52996 71939 #include <${cf_cv_ncurses_header:-curses.h}> 52997 @@ -14032,16 +14 888,16 @@71940 @@ -14032,16 +14956,16 @@ 52998 71941 } 52999 71942 _ACEOF 53000 71943 rm -f conftest.$ac_objext conftest$ac_exeext 53001 71944 -if { (eval echo "$as_me:14035: \"$ac_link\"") >&5 53002 +if { (eval echo "$as_me:14 891: \"$ac_link\"") >&571945 +if { (eval echo "$as_me:14959: \"$ac_link\"") >&5 53003 71946 (eval $ac_link) 2>&5 53004 71947 ac_status=$? 53005 71948 - echo "$as_me:14038: \$? = $ac_status" >&5 53006 + echo "$as_me:14 894: \$? = $ac_status" >&571949 + echo "$as_me:14962: \$? = $ac_status" >&5 53007 71950 (exit $ac_status); } && 53008 71951 { ac_try='test -s conftest$ac_exeext' 53009 71952 - { (eval echo "$as_me:14041: \"$ac_try\"") >&5 53010 + { (eval echo "$as_me:14 897: \"$ac_try\"") >&571953 + { (eval echo "$as_me:14965: \"$ac_try\"") >&5 53011 71954 (eval $ac_try) 2>&5 53012 71955 ac_status=$? 53013 71956 - echo "$as_me:14044: \$? = $ac_status" >&5 53014 + echo "$as_me:149 00: \$? = $ac_status" >&571957 + echo "$as_me:14968: \$? = $ac_status" >&5 53015 71958 (exit $ac_status); }; }; then 53016 71959 cf_cv_curses_acs_map=$name; break 53017 71960 else 53018 @@ -14052,14 +149 08,16 @@71961 @@ -14052,14 +14976,16 @@ 53019 71962 done 53020 71963 53021 71964 fi 53022 71965 -echo "$as_me:14055: result: $cf_cv_curses_acs_map" >&5 53023 +echo "$as_me:149 11: result: $cf_cv_curses_acs_map" >&571966 +echo "$as_me:14979: result: $cf_cv_curses_acs_map" >&5 53024 71967 echo "${ECHO_T}$cf_cv_curses_acs_map" >&6 53025 71968 … … 53031 71974 +if test "$cf_enable_widec" = yes; then 53032 71975 + 53033 +echo "$as_me:149 20: checking for wide alternate character set array" >&571976 +echo "$as_me:14988: checking for wide alternate character set array" >&5 53034 71977 echo $ECHO_N "checking for wide alternate character set array... $ECHO_C" >&6 53035 71978 if test "${cf_cv_curses_wacs_map+set}" = set; then 53036 71979 echo $ECHO_N "(cached) $ECHO_C" >&6 53037 @@ -14069,7 +149 27,7 @@71980 @@ -14069,7 +14995,7 @@ 53038 71981 for name in wacs_map _wacs_map __wacs_map _nc_wacs _wacs_char 53039 71982 do 53040 71983 cat >conftest.$ac_ext <<_ACEOF 53041 71984 -#line 14072 "configure" 53042 +#line 149 30"configure"71985 +#line 14998 "configure" 53043 71986 #include "confdefs.h" 53044 71987 53045 71988 #ifndef _XOPEN_SOURCE_EXTENDED 53046 @@ -14085,16 +1 4943,16 @@71989 @@ -14085,16 +15011,16 @@ 53047 71990 } 53048 71991 _ACEOF 53049 71992 rm -f conftest.$ac_objext conftest$ac_exeext 53050 71993 -if { (eval echo "$as_me:14088: \"$ac_link\"") >&5 53051 +if { (eval echo "$as_me:1 4946: \"$ac_link\"") >&571994 +if { (eval echo "$as_me:15014: \"$ac_link\"") >&5 53052 71995 (eval $ac_link) 2>&5 53053 71996 ac_status=$? 53054 71997 - echo "$as_me:14091: \$? = $ac_status" >&5 53055 + echo "$as_me:1 4949: \$? = $ac_status" >&571998 + echo "$as_me:15017: \$? = $ac_status" >&5 53056 71999 (exit $ac_status); } && 53057 72000 { ac_try='test -s conftest$ac_exeext' 53058 72001 - { (eval echo "$as_me:14094: \"$ac_try\"") >&5 53059 + { (eval echo "$as_me:1 4952: \"$ac_try\"") >&572002 + { (eval echo "$as_me:15020: \"$ac_try\"") >&5 53060 72003 (eval $ac_try) 2>&5 53061 72004 ac_status=$? 53062 72005 - echo "$as_me:14097: \$? = $ac_status" >&5 53063 + echo "$as_me:1 4955: \$? = $ac_status" >&572006 + echo "$as_me:15023: \$? = $ac_status" >&5 53064 72007 (exit $ac_status); }; }; then 53065 72008 cf_cv_curses_wacs_map=$name 53066 72009 break 53067 @@ -14105,14 +1 4963,14 @@72010 @@ -14105,14 +15031,14 @@ 53068 72011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 53069 72012 done 53070 72013 fi 53071 72014 -echo "$as_me:14108: result: $cf_cv_curses_wacs_map" >&5 53072 +echo "$as_me:1 4966: result: $cf_cv_curses_wacs_map" >&572015 +echo "$as_me:15034: result: $cf_cv_curses_wacs_map" >&5 53073 72016 echo "${ECHO_T}$cf_cv_curses_wacs_map" >&6 53074 72017 … … 53078 72021 53079 72022 -echo "$as_me:14115: checking for wide alternate character constants" >&5 53080 +echo "$as_me:1 4973: checking for wide alternate character constants" >&572023 +echo "$as_me:15041: checking for wide alternate character constants" >&5 53081 72024 echo $ECHO_N "checking for wide alternate character constants... $ECHO_C" >&6 53082 72025 if test "${cf_cv_curses_wacs_symbols+set}" = set; then 53083 72026 echo $ECHO_N "(cached) $ECHO_C" >&6 53084 @@ -14122,7 +1 4980,7 @@72027 @@ -14122,7 +15048,7 @@ 53085 72028 if test "$cf_cv_curses_wacs_map" != unknown 53086 72029 then 53087 72030 cat >conftest.$ac_ext <<_ACEOF 53088 72031 -#line 14125 "configure" 53089 +#line 1 4983"configure"72032 +#line 15051 "configure" 53090 72033 #include "confdefs.h" 53091 72034 53092 72035 #ifndef _XOPEN_SOURCE_EXTENDED 53093 @@ -14139,16 +1 4997,16 @@72036 @@ -14139,16 +15065,16 @@ 53094 72037 } 53095 72038 _ACEOF 53096 72039 rm -f conftest.$ac_objext conftest$ac_exeext 53097 72040 -if { (eval echo "$as_me:14142: \"$ac_link\"") >&5 53098 +if { (eval echo "$as_me:150 00: \"$ac_link\"") >&572041 +if { (eval echo "$as_me:15068: \"$ac_link\"") >&5 53099 72042 (eval $ac_link) 2>&5 53100 72043 ac_status=$? 53101 72044 - echo "$as_me:14145: \$? = $ac_status" >&5 53102 + echo "$as_me:150 03: \$? = $ac_status" >&572045 + echo "$as_me:15071: \$? = $ac_status" >&5 53103 72046 (exit $ac_status); } && 53104 72047 { ac_try='test -s conftest$ac_exeext' 53105 72048 - { (eval echo "$as_me:14148: \"$ac_try\"") >&5 53106 + { (eval echo "$as_me:150 06: \"$ac_try\"") >&572049 + { (eval echo "$as_me:15074: \"$ac_try\"") >&5 53107 72050 (eval $ac_try) 2>&5 53108 72051 ac_status=$? 53109 72052 - echo "$as_me:14151: \$? = $ac_status" >&5 53110 + echo "$as_me:150 09: \$? = $ac_status" >&572053 + echo "$as_me:15077: \$? = $ac_status" >&5 53111 72054 (exit $ac_status); }; }; then 53112 72055 cf_cv_curses_wacs_symbols=yes 53113 72056 else 53114 @@ -14158,7 +150 16,7 @@72057 @@ -14158,7 +15084,7 @@ 53115 72058 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 53116 72059 else 53117 72060 cat >conftest.$ac_ext <<_ACEOF 53118 72061 -#line 14161 "configure" 53119 +#line 150 19"configure"72062 +#line 15087 "configure" 53120 72063 #include "confdefs.h" 53121 72064 53122 72065 #ifndef _XOPEN_SOURCE_EXTENDED 53123 @@ -14174,16 +15 032,16 @@72066 @@ -14174,16 +15100,16 @@ 53124 72067 } 53125 72068 _ACEOF 53126 72069 rm -f conftest.$ac_objext conftest$ac_exeext 53127 72070 -if { (eval echo "$as_me:14177: \"$ac_link\"") >&5 53128 +if { (eval echo "$as_me:15 035: \"$ac_link\"") >&572071 +if { (eval echo "$as_me:15103: \"$ac_link\"") >&5 53129 72072 (eval $ac_link) 2>&5 53130 72073 ac_status=$? 53131 72074 - echo "$as_me:14180: \$? = $ac_status" >&5 53132 + echo "$as_me:15 038: \$? = $ac_status" >&572075 + echo "$as_me:15106: \$? = $ac_status" >&5 53133 72076 (exit $ac_status); } && 53134 72077 { ac_try='test -s conftest$ac_exeext' 53135 72078 - { (eval echo "$as_me:14183: \"$ac_try\"") >&5 53136 + { (eval echo "$as_me:15 041: \"$ac_try\"") >&572079 + { (eval echo "$as_me:15109: \"$ac_try\"") >&5 53137 72080 (eval $ac_try) 2>&5 53138 72081 ac_status=$? 53139 72082 - echo "$as_me:14186: \$? = $ac_status" >&5 53140 + echo "$as_me:15 044: \$? = $ac_status" >&572083 + echo "$as_me:15112: \$? = $ac_status" >&5 53141 72084 (exit $ac_status); }; }; then 53142 72085 cf_cv_curses_wacs_symbols=yes 53143 72086 else 53144 @@ -14194,17 +15 052,19 @@72087 @@ -14194,17 +15120,19 @@ 53145 72088 fi 53146 72089 53147 72090 fi 53148 72091 -echo "$as_me:14197: result: $cf_cv_curses_wacs_symbols" >&5 53149 +echo "$as_me:15 055: result: $cf_cv_curses_wacs_symbols" >&572092 +echo "$as_me:15123: result: $cf_cv_curses_wacs_symbols" >&5 53150 72093 echo "${ECHO_T}$cf_cv_curses_wacs_symbols" >&6 53151 72094 … … 53157 72100 +fi 53158 72101 + 53159 +echo "$as_me:15 064: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&572102 +echo "$as_me:15132: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53160 72103 echo $ECHO_N "checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53161 72104 cat >conftest.$ac_ext <<_ACEOF 53162 72105 -#line 14207 "configure" 53163 +#line 15 067"configure"72106 +#line 15135 "configure" 53164 72107 #include "confdefs.h" 53165 72108 53166 72109 #ifndef _XOPEN_SOURCE_EXTENDED 53167 @@ -14222,16 +15 082,16 @@72110 @@ -14222,16 +15150,16 @@ 53168 72111 } 53169 72112 _ACEOF 53170 72113 rm -f conftest.$ac_objext 53171 72114 -if { (eval echo "$as_me:14225: \"$ac_compile\"") >&5 53172 +if { (eval echo "$as_me:15 085: \"$ac_compile\"") >&572115 +if { (eval echo "$as_me:15153: \"$ac_compile\"") >&5 53173 72116 (eval $ac_compile) 2>&5 53174 72117 ac_status=$? 53175 72118 - echo "$as_me:14228: \$? = $ac_status" >&5 53176 + echo "$as_me:15 088: \$? = $ac_status" >&572119 + echo "$as_me:15156: \$? = $ac_status" >&5 53177 72120 (exit $ac_status); } && 53178 72121 { ac_try='test -s conftest.$ac_objext' 53179 72122 - { (eval echo "$as_me:14231: \"$ac_try\"") >&5 53180 + { (eval echo "$as_me:15 091: \"$ac_try\"") >&572123 + { (eval echo "$as_me:15159: \"$ac_try\"") >&5 53181 72124 (eval $ac_try) 2>&5 53182 72125 ac_status=$? 53183 72126 - echo "$as_me:14234: \$? = $ac_status" >&5 53184 + echo "$as_me:15 094: \$? = $ac_status" >&572127 + echo "$as_me:15162: \$? = $ac_status" >&5 53185 72128 (exit $ac_status); }; }; then 53186 72129 cf_result=yes 53187 72130 else 53188 @@ -14240,7 +151 00,7 @@72131 @@ -14240,7 +15168,7 @@ 53189 72132 cf_result=no 53190 72133 fi 53191 72134 rm -f conftest.$ac_objext conftest.$ac_ext 53192 72135 -echo "$as_me:14243: result: $cf_result" >&5 53193 +echo "$as_me:151 03: result: $cf_result" >&572136 +echo "$as_me:15171: result: $cf_result" >&5 53194 72137 echo "${ECHO_T}$cf_result" >&6 53195 72138 if test $cf_result = yes ; then 53196 72139 53197 @@ -14257,15 +151 17,17 @@72140 @@ -14257,15 +15185,17 @@ 53198 72141 53199 72142 fi … … 53203 72146 # This is needed on Tru64 5.0 to declare mbstate_t 53204 72147 -echo "$as_me:14261: checking if we must include wchar.h to declare mbstate_t" >&5 53205 +echo "$as_me:151 23: checking if we must include wchar.h to declare mbstate_t" >&572148 +echo "$as_me:15191: checking if we must include wchar.h to declare mbstate_t" >&5 53206 72149 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6 53207 72150 if test "${cf_cv_mbstate_t+set}" = set; then … … 53211 72154 cat >conftest.$ac_ext <<_ACEOF 53212 72155 -#line 14268 "configure" 53213 +#line 151 30"configure"72156 +#line 15198 "configure" 53214 72157 #include "confdefs.h" 53215 72158 53216 72159 #include <stdlib.h> 53217 @@ -14283,23 +15 145,23 @@72160 @@ -14283,23 +15213,23 @@ 53218 72161 } 53219 72162 _ACEOF 53220 72163 rm -f conftest.$ac_objext 53221 72164 -if { (eval echo "$as_me:14286: \"$ac_compile\"") >&5 53222 +if { (eval echo "$as_me:15 148: \"$ac_compile\"") >&572165 +if { (eval echo "$as_me:15216: \"$ac_compile\"") >&5 53223 72166 (eval $ac_compile) 2>&5 53224 72167 ac_status=$? 53225 72168 - echo "$as_me:14289: \$? = $ac_status" >&5 53226 + echo "$as_me:15 151: \$? = $ac_status" >&572169 + echo "$as_me:15219: \$? = $ac_status" >&5 53227 72170 (exit $ac_status); } && 53228 72171 { ac_try='test -s conftest.$ac_objext' 53229 72172 - { (eval echo "$as_me:14292: \"$ac_try\"") >&5 53230 + { (eval echo "$as_me:15 154: \"$ac_try\"") >&572173 + { (eval echo "$as_me:15222: \"$ac_try\"") >&5 53231 72174 (eval $ac_try) 2>&5 53232 72175 ac_status=$? 53233 72176 - echo "$as_me:14295: \$? = $ac_status" >&5 53234 + echo "$as_me:15 157: \$? = $ac_status" >&572177 + echo "$as_me:15225: \$? = $ac_status" >&5 53235 72178 (exit $ac_status); }; }; then 53236 72179 cf_cv_mbstate_t=no … … 53240 72183 cat >conftest.$ac_ext <<_ACEOF 53241 72184 -#line 14302 "configure" 53242 +#line 15 164"configure"72185 +#line 15232 "configure" 53243 72186 #include "confdefs.h" 53244 72187 53245 72188 #include <stdlib.h> 53246 @@ -14318,16 +15 180,16 @@72189 @@ -14318,16 +15248,16 @@ 53247 72190 } 53248 72191 _ACEOF 53249 72192 rm -f conftest.$ac_objext 53250 72193 -if { (eval echo "$as_me:14321: \"$ac_compile\"") >&5 53251 +if { (eval echo "$as_me:15 183: \"$ac_compile\"") >&572194 +if { (eval echo "$as_me:15251: \"$ac_compile\"") >&5 53252 72195 (eval $ac_compile) 2>&5 53253 72196 ac_status=$? 53254 72197 - echo "$as_me:14324: \$? = $ac_status" >&5 53255 + echo "$as_me:15 186: \$? = $ac_status" >&572198 + echo "$as_me:15254: \$? = $ac_status" >&5 53256 72199 (exit $ac_status); } && 53257 72200 { ac_try='test -s conftest.$ac_objext' 53258 72201 - { (eval echo "$as_me:14327: \"$ac_try\"") >&5 53259 + { (eval echo "$as_me:15 189: \"$ac_try\"") >&572202 + { (eval echo "$as_me:15257: \"$ac_try\"") >&5 53260 72203 (eval $ac_try) 2>&5 53261 72204 ac_status=$? 53262 72205 - echo "$as_me:14330: \$? = $ac_status" >&5 53263 + echo "$as_me:15 192: \$? = $ac_status" >&572206 + echo "$as_me:15260: \$? = $ac_status" >&5 53264 72207 (exit $ac_status); }; }; then 53265 72208 cf_cv_mbstate_t=yes 53266 72209 else 53267 @@ -14339,7 +152 01,7 @@72210 @@ -14339,7 +15269,7 @@ 53268 72211 fi 53269 72212 rm -f conftest.$ac_objext conftest.$ac_ext 53270 72213 fi 53271 72214 -echo "$as_me:14342: result: $cf_cv_mbstate_t" >&5 53272 +echo "$as_me:152 04: result: $cf_cv_mbstate_t" >&572215 +echo "$as_me:15272: result: $cf_cv_mbstate_t" >&5 53273 72216 echo "${ECHO_T}$cf_cv_mbstate_t" >&6 53274 72217 53275 72218 if test "$cf_cv_mbstate_t" = yes ; then 53276 @@ -14361,14 +152 23,14 @@72219 @@ -14361,14 +15291,14 @@ 53277 72220 fi 53278 72221 53279 72222 # This is needed on Tru64 5.0 to declare wchar_t 53280 72223 -echo "$as_me:14364: checking if we must include wchar.h to declare wchar_t" >&5 53281 +echo "$as_me:152 26: checking if we must include wchar.h to declare wchar_t" >&572224 +echo "$as_me:15294: checking if we must include wchar.h to declare wchar_t" >&5 53282 72225 echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 53283 72226 if test "${cf_cv_wchar_t+set}" = set; then … … 53287 72230 cat >conftest.$ac_ext <<_ACEOF 53288 72231 -#line 14371 "configure" 53289 +#line 15 233"configure"72232 +#line 15301 "configure" 53290 72233 #include "confdefs.h" 53291 72234 53292 72235 #include <stdlib.h> 53293 @@ -14386,23 +15 248,23 @@72236 @@ -14386,23 +15316,23 @@ 53294 72237 } 53295 72238 _ACEOF 53296 72239 rm -f conftest.$ac_objext 53297 72240 -if { (eval echo "$as_me:14389: \"$ac_compile\"") >&5 53298 +if { (eval echo "$as_me:15 251: \"$ac_compile\"") >&572241 +if { (eval echo "$as_me:15319: \"$ac_compile\"") >&5 53299 72242 (eval $ac_compile) 2>&5 53300 72243 ac_status=$? 53301 72244 - echo "$as_me:14392: \$? = $ac_status" >&5 53302 + echo "$as_me:15 254: \$? = $ac_status" >&572245 + echo "$as_me:15322: \$? = $ac_status" >&5 53303 72246 (exit $ac_status); } && 53304 72247 { ac_try='test -s conftest.$ac_objext' 53305 72248 - { (eval echo "$as_me:14395: \"$ac_try\"") >&5 53306 + { (eval echo "$as_me:15 257: \"$ac_try\"") >&572249 + { (eval echo "$as_me:15325: \"$ac_try\"") >&5 53307 72250 (eval $ac_try) 2>&5 53308 72251 ac_status=$? 53309 72252 - echo "$as_me:14398: \$? = $ac_status" >&5 53310 + echo "$as_me:15 260: \$? = $ac_status" >&572253 + echo "$as_me:15328: \$? = $ac_status" >&5 53311 72254 (exit $ac_status); }; }; then 53312 72255 cf_cv_wchar_t=no … … 53316 72259 cat >conftest.$ac_ext <<_ACEOF 53317 72260 -#line 14405 "configure" 53318 +#line 15 267"configure"72261 +#line 15335 "configure" 53319 72262 #include "confdefs.h" 53320 72263 53321 72264 #include <stdlib.h> 53322 @@ -14421,16 +15 283,16 @@72265 @@ -14421,16 +15351,16 @@ 53323 72266 } 53324 72267 _ACEOF 53325 72268 rm -f conftest.$ac_objext 53326 72269 -if { (eval echo "$as_me:14424: \"$ac_compile\"") >&5 53327 +if { (eval echo "$as_me:15 286: \"$ac_compile\"") >&572270 +if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5 53328 72271 (eval $ac_compile) 2>&5 53329 72272 ac_status=$? 53330 72273 - echo "$as_me:14427: \$? = $ac_status" >&5 53331 + echo "$as_me:15 289: \$? = $ac_status" >&572274 + echo "$as_me:15357: \$? = $ac_status" >&5 53332 72275 (exit $ac_status); } && 53333 72276 { ac_try='test -s conftest.$ac_objext' 53334 72277 - { (eval echo "$as_me:14430: \"$ac_try\"") >&5 53335 + { (eval echo "$as_me:15 292: \"$ac_try\"") >&572278 + { (eval echo "$as_me:15360: \"$ac_try\"") >&5 53336 72279 (eval $ac_try) 2>&5 53337 72280 ac_status=$? 53338 72281 - echo "$as_me:14433: \$? = $ac_status" >&5 53339 + echo "$as_me:15 295: \$? = $ac_status" >&572282 + echo "$as_me:15363: \$? = $ac_status" >&5 53340 72283 (exit $ac_status); }; }; then 53341 72284 cf_cv_wchar_t=yes 53342 72285 else 53343 @@ -14442,7 +153 04,7 @@72286 @@ -14442,7 +15372,7 @@ 53344 72287 fi 53345 72288 rm -f conftest.$ac_objext conftest.$ac_ext 53346 72289 fi 53347 72290 -echo "$as_me:14445: result: $cf_cv_wchar_t" >&5 53348 +echo "$as_me:153 07: result: $cf_cv_wchar_t" >&572291 +echo "$as_me:15375: result: $cf_cv_wchar_t" >&5 53349 72292 echo "${ECHO_T}$cf_cv_wchar_t" >&6 53350 72293 53351 72294 if test "$cf_cv_wchar_t" = yes ; then 53352 @@ -14464,14 +153 26,14 @@72295 @@ -14464,14 +15394,14 @@ 53353 72296 fi 53354 72297 53355 72298 # This is needed on Tru64 5.0 to declare wint_t 53356 72299 -echo "$as_me:14467: checking if we must include wchar.h to declare wint_t" >&5 53357 +echo "$as_me:153 29: checking if we must include wchar.h to declare wint_t" >&572300 +echo "$as_me:15397: checking if we must include wchar.h to declare wint_t" >&5 53358 72301 echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 53359 72302 if test "${cf_cv_wint_t+set}" = set; then … … 53363 72306 cat >conftest.$ac_ext <<_ACEOF 53364 72307 -#line 14474 "configure" 53365 +#line 15 336"configure"72308 +#line 15404 "configure" 53366 72309 #include "confdefs.h" 53367 72310 53368 72311 #include <stdlib.h> 53369 @@ -14489,23 +15 351,23 @@72312 @@ -14489,23 +15419,23 @@ 53370 72313 } 53371 72314 _ACEOF 53372 72315 rm -f conftest.$ac_objext 53373 72316 -if { (eval echo "$as_me:14492: \"$ac_compile\"") >&5 53374 +if { (eval echo "$as_me:15 354: \"$ac_compile\"") >&572317 +if { (eval echo "$as_me:15422: \"$ac_compile\"") >&5 53375 72318 (eval $ac_compile) 2>&5 53376 72319 ac_status=$? 53377 72320 - echo "$as_me:14495: \$? = $ac_status" >&5 53378 + echo "$as_me:15 357: \$? = $ac_status" >&572321 + echo "$as_me:15425: \$? = $ac_status" >&5 53379 72322 (exit $ac_status); } && 53380 72323 { ac_try='test -s conftest.$ac_objext' 53381 72324 - { (eval echo "$as_me:14498: \"$ac_try\"") >&5 53382 + { (eval echo "$as_me:15 360: \"$ac_try\"") >&572325 + { (eval echo "$as_me:15428: \"$ac_try\"") >&5 53383 72326 (eval $ac_try) 2>&5 53384 72327 ac_status=$? 53385 72328 - echo "$as_me:14501: \$? = $ac_status" >&5 53386 + echo "$as_me:15 363: \$? = $ac_status" >&572329 + echo "$as_me:15431: \$? = $ac_status" >&5 53387 72330 (exit $ac_status); }; }; then 53388 72331 cf_cv_wint_t=no … … 53392 72335 cat >conftest.$ac_ext <<_ACEOF 53393 72336 -#line 14508 "configure" 53394 +#line 15 370"configure"72337 +#line 15438 "configure" 53395 72338 #include "confdefs.h" 53396 72339 53397 72340 #include <stdlib.h> 53398 @@ -14524,16 +15 386,16 @@72341 @@ -14524,16 +15454,16 @@ 53399 72342 } 53400 72343 _ACEOF 53401 72344 rm -f conftest.$ac_objext 53402 72345 -if { (eval echo "$as_me:14527: \"$ac_compile\"") >&5 53403 +if { (eval echo "$as_me:15 389: \"$ac_compile\"") >&572346 +if { (eval echo "$as_me:15457: \"$ac_compile\"") >&5 53404 72347 (eval $ac_compile) 2>&5 53405 72348 ac_status=$? 53406 72349 - echo "$as_me:14530: \$? = $ac_status" >&5 53407 + echo "$as_me:15 392: \$? = $ac_status" >&572350 + echo "$as_me:15460: \$? = $ac_status" >&5 53408 72351 (exit $ac_status); } && 53409 72352 { ac_try='test -s conftest.$ac_objext' 53410 72353 - { (eval echo "$as_me:14533: \"$ac_try\"") >&5 53411 + { (eval echo "$as_me:15 395: \"$ac_try\"") >&572354 + { (eval echo "$as_me:15463: \"$ac_try\"") >&5 53412 72355 (eval $ac_try) 2>&5 53413 72356 ac_status=$? 53414 72357 - echo "$as_me:14536: \$? = $ac_status" >&5 53415 + echo "$as_me:15 398: \$? = $ac_status" >&572358 + echo "$as_me:15466: \$? = $ac_status" >&5 53416 72359 (exit $ac_status); }; }; then 53417 72360 cf_cv_wint_t=yes 53418 72361 else 53419 @@ -14545,7 +154 07,7 @@72362 @@ -14545,7 +15475,7 @@ 53420 72363 fi 53421 72364 rm -f conftest.$ac_objext conftest.$ac_ext 53422 72365 fi 53423 72366 -echo "$as_me:14548: result: $cf_cv_wint_t" >&5 53424 +echo "$as_me:154 10: result: $cf_cv_wint_t" >&572367 +echo "$as_me:15478: result: $cf_cv_wint_t" >&5 53425 72368 echo "${ECHO_T}$cf_cv_wint_t" >&6 53426 72369 53427 72370 if test "$cf_cv_wint_t" = yes ; then 53428 @@ -14566,12 +154 28,12 @@72371 @@ -14566,12 +15496,12 @@ 53429 72372 NCURSES_OK_WINT_T=1 53430 72373 fi … … 53434 72377 53435 72378 -echo "$as_me:14571: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53436 +echo "$as_me:15 433: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&572379 +echo "$as_me:15501: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53437 72380 echo $ECHO_N "checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53438 72381 cat >conftest.$ac_ext <<_ACEOF 53439 72382 -#line 14574 "configure" 53440 +#line 15 436"configure"72383 +#line 15504 "configure" 53441 72384 #include "confdefs.h" 53442 72385 53443 72386 #ifndef _XOPEN_SOURCE_EXTENDED 53444 @@ -14589,16 +15 451,16 @@72387 @@ -14589,16 +15519,16 @@ 53445 72388 } 53446 72389 _ACEOF 53447 72390 rm -f conftest.$ac_objext 53448 72391 -if { (eval echo "$as_me:14592: \"$ac_compile\"") >&5 53449 +if { (eval echo "$as_me:15 454: \"$ac_compile\"") >&572392 +if { (eval echo "$as_me:15522: \"$ac_compile\"") >&5 53450 72393 (eval $ac_compile) 2>&5 53451 72394 ac_status=$? 53452 72395 - echo "$as_me:14595: \$? = $ac_status" >&5 53453 + echo "$as_me:15 457: \$? = $ac_status" >&572396 + echo "$as_me:15525: \$? = $ac_status" >&5 53454 72397 (exit $ac_status); } && 53455 72398 { ac_try='test -s conftest.$ac_objext' 53456 72399 - { (eval echo "$as_me:14598: \"$ac_try\"") >&5 53457 + { (eval echo "$as_me:15 460: \"$ac_try\"") >&572400 + { (eval echo "$as_me:15528: \"$ac_try\"") >&5 53458 72401 (eval $ac_try) 2>&5 53459 72402 ac_status=$? 53460 72403 - echo "$as_me:14601: \$? = $ac_status" >&5 53461 + echo "$as_me:15 463: \$? = $ac_status" >&572404 + echo "$as_me:15531: \$? = $ac_status" >&5 53462 72405 (exit $ac_status); }; }; then 53463 72406 cf_result=yes 53464 72407 else 53465 @@ -14607,7 +15 469,7 @@72408 @@ -14607,7 +15537,7 @@ 53466 72409 cf_result=no 53467 72410 fi 53468 72411 rm -f conftest.$ac_objext conftest.$ac_ext 53469 72412 -echo "$as_me:14610: result: $cf_result" >&5 53470 +echo "$as_me:15 472: result: $cf_result" >&572413 +echo "$as_me:15540: result: $cf_result" >&5 53471 72414 echo "${ECHO_T}$cf_result" >&6 53472 72415 if test $cf_result = yes ; then 53473 72416 53474 @@ -14624,14 +15 486,14 @@72417 @@ -14624,14 +15554,14 @@ 53475 72418 53476 72419 fi … … 53483 72426 53484 72427 -echo "$as_me:14631: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53485 +echo "$as_me:15 493: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&572428 +echo "$as_me:15561: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53486 72429 echo $ECHO_N "checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53487 72430 cat >conftest.$ac_ext <<_ACEOF 53488 72431 -#line 14634 "configure" 53489 +#line 15 496"configure"72432 +#line 15564 "configure" 53490 72433 #include "confdefs.h" 53491 72434 53492 72435 #ifndef _XOPEN_SOURCE_EXTENDED 53493 @@ -14649,16 +155 11,16 @@72436 @@ -14649,16 +15579,16 @@ 53494 72437 } 53495 72438 _ACEOF 53496 72439 rm -f conftest.$ac_objext 53497 72440 -if { (eval echo "$as_me:14652: \"$ac_compile\"") >&5 53498 +if { (eval echo "$as_me:155 14: \"$ac_compile\"") >&572441 +if { (eval echo "$as_me:15582: \"$ac_compile\"") >&5 53499 72442 (eval $ac_compile) 2>&5 53500 72443 ac_status=$? 53501 72444 - echo "$as_me:14655: \$? = $ac_status" >&5 53502 + echo "$as_me:155 17: \$? = $ac_status" >&572445 + echo "$as_me:15585: \$? = $ac_status" >&5 53503 72446 (exit $ac_status); } && 53504 72447 { ac_try='test -s conftest.$ac_objext' 53505 72448 - { (eval echo "$as_me:14658: \"$ac_try\"") >&5 53506 + { (eval echo "$as_me:155 20: \"$ac_try\"") >&572449 + { (eval echo "$as_me:15588: \"$ac_try\"") >&5 53507 72450 (eval $ac_try) 2>&5 53508 72451 ac_status=$? 53509 72452 - echo "$as_me:14661: \$? = $ac_status" >&5 53510 + echo "$as_me:155 23: \$? = $ac_status" >&572453 + echo "$as_me:15591: \$? = $ac_status" >&5 53511 72454 (exit $ac_status); }; }; then 53512 72455 cf_result=yes 53513 72456 else 53514 @@ -14667,7 +155 29,7 @@72457 @@ -14667,7 +15597,7 @@ 53515 72458 cf_result=no 53516 72459 fi 53517 72460 rm -f conftest.$ac_objext conftest.$ac_ext 53518 72461 -echo "$as_me:14670: result: $cf_result" >&5 53519 +echo "$as_me:15 532: result: $cf_result" >&572462 +echo "$as_me:15600: result: $cf_result" >&5 53520 72463 echo "${ECHO_T}$cf_result" >&6 53521 72464 if test $cf_result = yes ; then 53522 72465 53523 @@ -14684,14 +15 546,14 @@72466 @@ -14684,14 +15614,14 @@ 53524 72467 53525 72468 fi … … 53532 72475 53533 72476 -echo "$as_me:14691: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53534 +echo "$as_me:15 553: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&572477 +echo "$as_me:15621: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5 53535 72478 echo $ECHO_N "checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53536 72479 cat >conftest.$ac_ext <<_ACEOF 53537 72480 -#line 14694 "configure" 53538 +#line 15 556"configure"72481 +#line 15624 "configure" 53539 72482 #include "confdefs.h" 53540 72483 53541 72484 #ifndef _XOPEN_SOURCE_EXTENDED 53542 @@ -14709,16 +15 571,16 @@72485 @@ -14709,16 +15639,16 @@ 53543 72486 } 53544 72487 _ACEOF 53545 72488 rm -f conftest.$ac_objext 53546 72489 -if { (eval echo "$as_me:14712: \"$ac_compile\"") >&5 53547 +if { (eval echo "$as_me:15 574: \"$ac_compile\"") >&572490 +if { (eval echo "$as_me:15642: \"$ac_compile\"") >&5 53548 72491 (eval $ac_compile) 2>&5 53549 72492 ac_status=$? 53550 72493 - echo "$as_me:14715: \$? = $ac_status" >&5 53551 + echo "$as_me:15 577: \$? = $ac_status" >&572494 + echo "$as_me:15645: \$? = $ac_status" >&5 53552 72495 (exit $ac_status); } && 53553 72496 { ac_try='test -s conftest.$ac_objext' 53554 72497 - { (eval echo "$as_me:14718: \"$ac_try\"") >&5 53555 + { (eval echo "$as_me:15 580: \"$ac_try\"") >&572498 + { (eval echo "$as_me:15648: \"$ac_try\"") >&5 53556 72499 (eval $ac_try) 2>&5 53557 72500 ac_status=$? 53558 72501 - echo "$as_me:14721: \$? = $ac_status" >&5 53559 + echo "$as_me:15 583: \$? = $ac_status" >&572502 + echo "$as_me:15651: \$? = $ac_status" >&5 53560 72503 (exit $ac_status); }; }; then 53561 72504 cf_result=yes 53562 72505 else 53563 @@ -14727,7 +15 589,7 @@72506 @@ -14727,7 +15657,7 @@ 53564 72507 cf_result=no 53565 72508 fi 53566 72509 rm -f conftest.$ac_objext conftest.$ac_ext 53567 72510 -echo "$as_me:14730: result: $cf_result" >&5 53568 +echo "$as_me:15 592: result: $cf_result" >&572511 +echo "$as_me:15660: result: $cf_result" >&5 53569 72512 echo "${ECHO_T}$cf_result" >&6 53570 72513 if test $cf_result = yes ; then 53571 72514 53572 @@ -14744,13 +156 06,14 @@72515 @@ -14744,13 +15674,14 @@ 53573 72516 53574 72517 fi … … 53578 72521 53579 72522 -echo "$as_me:14749: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 53580 +echo "$as_me:156 12: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&572523 +echo "$as_me:15680: checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 53581 72524 echo $ECHO_N "checking for data boolnames declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53582 72525 53583 72526 cat >conftest.$ac_ext <<_ACEOF 53584 72527 -#line 14753 "configure" 53585 +#line 156 16"configure"72528 +#line 15684 "configure" 53586 72529 #include "confdefs.h" 53587 72530 53588 72531 #ifdef HAVE_XCURSES 53589 @@ -14778,16 +15 641,16 @@72532 @@ -14778,16 +15709,16 @@ 53590 72533 } 53591 72534 _ACEOF 53592 72535 rm -f conftest.$ac_objext 53593 72536 -if { (eval echo "$as_me:14781: \"$ac_compile\"") >&5 53594 +if { (eval echo "$as_me:15 644: \"$ac_compile\"") >&572537 +if { (eval echo "$as_me:15712: \"$ac_compile\"") >&5 53595 72538 (eval $ac_compile) 2>&5 53596 72539 ac_status=$? 53597 72540 - echo "$as_me:14784: \$? = $ac_status" >&5 53598 + echo "$as_me:15 647: \$? = $ac_status" >&572541 + echo "$as_me:15715: \$? = $ac_status" >&5 53599 72542 (exit $ac_status); } && 53600 72543 { ac_try='test -s conftest.$ac_objext' 53601 72544 - { (eval echo "$as_me:14787: \"$ac_try\"") >&5 53602 + { (eval echo "$as_me:15 650: \"$ac_try\"") >&572545 + { (eval echo "$as_me:15718: \"$ac_try\"") >&5 53603 72546 (eval $ac_try) 2>&5 53604 72547 ac_status=$? 53605 72548 - echo "$as_me:14790: \$? = $ac_status" >&5 53606 + echo "$as_me:15 653: \$? = $ac_status" >&572549 + echo "$as_me:15721: \$? = $ac_status" >&5 53607 72550 (exit $ac_status); }; }; then 53608 72551 cf_result=yes 53609 72552 else 53610 @@ -14796,7 +15 659,7 @@72553 @@ -14796,7 +15727,7 @@ 53611 72554 cf_result=no 53612 72555 fi 53613 72556 rm -f conftest.$ac_objext conftest.$ac_ext 53614 72557 -echo "$as_me:14799: result: $cf_result" >&5 53615 +echo "$as_me:15 662: result: $cf_result" >&572558 +echo "$as_me:15730: result: $cf_result" >&5 53616 72559 echo "${ECHO_T}$cf_result" >&6 53617 72560 53618 72561 if test $cf_result = yes ; then 53619 @@ -14808,14 +15 671,14 @@72562 @@ -14808,14 +15739,14 @@ 53620 72563 EOF 53621 72564 53622 72565 else 53623 72566 - echo "$as_me:14811: checking for data boolnames in library" >&5 53624 + echo "$as_me:15 674: checking for data boolnames in library" >&572567 + echo "$as_me:15742: checking for data boolnames in library" >&5 53625 72568 echo $ECHO_N "checking for data boolnames in library... $ECHO_C" >&6 53626 72569 # BSD linkers insist on making weak linkage, but resolve at runtime. … … 53630 72573 cat >conftest.$ac_ext <<_ACEOF 53631 72574 -#line 14818 "configure" 53632 +#line 15 681"configure"72575 +#line 15749 "configure" 53633 72576 #include "confdefs.h" 53634 72577 53635 72578 #ifdef HAVE_XCURSES 53636 @@ -14847,16 +157 10,16 @@72579 @@ -14847,16 +15778,16 @@ 53637 72580 } 53638 72581 _ACEOF 53639 72582 rm -f conftest.$ac_objext conftest$ac_exeext 53640 72583 -if { (eval echo "$as_me:14850: \"$ac_link\"") >&5 53641 +if { (eval echo "$as_me:157 13: \"$ac_link\"") >&572584 +if { (eval echo "$as_me:15781: \"$ac_link\"") >&5 53642 72585 (eval $ac_link) 2>&5 53643 72586 ac_status=$? 53644 72587 - echo "$as_me:14853: \$? = $ac_status" >&5 53645 + echo "$as_me:157 16: \$? = $ac_status" >&572588 + echo "$as_me:15784: \$? = $ac_status" >&5 53646 72589 (exit $ac_status); } && 53647 72590 { ac_try='test -s conftest$ac_exeext' 53648 72591 - { (eval echo "$as_me:14856: \"$ac_try\"") >&5 53649 + { (eval echo "$as_me:157 19: \"$ac_try\"") >&572592 + { (eval echo "$as_me:15787: \"$ac_try\"") >&5 53650 72593 (eval $ac_try) 2>&5 53651 72594 ac_status=$? 53652 72595 - echo "$as_me:14859: \$? = $ac_status" >&5 53653 + echo "$as_me:157 22: \$? = $ac_status" >&572596 + echo "$as_me:15790: \$? = $ac_status" >&5 53654 72597 (exit $ac_status); }; }; then 53655 72598 cf_result=yes 53656 72599 else 53657 @@ -14868,7 +157 31,7 @@72600 @@ -14868,7 +15799,7 @@ 53658 72601 53659 72602 else 53660 72603 cat >conftest.$ac_ext <<_ACEOF 53661 72604 -#line 14871 "configure" 53662 +#line 15 734"configure"72605 +#line 15802 "configure" 53663 72606 #include "confdefs.h" 53664 72607 53665 72608 #ifdef HAVE_XCURSES 53666 @@ -14893,15 +15 756,15 @@72609 @@ -14893,15 +15824,15 @@ 53667 72610 } 53668 72611 _ACEOF 53669 72612 rm -f conftest$ac_exeext 53670 72613 -if { (eval echo "$as_me:14896: \"$ac_link\"") >&5 53671 +if { (eval echo "$as_me:15 759: \"$ac_link\"") >&572614 +if { (eval echo "$as_me:15827: \"$ac_link\"") >&5 53672 72615 (eval $ac_link) 2>&5 53673 72616 ac_status=$? 53674 72617 - echo "$as_me:14899: \$? = $ac_status" >&5 53675 + echo "$as_me:15 762: \$? = $ac_status" >&572618 + echo "$as_me:15830: \$? = $ac_status" >&5 53676 72619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 53677 72620 - { (eval echo "$as_me:14901: \"$ac_try\"") >&5 53678 + { (eval echo "$as_me:15 764: \"$ac_try\"") >&572621 + { (eval echo "$as_me:15832: \"$ac_try\"") >&5 53679 72622 (eval $ac_try) 2>&5 53680 72623 ac_status=$? 53681 72624 - echo "$as_me:14904: \$? = $ac_status" >&5 53682 + echo "$as_me:15 767: \$? = $ac_status" >&572625 + echo "$as_me:15835: \$? = $ac_status" >&5 53683 72626 (exit $ac_status); }; }; then 53684 72627 cf_result=yes 53685 72628 else 53686 @@ -14912,7 +15 775,7 @@72629 @@ -14912,7 +15843,7 @@ 53687 72630 fi 53688 72631 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 53689 72632 fi 53690 72633 - echo "$as_me:14915: result: $cf_result" >&5 53691 + echo "$as_me:15 778: result: $cf_result" >&572634 + echo "$as_me:15846: result: $cf_result" >&5 53692 72635 echo "${ECHO_T}$cf_result" >&6 53693 72636 if test $cf_result = yes ; then 53694 72637 53695 @@ -14925,11 +15 788,11 @@72638 @@ -14925,11 +15856,11 @@ 53696 72639 fi 53697 72640 fi 53698 72641 53699 72642 -echo "$as_me:14928: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 53700 +echo "$as_me:15 791: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&572643 +echo "$as_me:15859: checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 53701 72644 echo $ECHO_N "checking for data boolfnames declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 53702 72645 53703 72646 cat >conftest.$ac_ext <<_ACEOF 53704 72647 -#line 14932 "configure" 53705 +#line 15 795"configure"72648 +#line 15863 "configure" 53706 72649 #include "confdefs.h" 53707 72650 53708 72651 #ifdef HAVE_XCURSES 53709 @@ -14957,16 +158 20,16 @@72652 @@ -14957,16 +15888,16 @@ 53710 72653 } 53711 72654 _ACEOF 53712 72655 rm -f conftest.$ac_objext 53713 72656 -if { (eval echo "$as_me:14960: \"$ac_compile\"") >&5 53714 +if { (eval echo "$as_me:158 23: \"$ac_compile\"") >&572657 +if { (eval echo "$as_me:15891: \"$ac_compile\"") >&5 53715 72658 (eval $ac_compile) 2>&5 53716 72659 ac_status=$? 53717 72660 - echo "$as_me:14963: \$? = $ac_status" >&5 53718 + echo "$as_me:158 26: \$? = $ac_status" >&572661 + echo "$as_me:15894: \$? = $ac_status" >&5 53719 72662 (exit $ac_status); } && 53720 72663 { ac_try='test -s conftest.$ac_objext' 53721 72664 - { (eval echo "$as_me:14966: \"$ac_try\"") >&5 53722 + { (eval echo "$as_me:158 29: \"$ac_try\"") >&572665 + { (eval echo "$as_me:15897: \"$ac_try\"") >&5 53723 72666 (eval $ac_try) 2>&5 53724 72667 ac_status=$? 53725 72668 - echo "$as_me:14969: \$? = $ac_status" >&5 53726 + echo "$as_me:15 832: \$? = $ac_status" >&572669 + echo "$as_me:15900: \$? = $ac_status" >&5 53727 72670 (exit $ac_status); }; }; then 53728 72671 cf_result=yes 53729 72672 else 53730 @@ -14975,7 +15 838,7 @@72673 @@ -14975,7 +15906,7 @@ 53731 72674 cf_result=no 53732 72675 fi 53733 72676 rm -f conftest.$ac_objext conftest.$ac_ext 53734 72677 -echo "$as_me:14978: result: $cf_result" >&5 53735 +echo "$as_me:15 841: result: $cf_result" >&572678 +echo "$as_me:15909: result: $cf_result" >&5 53736 72679 echo "${ECHO_T}$cf_result" >&6 53737 72680 53738 72681 if test $cf_result = yes ; then 53739 @@ -14987,14 +15 850,14 @@72682 @@ -14987,14 +15918,14 @@ 53740 72683 EOF 53741 72684 53742 72685 else 53743 72686 - echo "$as_me:14990: checking for data boolfnames in library" >&5 53744 + echo "$as_me:15 853: checking for data boolfnames in library" >&572687 + echo "$as_me:15921: checking for data boolfnames in library" >&5 53745 72688 echo $ECHO_N "checking for data boolfnames in library... $ECHO_C" >&6 53746 72689 # BSD linkers insist on making weak linkage, but resolve at runtime. … … 53750 72693 cat >conftest.$ac_ext <<_ACEOF 53751 72694 -#line 14997 "configure" 53752 +#line 15 860"configure"72695 +#line 15928 "configure" 53753 72696 #include "confdefs.h" 53754 72697 53755 72698 #ifdef HAVE_XCURSES 53756 @@ -15026,16 +15 889,16 @@72699 @@ -15026,16 +15957,16 @@ 53757 72700 } 53758 72701 _ACEOF 53759 72702 rm -f conftest.$ac_objext conftest$ac_exeext 53760 72703 -if { (eval echo "$as_me:15029: \"$ac_link\"") >&5 53761 +if { (eval echo "$as_me:15 892: \"$ac_link\"") >&572704 +if { (eval echo "$as_me:15960: \"$ac_link\"") >&5 53762 72705 (eval $ac_link) 2>&5 53763 72706 ac_status=$? 53764 72707 - echo "$as_me:15032: \$? = $ac_status" >&5 53765 + echo "$as_me:15 895: \$? = $ac_status" >&572708 + echo "$as_me:15963: \$? = $ac_status" >&5 53766 72709 (exit $ac_status); } && 53767 72710 { ac_try='test -s conftest$ac_exeext' 53768 72711 - { (eval echo "$as_me:15035: \"$ac_try\"") >&5 53769 + { (eval echo "$as_me:15 898: \"$ac_try\"") >&572712 + { (eval echo "$as_me:15966: \"$ac_try\"") >&5 53770 72713 (eval $ac_try) 2>&5 53771 72714 ac_status=$? 53772 72715 - echo "$as_me:15038: \$? = $ac_status" >&5 53773 + echo "$as_me:159 01: \$? = $ac_status" >&572716 + echo "$as_me:15969: \$? = $ac_status" >&5 53774 72717 (exit $ac_status); }; }; then 53775 72718 cf_result=yes 53776 72719 else 53777 @@ -15047,7 +159 10,7 @@72720 @@ -15047,7 +15978,7 @@ 53778 72721 53779 72722 else 53780 72723 cat >conftest.$ac_ext <<_ACEOF 53781 72724 -#line 15050 "configure" 53782 +#line 159 13"configure"72725 +#line 15981 "configure" 53783 72726 #include "confdefs.h" 53784 72727 53785 72728 #ifdef HAVE_XCURSES 53786 @@ -15072,15 +1 5935,15 @@72729 @@ -15072,15 +16003,15 @@ 53787 72730 } 53788 72731 _ACEOF 53789 72732 rm -f conftest$ac_exeext 53790 72733 -if { (eval echo "$as_me:15075: \"$ac_link\"") >&5 53791 +if { (eval echo "$as_me:1 5938: \"$ac_link\"") >&572734 +if { (eval echo "$as_me:16006: \"$ac_link\"") >&5 53792 72735 (eval $ac_link) 2>&5 53793 72736 ac_status=$? 53794 72737 - echo "$as_me:15078: \$? = $ac_status" >&5 53795 + echo "$as_me:1 5941: \$? = $ac_status" >&572738 + echo "$as_me:16009: \$? = $ac_status" >&5 53796 72739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 53797 72740 - { (eval echo "$as_me:15080: \"$ac_try\"") >&5 53798 + { (eval echo "$as_me:1 5943: \"$ac_try\"") >&572741 + { (eval echo "$as_me:16011: \"$ac_try\"") >&5 53799 72742 (eval $ac_try) 2>&5 53800 72743 ac_status=$? 53801 72744 - echo "$as_me:15083: \$? = $ac_status" >&5 53802 + echo "$as_me:1 5946: \$? = $ac_status" >&572745 + echo "$as_me:16014: \$? = $ac_status" >&5 53803 72746 (exit $ac_status); }; }; then 53804 72747 cf_result=yes 53805 72748 else 53806 @@ -15091,7 +1 5954,7 @@72749 @@ -15091,7 +16022,7 @@ 53807 72750 fi 53808 72751 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 53809 72752 fi 53810 72753 - echo "$as_me:15094: result: $cf_result" >&5 53811 + echo "$as_me:1 5957: result: $cf_result" >&572754 + echo "$as_me:16025: result: $cf_result" >&5 53812 72755 echo "${ECHO_T}$cf_result" >&6 53813 72756 if test $cf_result = yes ; then 53814 72757 53815 @@ -15104,6 +1 5967,335 @@72758 @@ -15104,6 +16035,335 @@ 53816 72759 fi 53817 72760 fi 53818 72761 53819 72762 +LD_RPATH_OPT= 53820 +echo "$as_me:1 5971: checking for an rpath option" >&572763 +echo "$as_me:16039: checking for an rpath option" >&5 53821 72764 +echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 53822 72765 +case $cf_cv_system_name in #(vi … … 53849 72792 + ;; 53850 72793 +esac 53851 +echo "$as_me:160 02: result: $LD_RPATH_OPT" >&572794 +echo "$as_me:16070: result: $LD_RPATH_OPT" >&5 53852 72795 +echo "${ECHO_T}$LD_RPATH_OPT" >&6 53853 72796 + 53854 72797 +case "x$LD_RPATH_OPT" in #(vi 53855 72798 +x-R*) 53856 + echo "$as_me:160 07: checking if we need a space after rpath option" >&572799 + echo "$as_me:16075: checking if we need a space after rpath option" >&5 53857 72800 +echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6 53858 72801 + cf_save_LIBS="$LIBS" 53859 72802 + LIBS="${LD_RPATH_OPT}$libdir $LIBS" 53860 72803 + cat >conftest.$ac_ext <<_ACEOF 53861 +#line 160 12"configure"72804 +#line 16080 "configure" 53862 72805 +#include "confdefs.h" 53863 72806 + … … 53871 72814 +_ACEOF 53872 72815 +rm -f conftest.$ac_objext conftest$ac_exeext 53873 +if { (eval echo "$as_me:160 24: \"$ac_link\"") >&572816 +if { (eval echo "$as_me:16092: \"$ac_link\"") >&5 53874 72817 + (eval $ac_link) 2>&5 53875 72818 + ac_status=$? 53876 + echo "$as_me:160 27: \$? = $ac_status" >&572819 + echo "$as_me:16095: \$? = $ac_status" >&5 53877 72820 + (exit $ac_status); } && 53878 72821 + { ac_try='test -s conftest$ac_exeext' 53879 + { (eval echo "$as_me:160 30: \"$ac_try\"") >&572822 + { (eval echo "$as_me:16098: \"$ac_try\"") >&5 53880 72823 + (eval $ac_try) 2>&5 53881 72824 + ac_status=$? 53882 + echo "$as_me:16 033: \$? = $ac_status" >&572825 + echo "$as_me:16101: \$? = $ac_status" >&5 53883 72826 + (exit $ac_status); }; }; then 53884 72827 + cf_rpath_space=no … … 53890 72833 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 53891 72834 + LIBS="$cf_save_LIBS" 53892 + echo "$as_me:16 043: result: $cf_rpath_space" >&572835 + echo "$as_me:16111: result: $cf_rpath_space" >&5 53893 72836 +echo "${ECHO_T}$cf_rpath_space" >&6 53894 72837 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " … … 53896 72839 +esac 53897 72840 + 53898 +echo "$as_me:16 049: checking if rpath-hack should be disabled" >&572841 +echo "$as_me:16117: checking if rpath-hack should be disabled" >&5 53899 72842 +echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6 53900 72843 + … … 53913 72856 + 53914 72857 +fi; 53915 +echo "$as_me:16 066: result: $cf_disable_rpath_hack" >&572858 +echo "$as_me:16134: result: $cf_disable_rpath_hack" >&5 53916 72859 +echo "${ECHO_T}$cf_disable_rpath_hack" >&6 53917 72860 +if test "$cf_disable_rpath_hack" = no ; then 53918 72861 + 53919 +echo "$as_me:16 070: checking for updated LDFLAGS" >&572862 +echo "$as_me:16138: checking for updated LDFLAGS" >&5 53920 72863 +echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6 53921 72864 +if test -n "$LD_RPATH_OPT" ; then 53922 + echo "$as_me:16 073: result: maybe" >&572865 + echo "$as_me:16141: result: maybe" >&5 53923 72866 +echo "${ECHO_T}maybe" >&6 53924 72867 + … … 53927 72870 + # Extract the first word of "$ac_prog", so it can be a program name with args. 53928 72871 +set dummy $ac_prog; ac_word=$2 53929 +echo "$as_me:16 080: checking for $ac_word" >&572872 +echo "$as_me:16148: checking for $ac_word" >&5 53930 72873 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 53931 72874 +if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then … … 53942 72885 + $as_executable_p "$ac_dir/$ac_word" || continue 53943 72886 +ac_cv_prog_cf_ldd_prog="$ac_prog" 53944 +echo "$as_me:16 095: found $ac_dir/$ac_word" >&572887 +echo "$as_me:16163: found $ac_dir/$ac_word" >&5 53945 72888 +break 53946 72889 +done … … 53950 72893 +cf_ldd_prog=$ac_cv_prog_cf_ldd_prog 53951 72894 +if test -n "$cf_ldd_prog"; then 53952 + echo "$as_me:161 03: result: $cf_ldd_prog" >&572895 + echo "$as_me:16171: result: $cf_ldd_prog" >&5 53953 72896 +echo "${ECHO_T}$cf_ldd_prog" >&6 53954 72897 +else 53955 + echo "$as_me:161 06: result: no" >&572898 + echo "$as_me:16174: result: no" >&5 53956 72899 +echo "${ECHO_T}no" >&6 53957 72900 +fi … … 53967 72910 + 53968 72911 +cat >conftest.$ac_ext <<_ACEOF 53969 +#line 161 20"configure"72912 +#line 16188 "configure" 53970 72913 +#include "confdefs.h" 53971 72914 +#include <stdio.h> … … 53979 72922 +_ACEOF 53980 72923 +rm -f conftest.$ac_objext conftest$ac_exeext 53981 +if { (eval echo "$as_me:16 132: \"$ac_link\"") >&572924 +if { (eval echo "$as_me:16200: \"$ac_link\"") >&5 53982 72925 + (eval $ac_link) 2>&5 53983 72926 + ac_status=$? 53984 + echo "$as_me:16 135: \$? = $ac_status" >&572927 + echo "$as_me:16203: \$? = $ac_status" >&5 53985 72928 + (exit $ac_status); } && 53986 72929 + { ac_try='test -s conftest$ac_exeext' 53987 + { (eval echo "$as_me:16 138: \"$ac_try\"") >&572930 + { (eval echo "$as_me:16206: \"$ac_try\"") >&5 53988 72931 + (eval $ac_try) 2>&5 53989 72932 + ac_status=$? 53990 + echo "$as_me:16 141: \$? = $ac_status" >&572933 + echo "$as_me:16209: \$? = $ac_status" >&5 53991 72934 + (exit $ac_status); }; }; then 53992 72935 + cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort -u` … … 54016 72959 + test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 54017 72960 + 54018 +echo "${as_me:-configure}:16 169: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&572961 +echo "${as_me:-configure}:16237: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 54019 72962 + 54020 72963 + LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" … … 54028 72971 + test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 54029 72972 + 54030 +echo "${as_me:-configure}:16 181: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&572973 +echo "${as_me:-configure}:16249: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 54031 72974 + 54032 72975 +test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 54033 72976 + 54034 +echo "${as_me:-configure}:16 185: testing ...checking LDFLAGS $LDFLAGS ..." 1>&572977 +echo "${as_me:-configure}:16253: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 54035 72978 + 54036 72979 +cf_rpath_dst= … … 54069 73012 + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 54070 73013 + 54071 +echo "${as_me:-configure}:162 22: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&573014 +echo "${as_me:-configure}:16290: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 54072 73015 + 54073 73016 + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" … … 54082 73025 +test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 54083 73026 + 54084 +echo "${as_me:-configure}:16 235: testing ...checked LDFLAGS $LDFLAGS ..." 1>&573027 +echo "${as_me:-configure}:16303: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 54085 73028 + 54086 73029 +test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 54087 73030 + 54088 +echo "${as_me:-configure}:16 239: testing ...checking LIBS $LIBS ..." 1>&573031 +echo "${as_me:-configure}:16307: testing ...checking LIBS $LIBS ..." 1>&5 54089 73032 + 54090 73033 +cf_rpath_dst= … … 54123 73066 + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 54124 73067 + 54125 +echo "${as_me:-configure}:16 276: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&573068 +echo "${as_me:-configure}:16344: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 54126 73069 + 54127 73070 + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" … … 54136 73079 +test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 54137 73080 + 54138 +echo "${as_me:-configure}:16 289: testing ...checked LIBS $LIBS ..." 1>&573081 +echo "${as_me:-configure}:16357: testing ...checked LIBS $LIBS ..." 1>&5 54139 73082 + 54140 73083 + test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 54141 73084 + 54142 +echo "${as_me:-configure}:16 293: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&573085 +echo "${as_me:-configure}:16361: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 54143 73086 + 54144 73087 +fi … … 54149 73092 LIBS= 54150 73093 54151 @@ -15188,7 +16 380,7 @@73094 @@ -15188,7 +16448,7 @@ 54152 73095 : ${CONFIG_STATUS=./config.status} 54153 73096 ac_clean_files_save=$ac_clean_files 54154 73097 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 54155 73098 -{ echo "$as_me:15191: creating $CONFIG_STATUS" >&5 54156 +{ echo "$as_me:16 383: creating $CONFIG_STATUS" >&573099 +{ echo "$as_me:16451: creating $CONFIG_STATUS" >&5 54157 73100 echo "$as_me: creating $CONFIG_STATUS" >&6;} 54158 73101 cat >$CONFIG_STATUS <<_ACEOF 54159 73102 #! $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 @@ 54161 73113 echo "$ac_cs_version"; exit 0 ;; 54162 73114 --he | --h) 54163 73115 # Conflict between --help and --header 54164 73116 - { { echo "$as_me:15367: error: ambiguous option: $1 54165 + { { echo "$as_me:16 559: error: ambiguous option: $173117 + { { echo "$as_me:16627: error: ambiguous option: $1 54166 73118 Try \`$0 --help' for more information." >&5 54167 73119 echo "$as_me: error: ambiguous option: $1 54168 73120 Try \`$0 --help' for more information." >&2;} 54169 @@ -15383,7 +16 575,7 @@73121 @@ -15383,7 +16643,7 @@ 54170 73122 ac_need_defaults=false;; 54171 73123 54172 73124 # This is an error. 54173 73125 - -*) { { echo "$as_me:15386: error: unrecognized option: $1 54174 + -*) { { echo "$as_me:16 578: error: unrecognized option: $173126 + -*) { { echo "$as_me:16646: error: unrecognized option: $1 54175 73127 Try \`$0 --help' for more information." >&5 54176 73128 echo "$as_me: error: unrecognized option: $1 54177 73129 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 @@ 54179 73150 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 54180 73151 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 54181 73152 "ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ncurses_cfg.h:ncurses_tst.hin" ;; 54182 73153 - *) { { echo "$as_me:15434: error: invalid argument: $ac_config_target" >&5 54183 + *) { { echo "$as_me:166 26: error: invalid argument: $ac_config_target" >&573154 + *) { { echo "$as_me:16696: error: invalid argument: $ac_config_target" >&5 54184 73155 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 54185 73156 { (exit 1); exit 1; }; };; 54186 73157 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 @@ 54188 73167 s,@MAKE_LOWER_TAGS@,$MAKE_LOWER_TAGS,;t t 54189 73168 s,@MAKE_UPPER_TAGS@,$MAKE_UPPER_TAGS,;t t … … 54193 73172 s,@CC_SHARED_OPTS@,$CC_SHARED_OPTS,;t t 54194 73173 s,@DFT_DEP_SUFFIX@,$DFT_DEP_SUFFIX,;t t 54195 @@ -15561,7 +16 754,8 @@73174 @@ -15561,7 +16825,8 @@ 54196 73175 s,@TEST_ARGS@,$TEST_ARGS,;t t 54197 73176 s,@TEST_DEPS@,$TEST_DEPS,;t t … … 54203 73182 s,@cf_cv_rel_version@,$cf_cv_rel_version,;t t 54204 73183 s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t 54205 @@ -15572,6 +16 766,7 @@73184 @@ -15572,6 +16837,7 @@ 54206 73185 s,@ECHO_CC@,$ECHO_CC,;t t 54207 73186 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t … … 54211 73190 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 54212 73191 s,@X_CFLAGS@,$X_CFLAGS,;t t 54213 @@ -15579,7 +16 774,10 @@73192 @@ -15579,7 +16845,10 @@ 54214 73193 s,@X_LIBS@,$X_LIBS,;t t 54215 73194 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t … … 54222 73201 54223 73202 EOF 54224 @@ -15694,7 +16 892,7 @@73203 @@ -15694,7 +16963,7 @@ 54225 73204 esac 54226 73205 54227 73206 if test x"$ac_file" != x-; then 54228 73207 - { echo "$as_me:15697: creating $ac_file" >&5 54229 + { echo "$as_me:16 895: creating $ac_file" >&573208 + { echo "$as_me:16966: creating $ac_file" >&5 54230 73209 echo "$as_me: creating $ac_file" >&6;} 54231 73210 rm -f "$ac_file" 54232 73211 fi 54233 @@ -15712,7 +169 10,7 @@73212 @@ -15712,7 +16981,7 @@ 54234 73213 -) echo $tmp/stdin ;; 54235 73214 [\\/$]*) 54236 73215 # Absolute (can't be DOS-style, as IFS=:) 54237 73216 - test -f "$f" || { { echo "$as_me:15715: error: cannot find input file: $f" >&5 54238 + test -f "$f" || { { echo "$as_me:169 13: error: cannot find input file: $f" >&573217 + test -f "$f" || { { echo "$as_me:16984: error: cannot find input file: $f" >&5 54239 73218 echo "$as_me: error: cannot find input file: $f" >&2;} 54240 73219 { (exit 1); exit 1; }; } 54241 73220 echo $f;; 54242 @@ -15725,7 +169 23,7 @@73221 @@ -15725,7 +16994,7 @@ 54243 73222 echo $srcdir/$f 54244 73223 else 54245 73224 # /dev/null tree 54246 73225 - { { echo "$as_me:15728: error: cannot find input file: $f" >&5 54247 + { { echo "$as_me:169 26: error: cannot find input file: $f" >&573226 + { { echo "$as_me:16997: error: cannot find input file: $f" >&5 54248 73227 echo "$as_me: error: cannot find input file: $f" >&2;} 54249 73228 { (exit 1); exit 1; }; } 54250 73229 fi;; 54251 @@ -15791,7 +1 6989,7 @@73230 @@ -15791,7 +17060,7 @@ 54252 73231 * ) ac_file_in=$ac_file.in ;; 54253 73232 esac 54254 73233 54255 73234 - test x"$ac_file" != x- && { echo "$as_me:15794: creating $ac_file" >&5 54256 + test x"$ac_file" != x- && { echo "$as_me:1 6992: creating $ac_file" >&573235 + test x"$ac_file" != x- && { echo "$as_me:17063: creating $ac_file" >&5 54257 73236 echo "$as_me: creating $ac_file" >&6;} 54258 73237 54259 73238 # First look for the input files in the build tree, otherwise in the 54260 @@ -15802,7 +170 00,7 @@73239 @@ -15802,7 +17071,7 @@ 54261 73240 -) echo $tmp/stdin ;; 54262 73241 [\\/$]*) 54263 73242 # Absolute (can't be DOS-style, as IFS=:) 54264 73243 - test -f "$f" || { { echo "$as_me:15805: error: cannot find input file: $f" >&5 54265 + test -f "$f" || { { echo "$as_me:170 03: error: cannot find input file: $f" >&573244 + test -f "$f" || { { echo "$as_me:17074: error: cannot find input file: $f" >&5 54266 73245 echo "$as_me: error: cannot find input file: $f" >&2;} 54267 73246 { (exit 1); exit 1; }; } 54268 73247 echo $f;; 54269 @@ -15815,7 +170 13,7 @@73248 @@ -15815,7 +17084,7 @@ 54270 73249 echo $srcdir/$f 54271 73250 else 54272 73251 # /dev/null tree 54273 73252 - { { echo "$as_me:15818: error: cannot find input file: $f" >&5 54274 + { { echo "$as_me:170 16: error: cannot find input file: $f" >&573253 + { { echo "$as_me:17087: error: cannot find input file: $f" >&5 54275 73254 echo "$as_me: error: cannot find input file: $f" >&2;} 54276 73255 { (exit 1); exit 1; }; } 54277 73256 fi;; 54278 @@ -15873,7 +17 071,7 @@73257 @@ -15873,7 +17142,7 @@ 54279 73258 rm -f $tmp/in 54280 73259 if test x"$ac_file" != x-; then 54281 73260 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 54282 73261 - { echo "$as_me:15876: $ac_file is unchanged" >&5 54283 + { echo "$as_me:17 074: $ac_file is unchanged" >&573262 + { echo "$as_me:17145: $ac_file is unchanged" >&5 54284 73263 echo "$as_me: $ac_file is unchanged" >&6;} 54285 73264 else 54286 73265 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 54287 73276 diff -Naur ncurses-5.9.orig/test/configure.in ncurses-5.9/test/configure.in 54288 --- ncurses-5.9.orig/test/configure.in 2012-0 2-16 18:25:12.635809407+000054289 +++ ncurses-5.9/test/configure.in 2012-0 2-16 18:25:13.215824712+000073277 --- 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 54290 73279 @@ -1,5 +1,5 @@ 54291 73280 dnl*************************************************************************** … … 54300 73289 dnl 54301 73290 -dnl $Id: configure.in,v 1.90 2011/03/22 09:15:08 tom Exp $ 54302 +dnl $Id: configure.in,v 1.10 3 2012/01/21 23:55:49tom Exp $73291 +dnl $Id: configure.in,v 1.104 2012/03/17 17:29:03 tom Exp $ 54303 73292 dnl This is a simple configuration-script for the ncurses test programs that 54304 73293 dnl allows the test-directory to be separately configured against a reference … … 54539 73528 LIBS= 54540 73529 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) 73548 diff -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) 54541 73622 diff -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-0 2-16 18:25:12.635809407+000054543 +++ ncurses-5.9/test/demo_menus.c 2012-0 2-16 18:25:13.155823127+000073623 --- 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 54544 73625 @@ -1,5 +1,5 @@ 54545 73626 /**************************************************************************** … … 54554 73635 /* 54555 73636 - * $Id: demo_menus.c,v 1.32 2011/01/15 20:02:47 tom Exp $ 54556 + * $Id: demo_menus.c,v 1.3 3 2012/01/14 17:20:39tom Exp $73637 + * $Id: demo_menus.c,v 1.34 2012/06/09 20:30:33 tom Exp $ 54557 73638 * 54558 73639 * Demonstrate a variety of functions from the menu library. 54559 73640 * 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); 54560 73652 @@ -831,7 +831,7 @@ 54561 73653 { … … 54567 73659 ,"Options:" 54568 73660 #if HAVE_RIPOFFLINE 73661 diff -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 74064 diff -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 54569 74377 diff -Naur ncurses-5.9.orig/test/ditto.c ncurses-5.9/test/ditto.c 54570 --- ncurses-5.9.orig/test/ditto.c 2012-0 2-16 18:25:12.635809407+000054571 +++ ncurses-5.9/test/ditto.c 2012-0 2-16 18:25:13.031819857 +000074378 --- 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 54572 74380 @@ -1,5 +1,5 @@ 54573 74381 /**************************************************************************** … … 54597 74405 { 54598 74406 diff -Naur ncurses-5.9.orig/test/dots.c ncurses-5.9/test/dots.c 54599 --- ncurses-5.9.orig/test/dots.c 2012-0 2-16 18:25:12.635809407+000054600 +++ ncurses-5.9/test/dots.c 2012-0 2-16 18:25:13.031819857 +000074407 --- 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 54601 74409 @@ -29,7 +29,7 @@ 54602 74410 /* … … 54629 74437 static bool 54630 74438 diff -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-0 2-16 18:25:12.635809407+000054632 +++ ncurses-5.9/test/dots_mvcur.c 2012-0 2-16 18:25:13.035819963+000074439 --- 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 54633 74441 @@ -29,7 +29,7 @@ 54634 74442 /* … … 54660 74468 54661 74469 static bool 74470 diff -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 54662 74498 diff -Naur ncurses-5.9.orig/test/filter.c ncurses-5.9/test/filter.c 54663 --- ncurses-5.9.orig/test/filter.c 2012-0 2-16 18:25:12.635809407+000054664 +++ ncurses-5.9/test/filter.c 2012-0 2-16 18:25:13.035819963+000074499 --- 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 54665 74501 @@ -1,5 +1,5 @@ 54666 74502 /**************************************************************************** 54667 74503 - * Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. * 54668 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *74504 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 54669 74505 * * 54670 74506 * Permission is hereby granted, free of charge, to any person obtaining a * … … 54675 74511 * 54676 74512 - * $Id: filter.c,v 1.13 2010/11/13 20:55:54 tom Exp $ 54677 + * $Id: filter.c,v 1.1 4 2011/04/23 20:13:32 tom Exp $74513 + * $Id: filter.c,v 1.15 2012/06/09 20:30:32 tom Exp $ 54678 74514 */ 54679 74515 #include <test.priv.h> 54680 74516 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 } 54681 74526 @@ -143,7 +143,7 @@ 54682 74527 reset_shell_mode(); … … 54688 74533 touchwin(stdscr); 54689 74534 erase(); 74535 diff -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: 74597 diff -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), 54690 74634 diff -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 * 54693 74644 @@ -26,7 +26,7 @@ 54694 74645 * authorization. * … … 54696 74647 /* 54697 74648 - * $Id: ins_wide.c,v 1.15 2010/12/12 00:20:14 tom Exp $ 54698 + * $Id: ins_wide.c,v 1.1 6 2011/12/10 19:54:43 tom Exp $74649 + * $Id: ins_wide.c,v 1.17 2012/06/09 20:29:33 tom Exp $ 54699 74650 * 54700 74651 * Demonstrate the wins_wstr() and wins_wch functions. … … 54712 74663 if (first) { 54713 74664 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)) { 74674 diff -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) 74702 diff -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)) { 54714 74730 diff -Naur ncurses-5.9.orig/test/movewindow.c ncurses-5.9/test/movewindow.c 54715 --- ncurses-5.9.orig/test/movewindow.c 2012-0 2-16 18:25:12.631809302+000054716 +++ ncurses-5.9/test/movewindow.c 2012-0 2-16 18:25:13.243825451+000074731 --- 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 54717 74733 @@ -1,5 +1,5 @@ 54718 74734 /**************************************************************************** … … 54727 74743 /* 54728 74744 - * $Id: movewindow.c,v 1.24 2010/11/13 23:34:55 tom Exp $ 54729 + * $Id: movewindow.c,v 1.3 4 2012/02/05 01:16:47tom Exp $74745 + * $Id: movewindow.c,v 1.35 2012/06/09 20:30:32 tom Exp $ 54730 74746 * 54731 74747 * Demonstrate move functions for windows and derived windows from the curses … … 55003 75019 + for (y = 0; y < y1; ++y) { 55004 75020 + for (x = 0; x < x1; ++x) { 55005 + MvWAddCh(win, y, x, ch);75021 + MvWAddCh(win, y, x, (chtype) ch); 55006 75022 + if (++ch > 'z') 55007 75023 + ch = 'a'; … … 55083 75099 continue; 55084 75100 diff -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 * 55087 75110 @@ -40,7 +40,7 @@ 55088 75111 Author: Eric S. Raymond <esr@snark.thyrsus.com> 1993 … … 55090 75113 55091 75114 -$Id: ncurses.c,v 1.365 2011/01/22 19:48:33 tom Exp $ 55092 +$Id: ncurses.c,v 1.37 0 2011/09/17 21:57:49tom Exp $75115 +$Id: ncurses.c,v 1.373 2012/07/21 17:40:21 tom Exp $ 55093 75116 55094 75117 ***************************************************************************/ … … 55103 75126 if (message) 55104 75127 addstr("returned from shellout.\n"); 55105 @@ -777, 7 +777,7@@75128 @@ -777,12 +777,21 @@ 55106 75129 } 55107 75130 doupdate(); … … 55112 75135 #define forget_boxes() /* nothing */ 55113 75136 #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 @@ 55115 75166 if (!(termattrs() & test)) { 55116 75167 printw(" (N/A)"); … … 55121 75172 { 55122 75173 A_STANDOUT, 55123 @@ -1675,8 +16 75,8 @@75174 @@ -1675,8 +1686,8 @@ 55124 75175 add_wch(&ch); 55125 75176 } … … 55132 75183 (void) attr_get(&old_attr, &old_pair, 0); 55133 75184 (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 @@ 55135 75195 * The repeat-count may make text wrap - avoid that. 55136 75196 */ … … 55140 75200 break; 55141 75201 } while (--count > 0); 55142 @@ -4269,8 +42 70,10 @@75202 @@ -4269,8 +4281,10 @@ 55143 75203 55144 75204 neww->next = current ? current->next : 0; … … 55153 75213 neww->wind = getwin(fp); 55154 75214 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 @@ 55156 75288 use_default_colors(); 55157 75289 min_colors = -1; … … 55162 75294 assume_default_colors(default_fg, default_bg); 55163 75295 #endif 75296 diff -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 55164 75326 diff -Naur ncurses-5.9.orig/test/railroad.c ncurses-5.9/test/railroad.c 55165 --- ncurses-5.9.orig/test/railroad.c 2012-0 2-16 18:25:12.631809302+000055166 +++ ncurses-5.9/test/railroad.c 2012-0 2-16 18:25:13.035819963+000075327 --- 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 55167 75329 @@ -29,7 +29,7 @@ 55168 75330 /* … … 55195 75357 static void 55196 75358 diff -Naur ncurses-5.9.orig/test/rain.c ncurses-5.9/test/rain.c 55197 --- ncurses-5.9.orig/test/rain.c 2012-0 2-16 18:25:12.631809302+000055198 +++ ncurses-5.9/test/rain.c 2012-0 2-16 18:25:13.215824712+000075359 --- 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 55199 75361 @@ -1,5 +1,5 @@ 55200 75362 /**************************************************************************** … … 55232 75394 * waiting when we want a thread past that limit. 55233 75395 diff -Naur ncurses-5.9.orig/test/redraw.c ncurses-5.9/test/redraw.c 55234 --- ncurses-5.9.orig/test/redraw.c 2012-0 2-16 18:25:12.635809407 +000055235 +++ ncurses-5.9/test/redraw.c 2012-0 2-16 18:25:13.035819963+000075396 --- 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 55236 75398 @@ -1,5 +1,5 @@ 55237 75399 /**************************************************************************** … … 55268 75430 break; 55269 75431 #endif 75432 diff -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); 55270 75456 diff -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-0 2-16 18:25:12.631809302+000055272 +++ ncurses-5.9/test/test.priv.h 2012-0 2-16 18:25:13.035819963+000075457 --- 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 55273 75459 @@ -29,7 +29,7 @@ 55274 75460 /**************************************************************************** … … 55433 75619 #define USING_WINDOW(w,func) use_window(w, (NCURSES_WINDOW_CB) func, w) 55434 75620 #define USING_WINDOW2(w,func,data) use_window(w, (NCURSES_WINDOW_CB) func, data) 75621 diff -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)) { 75649 diff -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; 75677 diff -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)) { 55435 75705 diff -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 * 55438 75715 @@ -26,7 +26,7 @@ 55439 75716 * authorization. * … … 55441 75718 /* 55442 75719 - * $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:10tom Exp $75720 + * $Id: test_addwstr.c,v 1.8 2012/06/09 20:29:33 tom Exp $ 55444 75721 * 55445 75722 * Demonstrate the waddwstr() and wadd_wch functions. … … 55457 75734 if (first) { 55458 75735 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)) { 75745 diff -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: 55459 75789 diff -Naur ncurses-5.9.orig/test/testaddch.c ncurses-5.9/test/testaddch.c 55460 --- ncurses-5.9.orig/test/testaddch.c 2012-0 2-16 18:25:12.631809302+000055461 +++ ncurses-5.9/test/testaddch.c 2012-0 2-16 18:25:13.039820069+000075790 --- 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 55462 75792 @@ -1,5 +1,5 @@ 55463 75793 /**************************************************************************** … … 55494 75824 bkgdset(back); 55495 75825 (void) attrset(set); 75826 diff -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 55496 75856 diff -Naur ncurses-5.9.orig/test/view.c ncurses-5.9/test/view.c 55497 --- ncurses-5.9.orig/test/view.c 2012-0 2-16 18:25:12.635809407+000055498 +++ ncurses-5.9/test/view.c 2012-0 2-16 18:25:13.039820069+000075857 --- 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 55499 75859 @@ -1,5 +1,5 @@ 55500 75860 /**************************************************************************** 55501 75861 - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 55502 + * Copyright (c) 1998-201 0,2011Free Software Foundation, Inc. *75862 + * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * 55503 75863 * * 55504 75864 * Permission is hereby granted, free of charge, to any person obtaining a * … … 55509 75869 * 55510 75870 - * $Id: view.c,v 1.81 2010/11/14 01:06:02 tom Exp $ 55511 + * $Id: view.c,v 1.8 4 2011/12/10 15:42:34tom Exp $75871 + * $Id: view.c,v 1.85 2012/06/09 20:29:33 tom Exp $ 55512 75872 */ 55513 75873 … … 55542 75902 wchar_t wstr[CCHARW_MAX + 1]; 55543 75903 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 } 55544 75913 @@ -373,10 +375,12 @@ 55545 75914 adjust(0);
Note:
See TracChangeset
for help on using the changeset viewer.