This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52.20101002.  Invocation command line was

  $ ./configure --disable-color-style

## ---------- ##
## Platform.  ##
## ---------- ##

hostname = odin
uname -m = i386
uname -r = 0.1
uname -s = 386BSD
uname -v = # Jolix-0.1

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:/usr/games:.:

## ------------ ##
## Core tests.  ##
## ------------ ##

configure:1006: loading cache /dev/null
configure:1086: PATH=".;."; conftest.sh
conftest.sh: not found
configure:1089: $? = 2
configure:1138: checking build system type
configure:1156: result: i386-pc-bsd
configure:1163: checking host system type
configure:1177: result: i386-pc-bsd
configure:1185: checking target system type
configure:1199: result: i386-pc-bsd
configure:1230: result: Configuring for bsd
configure:1266: checking for DESTDIR
configure:1311: result: 
configure:1365: checking for gcc
configure:1388: result: /usr/local/bin/gcc
configure:1616: checking for C compiler version
configure:1619: /usr/local/bin/gcc --version </dev/null >&5
2.5.8
configure:1622: $? = 0
configure:1624: /usr/local/bin/gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-bsd/2.5.8/specs
gcc version 2.5.8
configure:1627: $? = 0
configure:1629: /usr/local/bin/gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1632: $? = 1
configure:1652: checking for C compiler default output
configure:1655: /usr/local/bin/gcc -O0   conftest.c  >&5
configure:1658: $? = 0
configure:1687: result: a.out
configure:1692: checking whether the C compiler works
configure:1698: ./a.out
configure:1701: $? = 0
configure:1716: result: yes
configure:1723: checking whether we are cross compiling
configure:1725: result: no
configure:1728: checking for executable suffix
configure:1730: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:1733: $? = 0
configure:1755: result: 
configure:1761: checking for object suffix
configure:1779: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:1782: $? = 0
configure:1801: result: o
configure:1805: checking whether we are using the GNU C compiler
configure:1826: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:1829: $? = 0
configure:1832: test -s conftest.o
configure:1835: $? = 0
configure:1847: result: yes
configure:1853: checking whether /usr/local/bin/gcc accepts -g
configure:1871: /usr/local/bin/gcc -c -g  conftest.c >&5
configure:1874: $? = 0
configure:1877: test -s conftest.o
configure:1880: $? = 0
configure:1890: result: yes
configure:1917: /usr/local/bin/gcc -c -O0  conftest.c >&5
conftest.c:2: parse error before `me'
configure:1920: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2025: checking how to run the C preprocessor
configure:2051: /usr/local/bin/gcc -E  conftest.c
configure:2057: $? = 0
configure:2084: /usr/local/bin/gcc -E  conftest.c
configure:2081: ac_nonexistent.h: No such file or directory
configure:2090: $? = 1
configure: failed program was:
#line 2080 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2127: result: /usr/local/bin/gcc -E
configure:2142: /usr/local/bin/gcc -E  conftest.c
configure:2148: $? = 0
configure:2175: /usr/local/bin/gcc -E  conftest.c
configure:2172: ac_nonexistent.h: No such file or directory
configure:2181: $? = 1
configure: failed program was:
#line 2171 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2221: checking whether ln -s works
configure:2225: result: yes
configure:2241: checking whether make sets ${MAKE}
configure:2261: result: yes
configure:2282: checking for a BSD compatible install
configure:2331: result: /usr/bin/install -c
configure:2346: checking for bison
configure:2372: result: no
configure:2346: checking for byacc
configure:2372: result: no
configure:2384: checking for tdlint
configure:2410: result: no
configure:2384: checking for lint
configure:2410: result: no
configure:2384: checking for alint
configure:2410: result: no
configure:2384: checking for splint
configure:2410: result: no
configure:2384: checking for lclint
configure:2410: result: no
configure:2417: checking if filesystem supports mixed-case filenames
configure:2444: result: yes
configure:2454: checking for exctags
configure:2480: result: no
configure:2454: checking for ctags
configure:2469: found /usr/bin/ctags
configure:2477: result: ctags
configure:2491: checking for exetags
configure:2517: result: no
configure:2491: checking for etags
configure:2517: result: no
configure:2526: checking for ctags
configure:2541: found /usr/bin/ctags
configure:2550: result: yes
configure:2560: checking for etags
configure:2584: result: no
configure:2607: checking for AIX
configure:2626: result: no
configure:2631: checking for POSIXized ISC
configure:2650: result: no
configure:2850: checking for ranlib
configure:2865: found /usr/bin/ranlib
configure:2874: result: ranlib
configure:2924: checking for ar
configure:2939: found /usr/bin/ar
configure:2948: result: ar
configure:2960: checking for options to update archives
configure:2986: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:2989: $? = 0
ar  -curv conftest.a conftest.o
configure:3008: result: -curv
configure:3019: checking if you want to see long compiling messages
configure:3053: result: yes
configure:3063: checking if you want to check memory-leaks
configure:3080: result: no
configure:3089: checking if you want to enable debug-code
configure:3106: result: no
configure:3131: checking if you want to enable lynx trace code *recommended* 
configure:3148: result: yes
configure:3154: checking if you want verbose trace code
configure:3171: result: no
configure:3179: checking if you want to turn on gcc warnings
configure:3196: result: no
configure:3474: checking if you want to use dbmalloc for testing
configure:3490: result: no
configure:3685: checking if you want to use dmalloc for testing
configure:3701: result: no
configure:3900: checking for /usr/local/bin/gcc option to accept ANSI C
configure:3957: /usr/local/bin/gcc  -c -O0  conftest.c >&5
configure:3960: $? = 0
configure:3963: test -s conftest.o
configure:3966: $? = 0
configure:3983: result: none needed
configure:3991: checking for an ANSI C-conforming const
configure:4055: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:4058: $? = 0
configure:4061: test -s conftest.o
configure:4064: $? = 0
configure:4074: result: yes
configure:4517: checking $CC variable
configure:4609: result: ok
configure:4614: checking for /usr/local/bin/gcc option to accept ANSI C
configure:4739: /usr/local/bin/gcc -c -O0   -DCC_HAS_PROTOS conftest.c >&5
configure:4742: $? = 0
configure:4745: test -s conftest.o
configure:4748: $? = 0
configure:4761: result: -DCC_HAS_PROTOS
configure:4874: checking for special C compiler options needed for large files
configure:4948: result: no
configure:4954: checking for _FILE_OFFSET_BITS value needed for large files
configure:4982: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:4969: warning: left shift count >= width of type
configure:4969: warning: left shift count >= width of type
configure:4970: warning: left shift count >= width of type
configure:4970: warning: left shift count >= width of type
configure:4971: size of array `off_t_is_large' is negative
configure:4985: $? = 1
configure: failed program was:
#line 4962 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:5021: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5008: warning: left shift count >= width of type
configure:5008: warning: left shift count >= width of type
configure:5009: warning: left shift count >= width of type
configure:5009: warning: left shift count >= width of type
configure:5010: size of array `off_t_is_large' is negative
configure:5024: $? = 1
configure: failed program was:
#line 5000 "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:5041: result: no
configure:5051: checking for _LARGE_FILES value needed for large files
configure:5079: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5066: warning: left shift count >= width of type
configure:5066: warning: left shift count >= width of type
configure:5067: warning: left shift count >= width of type
configure:5067: warning: left shift count >= width of type
configure:5068: size of array `off_t_is_large' is negative
configure:5082: $? = 1
configure: failed program was:
#line 5059 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:5118: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5105: warning: left shift count >= width of type
configure:5105: warning: left shift count >= width of type
configure:5106: warning: left shift count >= width of type
configure:5106: warning: left shift count >= width of type
configure:5107: size of array `off_t_is_large' is negative
configure:5121: $? = 1
configure: failed program was:
#line 5097 "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:5138: result: no
configure:5151: checking for _LARGEFILE_SOURCE value needed for large files
configure:5171: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure: In function `main':
configure:5164: `fseeko' undeclared (first use this function)
configure:5164: (Each undeclared identifier is reported only once
configure:5164: for each function it appears in.)
configure:5174: $? = 1
configure: failed program was:
#line 5159 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
return !fseeko;
  ;
  return 0;
}
configure:5202: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure: In function `main':
configure:5195: `fseeko' undeclared (first use this function)
configure:5195: (Each undeclared identifier is reported only once
configure:5195: for each function it appears in.)
configure:5205: $? = 1
configure: failed program was:
#line 5189 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <stdio.h>
int
main ()
{
return !fseeko;
  ;
  return 0;
}
configure:5222: result: no
configure:5236: checking for fseeko
configure:5254: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure: In function `main':
configure:5247: `fseeko' undeclared (first use this function)
configure:5247: (Each undeclared identifier is reported only once
configure:5247: for each function it appears in.)
configure:5257: $? = 1
configure: failed program was:
#line 5242 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
return fseeko && fseeko (stdin, 0, 0);
  ;
  return 0;
}
configure:5273: result: no
configure:5294: checking whether to use struct dirent64
configure:5322: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure: In function `main':
configure:5311: warning: type mismatch with previous external decl
/usr/local/lib/gcc-lib/i386-unknown-bsd/2.5.8/include/dirent.h:93: warning: previous external decl of `readdir'
configure:5311: warning: extern declaration of `readdir' doesn't match global one
configure:5313: warning: initialization from incompatible pointer type
configure:5314: invalid operands to binary -
configure:5325: $? = 1
configure: failed program was:
#line 5301 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <dirent.h>

int
main ()
{

		/* if transitional largefile support is setup, this is true */
		extern struct dirent64 * readdir(DIR *);
		struct dirent64 *x = readdir((DIR *)0);
		struct dirent *y = readdir((DIR *)0);
		int z = x - y;

  ;
  return 0;
}
configure:5342: result: no
configure:5361: checking for msginit
configure:5391: result: no
configure:5442: checking for ranlib
configure:5466: result: ranlib
configure:5478: checking for ANSI C header files
configure:5492: /usr/local/bin/gcc -E  conftest.c
configure:5498: $? = 0
configure:5585: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:5588: $? = 0
configure:5590: ./conftest
configure:5593: $? = 2
configure: program exited with status 2
configure: failed program was:
#line 5559 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i')                      || ('j' <= (c) && (c) <= 'r')                      || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      return(2);
  return (0);
}
configure:5606: result: no
configure:5616: checking for inline
configure:5633: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5636: $? = 0
configure:5639: test -s conftest.o
configure:5642: $? = 0
configure:5653: result: inline
configure:5674: checking for sys/types.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for sys/stat.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for stdlib.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for string.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for memory.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for strings.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5674: checking for inttypes.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5715: inttypes.h: No such file or directory
configure:5689: $? = 1
configure: failed program was:
#line 5680 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <inttypes.h>
configure:5705: result: no
configure:5674: checking for stdint.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5715: stdint.h: No such file or directory
configure:5689: $? = 1
configure: failed program was:
#line 5680 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdint.h>
configure:5705: result: no
configure:5674: checking for unistd.h
configure:5686: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5689: $? = 0
configure:5692: test -s conftest.o
configure:5695: $? = 0
configure:5705: result: yes
configure:5715: checking for off_t
configure:5736: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5739: $? = 0
configure:5742: test -s conftest.o
configure:5745: $? = 0
configure:5755: result: yes
configure:5767: checking for size_t
configure:5788: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure:5791: $? = 0
configure:5794: test -s conftest.o
configure:5797: $? = 0
configure:5807: result: yes
configure:5821: checking for working alloca.h
configure:5839: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:5828: alloca.h: No such file or directory
configure:5842: $? = 1
configure: failed program was:
#line 5827 "configure"
#include "confdefs.h"
#include <alloca.h>
int
main ()
{
char *p = (char *) alloca (2 * sizeof (int));
  ;
  return 0;
}
configure:5858: result: no
configure:5868: checking for alloca
configure:5906: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:5909: $? = 0
configure:5912: test -s conftest
configure:5915: $? = 0
configure:5925: result: yes
configure:6109: checking for stdlib.h
configure:6144: result: yes
configure:6109: checking for unistd.h
configure:6144: result: yes
configure:6157: checking for getpagesize
configure:6194: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6197: $? = 0
configure:6200: test -s conftest
configure:6203: $? = 0
configure:6213: result: yes
configure:6223: checking for working mmap
configure:6359: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6362: $? = 0
configure:6364: ./conftest
configure:6367: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 6232 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the file system buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propogated back to all the places they're supposed to be.

   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */

#include <fcntl.h>
#include <sys/mman.h>

#if !STDC_HEADERS && !HAVE_STDLIB_H
char *malloc ();
#endif

/* This mess was copied from the GNU getpagesize.h.  */
#if !HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h.  */
# if !HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  if HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

int
main ()
{
  char *data, *data2, *data3;
  int i, pagesize;
  int fd;

  pagesize = getpagesize ();

  /* First, make a file with some known garbage in it. */
  data = (char *) malloc (pagesize);
  if (!data)
    return (1);
  for (i = 0; i < pagesize; ++i)
    *(data + i) = rand ();
  umask (0);
  fd = creat ("conftest.mmap", 0600);
  if (fd < 0)
    return (1);
  if (write (fd, data, pagesize) != pagesize)
    return (1);
  close (fd);

  /* Next, try to mmap the file at a fixed address which already has
     something else allocated at it.  If we can, also make sure that
     we see the same garbage.  */
  fd = open ("conftest.mmap", O_RDWR);
  if (fd < 0)
    return (1);
  data2 = (char *) malloc (2 * pagesize);
  if (!data2)
    return (1);
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
    return (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data2 + i))
      return (1);

  /* Finally, make sure that changes to the mapped area do not
     percolate back to the file as seen by read().  (This is a bug on
     some variants of i386 svr4.0.)  */
  for (i = 0; i < pagesize; ++i)
    *(data2 + i) = *(data2 + i) + 1;
  data3 = (char *) malloc (pagesize);
  if (!data3)
    return (1);
  if (read (fd, data3, pagesize) != pagesize)
    return (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data3 + i))
      return (1);
  close (fd);
  return (0);
}
configure:6379: result: no
configure:6390: checking whether we are using the GNU C Library 2.1 or newer
configure:6398: features.h: No such file or directory
configure:6416: result: no
configure:6446: checking for argz.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6453: argz.h: No such file or directory
configure:6462: $? = 1
configure: failed program was:
#line 6452 "configure"
#include "confdefs.h"
#include <argz.h>
configure:6481: result: no
configure:6446: checking for limits.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6462: $? = 0
configure:6481: result: yes
configure:6446: checking for locale.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6462: $? = 0
configure:6481: result: yes
configure:6446: checking for nl_types.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6453: nl_types.h: No such file or directory
configure:6462: $? = 1
configure: failed program was:
#line 6452 "configure"
#include "confdefs.h"
#include <nl_types.h>
configure:6481: result: no
configure:6446: checking for malloc.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6453: malloc.h: No such file or directory
configure:6462: $? = 1
configure: failed program was:
#line 6452 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:6481: result: no
configure:6446: checking for stddef.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6462: $? = 0
configure:6481: result: yes
configure:6446: checking for stdlib.h
configure:6481: result: yes
configure:6446: checking for string.h
configure:6481: result: yes
configure:6446: checking for unistd.h
configure:6481: result: yes
configure:6446: checking for sys/param.h
configure:6456: /usr/local/bin/gcc -E  conftest.c
configure:6462: $? = 0
configure:6481: result: yes
configure:6496: checking for feof_unlocked
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0119711.o: Undefined symbol _feof_unlocked referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char feof_unlocked (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char feof_unlocked ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_feof_unlocked) || defined (__stub___feof_unlocked)
choke me
#else
f = feof_unlocked;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for fgets_unlocked
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0119921.o: Undefined symbol _fgets_unlocked referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fgets_unlocked (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char fgets_unlocked ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fgets_unlocked) || defined (__stub___fgets_unlocked)
choke me
#else
f = fgets_unlocked;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for getcwd
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for getegid
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for geteuid
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for getgid
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for getuid
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for mempcpy
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0121581.o: Undefined symbol _mempcpy referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mempcpy (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mempcpy ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_mempcpy) || defined (__stub___mempcpy)
choke me
#else
f = mempcpy;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for munmap
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for putenv
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for setenv
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for setlocale
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for stpcpy
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0122951.o: Undefined symbol _stpcpy referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char stpcpy ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
f = stpcpy;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for strchr
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for strcasecmp
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for strdup
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for strtoul
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6536: $? = 0
configure:6539: test -s conftest
configure:6542: $? = 0
configure:6552: result: yes
configure:6496: checking for tsearch
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0124321.o: Undefined symbol _tsearch referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char tsearch (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tsearch ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_tsearch) || defined (__stub___tsearch)
choke me
#else
f = tsearch;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for __argz_count
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0124531.o: Undefined symbol ___argz_count referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char __argz_count ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
f = __argz_count;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for __argz_stringify
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0124741.o: Undefined symbol ___argz_stringify referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char __argz_stringify ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
f = __argz_stringify;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6496: checking for __argz_next
configure:6533: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
/var/tmp/cc0124951.o: Undefined symbol ___argz_next referenced from text segment
configure:6536: $? = 1
configure: failed program was:
#line 6502 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char __argz_next ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
f = __argz_next;
#endif

  ;
  return 0;
}
configure:6552: result: no
configure:6807: checking for iconv
configure:6818: testing Starting FIND_LINKAGE(iconv,) ...
configure:6842: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:6826: iconv.h: No such file or directory
configure:6845: $? = 1
configure: failed program was:
#line 6823 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
configure:6884: /usr/local/bin/gcc -o conftest -O0   conftest.c -liconv   >&5
configure:6868: iconv.h: No such file or directory
configure:6887: $? = 1
configure: failed program was:
#line 6865 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
configure:6910: testing find linkage for iconv library ...
configure:6912: testing Searching for headers in FIND_LINKAGE(iconv,) ...
configure:7025: testing ... testing /usr/include ...
configure:7048: /usr/local/bin/gcc -c -O0  -I/usr/include conftest.c >&5
configure:7032: iconv.h: No such file or directory
configure:7051: $? = 1
configure: failed program was:
#line 7029 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
configure:7025: testing ... testing /usr/local/include ...
configure:7048: /usr/local/bin/gcc -c -O0  -I/usr/local/include conftest.c >&5
configure:7032: iconv.h: No such file or directory
configure:7051: $? = 1
configure: failed program was:
#line 7029 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
configure:7256: result: no, consider installing GNU libiconv
configure:7444: checking for nl_langinfo and CODESET
configure:7462: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure:7451: langinfo.h: No such file or directory
configure:7465: $? = 1
configure: failed program was:
#line 7450 "configure"
#include "confdefs.h"
#include <langinfo.h>
int
main ()
{
char* cs = nl_langinfo(CODESET);
  ;
  return 0;
}
configure:7482: result: no
configure:7493: checking for LC_MESSAGES
configure:7511: /usr/local/bin/gcc -o conftest -O0   conftest.c  >&5
configure: In function `main':
configure:7505: `LC_MESSAGES' undeclared (first use this function)
configure:7505: (Each undeclared identifier is reported only once
configure:7505: for each function it appears in.)
configure:7514: $? = 1
configure: failed program was:
#line 7499 "configure"
#include "confdefs.h"
#include <locale.h>
int
main ()
{
return LC_MESSAGES
  ;
  return 0;
}
configure:7530: result: no
configure:7540: checking whether NLS is requested
configure:7550: result: no
configure:8819: checking if you want full utility pathnames
configure:8836: result: yes
configure:8842: checking for system mailer
configure:8862: result: /usr/sbin/sendmail
configure:8868: checking system mail flags
configure:8884: result: -t -oi
configure:9285: checking if we should define _XOPEN_SOURCE
configure:9311: /usr/local/bin/gcc -c -O0  conftest.c >&5
configure: In function `main':
configure:9303: `make' undeclared (first use this function)
configure:9303: (Each undeclared identifier is reported only once
configure:9303: for each function it appears in.)
configure:9303: parse error before `an'
configure:9314: $? = 1
configure: failed program was:
#line 9292 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:9348: /usr/local/bin/gcc -c -O0  -D_XOPEN_SOURCE=500 conftest.c >&5
configure: In function `main':
configure:9340: `make' undeclared (first use this function)
configure:9340: (Each undeclared identifier is reported only once
configure:9340: for each function it appears in.)
configure:9340: parse error before `an'
configure:9351: $? = 1
configure: failed program was:
#line 9329 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:9372: result: 500
configure:9480: checking if we should define _POSIX_C_SOURCE
configure:9486: testing if the symbol is already defined go no further ...
configure:9504: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500 conftest.c >&5
configure: In function `main':
configure:9496: `make' undeclared (first use this function)
configure:9496: (Each undeclared identifier is reported only once
configure:9496: for each function it appears in.)
configure:9496: parse error before `an'
configure:9507: $? = 1
configure: failed program was:
#line 9489 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:9569: testing ifdef from value 199506L ...
configure:9574: testing if the second compile does not leave our definition intact error ...
configure:9592: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:9595: $? = 0
configure:9598: test -s conftest.o
configure:9601: $? = 0
configure:9617: result: -D_POSIX_C_SOURCE=199506L
configure:10056: checking if SIGWINCH is defined
configure:10078: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:10081: $? = 0
configure:10084: test -s conftest.o
configure:10087: $? = 0
configure:10135: result: yes
configure:10347: checking if you want NSS compatible SSL libraries
configure:10362: result: no
configure:10365: checking if you want ssl library
configure:10380: result: no
configure:10383: checking if you want gnutls support
configure:10398: result: no
configure:10402: checking if you want gnutls-openssl compat
configure:10417: result: no
configure:10420: checking if you want socks library
configure:10435: result: no
configure:10438: checking if you want socks5 library
configure:10453: result: no
configure:11702: checking for network libraries
configure:11709: result: working...
configure:11831: checking for gethostname
configure:11868: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c  >&5
configure:11871: $? = 0
configure:11874: test -s conftest
configure:11877: $? = 0
configure:11887: result: yes
configure:12031: checking for main in -linet
configure:12051: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -linet   >&5
ld: No such file or directory for libinet.a
configure:12054: $? = 1
configure: failed program was:
#line 12039 "configure"
#include "confdefs.h"

int
main ()
{
main ();
  ;
  return 0;
}
configure:12071: result: no
configure:12082: checking for socket
configure:12119: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c  >&5
configure:12122: $? = 0
configure:12125: test -s conftest
configure:12128: $? = 0
configure:12138: result: yes
configure:12287: checking for gethostbyname
configure:12324: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c  >&5
configure:12327: $? = 0
configure:12330: test -s conftest
configure:12333: $? = 0
configure:12343: result: yes
configure:12424: checking for inet_ntoa
configure:12461: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c  >&5
configure:12464: $? = 0
configure:12467: test -s conftest
configure:12470: $? = 0
configure:12480: result: yes
configure:12561: checking for gethostbyname
configure:12617: result: yes
configure:12698: checking for strcasecmp
configure:12754: result: yes
configure:12851: checking for inet_aton function
configure:12874: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c   >&5
configure:12877: $? = 0
configure:12880: test -s conftest
configure:12883: $? = 0
configure:12893: result: yes
configure:13007: checking if you want to use pkg-config
configure:13017: result: yes
configure:13069: checking for pkg-config
configure:13098: result: none
configure:16938: checking whether to enable ipv6
configure:16954: result: no
configure:17760: checking for screen type
configure:17783: result: curses
configure:17789: checking for specific curses-directory
configure:17799: result: no
configure:17954: checking for extra include directories
configure:17980: result: no
configure:17984: checking if we have identified curses headers
configure:18008: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:17997: ncurses.h: No such file or directory
configure:18011: $? = 1
configure: failed program was:
#line 17996 "configure"
#include "confdefs.h"
#include <ncurses.h>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
configure:18008: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:18011: $? = 0
configure:18014: test -s conftest.o
configure:18017: $? = 0
configure:18028: result: curses.h
configure:18042: checking for curses.h
configure:18052: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:18058: $? = 0
configure:18077: result: yes
configure:18087: checking for terminfo header
configure:18120: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:18108: term.h: No such file or directory
configure:18123: $? = 1
configure: failed program was:
#line 18105 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <curses.h>
#include <term.h>

int
main ()
{
int x = auto_left_margin
  ;
  return 0;
}
configure:18120: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:18108: ncurses/term.h: No such file or directory
configure:18123: $? = 1
configure: failed program was:
#line 18105 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <curses.h>
#include <ncurses/term.h>

int
main ()
{
int x = auto_left_margin
  ;
  return 0;
}
configure:18120: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:18108: ncursesw/term.h: No such file or directory
configure:18123: $? = 1
configure: failed program was:
#line 18105 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <curses.h>
#include <ncursesw/term.h>

int
main ()
{
int x = auto_left_margin
  ;
  return 0;
}
configure:18145: result: unknown
configure:18174: checking for ncurses version
configure:18238: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c   >&5
configure: In function `main':
configure:18230: `make' undeclared (first use this function)
configure:18230: (Each undeclared identifier is reported only once
configure:18230: for each function it appears in.)
configure:18230: parse error before `an'
configure:18241: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 18213 "configure"
#include "confdefs.h"

#include <curses.h>
#include <stdio.h>
int main()
{
	FILE *fp = fopen("out10253", "w");
#ifdef NCURSES_VERSION
# ifdef NCURSES_VERSION_PATCH
	fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH);
# else
	fprintf(fp, "%s\n", NCURSES_VERSION);
# endif
#else
# ifdef __NCURSES_H
	fprintf(fp, "old\n");
# else
	make an error
# endif
#endif
	return(0);
}
configure:18260: result: no
configure:18266: checking if we have identified curses libraries
configure:18281: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c   >&5
/var/tmp/cc0131081.o: Undefined symbol _initscr referenced from text segment
/var/tmp/cc0131081.o: Undefined symbol _tgoto referenced from text segment
configure:18284: $? = 1
configure: failed program was:
#line 18269 "configure"
#include "confdefs.h"
#include <curses.h>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
configure:18299: result: no
configure:18633: checking for tgoto
configure:18670: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c   >&5
/var/tmp/cc0131251.o: Undefined symbol _tgoto referenced from text segment
configure:18673: $? = 1
configure: failed program was:
#line 18639 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char tgoto (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_tgoto) || defined (__stub___tgoto)
choke me
#else
f = tgoto;
#endif

  ;
  return 0;
}
configure:18689: result: no
configure:18698: checking for tgoto in -lcursesX
configure:18725: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcursesX    >&5
ld: No such file or directory for libcursesX.a
configure:18728: $? = 1
configure: failed program was:
#line 18706 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
configure:18745: result: no
configure:18698: checking for tgoto in -lcurses
configure:18725: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses    >&5
/var/tmp/cc0131641.o: Undefined symbol _tgoto referenced from text segment
configure:18728: $? = 1
configure: failed program was:
#line 18706 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
configure:18745: result: no
configure:18698: checking for tgoto in -lncurses
configure:18725: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lncurses    >&5
ld: No such file or directory for libncurses.a
configure:18728: $? = 1
configure: failed program was:
#line 18706 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
configure:18745: result: no
configure:18698: checking for tgoto in -lotermcap
configure:18725: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lotermcap    >&5
ld: No such file or directory for libotermcap.a
configure:18728: $? = 1
configure: failed program was:
#line 18706 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
configure:18745: result: no
configure:18698: checking for tgoto in -ltermcap
configure:18725: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -ltermcap    >&5
configure:18728: $? = 0
configure:18731: test -s conftest
configure:18734: $? = 0
configure:18745: result: yes
configure:18760: checking for initscr in -lcursesX
configure:18787: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcursesX  -ltermcap   >&5
ld: No such file or directory for libcursesX.a
configure:18790: $? = 1
configure: failed program was:
#line 18768 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
int
main ()
{
initscr ();
  ;
  return 0;
}
configure:18807: result: no
configure:18760: checking for initscr in -lcurses
configure:18787: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses  -ltermcap   >&5
configure:18790: $? = 0
configure:18793: test -s conftest
configure:18796: $? = 0
configure:18807: result: yes
configure:18861: checking if we need both curses and termcap libraries
configure:18876: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses   >&5
/var/tmp/cc0132981.o: Undefined symbol _tgoto referenced from text segment
initscr.o: Undefined symbol _tputs referenced from text segment
initscr.o: Undefined symbol _tputs referenced from text segment
cr_tty.o: Undefined symbol _tgetent referenced from text segment
cr_tty.o: Undefined symbol _tgetnum referenced from text segment
cr_tty.o: Undefined symbol _tgetnum referenced from text segment
cr_tty.o: Undefined symbol _tgoto referenced from text segment
cr_tty.o: Undefined symbol _tgetflag referenced from text segment
cr_tty.o: Undefined symbol _tgetstr referenced from text segment
cr_tty.o: Undefined symbol _tgetnum referenced from text segment
cr_tty.o: Undefined symbol _tgetnum referenced from text segment
cr_tty.o: Undefined symbol _tgetstr referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: Undefined symbol _tputs referenced from text segment
refresh.o: More undefined symbol _tputs refs follow
cr_put.o: Undefined symbol _tgoto referenced from text segment
configure:18879: $? = 1
configure: failed program was:
#line 18864 "configure"
#include "confdefs.h"
#include <curses.h>
int
main ()
{
initscr(); tgoto((char *)0, 0, 0);
  ;
  return 0;
}
configure:18906: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:18909: $? = 0
configure:18912: test -s conftest
configure:18915: $? = 0
configure:18927: result: yes
configure:18933: checking for curses performance tradeoff
configure:18960: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:18951: parse error before `;'
configure:18963: $? = 1
configure: failed program was:
#line 18941 "configure"
#include "confdefs.h"

#include <curses.h>
int
main ()
{

#if defined(wbkgdset) && defined(clearok) && defined(getbkgd)
	int x = ERR;
#else
	int x = ;	/* force an error */
#endif

  ;
  return 0;
}
configure:19017: result: no
configure:19023: checking for curses touchline function
configure:19043: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:19046: $? = 0
configure:19049: test -s conftest
configure:19052: $? = 0
configure:19093: result: bsd
configure:25104: checking for chtype typedef
configure:25123: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:25116: `chtype' undeclared (first use this function)
configure:25116: (Each undeclared identifier is reported only once
configure:25116: for each function it appears in.)
configure:25116: parse error before `foo'
configure:25126: $? = 1
configure: failed program was:
#line 25111 "configure"
#include "confdefs.h"
#include <curses.h>
int
main ()
{
chtype foo
  ;
  return 0;
}
configure:25142: result: no
configure:25197: checking if you want the wide-curses features
configure:25214: result: no
configure:25217: checking if color-style code should be used
configure:25237: result: no
configure:25306: checking for the default configuration-file
configure:25351: result: /usr/local/etc/lynx.cfg
configure:25359: checking if htmlized lynx.cfg should be built
configure:25376: result: no
configure:25384: checking if local doc directory should be linked to help page
configure:25401: result: no
configure:25409: checking for MIME library directory
configure:25454: result: /etc
configure:25461: checking if locale-charset selection logic should be used
configure:25478: result: yes
configure:25486: checking if you want only a few charsets
configure:25549: result: no
configure:25553: checking for ANSI C header files
configure:25681: result: no
configure:25691: checking whether time.h and sys/time.h may both be included
configure:25713: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:25716: $? = 0
configure:25719: test -s conftest.o
configure:25722: $? = 0
configure:25732: result: yes
configure:25745: checking for dirent.h that defines DIR
configure:25766: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:25769: $? = 0
configure:25772: test -s conftest.o
configure:25775: $? = 0
configure:25785: result: yes
configure:25798: checking for opendir in -ldir
configure:25825: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -ldir  -lcurses -ltermcap   >&5
ld: No such file or directory for libdir.a
configure:25828: $? = 1
configure: failed program was:
#line 25806 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
configure:25845: result: no
configure:25927: checking for arpa/inet.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for fcntl.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for limits.h
configure:25962: result: yes
configure:25927: checking for stdlib.h
configure:25962: result: yes
configure:25927: checking for string.h
configure:25962: result: yes
configure:25927: checking for sys/fcntl.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for sys/filio.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for sys/ioctl.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for sys/param.h
configure:25962: result: yes
configure:25927: checking for sys/timeb.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for sys/time.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for syslog.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for termio.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25934: termio.h: No such file or directory
configure:25943: $? = 1
configure: failed program was:
#line 25933 "configure"
#include "confdefs.h"
#include <termio.h>
configure:25962: result: no
configure:25927: checking for termios.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25943: $? = 0
configure:25962: result: yes
configure:25927: checking for unistd.h
configure:25962: result: yes
configure:25927: checking for vfork.h
configure:25937: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:25934: vfork.h: No such file or directory
configure:25943: $? = 1
configure: failed program was:
#line 25933 "configure"
#include "confdefs.h"
#include <vfork.h>
configure:25962: result: no
configure:25972: checking termio.h and termios.h
configure:25997: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26000: $? = 0
configure:26003: test -s conftest.o
configure:26006: $? = 0
configure:26017: result: yes
configure:26023: checking for sigaction and structs
configure:26050: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:26053: $? = 0
configure:26056: test -s conftest
configure:26059: $? = 0
configure:26070: result: yes
configure:26079: checking for sys/wait.h
configure:26089: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:26095: $? = 0
configure:26114: result: yes
configure:26240: checking for union wait
configure:26263: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:26266: $? = 0
configure:26269: test -s conftest
configure:26272: $? = 0
compiles ok w/o union wait
configure:26326: result: no
configure:26428: checking for uid_t in sys/types.h
configure:26448: result: yes
configure:26462: checking type of array argument to getgroups
configure:26497: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:26500: $? = 0
configure:26502: ./conftest
configure:26505: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 26471 "configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test.  */
#include <sys/types.h>
#define NGID 256
#undef MAX
#define MAX(x, y) ((x) > (y) ? (x) : (y))

int
main ()
{
  gid_t gidset[NGID];
  int i, n;
  union { gid_t gval; long lval; }  val;

  val.lval = -1;
  for (i = 0; i < NGID; i++)
    gidset[i] = val.gval;
  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
                 gidset);
  /* Exit non-zero if getgroups seems to require an array of ints.  This
     happens when gid_t is short but getgroups modifies an array of ints.  */
  return ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
}
configure:26533: result: int
configure:26540: checking for off_t
configure:26580: result: yes
configure:26592: checking for pid_t
configure:26613: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26616: $? = 0
configure:26619: test -s conftest.o
configure:26622: $? = 0
configure:26632: result: yes
configure:26644: checking for uid_t in sys/types.h
configure:26664: result: yes
configure:26678: checking for mode_t
configure:26699: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26702: $? = 0
configure:26705: test -s conftest.o
configure:26708: $? = 0
configure:26718: result: yes
configure:26730: checking for ssize_t
configure:26751: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26754: $? = 0
configure:26757: test -s conftest.o
configure:26760: $? = 0
configure:26770: result: yes
configure:26785: checking for socklen_t
configure:26809: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:26799: `socklen_t' undeclared (first use this function)
configure:26799: (Each undeclared identifier is reported only once
configure:26799: for each function it appears in.)
configure:26799: parse error before `)'
configure:26812: $? = 1
configure: failed program was:
#line 26791 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>

int
main ()
{
if ((socklen_t *) 0)
  return 0;
if (sizeof (socklen_t))
  return 0;
  ;
  return 0;
}
configure:26828: result: no
configure:26843: checking for long long type
configure:26874: result: yes
configure:26884: checking for tm.tm_gmtoff
configure:26916: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26919: $? = 0
configure:26922: test -s conftest.o
configure:26925: $? = 0
configure:26936: result: yes
configure:26942: checking for int
configure:26963: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:26966: $? = 0
configure:26969: test -s conftest.o
configure:26972: $? = 0
configure:26982: result: yes
configure:26985: checking size of int
configure:27149: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:27152: $? = 0
configure:27154: ./conftest
configure:27157: $? = 0
configure:27173: result: 4
configure:27179: checking for long
configure:27200: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:27203: $? = 0
configure:27206: test -s conftest.o
configure:27209: $? = 0
configure:27219: result: yes
configure:27222: checking size of long
configure:27386: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:27389: $? = 0
configure:27391: ./conftest
configure:27394: $? = 0
configure:27410: result: 4
configure:27416: checking for off_t
configure:27456: result: yes
configure:27459: checking size of off_t
configure:27623: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:27626: $? = 0
configure:27628: ./conftest
configure:27631: $? = 0
configure:27647: result: 4
configure:27653: checking for time_t
configure:27674: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:27677: $? = 0
configure:27680: test -s conftest.o
configure:27683: $? = 0
configure:27693: result: yes
configure:27696: checking size of time_t
configure:27860: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:27863: $? = 0
configure:27865: ./conftest
configure:27868: $? = 0
configure:27884: result: 4
configure:27892: checking for working alloca.h
configure:27929: result: no
configure:27939: checking for alloca
configure:27996: result: yes
configure:28180: checking for unistd.h
configure:28215: result: yes
configure:28180: checking for vfork.h
configure:28215: result: no
configure:28228: checking for fork
configure:28265: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28268: $? = 0
configure:28271: test -s conftest
configure:28274: $? = 0
configure:28284: result: yes
configure:28228: checking for vfork
configure:28265: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28268: $? = 0
configure:28271: test -s conftest
configure:28274: $? = 0
configure:28284: result: yes
configure:28296: checking for working fork
configure:28339: result: yes
configure:28358: checking for working vfork
configure:28484: result: yes
configure:28515: checking if we should use fcntl or ioctl
configure:28539: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28542: $? = 0
configure:28545: test -s conftest
configure:28548: $? = 0
configure:28600: result: ioctl
configure:28606: checking for broken/missing definition of remove
configure:28625: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28628: $? = 0
configure:28631: test -s conftest
configure:28634: $? = 0
configure:28678: result: no
configure:28684: checking for lstat
configure:28705: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28708: $? = 0
configure:28711: test -s conftest
configure:28714: $? = 0
configure:28726: result: yes 
configure:28759: checking for ctermid
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28775: conflicting types for `ctermid'
/usr/local/lib/gcc-lib/i386-unknown-bsd/2.5.8/include/stdio.h:257: previous declaration of `ctermid'
configure:28799: $? = 1
configure: failed program was:
#line 28765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ctermid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char ctermid ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_ctermid) || defined (__stub___ctermid)
choke me
#else
f = ctermid;
#endif

  ;
  return 0;
}
configure:28815: result: no
configure:28759: checking for cuserid
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for ftime
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0143681.o: Undefined symbol _ftime referenced from text segment
configure:28799: $? = 1
configure: failed program was:
#line 28765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ftime (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char ftime ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_ftime) || defined (__stub___ftime)
choke me
#else
f = ftime;
#endif

  ;
  return 0;
}
configure:28815: result: no
configure:28759: checking for getcwd
configure:28815: result: yes
configure:28759: checking for getgroups
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for gettimeofday
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for getuid
configure:28815: result: yes
configure:28759: checking for mktemp
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for mkdtemp
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0145021.o: Undefined symbol _mkdtemp referenced from text segment
configure:28799: $? = 1
configure: failed program was:
#line 28765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mkdtemp (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mkdtemp ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
choke me
#else
f = mkdtemp;
#endif

  ;
  return 0;
}
configure:28815: result: no
configure:28759: checking for popen
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28775: conflicting types for `popen'
/usr/local/lib/gcc-lib/i386-unknown-bsd/2.5.8/include/stdio.h:272: previous declaration of `popen'
configure:28799: $? = 1
configure: failed program was:
#line 28765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char popen (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char popen ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_popen) || defined (__stub___popen)
choke me
#else
f = popen;
#endif

  ;
  return 0;
}
configure:28815: result: no
configure:28759: checking for putenv
configure:28815: result: yes
configure:28759: checking for readdir
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for setuid
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for strerror
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for truncate
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for ttyname
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for unsetenv
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for usleep
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28759: checking for vasprintf
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0147581.o: Undefined symbol _vasprintf referenced from text segment
configure:28799: $? = 1
configure: failed program was:
#line 28765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char vasprintf (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char vasprintf ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_vasprintf) || defined (__stub___vasprintf)
choke me
#else
f = vasprintf;
#endif

  ;
  return 0;
}
configure:28815: result: no
configure:28759: checking for waitpid
configure:28796: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28799: $? = 0
configure:28802: test -s conftest
configure:28805: $? = 0
configure:28815: result: yes
configure:28831: checking for mktime
configure:28868: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28871: $? = 0
configure:28874: test -s conftest
configure:28877: $? = 0
configure:28887: result: yes
configure:28831: checking for strstr
configure:28868: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28871: $? = 0
configure:28874: test -s conftest
configure:28877: $? = 0
configure:28887: result: yes
configure:28899: checking for random-integer functions
configure:28938: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0148691.o: Undefined symbol _arc4random_push referenced from text segment
/var/tmp/cc0148691.o: Undefined symbol _arc4random referenced from text segment
configure:28941: $? = 1
configure: failed program was:
#line 28919 "configure"
#include "confdefs.h"

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

int
main ()
{
long seed = 1; arc4random_push(seed); seed = arc4random()
  ;
  return 0;
}
configure:28938: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0148881.o: Undefined symbol _arc4random referenced from text segment
configure:28941: $? = 1
configure: failed program was:
#line 28919 "configure"
#include "confdefs.h"

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

int
main ()
{
long seed = 1; (void)(seed); seed = arc4random()
  ;
  return 0;
}
configure:28938: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:28941: $? = 0
configure:28944: test -s conftest
configure:28947: $? = 0
configure:28959: result: srandom/random
configure:28962: checking for range of random-integers
configure:29002: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29005: $? = 0
configure:29008: test -s conftest.o
configure:29011: $? = 0
configure:29022: result: INT_MAX
configure:29208: checking for strstr declaration
configure:29228: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:29220: warning: type mismatch with previous external decl
/usr/local/lib/gcc-lib/i386-unknown-bsd/2.5.8/include/string.h:72: warning: previous external decl of `strstr'
configure:29220: warning: extern declaration of `strstr' doesn't match global one
configure:29231: $? = 0
configure:29234: test -s conftest.o
configure:29237: $? = 0
configure:29255: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:29247: warning: initialization from incompatible pointer type
configure:29258: $? = 0
configure:29261: test -s conftest.o
configure:29264: $? = 0
configure:29285: result: yes
configure:29304: checking for getgrgid declaration
configure:29326: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
In file included from configure:29313:
/usr/include/grp.h:53: warning: parameter names (without types) in function declaration
configure: In function `main':
configure:29318: warning: type mismatch with previous external decl
/usr/include/grp.h:53: warning: previous external decl of `getgrgid'
configure:29318: warning: extern declaration of `getgrgid' doesn't match global one
configure:29329: $? = 0
configure:29332: test -s conftest.o
configure:29335: $? = 0
configure:29355: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
In file included from configure:29342:
/usr/include/grp.h:53: warning: parameter names (without types) in function declaration
configure: In function `main':
configure:29347: warning: initialization from incompatible pointer type
configure:29358: $? = 0
configure:29361: test -s conftest.o
configure:29364: $? = 0
configure:29385: result: yes
configure:29304: checking for getgrnam declaration
configure:29326: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
In file included from configure:29313:
/usr/include/grp.h:53: warning: parameter names (without types) in function declaration
configure: In function `main':
configure:29318: warning: type mismatch with previous external decl
/usr/include/grp.h:54: warning: previous external decl of `getgrnam'
configure:29318: warning: extern declaration of `getgrnam' doesn't match global one
configure:29329: $? = 0
configure:29332: test -s conftest.o
configure:29335: $? = 0
configure:29355: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
In file included from configure:29342:
/usr/include/grp.h:53: warning: parameter names (without types) in function declaration
configure: In function `main':
configure:29347: warning: initialization from incompatible pointer type
configure:29358: $? = 0
configure:29361: test -s conftest.o
configure:29364: $? = 0
configure:29385: result: yes
configure:29401: checking if TRUE/FALSE are defined
configure:29422: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29425: $? = 0
configure:29428: test -s conftest.o
configure:29431: $? = 0
configure:29442: result: yes
configure:29455: checking if external errno is declared
configure:29480: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29483: $? = 0
configure:29486: test -s conftest.o
configure:29489: $? = 0
configure:29500: result: yes
configure:29515: checking if external errno exists
configure:29537: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:29540: $? = 0
configure:29543: test -s conftest
configure:29546: $? = 0
configure:29557: result: yes
configure:29570: checking if we can set errno
configure:29621: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:29624: $? = 0
configure:29626: ./conftest
configure:29629: $? = 0
configure:29642: result: yes
configure:29648: checking for setlocale()
configure:29667: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:29670: $? = 0
configure:29673: test -s conftest
configure:29676: $? = 0
configure:29688: result: yes
configure:29695: checking if NGROUPS is defined
configure:29721: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29724: $? = 0
configure:29727: test -s conftest.o
configure:29730: $? = 0
configure:29777: result: yes
configure:29794: checking if external sys_nerr is declared
configure:29819: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29822: $? = 0
configure:29825: test -s conftest.o
configure:29828: $? = 0
configure:29839: result: yes
configure:29854: checking if external sys_nerr exists
configure:29876: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:29879: $? = 0
configure:29882: test -s conftest
configure:29885: $? = 0
configure:29896: result: yes
configure:29909: checking if external sys_errlist is declared
configure:29934: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:29937: $? = 0
configure:29940: test -s conftest.o
configure:29943: $? = 0
configure:29954: result: yes
configure:29969: checking if external sys_errlist exists
configure:29991: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:29994: $? = 0
configure:29997: test -s conftest
configure:30000: $? = 0
configure:30011: result: yes
configure:30027: checking for lastlog.h
configure:30037: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:30034: lastlog.h: No such file or directory
configure:30043: $? = 1
configure: failed program was:
#line 30033 "configure"
#include "confdefs.h"
#include <lastlog.h>
configure:30062: result: no
configure:30027: checking for paths.h
configure:30037: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:30043: $? = 0
configure:30062: result: yes
configure:30072: checking for lastlog path
configure:30099: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30093: `_PATH_LASTLOG' undeclared (first use this function)
configure:30093: (Each undeclared identifier is reported only once
configure:30093: for each function it appears in.)
configure:30102: $? = 1
configure: failed program was:
#line 30079 "configure"
#include "confdefs.h"

#include <sys/types.h>
#ifdef HAVE_LASTLOG_H
#include <lastlog.h>
#else
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#endif
int
main ()
{
char *path = _PATH_LASTLOG
  ;
  return 0;
}
configure:30123: result: no
configure:30129: checking for utmp implementation
configure:30160: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:30149: utmpx.h: No such file or directory
configure:30163: $? = 1
configure: failed program was:
#line 30146 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmpx.h>
#define getutent getutxent
#ifdef USE_LASTLOG
#include <lastlog.h>	/* may conflict with utmpx.h on Linux */
#endif

int
main ()
{
struct utmpx x;
	 char *name = x.ut_name; /* utmp.h and compatible definitions */

  ;
  return 0;
}
configure:30192: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:30181: utmpx.h: No such file or directory
configure:30195: $? = 1
configure: failed program was:
#line 30178 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmpx.h>
#define getutent getutxent
#ifdef USE_LASTLOG
#include <lastlog.h>	/* may conflict with utmpx.h on Linux */
#endif

int
main ()
{
struct utmpx x;
	 char *name = x.ut_user; /* utmpx.h must declare this */

  ;
  return 0;
}
configure:30160: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:30163: $? = 0
configure:30166: test -s conftest.o
configure:30169: $? = 0
configure:30216: result: utmp
configure:30229: checking if utmp.ut_host is declared
configure:30250: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:30253: $? = 0
configure:30256: test -s conftest.o
configure:30259: $? = 0
configure:30271: result: yes
configure:30280: checking if utmp.ut_syslen is declared
configure:30301: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30294: structure has no member named `ut_syslen'
configure:30304: $? = 1
configure: failed program was:
#line 30287 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; int y = x.ut_syslen
  ;
  return 0;
}
configure:30322: result: no
configure:30331: checking if utmp.ut_name is declared
configure:30362: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:30365: $? = 0
configure:30368: test -s conftest.o
configure:30371: $? = 0
configure:30383: result: ut_name
configure:30402: checking for exit-status in utmp
configure:30429: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30422: structure has no member named `ut_exit'
configure:30432: $? = 1
configure: failed program was:
#line 30415 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_exit.__e_exit = 0
  ;
  return 0;
}
configure:30429: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30422: structure has no member named `ut_exit'
configure:30432: $? = 1
configure: failed program was:
#line 30415 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_exit.e_exit = 0
  ;
  return 0;
}
configure:30429: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30422: structure has no member named `ut_exit'
configure:30432: $? = 1
configure: failed program was:
#line 30415 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_exit.ut_e_exit = 0
  ;
  return 0;
}
configure:30429: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30422: structure has no member named `ut_exit'
configure:30432: $? = 1
configure: failed program was:
#line 30415 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_exit.ut_exit = 0
  ;
  return 0;
}
configure:30451: result: no
configure:30466: checking if utmp.ut_xtime is declared
configure:30487: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30480: structure has no member named `ut_xtime'
configure:30490: $? = 1
configure: failed program was:
#line 30473 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_xtime = 0
  ;
  return 0;
}
configure:30517: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30510: structure has no member named `ut_tv'
configure:30520: $? = 1
configure: failed program was:
#line 30503 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_tv.tv_sec
  ;
  return 0;
}
configure:30540: result: no
configure:30557: checking if utmp.ut_session is declared
configure:30578: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure: In function `main':
configure:30571: structure has no member named `ut_session'
configure:30581: $? = 1
configure: failed program was:
#line 30564 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{
struct utmp x; long y = x.ut_session
  ;
  return 0;
}
configure:30598: result: no
configure:30608: checking if utmp is SYSV flavor
configure:30635: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0154801.o: Undefined symbol _setutent referenced from text segment
/var/tmp/cc0154801.o: Undefined symbol _getutid referenced from text segment
/var/tmp/cc0154801.o: Undefined symbol _pututline referenced from text segment
/var/tmp/cc0154801.o: Undefined symbol _endutent referenced from text segment
configure:30638: $? = 1
configure: failed program was:
#line 30616 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <utmp.h>
int
main ()
{

struct utmp x;
	setutent ();
	getutid(&x);
	pututline(&x);
	endutent();
  ;
  return 0;
}
configure:30655: result: no
configure:30663: checking if external h_errno exists
configure:30685: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:30688: $? = 0
configure:30691: test -s conftest
configure:30694: $? = 0
configure:30705: result: yes
configure:30718: checking if bibp: URLs should be supported
configure:30735: result: yes
configure:30741: checking if configuration info should be browsable
configure:30758: result: yes
configure:30764: checking if new-style forms-based options screen should be used
configure:30781: result: yes
configure:30787: checking if old-style options menu should be used
configure:30804: result: yes
configure:30810: checking if sessions code should be used
configure:30827: result: yes
configure:30837: checking if session-caching code should be used
configure:30854: result: yes
configure:30863: checking if address-list page should be used
configure:30880: result: yes
configure:30886: checking if experimental CJK logic should be used
configure:30903: result: no
configure:30909: checking if experimental Japanese UTF-8 logic should be used
configure:30926: result: no
configure:31828: checking if you want to use default-colors
configure:31845: result: no
configure:31853: checking if experimental keyboard-layout logic should be used
configure:31870: result: no
configure:31876: checking if experimental nested-table logic should be used
configure:31893: result: no
configure:31899: checking if alternative line-edit bindings should be used
configure:31916: result: yes
configure:31922: checking if ascii case-conversion should be used
configure:31939: result: yes
configure:31945: checking if you want to use extended HTML DTD logic
configure:31962: result: yes
configure:31968: checking if file-upload logic should be used
configure:31985: result: yes
configure:31991: checking if IDNA support should be used
configure:32008: result: yes
configure:32257: testing Starting FIND_LINKAGE(idn,) ...
configure:32280: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:32265: idna.h: No such file or directory
configure:32283: $? = 1
configure: failed program was:
#line 32262 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <idna.h>

int
main ()
{

	char *output = 0;
    int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES);

  ;
  return 0;
}
configure:32321: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lidn  -lcurses -ltermcap   >&5
configure:32306: idna.h: No such file or directory
configure:32324: $? = 1
configure: failed program was:
#line 32303 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <idna.h>

int
main ()
{

	char *output = 0;
    int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES);

  ;
  return 0;
}
configure:32347: testing find linkage for idn library ...
configure:32349: testing Searching for headers in FIND_LINKAGE(idn,) ...
configure:32462: testing ... testing /usr/include ...
configure:32484: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -I/usr/include conftest.c >&5
configure:32469: idna.h: No such file or directory
configure:32487: $? = 1
configure: failed program was:
#line 32466 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <idna.h>

int
main ()
{

	char *output = 0;
    int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES);

  ;
  return 0;
}
configure:32462: testing ... testing /usr/local/include ...
configure:32484: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -I/usr/local/include conftest.c >&5
configure:32469: idna.h: No such file or directory
configure:32487: $? = 1
configure: failed program was:
#line 32466 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <idna.h>

int
main ()
{

	char *output = 0;
    int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES);

  ;
  return 0;
}
configure:32793: WARNING: Cannot find idn library
configure:32806: checking if element-justification logic should be used
configure:32823: result: yes
configure:32829: checking if partial-display should be used
configure:32846: result: yes
configure:32852: checking if persistent-cookie logic should be used
configure:32869: result: yes
configure:32875: checking if html source should be colorized
configure:32892: result: yes
configure:32898: checking if progress-bar code should be used
configure:32915: result: yes
configure:32921: checking if read-progress message should show ETA
configure:32938: result: yes
configure:32944: checking if source caching should be used
configure:32961: result: yes
configure:32967: checking if scrollbar code should be used
configure:32984: result: yes
configure:32987: checking if charset-selection logic should be used
configure:33004: result: no
configure:33010: checking if you want to use external commands
configure:33027: result: no
configure:33037: checking if you want to use setfont support
configure:33054: result: no
configure:33194: checking if you want cgi-link support
configure:33210: result: no
configure:33213: checking if you want change-exec support
configure:33230: result: no
configure:33236: checking if you want exec-links support
configure:33253: result: no
configure:33259: checking if you want exec-scripts support
configure:33276: result: no
configure:33282: checking if you want internal-links feature
configure:33299: result: no
configure:33305: checking if you want to fork NSL requests
configure:33322: result: no
configure:33341: checking if you want to log URL requests via syslog
configure:33358: result: no
configure:33364: checking if you want to underline links
configure:33381: result: no
configure:33391: checking if help files should be gzip'ed
configure:33408: result: no
configure:33411: checking if you want to use libbz2 for decompression of some bzip2 files
configure:33421: result: no
configure:34257: checking if you want to use zlib for decompression of some gzip files
configure:34267: result: no
configure:35169: checking if you want to exclude FINGER code
configure:35186: result: no
configure:35192: checking if you want to exclude GOPHER code
configure:35209: result: no
configure:35215: checking if you want to exclude NEWS code
configure:35232: result: no
configure:35238: checking if you want to exclude FTP code
configure:35255: result: no
configure:35261: checking if you want to include WAIS code
configure:35278: result: no
configure:35446: checking if directory-editor code should be used
configure:35463: result: yes
configure:35472: checking if you wish to allow extracting from archives via DirEd
configure:35488: result: yes
configure:35491: checking if DirEd mode should override keys
configure:35513: result: yes
configure:35516: checking if you wish to allow permissions commands via DirEd
configure:35538: result: yes
configure:35541: checking if you wish to allow executable-permission commands via DirEd
configure:35557: result: yes
configure:35560: checking if you wish to allow "tar" commands from DirEd
configure:35582: result: yes
configure:35585: checking if you wish to allow "uudecode" commands from DirEd
configure:35607: result: yes
configure:35610: checking if you wish to allow "zip" and "unzip" commands from DirEd
configure:35632: result: yes
configure:35635: checking if you wish to allow "gzip" and "gunzip" commands from DirEd
configure:35657: result: yes
configure:35661: checking if you want long-directory listings
configure:35683: result: yes
configure:35686: checking if parent-directory references are permitted
configure:35702: result: yes
configure:35710: checking for telnet
configure:35727: found /usr/bin/telnet
configure:35738: result: /usr/bin/telnet
configure:35800: testing defining path for /usr/bin/telnet ...
configure:35817: checking for tn3270
configure:35834: found /usr/bin/tn3270
configure:35845: result: /usr/bin/tn3270
configure:35907: testing defining path for /usr/bin/tn3270 ...
configure:35924: checking for rlogin
configure:35941: found /usr/bin/rlogin
configure:35952: result: /usr/bin/rlogin
configure:36014: testing defining path for /usr/bin/rlogin ...
configure:36031: checking for mv
configure:36048: found /bin/mv
configure:36059: result: /bin/mv
configure:36121: testing defining path for /bin/mv ...
configure:36138: checking for gzip
configure:36155: found /usr/local/bin/gzip
configure:36166: result: /usr/local/bin/gzip
configure:36228: testing defining path for /usr/local/bin/gzip ...
configure:36245: checking for gunzip
configure:36262: found /usr/local/bin/gunzip
configure:36273: result: /usr/local/bin/gunzip
configure:36335: testing defining path for /usr/local/bin/gunzip ...
configure:36352: checking for unzip
configure:36369: found /usr/local/bin/unzip
configure:36380: result: /usr/local/bin/unzip
configure:36442: testing defining path for /usr/local/bin/unzip ...
configure:36459: checking for bzip2
configure:36490: result: no
configure:36459: checking for bzip2
configure:36490: result: no
configure:36566: checking for tar
configure:36583: found /usr/bin/tar
configure:36594: result: /usr/bin/tar
configure:36656: testing defining path for /usr/bin/tar ...
configure:36713: checking for compress
configure:36730: found /usr/bin/compress
configure:36741: result: /usr/bin/compress
configure:36803: testing defining path for /usr/bin/compress ...
configure:36820: checking for rm
configure:36837: found /bin/rm
configure:36848: result: /bin/rm
configure:36910: testing defining path for /bin/rm ...
configure:36927: checking for uudecode
configure:36944: found /usr/bin/uudecode
configure:36955: result: /usr/bin/uudecode
configure:37017: testing defining path for /usr/bin/uudecode ...
configure:37034: checking for zcat
configure:37051: found /usr/bin/zcat
configure:37062: result: /usr/bin/zcat
configure:37124: testing defining path for /usr/bin/zcat ...
configure:37141: checking for zip
configure:37172: result: no
configure:37141: checking for zip
configure:37172: result: no
configure:37258: checking for /usr/bin/install
configure:37286: result: /usr/bin/install -c
configure:37348: testing defining path for /usr/bin/install ...
configure:40439: checking if we can include termio.h with curses
configure:40463: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DHAVE_CONFIG_H -I. -I. -I./src -I./WWW/Library/Implementation conftest.c >&5
configure:40452: termio.h: No such file or directory
configure:40466: $? = 1
configure: failed program was:
#line 40449 "configure"
#include "confdefs.h"

#include <LYCurses.h>
#include <termio.h>
int
main ()
{
putchar(0x0a)
  ;
  return 0;
}
configure:40485: result: no
configure:40500: checking for curses/term.h
configure:40510: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:40507: curses/term.h: No such file or directory
configure:40516: $? = 1
configure: failed program was:
#line 40506 "configure"
#include "confdefs.h"
#include <curses/term.h>
configure:40535: result: no
configure:40500: checking for term.h
configure:40510: /usr/local/bin/gcc -E   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c
configure:40507: term.h: No such file or directory
configure:40516: $? = 1
configure: failed program was:
#line 40506 "configure"
#include "confdefs.h"
#include <term.h>
configure:40535: result: no
configure:40545: checking if curses supports alternate-character set
configure:40568: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:40561: `chtype' undeclared (first use this function)
configure:40561: (Each undeclared identifier is reported only once
configure:40561: for each function it appears in.)
configure:40561: parse error before `x'
configure:40561: `acs_map' undeclared (first use this function)
configure:40571: $? = 1
configure: failed program was:
#line 40554 "configure"
#include "confdefs.h"

#include <curses.h>

int
main ()
{
chtype x = acs_map['l']; acs_map['m'] = 0
  ;
  return 0;
}
configure:40568: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:40561: `chtype' undeclared (first use this function)
configure:40561: (Each undeclared identifier is reported only once
configure:40561: for each function it appears in.)
configure:40561: parse error before `x'
configure:40561: `_acs_map' undeclared (first use this function)
configure:40571: $? = 1
configure: failed program was:
#line 40554 "configure"
#include "confdefs.h"

#include <curses.h>

int
main ()
{
chtype x = _acs_map['l']; _acs_map['m'] = 0
  ;
  return 0;
}
configure:40591: result: no
configure:40597: checking if curses supports fancy attributes
configure:40622: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:40611: `A_UNDERLINE' undeclared (first use this function)
configure:40611: (Each undeclared identifier is reported only once
configure:40611: for each function it appears in.)
configure:40611: `A_BOLD' undeclared (first use this function)
configure:40611: `A_REVERSE' undeclared (first use this function)
configure:40612: `A_BLINK' undeclared (first use this function)
configure:40612: `A_DIM' undeclared (first use this function)
configure:40625: $? = 1
configure: failed program was:
#line 40604 "configure"
#include "confdefs.h"

#include <curses.h>

int
main ()
{
attrset(A_UNDERLINE|A_BOLD|A_REVERSE);
	 wattrset(stdscr, A_BLINK|A_DIM);
	 attroff(A_BOLD);
	 keypad(stdscr,TRUE);

  ;
  return 0;
}
configure:40643: result: no
configure:40649: checking for function curses_version
configure:40672: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0161811.o: Undefined symbol _curses_version referenced from text segment
configure:40675: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 40659 "configure"
#include "confdefs.h"

#include <curses.h>
int main()
{
	char temp[1024];
	sprintf(temp, "%s\n", curses_version());
	return(0);
}

configure:40695: result: no
configure:40761: checking if curses supports color attributes
configure:40788: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:40775: `chtype' undeclared (first use this function)
configure:40775: (Each undeclared identifier is reported only once
configure:40775: for each function it appears in.)
configure:40775: parse error before `x'
configure:40791: $? = 1
configure: failed program was:
#line 40768 "configure"
#include "confdefs.h"

#include <curses.h>

int
main ()
{
chtype x = COLOR_BLUE;
	 has_colors();
	 start_color();
#ifndef NCURSES_BROKEN
	 wbkgd(curscr, getbkgd(stdscr)); /* X/Open XPG4 aka SVr4 Curses */
#endif

  ;
  return 0;
}
configure:40809: result: no
configure:40829: checking for termio.h
configure:40864: result: no
configure:40829: checking for termios.h
configure:40864: result: yes
configure:40829: checking for unistd.h
configure:40864: result: yes
configure:40932: checking whether termios.h needs _POSIX_SOURCE
configure:40947: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:40950: $? = 0
configure:40953: test -s conftest.o
configure:40956: $? = 0
configure:41002: result: no
configure:41007: checking declaration of size-change
configure:41066: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:41069: $? = 0
configure:41072: test -s conftest.o
configure:41075: $? = 0
size-change succeeded ()
configure:41094: result: yes
configure:41111: checking if ttytype is declared in curses library
configure:41130: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:41133: $? = 0
configure:41136: test -s conftest
configure:41139: $? = 0
configure:41151: result: yes
configure:41308: checking if we must define _XOPEN_SOURCE_EXTENDED
configure:41337: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0163041.o: Undefined symbol _winnstr referenced from text segment
/var/tmp/cc0163041.o: Undefined symbol _getbegyx referenced from text segment
configure:41340: $? = 1
configure: failed program was:
#line 41315 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <curses.h>
int
main ()
{

#if defined(NCURSES_VERSION_PATCH)
#if (NCURSES_VERSION_PATCH < 20100501) && (NCURSES_VERSION_PATCH >= 20100403)
	make an error
#endif
#endif
	long x = winnstr(stdscr, "", 0);
	int x1, y1;
	getbegyx(stdscr, y1, x1)
  ;
  return 0;
}
configure:41375: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0163161.o: Undefined symbol _winnstr referenced from text segment
/var/tmp/cc0163161.o: Undefined symbol _getbegyx referenced from text segment
configure:41378: $? = 1
configure: failed program was:
#line 41353 "configure"
#include "confdefs.h"

#define _XOPEN_SOURCE_EXTENDED
#include <stdlib.h>
#include <curses.h>
int
main ()
{

#ifdef NCURSES_VERSION
	cchar_t check;
	int check2 = curs_set((int)sizeof(check));
#endif
	long x = winnstr(stdscr, "", 0);
	int x1, y1;
	getbegyx(stdscr, y1, x1)
  ;
  return 0;
}
configure:41396: result: unknown
configure:41400: checking for term.h
configure:41505: result: unknown
configure:41529: checking for unctrl.h
configure:41564: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:41553: unctrl.h: No such file or directory
configure:41567: $? = 1
configure: failed program was:
#line 41550 "configure"
#include "confdefs.h"

#include <curses.h>
#include <unctrl.h>
int
main ()
{
WINDOW *x
  ;
  return 0;
}
configure:41564: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:41553: ncurses/unctrl.h: No such file or directory
configure:41567: $? = 1
configure: failed program was:
#line 41550 "configure"
#include "confdefs.h"

#include <curses.h>
#include <ncurses/unctrl.h>
int
main ()
{
WINDOW *x
  ;
  return 0;
}
configure:41564: /usr/local/bin/gcc -c -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L conftest.c >&5
configure:41553: ncursesw/unctrl.h: No such file or directory
configure:41567: $? = 1
configure: failed program was:
#line 41550 "configure"
#include "confdefs.h"

#include <curses.h>
#include <ncursesw/unctrl.h>
int
main ()
{
WINDOW *x
  ;
  return 0;
}
configure:41587: WARNING: unctrl.h header not found
configure:41593: result: no
configure:41644: checking for assume_default_colors
configure:41647: testing assume_default_colors ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `assume_default_colors' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef assume_default_colors
long foo = (long)(&assume_default_colors);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for cbreak
configure:41647: testing cbreak ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure:41691: $? = 0
configure:41694: test -s conftest
configure:41697: $? = 0
configure:41713: result: yes
configure:41644: checking for define_key
configure:41647: testing define_key ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `define_key' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef define_key
long foo = (long)(&define_key);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for delscreen
configure:41647: testing delscreen ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `delscreen' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef delscreen
long foo = (long)(&delscreen);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for getattrs
configure:41647: testing getattrs ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `getattrs' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef getattrs
long foo = (long)(&getattrs);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for getbegx
configure:41647: testing getbegx ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `getbegx' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef getbegx
long foo = (long)(&getbegx);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for getbegy
configure:41647: testing getbegy ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `getbegy' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef getbegy
long foo = (long)(&getbegy);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for keypad
configure:41647: testing keypad ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `keypad' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef keypad
long foo = (long)(&keypad);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for napms
configure:41647: testing napms ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `napms' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef napms
long foo = (long)(&napms);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for newpad
configure:41647: testing newpad ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `newpad' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef newpad
long foo = (long)(&newpad);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for newterm
configure:41647: testing newterm ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `newterm' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef newterm
long foo = (long)(&newterm);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for pnoutrefresh
configure:41647: testing pnoutrefresh ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `pnoutrefresh' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef pnoutrefresh
long foo = (long)(&pnoutrefresh);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for resizeterm
configure:41647: testing resizeterm ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `resizeterm' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef resizeterm
long foo = (long)(&resizeterm);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for touchline
configure:41647: testing touchline ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `touchline' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef touchline
long foo = (long)(&touchline);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for touchwin
configure:41647: testing touchwin ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `touchwin' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef touchwin
long foo = (long)(&touchwin);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for use_default_colors
configure:41647: testing use_default_colors ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `use_default_colors' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef use_default_colors
long foo = (long)(&use_default_colors);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for use_legacy_coding
configure:41647: testing use_legacy_coding ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `use_legacy_coding' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef use_legacy_coding
long foo = (long)(&use_legacy_coding);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for wattr_get
configure:41647: testing wattr_get ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `wattr_get' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef wattr_get
long foo = (long)(&wattr_get);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for wborder
configure:41647: testing wborder ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `wborder' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef wborder
long foo = (long)(&wborder);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for wredrawln
configure:41647: testing wredrawln ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `wredrawln' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef wredrawln
long foo = (long)(&wredrawln);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41644: checking for wresize
configure:41647: testing wresize ...
configure:41688: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
configure: In function `main':
configure:41677: `wresize' undeclared (first use this function)
configure:41677: (Each undeclared identifier is reported only once
configure:41677: for each function it appears in.)
configure:41691: $? = 1
configure: failed program was:
#line 41656 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <curses.h>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef wresize
long foo = (long)(&wresize);
if (foo + 1234 > 5678)
	return(foo);
#endif

  ;
  return 0;
}
configure:41713: result: no
configure:41729: checking for _nc_free_and_exit
configure:41766: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0167311.o: Undefined symbol __nc_free_and_exit referenced from text segment
configure:41769: $? = 1
configure: failed program was:
#line 41735 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _nc_free_and_exit (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char _nc_free_and_exit ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__nc_free_and_exit) || defined (__stub____nc_free_and_exit)
choke me
#else
f = _nc_free_and_exit;
#endif

  ;
  return 0;
}
configure:41785: result: no
configure:41729: checking for _nc_freeall
configure:41766: /usr/local/bin/gcc -o conftest -O0   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L  conftest.c -lcurses -ltermcap   >&5
/var/tmp/cc0167521.o: Undefined symbol __nc_freeall referenced from text segment
configure:41769: $? = 1
configure: failed program was:
#line 41735 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _nc_freeall (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char _nc_freeall ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__nc_freeall) || defined (__stub____nc_freeall)
choke me
#else
f = _nc_freeall;
#endif

  ;
  return 0;
}
configure:41785: result: no
configure:41812: WARNING: Configuration does not support ACS_xxx definitions
configure:41825: checking for an rpath option
configure:41856: result: 
configure:41903: checking if rpath-hack should be disabled
configure:41920: result: no
configure:41924: checking for updated LDFLAGS
configure:42248: creating ./config.status

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by config.status 2.52.20101002, executed with
  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  > ./config.status 
on odin

config.status:42826: creating makefile
config.status:42826: creating WWW/Library/Implementation/makefile
config.status:42826: creating src/makefile
config.status:42826: creating src/chrtrans/makefile
config.status:42923: creating lynx_cfg.h

## ----------------- ##
## Cache variables.  ##
## ----------------- ##

cf_cv_func_newpad='no'
cf_cv_have_ttytype='yes'
ac_cv_func_waitpid='yes'
ac_cv_func_mkdtemp='no'
ac_cv_sizeof_off_t='4'
ac_cv_sizeof_int='4'
ac_cv_func_gethostname='yes'
ac_cv_type_size_t='yes'
ac_cv_func_fseeko='no'
cf_cv_func_wborder='no'
cf_cv_have_utmp_ut_xtime='no'
ac_cv_func_vasprintf='no'
ac_cv_lib_ncurses___tgoto='no'
ac_cv_func_getcwd='yes'
ac_cv_prog_MAKE_LOWER_TAGS='yes'
cf_cv_have_utmp='utmp'
ac_cv_header_lastlog_h='no'
cf_cv_curs_performance='no'
cf_cv_have_inet_aton='yes'
ac_cv_sys_largefile_source='no'
ac_cv_path_TN3270='/usr/bin/tn3270'
cf_cv_have_utmp_ut_syslen='no'
cf_cv_path_lastlog='no'
ac_cv_header_stdlib_h='yes'
ac_cv_path_UNZIP='/usr/local/bin/unzip'
cf_cv_have_sys_nerr='yes'
ac_cv_func_getgroups='yes'
ac_cv_header_sys_time_h='yes'
ac_cv_func_strtoul='yes'
ac_cv_prog_MAKE_UPPER_TAGS='no'
cf_cv_func_getattrs='no'
cf_cv_func_assume_default_colors='no'
ac_cv_func_getuid='yes'
ac_cv_header_nl_types_h='no'
ac_cv_prog_cc_g='yes'
ac_cv_env_LDFLAGS_set=''
cf_cv_fancy_curses='no'
ac_cv_sys_large_files='no'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_path_install='/usr/bin/install -c'
ac_cv_c_compiler_gnu='yes'
ac_cv_env_CFLAGS_set='set'
ac_cv_header_dirent_dirent_h='yes'
cf_cv_use_libsocks='no'
ac_cv_func_setlocale='yes'
cf_cv_func_touchwin='no'
cf_cv_need_xopen_extension='unknown'
cf_cv_dcl_sys_nerr='yes'
cf_cv_locale='yes'
ac_cv_lib_curses___tgoto='no'
ac_cv_func_mmap_fixed_mapped='no'
ac_cv_func_decl_getgrgid='yes'
cf_cv_fionbio='ioctl'
cf_cv_ncurses_header='curses.h'
ac_cv_func_mempcpy='no'
cf_cv_func_use_legacy_coding='no'
cf_cv_ngroups='yes'
cf_cv_set_errno='yes'
ac_cv_func_decl_strstr='yes'
ac_cv_func_mktime='yes'
ac_cv_header_sys_wait_h='yes'
cf_cv_func_sigaction='yes'
cf_cv_ncurses_version='no'
ac_cv_env_CPP_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_header_curses_term_h='no'
ac_cv_lib_otermcap___tgoto='no'
ac_cv_func_strcasecmp='yes'
cf_cv_struct_dirent64='no'
cf_cv_sizechange='yes'
cf_cv_sysv_utmp='no'
cf_cv_have_utmp_ut_xstatus='no'
ac_cv_type_long='yes'
ac_cv_func_inet_ntoa='yes'
ac_cv_func_socket='yes'
cf_cv_gnutls_compat='no'
cf_cv_use_libgnutls='no'
cf_cv_have_utmp_ut_host='yes'
cf_cv_bool_defs='yes'
ac_cv_func_ftime='no'
ac_cv_header_fcntl_h='yes'
ac_cv_func___argz_count='no'
ac_cv_env_host_alias_set=''
cf_cv_func_newterm='no'
cf_cv_func_define_key='no'
cf_cv_srand_func='srandom/random'
ac_cv_func_strstr='yes'
ac_cv_func_getegid='yes'
ac_cv_c_const='yes'
cf_cv_func_pnoutrefresh='no'
ac_cv_header_termios_h='yes'
cf_cv_func_cbreak='yes'
ac_cv_path_INSTALL='/usr/bin/install -c'
ac_cv_func_ttyname='yes'
ac_cv_func_readdir='yes'
cf_cv_library_path_iconv=''
ac_cv_working_alloca_h='no'
cf_cv_alt_char_set='no'
ac_cv_func_decl_getgrnam='yes'
ac_cv_func_usleep='yes'
ac_cv_func_unsetenv='yes'
ac_cv_func_setuid='yes'
ac_cv_func_mktemp='yes'
ac_cv_type_mode_t='yes'
ac_cv_header_termio_h='no'
ac_cv_lib_termcap___tgoto='yes'
cf_cv_find_linkage_iconv='no'
ac_cv_func_munmap='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_env_build_alias_set=''
ac_cv_path_RLOGIN='/usr/bin/rlogin'
ac_cv_lib_cursesX___tgoto='no'
ac_cv_prog_CTAGS='ctags'
cf_cv_unctrl_header='no'
ac_cv_path_TELNET='/usr/bin/telnet'
ac_cv_header_limits_h='yes'
cf_cv_mixedcase='yes'
ac_cv_env_LDFLAGS_value=''
ac_cv_env_target_alias_set=''
cf_cv_func_touchline='no'
cf_cv_color_curses='no'
cf_cv_have_errno='yes'
ac_cv_lib_curses___initscr='yes'
cf_cv_netlibs=''
ac_cv_func_alloca_works='yes'
ac_cv_path_MSGINIT=':'
ac_cv_prog_cc_stdc=''
cf_cv_ar_flags='-curv'
ac_cv_host_alias='i386-pc-bsd'
ac_cv_env_CFLAGS_value='-O0'
ac_cv_env_CC_set='set'
cf_cv_func_wresize='no'
cf_cv_func_napms='no'
ac_cv_path_ZCAT='/usr/bin/zcat'
ac_cv_func_gettimeofday='yes'
cf_cv_termio_and_termios='yes'
cf_cv_use_libsocks5='no'
cf_cv_SYSTEM_MAIL='/usr/sbin/sendmail'
ac_cv_header_sys_types_h='yes'
ac_cv_header_stdc='no'
cf_cv_library_path_idn=''
ac_cv_header_paths_h='yes'
cf_cv_type_unionwait='no'
ac_cv_header_time='yes'
ac_cv_header_curses_h='yes'
cf_cv_define_sigwinch='yes'
ac_cv_func___argz_stringify='no'
ac_cv_header_strings_h='yes'
ac_cv_path_COMPRESS='/usr/bin/compress'
cf_cv_find_linkage_idn='no'
cf_cv_have_utmp_ut_name='ut_name'
ac_cv_sizeof_long='4'
ac_cv_lib_dir_opendir='no'
ac_cv_header_stdint_h='no'
ac_cv_header_inttypes_h='no'
ac_cv_prog_make_make_set='yes'
ac_cv_path_TAR='/usr/bin/tar'
cf_cv_have_h_errno='yes'
cf_cv_dcl_errno='yes'
ac_cv_header_sys_timeb_h='yes'
cf_cv_screen='curses'
ac_cv_func_gethostbyname='yes'
nls_cv_header_intl=''
ac_cv_func___argz_next='no'
ac_cv_func_setenv='yes'
ac_cv_header_sys_param_h='yes'
ac_cv_header_locale_h='yes'
ac_cv_header_unistd_h='yes'
ac_cv_header_string_h='yes'
ac_cv_c_inline='inline'
ac_cv_build_alias='i386-pc-bsd'
ac_cv_env_CPPFLAGS_value=''
ac_cv_func__nc_freeall='no'
cf_cv_func_getbegx='no'
cf_cv_system_mail_flags='-t -oi'
ac_cv_func_strchr='yes'
ac_cv_func_feof_unlocked='no'
ac_cv_sys_largefile_CC='no'
cf_cv_func_wattr_get='no'
cf_cv_func_getbegy='no'
cf_cv_have_sys_errlist='yes'
ac_cv_func_popen='no'
ac_cv_type_getgroups='int'
ac_cv_header_sys_filio_h='yes'
ac_cv_header_memory_h='yes'
cf_cv_ansi_cc='-DCC_HAS_PROTOS'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_target_alias='i386-pc-bsd'
ac_cv_func__nc_free_and_exit='no'
cf_cv_have_utmp_ut_session='no'
ac_cv_type_time_t='yes'
cf_cv_xopen_source='500'
am_cv_langinfo_codeset='no'
cf_cv_system_name='bsd'
ac_cv_host='i386-pc-bsd'
ac_cv_env_host_alias_value=''
cf_cv_termio_and_curses='no'
ac_cv_func_strerror='yes'
ac_cv_type_int='yes'
am_cv_val_LC_MESSAGES='no'
ac_cv_func_geteuid='yes'
ac_cv_type_off_t='yes'
ac_cv_path_GZIP='/usr/local/bin/gzip'
ac_cv_func_ctermid='no'
cf_cv_baddef_remove='no'
ac_cv_func_fork_works='yes'
cf_cv_term_header='unknown'
ac_cv_func_fgets_unlocked='no'
cf_cv_func_resizeterm='no'
ac_cv_path_RM='/bin/rm'
ac_cv_path_UNCOMPRESS='/usr/local/bin/gunzip'
cf_cv_dcl_sys_errlist='yes'
ac_cv_func_vfork_works='yes'
cf_cv_type_long_long='yes'
ac_cv_type_pid_t='yes'
ac_cv_header_vfork_h='no'
ac_cv_header_sys_fcntl_h='yes'
ac_cv_lib_cursesX___initscr='no'
cf_cv_curses_dir='no'
ac_cv_func_getgid='yes'
cf_cv_func_wredrawln='no'
cf_cv_rand_max='INT_MAX'
ac_cv_func_fork='yes'
ac_cv_func_tsearch='no'
ac_cv_header_argz_h='no'
ac_cv_prog_CPP='/usr/local/bin/gcc -E'
ac_cv_build='i386-pc-bsd'
ac_cv_env_build_alias_value=''
ac_cv_path_UUDECODE='/usr/bin/uudecode'
ac_cv_func_lstat='yes'
ac_cv_func_vfork='yes'
cf_cv_curses_incdir='no'
cf_cv_use_libssl='no'
cf_cv_use_libnss_compat='no'
cf_cv_header_path_iconv='/usr/local/include'
ac_cv_header_malloc_h='no'
ac_cv_func_getpagesize='yes'
ac_cv_prog_ac_ct_CC='/usr/local/bin/gcc'
cf_cv_func_curses_version='no'
cf_cv_chtype_decl='no'
am_cv_func_iconv='no, consider installing GNU libiconv'
ac_cv_target='i386-pc-bsd'
ac_cv_env_target_alias_value=''
ac_cv_path_MV='/bin/mv'
ac_cv_header_syslog_h='yes'
ac_cv_header_sys_ioctl_h='yes'
ac_cv_header_stddef_h='yes'
ac_cv_env_CC_value='/usr/local/bin/gcc'
cf_cv_func_use_default_colors='no'
ac_cv_header_term_h='no'
cf_cv_tm_gmtoff='yes'
ac_cv_type_socklen_t='no'
ac_cv_type_uid_t='yes'
ac_cv_header_arpa_inet_h='yes'
ac_cv_path_ac_pt_PKG_CONFIG='none'
cf_cv_posix_c_source='-D_POSIX_C_SOURCE=199506L'
ac_cv_env_CPP_set=''
ac_cv_func_cuserid='yes'
cf_cv_func_delscreen='no'
ac_cv_type_ssize_t='yes'
cf_cv_curs_touchline='bsd'
ac_cv_func_tgoto='no'
nls_cv_header_libgt=''
ac_cv_func_strdup='yes'
ac_cv_func_putenv='yes'
ac_cv_sys_file_offset_bits='no'
cf_cv_func_keypad='no'
cf_cv_header_path_idn='/usr/local/include'
ac_cv_func_truncate='yes'
ac_cv_sizeof_time_t='4'
ac_cv_lib_inet_main='no'
ac_cv_func_stpcpy='no'
ac_cv_gnu_library_2_1='no'
ac_cv_objext='o'

## ------------ ##
## confdefs.h.  ##
## ------------ ##

#define SYSTEM_NAME "bsd"
#define MIXEDCASE_FILENAMES 1
#define UNIX 1
#define CC_HAS_PROTOS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ALLOCA 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_STDDEF_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETCWD 1
#define HAVE_GETEGID 1
#define HAVE_GETEUID 1
#define HAVE_GETGID 1
#define HAVE_GETUID 1
#define HAVE_MUNMAP 1
#define HAVE_PUTENV 1
#define HAVE_SETENV 1
#define HAVE_SETLOCALE 1
#define HAVE_STRCHR 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRTOUL 1
#define SYSTEM_MAIL "/usr/sbin/sendmail"
#define SYSTEM_MAIL_FLAGS "-t -oi"
#define HAVE_GETHOSTNAME 1
#define HAVE_SOCKET 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_INET_NTOA 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_STRCASECMP 1
#define HAVE_INET_ATON 1
#define HAVE_CURSES_H 1
#define HAVE_BSD_TOUCHLINE 1
#define LYNX_CFG_FILE "/usr/local/etc/lynx.cfg"
#define MIME_LIBDIR "/etc/"
#define USE_LOCALE_CHARSET 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_DIRENT_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_FILIO_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SIGACTION 1
#define HAVE_SYS_WAIT_H 1
#define GETGROUPS_T int
#define socklen_t int
#define HAVE_LONG_LONG 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_OFF_T 4
#define SIZEOF_TIME_T 4
#define HAVE_ALLOCA 1
#define HAVE_UNISTD_H 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_LSTAT 1
#define HAVE_CUSERID 1
#define HAVE_GETCWD 1
#define HAVE_GETGROUPS 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETUID 1
#define HAVE_MKTEMP 1
#define HAVE_PUTENV 1
#define HAVE_READDIR 1
#define HAVE_SETUID 1
#define HAVE_STRERROR 1
#define HAVE_TRUNCATE 1
#define HAVE_TTYNAME 1
#define HAVE_UNSETENV 1
#define HAVE_USLEEP 1
#define HAVE_WAITPID 1
#define HAVE_MKTIME 1
#define HAVE_STRSTR 1
#define lynx_srand srandom
#define lynx_rand random
#define LYNX_RAND_MAX INT_MAX
#define HAVE_ERRNO 1
#define CAN_SET_ERRNO 1
#define LOCALE 1
#define HAVE_SYS_NERR 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_PATHS_H 1
#define HAVE_UTMP 1
#define HAVE_UTMP_UT_HOST 1
#define HAVE_H_ERRNO 1
#define USE_SESSIONS 1
#define USE_CACHEJAR 1
#define USE_ADDRLIST_PAGE 1
#define USE_ALT_BINDINGS 1
#define USE_ASCII_CTYPES 1
#define USE_FILE_UPLOAD 1
#define USE_JUSTIFY_ELTS 1
#define DISP_PARTIAL 1
#define USE_PERSISTENT_COOKIES 1
#define USE_PRETTYSRC 1
#define USE_PROGRESSBAR 1
#define USE_READPROGRESS 1
#define USE_SOURCE_CACHE 1
#define DONT_TRACK_INTERNAL_LINKS 1
#define UNDERLINE_LINKS 0
#define DIRED_SUPPORT 1
#define OK_OVERRIDE 1
#define OK_PERMIT 1
#define OK_TAR 1
#define OK_UUDECODE 1
#define OK_ZIP 1
#define OK_GZIP 1
#define LONG_LIST 1
#define TELNET_PATH "/usr/bin/telnet"
#define TN3270_PATH "/usr/bin/tn3270"
#define RLOGIN_PATH "/usr/bin/rlogin"
#define MV_PATH "/bin/mv"
#define GZIP_PATH "/usr/local/bin/gzip"
#define UNCOMPRESS_PATH "/usr/local/bin/gunzip"
#define UNZIP_PATH "/usr/local/bin/unzip"
#define TAR_PATH "/usr/bin/tar"
#define TAR_UP_OPTIONS "-cf"
#define TAR_DOWN_OPTIONS "-xf"
#define TAR_FILE_OPTIONS ""
#define TAR_PIPE_OPTIONS "-"
#define COMPRESS_PATH "/usr/bin/compress"
#define RM_PATH "/bin/rm"
#define UUDECODE_PATH "/usr/bin/uudecode"
#define ZCAT_PATH "/usr/bin/zcat"
#define INSTALL_PATH "/usr/bin/install"
#define INSTALL_ARGS "-c"
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SIZECHANGE 1
#define HAVE_TTYTYPE 1
#define HAVE_CBREAK 1


configure: exit 0
